@openrouter/sdk 0.13.59 → 0.13.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (193) hide show
  1. package/esm/lib/config.d.ts +2 -2
  2. package/esm/lib/config.js +2 -2
  3. package/esm/models/additionaltoolsitem.d.ts +7 -7
  4. package/esm/models/additionaltoolsitem.js +5 -5
  5. package/esm/models/advisornestedtool.d.ts +3 -3
  6. package/esm/models/advisornestedtool.js +2 -2
  7. package/esm/models/agentmessageitem.d.ts +3 -3
  8. package/esm/models/agentmessageitem.js +3 -3
  9. package/esm/models/autobetarouterplugin.d.ts +27 -0
  10. package/esm/models/autobetarouterplugin.js +22 -0
  11. package/esm/models/badgatewayresponseerrordata.d.ts +1 -1
  12. package/esm/models/badgatewayresponseerrordata.js +1 -1
  13. package/esm/models/badrequestresponseerrordata.d.ts +1 -1
  14. package/esm/models/badrequestresponseerrordata.js +1 -1
  15. package/esm/models/baseinputsunion.d.ts +3 -3
  16. package/esm/models/baseinputsunion.js +0 -3
  17. package/esm/models/byokproviderslug.d.ts +1 -0
  18. package/esm/models/byokproviderslug.js +1 -0
  19. package/esm/models/chatassistantmessage.d.ts +4 -4
  20. package/esm/models/chatassistantmessage.js +4 -4
  21. package/esm/models/chatfunctiontool.d.ts +2 -2
  22. package/esm/models/chatfunctiontool.js +1 -1
  23. package/esm/models/chatjsonschemaconfig.d.ts +2 -2
  24. package/esm/models/chatjsonschemaconfig.js +1 -1
  25. package/esm/models/chatrequest.d.ts +9 -8
  26. package/esm/models/chatrequest.js +4 -3
  27. package/esm/models/compactionitem.d.ts +1 -1
  28. package/esm/models/compactionitem.js +1 -1
  29. package/esm/models/compoundfilter.d.ts +2 -2
  30. package/esm/models/compoundfilter.js +2 -2
  31. package/esm/models/conflictresponseerrordata.d.ts +1 -1
  32. package/esm/models/conflictresponseerrordata.js +1 -1
  33. package/esm/models/contextcompactionitem.d.ts +1 -1
  34. package/esm/models/contextcompactionitem.js +1 -1
  35. package/esm/models/createobservabilitydestinationrequest.d.ts +2 -2
  36. package/esm/models/createobservabilitydestinationrequest.js +1 -1
  37. package/esm/models/debugevent.d.ts +1 -1
  38. package/esm/models/debugevent.js +1 -1
  39. package/esm/models/easyinputmessage.d.ts +8 -8
  40. package/esm/models/easyinputmessage.js +0 -4
  41. package/esm/models/edgenetworktimeoutresponseerrordata.d.ts +1 -1
  42. package/esm/models/edgenetworktimeoutresponseerrordata.js +1 -1
  43. package/esm/models/errors/badgatewayresponseerror.d.ts +2 -2
  44. package/esm/models/errors/badgatewayresponseerror.js +1 -2
  45. package/esm/models/errors/badrequestresponseerror.d.ts +2 -2
  46. package/esm/models/errors/badrequestresponseerror.js +1 -2
  47. package/esm/models/errors/conflictresponseerror.d.ts +2 -2
  48. package/esm/models/errors/conflictresponseerror.js +1 -2
  49. package/esm/models/errors/edgenetworktimeoutresponseerror.d.ts +2 -2
  50. package/esm/models/errors/edgenetworktimeoutresponseerror.js +1 -2
  51. package/esm/models/errors/forbiddenresponseerror.d.ts +2 -2
  52. package/esm/models/errors/forbiddenresponseerror.js +1 -2
  53. package/esm/models/errors/internalserverresponseerror.d.ts +2 -2
  54. package/esm/models/errors/internalserverresponseerror.js +1 -2
  55. package/esm/models/errors/notfoundresponseerror.d.ts +2 -2
  56. package/esm/models/errors/notfoundresponseerror.js +1 -2
  57. package/esm/models/errors/payloadtoolargeresponseerror.d.ts +2 -2
  58. package/esm/models/errors/payloadtoolargeresponseerror.js +1 -2
  59. package/esm/models/errors/paymentrequiredresponseerror.d.ts +2 -2
  60. package/esm/models/errors/paymentrequiredresponseerror.js +1 -2
  61. package/esm/models/errors/provideroverloadedresponseerror.d.ts +2 -2
  62. package/esm/models/errors/provideroverloadedresponseerror.js +1 -2
  63. package/esm/models/errors/requesttimeoutresponseerror.d.ts +2 -2
  64. package/esm/models/errors/requesttimeoutresponseerror.js +1 -2
  65. package/esm/models/errors/serviceunavailableresponseerror.d.ts +2 -2
  66. package/esm/models/errors/serviceunavailableresponseerror.js +1 -2
  67. package/esm/models/errors/toomanyrequestsresponseerror.d.ts +2 -2
  68. package/esm/models/errors/toomanyrequestsresponseerror.js +1 -2
  69. package/esm/models/errors/unauthorizedresponseerror.d.ts +2 -2
  70. package/esm/models/errors/unauthorizedresponseerror.js +1 -2
  71. package/esm/models/errors/unprocessableentityresponseerror.d.ts +2 -2
  72. package/esm/models/errors/unprocessableentityresponseerror.js +1 -2
  73. package/esm/models/filesearchservertool.d.ts +4 -4
  74. package/esm/models/filesearchservertool.js +1 -8
  75. package/esm/models/forbiddenresponseerrordata.d.ts +1 -1
  76. package/esm/models/forbiddenresponseerrordata.js +1 -1
  77. package/esm/models/formatjsonschemaconfig.d.ts +2 -2
  78. package/esm/models/formatjsonschemaconfig.js +2 -2
  79. package/esm/models/functioncalloutputitem.d.ts +2 -9
  80. package/esm/models/functioncalloutputitem.js +2 -8
  81. package/esm/models/fusionplugin.d.ts +28 -2
  82. package/esm/models/fusionplugin.js +28 -1
  83. package/esm/models/fusionservertoolconfig.d.ts +2 -2
  84. package/esm/models/fusionservertoolconfig.js +1 -1
  85. package/esm/models/generationcontentdata.d.ts +1 -1
  86. package/esm/models/generationcontentdata.js +1 -1
  87. package/esm/models/imageconfig.d.ts +2 -2
  88. package/esm/models/imageconfig.js +1 -1
  89. package/esm/models/imagegenerationproviderpreferences.d.ts +256 -250
  90. package/esm/models/imagegenerationproviderpreferences.js +126 -133
  91. package/esm/models/imagegenerationservertoolconfigunion.d.ts +2 -2
  92. package/esm/models/imagegenerationservertoolconfigunion.js +1 -1
  93. package/esm/models/index.d.ts +1 -2
  94. package/esm/models/index.js +1 -2
  95. package/esm/models/inputsunion.d.ts +8 -8
  96. package/esm/models/inputsunion.js +0 -4
  97. package/esm/models/internalserverresponseerrordata.d.ts +1 -1
  98. package/esm/models/internalserverresponseerrordata.js +1 -1
  99. package/esm/models/listendpointsresponse.d.ts +2 -33
  100. package/esm/models/listendpointsresponse.js +2 -30
  101. package/esm/models/localshellcalloutputitem.d.ts +3 -10
  102. package/esm/models/localshellcalloutputitem.js +2 -9
  103. package/esm/models/mcplisttoolsitem.d.ts +4 -4
  104. package/esm/models/mcplisttoolsitem.js +2 -2
  105. package/esm/models/mcpservertool.d.ts +8 -8
  106. package/esm/models/mcpservertool.js +4 -24
  107. package/esm/models/messagesadvisortoolresultblock.d.ts +2 -2
  108. package/esm/models/messagesadvisortoolresultblock.js +1 -1
  109. package/esm/models/messagesfallbackparam.d.ts +1 -1
  110. package/esm/models/messagesfallbackparam.js +1 -1
  111. package/esm/models/messagesmessageparam.d.ts +4 -4
  112. package/esm/models/messagesmessageparam.js +2 -2
  113. package/esm/models/messagesoutputconfig.d.ts +2 -2
  114. package/esm/models/messagesoutputconfig.js +1 -1
  115. package/esm/models/messagesrequest.d.ts +15 -36
  116. package/esm/models/messagesrequest.js +10 -21
  117. package/esm/models/namespacefunctiontool.d.ts +4 -4
  118. package/esm/models/namespacefunctiontool.js +4 -6
  119. package/esm/models/notfoundresponseerrordata.d.ts +1 -1
  120. package/esm/models/notfoundresponseerrordata.js +1 -1
  121. package/esm/models/openairesponsefunctiontoolcalloutput.d.ts +3 -10
  122. package/esm/models/openairesponsefunctiontoolcalloutput.js +2 -11
  123. package/esm/models/openresponsesresult.d.ts +46 -2
  124. package/esm/models/openresponsesresult.js +69 -3
  125. package/esm/models/operations/listbyokkeys.d.ts +1 -0
  126. package/esm/models/operations/listbyokkeys.js +1 -0
  127. package/esm/models/outputcomputercallitem.d.ts +2 -2
  128. package/esm/models/outputcomputercallitem.js +2 -2
  129. package/esm/models/outputmemoryservertoolitem.d.ts +2 -2
  130. package/esm/models/outputmemoryservertoolitem.js +2 -2
  131. package/esm/models/outputmessage.d.ts +2 -2
  132. package/esm/models/outputmessage.js +0 -2
  133. package/esm/models/outputmessageitem.d.ts +2 -2
  134. package/esm/models/outputmessageitem.js +0 -2
  135. package/esm/models/payloadtoolargeresponseerrordata.d.ts +1 -1
  136. package/esm/models/payloadtoolargeresponseerrordata.js +1 -1
  137. package/esm/models/paymentrequiredresponseerrordata.d.ts +1 -1
  138. package/esm/models/paymentrequiredresponseerrordata.js +1 -1
  139. package/esm/models/pipelinestage.d.ts +1 -1
  140. package/esm/models/pipelinestage.js +1 -1
  141. package/esm/models/preferredmaxlatency.d.ts +2 -2
  142. package/esm/models/preferredmaxlatency.js +1 -1
  143. package/esm/models/preferredminthroughput.d.ts +2 -2
  144. package/esm/models/preferredminthroughput.js +1 -1
  145. package/esm/models/presetdesignatedversion.d.ts +1 -1
  146. package/esm/models/presetdesignatedversion.js +1 -1
  147. package/esm/models/providername.d.ts +2 -1
  148. package/esm/models/providername.js +2 -1
  149. package/esm/models/provideroptions.d.ts +252 -246
  150. package/esm/models/provideroptions.js +124 -123
  151. package/esm/models/provideroverloadedresponseerrordata.d.ts +1 -1
  152. package/esm/models/provideroverloadedresponseerrordata.js +1 -1
  153. package/esm/models/providerpreferences.d.ts +4 -4
  154. package/esm/models/providerpreferences.js +2 -10
  155. package/esm/models/providerresponse.d.ts +2 -1
  156. package/esm/models/providerresponse.js +2 -1
  157. package/esm/models/publicendpoint.d.ts +2 -16
  158. package/esm/models/publicendpoint.js +2 -15
  159. package/esm/models/quantization.d.ts +2 -0
  160. package/esm/models/quantization.js +2 -0
  161. package/esm/models/requesttimeoutresponseerrordata.d.ts +1 -1
  162. package/esm/models/requesttimeoutresponseerrordata.js +1 -1
  163. package/esm/models/responsesrequest.d.ts +39 -9
  164. package/esm/models/responsesrequest.js +27 -4
  165. package/esm/models/routerparams.d.ts +1 -1
  166. package/esm/models/serviceunavailableresponseerrordata.d.ts +1 -1
  167. package/esm/models/serviceunavailableresponseerrordata.js +1 -1
  168. package/esm/models/shellcallitem.d.ts +5 -12
  169. package/esm/models/shellcallitem.js +3 -10
  170. package/esm/models/shellcalloutputitem.d.ts +4 -11
  171. package/esm/models/shellcalloutputitem.js +3 -10
  172. package/esm/models/subagentnestedtool.d.ts +3 -3
  173. package/esm/models/subagentnestedtool.js +2 -2
  174. package/esm/models/toolchoiceallowed.d.ts +2 -2
  175. package/esm/models/toolchoiceallowed.js +2 -2
  176. package/esm/models/toomanyrequestsresponseerrordata.d.ts +1 -1
  177. package/esm/models/toomanyrequestsresponseerrordata.js +1 -1
  178. package/esm/models/traceconfig.d.ts +1 -1
  179. package/esm/models/traceconfig.js +1 -1
  180. package/esm/models/unauthorizedresponseerrordata.d.ts +1 -1
  181. package/esm/models/unauthorizedresponseerrordata.js +1 -1
  182. package/esm/models/unprocessableentityresponseerrordata.d.ts +1 -1
  183. package/esm/models/unprocessableentityresponseerrordata.js +1 -1
  184. package/esm/models/updateobservabilitydestinationrequest.d.ts +2 -2
  185. package/esm/models/updateobservabilitydestinationrequest.js +1 -1
  186. package/esm/models/videogenerationrequest.d.ts +252 -246
  187. package/esm/models/videogenerationrequest.js +124 -123
  188. package/jsr.json +1 -1
  189. package/package.json +6 -6
  190. package/esm/models/reasoningconfig.d.ts +0 -35
  191. package/esm/models/reasoningconfig.js +0 -27
  192. package/esm/models/usage.d.ts +0 -52
  193. package/esm/models/usage.js +0 -75
@@ -1,23 +1,18 @@
1
1
  import * as z from "zod/v4";
2
2
  import * as discriminatedUnionTypes from "../types/discriminatedUnion.js";
3
- import { ClosedEnum, OpenEnum } from "../types/enums.js";
3
+ import { ClosedEnum } from "../types/enums.js";
4
4
  import { Result as SafeParseResult } from "../types/fp.js";
5
5
  import { SDKValidationError } from "./errors/sdkvalidationerror.js";
6
6
  import { InputFile } from "./inputfile.js";
7
7
  import { InputImage } from "./inputimage.js";
8
8
  import { InputText } from "./inputtext.js";
9
+ import { ToolCallStatus } from "./toolcallstatus.js";
9
10
  export type OpenAIResponseFunctionToolCallOutputOutput1 = InputFile | (InputImage & {
10
11
  type: "input_image";
11
12
  }) | InputText | discriminatedUnionTypes.Unknown<"type">;
12
13
  export type OpenAIResponseFunctionToolCallOutputOutput2 = string | Array<InputFile | (InputImage & {
13
14
  type: "input_image";
14
15
  }) | InputText | discriminatedUnionTypes.Unknown<"type">>;
15
- export declare const OpenAIResponseFunctionToolCallOutputStatus: {
16
- readonly InProgress: "in_progress";
17
- readonly Completed: "completed";
18
- readonly Incomplete: "incomplete";
19
- };
20
- export type OpenAIResponseFunctionToolCallOutputStatus = OpenEnum<typeof OpenAIResponseFunctionToolCallOutputStatus>;
21
16
  export declare const OpenAIResponseFunctionToolCallOutputType: {
22
17
  readonly FunctionCallOutput: "function_call_output";
23
18
  };
@@ -28,7 +23,7 @@ export type OpenAIResponseFunctionToolCallOutput = {
28
23
  output: string | Array<InputFile | (InputImage & {
29
24
  type: "input_image";
30
25
  }) | InputText | discriminatedUnionTypes.Unknown<"type">>;
31
- status?: OpenAIResponseFunctionToolCallOutputStatus | null | undefined;
26
+ status?: ToolCallStatus | null | undefined;
32
27
  type: OpenAIResponseFunctionToolCallOutputType;
33
28
  };
34
29
  /** @internal */
@@ -38,8 +33,6 @@ export declare function openAIResponseFunctionToolCallOutputOutput1FromJSON(json
38
33
  export declare const OpenAIResponseFunctionToolCallOutputOutput2$inboundSchema: z.ZodType<OpenAIResponseFunctionToolCallOutputOutput2, unknown>;
39
34
  export declare function openAIResponseFunctionToolCallOutputOutput2FromJSON(jsonString: string): SafeParseResult<OpenAIResponseFunctionToolCallOutputOutput2, SDKValidationError>;
40
35
  /** @internal */
41
- export declare const OpenAIResponseFunctionToolCallOutputStatus$inboundSchema: z.ZodType<OpenAIResponseFunctionToolCallOutputStatus, unknown>;
42
- /** @internal */
43
36
  export declare const OpenAIResponseFunctionToolCallOutputType$inboundSchema: z.ZodEnum<typeof OpenAIResponseFunctionToolCallOutputType>;
44
37
  /** @internal */
45
38
  export declare const OpenAIResponseFunctionToolCallOutput$inboundSchema: z.ZodType<OpenAIResponseFunctionToolCallOutput, unknown>;
@@ -6,15 +6,10 @@ import * as z from "zod/v4";
6
6
  import { remap as remap$ } from "../lib/primitives.js";
7
7
  import { safeParse } from "../lib/schemas.js";
8
8
  import { discriminatedUnion } from "../types/discriminatedUnion.js";
9
- import * as openEnums from "../types/enums.js";
10
9
  import { InputFile$inboundSchema } from "./inputfile.js";
11
10
  import { InputImage$inboundSchema } from "./inputimage.js";
12
11
  import { InputText$inboundSchema } from "./inputtext.js";
13
- export const OpenAIResponseFunctionToolCallOutputStatus = {
14
- InProgress: "in_progress",
15
- Completed: "completed",
16
- Incomplete: "incomplete",
17
- };
12
+ import { ToolCallStatus$inboundSchema, } from "./toolcallstatus.js";
18
13
  export const OpenAIResponseFunctionToolCallOutputType = {
19
14
  FunctionCallOutput: "function_call_output",
20
15
  };
@@ -40,9 +35,6 @@ export function openAIResponseFunctionToolCallOutputOutput2FromJSON(jsonString)
40
35
  return safeParse(jsonString, (x) => OpenAIResponseFunctionToolCallOutputOutput2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'OpenAIResponseFunctionToolCallOutputOutput2' from JSON`);
41
36
  }
42
37
  /** @internal */
43
- export const OpenAIResponseFunctionToolCallOutputStatus$inboundSchema = openEnums
44
- .inboundSchema(OpenAIResponseFunctionToolCallOutputStatus);
45
- /** @internal */
46
38
  export const OpenAIResponseFunctionToolCallOutputType$inboundSchema = z.enum(OpenAIResponseFunctionToolCallOutputType);
47
39
  /** @internal */
48
40
  export const OpenAIResponseFunctionToolCallOutput$inboundSchema = z.object({
@@ -56,8 +48,7 @@ export const OpenAIResponseFunctionToolCallOutput$inboundSchema = z.object({
56
48
  input_text: InputText$inboundSchema,
57
49
  })),
58
50
  ]),
59
- status: z.nullable(OpenAIResponseFunctionToolCallOutputStatus$inboundSchema)
60
- .optional(),
51
+ status: z.nullable(ToolCallStatus$inboundSchema).optional(),
61
52
  type: OpenAIResponseFunctionToolCallOutputType$inboundSchema,
62
53
  }).transform((v) => {
63
54
  return remap$(v, {
@@ -24,11 +24,11 @@ import { OutputItems } from "./outputitems.js";
24
24
  import { Preview20250311WebSearchServerTool } from "./preview20250311websearchservertool.js";
25
25
  import { PreviewWebSearchServerTool } from "./previewwebsearchservertool.js";
26
26
  import { ResponsesErrorField } from "./responseserrorfield.js";
27
+ import { ServerToolUseDetails } from "./servertoolusedetails.js";
27
28
  import { ShellServerTool } from "./shellservertool.js";
28
29
  import { StoredPromptTemplate } from "./storedprompttemplate.js";
29
30
  import { TextExtendedConfig } from "./textextendedconfig.js";
30
31
  import { Truncation } from "./truncation.js";
31
- import { Usage } from "./usage.js";
32
32
  import { WebSearchServerTool } from "./websearchservertool.js";
33
33
  export declare const OpenResponsesResultObject: {
34
34
  readonly Response: "response";
@@ -41,7 +41,7 @@ export type OpenResponsesResultToolFunction = {
41
41
  description?: string | null | undefined;
42
42
  name: string;
43
43
  parameters: {
44
- [k: string]: any | null;
44
+ [k: string]: any;
45
45
  } | null;
46
46
  strict?: boolean | null | undefined;
47
47
  type: "function";
@@ -75,6 +75,38 @@ export type OpenResponsesResultToolUnion = OpenResponsesResultToolFunction | (Pr
75
75
  }) | (NamespaceTool & {
76
76
  type: "namespace";
77
77
  }) | discriminatedUnionTypes.Unknown<"type">;
78
+ export type InputTokensDetails = {
79
+ cacheWriteTokens?: number | null | undefined;
80
+ cachedTokens: number;
81
+ };
82
+ export type OutputTokensDetails = {
83
+ reasoningTokens: number;
84
+ };
85
+ export type UsageCostDetails = {
86
+ upstreamInferenceCost?: number | null | undefined;
87
+ upstreamInferenceInputCost: number;
88
+ upstreamInferenceOutputCost: number;
89
+ };
90
+ export type Usage = {
91
+ inputTokens: number;
92
+ inputTokensDetails: InputTokensDetails;
93
+ outputTokens: number;
94
+ outputTokensDetails: OutputTokensDetails;
95
+ totalTokens: number;
96
+ /**
97
+ * Cost of the completion
98
+ */
99
+ cost?: number | null | undefined;
100
+ costDetails?: UsageCostDetails | undefined;
101
+ /**
102
+ * Whether a request was made using a Bring Your Own Key configuration
103
+ */
104
+ isByok?: boolean | undefined;
105
+ /**
106
+ * Usage for server-side tool execution (e.g., web search)
107
+ */
108
+ serverToolUseDetails?: ServerToolUseDetails | null | undefined;
109
+ };
78
110
  /**
79
111
  * Complete non-streaming response from the Responses API
80
112
  */
@@ -170,6 +202,18 @@ export declare function openResponsesResultToolFunctionFromJSON(jsonString: stri
170
202
  export declare const OpenResponsesResultToolUnion$inboundSchema: z.ZodType<OpenResponsesResultToolUnion, unknown>;
171
203
  export declare function openResponsesResultToolUnionFromJSON(jsonString: string): SafeParseResult<OpenResponsesResultToolUnion, SDKValidationError>;
172
204
  /** @internal */
205
+ export declare const InputTokensDetails$inboundSchema: z.ZodType<InputTokensDetails, unknown>;
206
+ export declare function inputTokensDetailsFromJSON(jsonString: string): SafeParseResult<InputTokensDetails, SDKValidationError>;
207
+ /** @internal */
208
+ export declare const OutputTokensDetails$inboundSchema: z.ZodType<OutputTokensDetails, unknown>;
209
+ export declare function outputTokensDetailsFromJSON(jsonString: string): SafeParseResult<OutputTokensDetails, SDKValidationError>;
210
+ /** @internal */
211
+ export declare const UsageCostDetails$inboundSchema: z.ZodType<UsageCostDetails, unknown>;
212
+ export declare function usageCostDetailsFromJSON(jsonString: string): SafeParseResult<UsageCostDetails, SDKValidationError>;
213
+ /** @internal */
214
+ export declare const Usage$inboundSchema: z.ZodType<Usage, unknown>;
215
+ export declare function usageFromJSON(jsonString: string): SafeParseResult<Usage, SDKValidationError>;
216
+ /** @internal */
173
217
  export declare const OpenResponsesResult$inboundSchema: z.ZodType<OpenResponsesResult, unknown>;
174
218
  export declare function openResponsesResultFromJSON(jsonString: string): SafeParseResult<OpenResponsesResult, SDKValidationError>;
175
219
  //# sourceMappingURL=openresponsesresult.d.ts.map
@@ -27,11 +27,11 @@ import { OutputItems$inboundSchema } from "./outputitems.js";
27
27
  import { Preview20250311WebSearchServerTool$inboundSchema, } from "./preview20250311websearchservertool.js";
28
28
  import { PreviewWebSearchServerTool$inboundSchema, } from "./previewwebsearchservertool.js";
29
29
  import { ResponsesErrorField$inboundSchema, } from "./responseserrorfield.js";
30
+ import { ServerToolUseDetails$inboundSchema, } from "./servertoolusedetails.js";
30
31
  import { ShellServerTool$inboundSchema, } from "./shellservertool.js";
31
32
  import { StoredPromptTemplate$inboundSchema, } from "./storedprompttemplate.js";
32
33
  import { TextExtendedConfig$inboundSchema, } from "./textextendedconfig.js";
33
34
  import { Truncation$inboundSchema } from "./truncation.js";
34
- import { Usage$inboundSchema } from "./usage.js";
35
35
  import { WebSearchServerTool$inboundSchema, } from "./websearchservertool.js";
36
36
  export const OpenResponsesResultObject = {
37
37
  Response: "response",
@@ -42,7 +42,7 @@ export const OpenResponsesResultObject$inboundSchema = z.enum(OpenResponsesResul
42
42
  export const OpenResponsesResultToolFunction$inboundSchema = z.object({
43
43
  description: z.nullable(z.string()).optional(),
44
44
  name: z.string(),
45
- parameters: z.nullable(z.record(z.string(), z.nullable(z.any()))),
45
+ parameters: z.nullable(z.record(z.string(), z.any())),
46
46
  strict: z.nullable(z.boolean()).optional(),
47
47
  type: z.literal("function"),
48
48
  });
@@ -71,6 +71,72 @@ export function openResponsesResultToolUnionFromJSON(jsonString) {
71
71
  return safeParse(jsonString, (x) => OpenResponsesResultToolUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'OpenResponsesResultToolUnion' from JSON`);
72
72
  }
73
73
  /** @internal */
74
+ export const InputTokensDetails$inboundSchema = z.object({
75
+ cache_write_tokens: z.nullable(z.int()).optional(),
76
+ cached_tokens: z.int(),
77
+ }).transform((v) => {
78
+ return remap$(v, {
79
+ "cache_write_tokens": "cacheWriteTokens",
80
+ "cached_tokens": "cachedTokens",
81
+ });
82
+ });
83
+ export function inputTokensDetailsFromJSON(jsonString) {
84
+ return safeParse(jsonString, (x) => InputTokensDetails$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'InputTokensDetails' from JSON`);
85
+ }
86
+ /** @internal */
87
+ export const OutputTokensDetails$inboundSchema = z.object({
88
+ reasoning_tokens: z.int(),
89
+ }).transform((v) => {
90
+ return remap$(v, {
91
+ "reasoning_tokens": "reasoningTokens",
92
+ });
93
+ });
94
+ export function outputTokensDetailsFromJSON(jsonString) {
95
+ return safeParse(jsonString, (x) => OutputTokensDetails$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'OutputTokensDetails' from JSON`);
96
+ }
97
+ /** @internal */
98
+ export const UsageCostDetails$inboundSchema = z.object({
99
+ upstream_inference_cost: z.nullable(z.number()).optional(),
100
+ upstream_inference_input_cost: z.number(),
101
+ upstream_inference_output_cost: z.number(),
102
+ }).transform((v) => {
103
+ return remap$(v, {
104
+ "upstream_inference_cost": "upstreamInferenceCost",
105
+ "upstream_inference_input_cost": "upstreamInferenceInputCost",
106
+ "upstream_inference_output_cost": "upstreamInferenceOutputCost",
107
+ });
108
+ });
109
+ export function usageCostDetailsFromJSON(jsonString) {
110
+ return safeParse(jsonString, (x) => UsageCostDetails$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UsageCostDetails' from JSON`);
111
+ }
112
+ /** @internal */
113
+ export const Usage$inboundSchema = z.object({
114
+ input_tokens: z.int(),
115
+ input_tokens_details: z.lazy(() => InputTokensDetails$inboundSchema),
116
+ output_tokens: z.int(),
117
+ output_tokens_details: z.lazy(() => OutputTokensDetails$inboundSchema),
118
+ total_tokens: z.int(),
119
+ cost: z.nullable(z.number()).optional(),
120
+ cost_details: z.lazy(() => UsageCostDetails$inboundSchema).optional(),
121
+ is_byok: z.boolean().optional(),
122
+ server_tool_use_details: z.nullable(ServerToolUseDetails$inboundSchema)
123
+ .optional(),
124
+ }).transform((v) => {
125
+ return remap$(v, {
126
+ "input_tokens": "inputTokens",
127
+ "input_tokens_details": "inputTokensDetails",
128
+ "output_tokens": "outputTokens",
129
+ "output_tokens_details": "outputTokensDetails",
130
+ "total_tokens": "totalTokens",
131
+ "cost_details": "costDetails",
132
+ "is_byok": "isByok",
133
+ "server_tool_use_details": "serverToolUseDetails",
134
+ });
135
+ });
136
+ export function usageFromJSON(jsonString) {
137
+ return safeParse(jsonString, (x) => Usage$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Usage' from JSON`);
138
+ }
139
+ /** @internal */
74
140
  export const OpenResponsesResult$inboundSchema = z.object({
75
141
  background: z.nullable(z.boolean()).optional(),
76
142
  completed_at: z.nullable(z.int()),
@@ -120,7 +186,7 @@ export const OpenResponsesResult$inboundSchema = z.object({
120
186
  top_logprobs: z.nullable(z.int()).optional(),
121
187
  top_p: z.nullable(z.number()),
122
188
  truncation: z.nullable(Truncation$inboundSchema).optional(),
123
- usage: z.nullable(Usage$inboundSchema).optional(),
189
+ usage: z.nullable(z.lazy(() => Usage$inboundSchema)).optional(),
124
190
  user: z.nullable(z.string()).optional(),
125
191
  error_type: ApiErrorType$inboundSchema.optional(),
126
192
  openrouter_metadata: OpenRouterMetadata$inboundSchema.optional(),
@@ -111,6 +111,7 @@ export declare const Provider: {
111
111
  readonly Stepfun: "stepfun";
112
112
  readonly Streamlake: "streamlake";
113
113
  readonly Switchpoint: "switchpoint";
114
+ readonly Tencent: "tencent";
114
115
  readonly Tenstorrent: "tenstorrent";
115
116
  readonly Together: "together";
116
117
  readonly Upstage: "upstage";
@@ -94,6 +94,7 @@ export const Provider = {
94
94
  Stepfun: "stepfun",
95
95
  Streamlake: "streamlake",
96
96
  Switchpoint: "switchpoint",
97
+ Tencent: "tencent",
97
98
  Tenstorrent: "tenstorrent",
98
99
  Together: "together",
99
100
  Upstage: "upstage",
@@ -18,7 +18,7 @@ export declare const OutputComputerCallItemType: {
18
18
  };
19
19
  export type OutputComputerCallItemType = ClosedEnum<typeof OutputComputerCallItemType>;
20
20
  export type OutputComputerCallItem = {
21
- action?: any | null | undefined;
21
+ action?: any | undefined;
22
22
  callId: string;
23
23
  id?: string | undefined;
24
24
  pendingSafetyChecks: Array<PendingSafetyCheck>;
@@ -49,7 +49,7 @@ export declare const OutputComputerCallItemType$outboundSchema: z.ZodEnum<typeof
49
49
  export declare const OutputComputerCallItem$inboundSchema: z.ZodType<OutputComputerCallItem, unknown>;
50
50
  /** @internal */
51
51
  export type OutputComputerCallItem$Outbound = {
52
- action?: any | null | undefined;
52
+ action?: any | undefined;
53
53
  call_id: string;
54
54
  id?: string | undefined;
55
55
  pending_safety_checks: Array<PendingSafetyCheck$Outbound>;
@@ -42,7 +42,7 @@ export const OutputComputerCallItemType$inboundSchema = z.enum(OutputComputerCal
42
42
  export const OutputComputerCallItemType$outboundSchema = OutputComputerCallItemType$inboundSchema;
43
43
  /** @internal */
44
44
  export const OutputComputerCallItem$inboundSchema = z.object({
45
- action: z.nullable(z.any()).optional(),
45
+ action: z.any().optional(),
46
46
  call_id: z.string(),
47
47
  id: z.string().optional(),
48
48
  pending_safety_checks: z.array(z.lazy(() => PendingSafetyCheck$inboundSchema)),
@@ -56,7 +56,7 @@ export const OutputComputerCallItem$inboundSchema = z.object({
56
56
  });
57
57
  /** @internal */
58
58
  export const OutputComputerCallItem$outboundSchema = z.object({
59
- action: z.nullable(z.any()).optional(),
59
+ action: z.any().optional(),
60
60
  callId: z.string(),
61
61
  id: z.string().optional(),
62
62
  pendingSafetyChecks: z.array(z.lazy(() => PendingSafetyCheck$outboundSchema)),
@@ -22,7 +22,7 @@ export type OutputMemoryServerToolItem = {
22
22
  key?: string | undefined;
23
23
  status: ToolCallStatus;
24
24
  type: OutputMemoryServerToolItemType;
25
- value?: any | null | undefined;
25
+ value?: any | undefined;
26
26
  };
27
27
  /** @internal */
28
28
  export declare const ActionEnum$inboundSchema: z.ZodType<ActionEnum, unknown>;
@@ -41,7 +41,7 @@ export type OutputMemoryServerToolItem$Outbound = {
41
41
  key?: string | undefined;
42
42
  status: string;
43
43
  type: string;
44
- value?: any | null | undefined;
44
+ value?: any | undefined;
45
45
  };
46
46
  /** @internal */
47
47
  export declare const OutputMemoryServerToolItem$outboundSchema: z.ZodType<OutputMemoryServerToolItem$Outbound, OutputMemoryServerToolItem>;
@@ -29,7 +29,7 @@ export const OutputMemoryServerToolItem$inboundSchema = z.object({
29
29
  key: z.string().optional(),
30
30
  status: ToolCallStatus$inboundSchema,
31
31
  type: OutputMemoryServerToolItemType$inboundSchema,
32
- value: z.nullable(z.any()).optional(),
32
+ value: z.any().optional(),
33
33
  });
34
34
  /** @internal */
35
35
  export const OutputMemoryServerToolItem$outboundSchema = z.object({
@@ -38,7 +38,7 @@ export const OutputMemoryServerToolItem$outboundSchema = z.object({
38
38
  key: z.string().optional(),
39
39
  status: ToolCallStatus$outboundSchema,
40
40
  type: OutputMemoryServerToolItemType$outboundSchema,
41
- value: z.nullable(z.any()).optional(),
41
+ value: z.any().optional(),
42
42
  });
43
43
  export function outputMemoryServerToolItemToJSON(outputMemoryServerToolItem) {
44
44
  return JSON.stringify(OutputMemoryServerToolItem$outboundSchema.parse(outputMemoryServerToolItem));
@@ -17,7 +17,7 @@ export type OutputMessagePhaseCommentary = ClosedEnum<typeof OutputMessagePhaseC
17
17
  /**
18
18
  * The phase of an assistant message. Use `commentary` for an intermediate assistant message and `final_answer` for the final assistant message. For follow-up requests with models like `gpt-5.3-codex` and later, preserve and resend phase on all assistant messages. Omitting it can degrade performance. Not used for user messages.
19
19
  */
20
- export type OutputMessagePhaseUnion = OutputMessagePhaseCommentary | OutputMessagePhaseFinalAnswer | any;
20
+ export type OutputMessagePhaseUnion = OutputMessagePhaseCommentary | OutputMessagePhaseFinalAnswer;
21
21
  export declare const OutputMessageRole: {
22
22
  readonly Assistant: "assistant";
23
23
  };
@@ -45,7 +45,7 @@ export type OutputMessage = {
45
45
  /**
46
46
  * The phase of an assistant message. Use `commentary` for an intermediate assistant message and `final_answer` for the final assistant message. For follow-up requests with models like `gpt-5.3-codex` and later, preserve and resend phase on all assistant messages. Omitting it can degrade performance. Not used for user messages.
47
47
  */
48
- phase?: OutputMessagePhaseCommentary | OutputMessagePhaseFinalAnswer | any | null | undefined;
48
+ phase?: OutputMessagePhaseCommentary | OutputMessagePhaseFinalAnswer | null | undefined;
49
49
  role: OutputMessageRole;
50
50
  status?: OutputMessageStatusCompleted | OutputMessageStatusIncomplete | OutputMessageStatusInProgress | undefined;
51
51
  type: OutputMessageType;
@@ -44,7 +44,6 @@ export const OutputMessagePhaseCommentary$inboundSchema = z.enum(OutputMessagePh
44
44
  export const OutputMessagePhaseUnion$inboundSchema = z.union([
45
45
  OutputMessagePhaseCommentary$inboundSchema,
46
46
  OutputMessagePhaseFinalAnswer$inboundSchema,
47
- z.any(),
48
47
  ]);
49
48
  export function outputMessagePhaseUnionFromJSON(jsonString) {
50
49
  return safeParse(jsonString, (x) => OutputMessagePhaseUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'OutputMessagePhaseUnion' from JSON`);
@@ -79,7 +78,6 @@ export const OutputMessage$inboundSchema = z
79
78
  phase: z.nullable(z.union([
80
79
  OutputMessagePhaseCommentary$inboundSchema,
81
80
  OutputMessagePhaseFinalAnswer$inboundSchema,
82
- z.any(),
83
81
  ])).optional(),
84
82
  role: OutputMessageRole$inboundSchema,
85
83
  status: z.union([
@@ -17,7 +17,7 @@ export type OutputMessageItemPhaseCommentary = ClosedEnum<typeof OutputMessageIt
17
17
  /**
18
18
  * The phase of an assistant message. Use `commentary` for an intermediate assistant message and `final_answer` for the final assistant message. For follow-up requests with models like `gpt-5.3-codex` and later, preserve and resend phase on all assistant messages. Omitting it can degrade performance. Not used for user messages.
19
19
  */
20
- export type OutputMessageItemPhaseUnion = OutputMessageItemPhaseCommentary | OutputMessageItemPhaseFinalAnswer | any;
20
+ export type OutputMessageItemPhaseUnion = OutputMessageItemPhaseCommentary | OutputMessageItemPhaseFinalAnswer;
21
21
  export declare const OutputMessageItemRole: {
22
22
  readonly Assistant: "assistant";
23
23
  };
@@ -44,7 +44,7 @@ export type OutputMessageItem = {
44
44
  /**
45
45
  * The phase of an assistant message. Use `commentary` for an intermediate assistant message and `final_answer` for the final assistant message. For follow-up requests with models like `gpt-5.3-codex` and later, preserve and resend phase on all assistant messages. Omitting it can degrade performance. Not used for user messages.
46
46
  */
47
- phase?: OutputMessageItemPhaseCommentary | OutputMessageItemPhaseFinalAnswer | any | null | undefined;
47
+ phase?: OutputMessageItemPhaseCommentary | OutputMessageItemPhaseFinalAnswer | null | undefined;
48
48
  role: OutputMessageItemRole;
49
49
  status?: OutputMessageItemStatusCompleted | OutputMessageItemStatusIncomplete | OutputMessageItemStatusInProgress | undefined;
50
50
  type: "message";
@@ -41,7 +41,6 @@ export const OutputMessageItemPhaseCommentary$inboundSchema = z.enum(OutputMessa
41
41
  export const OutputMessageItemPhaseUnion$inboundSchema = z.union([
42
42
  OutputMessageItemPhaseCommentary$inboundSchema,
43
43
  OutputMessageItemPhaseFinalAnswer$inboundSchema,
44
- z.any(),
45
44
  ]);
46
45
  export function outputMessageItemPhaseUnionFromJSON(jsonString) {
47
46
  return safeParse(jsonString, (x) => OutputMessageItemPhaseUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'OutputMessageItemPhaseUnion' from JSON`);
@@ -73,7 +72,6 @@ export const OutputMessageItem$inboundSchema = z.object({
73
72
  phase: z.nullable(z.union([
74
73
  OutputMessageItemPhaseCommentary$inboundSchema,
75
74
  OutputMessageItemPhaseFinalAnswer$inboundSchema,
76
- z.any(),
77
75
  ])).optional(),
78
76
  role: OutputMessageItemRole$inboundSchema,
79
77
  status: z.union([
@@ -8,7 +8,7 @@ export type PayloadTooLargeResponseErrorData = {
8
8
  code: number;
9
9
  message: string;
10
10
  metadata?: {
11
- [k: string]: any | null;
11
+ [k: string]: any;
12
12
  } | null | undefined;
13
13
  };
14
14
  /** @internal */
@@ -8,7 +8,7 @@ import { safeParse } from "../lib/schemas.js";
8
8
  export const PayloadTooLargeResponseErrorData$inboundSchema = z.object({
9
9
  code: z.int(),
10
10
  message: z.string(),
11
- metadata: z.nullable(z.record(z.string(), z.nullable(z.any()))).optional(),
11
+ metadata: z.nullable(z.record(z.string(), z.any())).optional(),
12
12
  });
13
13
  export function payloadTooLargeResponseErrorDataFromJSON(jsonString) {
14
14
  return safeParse(jsonString, (x) => PayloadTooLargeResponseErrorData$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PayloadTooLargeResponseErrorData' from JSON`);
@@ -8,7 +8,7 @@ export type PaymentRequiredResponseErrorData = {
8
8
  code: number;
9
9
  message: string;
10
10
  metadata?: {
11
- [k: string]: any | null;
11
+ [k: string]: any;
12
12
  } | null | undefined;
13
13
  };
14
14
  /** @internal */
@@ -8,7 +8,7 @@ import { safeParse } from "../lib/schemas.js";
8
8
  export const PaymentRequiredResponseErrorData$inboundSchema = z.object({
9
9
  code: z.int(),
10
10
  message: z.string(),
11
- metadata: z.nullable(z.record(z.string(), z.nullable(z.any()))).optional(),
11
+ metadata: z.nullable(z.record(z.string(), z.any())).optional(),
12
12
  });
13
13
  export function paymentRequiredResponseErrorDataFromJSON(jsonString) {
14
14
  return safeParse(jsonString, (x) => PaymentRequiredResponseErrorData$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PaymentRequiredResponseErrorData' from JSON`);
@@ -5,7 +5,7 @@ import { PipelineStageType } from "./pipelinestagetype.js";
5
5
  export type PipelineStage = {
6
6
  costUsd?: number | null | undefined;
7
7
  data?: {
8
- [k: string]: any | null;
8
+ [k: string]: any;
9
9
  } | undefined;
10
10
  guardrailId?: string | undefined;
11
11
  guardrailScope?: string | undefined;
@@ -10,7 +10,7 @@ import { PipelineStageType$inboundSchema, } from "./pipelinestagetype.js";
10
10
  export const PipelineStage$inboundSchema = z
11
11
  .object({
12
12
  cost_usd: z.nullable(z.number()).optional(),
13
- data: z.record(z.string(), z.nullable(z.any())).optional(),
13
+ data: z.record(z.string(), z.any()).optional(),
14
14
  guardrail_id: z.string().optional(),
15
15
  guardrail_scope: z.string().optional(),
16
16
  name: z.string(),
@@ -3,9 +3,9 @@ import { PercentileLatencyCutoffs, PercentileLatencyCutoffs$Outbound } from "./p
3
3
  /**
4
4
  * Preferred maximum latency (in seconds). Can be a number (applies to p50) or an object with percentile-specific cutoffs. Endpoints above the threshold(s) may still be used, but are deprioritized in routing. When using fallback models, this may cause a fallback model to be used instead of the primary model if it meets the threshold.
5
5
  */
6
- export type PreferredMaxLatency = number | PercentileLatencyCutoffs | any;
6
+ export type PreferredMaxLatency = number | PercentileLatencyCutoffs;
7
7
  /** @internal */
8
- export type PreferredMaxLatency$Outbound = number | PercentileLatencyCutoffs$Outbound | any;
8
+ export type PreferredMaxLatency$Outbound = number | PercentileLatencyCutoffs$Outbound;
9
9
  /** @internal */
10
10
  export declare const PreferredMaxLatency$outboundSchema: z.ZodType<PreferredMaxLatency$Outbound, PreferredMaxLatency>;
11
11
  export declare function preferredMaxLatencyToJSON(preferredMaxLatency: PreferredMaxLatency): string;
@@ -5,7 +5,7 @@
5
5
  import * as z from "zod/v4";
6
6
  import { PercentileLatencyCutoffs$outboundSchema, } from "./percentilelatencycutoffs.js";
7
7
  /** @internal */
8
- export const PreferredMaxLatency$outboundSchema = z.union([z.number(), PercentileLatencyCutoffs$outboundSchema, z.any()]);
8
+ export const PreferredMaxLatency$outboundSchema = z.union([z.number(), PercentileLatencyCutoffs$outboundSchema]);
9
9
  export function preferredMaxLatencyToJSON(preferredMaxLatency) {
10
10
  return JSON.stringify(PreferredMaxLatency$outboundSchema.parse(preferredMaxLatency));
11
11
  }
@@ -3,9 +3,9 @@ import { PercentileThroughputCutoffs, PercentileThroughputCutoffs$Outbound } fro
3
3
  /**
4
4
  * Preferred minimum throughput (in tokens per second). Can be a number (applies to p50) or an object with percentile-specific cutoffs. Endpoints below the threshold(s) may still be used, but are deprioritized in routing. When using fallback models, this may cause a fallback model to be used instead of the primary model if it meets the threshold.
5
5
  */
6
- export type PreferredMinThroughput = number | PercentileThroughputCutoffs | any;
6
+ export type PreferredMinThroughput = number | PercentileThroughputCutoffs;
7
7
  /** @internal */
8
- export type PreferredMinThroughput$Outbound = number | PercentileThroughputCutoffs$Outbound | any;
8
+ export type PreferredMinThroughput$Outbound = number | PercentileThroughputCutoffs$Outbound;
9
9
  /** @internal */
10
10
  export declare const PreferredMinThroughput$outboundSchema: z.ZodType<PreferredMinThroughput$Outbound, PreferredMinThroughput>;
11
11
  export declare function preferredMinThroughputToJSON(preferredMinThroughput: PreferredMinThroughput): string;
@@ -5,7 +5,7 @@
5
5
  import * as z from "zod/v4";
6
6
  import { PercentileThroughputCutoffs$outboundSchema, } from "./percentilethroughputcutoffs.js";
7
7
  /** @internal */
8
- export const PreferredMinThroughput$outboundSchema = z.union([z.number(), PercentileThroughputCutoffs$outboundSchema, z.any()]);
8
+ export const PreferredMinThroughput$outboundSchema = z.union([z.number(), PercentileThroughputCutoffs$outboundSchema]);
9
9
  export function preferredMinThroughputToJSON(preferredMinThroughput) {
10
10
  return JSON.stringify(PreferredMinThroughput$outboundSchema.parse(preferredMinThroughput));
11
11
  }
@@ -6,7 +6,7 @@ import { SDKValidationError } from "./errors/sdkvalidationerror.js";
6
6
  */
7
7
  export type PresetDesignatedVersion = {
8
8
  config: {
9
- [k: string]: any | null;
9
+ [k: string]: any;
10
10
  };
11
11
  createdAt: string;
12
12
  creatorId: string;
@@ -7,7 +7,7 @@ import { remap as remap$ } from "../lib/primitives.js";
7
7
  import { safeParse } from "../lib/schemas.js";
8
8
  /** @internal */
9
9
  export const PresetDesignatedVersion$inboundSchema = z.object({
10
- config: z.record(z.string(), z.nullable(z.any())),
10
+ config: z.record(z.string(), z.any()),
11
11
  created_at: z.string(),
12
12
  creator_id: z.string(),
13
13
  id: z.string(),
@@ -1,7 +1,6 @@
1
1
  import * as z from "zod/v4";
2
2
  import { OpenEnum } from "../types/enums.js";
3
3
  export declare const ProviderName: {
4
- readonly Meta: "Meta";
5
4
  readonly AkashML: "AkashML";
6
5
  readonly Ai21: "AI21";
7
6
  readonly AionLabs: "AionLabs";
@@ -52,6 +51,7 @@ export declare const ProviderName: {
52
51
  readonly Liquid: "Liquid";
53
52
  readonly Mara: "Mara";
54
53
  readonly Mancer2: "Mancer 2";
54
+ readonly Meta: "Meta";
55
55
  readonly Minimax: "Minimax";
56
56
  readonly ModelRun: "ModelRun";
57
57
  readonly Mistral: "Mistral";
@@ -84,6 +84,7 @@ export declare const ProviderName: {
84
84
  readonly Stealth: "Stealth";
85
85
  readonly StreamLake: "StreamLake";
86
86
  readonly Switchpoint: "Switchpoint";
87
+ readonly Tencent: "Tencent";
87
88
  readonly Tenstorrent: "Tenstorrent";
88
89
  readonly Together: "Together";
89
90
  readonly Upstage: "Upstage";
@@ -4,7 +4,6 @@
4
4
  */
5
5
  import * as openEnums from "../types/enums.js";
6
6
  export const ProviderName = {
7
- Meta: "Meta",
8
7
  AkashML: "AkashML",
9
8
  Ai21: "AI21",
10
9
  AionLabs: "AionLabs",
@@ -55,6 +54,7 @@ export const ProviderName = {
55
54
  Liquid: "Liquid",
56
55
  Mara: "Mara",
57
56
  Mancer2: "Mancer 2",
57
+ Meta: "Meta",
58
58
  Minimax: "Minimax",
59
59
  ModelRun: "ModelRun",
60
60
  Mistral: "Mistral",
@@ -87,6 +87,7 @@ export const ProviderName = {
87
87
  Stealth: "Stealth",
88
88
  StreamLake: "StreamLake",
89
89
  Switchpoint: "Switchpoint",
90
+ Tencent: "Tencent",
90
91
  Tenstorrent: "Tenstorrent",
91
92
  Together: "Together",
92
93
  Upstage: "Upstage",