Skip to content

Commit ea8652a

Browse files
committed
fixes
1 parent 8ec244d commit ea8652a

16 files changed

+142
-105
lines changed

.speakeasy/gen.lock

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 8b6cd71c-ea04-44da-af45-e43968b5928d
33
management:
4-
docChecksum: c70fe15adf85b7e7749bd16a443507da
4+
docChecksum: 459a4007b7391a38a6e9c7249c84c3bf
55
docVersion: 1.0.0
66
speakeasyVersion: 1.658.2
77
generationVersion: 2.755.9
8-
releaseVersion: 0.1.15
9-
configChecksum: 25dcabf041ac03139f5304f679506901
8+
releaseVersion: 0.1.16
9+
configChecksum: fe363eba0cac367f43696e42fa54f2b0
1010
repoURL: https://github.com/OpenRouterTeam/typescript-sdk.git
1111
installationURL: https://github.com/OpenRouterTeam/typescript-sdk
1212
published: true
@@ -77,6 +77,7 @@ generatedFiles:
7777
- docs/models/chatmessagecontentitemvideo.md
7878
- docs/models/chatmessagecontentitemvideoinputvideo.md
7979
- docs/models/chatmessagecontentitemvideovideourl.md
80+
- docs/models/chatmessagecontentitemvideovideourlvideourl.md
8081
- docs/models/chatmessagetokenlogprob.md
8182
- docs/models/chatmessagetokenlogprobs.md
8283
- docs/models/chatmessagetoolcall.md
@@ -515,8 +516,7 @@ generatedFiles:
515516
- docs/models/usermessage.md
516517
- docs/models/usermessagecontent.md
517518
- docs/models/variables.md
518-
- docs/models/videourl1.md
519-
- docs/models/videourl2.md
519+
- docs/models/videourl.md
520520
- docs/models/websearchpreviewtooluserlocation.md
521521
- docs/models/websearchpreviewtooluserlocationtype.md
522522
- docs/models/websearchstatus.md
@@ -770,6 +770,7 @@ generatedFiles:
770770
- src/models/unprocessableentityresponseerrordata.ts
771771
- src/models/urlcitation.ts
772772
- src/models/usermessage.ts
773+
- src/models/videourl.ts
773774
- src/models/websearchpreviewtooluserlocation.ts
774775
- src/models/websearchstatus.ts
775776
- src/react-query/_context.tsx

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ generation:
3030
generateNewTests: true
3131
skipResponseBodyAssertions: false
3232
typescript:
33-
version: 0.1.15
33+
version: 0.1.16
3434
acceptHeaderEnum: false
3535
additionalDependencies:
3636
dependencies: {}

.speakeasy/in.openapi.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4647,12 +4647,7 @@ components:
46474647
type: string
46484648
const: input_video
46494649
video_url:
4650-
type: object
4651-
properties:
4652-
url:
4653-
type: string
4654-
required:
4655-
- url
4650+
$ref: '#/components/schemas/VideoURL'
46564651
required:
46574652
- type
46584653
- video_url
@@ -4672,6 +4667,13 @@ components:
46724667
- type
46734668
- video_url
46744669
type: object
4670+
VideoURL:
4671+
type: object
4672+
properties:
4673+
url:
4674+
type: string
4675+
required:
4676+
- url
46754677
ChatMessageContentItemFile:
46764678
type: object
46774679
properties:

.speakeasy/out.openapi.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4669,12 +4669,7 @@ components:
46694669
type: string
46704670
const: input_video
46714671
video_url:
4672-
type: object
4673-
properties:
4674-
url:
4675-
type: string
4676-
required:
4677-
- url
4672+
$ref: '#/components/schemas/VideoURL'
46784673
required:
46794674
- type
46804675
- video_url
@@ -4694,6 +4689,13 @@ components:
46944689
- type
46954690
- video_url
46964691
type: object
4692+
VideoURL:
4693+
type: object
4694+
properties:
4695+
url:
4696+
type: string
4697+
required:
4698+
- url
46974699
ChatMessageContentItemFile:
46984700
type: object
46994701
properties:

.speakeasy/workflow.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@ speakeasyVersion: 1.658.2
22
sources:
33
OpenRouter API:
44
sourceNamespace: open-router-chat-completions-api
5-
sourceRevisionDigest: sha256:473a895aeef965d69f7d3c905f642ecedd8bceb4baf62b135b358ba92be4d451
6-
sourceBlobDigest: sha256:e3c8a0e4323c1b4b0795fc6b1c2cf7134c5909a7d126a0fa266ba7c8aa65ee18
5+
sourceRevisionDigest: sha256:f1b59b9b643de5e20d6e3299a8274783d8c0854615876f5d7f6f081814842695
6+
sourceBlobDigest: sha256:ee1f2422281b3ed5b38951c74636ad192c9bb160f216069c1f7931ccc4e52553
77
tags:
88
- latest
99
- 1.0.0
1010
targets:
1111
openrouter:
1212
source: OpenRouter API
1313
sourceNamespace: open-router-chat-completions-api
14-
sourceRevisionDigest: sha256:473a895aeef965d69f7d3c905f642ecedd8bceb4baf62b135b358ba92be4d451
15-
sourceBlobDigest: sha256:e3c8a0e4323c1b4b0795fc6b1c2cf7134c5909a7d126a0fa266ba7c8aa65ee18
14+
sourceRevisionDigest: sha256:f1b59b9b643de5e20d6e3299a8274783d8c0854615876f5d7f6f081814842695
15+
sourceBlobDigest: sha256:ee1f2422281b3ed5b38951c74636ad192c9bb160f216069c1f7931ccc4e52553
1616
codeSamplesNamespace: open-router-chat-completions-api-typescript-code-samples
17-
codeSamplesRevisionDigest: sha256:f27d1e3ee56b06ec8b04e4681fcb7a50e218c078517af3b60d27767c63109605
17+
codeSamplesRevisionDigest: sha256:c039b6f0ee1b55f7b0de23ee52d54602643ec164c51a001acb0cbb430a1e9c91
1818
workflow:
1919
workflowVersion: 1.0.0
2020
speakeasyVersion: latest

docs/models/chatmessagecontentitemvideoinputvideo.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ let value: ChatMessageContentItemVideoInputVideo = {
1515

1616
## Fields
1717

18-
| Field | Type | Required | Description |
19-
| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ |
20-
| `type` | *string* | :heavy_check_mark: | N/A |
21-
| `videoUrl` | [models.VideoUrl1](../models/videourl1.md) | :heavy_check_mark: | N/A |
18+
| Field | Type | Required | Description |
19+
| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- |
20+
| `type` | *string* | :heavy_check_mark: | N/A |
21+
| `videoUrl` | [models.VideoURL](../models/videourl.md) | :heavy_check_mark: | N/A |

docs/models/chatmessagecontentitemvideovideourl.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ let value: ChatMessageContentItemVideoVideoURL = {
1515

1616
## Fields
1717

18-
| Field | Type | Required | Description |
19-
| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ |
20-
| `type` | *string* | :heavy_check_mark: | N/A |
21-
| `videoUrl` | [models.VideoUrl2](../models/videourl2.md) | :heavy_check_mark: | N/A |
18+
| Field | Type | Required | Description |
19+
| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
20+
| `type` | *string* | :heavy_check_mark: | N/A |
21+
| `videoUrl` | [models.ChatMessageContentItemVideoVideoUrlVideoUrl](../models/chatmessagecontentitemvideovideourlvideourl.md) | :heavy_check_mark: | N/A |

docs/models/videourl1.md renamed to docs/models/chatmessagecontentitemvideovideourlvideourl.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# VideoUrl1
1+
# ChatMessageContentItemVideoVideoUrlVideoUrl
22

33
## Example Usage
44

55
```typescript
6-
import { VideoUrl1 } from "@openrouter/sdk/models";
6+
import { ChatMessageContentItemVideoVideoUrlVideoUrl } from "@openrouter/sdk/models";
77

8-
let value: VideoUrl1 = {
9-
url: "https://colorless-milestone.net/",
8+
let value: ChatMessageContentItemVideoVideoUrlVideoUrl = {
9+
url: "https://perfumed-testimonial.net/",
1010
};
1111
```
1212

docs/models/videourl2.md renamed to docs/models/videourl.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# VideoUrl2
1+
# VideoURL
22

33
## Example Usage
44

55
```typescript
6-
import { VideoUrl2 } from "@openrouter/sdk/models";
6+
import { VideoURL } from "@openrouter/sdk/models";
77

8-
let value: VideoUrl2 = {
9-
url: "https://triangular-soup.info",
8+
let value: VideoURL = {
9+
url: "https://oval-vision.biz/",
1010
};
1111
```
1212

jsr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
{
44
"name": "@openrouter/sdk",
5-
"version": "0.1.15",
5+
"version": "0.1.16",
66
"exports": {
77
".": "./src/index.ts",
88
"./models/errors": "./src/models/errors/index.ts",

0 commit comments

Comments
 (0)