Skip to content

Commit b26f9b2

Browse files
committed
update
1 parent 030aa9b commit b26f9b2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+2535
-1178
lines changed

.speakeasy/gen.lock

Lines changed: 22 additions & 16 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: 20599e0dbcba30101bfaed784fd404d4
4+
docChecksum: 7b223cbfdfb0125942774277070f7573
55
docVersion: 1.0.0
6-
speakeasyVersion: 1.636.0
7-
generationVersion: 2.723.2
8-
releaseVersion: 0.0.0-beta.37
9-
configChecksum: c8056264700451197917c463edf9c06c
6+
speakeasyVersion: 1.636.2
7+
generationVersion: 2.723.8
8+
releaseVersion: 0.0.0-beta.38
9+
configChecksum: f01dbb000ab200e49a61999f65cc4fd7
1010
repoURL: https://github.com/OpenRouterTeam/typescript-sdk.git
1111
installationURL: https://github.com/OpenRouterTeam/typescript-sdk
1212
published: true
@@ -35,7 +35,7 @@ features:
3535
responseFormat: 0.2.3
3636
retries: 2.83.0
3737
sdkHooks: 0.3.0
38-
serverEvents: 0.1.10
38+
serverEvents: 0.1.11
3939
serverEventsSentinels: 0.1.0
4040
serverIDs: 2.81.2
4141
unions: 2.86.0
@@ -106,6 +106,7 @@ generatedFiles:
106106
- docs/models/completiontokensdetails.md
107107
- docs/models/completionusage.md
108108
- docs/models/costdetails.md
109+
- docs/models/createapikeydata.md
109110
- docs/models/data.md
110111
- docs/models/defaultparameters.md
111112
- docs/models/detail.md
@@ -131,6 +132,7 @@ generatedFiles:
131132
- docs/models/errors/errorresponse.md
132133
- docs/models/errors/internalservererror.md
133134
- docs/models/generatesummary.md
135+
- docs/models/getapikeydata.md
134136
- docs/models/imageurl.md
135137
- docs/models/incompletedetails.md
136138
- docs/models/inputaudio.md
@@ -166,6 +168,7 @@ generatedFiles:
166168
- docs/models/itemwebsearchcall1.md
167169
- docs/models/itemwebsearchcall2.md
168170
- docs/models/keyinfo.md
171+
- docs/models/listapikeysdata.md
169172
- docs/models/message.md
170173
- docs/models/messagecontent.md
171174
- docs/models/messagedeveloper.md
@@ -198,7 +201,7 @@ generatedFiles:
198201
- docs/models/operations/createauthorizationcodedata.md
199202
- docs/models/operations/createauthorizationcoderequest.md
200203
- docs/models/operations/createauthorizationcoderesponse.md
201-
- docs/models/operations/createdata.md
204+
- docs/models/operations/createlimitreset.md
202205
- docs/models/operations/createrequest.md
203206
- docs/models/operations/createresponse.md
204207
- docs/models/operations/deleterequest.md
@@ -232,7 +235,6 @@ generatedFiles:
232235
- docs/models/operations/generaterequestunion.md
233236
- docs/models/operations/generateresponse.md
234237
- docs/models/operations/generatesort.md
235-
- docs/models/operations/getapikeydata.md
236238
- docs/models/operations/getapikeyrequest.md
237239
- docs/models/operations/getapikeyresponse.md
238240
- docs/models/operations/getcountdata.md
@@ -263,7 +265,6 @@ generatedFiles:
263265
- docs/models/operations/inputmodality.md
264266
- docs/models/operations/instructtype.md
265267
- docs/models/operations/internalreasoning.md
266-
- docs/models/operations/listapikeysdata.md
267268
- docs/models/operations/listapikeysrequest.md
268269
- docs/models/operations/listapikeysresponse.md
269270
- docs/models/operations/listdata.md
@@ -323,7 +324,7 @@ generatedFiles:
323324
- docs/models/operations/tokenizer.md
324325
- docs/models/operations/transferintent.md
325326
- docs/models/operations/truncation.md
326-
- docs/models/operations/updatedata.md
327+
- docs/models/operations/updatelimitreset.md
327328
- docs/models/operations/updaterequest.md
328329
- docs/models/operations/updaterequestbody.md
329330
- docs/models/operations/updateresponse.md
@@ -519,6 +520,7 @@ generatedFiles:
519520
- docs/models/typeresponsewebsearchcallcompleted.md
520521
- docs/models/typeresponsewebsearchcallinprogress.md
521522
- docs/models/typeresponsewebsearchcallsearching.md
523+
- docs/models/updateapikeydata.md
522524
- docs/models/usermessage.md
523525
- docs/models/usermessagecontent.md
524526
- docs/sdks/analytics/README.md
@@ -611,6 +613,7 @@ generatedFiles:
611613
- src/models/completionlogprobs.ts
612614
- src/models/completionresponse.ts
613615
- src/models/completionusage.ts
616+
- src/models/createapikeydata.ts
614617
- src/models/endpointslist.ts
615618
- src/models/errorresponse.ts
616619
- src/models/errors/chaterror.ts
@@ -622,8 +625,10 @@ generatedFiles:
622625
- src/models/errors/openroutererror.ts
623626
- src/models/errors/responsevalidationerror.ts
624627
- src/models/errors/sdkvalidationerror.ts
628+
- src/models/getapikeydata.ts
625629
- src/models/index.ts
626630
- src/models/keyinfo.ts
631+
- src/models/listapikeysdata.ts
627632
- src/models/message.ts
628633
- src/models/modelslist.ts
629634
- src/models/namedtoolchoice.ts
@@ -705,6 +710,7 @@ generatedFiles:
705710
- src/models/toolchoicetypeunion.ts
706711
- src/models/toolchoiceunion.ts
707712
- src/models/toolresponsemessage.ts
713+
- src/models/updateapikeydata.ts
708714
- src/models/usermessage.ts
709715
- src/react-query/_context.tsx
710716
- src/react-query/_types.ts
@@ -1231,18 +1237,18 @@ examples:
12311237
offset: "0"
12321238
responses:
12331239
"200":
1234-
application/json: {"data": [{"hash": "sk-or-v1-abc123def456", "name": "My Production Key", "label": "Production API Key", "disabled": false, "limit": 100, "usage": 25.5, "created_at": "2025-08-24T10:30:00Z", "updated_at": "2025-08-24T15:45:00Z"}, {"hash": "sk-or-v1-xyz789ghi012", "name": "My Development Key", "label": "Development API Key", "disabled": false, "limit": 50, "usage": 10, "created_at": "2025-08-20T08:00:00Z", "updated_at": null}]}
1240+
application/json: {"data": [{"hash": "sk-or-v1-abc123def456", "name": "My Production Key", "label": "Production API Key", "disabled": false, "limit": 100, "limit_remaining": 74.5, "limit_reset": "monthly", "include_byok_in_limit": false, "usage": 25.5, "usage_daily": 5, "usage_weekly": 15, "usage_monthly": 25.5, "byok_usage": 0, "byok_usage_daily": 0, "byok_usage_weekly": 0, "byok_usage_monthly": 0, "created_at": "2025-08-24T10:30:00Z", "updated_at": "2025-08-24T15:45:00Z"}, {"hash": "sk-or-v1-xyz789ghi012", "name": "My Development Key", "label": "Development API Key", "disabled": false, "limit": 50, "limit_remaining": 40, "limit_reset": "monthly", "include_byok_in_limit": false, "usage": 10, "usage_daily": 2, "usage_weekly": 7, "usage_monthly": 10, "byok_usage": 0, "byok_usage_daily": 0, "byok_usage_weekly": 0, "byok_usage_monthly": 0, "created_at": "2025-08-20T08:00:00Z", "updated_at": null}]}
12351241
4XX:
12361242
application/json: {"error": {"code": 305, "message": "<value>", "metadata": {"key": "<value>", "key1": "<value>"}}, "user_id": "<id>"}
12371243
5XX:
12381244
application/json: {"error": {"code": 305, "message": "<value>", "metadata": {"key": "<value>", "key1": "<value>"}}, "user_id": "<id>"}
12391245
create:
12401246
speakeasy-default-create:
12411247
requestBody:
1242-
application/json: {"name": "My New API Key", "limit": 50, "include_byok_in_limit": true}
1248+
application/json: {"name": "My New API Key", "limit": 50, "limit_reset": "monthly", "include_byok_in_limit": true}
12431249
responses:
12441250
"201":
1245-
application/json: {"data": {"hash": "sk-or-v1-abc123def456", "name": "My New API Key", "label": "Production API Key", "disabled": false, "limit": 50, "usage": 0, "created_at": "2025-08-24T10:30:00Z", "updated_at": null}, "key": "sk-or-v1-abc123def456ghi789jkl012"}
1251+
application/json: {"data": {"hash": "sk-or-v1-abc123def456", "name": "My New API Key", "label": "Production API Key", "disabled": false, "limit": 50, "limit_remaining": 50, "limit_reset": "monthly", "include_byok_in_limit": false, "usage": 0, "usage_daily": 0, "usage_weekly": 0, "usage_monthly": 0, "byok_usage": 0, "byok_usage_daily": 0, "byok_usage_weekly": 0, "byok_usage_monthly": 0, "created_at": "2025-08-24T10:30:00Z", "updated_at": null}, "key": "sk-or-v1-abc123def456ghi789jkl012"}
12461252
4XX:
12471253
application/json: {"error": {"code": 206, "message": "<value>", "metadata": {"key": "<value>", "key1": "<value>"}}, "user_id": "<id>"}
12481254
5XX:
@@ -1253,10 +1259,10 @@ examples:
12531259
path:
12541260
hash: "sk-or-v1-abc123def456"
12551261
requestBody:
1256-
application/json: {"name": "Updated API Key Name", "disabled": false, "limit": 75, "include_byok_in_limit": true}
1262+
application/json: {"name": "Updated API Key Name", "disabled": false, "limit": 75, "limit_reset": "daily", "include_byok_in_limit": true}
12571263
responses:
12581264
"200":
1259-
application/json: {"data": {"hash": "sk-or-v1-abc123def456", "name": "Updated API Key Name", "label": "Production API Key", "disabled": false, "limit": 75, "usage": 25.5, "created_at": "2025-08-24T10:30:00Z", "updated_at": "2025-08-24T16:00:00Z"}}
1265+
application/json: {"data": {"hash": "sk-or-v1-abc123def456", "name": "Updated API Key Name", "label": "Production API Key", "disabled": false, "limit": 75, "limit_remaining": 49.5, "limit_reset": "daily", "include_byok_in_limit": true, "usage": 25.5, "usage_daily": 5, "usage_weekly": 15, "usage_monthly": 25.5, "byok_usage": 0, "byok_usage_daily": 0, "byok_usage_weekly": 0, "byok_usage_monthly": 0, "created_at": "2025-08-24T10:30:00Z", "updated_at": "2025-08-24T16:00:00Z"}}
12601266
4XX:
12611267
application/json: {"error": {"code": 424, "message": "<value>", "metadata": {"key": "<value>", "key1": "<value>"}}, "user_id": "<id>"}
12621268
5XX:
@@ -1280,7 +1286,7 @@ examples:
12801286
hash: "sk-or-v1-abc123def456"
12811287
responses:
12821288
"200":
1283-
application/json: {"data": {"hash": "sk-or-v1-abc123def456", "name": "My Production Key", "label": "Production API Key", "disabled": false, "limit": 100, "usage": 25.5, "created_at": "2025-08-24T10:30:00Z", "updated_at": "2025-08-24T15:45:00Z"}}
1289+
application/json: {"data": {"hash": "sk-or-v1-abc123def456", "name": "My Production Key", "label": "Production API Key", "disabled": false, "limit": 100, "limit_remaining": 74.5, "limit_reset": "monthly", "include_byok_in_limit": false, "usage": 25.5, "usage_daily": 5, "usage_weekly": 15, "usage_monthly": 25.5, "byok_usage": 0, "byok_usage_daily": 0, "byok_usage_weekly": 0, "byok_usage_monthly": 0, "created_at": "2025-08-24T10:30:00Z", "updated_at": "2025-08-24T15:45:00Z"}}
12841290
4XX:
12851291
application/json: {"error": {"code": 428, "message": "<value>", "metadata": {"key": "<value>"}}, "user_id": "<id>"}
12861292
5XX:

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ generation:
2727
generateNewTests: true
2828
skipResponseBodyAssertions: false
2929
typescript:
30-
version: 0.0.0-beta.37
30+
version: 0.0.0-beta.38
3131
acceptHeaderEnum: false
3232
additionalDependencies:
3333
dependencies: {}

0 commit comments

Comments
 (0)