@openrouter/sdk 0.0.1-beta.5 → 0.0.1-beta.7

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 (253) hide show
  1. package/jsr.json +1 -1
  2. package/lib/base64.d.ts +3 -3
  3. package/lib/base64.js +1 -1
  4. package/lib/config.d.ts +3 -3
  5. package/lib/config.js +3 -3
  6. package/lib/env.d.ts +2 -2
  7. package/lib/env.js +1 -1
  8. package/lib/schemas.d.ts +6 -4
  9. package/lib/schemas.js +1 -1
  10. package/models/activityitem.d.ts +5 -5
  11. package/models/activityitem.js +3 -2
  12. package/models/assistantmessage.d.ts +9 -9
  13. package/models/assistantmessage.js +1 -1
  14. package/models/chatcompletionfinishreason.d.ts +5 -5
  15. package/models/chatcompletionfinishreason.js +3 -3
  16. package/models/chaterror.d.ts +9 -9
  17. package/models/chaterror.js +9 -4
  18. package/models/chatgenerationparams.d.ts +33 -33
  19. package/models/chatgenerationparams.js +7 -7
  20. package/models/chatgenerationtokenusage.d.ts +13 -13
  21. package/models/chatgenerationtokenusage.js +1 -1
  22. package/models/chatmessagecontentitem.d.ts +5 -5
  23. package/models/chatmessagecontentitem.js +1 -1
  24. package/models/chatmessagecontentitemaudio.d.ts +13 -13
  25. package/models/chatmessagecontentitemaudio.js +5 -4
  26. package/models/chatmessagecontentitemimage.d.ts +13 -13
  27. package/models/chatmessagecontentitemimage.js +5 -4
  28. package/models/chatmessagecontentitemtext.d.ts +5 -5
  29. package/models/chatmessagecontentitemtext.js +1 -1
  30. package/models/chatmessagetokenlogprob.d.ts +9 -9
  31. package/models/chatmessagetokenlogprob.js +1 -1
  32. package/models/chatmessagetokenlogprobs.d.ts +5 -5
  33. package/models/chatmessagetokenlogprobs.js +1 -1
  34. package/models/chatmessagetoolcall.d.ts +9 -9
  35. package/models/chatmessagetoolcall.js +1 -1
  36. package/models/chatresponse.d.ts +5 -5
  37. package/models/chatresponse.js +3 -2
  38. package/models/chatresponsechoice.d.ts +5 -5
  39. package/models/chatresponsechoice.js +1 -1
  40. package/models/chatstreamingchoice.d.ts +5 -5
  41. package/models/chatstreamingchoice.js +1 -1
  42. package/models/chatstreamingmessagechunk.d.ts +9 -9
  43. package/models/chatstreamingmessagechunk.js +2 -2
  44. package/models/chatstreamingmessagetoolcall.d.ts +9 -9
  45. package/models/chatstreamingmessagetoolcall.js +1 -1
  46. package/models/chatstreamingresponsechunk.d.ts +13 -13
  47. package/models/chatstreamingresponsechunk.js +3 -5
  48. package/models/chatstreamoptions.d.ts +5 -5
  49. package/models/chatstreamoptions.js +1 -1
  50. package/models/completionchoice.d.ts +9 -9
  51. package/models/completionchoice.js +3 -3
  52. package/models/completioncreateparams.d.ts +33 -33
  53. package/models/completioncreateparams.js +10 -9
  54. package/models/completionlogprobs.d.ts +5 -5
  55. package/models/completionlogprobs.js +3 -3
  56. package/models/completionresponse.d.ts +5 -5
  57. package/models/completionresponse.js +1 -1
  58. package/models/completionusage.d.ts +5 -5
  59. package/models/completionusage.js +1 -1
  60. package/models/createchargerequest.d.ts +5 -5
  61. package/models/createchargerequest.js +1 -1
  62. package/models/errorresponse.d.ts +13 -13
  63. package/models/errorresponse.js +7 -6
  64. package/models/errors/chaterror.d.ts +5 -5
  65. package/models/errors/chaterror.js +4 -4
  66. package/models/errors/errorresponse.d.ts +5 -5
  67. package/models/errors/errorresponse.js +6 -5
  68. package/models/errors/listproviders.d.ts +5 -5
  69. package/models/errors/listproviders.js +4 -4
  70. package/models/errors/responsevalidationerror.js +1 -1
  71. package/models/errors/sdkvalidationerror.d.ts +2 -2
  72. package/models/errors/sdkvalidationerror.js +3 -50
  73. package/models/filecitationannotation.d.ts +9 -9
  74. package/models/filecitationannotation.js +2 -2
  75. package/models/filepathannotation.d.ts +9 -9
  76. package/models/filepathannotation.js +2 -2
  77. package/models/imagegenerationstatus.d.ts +5 -5
  78. package/models/imagegenerationstatus.js +3 -3
  79. package/models/index.d.ts +7 -0
  80. package/models/index.js +7 -0
  81. package/models/jsonschemaconfig.d.ts +5 -5
  82. package/models/jsonschemaconfig.js +3 -3
  83. package/models/listendpointsresponse.d.ts +5 -5
  84. package/models/listendpointsresponse.js +1 -1
  85. package/models/message.d.ts +13 -13
  86. package/models/message.js +3 -2
  87. package/models/modelscountresponse.d.ts +5 -5
  88. package/models/modelscountresponse.js +1 -1
  89. package/models/modelslistresponse.d.ts +5 -5
  90. package/models/modelslistresponse.js +1 -1
  91. package/models/namedtoolchoice.d.ts +9 -9
  92. package/models/namedtoolchoice.js +1 -1
  93. package/models/openresponseseasyinputmessage.d.ts +33 -33
  94. package/models/openresponseseasyinputmessage.js +6 -9
  95. package/models/openresponsesformatjsonobject.d.ts +9 -9
  96. package/models/openresponsesformatjsonobject.js +2 -2
  97. package/models/openresponsesformatjsonschema.d.ts +9 -9
  98. package/models/openresponsesformatjsonschema.js +4 -4
  99. package/models/openresponsesformattext.d.ts +9 -9
  100. package/models/openresponsesformattext.js +2 -2
  101. package/models/openresponsesformattextconfig.d.ts +5 -5
  102. package/models/openresponsesformattextconfig.js +1 -1
  103. package/models/openresponsesfunctioncalloutput.d.ts +9 -9
  104. package/models/openresponsesfunctioncalloutput.js +2 -2
  105. package/models/openresponsesfunctiontoolcall.d.ts +9 -9
  106. package/models/openresponsesfunctiontoolcall.js +2 -2
  107. package/models/openresponsesinput.d.ts +5 -5
  108. package/models/openresponsesinput.js +1 -1
  109. package/models/openresponsesinputcontent.d.ts +5 -5
  110. package/models/openresponsesinputcontent.js +1 -1
  111. package/models/openresponsesinputfile.d.ts +9 -9
  112. package/models/openresponsesinputfile.js +2 -2
  113. package/models/openresponsesinputimage.d.ts +13 -13
  114. package/models/openresponsesinputimage.js +4 -4
  115. package/models/openresponsesinputitem.d.ts +13 -466
  116. package/models/openresponsesinputitem.js +19 -467
  117. package/models/openresponsesinputmessageitem.d.ts +25 -25
  118. package/models/openresponsesinputmessageitem.js +5 -7
  119. package/models/openresponsesinputtext.d.ts +9 -9
  120. package/models/openresponsesinputtext.js +2 -2
  121. package/models/openresponseslogprobs.d.ts +9 -9
  122. package/models/openresponseslogprobs.js +1 -1
  123. package/models/openresponsesnonstreamingresponse.d.ts +29 -29
  124. package/models/openresponsesnonstreamingresponse.js +17 -17
  125. package/models/openresponsesoutputtext.d.ts +13 -13
  126. package/models/openresponsesoutputtext.js +2 -2
  127. package/models/openresponsesprompt.d.ts +5 -5
  128. package/models/openresponsesprompt.js +3 -5
  129. package/models/openresponsesreasoning.d.ts +13 -13
  130. package/models/openresponsesreasoning.js +4 -4
  131. package/models/openresponsesreasoningconfig.d.ts +9 -9
  132. package/models/openresponsesreasoningconfig.js +3 -3
  133. package/models/openresponsesrefusalcontent.d.ts +9 -9
  134. package/models/openresponsesrefusalcontent.js +2 -2
  135. package/models/openresponsesrequest.d.ts +5 -5
  136. package/models/openresponsesrequest.js +1 -1
  137. package/models/openresponsesstreamevent.d.ts +233 -233
  138. package/models/openresponsesstreamevent.js +42 -43
  139. package/models/openresponsestextconfig.d.ts +9 -9
  140. package/models/openresponsestextconfig.js +5 -4
  141. package/models/openresponsestoolchoice.d.ts +25 -25
  142. package/models/openresponsestoolchoice.js +5 -5
  143. package/models/openresponsestoolunion.d.ts +13 -13
  144. package/models/openresponsestoolunion.js +4 -4
  145. package/models/openresponseswebsearch20250826tool.d.ts +13 -13
  146. package/models/openresponseswebsearch20250826tool.js +2 -2
  147. package/models/openresponseswebsearchpreview20250311tool.d.ts +18 -72
  148. package/models/openresponseswebsearchpreview20250311tool.js +18 -66
  149. package/models/openresponseswebsearchpreviewtool.d.ts +18 -72
  150. package/models/openresponseswebsearchpreviewtool.js +18 -67
  151. package/models/openresponseswebsearchtool.d.ts +13 -13
  152. package/models/openresponseswebsearchtool.js +2 -2
  153. package/models/operations/createapialpharesponses.d.ts +9 -9
  154. package/models/operations/createapialpharesponses.js +2 -3
  155. package/models/operations/createcoinbasecharge.d.ts +29 -29
  156. package/models/operations/createcoinbasecharge.js +7 -4
  157. package/models/operations/createkeys.d.ts +17 -17
  158. package/models/operations/createkeys.js +3 -3
  159. package/models/operations/deletekeys.d.ts +9 -9
  160. package/models/operations/deletekeys.js +1 -1
  161. package/models/operations/getcredits.d.ts +5 -5
  162. package/models/operations/getcredits.js +1 -1
  163. package/models/operations/getcurrentkey.d.ts +13 -13
  164. package/models/operations/getcurrentkey.js +1 -1
  165. package/models/operations/getgeneration.d.ts +17 -17
  166. package/models/operations/getgeneration.js +3 -3
  167. package/models/operations/getkey.d.ts +13 -13
  168. package/models/operations/getkey.js +5 -3
  169. package/models/operations/getmodels.d.ts +9 -9
  170. package/models/operations/getmodels.js +1 -1
  171. package/models/operations/getparameters.d.ts +25 -25
  172. package/models/operations/getparameters.js +5 -5
  173. package/models/operations/getuseractivity.d.ts +9 -9
  174. package/models/operations/getuseractivity.js +1 -1
  175. package/models/operations/list.d.ts +13 -13
  176. package/models/operations/list.js +7 -4
  177. package/models/operations/listendpoints.d.ts +9 -9
  178. package/models/operations/listendpoints.js +1 -1
  179. package/models/operations/listendpointszdr.d.ts +9 -9
  180. package/models/operations/listendpointszdr.js +1 -1
  181. package/models/operations/listmodelscount.d.ts +5 -5
  182. package/models/operations/listmodelscount.js +1 -1
  183. package/models/operations/listmodelsuser.d.ts +9 -9
  184. package/models/operations/listmodelsuser.js +1 -1
  185. package/models/operations/listproviders.d.ts +13 -13
  186. package/models/operations/listproviders.js +4 -4
  187. package/models/operations/sendchatcompletionrequest.d.ts +5 -5
  188. package/models/operations/sendchatcompletionrequest.js +2 -3
  189. package/models/operations/updatekeys.d.ts +21 -21
  190. package/models/operations/updatekeys.js +3 -3
  191. package/models/outputtextcontent.d.ts +13 -13
  192. package/models/outputtextcontent.js +2 -2
  193. package/models/publicendpoint.d.ts +5 -5
  194. package/models/publicendpoint.js +1 -1
  195. package/models/reasoningsummarytext.d.ts +9 -9
  196. package/models/reasoningsummarytext.js +2 -2
  197. package/models/reasoningsummaryverbosity.d.ts +5 -5
  198. package/models/reasoningsummaryverbosity.js +3 -3
  199. package/models/reasoningtextcontent.d.ts +9 -9
  200. package/models/reasoningtextcontent.js +2 -2
  201. package/models/refusalcontent.d.ts +9 -9
  202. package/models/refusalcontent.js +2 -2
  203. package/models/responseformatjsonschema.d.ts +5 -5
  204. package/models/responseformatjsonschema.js +1 -1
  205. package/models/responseformattextgrammar.d.ts +5 -5
  206. package/models/responseformattextgrammar.js +1 -1
  207. package/models/responseserrorfield.d.ts +9 -9
  208. package/models/responseserrorfield.js +3 -3
  209. package/models/responsesimagegenerationcall.d.ts +58 -0
  210. package/models/responsesimagegenerationcall.js +55 -0
  211. package/models/responsesoutputitem.d.ts +13 -466
  212. package/models/responsesoutputitem.js +19 -465
  213. package/models/responsesoutputitemfilesearchcall.d.ts +58 -0
  214. package/models/responsesoutputitemfilesearchcall.js +55 -0
  215. package/models/responsesoutputitemfunctioncall.d.ts +59 -0
  216. package/models/responsesoutputitemfunctioncall.js +65 -0
  217. package/models/responsesoutputitemreasoning.d.ts +61 -0
  218. package/models/responsesoutputitemreasoning.js +67 -0
  219. package/models/responsesoutputmessage.d.ts +191 -0
  220. package/models/responsesoutputmessage.js +189 -0
  221. package/models/responsessearchcontextsize.d.ts +5 -5
  222. package/models/responsessearchcontextsize.js +3 -3
  223. package/models/responsesusage.d.ts +17 -17
  224. package/models/responsesusage.js +3 -2
  225. package/models/responseswebsearchcalloutput.d.ts +56 -0
  226. package/models/responseswebsearchcalloutput.js +53 -0
  227. package/models/responseswebsearchuserlocation.d.ts +9 -9
  228. package/models/responseswebsearchuserlocation.js +2 -2
  229. package/models/security.d.ts +5 -5
  230. package/models/security.js +3 -2
  231. package/models/systemmessage.d.ts +9 -9
  232. package/models/systemmessage.js +3 -2
  233. package/models/tool.d.ts +9 -9
  234. package/models/tool.js +6 -6
  235. package/models/toolcallstatus.d.ts +5 -5
  236. package/models/toolcallstatus.js +3 -3
  237. package/models/toolchoicetypes.d.ts +29 -29
  238. package/models/toolchoicetypes.js +8 -9
  239. package/models/toolresponsemessage.d.ts +9 -9
  240. package/models/toolresponsemessage.js +1 -1
  241. package/models/urlcitationannotation.d.ts +9 -9
  242. package/models/urlcitationannotation.js +2 -2
  243. package/models/usermessage.d.ts +9 -9
  244. package/models/usermessage.js +7 -3
  245. package/models/websearchpreviewtooluserlocation.d.ts +59 -0
  246. package/models/websearchpreviewtooluserlocation.js +56 -0
  247. package/models/websearchstatus.d.ts +5 -5
  248. package/models/websearchstatus.js +3 -3
  249. package/package.json +1 -1
  250. package/types/blobs.d.ts +2 -2
  251. package/types/blobs.js +2 -2
  252. package/types/constdatetime.d.ts +2 -2
  253. package/types/constdatetime.js +1 -1
@@ -1,4 +1,4 @@
1
- import * as z from "zod/v3";
1
+ import * as z from "zod/v4";
2
2
  import { Result as SafeParseResult } from "../../types/fp.js";
3
3
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
4
  import * as models from "../index.js";
@@ -10,7 +10,7 @@ export type GetModelsRequest = {
10
10
  };
11
11
  export type GetModelsResponse = models.ErrorResponse | models.ModelsListResponse | string;
12
12
  /** @internal */
13
- export declare const GetModelsRequest$inboundSchema: z.ZodType<GetModelsRequest, z.ZodTypeDef, unknown>;
13
+ export declare const GetModelsRequest$inboundSchema: z.ZodType<GetModelsRequest, unknown>;
14
14
  /** @internal */
15
15
  export type GetModelsRequest$Outbound = {
16
16
  category?: string | undefined;
@@ -19,36 +19,36 @@ export type GetModelsRequest$Outbound = {
19
19
  use_rss_chat_links?: string | undefined;
20
20
  };
21
21
  /** @internal */
22
- export declare const GetModelsRequest$outboundSchema: z.ZodType<GetModelsRequest$Outbound, z.ZodTypeDef, GetModelsRequest>;
22
+ export declare const GetModelsRequest$outboundSchema: z.ZodType<GetModelsRequest$Outbound, GetModelsRequest>;
23
23
  /**
24
24
  * @internal
25
25
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
26
26
  */
27
27
  export declare namespace GetModelsRequest$ {
28
28
  /** @deprecated use `GetModelsRequest$inboundSchema` instead. */
29
- const inboundSchema: z.ZodType<GetModelsRequest, z.ZodTypeDef, unknown>;
29
+ const inboundSchema: z.ZodType<GetModelsRequest, unknown, z.core.$ZodTypeInternals<GetModelsRequest, unknown>>;
30
30
  /** @deprecated use `GetModelsRequest$outboundSchema` instead. */
31
- const outboundSchema: z.ZodType<GetModelsRequest$Outbound, z.ZodTypeDef, GetModelsRequest>;
31
+ const outboundSchema: z.ZodType<GetModelsRequest$Outbound, GetModelsRequest, z.core.$ZodTypeInternals<GetModelsRequest$Outbound, GetModelsRequest>>;
32
32
  /** @deprecated use `GetModelsRequest$Outbound` instead. */
33
33
  type Outbound = GetModelsRequest$Outbound;
34
34
  }
35
35
  export declare function getModelsRequestToJSON(getModelsRequest: GetModelsRequest): string;
36
36
  export declare function getModelsRequestFromJSON(jsonString: string): SafeParseResult<GetModelsRequest, SDKValidationError>;
37
37
  /** @internal */
38
- export declare const GetModelsResponse$inboundSchema: z.ZodType<GetModelsResponse, z.ZodTypeDef, unknown>;
38
+ export declare const GetModelsResponse$inboundSchema: z.ZodType<GetModelsResponse, unknown>;
39
39
  /** @internal */
40
40
  export type GetModelsResponse$Outbound = models.ErrorResponse$Outbound | models.ModelsListResponse$Outbound | string;
41
41
  /** @internal */
42
- export declare const GetModelsResponse$outboundSchema: z.ZodType<GetModelsResponse$Outbound, z.ZodTypeDef, GetModelsResponse>;
42
+ export declare const GetModelsResponse$outboundSchema: z.ZodType<GetModelsResponse$Outbound, GetModelsResponse>;
43
43
  /**
44
44
  * @internal
45
45
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
46
46
  */
47
47
  export declare namespace GetModelsResponse$ {
48
48
  /** @deprecated use `GetModelsResponse$inboundSchema` instead. */
49
- const inboundSchema: z.ZodType<GetModelsResponse, z.ZodTypeDef, unknown>;
49
+ const inboundSchema: z.ZodType<GetModelsResponse, unknown, z.core.$ZodTypeInternals<GetModelsResponse, unknown>>;
50
50
  /** @deprecated use `GetModelsResponse$outboundSchema` instead. */
51
- const outboundSchema: z.ZodType<GetModelsResponse$Outbound, z.ZodTypeDef, GetModelsResponse>;
51
+ const outboundSchema: z.ZodType<GetModelsResponse$Outbound, GetModelsResponse, z.core.$ZodTypeInternals<GetModelsResponse$Outbound, GetModelsResponse>>;
52
52
  /** @deprecated use `GetModelsResponse$Outbound` instead. */
53
53
  type Outbound = GetModelsResponse$Outbound;
54
54
  }
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
- import * as z from "zod/v3";
4
+ import * as z from "zod/v4";
5
5
  import { remap as remap$ } from "../../lib/primitives.js";
6
6
  import { safeParse } from "../../lib/schemas.js";
7
7
  import * as models from "../index.js";
@@ -1,4 +1,4 @@
1
- import * as z from "zod/v3";
1
+ 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";
@@ -129,43 +129,43 @@ export type GetParametersResponse = {
129
129
  data: GetParametersData;
130
130
  };
131
131
  /** @internal */
132
- export declare const GetParametersSecurity$inboundSchema: z.ZodType<GetParametersSecurity, z.ZodTypeDef, unknown>;
132
+ export declare const GetParametersSecurity$inboundSchema: z.ZodType<GetParametersSecurity, unknown>;
133
133
  /** @internal */
134
134
  export type GetParametersSecurity$Outbound = {
135
135
  bearer: string;
136
136
  };
137
137
  /** @internal */
138
- export declare const GetParametersSecurity$outboundSchema: z.ZodType<GetParametersSecurity$Outbound, z.ZodTypeDef, GetParametersSecurity>;
138
+ export declare const GetParametersSecurity$outboundSchema: z.ZodType<GetParametersSecurity$Outbound, GetParametersSecurity>;
139
139
  /**
140
140
  * @internal
141
141
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
142
142
  */
143
143
  export declare namespace GetParametersSecurity$ {
144
144
  /** @deprecated use `GetParametersSecurity$inboundSchema` instead. */
145
- const inboundSchema: z.ZodType<GetParametersSecurity, z.ZodTypeDef, unknown>;
145
+ const inboundSchema: z.ZodType<GetParametersSecurity, unknown, z.core.$ZodTypeInternals<GetParametersSecurity, unknown>>;
146
146
  /** @deprecated use `GetParametersSecurity$outboundSchema` instead. */
147
- const outboundSchema: z.ZodType<GetParametersSecurity$Outbound, z.ZodTypeDef, GetParametersSecurity>;
147
+ const outboundSchema: z.ZodType<GetParametersSecurity$Outbound, GetParametersSecurity, z.core.$ZodTypeInternals<GetParametersSecurity$Outbound, GetParametersSecurity>>;
148
148
  /** @deprecated use `GetParametersSecurity$Outbound` instead. */
149
149
  type Outbound = GetParametersSecurity$Outbound;
150
150
  }
151
151
  export declare function getParametersSecurityToJSON(getParametersSecurity: GetParametersSecurity): string;
152
152
  export declare function getParametersSecurityFromJSON(jsonString: string): SafeParseResult<GetParametersSecurity, SDKValidationError>;
153
153
  /** @internal */
154
- export declare const Provider$inboundSchema: z.ZodType<Provider, z.ZodTypeDef, unknown>;
154
+ export declare const Provider$inboundSchema: z.ZodType<Provider, unknown>;
155
155
  /** @internal */
156
- export declare const Provider$outboundSchema: z.ZodType<Provider, z.ZodTypeDef, Provider>;
156
+ export declare const Provider$outboundSchema: z.ZodType<Provider, Provider>;
157
157
  /**
158
158
  * @internal
159
159
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
160
160
  */
161
161
  export declare namespace Provider$ {
162
162
  /** @deprecated use `Provider$inboundSchema` instead. */
163
- const inboundSchema: z.ZodType<Provider, z.ZodTypeDef, unknown>;
163
+ const inboundSchema: z.ZodType<Provider, unknown, z.core.$ZodTypeInternals<Provider, unknown>>;
164
164
  /** @deprecated use `Provider$outboundSchema` instead. */
165
- const outboundSchema: z.ZodType<Provider, z.ZodTypeDef, Provider>;
165
+ const outboundSchema: z.ZodType<Provider, Provider, z.core.$ZodTypeInternals<Provider, Provider>>;
166
166
  }
167
167
  /** @internal */
168
- export declare const GetParametersRequest$inboundSchema: z.ZodType<GetParametersRequest, z.ZodTypeDef, unknown>;
168
+ export declare const GetParametersRequest$inboundSchema: z.ZodType<GetParametersRequest, unknown>;
169
169
  /** @internal */
170
170
  export type GetParametersRequest$Outbound = {
171
171
  author: string;
@@ -173,75 +173,75 @@ export type GetParametersRequest$Outbound = {
173
173
  provider?: string | undefined;
174
174
  };
175
175
  /** @internal */
176
- export declare const GetParametersRequest$outboundSchema: z.ZodType<GetParametersRequest$Outbound, z.ZodTypeDef, GetParametersRequest>;
176
+ export declare const GetParametersRequest$outboundSchema: z.ZodType<GetParametersRequest$Outbound, GetParametersRequest>;
177
177
  /**
178
178
  * @internal
179
179
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
180
180
  */
181
181
  export declare namespace GetParametersRequest$ {
182
182
  /** @deprecated use `GetParametersRequest$inboundSchema` instead. */
183
- const inboundSchema: z.ZodType<GetParametersRequest, z.ZodTypeDef, unknown>;
183
+ const inboundSchema: z.ZodType<GetParametersRequest, unknown, z.core.$ZodTypeInternals<GetParametersRequest, unknown>>;
184
184
  /** @deprecated use `GetParametersRequest$outboundSchema` instead. */
185
- const outboundSchema: z.ZodType<GetParametersRequest$Outbound, z.ZodTypeDef, GetParametersRequest>;
185
+ const outboundSchema: z.ZodType<GetParametersRequest$Outbound, GetParametersRequest, z.core.$ZodTypeInternals<GetParametersRequest$Outbound, GetParametersRequest>>;
186
186
  /** @deprecated use `GetParametersRequest$Outbound` instead. */
187
187
  type Outbound = GetParametersRequest$Outbound;
188
188
  }
189
189
  export declare function getParametersRequestToJSON(getParametersRequest: GetParametersRequest): string;
190
190
  export declare function getParametersRequestFromJSON(jsonString: string): SafeParseResult<GetParametersRequest, SDKValidationError>;
191
191
  /** @internal */
192
- export declare const SupportedParameter$inboundSchema: z.ZodType<SupportedParameter, z.ZodTypeDef, unknown>;
192
+ export declare const SupportedParameter$inboundSchema: z.ZodType<SupportedParameter, unknown>;
193
193
  /** @internal */
194
- export declare const SupportedParameter$outboundSchema: z.ZodType<SupportedParameter, z.ZodTypeDef, SupportedParameter>;
194
+ export declare const SupportedParameter$outboundSchema: z.ZodType<SupportedParameter, SupportedParameter>;
195
195
  /**
196
196
  * @internal
197
197
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
198
198
  */
199
199
  export declare namespace SupportedParameter$ {
200
200
  /** @deprecated use `SupportedParameter$inboundSchema` instead. */
201
- const inboundSchema: z.ZodType<SupportedParameter, z.ZodTypeDef, unknown>;
201
+ const inboundSchema: z.ZodType<SupportedParameter, unknown, z.core.$ZodTypeInternals<SupportedParameter, unknown>>;
202
202
  /** @deprecated use `SupportedParameter$outboundSchema` instead. */
203
- const outboundSchema: z.ZodType<SupportedParameter, z.ZodTypeDef, SupportedParameter>;
203
+ const outboundSchema: z.ZodType<SupportedParameter, SupportedParameter, z.core.$ZodTypeInternals<SupportedParameter, SupportedParameter>>;
204
204
  }
205
205
  /** @internal */
206
- export declare const GetParametersData$inboundSchema: z.ZodType<GetParametersData, z.ZodTypeDef, unknown>;
206
+ export declare const GetParametersData$inboundSchema: z.ZodType<GetParametersData, unknown>;
207
207
  /** @internal */
208
208
  export type GetParametersData$Outbound = {
209
209
  model: string;
210
210
  supported_parameters: Array<string>;
211
211
  };
212
212
  /** @internal */
213
- export declare const GetParametersData$outboundSchema: z.ZodType<GetParametersData$Outbound, z.ZodTypeDef, GetParametersData>;
213
+ export declare const GetParametersData$outboundSchema: z.ZodType<GetParametersData$Outbound, GetParametersData>;
214
214
  /**
215
215
  * @internal
216
216
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
217
217
  */
218
218
  export declare namespace GetParametersData$ {
219
219
  /** @deprecated use `GetParametersData$inboundSchema` instead. */
220
- const inboundSchema: z.ZodType<GetParametersData, z.ZodTypeDef, unknown>;
220
+ const inboundSchema: z.ZodType<GetParametersData, unknown, z.core.$ZodTypeInternals<GetParametersData, unknown>>;
221
221
  /** @deprecated use `GetParametersData$outboundSchema` instead. */
222
- const outboundSchema: z.ZodType<GetParametersData$Outbound, z.ZodTypeDef, GetParametersData>;
222
+ const outboundSchema: z.ZodType<GetParametersData$Outbound, GetParametersData, z.core.$ZodTypeInternals<GetParametersData$Outbound, GetParametersData>>;
223
223
  /** @deprecated use `GetParametersData$Outbound` instead. */
224
224
  type Outbound = GetParametersData$Outbound;
225
225
  }
226
226
  export declare function getParametersDataToJSON(getParametersData: GetParametersData): string;
227
227
  export declare function getParametersDataFromJSON(jsonString: string): SafeParseResult<GetParametersData, SDKValidationError>;
228
228
  /** @internal */
229
- export declare const GetParametersResponse$inboundSchema: z.ZodType<GetParametersResponse, z.ZodTypeDef, unknown>;
229
+ export declare const GetParametersResponse$inboundSchema: z.ZodType<GetParametersResponse, unknown>;
230
230
  /** @internal */
231
231
  export type GetParametersResponse$Outbound = {
232
232
  data: GetParametersData$Outbound;
233
233
  };
234
234
  /** @internal */
235
- export declare const GetParametersResponse$outboundSchema: z.ZodType<GetParametersResponse$Outbound, z.ZodTypeDef, GetParametersResponse>;
235
+ export declare const GetParametersResponse$outboundSchema: z.ZodType<GetParametersResponse$Outbound, GetParametersResponse>;
236
236
  /**
237
237
  * @internal
238
238
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
239
239
  */
240
240
  export declare namespace GetParametersResponse$ {
241
241
  /** @deprecated use `GetParametersResponse$inboundSchema` instead. */
242
- const inboundSchema: z.ZodType<GetParametersResponse, z.ZodTypeDef, unknown>;
242
+ const inboundSchema: z.ZodType<GetParametersResponse, unknown, z.core.$ZodTypeInternals<GetParametersResponse, unknown>>;
243
243
  /** @deprecated use `GetParametersResponse$outboundSchema` instead. */
244
- const outboundSchema: z.ZodType<GetParametersResponse$Outbound, z.ZodTypeDef, GetParametersResponse>;
244
+ const outboundSchema: z.ZodType<GetParametersResponse$Outbound, GetParametersResponse, z.core.$ZodTypeInternals<GetParametersResponse$Outbound, GetParametersResponse>>;
245
245
  /** @deprecated use `GetParametersResponse$Outbound` instead. */
246
246
  type Outbound = GetParametersResponse$Outbound;
247
247
  }
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
- import * as z from "zod/v3";
4
+ import * as z from "zod/v4";
5
5
  import { remap as remap$ } from "../../lib/primitives.js";
6
6
  import { safeParse } from "../../lib/schemas.js";
7
7
  import { catchUnrecognizedEnum, } from "../../types/enums.js";
@@ -127,12 +127,12 @@ export function getParametersSecurityFromJSON(jsonString) {
127
127
  /** @internal */
128
128
  export const Provider$inboundSchema = z
129
129
  .union([
130
- z.nativeEnum(Provider),
130
+ z.enum(Provider),
131
131
  z.string().transform(catchUnrecognizedEnum),
132
132
  ]);
133
133
  /** @internal */
134
134
  export const Provider$outboundSchema = z.union([
135
- z.nativeEnum(Provider),
135
+ z.enum(Provider),
136
136
  z.string().and(z.custom()),
137
137
  ]);
138
138
  /**
@@ -178,12 +178,12 @@ export function getParametersRequestFromJSON(jsonString) {
178
178
  /** @internal */
179
179
  export const SupportedParameter$inboundSchema = z
180
180
  .union([
181
- z.nativeEnum(SupportedParameter),
181
+ z.enum(SupportedParameter),
182
182
  z.string().transform(catchUnrecognizedEnum),
183
183
  ]);
184
184
  /** @internal */
185
185
  export const SupportedParameter$outboundSchema = z.union([
186
- z.nativeEnum(SupportedParameter),
186
+ z.enum(SupportedParameter),
187
187
  z.string().and(z.custom()),
188
188
  ]);
189
189
  /**
@@ -1,4 +1,4 @@
1
- import * as z from "zod/v3";
1
+ import * as z from "zod/v4";
2
2
  import { Result as SafeParseResult } from "../../types/fp.js";
3
3
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
4
  import * as models from "../index.js";
@@ -18,44 +18,44 @@ export type GetUserActivityResponse = {
18
18
  data: Array<models.ActivityItem>;
19
19
  };
20
20
  /** @internal */
21
- export declare const GetUserActivityRequest$inboundSchema: z.ZodType<GetUserActivityRequest, z.ZodTypeDef, unknown>;
21
+ export declare const GetUserActivityRequest$inboundSchema: z.ZodType<GetUserActivityRequest, unknown>;
22
22
  /** @internal */
23
23
  export type GetUserActivityRequest$Outbound = {
24
24
  date?: string | undefined;
25
25
  };
26
26
  /** @internal */
27
- export declare const GetUserActivityRequest$outboundSchema: z.ZodType<GetUserActivityRequest$Outbound, z.ZodTypeDef, GetUserActivityRequest>;
27
+ export declare const GetUserActivityRequest$outboundSchema: z.ZodType<GetUserActivityRequest$Outbound, GetUserActivityRequest>;
28
28
  /**
29
29
  * @internal
30
30
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
31
31
  */
32
32
  export declare namespace GetUserActivityRequest$ {
33
33
  /** @deprecated use `GetUserActivityRequest$inboundSchema` instead. */
34
- const inboundSchema: z.ZodType<GetUserActivityRequest, z.ZodTypeDef, unknown>;
34
+ const inboundSchema: z.ZodType<GetUserActivityRequest, unknown, z.core.$ZodTypeInternals<GetUserActivityRequest, unknown>>;
35
35
  /** @deprecated use `GetUserActivityRequest$outboundSchema` instead. */
36
- const outboundSchema: z.ZodType<GetUserActivityRequest$Outbound, z.ZodTypeDef, GetUserActivityRequest>;
36
+ const outboundSchema: z.ZodType<GetUserActivityRequest$Outbound, GetUserActivityRequest, z.core.$ZodTypeInternals<GetUserActivityRequest$Outbound, GetUserActivityRequest>>;
37
37
  /** @deprecated use `GetUserActivityRequest$Outbound` instead. */
38
38
  type Outbound = GetUserActivityRequest$Outbound;
39
39
  }
40
40
  export declare function getUserActivityRequestToJSON(getUserActivityRequest: GetUserActivityRequest): string;
41
41
  export declare function getUserActivityRequestFromJSON(jsonString: string): SafeParseResult<GetUserActivityRequest, SDKValidationError>;
42
42
  /** @internal */
43
- export declare const GetUserActivityResponse$inboundSchema: z.ZodType<GetUserActivityResponse, z.ZodTypeDef, unknown>;
43
+ export declare const GetUserActivityResponse$inboundSchema: z.ZodType<GetUserActivityResponse, unknown>;
44
44
  /** @internal */
45
45
  export type GetUserActivityResponse$Outbound = {
46
46
  data: Array<models.ActivityItem$Outbound>;
47
47
  };
48
48
  /** @internal */
49
- export declare const GetUserActivityResponse$outboundSchema: z.ZodType<GetUserActivityResponse$Outbound, z.ZodTypeDef, GetUserActivityResponse>;
49
+ export declare const GetUserActivityResponse$outboundSchema: z.ZodType<GetUserActivityResponse$Outbound, GetUserActivityResponse>;
50
50
  /**
51
51
  * @internal
52
52
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
53
53
  */
54
54
  export declare namespace GetUserActivityResponse$ {
55
55
  /** @deprecated use `GetUserActivityResponse$inboundSchema` instead. */
56
- const inboundSchema: z.ZodType<GetUserActivityResponse, z.ZodTypeDef, unknown>;
56
+ const inboundSchema: z.ZodType<GetUserActivityResponse, unknown, z.core.$ZodTypeInternals<GetUserActivityResponse, unknown>>;
57
57
  /** @deprecated use `GetUserActivityResponse$outboundSchema` instead. */
58
- const outboundSchema: z.ZodType<GetUserActivityResponse$Outbound, z.ZodTypeDef, GetUserActivityResponse>;
58
+ const outboundSchema: z.ZodType<GetUserActivityResponse$Outbound, GetUserActivityResponse, z.core.$ZodTypeInternals<GetUserActivityResponse$Outbound, GetUserActivityResponse>>;
59
59
  /** @deprecated use `GetUserActivityResponse$Outbound` instead. */
60
60
  type Outbound = GetUserActivityResponse$Outbound;
61
61
  }
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
- import * as z from "zod/v3";
4
+ import * as z from "zod/v4";
5
5
  import { safeParse } from "../../lib/schemas.js";
6
6
  import * as models from "../index.js";
7
7
  /** @internal */
@@ -1,4 +1,4 @@
1
- import * as z from "zod/v3";
1
+ import * as z from "zod/v4";
2
2
  import { Result as SafeParseResult } from "../../types/fp.js";
3
3
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
4
  export type ListRequest = {
@@ -95,30 +95,30 @@ export type ListResponse = {
95
95
  data: Array<ListData>;
96
96
  };
97
97
  /** @internal */
98
- export declare const ListRequest$inboundSchema: z.ZodType<ListRequest, z.ZodTypeDef, unknown>;
98
+ export declare const ListRequest$inboundSchema: z.ZodType<ListRequest, unknown>;
99
99
  /** @internal */
100
100
  export type ListRequest$Outbound = {
101
101
  include_disabled?: string | undefined;
102
102
  offset?: string | undefined;
103
103
  };
104
104
  /** @internal */
105
- export declare const ListRequest$outboundSchema: z.ZodType<ListRequest$Outbound, z.ZodTypeDef, ListRequest>;
105
+ export declare const ListRequest$outboundSchema: z.ZodType<ListRequest$Outbound, ListRequest>;
106
106
  /**
107
107
  * @internal
108
108
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
109
109
  */
110
110
  export declare namespace ListRequest$ {
111
111
  /** @deprecated use `ListRequest$inboundSchema` instead. */
112
- const inboundSchema: z.ZodType<ListRequest, z.ZodTypeDef, unknown>;
112
+ const inboundSchema: z.ZodType<ListRequest, unknown, z.core.$ZodTypeInternals<ListRequest, unknown>>;
113
113
  /** @deprecated use `ListRequest$outboundSchema` instead. */
114
- const outboundSchema: z.ZodType<ListRequest$Outbound, z.ZodTypeDef, ListRequest>;
114
+ const outboundSchema: z.ZodType<ListRequest$Outbound, ListRequest, z.core.$ZodTypeInternals<ListRequest$Outbound, ListRequest>>;
115
115
  /** @deprecated use `ListRequest$Outbound` instead. */
116
116
  type Outbound = ListRequest$Outbound;
117
117
  }
118
118
  export declare function listRequestToJSON(listRequest: ListRequest): string;
119
119
  export declare function listRequestFromJSON(jsonString: string): SafeParseResult<ListRequest, SDKValidationError>;
120
120
  /** @internal */
121
- export declare const ListData$inboundSchema: z.ZodType<ListData, z.ZodTypeDef, unknown>;
121
+ export declare const ListData$inboundSchema: z.ZodType<ListData, unknown>;
122
122
  /** @internal */
123
123
  export type ListData$Outbound = {
124
124
  hash: string;
@@ -141,38 +141,38 @@ export type ListData$Outbound = {
141
141
  updated_at: string | null;
142
142
  };
143
143
  /** @internal */
144
- export declare const ListData$outboundSchema: z.ZodType<ListData$Outbound, z.ZodTypeDef, ListData>;
144
+ export declare const ListData$outboundSchema: z.ZodType<ListData$Outbound, ListData>;
145
145
  /**
146
146
  * @internal
147
147
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
148
148
  */
149
149
  export declare namespace ListData$ {
150
150
  /** @deprecated use `ListData$inboundSchema` instead. */
151
- const inboundSchema: z.ZodType<ListData, z.ZodTypeDef, unknown>;
151
+ const inboundSchema: z.ZodType<ListData, unknown, z.core.$ZodTypeInternals<ListData, unknown>>;
152
152
  /** @deprecated use `ListData$outboundSchema` instead. */
153
- const outboundSchema: z.ZodType<ListData$Outbound, z.ZodTypeDef, ListData>;
153
+ const outboundSchema: z.ZodType<ListData$Outbound, ListData, z.core.$ZodTypeInternals<ListData$Outbound, ListData>>;
154
154
  /** @deprecated use `ListData$Outbound` instead. */
155
155
  type Outbound = ListData$Outbound;
156
156
  }
157
157
  export declare function listDataToJSON(listData: ListData): string;
158
158
  export declare function listDataFromJSON(jsonString: string): SafeParseResult<ListData, SDKValidationError>;
159
159
  /** @internal */
160
- export declare const ListResponse$inboundSchema: z.ZodType<ListResponse, z.ZodTypeDef, unknown>;
160
+ export declare const ListResponse$inboundSchema: z.ZodType<ListResponse, unknown>;
161
161
  /** @internal */
162
162
  export type ListResponse$Outbound = {
163
163
  data: Array<ListData$Outbound>;
164
164
  };
165
165
  /** @internal */
166
- export declare const ListResponse$outboundSchema: z.ZodType<ListResponse$Outbound, z.ZodTypeDef, ListResponse>;
166
+ export declare const ListResponse$outboundSchema: z.ZodType<ListResponse$Outbound, ListResponse>;
167
167
  /**
168
168
  * @internal
169
169
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
170
170
  */
171
171
  export declare namespace ListResponse$ {
172
172
  /** @deprecated use `ListResponse$inboundSchema` instead. */
173
- const inboundSchema: z.ZodType<ListResponse, z.ZodTypeDef, unknown>;
173
+ const inboundSchema: z.ZodType<ListResponse, unknown, z.core.$ZodTypeInternals<ListResponse, unknown>>;
174
174
  /** @deprecated use `ListResponse$outboundSchema` instead. */
175
- const outboundSchema: z.ZodType<ListResponse$Outbound, z.ZodTypeDef, ListResponse>;
175
+ const outboundSchema: z.ZodType<ListResponse$Outbound, ListResponse, z.core.$ZodTypeInternals<ListResponse$Outbound, ListResponse>>;
176
176
  /** @deprecated use `ListResponse$Outbound` instead. */
177
177
  type Outbound = ListResponse$Outbound;
178
178
  }
@@ -1,11 +1,12 @@
1
1
  /*
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
- import * as z from "zod/v3";
4
+ import * as z from "zod/v4";
5
5
  import { remap as remap$ } from "../../lib/primitives.js";
6
6
  import { safeParse } from "../../lib/schemas.js";
7
7
  /** @internal */
8
- export const ListRequest$inboundSchema = z.object({
8
+ export const ListRequest$inboundSchema = z
9
+ .object({
9
10
  include_disabled: z.string().optional(),
10
11
  offset: z.string().optional(),
11
12
  }).transform((v) => {
@@ -76,7 +77,8 @@ export const ListData$inboundSchema = z.object({
76
77
  });
77
78
  });
78
79
  /** @internal */
79
- export const ListData$outboundSchema = z.object({
80
+ export const ListData$outboundSchema = z
81
+ .object({
80
82
  hash: z.string(),
81
83
  name: z.string(),
82
84
  label: z.string(),
@@ -129,7 +131,8 @@ export function listDataFromJSON(jsonString) {
129
131
  return safeParse(jsonString, (x) => ListData$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListData' from JSON`);
130
132
  }
131
133
  /** @internal */
132
- export const ListResponse$inboundSchema = z.object({
134
+ export const ListResponse$inboundSchema = z
135
+ .object({
133
136
  data: z.array(z.lazy(() => ListData$inboundSchema)),
134
137
  });
135
138
  /** @internal */
@@ -1,4 +1,4 @@
1
- import * as z from "zod/v3";
1
+ import * as z from "zod/v4";
2
2
  import { Result as SafeParseResult } from "../../types/fp.js";
3
3
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
4
  import * as models from "../index.js";
@@ -16,45 +16,45 @@ export type ListEndpointsResponse = {
16
16
  data: models.ListEndpointsResponse;
17
17
  };
18
18
  /** @internal */
19
- export declare const ListEndpointsRequest$inboundSchema: z.ZodType<ListEndpointsRequest, z.ZodTypeDef, unknown>;
19
+ export declare const ListEndpointsRequest$inboundSchema: z.ZodType<ListEndpointsRequest, unknown>;
20
20
  /** @internal */
21
21
  export type ListEndpointsRequest$Outbound = {
22
22
  author: string;
23
23
  slug: string;
24
24
  };
25
25
  /** @internal */
26
- export declare const ListEndpointsRequest$outboundSchema: z.ZodType<ListEndpointsRequest$Outbound, z.ZodTypeDef, ListEndpointsRequest>;
26
+ export declare const ListEndpointsRequest$outboundSchema: z.ZodType<ListEndpointsRequest$Outbound, ListEndpointsRequest>;
27
27
  /**
28
28
  * @internal
29
29
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
30
30
  */
31
31
  export declare namespace ListEndpointsRequest$ {
32
32
  /** @deprecated use `ListEndpointsRequest$inboundSchema` instead. */
33
- const inboundSchema: z.ZodType<ListEndpointsRequest, z.ZodTypeDef, unknown>;
33
+ const inboundSchema: z.ZodType<ListEndpointsRequest, unknown, z.core.$ZodTypeInternals<ListEndpointsRequest, unknown>>;
34
34
  /** @deprecated use `ListEndpointsRequest$outboundSchema` instead. */
35
- const outboundSchema: z.ZodType<ListEndpointsRequest$Outbound, z.ZodTypeDef, ListEndpointsRequest>;
35
+ const outboundSchema: z.ZodType<ListEndpointsRequest$Outbound, ListEndpointsRequest, z.core.$ZodTypeInternals<ListEndpointsRequest$Outbound, ListEndpointsRequest>>;
36
36
  /** @deprecated use `ListEndpointsRequest$Outbound` instead. */
37
37
  type Outbound = ListEndpointsRequest$Outbound;
38
38
  }
39
39
  export declare function listEndpointsRequestToJSON(listEndpointsRequest: ListEndpointsRequest): string;
40
40
  export declare function listEndpointsRequestFromJSON(jsonString: string): SafeParseResult<ListEndpointsRequest, SDKValidationError>;
41
41
  /** @internal */
42
- export declare const ListEndpointsResponse$inboundSchema: z.ZodType<ListEndpointsResponse, z.ZodTypeDef, unknown>;
42
+ export declare const ListEndpointsResponse$inboundSchema: z.ZodType<ListEndpointsResponse, unknown>;
43
43
  /** @internal */
44
44
  export type ListEndpointsResponse$Outbound = {
45
45
  data: models.ListEndpointsResponse$Outbound;
46
46
  };
47
47
  /** @internal */
48
- export declare const ListEndpointsResponse$outboundSchema: z.ZodType<ListEndpointsResponse$Outbound, z.ZodTypeDef, ListEndpointsResponse>;
48
+ export declare const ListEndpointsResponse$outboundSchema: z.ZodType<ListEndpointsResponse$Outbound, ListEndpointsResponse>;
49
49
  /**
50
50
  * @internal
51
51
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
52
52
  */
53
53
  export declare namespace ListEndpointsResponse$ {
54
54
  /** @deprecated use `ListEndpointsResponse$inboundSchema` instead. */
55
- const inboundSchema: z.ZodType<ListEndpointsResponse, z.ZodTypeDef, unknown>;
55
+ const inboundSchema: z.ZodType<ListEndpointsResponse, unknown, z.core.$ZodTypeInternals<ListEndpointsResponse, unknown>>;
56
56
  /** @deprecated use `ListEndpointsResponse$outboundSchema` instead. */
57
- const outboundSchema: z.ZodType<ListEndpointsResponse$Outbound, z.ZodTypeDef, ListEndpointsResponse>;
57
+ const outboundSchema: z.ZodType<ListEndpointsResponse$Outbound, ListEndpointsResponse, z.core.$ZodTypeInternals<ListEndpointsResponse$Outbound, ListEndpointsResponse>>;
58
58
  /** @deprecated use `ListEndpointsResponse$Outbound` instead. */
59
59
  type Outbound = ListEndpointsResponse$Outbound;
60
60
  }
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
- import * as z from "zod/v3";
4
+ import * as z from "zod/v4";
5
5
  import { safeParse } from "../../lib/schemas.js";
6
6
  import * as models from "../index.js";
7
7
  /** @internal */
@@ -1,4 +1,4 @@
1
- import * as z from "zod/v3";
1
+ import * as z from "zod/v4";
2
2
  import { Result as SafeParseResult } from "../../types/fp.js";
3
3
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
4
  import * as models from "../index.js";
@@ -10,42 +10,42 @@ export type ListEndpointsZdrResponseBody = {
10
10
  };
11
11
  export type ListEndpointsZdrResponse = ListEndpointsZdrResponseBody | models.ErrorResponse;
12
12
  /** @internal */
13
- export declare const ListEndpointsZdrResponseBody$inboundSchema: z.ZodType<ListEndpointsZdrResponseBody, z.ZodTypeDef, unknown>;
13
+ export declare const ListEndpointsZdrResponseBody$inboundSchema: z.ZodType<ListEndpointsZdrResponseBody, unknown>;
14
14
  /** @internal */
15
15
  export type ListEndpointsZdrResponseBody$Outbound = {
16
16
  data: Array<models.PublicEndpoint$Outbound>;
17
17
  };
18
18
  /** @internal */
19
- export declare const ListEndpointsZdrResponseBody$outboundSchema: z.ZodType<ListEndpointsZdrResponseBody$Outbound, z.ZodTypeDef, ListEndpointsZdrResponseBody>;
19
+ export declare const ListEndpointsZdrResponseBody$outboundSchema: z.ZodType<ListEndpointsZdrResponseBody$Outbound, ListEndpointsZdrResponseBody>;
20
20
  /**
21
21
  * @internal
22
22
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
23
23
  */
24
24
  export declare namespace ListEndpointsZdrResponseBody$ {
25
25
  /** @deprecated use `ListEndpointsZdrResponseBody$inboundSchema` instead. */
26
- const inboundSchema: z.ZodType<ListEndpointsZdrResponseBody, z.ZodTypeDef, unknown>;
26
+ const inboundSchema: z.ZodType<ListEndpointsZdrResponseBody, unknown, z.core.$ZodTypeInternals<ListEndpointsZdrResponseBody, unknown>>;
27
27
  /** @deprecated use `ListEndpointsZdrResponseBody$outboundSchema` instead. */
28
- const outboundSchema: z.ZodType<ListEndpointsZdrResponseBody$Outbound, z.ZodTypeDef, ListEndpointsZdrResponseBody>;
28
+ const outboundSchema: z.ZodType<ListEndpointsZdrResponseBody$Outbound, ListEndpointsZdrResponseBody, z.core.$ZodTypeInternals<ListEndpointsZdrResponseBody$Outbound, ListEndpointsZdrResponseBody>>;
29
29
  /** @deprecated use `ListEndpointsZdrResponseBody$Outbound` instead. */
30
30
  type Outbound = ListEndpointsZdrResponseBody$Outbound;
31
31
  }
32
32
  export declare function listEndpointsZdrResponseBodyToJSON(listEndpointsZdrResponseBody: ListEndpointsZdrResponseBody): string;
33
33
  export declare function listEndpointsZdrResponseBodyFromJSON(jsonString: string): SafeParseResult<ListEndpointsZdrResponseBody, SDKValidationError>;
34
34
  /** @internal */
35
- export declare const ListEndpointsZdrResponse$inboundSchema: z.ZodType<ListEndpointsZdrResponse, z.ZodTypeDef, unknown>;
35
+ export declare const ListEndpointsZdrResponse$inboundSchema: z.ZodType<ListEndpointsZdrResponse, unknown>;
36
36
  /** @internal */
37
37
  export type ListEndpointsZdrResponse$Outbound = ListEndpointsZdrResponseBody$Outbound | models.ErrorResponse$Outbound;
38
38
  /** @internal */
39
- export declare const ListEndpointsZdrResponse$outboundSchema: z.ZodType<ListEndpointsZdrResponse$Outbound, z.ZodTypeDef, ListEndpointsZdrResponse>;
39
+ export declare const ListEndpointsZdrResponse$outboundSchema: z.ZodType<ListEndpointsZdrResponse$Outbound, ListEndpointsZdrResponse>;
40
40
  /**
41
41
  * @internal
42
42
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
43
43
  */
44
44
  export declare namespace ListEndpointsZdrResponse$ {
45
45
  /** @deprecated use `ListEndpointsZdrResponse$inboundSchema` instead. */
46
- const inboundSchema: z.ZodType<ListEndpointsZdrResponse, z.ZodTypeDef, unknown>;
46
+ const inboundSchema: z.ZodType<ListEndpointsZdrResponse, unknown, z.core.$ZodTypeInternals<ListEndpointsZdrResponse, unknown>>;
47
47
  /** @deprecated use `ListEndpointsZdrResponse$outboundSchema` instead. */
48
- const outboundSchema: z.ZodType<ListEndpointsZdrResponse$Outbound, z.ZodTypeDef, ListEndpointsZdrResponse>;
48
+ const outboundSchema: z.ZodType<ListEndpointsZdrResponse$Outbound, ListEndpointsZdrResponse, z.core.$ZodTypeInternals<ListEndpointsZdrResponse$Outbound, ListEndpointsZdrResponse>>;
49
49
  /** @deprecated use `ListEndpointsZdrResponse$Outbound` instead. */
50
50
  type Outbound = ListEndpointsZdrResponse$Outbound;
51
51
  }
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
- import * as z from "zod/v3";
4
+ import * as z from "zod/v4";
5
5
  import { safeParse } from "../../lib/schemas.js";
6
6
  import * as models from "../index.js";
7
7
  /** @internal */
@@ -1,23 +1,23 @@
1
- import * as z from "zod/v3";
1
+ import * as z from "zod/v4";
2
2
  import { Result as SafeParseResult } from "../../types/fp.js";
3
3
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
4
  import * as models from "../index.js";
5
5
  export type ListModelsCountResponse = models.ErrorResponse | models.ModelsCountResponse;
6
6
  /** @internal */
7
- export declare const ListModelsCountResponse$inboundSchema: z.ZodType<ListModelsCountResponse, z.ZodTypeDef, unknown>;
7
+ export declare const ListModelsCountResponse$inboundSchema: z.ZodType<ListModelsCountResponse, unknown>;
8
8
  /** @internal */
9
9
  export type ListModelsCountResponse$Outbound = models.ErrorResponse$Outbound | models.ModelsCountResponse$Outbound;
10
10
  /** @internal */
11
- export declare const ListModelsCountResponse$outboundSchema: z.ZodType<ListModelsCountResponse$Outbound, z.ZodTypeDef, ListModelsCountResponse>;
11
+ export declare const ListModelsCountResponse$outboundSchema: z.ZodType<ListModelsCountResponse$Outbound, ListModelsCountResponse>;
12
12
  /**
13
13
  * @internal
14
14
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
15
15
  */
16
16
  export declare namespace ListModelsCountResponse$ {
17
17
  /** @deprecated use `ListModelsCountResponse$inboundSchema` instead. */
18
- const inboundSchema: z.ZodType<ListModelsCountResponse, z.ZodTypeDef, unknown>;
18
+ const inboundSchema: z.ZodType<ListModelsCountResponse, unknown, z.core.$ZodTypeInternals<ListModelsCountResponse, unknown>>;
19
19
  /** @deprecated use `ListModelsCountResponse$outboundSchema` instead. */
20
- const outboundSchema: z.ZodType<ListModelsCountResponse$Outbound, z.ZodTypeDef, ListModelsCountResponse>;
20
+ const outboundSchema: z.ZodType<ListModelsCountResponse$Outbound, ListModelsCountResponse, z.core.$ZodTypeInternals<ListModelsCountResponse$Outbound, ListModelsCountResponse>>;
21
21
  /** @deprecated use `ListModelsCountResponse$Outbound` instead. */
22
22
  type Outbound = ListModelsCountResponse$Outbound;
23
23
  }
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
- import * as z from "zod/v3";
4
+ import * as z from "zod/v4";
5
5
  import { safeParse } from "../../lib/schemas.js";
6
6
  import * as models from "../index.js";
7
7
  /** @internal */