@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
@@ -0,0 +1,63 @@
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 * as models from "../index.js";
7
+ import { OpenRouterError } from "./openroutererror.js";
8
+ /**
9
+ * Too Many Requests - Rate limit exceeded
10
+ */
11
+ export class TooManyRequestsResponseError extends OpenRouterError {
12
+ constructor(err, httpMeta) {
13
+ const message = err.error?.message
14
+ || `API error occurred: ${JSON.stringify(err)}`;
15
+ super(message, httpMeta);
16
+ this.data$ = err;
17
+ this.error = err.error;
18
+ if (err.userId != null)
19
+ this.userId = err.userId;
20
+ this.name = "TooManyRequestsResponseError";
21
+ }
22
+ }
23
+ /** @internal */
24
+ export const TooManyRequestsResponseError$inboundSchema = z.object({
25
+ error: models.TooManyRequestsResponseErrorData$inboundSchema,
26
+ user_id: z.nullable(z.string()).optional(),
27
+ request$: z.custom(x => x instanceof Request),
28
+ response$: z.custom(x => x instanceof Response),
29
+ body$: z.string(),
30
+ })
31
+ .transform((v) => {
32
+ const remapped = remap$(v, {
33
+ "user_id": "userId",
34
+ });
35
+ return new TooManyRequestsResponseError(remapped, {
36
+ request: v.request$,
37
+ response: v.response$,
38
+ body: v.body$,
39
+ });
40
+ });
41
+ /** @internal */
42
+ export const TooManyRequestsResponseError$outboundSchema = z.custom(x => x instanceof TooManyRequestsResponseError)
43
+ .transform(v => v.data$)
44
+ .pipe(z.object({
45
+ error: models.TooManyRequestsResponseErrorData$outboundSchema,
46
+ userId: z.nullable(z.string()).optional(),
47
+ }).transform((v) => {
48
+ return remap$(v, {
49
+ userId: "user_id",
50
+ });
51
+ }));
52
+ /**
53
+ * @internal
54
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
55
+ */
56
+ export var TooManyRequestsResponseError$;
57
+ (function (TooManyRequestsResponseError$) {
58
+ /** @deprecated use `TooManyRequestsResponseError$inboundSchema` instead. */
59
+ TooManyRequestsResponseError$.inboundSchema = TooManyRequestsResponseError$inboundSchema;
60
+ /** @deprecated use `TooManyRequestsResponseError$outboundSchema` instead. */
61
+ TooManyRequestsResponseError$.outboundSchema = TooManyRequestsResponseError$outboundSchema;
62
+ })(TooManyRequestsResponseError$ || (TooManyRequestsResponseError$ = {}));
63
+ //# sourceMappingURL=toomanyrequestsresponseerror.js.map
@@ -0,0 +1,52 @@
1
+ import * as z from "zod/v4";
2
+ import * as models from "../index.js";
3
+ import { OpenRouterError } from "./openroutererror.js";
4
+ /**
5
+ * Unauthorized - Authentication required or invalid credentials
6
+ */
7
+ export type UnauthorizedResponseErrorData = {
8
+ /**
9
+ * Error data for UnauthorizedResponse
10
+ */
11
+ error: models.UnauthorizedResponseErrorData;
12
+ userId?: string | null | undefined;
13
+ };
14
+ /**
15
+ * Unauthorized - Authentication required or invalid credentials
16
+ */
17
+ export declare class UnauthorizedResponseError extends OpenRouterError {
18
+ /**
19
+ * Error data for UnauthorizedResponse
20
+ */
21
+ error: models.UnauthorizedResponseErrorData;
22
+ userId?: string | null | undefined;
23
+ /** The original data that was passed to this error instance. */
24
+ data$: UnauthorizedResponseErrorData;
25
+ constructor(err: UnauthorizedResponseErrorData, httpMeta: {
26
+ response: Response;
27
+ request: Request;
28
+ body: string;
29
+ });
30
+ }
31
+ /** @internal */
32
+ export declare const UnauthorizedResponseError$inboundSchema: z.ZodType<UnauthorizedResponseError, unknown>;
33
+ /** @internal */
34
+ export type UnauthorizedResponseError$Outbound = {
35
+ error: models.UnauthorizedResponseErrorData$Outbound;
36
+ user_id?: string | null | undefined;
37
+ };
38
+ /** @internal */
39
+ export declare const UnauthorizedResponseError$outboundSchema: z.ZodType<UnauthorizedResponseError$Outbound, UnauthorizedResponseError>;
40
+ /**
41
+ * @internal
42
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
43
+ */
44
+ export declare namespace UnauthorizedResponseError$ {
45
+ /** @deprecated use `UnauthorizedResponseError$inboundSchema` instead. */
46
+ const inboundSchema: z.ZodType<UnauthorizedResponseError, unknown, z.core.$ZodTypeInternals<UnauthorizedResponseError, unknown>>;
47
+ /** @deprecated use `UnauthorizedResponseError$outboundSchema` instead. */
48
+ const outboundSchema: z.ZodType<UnauthorizedResponseError$Outbound, UnauthorizedResponseError, z.core.$ZodTypeInternals<UnauthorizedResponseError$Outbound, UnauthorizedResponseError>>;
49
+ /** @deprecated use `UnauthorizedResponseError$Outbound` instead. */
50
+ type Outbound = UnauthorizedResponseError$Outbound;
51
+ }
52
+ //# sourceMappingURL=unauthorizedresponseerror.d.ts.map
@@ -0,0 +1,63 @@
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 * as models from "../index.js";
7
+ import { OpenRouterError } from "./openroutererror.js";
8
+ /**
9
+ * Unauthorized - Authentication required or invalid credentials
10
+ */
11
+ export class UnauthorizedResponseError extends OpenRouterError {
12
+ constructor(err, httpMeta) {
13
+ const message = err.error?.message
14
+ || `API error occurred: ${JSON.stringify(err)}`;
15
+ super(message, httpMeta);
16
+ this.data$ = err;
17
+ this.error = err.error;
18
+ if (err.userId != null)
19
+ this.userId = err.userId;
20
+ this.name = "UnauthorizedResponseError";
21
+ }
22
+ }
23
+ /** @internal */
24
+ export const UnauthorizedResponseError$inboundSchema = z.object({
25
+ error: models.UnauthorizedResponseErrorData$inboundSchema,
26
+ user_id: z.nullable(z.string()).optional(),
27
+ request$: z.custom(x => x instanceof Request),
28
+ response$: z.custom(x => x instanceof Response),
29
+ body$: z.string(),
30
+ })
31
+ .transform((v) => {
32
+ const remapped = remap$(v, {
33
+ "user_id": "userId",
34
+ });
35
+ return new UnauthorizedResponseError(remapped, {
36
+ request: v.request$,
37
+ response: v.response$,
38
+ body: v.body$,
39
+ });
40
+ });
41
+ /** @internal */
42
+ export const UnauthorizedResponseError$outboundSchema = z.custom(x => x instanceof UnauthorizedResponseError)
43
+ .transform(v => v.data$)
44
+ .pipe(z.object({
45
+ error: models.UnauthorizedResponseErrorData$outboundSchema,
46
+ userId: z.nullable(z.string()).optional(),
47
+ }).transform((v) => {
48
+ return remap$(v, {
49
+ userId: "user_id",
50
+ });
51
+ }));
52
+ /**
53
+ * @internal
54
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
55
+ */
56
+ export var UnauthorizedResponseError$;
57
+ (function (UnauthorizedResponseError$) {
58
+ /** @deprecated use `UnauthorizedResponseError$inboundSchema` instead. */
59
+ UnauthorizedResponseError$.inboundSchema = UnauthorizedResponseError$inboundSchema;
60
+ /** @deprecated use `UnauthorizedResponseError$outboundSchema` instead. */
61
+ UnauthorizedResponseError$.outboundSchema = UnauthorizedResponseError$outboundSchema;
62
+ })(UnauthorizedResponseError$ || (UnauthorizedResponseError$ = {}));
63
+ //# sourceMappingURL=unauthorizedresponseerror.js.map
@@ -0,0 +1,52 @@
1
+ import * as z from "zod/v4";
2
+ import * as models from "../index.js";
3
+ import { OpenRouterError } from "./openroutererror.js";
4
+ /**
5
+ * Unprocessable Entity - Semantic validation failure
6
+ */
7
+ export type UnprocessableEntityResponseErrorData = {
8
+ /**
9
+ * Error data for UnprocessableEntityResponse
10
+ */
11
+ error: models.UnprocessableEntityResponseErrorData;
12
+ userId?: string | null | undefined;
13
+ };
14
+ /**
15
+ * Unprocessable Entity - Semantic validation failure
16
+ */
17
+ export declare class UnprocessableEntityResponseError extends OpenRouterError {
18
+ /**
19
+ * Error data for UnprocessableEntityResponse
20
+ */
21
+ error: models.UnprocessableEntityResponseErrorData;
22
+ userId?: string | null | undefined;
23
+ /** The original data that was passed to this error instance. */
24
+ data$: UnprocessableEntityResponseErrorData;
25
+ constructor(err: UnprocessableEntityResponseErrorData, httpMeta: {
26
+ response: Response;
27
+ request: Request;
28
+ body: string;
29
+ });
30
+ }
31
+ /** @internal */
32
+ export declare const UnprocessableEntityResponseError$inboundSchema: z.ZodType<UnprocessableEntityResponseError, unknown>;
33
+ /** @internal */
34
+ export type UnprocessableEntityResponseError$Outbound = {
35
+ error: models.UnprocessableEntityResponseErrorData$Outbound;
36
+ user_id?: string | null | undefined;
37
+ };
38
+ /** @internal */
39
+ export declare const UnprocessableEntityResponseError$outboundSchema: z.ZodType<UnprocessableEntityResponseError$Outbound, UnprocessableEntityResponseError>;
40
+ /**
41
+ * @internal
42
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
43
+ */
44
+ export declare namespace UnprocessableEntityResponseError$ {
45
+ /** @deprecated use `UnprocessableEntityResponseError$inboundSchema` instead. */
46
+ const inboundSchema: z.ZodType<UnprocessableEntityResponseError, unknown, z.core.$ZodTypeInternals<UnprocessableEntityResponseError, unknown>>;
47
+ /** @deprecated use `UnprocessableEntityResponseError$outboundSchema` instead. */
48
+ const outboundSchema: z.ZodType<UnprocessableEntityResponseError$Outbound, UnprocessableEntityResponseError, z.core.$ZodTypeInternals<UnprocessableEntityResponseError$Outbound, UnprocessableEntityResponseError>>;
49
+ /** @deprecated use `UnprocessableEntityResponseError$Outbound` instead. */
50
+ type Outbound = UnprocessableEntityResponseError$Outbound;
51
+ }
52
+ //# sourceMappingURL=unprocessableentityresponseerror.d.ts.map
@@ -0,0 +1,63 @@
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 * as models from "../index.js";
7
+ import { OpenRouterError } from "./openroutererror.js";
8
+ /**
9
+ * Unprocessable Entity - Semantic validation failure
10
+ */
11
+ export class UnprocessableEntityResponseError extends OpenRouterError {
12
+ constructor(err, httpMeta) {
13
+ const message = err.error?.message
14
+ || `API error occurred: ${JSON.stringify(err)}`;
15
+ super(message, httpMeta);
16
+ this.data$ = err;
17
+ this.error = err.error;
18
+ if (err.userId != null)
19
+ this.userId = err.userId;
20
+ this.name = "UnprocessableEntityResponseError";
21
+ }
22
+ }
23
+ /** @internal */
24
+ export const UnprocessableEntityResponseError$inboundSchema = z.object({
25
+ error: models.UnprocessableEntityResponseErrorData$inboundSchema,
26
+ user_id: z.nullable(z.string()).optional(),
27
+ request$: z.custom(x => x instanceof Request),
28
+ response$: z.custom(x => x instanceof Response),
29
+ body$: z.string(),
30
+ })
31
+ .transform((v) => {
32
+ const remapped = remap$(v, {
33
+ "user_id": "userId",
34
+ });
35
+ return new UnprocessableEntityResponseError(remapped, {
36
+ request: v.request$,
37
+ response: v.response$,
38
+ body: v.body$,
39
+ });
40
+ });
41
+ /** @internal */
42
+ export const UnprocessableEntityResponseError$outboundSchema = z.custom(x => x instanceof UnprocessableEntityResponseError)
43
+ .transform(v => v.data$)
44
+ .pipe(z.object({
45
+ error: models.UnprocessableEntityResponseErrorData$outboundSchema,
46
+ userId: z.nullable(z.string()).optional(),
47
+ }).transform((v) => {
48
+ return remap$(v, {
49
+ userId: "user_id",
50
+ });
51
+ }));
52
+ /**
53
+ * @internal
54
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
55
+ */
56
+ export var UnprocessableEntityResponseError$;
57
+ (function (UnprocessableEntityResponseError$) {
58
+ /** @deprecated use `UnprocessableEntityResponseError$inboundSchema` instead. */
59
+ UnprocessableEntityResponseError$.inboundSchema = UnprocessableEntityResponseError$inboundSchema;
60
+ /** @deprecated use `UnprocessableEntityResponseError$outboundSchema` instead. */
61
+ UnprocessableEntityResponseError$.outboundSchema = UnprocessableEntityResponseError$outboundSchema;
62
+ })(UnprocessableEntityResponseError$ || (UnprocessableEntityResponseError$ = {}));
63
+ //# sourceMappingURL=unprocessableentityresponseerror.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 ForbiddenResponse
6
+ */
7
+ export type ForbiddenResponseErrorData = {
8
+ code: number;
9
+ message: string;
10
+ metadata?: {
11
+ [k: string]: any | null;
12
+ } | null | undefined;
13
+ };
14
+ /** @internal */
15
+ export declare const ForbiddenResponseErrorData$inboundSchema: z.ZodType<ForbiddenResponseErrorData, unknown>;
16
+ /** @internal */
17
+ export type ForbiddenResponseErrorData$Outbound = {
18
+ code: number;
19
+ message: string;
20
+ metadata?: {
21
+ [k: string]: any | null;
22
+ } | null | undefined;
23
+ };
24
+ /** @internal */
25
+ export declare const ForbiddenResponseErrorData$outboundSchema: z.ZodType<ForbiddenResponseErrorData$Outbound, ForbiddenResponseErrorData>;
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 ForbiddenResponseErrorData$ {
31
+ /** @deprecated use `ForbiddenResponseErrorData$inboundSchema` instead. */
32
+ const inboundSchema: z.ZodType<ForbiddenResponseErrorData, unknown, z.core.$ZodTypeInternals<ForbiddenResponseErrorData, unknown>>;
33
+ /** @deprecated use `ForbiddenResponseErrorData$outboundSchema` instead. */
34
+ const outboundSchema: z.ZodType<ForbiddenResponseErrorData$Outbound, ForbiddenResponseErrorData, z.core.$ZodTypeInternals<ForbiddenResponseErrorData$Outbound, ForbiddenResponseErrorData>>;
35
+ /** @deprecated use `ForbiddenResponseErrorData$Outbound` instead. */
36
+ type Outbound = ForbiddenResponseErrorData$Outbound;
37
+ }
38
+ export declare function forbiddenResponseErrorDataToJSON(forbiddenResponseErrorData: ForbiddenResponseErrorData): string;
39
+ export declare function forbiddenResponseErrorDataFromJSON(jsonString: string): SafeParseResult<ForbiddenResponseErrorData, SDKValidationError>;
40
+ //# sourceMappingURL=forbiddenresponseerrordata.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 ForbiddenResponseErrorData$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 ForbiddenResponseErrorData$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 ForbiddenResponseErrorData$;
23
+ (function (ForbiddenResponseErrorData$) {
24
+ /** @deprecated use `ForbiddenResponseErrorData$inboundSchema` instead. */
25
+ ForbiddenResponseErrorData$.inboundSchema = ForbiddenResponseErrorData$inboundSchema;
26
+ /** @deprecated use `ForbiddenResponseErrorData$outboundSchema` instead. */
27
+ ForbiddenResponseErrorData$.outboundSchema = ForbiddenResponseErrorData$outboundSchema;
28
+ })(ForbiddenResponseErrorData$ || (ForbiddenResponseErrorData$ = {}));
29
+ export function forbiddenResponseErrorDataToJSON(forbiddenResponseErrorData) {
30
+ return JSON.stringify(ForbiddenResponseErrorData$outboundSchema.parse(forbiddenResponseErrorData));
31
+ }
32
+ export function forbiddenResponseErrorDataFromJSON(jsonString) {
33
+ return safeParse(jsonString, (x) => ForbiddenResponseErrorData$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ForbiddenResponseErrorData' from JSON`);
34
+ }
35
+ //# sourceMappingURL=forbiddenresponseerrordata.js.map
@@ -1,5 +1,7 @@
1
1
  export * from "./activityitem.js";
2
2
  export * from "./assistantmessage.js";
3
+ export * from "./badgatewayresponseerrordata.js";
4
+ export * from "./badrequestresponseerrordata.js";
3
5
  export * from "./chatcompletionfinishreason.js";
4
6
  export * from "./chaterror.js";
5
7
  export * from "./chatgenerationparams.js";
@@ -24,17 +26,28 @@ export * from "./completionlogprobs.js";
24
26
  export * from "./completionresponse.js";
25
27
  export * from "./completionusage.js";
26
28
  export * from "./createchargerequest.js";
27
- export * from "./errorresponse.js";
29
+ export * from "./defaultparameters.js";
30
+ export * from "./edgenetworktimeoutresponseerrordata.js";
31
+ export * from "./endpointstatus.js";
28
32
  export * from "./filecitation.js";
29
33
  export * from "./filepath.js";
34
+ export * from "./forbiddenresponseerrordata.js";
30
35
  export * from "./imagegenerationstatus.js";
36
+ export * from "./inputmodality.js";
37
+ export * from "./instructtype.js";
38
+ export * from "./internalserverresponseerrordata.js";
31
39
  export * from "./jsonschemaconfig.js";
32
40
  export * from "./listendpointsresponse.js";
33
41
  export * from "./message.js";
42
+ export * from "./model.js";
43
+ export * from "./modelarchitecture.js";
44
+ export * from "./modelgroup.js";
34
45
  export * from "./modelscountresponse.js";
35
46
  export * from "./modelslistresponse.js";
36
47
  export * from "./namedtoolchoice.js";
48
+ export * from "./notfoundresponseerrordata.js";
37
49
  export * from "./openairesponsesannotation.js";
50
+ export * from "./openairesponsesincludable.js";
38
51
  export * from "./openairesponsesincompletedetails.js";
39
52
  export * from "./openairesponsesinputunion.js";
40
53
  export * from "./openairesponsesprompt.js";
@@ -45,19 +58,27 @@ export * from "./openairesponsesresponsestatus.js";
45
58
  export * from "./openairesponsesservicetier.js";
46
59
  export * from "./openairesponsestoolchoiceunion.js";
47
60
  export * from "./openairesponsestruncation.js";
61
+ export * from "./openresponseseasyinputmessage.js";
48
62
  export * from "./openresponseserrorevent.js";
63
+ export * from "./openresponsesfunctioncalloutput.js";
64
+ export * from "./openresponsesfunctiontoolcall.js";
49
65
  export * from "./openresponsesimagegencallcompleted.js";
50
66
  export * from "./openresponsesimagegencallgenerating.js";
51
67
  export * from "./openresponsesimagegencallinprogress.js";
52
68
  export * from "./openresponsesimagegencallpartialimage.js";
69
+ export * from "./openresponsesinput.js";
70
+ export * from "./openresponsesinputmessageitem.js";
53
71
  export * from "./openresponseslogprobs.js";
54
72
  export * from "./openresponsesnonstreamingresponse.js";
73
+ export * from "./openresponsesreasoning.js";
74
+ export * from "./openresponsesreasoningconfig.js";
55
75
  export * from "./openresponsesreasoningdeltaevent.js";
56
76
  export * from "./openresponsesreasoningdoneevent.js";
57
77
  export * from "./openresponsesreasoningsummarypartaddedevent.js";
58
78
  export * from "./openresponsesreasoningsummarytextdeltaevent.js";
59
79
  export * from "./openresponsesreasoningsummarytextdoneevent.js";
60
80
  export * from "./openresponsesrequest.js";
81
+ export * from "./openresponsesresponsetext.js";
61
82
  export * from "./openresponsesstreamevent.js";
62
83
  export * from "./openresponsestoplogprobs.js";
63
84
  export * from "./openresponsesusage.js";
@@ -67,10 +88,20 @@ export * from "./openresponseswebsearchpreviewtool.js";
67
88
  export * from "./openresponseswebsearchtool.js";
68
89
  export * from "./outputitemimagegenerationcall.js";
69
90
  export * from "./outputmessage.js";
91
+ export * from "./outputmodality.js";
92
+ export * from "./parameter.js";
93
+ export * from "./payloadtoolargeresponseerrordata.js";
94
+ export * from "./paymentrequiredresponseerrordata.js";
95
+ export * from "./perrequestlimits.js";
96
+ export * from "./providername.js";
97
+ export * from "./provideroverloadedresponseerrordata.js";
70
98
  export * from "./publicendpoint.js";
99
+ export * from "./publicpricing.js";
100
+ export * from "./quantization.js";
71
101
  export * from "./reasoningsummarytext.js";
72
102
  export * from "./reasoningsummaryverbosity.js";
73
103
  export * from "./reasoningtextcontent.js";
104
+ export * from "./requesttimeoutresponseerrordata.js";
74
105
  export * from "./responseformatjsonschema.js";
75
106
  export * from "./responseformattextconfig.js";
76
107
  export * from "./responseformattextgrammar.js";
@@ -93,10 +124,15 @@ export * from "./responseswebsearchcalloutput.js";
93
124
  export * from "./responseswebsearchuserlocation.js";
94
125
  export * from "./responsetextconfig.js";
95
126
  export * from "./security.js";
127
+ export * from "./serviceunavailableresponseerrordata.js";
96
128
  export * from "./systemmessage.js";
97
129
  export * from "./tool.js";
98
130
  export * from "./toolcallstatus.js";
99
131
  export * from "./toolresponsemessage.js";
132
+ export * from "./toomanyrequestsresponseerrordata.js";
133
+ export * from "./topproviderinfo.js";
134
+ export * from "./unauthorizedresponseerrordata.js";
135
+ export * from "./unprocessableentityresponseerrordata.js";
100
136
  export * from "./urlcitation.js";
101
137
  export * from "./usermessage.js";
102
138
  export * from "./websearchpreviewtooluserlocation.js";
@@ -3,6 +3,8 @@
3
3
  */
4
4
  export * from "./activityitem.js";
5
5
  export * from "./assistantmessage.js";
6
+ export * from "./badgatewayresponseerrordata.js";
7
+ export * from "./badrequestresponseerrordata.js";
6
8
  export * from "./chatcompletionfinishreason.js";
7
9
  export * from "./chaterror.js";
8
10
  export * from "./chatgenerationparams.js";
@@ -27,17 +29,28 @@ export * from "./completionlogprobs.js";
27
29
  export * from "./completionresponse.js";
28
30
  export * from "./completionusage.js";
29
31
  export * from "./createchargerequest.js";
30
- export * from "./errorresponse.js";
32
+ export * from "./defaultparameters.js";
33
+ export * from "./edgenetworktimeoutresponseerrordata.js";
34
+ export * from "./endpointstatus.js";
31
35
  export * from "./filecitation.js";
32
36
  export * from "./filepath.js";
37
+ export * from "./forbiddenresponseerrordata.js";
33
38
  export * from "./imagegenerationstatus.js";
39
+ export * from "./inputmodality.js";
40
+ export * from "./instructtype.js";
41
+ export * from "./internalserverresponseerrordata.js";
34
42
  export * from "./jsonschemaconfig.js";
35
43
  export * from "./listendpointsresponse.js";
36
44
  export * from "./message.js";
45
+ export * from "./model.js";
46
+ export * from "./modelarchitecture.js";
47
+ export * from "./modelgroup.js";
37
48
  export * from "./modelscountresponse.js";
38
49
  export * from "./modelslistresponse.js";
39
50
  export * from "./namedtoolchoice.js";
51
+ export * from "./notfoundresponseerrordata.js";
40
52
  export * from "./openairesponsesannotation.js";
53
+ export * from "./openairesponsesincludable.js";
41
54
  export * from "./openairesponsesincompletedetails.js";
42
55
  export * from "./openairesponsesinputunion.js";
43
56
  export * from "./openairesponsesprompt.js";
@@ -48,19 +61,27 @@ export * from "./openairesponsesresponsestatus.js";
48
61
  export * from "./openairesponsesservicetier.js";
49
62
  export * from "./openairesponsestoolchoiceunion.js";
50
63
  export * from "./openairesponsestruncation.js";
64
+ export * from "./openresponseseasyinputmessage.js";
51
65
  export * from "./openresponseserrorevent.js";
66
+ export * from "./openresponsesfunctioncalloutput.js";
67
+ export * from "./openresponsesfunctiontoolcall.js";
52
68
  export * from "./openresponsesimagegencallcompleted.js";
53
69
  export * from "./openresponsesimagegencallgenerating.js";
54
70
  export * from "./openresponsesimagegencallinprogress.js";
55
71
  export * from "./openresponsesimagegencallpartialimage.js";
72
+ export * from "./openresponsesinput.js";
73
+ export * from "./openresponsesinputmessageitem.js";
56
74
  export * from "./openresponseslogprobs.js";
57
75
  export * from "./openresponsesnonstreamingresponse.js";
76
+ export * from "./openresponsesreasoning.js";
77
+ export * from "./openresponsesreasoningconfig.js";
58
78
  export * from "./openresponsesreasoningdeltaevent.js";
59
79
  export * from "./openresponsesreasoningdoneevent.js";
60
80
  export * from "./openresponsesreasoningsummarypartaddedevent.js";
61
81
  export * from "./openresponsesreasoningsummarytextdeltaevent.js";
62
82
  export * from "./openresponsesreasoningsummarytextdoneevent.js";
63
83
  export * from "./openresponsesrequest.js";
84
+ export * from "./openresponsesresponsetext.js";
64
85
  export * from "./openresponsesstreamevent.js";
65
86
  export * from "./openresponsestoplogprobs.js";
66
87
  export * from "./openresponsesusage.js";
@@ -70,10 +91,20 @@ export * from "./openresponseswebsearchpreviewtool.js";
70
91
  export * from "./openresponseswebsearchtool.js";
71
92
  export * from "./outputitemimagegenerationcall.js";
72
93
  export * from "./outputmessage.js";
94
+ export * from "./outputmodality.js";
95
+ export * from "./parameter.js";
96
+ export * from "./payloadtoolargeresponseerrordata.js";
97
+ export * from "./paymentrequiredresponseerrordata.js";
98
+ export * from "./perrequestlimits.js";
99
+ export * from "./providername.js";
100
+ export * from "./provideroverloadedresponseerrordata.js";
73
101
  export * from "./publicendpoint.js";
102
+ export * from "./publicpricing.js";
103
+ export * from "./quantization.js";
74
104
  export * from "./reasoningsummarytext.js";
75
105
  export * from "./reasoningsummaryverbosity.js";
76
106
  export * from "./reasoningtextcontent.js";
107
+ export * from "./requesttimeoutresponseerrordata.js";
77
108
  export * from "./responseformatjsonschema.js";
78
109
  export * from "./responseformattextconfig.js";
79
110
  export * from "./responseformattextgrammar.js";
@@ -96,10 +127,15 @@ export * from "./responseswebsearchcalloutput.js";
96
127
  export * from "./responseswebsearchuserlocation.js";
97
128
  export * from "./responsetextconfig.js";
98
129
  export * from "./security.js";
130
+ export * from "./serviceunavailableresponseerrordata.js";
99
131
  export * from "./systemmessage.js";
100
132
  export * from "./tool.js";
101
133
  export * from "./toolcallstatus.js";
102
134
  export * from "./toolresponsemessage.js";
135
+ export * from "./toomanyrequestsresponseerrordata.js";
136
+ export * from "./topproviderinfo.js";
137
+ export * from "./unauthorizedresponseerrordata.js";
138
+ export * from "./unprocessableentityresponseerrordata.js";
103
139
  export * from "./urlcitation.js";
104
140
  export * from "./usermessage.js";
105
141
  export * from "./websearchpreviewtooluserlocation.js";
@@ -0,0 +1,24 @@
1
+ import * as z from "zod/v4";
2
+ import { OpenEnum } from "../types/enums.js";
3
+ export declare const InputModality: {
4
+ readonly Text: "text";
5
+ readonly Image: "image";
6
+ readonly File: "file";
7
+ readonly Audio: "audio";
8
+ };
9
+ export type InputModality = OpenEnum<typeof InputModality>;
10
+ /** @internal */
11
+ export declare const InputModality$inboundSchema: z.ZodType<InputModality, unknown>;
12
+ /** @internal */
13
+ export declare const InputModality$outboundSchema: z.ZodType<InputModality, InputModality>;
14
+ /**
15
+ * @internal
16
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
17
+ */
18
+ export declare namespace InputModality$ {
19
+ /** @deprecated use `InputModality$inboundSchema` instead. */
20
+ const inboundSchema: z.ZodType<InputModality, unknown, z.core.$ZodTypeInternals<InputModality, unknown>>;
21
+ /** @deprecated use `InputModality$outboundSchema` instead. */
22
+ const outboundSchema: z.ZodType<InputModality, InputModality, z.core.$ZodTypeInternals<InputModality, InputModality>>;
23
+ }
24
+ //# sourceMappingURL=inputmodality.d.ts.map
@@ -0,0 +1,34 @@
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 InputModality = {
7
+ Text: "text",
8
+ Image: "image",
9
+ File: "file",
10
+ Audio: "audio",
11
+ };
12
+ /** @internal */
13
+ export const InputModality$inboundSchema = z
14
+ .union([
15
+ z.enum(InputModality),
16
+ z.string().transform(catchUnrecognizedEnum),
17
+ ]);
18
+ /** @internal */
19
+ export const InputModality$outboundSchema = z.union([
20
+ z.enum(InputModality),
21
+ z.string().and(z.custom()),
22
+ ]);
23
+ /**
24
+ * @internal
25
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
26
+ */
27
+ export var InputModality$;
28
+ (function (InputModality$) {
29
+ /** @deprecated use `InputModality$inboundSchema` instead. */
30
+ InputModality$.inboundSchema = InputModality$inboundSchema;
31
+ /** @deprecated use `InputModality$outboundSchema` instead. */
32
+ InputModality$.outboundSchema = InputModality$outboundSchema;
33
+ })(InputModality$ || (InputModality$ = {}));
34
+ //# sourceMappingURL=inputmodality.js.map