@openrouter/sdk 0.0.1-beta.11 → 0.0.1-beta.14

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 (227) hide show
  1. package/FUNCTIONS.md +109 -1
  2. package/REACT_QUERY.md +109 -1
  3. package/README.md +686 -15
  4. package/esm/funcs/analyticsGetUserActivity.d.ts +1 -1
  5. package/esm/funcs/analyticsGetUserActivity.js +2 -2
  6. package/esm/funcs/apiKeysCreate.d.ts +1 -1
  7. package/esm/funcs/apiKeysCreate.js +2 -2
  8. package/esm/funcs/apiKeysDelete.d.ts +1 -1
  9. package/esm/funcs/apiKeysDelete.js +2 -2
  10. package/esm/funcs/apiKeysGet.d.ts +1 -1
  11. package/esm/funcs/apiKeysGet.js +2 -2
  12. package/esm/funcs/apiKeysGetCurrentKeyMetadata.d.ts +1 -1
  13. package/esm/funcs/apiKeysGetCurrentKeyMetadata.js +2 -2
  14. package/esm/funcs/apiKeysList.d.ts +1 -1
  15. package/esm/funcs/apiKeysList.js +2 -2
  16. package/esm/funcs/apiKeysUpdate.d.ts +1 -1
  17. package/esm/funcs/apiKeysUpdate.js +2 -2
  18. package/esm/funcs/betaResponsesSend.d.ts +9 -1
  19. package/esm/funcs/betaResponsesSend.js +38 -14
  20. package/esm/funcs/chatSend.d.ts +1 -1
  21. package/esm/funcs/creditsCreateCoinbaseCharge.d.ts +1 -1
  22. package/esm/funcs/creditsCreateCoinbaseCharge.js +15 -5
  23. package/esm/funcs/creditsGetCredits.d.ts +1 -1
  24. package/esm/funcs/creditsGetCredits.js +2 -2
  25. package/esm/funcs/endpointsList.d.ts +1 -1
  26. package/esm/funcs/endpointsList.js +2 -2
  27. package/esm/funcs/endpointsListZdrEndpoints.d.ts +2 -1
  28. package/esm/funcs/endpointsListZdrEndpoints.js +6 -2
  29. package/esm/funcs/generationsGetGeneration.d.ts +1 -1
  30. package/esm/funcs/generationsGetGeneration.js +13 -2
  31. package/esm/funcs/modelsCount.d.ts +3 -2
  32. package/esm/funcs/modelsCount.js +7 -3
  33. package/esm/funcs/modelsList.d.ts +3 -1
  34. package/esm/funcs/modelsList.js +8 -7
  35. package/esm/funcs/modelsListForUser.d.ts +3 -1
  36. package/esm/funcs/modelsListForUser.js +7 -3
  37. package/esm/funcs/oAuthCreateAuthCode.d.ts +18 -0
  38. package/esm/funcs/oAuthCreateAuthCode.js +82 -0
  39. package/esm/funcs/oAuthCreateAuthorizationUrl.d.ts +2 -2
  40. package/esm/funcs/oAuthExchangeAuthCodeForAPIKey.d.ts +18 -0
  41. package/esm/funcs/oAuthExchangeAuthCodeForAPIKey.js +82 -0
  42. package/esm/funcs/parametersGetParameters.d.ts +1 -1
  43. package/esm/funcs/parametersGetParameters.js +2 -2
  44. package/esm/funcs/providersList.d.ts +1 -1
  45. package/esm/funcs/providersList.js +1 -1
  46. package/esm/lib/config.d.ts +2 -2
  47. package/esm/lib/config.js +2 -2
  48. package/esm/lib/event-streams.d.ts +1 -1
  49. package/esm/models/badgatewayresponseerrordata.d.ts +40 -0
  50. package/esm/models/badgatewayresponseerrordata.js +35 -0
  51. package/esm/models/badrequestresponseerrordata.d.ts +40 -0
  52. package/esm/models/badrequestresponseerrordata.js +35 -0
  53. package/esm/models/chatmessagecontentitemaudio.d.ts +10 -10
  54. package/esm/models/chatmessagecontentitemaudio.js +14 -14
  55. package/esm/models/chatstreamingresponsechunk.d.ts +15 -15
  56. package/esm/models/chatstreamingresponsechunk.js +15 -15
  57. package/esm/models/createchargerequest.d.ts +31 -2
  58. package/esm/models/createchargerequest.js +47 -2
  59. package/esm/models/defaultparameters.d.ts +36 -0
  60. package/esm/models/defaultparameters.js +46 -0
  61. package/esm/models/edgenetworktimeoutresponseerrordata.d.ts +40 -0
  62. package/esm/models/edgenetworktimeoutresponseerrordata.js +35 -0
  63. package/esm/models/endpointstatus.d.ts +26 -0
  64. package/esm/models/endpointstatus.js +36 -0
  65. package/esm/models/errors/badgatewayresponseerror.d.ts +52 -0
  66. package/esm/models/errors/badgatewayresponseerror.js +63 -0
  67. package/esm/models/errors/badrequestresponseerror.d.ts +52 -0
  68. package/esm/models/errors/badrequestresponseerror.js +63 -0
  69. package/esm/models/errors/edgenetworktimeoutresponseerror.d.ts +52 -0
  70. package/esm/models/errors/edgenetworktimeoutresponseerror.js +63 -0
  71. package/esm/models/errors/forbiddenresponseerror.d.ts +52 -0
  72. package/esm/models/errors/forbiddenresponseerror.js +63 -0
  73. package/esm/models/errors/index.d.ts +14 -2
  74. package/esm/models/errors/index.js +14 -2
  75. package/esm/models/errors/internalserverresponseerror.d.ts +52 -0
  76. package/esm/models/errors/internalserverresponseerror.js +63 -0
  77. package/esm/models/errors/notfoundresponseerror.d.ts +52 -0
  78. package/esm/models/errors/{errorresponse.js → notfoundresponseerror.js} +16 -17
  79. package/esm/models/errors/payloadtoolargeresponseerror.d.ts +52 -0
  80. package/esm/models/errors/payloadtoolargeresponseerror.js +63 -0
  81. package/esm/models/errors/paymentrequiredresponseerror.d.ts +52 -0
  82. package/esm/models/errors/paymentrequiredresponseerror.js +63 -0
  83. package/esm/models/errors/provideroverloadedresponseerror.d.ts +52 -0
  84. package/esm/models/errors/provideroverloadedresponseerror.js +63 -0
  85. package/esm/models/errors/requesttimeoutresponseerror.d.ts +52 -0
  86. package/esm/models/errors/requesttimeoutresponseerror.js +63 -0
  87. package/esm/models/errors/serviceunavailableresponseerror.d.ts +52 -0
  88. package/esm/models/errors/serviceunavailableresponseerror.js +63 -0
  89. package/esm/models/errors/toomanyrequestsresponseerror.d.ts +52 -0
  90. package/esm/models/errors/toomanyrequestsresponseerror.js +63 -0
  91. package/esm/models/errors/unauthorizedresponseerror.d.ts +52 -0
  92. package/esm/models/errors/unauthorizedresponseerror.js +63 -0
  93. package/esm/models/errors/unprocessableentityresponseerror.d.ts +52 -0
  94. package/esm/models/errors/unprocessableentityresponseerror.js +63 -0
  95. package/esm/models/forbiddenresponseerrordata.d.ts +40 -0
  96. package/esm/models/forbiddenresponseerrordata.js +35 -0
  97. package/esm/models/index.d.ts +37 -1
  98. package/esm/models/index.js +37 -1
  99. package/esm/models/inputmodality.d.ts +24 -0
  100. package/esm/models/inputmodality.js +34 -0
  101. package/esm/models/instructtype.d.ts +48 -0
  102. package/esm/models/instructtype.js +55 -0
  103. package/esm/models/internalserverresponseerrordata.d.ts +40 -0
  104. package/esm/models/internalserverresponseerrordata.js +35 -0
  105. package/esm/models/listendpointsresponse.d.ts +126 -2
  106. package/esm/models/listendpointsresponse.js +115 -2
  107. package/esm/models/model.d.ts +101 -0
  108. package/esm/models/model.js +82 -0
  109. package/esm/models/modelarchitecture.d.ts +104 -0
  110. package/esm/models/modelarchitecture.js +107 -0
  111. package/esm/models/modelgroup.d.ts +45 -0
  112. package/esm/models/modelgroup.js +53 -0
  113. package/esm/models/modelscountresponse.d.ts +40 -2
  114. package/esm/models/modelscountresponse.js +31 -2
  115. package/esm/models/modelslistresponse.d.ts +10 -2
  116. package/esm/models/modelslistresponse.js +7 -2
  117. package/esm/models/notfoundresponseerrordata.d.ts +40 -0
  118. package/esm/models/notfoundresponseerrordata.js +35 -0
  119. package/esm/models/openairesponsesincludable.d.ts +25 -0
  120. package/esm/models/openairesponsesincludable.js +35 -0
  121. package/esm/models/openairesponsesinputunion.d.ts +78 -78
  122. package/esm/models/openairesponsesinputunion.js +124 -126
  123. package/esm/models/openresponseseasyinputmessage.d.ts +246 -0
  124. package/esm/models/openresponseseasyinputmessage.js +283 -0
  125. package/esm/models/openresponsesfunctioncalloutput.d.ts +64 -0
  126. package/esm/models/openresponsesfunctioncalloutput.js +67 -0
  127. package/esm/models/openresponsesfunctiontoolcall.d.ts +66 -0
  128. package/esm/models/openresponsesfunctiontoolcall.js +69 -0
  129. package/esm/models/openresponsesinput.d.ts +60 -0
  130. package/esm/models/openresponsesinput.js +113 -0
  131. package/esm/models/openresponsesinputmessageitem.d.ts +193 -0
  132. package/esm/models/openresponsesinputmessageitem.js +210 -0
  133. package/esm/models/openresponsesnonstreamingresponse.d.ts +13 -13
  134. package/esm/models/openresponsesnonstreamingresponse.js +13 -13
  135. package/esm/models/openresponsesreasoning.d.ts +179 -0
  136. package/esm/models/openresponsesreasoning.js +194 -0
  137. package/esm/models/openresponsesreasoningconfig.d.ts +40 -0
  138. package/esm/models/openresponsesreasoningconfig.js +48 -0
  139. package/esm/models/openresponsesrequest.d.ts +736 -2
  140. package/esm/models/openresponsesrequest.js +789 -2
  141. package/esm/models/openresponsesresponsetext.d.ts +59 -0
  142. package/esm/models/openresponsesresponsetext.js +64 -0
  143. package/esm/models/operations/createauthkeyscode.d.ts +145 -0
  144. package/esm/models/operations/createauthkeyscode.js +146 -0
  145. package/esm/models/operations/createresponses.d.ts +58 -0
  146. package/esm/models/operations/createresponses.js +80 -0
  147. package/esm/models/operations/exchangeauthcodeforapikey.d.ts +104 -0
  148. package/esm/models/operations/exchangeauthcodeforapikey.js +111 -0
  149. package/esm/models/operations/getmodels.d.ts +0 -26
  150. package/esm/models/operations/getmodels.js +0 -38
  151. package/esm/models/operations/index.d.ts +3 -2
  152. package/esm/models/operations/index.js +3 -2
  153. package/esm/models/operations/listendpointszdr.d.ts +3 -24
  154. package/esm/models/operations/listendpointszdr.js +2 -29
  155. package/esm/models/operations/listmodelsuser.d.ts +0 -22
  156. package/esm/models/operations/listmodelsuser.js +0 -28
  157. package/esm/models/operations/listproviders.d.ts +0 -36
  158. package/esm/models/operations/listproviders.js +0 -28
  159. package/esm/models/operations/sendchatcompletionrequest.d.ts +1 -1
  160. package/esm/models/operations/sendchatcompletionrequest.js +2 -1
  161. package/esm/models/outputmodality.d.ts +23 -0
  162. package/esm/models/outputmodality.js +33 -0
  163. package/esm/models/parameter.d.ts +43 -0
  164. package/esm/models/parameter.js +54 -0
  165. package/esm/models/payloadtoolargeresponseerrordata.d.ts +40 -0
  166. package/esm/models/payloadtoolargeresponseerrordata.js +35 -0
  167. package/esm/models/paymentrequiredresponseerrordata.d.ts +40 -0
  168. package/esm/models/paymentrequiredresponseerrordata.js +35 -0
  169. package/esm/models/perrequestlimits.d.ts +40 -0
  170. package/esm/models/perrequestlimits.js +44 -0
  171. package/esm/models/providername.d.ts +106 -0
  172. package/esm/models/providername.js +116 -0
  173. package/esm/models/provideroverloadedresponseerrordata.d.ts +40 -0
  174. package/esm/models/provideroverloadedresponseerrordata.js +35 -0
  175. package/esm/models/publicendpoint.d.ts +140 -2
  176. package/esm/models/publicendpoint.js +156 -2
  177. package/esm/models/publicpricing.d.ts +87 -0
  178. package/esm/models/publicpricing.js +73 -0
  179. package/esm/models/quantization.d.ts +29 -0
  180. package/esm/models/quantization.js +39 -0
  181. package/esm/models/requesttimeoutresponseerrordata.d.ts +40 -0
  182. package/esm/models/requesttimeoutresponseerrordata.js +35 -0
  183. package/esm/models/responseserrorfield.d.ts +10 -10
  184. package/esm/models/responseserrorfield.js +14 -14
  185. package/esm/models/responsetextconfig.d.ts +10 -10
  186. package/esm/models/responsetextconfig.js +14 -15
  187. package/esm/models/serviceunavailableresponseerrordata.d.ts +40 -0
  188. package/esm/models/serviceunavailableresponseerrordata.js +35 -0
  189. package/esm/models/toomanyrequestsresponseerrordata.d.ts +40 -0
  190. package/esm/models/toomanyrequestsresponseerrordata.js +35 -0
  191. package/esm/models/topproviderinfo.d.ts +45 -0
  192. package/esm/models/topproviderinfo.js +48 -0
  193. package/esm/models/unauthorizedresponseerrordata.d.ts +40 -0
  194. package/esm/models/unauthorizedresponseerrordata.js +35 -0
  195. package/esm/models/unprocessableentityresponseerrordata.d.ts +40 -0
  196. package/esm/models/unprocessableentityresponseerrordata.js +35 -0
  197. package/esm/react-query/betaResponsesSend.d.ts +1 -1
  198. package/esm/react-query/index.d.ts +2 -0
  199. package/esm/react-query/index.js +2 -0
  200. package/esm/react-query/modelsCount.d.ts +2 -2
  201. package/esm/react-query/modelsList.d.ts +2 -7
  202. package/esm/react-query/modelsList.js +0 -2
  203. package/esm/react-query/modelsListForUser.d.ts +2 -1
  204. package/esm/react-query/oAuthCreateAuthCode.d.ts +23 -0
  205. package/esm/react-query/oAuthCreateAuthCode.js +42 -0
  206. package/esm/react-query/oAuthExchangeAuthCodeForAPIKey.d.ts +23 -0
  207. package/esm/react-query/oAuthExchangeAuthCodeForAPIKey.js +42 -0
  208. package/esm/sdk/chat.d.ts +1 -1
  209. package/esm/sdk/models.d.ts +4 -3
  210. package/esm/sdk/oauth.d.ts +46 -0
  211. package/esm/sdk/oauth.js +67 -0
  212. package/esm/sdk/responses.d.ts +8 -1
  213. package/esm/sdk/responses.js +0 -6
  214. package/esm/sdk/sdk.d.ts +3 -0
  215. package/esm/sdk/sdk.js +4 -0
  216. package/jsr.json +1 -1
  217. package/package.json +3 -1
  218. package/vitest.config.ts +8 -1
  219. package/esm/models/errorresponse.d.ts +0 -155
  220. package/esm/models/errorresponse.js +0 -167
  221. package/esm/models/errors/errorresponse.d.ts +0 -46
  222. package/esm/models/errors/listproviders.d.ts +0 -49
  223. package/esm/models/errors/listproviders.js +0 -51
  224. package/esm/models/operations/createapialpharesponses.d.ts +0 -58
  225. package/esm/models/operations/createapialpharesponses.js +0 -83
  226. package/esm/models/operations/listmodelscount.d.ts +0 -26
  227. package/esm/models/operations/listmodelscount.js +0 -34
@@ -1,14 +1,152 @@
1
1
  import * as z from "zod/v4";
2
+ import { OpenEnum } from "../types/enums.js";
2
3
  import { Result as SafeParseResult } from "../types/fp.js";
4
+ import { EndpointStatus } from "./endpointstatus.js";
3
5
  import { SDKValidationError } from "./errors/sdkvalidationerror.js";
6
+ import { Parameter } from "./parameter.js";
7
+ import { ProviderName } from "./providername.js";
8
+ export type Pricing = {
9
+ /**
10
+ * A value in string or number format that is a large number
11
+ */
12
+ prompt?: any | undefined;
13
+ /**
14
+ * A value in string or number format that is a large number
15
+ */
16
+ completion?: any | undefined;
17
+ /**
18
+ * A value in string or number format that is a large number
19
+ */
20
+ request?: any | undefined;
21
+ /**
22
+ * A value in string or number format that is a large number
23
+ */
24
+ image?: any | undefined;
25
+ /**
26
+ * A value in string or number format that is a large number
27
+ */
28
+ imageOutput?: any | undefined;
29
+ /**
30
+ * A value in string or number format that is a large number
31
+ */
32
+ audio?: any | undefined;
33
+ /**
34
+ * A value in string or number format that is a large number
35
+ */
36
+ inputAudioCache?: any | undefined;
37
+ /**
38
+ * A value in string or number format that is a large number
39
+ */
40
+ webSearch?: any | undefined;
41
+ /**
42
+ * A value in string or number format that is a large number
43
+ */
44
+ internalReasoning?: any | undefined;
45
+ /**
46
+ * A value in string or number format that is a large number
47
+ */
48
+ inputCacheRead?: any | undefined;
49
+ /**
50
+ * A value in string or number format that is a large number
51
+ */
52
+ inputCacheWrite?: any | undefined;
53
+ discount?: number | undefined;
54
+ };
55
+ export declare const PublicEndpointQuantization: {
56
+ readonly Int4: "int4";
57
+ readonly Int8: "int8";
58
+ readonly Fp4: "fp4";
59
+ readonly Fp6: "fp6";
60
+ readonly Fp8: "fp8";
61
+ readonly Fp16: "fp16";
62
+ readonly Bf16: "bf16";
63
+ readonly Fp32: "fp32";
64
+ readonly Unknown: "unknown";
65
+ };
66
+ export type PublicEndpointQuantization = OpenEnum<typeof PublicEndpointQuantization>;
4
67
  /**
5
68
  * Information about a specific model endpoint
6
69
  */
7
- export type PublicEndpoint = {};
70
+ export type PublicEndpoint = {
71
+ name: string;
72
+ modelName: string;
73
+ contextLength: number;
74
+ pricing: Pricing;
75
+ providerName: ProviderName;
76
+ tag: string;
77
+ quantization: PublicEndpointQuantization | null;
78
+ maxCompletionTokens: number | null;
79
+ maxPromptTokens: number | null;
80
+ supportedParameters: Array<Parameter>;
81
+ status?: EndpointStatus | undefined;
82
+ uptimeLast30m: number | null;
83
+ supportsImplicitCaching: boolean;
84
+ };
85
+ /** @internal */
86
+ export declare const Pricing$inboundSchema: z.ZodType<Pricing, unknown>;
87
+ /** @internal */
88
+ export type Pricing$Outbound = {
89
+ prompt?: any | undefined;
90
+ completion?: any | undefined;
91
+ request?: any | undefined;
92
+ image?: any | undefined;
93
+ image_output?: any | undefined;
94
+ audio?: any | undefined;
95
+ input_audio_cache?: any | undefined;
96
+ web_search?: any | undefined;
97
+ internal_reasoning?: any | undefined;
98
+ input_cache_read?: any | undefined;
99
+ input_cache_write?: any | undefined;
100
+ discount?: number | undefined;
101
+ };
102
+ /** @internal */
103
+ export declare const Pricing$outboundSchema: z.ZodType<Pricing$Outbound, Pricing>;
104
+ /**
105
+ * @internal
106
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
107
+ */
108
+ export declare namespace Pricing$ {
109
+ /** @deprecated use `Pricing$inboundSchema` instead. */
110
+ const inboundSchema: z.ZodType<Pricing, unknown, z.core.$ZodTypeInternals<Pricing, unknown>>;
111
+ /** @deprecated use `Pricing$outboundSchema` instead. */
112
+ const outboundSchema: z.ZodType<Pricing$Outbound, Pricing, z.core.$ZodTypeInternals<Pricing$Outbound, Pricing>>;
113
+ /** @deprecated use `Pricing$Outbound` instead. */
114
+ type Outbound = Pricing$Outbound;
115
+ }
116
+ export declare function pricingToJSON(pricing: Pricing): string;
117
+ export declare function pricingFromJSON(jsonString: string): SafeParseResult<Pricing, SDKValidationError>;
118
+ /** @internal */
119
+ export declare const PublicEndpointQuantization$inboundSchema: z.ZodType<PublicEndpointQuantization, unknown>;
120
+ /** @internal */
121
+ export declare const PublicEndpointQuantization$outboundSchema: z.ZodType<PublicEndpointQuantization, PublicEndpointQuantization>;
122
+ /**
123
+ * @internal
124
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
125
+ */
126
+ export declare namespace PublicEndpointQuantization$ {
127
+ /** @deprecated use `PublicEndpointQuantization$inboundSchema` instead. */
128
+ const inboundSchema: z.ZodType<PublicEndpointQuantization, unknown, z.core.$ZodTypeInternals<PublicEndpointQuantization, unknown>>;
129
+ /** @deprecated use `PublicEndpointQuantization$outboundSchema` instead. */
130
+ const outboundSchema: z.ZodType<PublicEndpointQuantization, PublicEndpointQuantization, z.core.$ZodTypeInternals<PublicEndpointQuantization, PublicEndpointQuantization>>;
131
+ }
8
132
  /** @internal */
9
133
  export declare const PublicEndpoint$inboundSchema: z.ZodType<PublicEndpoint, unknown>;
10
134
  /** @internal */
11
- export type PublicEndpoint$Outbound = {};
135
+ export type PublicEndpoint$Outbound = {
136
+ name: string;
137
+ model_name: string;
138
+ context_length: number;
139
+ pricing: Pricing$Outbound;
140
+ provider_name: string;
141
+ tag: string;
142
+ quantization: string | null;
143
+ max_completion_tokens: number | null;
144
+ max_prompt_tokens: number | null;
145
+ supported_parameters: Array<string>;
146
+ status?: number | undefined;
147
+ uptime_last_30m: number | null;
148
+ supports_implicit_caching: boolean;
149
+ };
12
150
  /** @internal */
13
151
  export declare const PublicEndpoint$outboundSchema: z.ZodType<PublicEndpoint$Outbound, PublicEndpoint>;
14
152
  /**
@@ -2,11 +2,165 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
  import * as z from "zod/v4";
5
+ import { remap as remap$ } from "../lib/primitives.js";
5
6
  import { safeParse } from "../lib/schemas.js";
7
+ import { catchUnrecognizedEnum, } from "../types/enums.js";
8
+ import { EndpointStatus$inboundSchema, EndpointStatus$outboundSchema, } from "./endpointstatus.js";
9
+ import { Parameter$inboundSchema, Parameter$outboundSchema, } from "./parameter.js";
10
+ import { ProviderName$inboundSchema, ProviderName$outboundSchema, } from "./providername.js";
11
+ export const PublicEndpointQuantization = {
12
+ Int4: "int4",
13
+ Int8: "int8",
14
+ Fp4: "fp4",
15
+ Fp6: "fp6",
16
+ Fp8: "fp8",
17
+ Fp16: "fp16",
18
+ Bf16: "bf16",
19
+ Fp32: "fp32",
20
+ Unknown: "unknown",
21
+ };
6
22
  /** @internal */
7
- export const PublicEndpoint$inboundSchema = z.object({});
23
+ export const Pricing$inboundSchema = z.object({
24
+ prompt: z.any().optional(),
25
+ completion: z.any().optional(),
26
+ request: z.any().optional(),
27
+ image: z.any().optional(),
28
+ image_output: z.any().optional(),
29
+ audio: z.any().optional(),
30
+ input_audio_cache: z.any().optional(),
31
+ web_search: z.any().optional(),
32
+ internal_reasoning: z.any().optional(),
33
+ input_cache_read: z.any().optional(),
34
+ input_cache_write: z.any().optional(),
35
+ discount: z.number().optional(),
36
+ }).transform((v) => {
37
+ return remap$(v, {
38
+ "image_output": "imageOutput",
39
+ "input_audio_cache": "inputAudioCache",
40
+ "web_search": "webSearch",
41
+ "internal_reasoning": "internalReasoning",
42
+ "input_cache_read": "inputCacheRead",
43
+ "input_cache_write": "inputCacheWrite",
44
+ });
45
+ });
8
46
  /** @internal */
9
- export const PublicEndpoint$outboundSchema = z.object({});
47
+ export const Pricing$outboundSchema = z
48
+ .object({
49
+ prompt: z.any().optional(),
50
+ completion: z.any().optional(),
51
+ request: z.any().optional(),
52
+ image: z.any().optional(),
53
+ imageOutput: z.any().optional(),
54
+ audio: z.any().optional(),
55
+ inputAudioCache: z.any().optional(),
56
+ webSearch: z.any().optional(),
57
+ internalReasoning: z.any().optional(),
58
+ inputCacheRead: z.any().optional(),
59
+ inputCacheWrite: z.any().optional(),
60
+ discount: z.number().optional(),
61
+ }).transform((v) => {
62
+ return remap$(v, {
63
+ imageOutput: "image_output",
64
+ inputAudioCache: "input_audio_cache",
65
+ webSearch: "web_search",
66
+ internalReasoning: "internal_reasoning",
67
+ inputCacheRead: "input_cache_read",
68
+ inputCacheWrite: "input_cache_write",
69
+ });
70
+ });
71
+ /**
72
+ * @internal
73
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
74
+ */
75
+ export var Pricing$;
76
+ (function (Pricing$) {
77
+ /** @deprecated use `Pricing$inboundSchema` instead. */
78
+ Pricing$.inboundSchema = Pricing$inboundSchema;
79
+ /** @deprecated use `Pricing$outboundSchema` instead. */
80
+ Pricing$.outboundSchema = Pricing$outboundSchema;
81
+ })(Pricing$ || (Pricing$ = {}));
82
+ export function pricingToJSON(pricing) {
83
+ return JSON.stringify(Pricing$outboundSchema.parse(pricing));
84
+ }
85
+ export function pricingFromJSON(jsonString) {
86
+ return safeParse(jsonString, (x) => Pricing$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Pricing' from JSON`);
87
+ }
88
+ /** @internal */
89
+ export const PublicEndpointQuantization$inboundSchema = z
90
+ .union([
91
+ z.enum(PublicEndpointQuantization),
92
+ z.string().transform(catchUnrecognizedEnum),
93
+ ]);
94
+ /** @internal */
95
+ export const PublicEndpointQuantization$outboundSchema = z.union([
96
+ z.enum(PublicEndpointQuantization),
97
+ z.string().and(z.custom()),
98
+ ]);
99
+ /**
100
+ * @internal
101
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
102
+ */
103
+ export var PublicEndpointQuantization$;
104
+ (function (PublicEndpointQuantization$) {
105
+ /** @deprecated use `PublicEndpointQuantization$inboundSchema` instead. */
106
+ PublicEndpointQuantization$.inboundSchema = PublicEndpointQuantization$inboundSchema;
107
+ /** @deprecated use `PublicEndpointQuantization$outboundSchema` instead. */
108
+ PublicEndpointQuantization$.outboundSchema = PublicEndpointQuantization$outboundSchema;
109
+ })(PublicEndpointQuantization$ || (PublicEndpointQuantization$ = {}));
110
+ /** @internal */
111
+ export const PublicEndpoint$inboundSchema = z.object({
112
+ name: z.string(),
113
+ model_name: z.string(),
114
+ context_length: z.number(),
115
+ pricing: z.lazy(() => Pricing$inboundSchema),
116
+ provider_name: ProviderName$inboundSchema,
117
+ tag: z.string(),
118
+ quantization: z.nullable(PublicEndpointQuantization$inboundSchema),
119
+ max_completion_tokens: z.nullable(z.number()),
120
+ max_prompt_tokens: z.nullable(z.number()),
121
+ supported_parameters: z.array(Parameter$inboundSchema),
122
+ status: EndpointStatus$inboundSchema.optional(),
123
+ uptime_last_30m: z.nullable(z.number()),
124
+ supports_implicit_caching: z.boolean(),
125
+ }).transform((v) => {
126
+ return remap$(v, {
127
+ "model_name": "modelName",
128
+ "context_length": "contextLength",
129
+ "provider_name": "providerName",
130
+ "max_completion_tokens": "maxCompletionTokens",
131
+ "max_prompt_tokens": "maxPromptTokens",
132
+ "supported_parameters": "supportedParameters",
133
+ "uptime_last_30m": "uptimeLast30m",
134
+ "supports_implicit_caching": "supportsImplicitCaching",
135
+ });
136
+ });
137
+ /** @internal */
138
+ export const PublicEndpoint$outboundSchema = z.object({
139
+ name: z.string(),
140
+ modelName: z.string(),
141
+ contextLength: z.number(),
142
+ pricing: z.lazy(() => Pricing$outboundSchema),
143
+ providerName: ProviderName$outboundSchema,
144
+ tag: z.string(),
145
+ quantization: z.nullable(PublicEndpointQuantization$outboundSchema),
146
+ maxCompletionTokens: z.nullable(z.number()),
147
+ maxPromptTokens: z.nullable(z.number()),
148
+ supportedParameters: z.array(Parameter$outboundSchema),
149
+ status: EndpointStatus$outboundSchema.optional(),
150
+ uptimeLast30m: z.nullable(z.number()),
151
+ supportsImplicitCaching: z.boolean(),
152
+ }).transform((v) => {
153
+ return remap$(v, {
154
+ modelName: "model_name",
155
+ contextLength: "context_length",
156
+ providerName: "provider_name",
157
+ maxCompletionTokens: "max_completion_tokens",
158
+ maxPromptTokens: "max_prompt_tokens",
159
+ supportedParameters: "supported_parameters",
160
+ uptimeLast30m: "uptime_last_30m",
161
+ supportsImplicitCaching: "supports_implicit_caching",
162
+ });
163
+ });
10
164
  /**
11
165
  * @internal
12
166
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
@@ -0,0 +1,87 @@
1
+ import * as z from "zod/v4";
2
+ import { Result as SafeParseResult } from "../types/fp.js";
3
+ import { SDKValidationError } from "./errors/sdkvalidationerror.js";
4
+ /**
5
+ * Pricing information for the model
6
+ */
7
+ export type PublicPricing = {
8
+ /**
9
+ * A value in string or number format that is a large number
10
+ */
11
+ prompt?: any | undefined;
12
+ /**
13
+ * A value in string or number format that is a large number
14
+ */
15
+ completion?: any | undefined;
16
+ /**
17
+ * A value in string or number format that is a large number
18
+ */
19
+ request?: any | undefined;
20
+ /**
21
+ * A value in string or number format that is a large number
22
+ */
23
+ image?: any | undefined;
24
+ /**
25
+ * A value in string or number format that is a large number
26
+ */
27
+ imageOutput?: any | undefined;
28
+ /**
29
+ * A value in string or number format that is a large number
30
+ */
31
+ audio?: any | undefined;
32
+ /**
33
+ * A value in string or number format that is a large number
34
+ */
35
+ inputAudioCache?: any | undefined;
36
+ /**
37
+ * A value in string or number format that is a large number
38
+ */
39
+ webSearch?: any | undefined;
40
+ /**
41
+ * A value in string or number format that is a large number
42
+ */
43
+ internalReasoning?: any | undefined;
44
+ /**
45
+ * A value in string or number format that is a large number
46
+ */
47
+ inputCacheRead?: any | undefined;
48
+ /**
49
+ * A value in string or number format that is a large number
50
+ */
51
+ inputCacheWrite?: any | undefined;
52
+ discount?: number | undefined;
53
+ };
54
+ /** @internal */
55
+ export declare const PublicPricing$inboundSchema: z.ZodType<PublicPricing, unknown>;
56
+ /** @internal */
57
+ export type PublicPricing$Outbound = {
58
+ prompt?: any | undefined;
59
+ completion?: any | undefined;
60
+ request?: any | undefined;
61
+ image?: any | undefined;
62
+ image_output?: any | undefined;
63
+ audio?: any | undefined;
64
+ input_audio_cache?: any | undefined;
65
+ web_search?: any | undefined;
66
+ internal_reasoning?: any | undefined;
67
+ input_cache_read?: any | undefined;
68
+ input_cache_write?: any | undefined;
69
+ discount?: number | undefined;
70
+ };
71
+ /** @internal */
72
+ export declare const PublicPricing$outboundSchema: z.ZodType<PublicPricing$Outbound, PublicPricing>;
73
+ /**
74
+ * @internal
75
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
76
+ */
77
+ export declare namespace PublicPricing$ {
78
+ /** @deprecated use `PublicPricing$inboundSchema` instead. */
79
+ const inboundSchema: z.ZodType<PublicPricing, unknown, z.core.$ZodTypeInternals<PublicPricing, unknown>>;
80
+ /** @deprecated use `PublicPricing$outboundSchema` instead. */
81
+ const outboundSchema: z.ZodType<PublicPricing$Outbound, PublicPricing, z.core.$ZodTypeInternals<PublicPricing$Outbound, PublicPricing>>;
82
+ /** @deprecated use `PublicPricing$Outbound` instead. */
83
+ type Outbound = PublicPricing$Outbound;
84
+ }
85
+ export declare function publicPricingToJSON(publicPricing: PublicPricing): string;
86
+ export declare function publicPricingFromJSON(jsonString: string): SafeParseResult<PublicPricing, SDKValidationError>;
87
+ //# sourceMappingURL=publicpricing.d.ts.map
@@ -0,0 +1,73 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+ import * as z from "zod/v4";
5
+ import { remap as remap$ } from "../lib/primitives.js";
6
+ import { safeParse } from "../lib/schemas.js";
7
+ /** @internal */
8
+ export const PublicPricing$inboundSchema = z
9
+ .object({
10
+ prompt: z.any().optional(),
11
+ completion: z.any().optional(),
12
+ request: z.any().optional(),
13
+ image: z.any().optional(),
14
+ image_output: z.any().optional(),
15
+ audio: z.any().optional(),
16
+ input_audio_cache: z.any().optional(),
17
+ web_search: z.any().optional(),
18
+ internal_reasoning: z.any().optional(),
19
+ input_cache_read: z.any().optional(),
20
+ input_cache_write: z.any().optional(),
21
+ discount: z.number().optional(),
22
+ }).transform((v) => {
23
+ return remap$(v, {
24
+ "image_output": "imageOutput",
25
+ "input_audio_cache": "inputAudioCache",
26
+ "web_search": "webSearch",
27
+ "internal_reasoning": "internalReasoning",
28
+ "input_cache_read": "inputCacheRead",
29
+ "input_cache_write": "inputCacheWrite",
30
+ });
31
+ });
32
+ /** @internal */
33
+ export const PublicPricing$outboundSchema = z.object({
34
+ prompt: z.any().optional(),
35
+ completion: z.any().optional(),
36
+ request: z.any().optional(),
37
+ image: z.any().optional(),
38
+ imageOutput: z.any().optional(),
39
+ audio: z.any().optional(),
40
+ inputAudioCache: z.any().optional(),
41
+ webSearch: z.any().optional(),
42
+ internalReasoning: z.any().optional(),
43
+ inputCacheRead: z.any().optional(),
44
+ inputCacheWrite: z.any().optional(),
45
+ discount: z.number().optional(),
46
+ }).transform((v) => {
47
+ return remap$(v, {
48
+ imageOutput: "image_output",
49
+ inputAudioCache: "input_audio_cache",
50
+ webSearch: "web_search",
51
+ internalReasoning: "internal_reasoning",
52
+ inputCacheRead: "input_cache_read",
53
+ inputCacheWrite: "input_cache_write",
54
+ });
55
+ });
56
+ /**
57
+ * @internal
58
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
59
+ */
60
+ export var PublicPricing$;
61
+ (function (PublicPricing$) {
62
+ /** @deprecated use `PublicPricing$inboundSchema` instead. */
63
+ PublicPricing$.inboundSchema = PublicPricing$inboundSchema;
64
+ /** @deprecated use `PublicPricing$outboundSchema` instead. */
65
+ PublicPricing$.outboundSchema = PublicPricing$outboundSchema;
66
+ })(PublicPricing$ || (PublicPricing$ = {}));
67
+ export function publicPricingToJSON(publicPricing) {
68
+ return JSON.stringify(PublicPricing$outboundSchema.parse(publicPricing));
69
+ }
70
+ export function publicPricingFromJSON(jsonString) {
71
+ return safeParse(jsonString, (x) => PublicPricing$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PublicPricing' from JSON`);
72
+ }
73
+ //# sourceMappingURL=publicpricing.js.map
@@ -0,0 +1,29 @@
1
+ import * as z from "zod/v4";
2
+ import { OpenEnum } from "../types/enums.js";
3
+ export declare const Quantization: {
4
+ readonly Int4: "int4";
5
+ readonly Int8: "int8";
6
+ readonly Fp4: "fp4";
7
+ readonly Fp6: "fp6";
8
+ readonly Fp8: "fp8";
9
+ readonly Fp16: "fp16";
10
+ readonly Bf16: "bf16";
11
+ readonly Fp32: "fp32";
12
+ readonly Unknown: "unknown";
13
+ };
14
+ export type Quantization = OpenEnum<typeof Quantization>;
15
+ /** @internal */
16
+ export declare const Quantization$inboundSchema: z.ZodType<Quantization, unknown>;
17
+ /** @internal */
18
+ export declare const Quantization$outboundSchema: z.ZodType<Quantization, Quantization>;
19
+ /**
20
+ * @internal
21
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
22
+ */
23
+ export declare namespace Quantization$ {
24
+ /** @deprecated use `Quantization$inboundSchema` instead. */
25
+ const inboundSchema: z.ZodType<Quantization, unknown, z.core.$ZodTypeInternals<Quantization, unknown>>;
26
+ /** @deprecated use `Quantization$outboundSchema` instead. */
27
+ const outboundSchema: z.ZodType<Quantization, Quantization, z.core.$ZodTypeInternals<Quantization, Quantization>>;
28
+ }
29
+ //# sourceMappingURL=quantization.d.ts.map
@@ -0,0 +1,39 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+ import * as z from "zod/v4";
5
+ import { catchUnrecognizedEnum, } from "../types/enums.js";
6
+ export const Quantization = {
7
+ Int4: "int4",
8
+ Int8: "int8",
9
+ Fp4: "fp4",
10
+ Fp6: "fp6",
11
+ Fp8: "fp8",
12
+ Fp16: "fp16",
13
+ Bf16: "bf16",
14
+ Fp32: "fp32",
15
+ Unknown: "unknown",
16
+ };
17
+ /** @internal */
18
+ export const Quantization$inboundSchema = z
19
+ .union([
20
+ z.enum(Quantization),
21
+ z.string().transform(catchUnrecognizedEnum),
22
+ ]);
23
+ /** @internal */
24
+ export const Quantization$outboundSchema = z.union([
25
+ z.enum(Quantization),
26
+ z.string().and(z.custom()),
27
+ ]);
28
+ /**
29
+ * @internal
30
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
31
+ */
32
+ export var Quantization$;
33
+ (function (Quantization$) {
34
+ /** @deprecated use `Quantization$inboundSchema` instead. */
35
+ Quantization$.inboundSchema = Quantization$inboundSchema;
36
+ /** @deprecated use `Quantization$outboundSchema` instead. */
37
+ Quantization$.outboundSchema = Quantization$outboundSchema;
38
+ })(Quantization$ || (Quantization$ = {}));
39
+ //# sourceMappingURL=quantization.js.map
@@ -0,0 +1,40 @@
1
+ import * as z from "zod/v4";
2
+ import { Result as SafeParseResult } from "../types/fp.js";
3
+ import { SDKValidationError } from "./errors/sdkvalidationerror.js";
4
+ /**
5
+ * Error data for RequestTimeoutResponse
6
+ */
7
+ export type RequestTimeoutResponseErrorData = {
8
+ code: number;
9
+ message: string;
10
+ metadata?: {
11
+ [k: string]: any | null;
12
+ } | null | undefined;
13
+ };
14
+ /** @internal */
15
+ export declare const RequestTimeoutResponseErrorData$inboundSchema: z.ZodType<RequestTimeoutResponseErrorData, unknown>;
16
+ /** @internal */
17
+ export type RequestTimeoutResponseErrorData$Outbound = {
18
+ code: number;
19
+ message: string;
20
+ metadata?: {
21
+ [k: string]: any | null;
22
+ } | null | undefined;
23
+ };
24
+ /** @internal */
25
+ export declare const RequestTimeoutResponseErrorData$outboundSchema: z.ZodType<RequestTimeoutResponseErrorData$Outbound, RequestTimeoutResponseErrorData>;
26
+ /**
27
+ * @internal
28
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
29
+ */
30
+ export declare namespace RequestTimeoutResponseErrorData$ {
31
+ /** @deprecated use `RequestTimeoutResponseErrorData$inboundSchema` instead. */
32
+ const inboundSchema: z.ZodType<RequestTimeoutResponseErrorData, unknown, z.core.$ZodTypeInternals<RequestTimeoutResponseErrorData, unknown>>;
33
+ /** @deprecated use `RequestTimeoutResponseErrorData$outboundSchema` instead. */
34
+ const outboundSchema: z.ZodType<RequestTimeoutResponseErrorData$Outbound, RequestTimeoutResponseErrorData, z.core.$ZodTypeInternals<RequestTimeoutResponseErrorData$Outbound, RequestTimeoutResponseErrorData>>;
35
+ /** @deprecated use `RequestTimeoutResponseErrorData$Outbound` instead. */
36
+ type Outbound = RequestTimeoutResponseErrorData$Outbound;
37
+ }
38
+ export declare function requestTimeoutResponseErrorDataToJSON(requestTimeoutResponseErrorData: RequestTimeoutResponseErrorData): string;
39
+ export declare function requestTimeoutResponseErrorDataFromJSON(jsonString: string): SafeParseResult<RequestTimeoutResponseErrorData, SDKValidationError>;
40
+ //# sourceMappingURL=requesttimeoutresponseerrordata.d.ts.map
@@ -0,0 +1,35 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+ import * as z from "zod/v4";
5
+ import { safeParse } from "../lib/schemas.js";
6
+ /** @internal */
7
+ export const RequestTimeoutResponseErrorData$inboundSchema = z.object({
8
+ code: z.number().int(),
9
+ message: z.string(),
10
+ metadata: z.nullable(z.record(z.string(), z.nullable(z.any()))).optional(),
11
+ });
12
+ /** @internal */
13
+ export const RequestTimeoutResponseErrorData$outboundSchema = z.object({
14
+ code: z.number().int(),
15
+ message: z.string(),
16
+ metadata: z.nullable(z.record(z.string(), z.nullable(z.any()))).optional(),
17
+ });
18
+ /**
19
+ * @internal
20
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
21
+ */
22
+ export var RequestTimeoutResponseErrorData$;
23
+ (function (RequestTimeoutResponseErrorData$) {
24
+ /** @deprecated use `RequestTimeoutResponseErrorData$inboundSchema` instead. */
25
+ RequestTimeoutResponseErrorData$.inboundSchema = RequestTimeoutResponseErrorData$inboundSchema;
26
+ /** @deprecated use `RequestTimeoutResponseErrorData$outboundSchema` instead. */
27
+ RequestTimeoutResponseErrorData$.outboundSchema = RequestTimeoutResponseErrorData$outboundSchema;
28
+ })(RequestTimeoutResponseErrorData$ || (RequestTimeoutResponseErrorData$ = {}));
29
+ export function requestTimeoutResponseErrorDataToJSON(requestTimeoutResponseErrorData) {
30
+ return JSON.stringify(RequestTimeoutResponseErrorData$outboundSchema.parse(requestTimeoutResponseErrorData));
31
+ }
32
+ export function requestTimeoutResponseErrorDataFromJSON(jsonString) {
33
+ return safeParse(jsonString, (x) => RequestTimeoutResponseErrorData$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RequestTimeoutResponseErrorData' from JSON`);
34
+ }
35
+ //# sourceMappingURL=requesttimeoutresponseerrordata.js.map
@@ -2,7 +2,7 @@ import * as z from "zod/v4";
2
2
  import { OpenEnum } from "../types/enums.js";
3
3
  import { Result as SafeParseResult } from "../types/fp.js";
4
4
  import { SDKValidationError } from "./errors/sdkvalidationerror.js";
5
- export declare const ResponsesErrorFieldCode: {
5
+ export declare const CodeEnum: {
6
6
  readonly ServerError: "server_error";
7
7
  readonly RateLimitExceeded: "rate_limit_exceeded";
8
8
  readonly InvalidPrompt: "invalid_prompt";
@@ -22,27 +22,27 @@ export declare const ResponsesErrorFieldCode: {
22
22
  readonly FailedToDownloadImage: "failed_to_download_image";
23
23
  readonly ImageFileNotFound: "image_file_not_found";
24
24
  };
25
- export type ResponsesErrorFieldCode = OpenEnum<typeof ResponsesErrorFieldCode>;
25
+ export type CodeEnum = OpenEnum<typeof CodeEnum>;
26
26
  /**
27
27
  * Error information returned from the API
28
28
  */
29
29
  export type ResponsesErrorField = {
30
- code: ResponsesErrorFieldCode;
30
+ code: CodeEnum;
31
31
  message: string;
32
32
  };
33
33
  /** @internal */
34
- export declare const ResponsesErrorFieldCode$inboundSchema: z.ZodType<ResponsesErrorFieldCode, unknown>;
34
+ export declare const CodeEnum$inboundSchema: z.ZodType<CodeEnum, unknown>;
35
35
  /** @internal */
36
- export declare const ResponsesErrorFieldCode$outboundSchema: z.ZodType<ResponsesErrorFieldCode, ResponsesErrorFieldCode>;
36
+ export declare const CodeEnum$outboundSchema: z.ZodType<CodeEnum, CodeEnum>;
37
37
  /**
38
38
  * @internal
39
39
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
40
40
  */
41
- export declare namespace ResponsesErrorFieldCode$ {
42
- /** @deprecated use `ResponsesErrorFieldCode$inboundSchema` instead. */
43
- const inboundSchema: z.ZodType<ResponsesErrorFieldCode, unknown, z.core.$ZodTypeInternals<ResponsesErrorFieldCode, unknown>>;
44
- /** @deprecated use `ResponsesErrorFieldCode$outboundSchema` instead. */
45
- const outboundSchema: z.ZodType<ResponsesErrorFieldCode, ResponsesErrorFieldCode, z.core.$ZodTypeInternals<ResponsesErrorFieldCode, ResponsesErrorFieldCode>>;
41
+ export declare namespace CodeEnum$ {
42
+ /** @deprecated use `CodeEnum$inboundSchema` instead. */
43
+ const inboundSchema: z.ZodType<CodeEnum, unknown, z.core.$ZodTypeInternals<CodeEnum, unknown>>;
44
+ /** @deprecated use `CodeEnum$outboundSchema` instead. */
45
+ const outboundSchema: z.ZodType<CodeEnum, CodeEnum, z.core.$ZodTypeInternals<CodeEnum, CodeEnum>>;
46
46
  }
47
47
  /** @internal */
48
48
  export declare const ResponsesErrorField$inboundSchema: z.ZodType<ResponsesErrorField, unknown>;