Skip to content

Commit 6fa70a0

Browse files
authored
fix: reasoning_details fix and improve types (#108)
2 parents bf2a0df + 7e64bf6 commit 6fa70a0

File tree

78 files changed

+2134
-1159
lines changed

Some content is hidden

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

78 files changed

+2134
-1159
lines changed

.speakeasy/gen.lock

Lines changed: 43 additions & 21 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: e929ecf569d79ab96a315332a4855566
4+
docChecksum: a5b3a567dd4de3ab77a9f0b23d4a9f10
55
docVersion: 1.0.0
66
speakeasyVersion: 1.666.0
77
generationVersion: 2.768.0
8-
releaseVersion: 0.2.11
9-
configChecksum: e77ce69b2f427b72c26c9a5508fc1232
8+
releaseVersion: 0.3.1
9+
configChecksum: 2ebf79caacefe8cd3647823595fe3688
1010
repoURL: https://github.com/OpenRouterTeam/typescript-sdk.git
1111
installationURL: https://github.com/OpenRouterTeam/typescript-sdk
1212
published: true
@@ -28,6 +28,7 @@ features:
2828
globalServerURLs: 2.83.0
2929
globals: 2.82.2
3030
groups: 2.81.3
31+
ignores: 2.81.1
3132
methodArguments: 0.1.2
3233
methodSecurity: 2.82.6
3334
nameOverrides: 2.81.2
@@ -60,10 +61,7 @@ generatedFiles:
6061
- docs/models/chaterrorerror.md
6162
- docs/models/chatgenerationparams.md
6263
- docs/models/chatgenerationparamsdatacollection.md
63-
- docs/models/chatgenerationparamsengine.md
6464
- docs/models/chatgenerationparamsmaxprice.md
65-
- docs/models/chatgenerationparamspdf.md
66-
- docs/models/chatgenerationparamspdfengine.md
6765
- docs/models/chatgenerationparamspluginfileparser.md
6866
- docs/models/chatgenerationparamspluginmoderation.md
6967
- docs/models/chatgenerationparamspluginresponsehealing.md
@@ -74,7 +72,6 @@ generatedFiles:
7472
- docs/models/chatgenerationparamsresponseformatpython.md
7573
- docs/models/chatgenerationparamsresponseformattext.md
7674
- docs/models/chatgenerationparamsresponseformatunion.md
77-
- docs/models/chatgenerationparamsroute.md
7875
- docs/models/chatgenerationparamsstop.md
7976
- docs/models/chatgenerationtokenusage.md
8077
- docs/models/chatmessagecontentitem.md
@@ -124,6 +121,7 @@ generatedFiles:
124121
- docs/models/edgenetworktimeoutresponseerrordata.md
125122
- docs/models/effort.md
126123
- docs/models/endpointstatus.md
124+
- docs/models/engine.md
127125
- docs/models/errors/badgatewayresponseerror.md
128126
- docs/models/errors/badrequestresponseerror.md
129127
- docs/models/errors/chaterror.md
@@ -142,7 +140,6 @@ generatedFiles:
142140
- docs/models/filecitation.md
143141
- docs/models/filepath.md
144142
- docs/models/forbiddenresponseerrordata.md
145-
- docs/models/ignore.md
146143
- docs/models/imagegenerationstatus.md
147144
- docs/models/imageurl.md
148145
- docs/models/inputmodality.md
@@ -165,7 +162,6 @@ generatedFiles:
165162
- docs/models/namedtoolchoicefunction.md
166163
- docs/models/notfoundresponseerrordata.md
167164
- docs/models/objectt.md
168-
- docs/models/only.md
169165
- docs/models/openairesponsesannotation.md
170166
- docs/models/openairesponsesincludable.md
171167
- docs/models/openairesponsesincompletedetails.md
@@ -252,17 +248,17 @@ generatedFiles:
252248
- docs/models/openresponsesreasoningsummarytextdoneevent.md
253249
- docs/models/openresponsesreasoningtype.md
254250
- docs/models/openresponsesrequest.md
255-
- docs/models/openresponsesrequestengine.md
251+
- docs/models/openresponsesrequestignore.md
256252
- docs/models/openresponsesrequestmaxprice.md
257-
- docs/models/openresponsesrequestpdf.md
258-
- docs/models/openresponsesrequestpdfengine.md
253+
- docs/models/openresponsesrequestonly.md
254+
- docs/models/openresponsesrequestorder.md
259255
- docs/models/openresponsesrequestpluginfileparser.md
260256
- docs/models/openresponsesrequestpluginmoderation.md
261257
- docs/models/openresponsesrequestpluginresponsehealing.md
262258
- docs/models/openresponsesrequestpluginunion.md
263259
- docs/models/openresponsesrequestpluginweb.md
264260
- docs/models/openresponsesrequestprovider.md
265-
- docs/models/openresponsesrequestroute.md
261+
- docs/models/openresponsesrequestsort.md
266262
- docs/models/openresponsesrequesttoolfunction.md
267263
- docs/models/openresponsesrequesttoolunion.md
268264
- docs/models/openresponsesresponsetext.md
@@ -306,7 +302,6 @@ generatedFiles:
306302
- docs/models/operations/createcoinbasechargeresponse.md
307303
- docs/models/operations/createcoinbasechargesecurity.md
308304
- docs/models/operations/createembeddingsdata.md
309-
- docs/models/operations/createembeddingsprovider.md
310305
- docs/models/operations/createembeddingsrequest.md
311306
- docs/models/operations/createembeddingsresponse.md
312307
- docs/models/operations/createembeddingsresponsebody.md
@@ -335,13 +330,11 @@ generatedFiles:
335330
- docs/models/operations/getkeyresponse.md
336331
- docs/models/operations/getmodelsrequest.md
337332
- docs/models/operations/getparametersdata.md
338-
- docs/models/operations/getparametersprovider.md
339333
- docs/models/operations/getparametersrequest.md
340334
- docs/models/operations/getparametersresponse.md
341335
- docs/models/operations/getparameterssecurity.md
342336
- docs/models/operations/getuseractivityrequest.md
343337
- docs/models/operations/getuseractivityresponse.md
344-
- docs/models/operations/ignore.md
345338
- docs/models/operations/imageurl.md
346339
- docs/models/operations/input.md
347340
- docs/models/operations/inputunion.md
@@ -354,12 +347,9 @@ generatedFiles:
354347
- docs/models/operations/listprovidersresponse.md
355348
- docs/models/operations/listrequest.md
356349
- docs/models/operations/listresponse.md
357-
- docs/models/operations/maxprice.md
358350
- docs/models/operations/metadata.md
359351
- docs/models/operations/objectembedding.md
360352
- docs/models/operations/objectt.md
361-
- docs/models/operations/only.md
362-
- docs/models/operations/order.md
363353
- docs/models/operations/ratelimit.md
364354
- docs/models/operations/sendchatcompletionrequestresponse.md
365355
- docs/models/operations/supportedparameter.md
@@ -371,7 +361,6 @@ generatedFiles:
371361
- docs/models/operations/updatekeysresponse.md
372362
- docs/models/operations/usage.md
373363
- docs/models/operations/web3data.md
374-
- docs/models/order.md
375364
- docs/models/outputitemimagegenerationcall.md
376365
- docs/models/outputitemimagegenerationcalltype.md
377366
- docs/models/outputmessage.md
@@ -387,15 +376,33 @@ generatedFiles:
387376
- docs/models/parameter.md
388377
- docs/models/part1.md
389378
- docs/models/part2.md
379+
- docs/models/partition.md
390380
- docs/models/payloadtoolargeresponseerrordata.md
391381
- docs/models/paymentrequiredresponseerrordata.md
382+
- docs/models/pdf.md
383+
- docs/models/pdfengine.md
384+
- docs/models/pdfparserengine.md
385+
- docs/models/pdfparseroptions.md
392386
- docs/models/perrequestlimits.md
393387
- docs/models/pricing.md
394388
- docs/models/prompt.md
395389
- docs/models/prompttokensdetails.md
396390
- docs/models/providername.md
397391
- docs/models/provideroverloadedresponseerrordata.md
392+
- docs/models/providerpreferences.md
393+
- docs/models/providerpreferencesignore.md
394+
- docs/models/providerpreferencesmaxprice.md
395+
- docs/models/providerpreferencesonly.md
396+
- docs/models/providerpreferencesorder.md
397+
- docs/models/providerpreferencespartition.md
398+
- docs/models/providerpreferencesprovidersort.md
399+
- docs/models/providerpreferencesprovidersortconfig.md
400+
- docs/models/providerpreferencessortunion.md
398401
- docs/models/providersort.md
402+
- docs/models/providersortconfig.md
403+
- docs/models/providersortconfigenum.md
404+
- docs/models/providersortconfigunion.md
405+
- docs/models/providersortunion.md
399406
- docs/models/publicendpoint.md
400407
- docs/models/publicendpointquantization.md
401408
- docs/models/publicpricing.md
@@ -456,12 +463,18 @@ generatedFiles:
456463
- docs/models/responseswebsearchuserlocationtype.md
457464
- docs/models/responsetextconfig.md
458465
- docs/models/responsetextconfigverbosity.md
466+
- docs/models/route.md
459467
- docs/models/schema0.md
460468
- docs/models/schema0enum.md
469+
- docs/models/schema3.md
470+
- docs/models/schema3reasoningencrypted.md
471+
- docs/models/schema3reasoningsummary.md
472+
- docs/models/schema3reasoningtext.md
473+
- docs/models/schema5.md
461474
- docs/models/security.md
462475
- docs/models/servicetier.md
463476
- docs/models/serviceunavailableresponseerrordata.md
464-
- docs/models/sort.md
477+
- docs/models/sortenum.md
465478
- docs/models/streamoptions.md
466479
- docs/models/systemmessage.md
467480
- docs/models/systemmessagecontent.md
@@ -485,6 +498,7 @@ generatedFiles:
485498
- docs/models/variables.md
486499
- docs/models/videourl1.md
487500
- docs/models/videourl2.md
501+
- docs/models/websearchengine.md
488502
- docs/models/websearchpreviewtooluserlocation.md
489503
- docs/models/websearchpreviewtooluserlocationtype.md
490504
- docs/models/websearchstatus.md
@@ -695,10 +709,15 @@ generatedFiles:
695709
- src/models/parameter.ts
696710
- src/models/payloadtoolargeresponseerrordata.ts
697711
- src/models/paymentrequiredresponseerrordata.ts
712+
- src/models/pdfparserengine.ts
713+
- src/models/pdfparseroptions.ts
698714
- src/models/perrequestlimits.ts
699715
- src/models/providername.ts
700716
- src/models/provideroverloadedresponseerrordata.ts
717+
- src/models/providerpreferences.ts
701718
- src/models/providersort.ts
719+
- src/models/providersortconfig.ts
720+
- src/models/providersortunion.ts
702721
- src/models/publicendpoint.ts
703722
- src/models/publicpricing.ts
704723
- src/models/quantization.ts
@@ -729,6 +748,7 @@ generatedFiles:
729748
- src/models/responseswebsearchuserlocation.ts
730749
- src/models/responsetextconfig.ts
731750
- src/models/schema0.ts
751+
- src/models/schema3.ts
732752
- src/models/security.ts
733753
- src/models/serviceunavailableresponseerrordata.ts
734754
- src/models/systemmessage.ts
@@ -741,6 +761,7 @@ generatedFiles:
741761
- src/models/unprocessableentityresponseerrordata.ts
742762
- src/models/urlcitation.ts
743763
- src/models/usermessage.ts
764+
- src/models/websearchengine.ts
744765
- src/models/websearchpreviewtooluserlocation.ts
745766
- src/models/websearchstatus.ts
746767
- src/sdk/analytics.ts
@@ -762,6 +783,7 @@ generatedFiles:
762783
- src/types/async.ts
763784
- src/types/blobs.ts
764785
- src/types/constdatetime.ts
786+
- src/types/discriminatedUnion.ts
765787
- src/types/enums.ts
766788
- src/types/fp.ts
767789
- src/types/index.ts

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ generation:
3131
skipResponseBodyAssertions: false
3232
preApplyUnionDiscriminators: true
3333
typescript:
34-
version: 0.2.11
34+
version: 0.3.1
3535
acceptHeaderEnum: false
3636
additionalDependencies:
3737
dependencies: {}

0 commit comments

Comments
 (0)