@orq-ai/node 4.0.0-rc.31 → 4.0.0-rc.33

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 (160) hide show
  1. package/README.md +1 -1
  2. package/bin/mcp-server.js +538 -526
  3. package/bin/mcp-server.js.map +53 -53
  4. package/docs/sdks/deployments/README.md +43 -43
  5. package/examples/package-lock.json +1 -1
  6. package/funcs/deploymentsInvoke.d.ts +1 -1
  7. package/funcs/deploymentsInvoke.d.ts.map +1 -1
  8. package/funcs/deploymentsInvoke.js +1 -1
  9. package/funcs/deploymentsInvoke.js.map +1 -1
  10. package/jsr.json +1 -1
  11. package/lib/config.d.ts +2 -2
  12. package/lib/config.js +2 -2
  13. package/mcp-server/mcp-server.js +1 -1
  14. package/mcp-server/server.js +2 -2
  15. package/mcp-server/server.js.map +1 -1
  16. package/mcp-server/tools/deploymentsInvoke.d.ts +1 -1
  17. package/mcp-server/tools/deploymentsInvoke.js +1 -1
  18. package/mcp-server/tools/deploymentsInvoke.js.map +1 -1
  19. package/models/components/index.d.ts +1 -1
  20. package/models/components/index.d.ts.map +1 -1
  21. package/models/components/index.js +1 -1
  22. package/models/components/index.js.map +1 -1
  23. package/models/components/{deployments.d.ts → invokedeploymentrequest.d.ts} +280 -266
  24. package/models/components/invokedeploymentrequest.d.ts.map +1 -0
  25. package/models/components/{deployments.js → invokedeploymentrequest.js} +377 -363
  26. package/models/components/invokedeploymentrequest.js.map +1 -0
  27. package/models/operations/createbudget.js +2 -2
  28. package/models/operations/createcontact.js +2 -2
  29. package/models/operations/createdataset.js +2 -2
  30. package/models/operations/createdatasetitem.js +8 -8
  31. package/models/operations/createdatasource.js +2 -2
  32. package/models/operations/createeval.js +28 -28
  33. package/models/operations/createprompt.d.ts +2 -0
  34. package/models/operations/createprompt.d.ts.map +1 -1
  35. package/models/operations/createprompt.js +2 -0
  36. package/models/operations/createprompt.js.map +1 -1
  37. package/models/operations/createtool.js +10 -10
  38. package/models/operations/deploymentgetconfig.d.ts +42 -32
  39. package/models/operations/deploymentgetconfig.d.ts.map +1 -1
  40. package/models/operations/deploymentgetconfig.js +42 -42
  41. package/models/operations/deploymentgetconfig.js.map +1 -1
  42. package/models/operations/deploymentinvoke.d.ts +15 -15
  43. package/models/operations/deploymentinvoke.d.ts.map +1 -1
  44. package/models/operations/deploymentinvoke.js +17 -17
  45. package/models/operations/deploymentinvoke.js.map +1 -1
  46. package/models/operations/deployments.d.ts +1 -0
  47. package/models/operations/deployments.d.ts.map +1 -1
  48. package/models/operations/deployments.js +1 -0
  49. package/models/operations/deployments.js.map +1 -1
  50. package/models/operations/deploymentstream.d.ts +41 -32
  51. package/models/operations/deploymentstream.d.ts.map +1 -1
  52. package/models/operations/deploymentstream.js +42 -41
  53. package/models/operations/deploymentstream.js.map +1 -1
  54. package/models/operations/duplicatetool.js +10 -10
  55. package/models/operations/fileget.js +2 -2
  56. package/models/operations/filelist.js +2 -2
  57. package/models/operations/fileupload.js +2 -2
  58. package/models/operations/getallprompts.d.ts +1 -0
  59. package/models/operations/getallprompts.d.ts.map +1 -1
  60. package/models/operations/getallprompts.js +1 -0
  61. package/models/operations/getallprompts.js.map +1 -1
  62. package/models/operations/getalltools.js +10 -10
  63. package/models/operations/getbudget.js +2 -2
  64. package/models/operations/getevals.js +28 -28
  65. package/models/operations/getoneprompt.d.ts +1 -0
  66. package/models/operations/getoneprompt.d.ts.map +1 -1
  67. package/models/operations/getoneprompt.js +1 -0
  68. package/models/operations/getoneprompt.js.map +1 -1
  69. package/models/operations/getpromptversion.d.ts +1 -0
  70. package/models/operations/getpromptversion.d.ts.map +1 -1
  71. package/models/operations/getpromptversion.js +1 -0
  72. package/models/operations/getpromptversion.js.map +1 -1
  73. package/models/operations/listbudgets.js +2 -2
  74. package/models/operations/listcontacts.js +2 -2
  75. package/models/operations/listdatasetdatapoints.js +8 -8
  76. package/models/operations/listdatasets.js +2 -2
  77. package/models/operations/listdatasources.js +2 -2
  78. package/models/operations/listpromptversions.d.ts +1 -0
  79. package/models/operations/listpromptversions.d.ts.map +1 -1
  80. package/models/operations/listpromptversions.js +1 -0
  81. package/models/operations/listpromptversions.js.map +1 -1
  82. package/models/operations/retrievecontact.js +2 -2
  83. package/models/operations/retrievedatapoint.js +8 -8
  84. package/models/operations/retrievedataset.js +2 -2
  85. package/models/operations/retrievedatasource.js +2 -2
  86. package/models/operations/retrievetool.js +10 -10
  87. package/models/operations/searchknowledge.d.ts +41 -32
  88. package/models/operations/searchknowledge.d.ts.map +1 -1
  89. package/models/operations/searchknowledge.js +40 -40
  90. package/models/operations/searchknowledge.js.map +1 -1
  91. package/models/operations/syncmcptool.js +10 -10
  92. package/models/operations/updatebudget.js +2 -2
  93. package/models/operations/updatecontact.js +2 -2
  94. package/models/operations/updatedatapoint.js +8 -8
  95. package/models/operations/updatedataset.js +2 -2
  96. package/models/operations/updatedatasource.js +2 -2
  97. package/models/operations/updateeval.js +28 -28
  98. package/models/operations/updateprompt.d.ts +2 -0
  99. package/models/operations/updateprompt.d.ts.map +1 -1
  100. package/models/operations/updateprompt.js +2 -0
  101. package/models/operations/updateprompt.js.map +1 -1
  102. package/models/operations/updatetool.js +10 -10
  103. package/package.json +1 -1
  104. package/sdk/deployments.d.ts +7 -7
  105. package/sdk/deployments.d.ts.map +1 -1
  106. package/sdk/deployments.js +9 -9
  107. package/sdk/deployments.js.map +1 -1
  108. package/src/funcs/deploymentsInvoke.ts +3 -3
  109. package/src/lib/config.ts +2 -2
  110. package/src/mcp-server/mcp-server.ts +1 -1
  111. package/src/mcp-server/server.ts +2 -2
  112. package/src/mcp-server/tools/deploymentsInvoke.ts +1 -1
  113. package/src/models/components/index.ts +1 -1
  114. package/src/models/components/{deployments.ts → invokedeploymentrequest.ts} +822 -728
  115. package/src/models/operations/createbudget.ts +2 -2
  116. package/src/models/operations/createcontact.ts +2 -2
  117. package/src/models/operations/createdataset.ts +2 -2
  118. package/src/models/operations/createdatasetitem.ts +8 -8
  119. package/src/models/operations/createdatasource.ts +2 -2
  120. package/src/models/operations/createeval.ts +28 -28
  121. package/src/models/operations/createprompt.ts +2 -0
  122. package/src/models/operations/createtool.ts +10 -10
  123. package/src/models/operations/deploymentgetconfig.ts +78 -66
  124. package/src/models/operations/deploymentinvoke.ts +35 -35
  125. package/src/models/operations/deployments.ts +1 -0
  126. package/src/models/operations/deploymentstream.ts +80 -78
  127. package/src/models/operations/duplicatetool.ts +10 -10
  128. package/src/models/operations/fileget.ts +2 -2
  129. package/src/models/operations/filelist.ts +2 -2
  130. package/src/models/operations/fileupload.ts +2 -2
  131. package/src/models/operations/getallprompts.ts +1 -0
  132. package/src/models/operations/getalltools.ts +10 -10
  133. package/src/models/operations/getbudget.ts +2 -2
  134. package/src/models/operations/getevals.ts +28 -28
  135. package/src/models/operations/getoneprompt.ts +1 -0
  136. package/src/models/operations/getpromptversion.ts +1 -0
  137. package/src/models/operations/listbudgets.ts +2 -2
  138. package/src/models/operations/listcontacts.ts +2 -2
  139. package/src/models/operations/listdatasetdatapoints.ts +8 -8
  140. package/src/models/operations/listdatasets.ts +2 -2
  141. package/src/models/operations/listdatasources.ts +2 -2
  142. package/src/models/operations/listpromptversions.ts +1 -0
  143. package/src/models/operations/retrievecontact.ts +2 -2
  144. package/src/models/operations/retrievedatapoint.ts +8 -8
  145. package/src/models/operations/retrievedataset.ts +2 -2
  146. package/src/models/operations/retrievedatasource.ts +2 -2
  147. package/src/models/operations/retrievetool.ts +10 -10
  148. package/src/models/operations/searchknowledge.ts +79 -70
  149. package/src/models/operations/syncmcptool.ts +10 -10
  150. package/src/models/operations/updatebudget.ts +2 -2
  151. package/src/models/operations/updatecontact.ts +2 -2
  152. package/src/models/operations/updatedatapoint.ts +8 -8
  153. package/src/models/operations/updatedataset.ts +2 -2
  154. package/src/models/operations/updatedatasource.ts +2 -2
  155. package/src/models/operations/updateeval.ts +28 -28
  156. package/src/models/operations/updateprompt.ts +2 -0
  157. package/src/models/operations/updatetool.ts +10 -10
  158. package/src/sdk/deployments.ts +17 -17
  159. package/models/components/deployments.d.ts.map +0 -1
  160. package/models/components/deployments.js.map +0 -1
@@ -12,26 +12,28 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
12
12
  /**
13
13
  * The role of the messages author, in this case tool.
14
14
  */
15
- export const DeploymentsPrefixMessages5Role = {
15
+ export const InvokeDeploymentRequestPrefixMessages5Role = {
16
16
  Tool: "tool",
17
17
  } as const;
18
18
  /**
19
19
  * The role of the messages author, in this case tool.
20
20
  */
21
- export type DeploymentsPrefixMessages5Role = ClosedEnum<
22
- typeof DeploymentsPrefixMessages5Role
21
+ export type InvokeDeploymentRequestPrefixMessages5Role = ClosedEnum<
22
+ typeof InvokeDeploymentRequestPrefixMessages5Role
23
23
  >;
24
24
 
25
25
  /**
26
26
  * The contents of the tool message.
27
27
  */
28
- export type DeploymentsPrefixMessagesContent = string | Array<string>;
28
+ export type InvokeDeploymentRequestPrefixMessagesContent =
29
+ | string
30
+ | Array<string>;
29
31
 
30
32
  export type ToolMessage = {
31
33
  /**
32
34
  * The role of the messages author, in this case tool.
33
35
  */
34
- role: DeploymentsPrefixMessages5Role;
36
+ role: InvokeDeploymentRequestPrefixMessages5Role;
35
37
  /**
36
38
  * The contents of the tool message.
37
39
  */
@@ -45,21 +47,21 @@ export type ToolMessage = {
45
47
  /**
46
48
  * The type of the content part.
47
49
  */
48
- export const Deployments2PrefixMessages4ContentType = {
50
+ export const InvokeDeploymentRequest2PrefixMessages4ContentType = {
49
51
  Refusal: "refusal",
50
52
  } as const;
51
53
  /**
52
54
  * The type of the content part.
53
55
  */
54
- export type Deployments2PrefixMessages4ContentType = ClosedEnum<
55
- typeof Deployments2PrefixMessages4ContentType
56
+ export type InvokeDeploymentRequest2PrefixMessages4ContentType = ClosedEnum<
57
+ typeof InvokeDeploymentRequest2PrefixMessages4ContentType
56
58
  >;
57
59
 
58
60
  export type RefusalContentPart = {
59
61
  /**
60
62
  * The type of the content part.
61
63
  */
62
- type: Deployments2PrefixMessages4ContentType;
64
+ type: InvokeDeploymentRequest2PrefixMessages4ContentType;
63
65
  /**
64
66
  * The refusal message generated by the model.
65
67
  */
@@ -69,21 +71,21 @@ export type RefusalContentPart = {
69
71
  /**
70
72
  * The type of the content part.
71
73
  */
72
- export const Deployments2PrefixMessages4Type = {
74
+ export const InvokeDeploymentRequest2PrefixMessages4Type = {
73
75
  Text: "text",
74
76
  } as const;
75
77
  /**
76
78
  * The type of the content part.
77
79
  */
78
- export type Deployments2PrefixMessages4Type = ClosedEnum<
79
- typeof Deployments2PrefixMessages4Type
80
+ export type InvokeDeploymentRequest2PrefixMessages4Type = ClosedEnum<
81
+ typeof InvokeDeploymentRequest2PrefixMessages4Type
80
82
  >;
81
83
 
82
- export const DeploymentsAnnotationsType = {
84
+ export const InvokeDeploymentRequestAnnotationsType = {
83
85
  FilePath: "file_path",
84
86
  } as const;
85
- export type DeploymentsAnnotationsType = ClosedEnum<
86
- typeof DeploymentsAnnotationsType
87
+ export type InvokeDeploymentRequestAnnotationsType = ClosedEnum<
88
+ typeof InvokeDeploymentRequestAnnotationsType
87
89
  >;
88
90
 
89
91
  export type FilePath = {
@@ -91,7 +93,7 @@ export type FilePath = {
91
93
  };
92
94
 
93
95
  export type Annotations2 = {
94
- type: DeploymentsAnnotationsType;
96
+ type: InvokeDeploymentRequestAnnotationsType;
95
97
  text: string;
96
98
  filePath: FilePath;
97
99
  startIndex: number;
@@ -122,7 +124,7 @@ export type TextContentPart = {
122
124
  /**
123
125
  * The type of the content part.
124
126
  */
125
- type: Deployments2PrefixMessages4Type;
127
+ type: InvokeDeploymentRequest2PrefixMessages4Type;
126
128
  /**
127
129
  * The text content.
128
130
  */
@@ -145,14 +147,14 @@ export type PrefixMessagesContent =
145
147
  /**
146
148
  * The role of the messages author, in this case `assistant`.
147
149
  */
148
- export const DeploymentsPrefixMessages4Role = {
150
+ export const InvokeDeploymentRequestPrefixMessages4Role = {
149
151
  Assistant: "assistant",
150
152
  } as const;
151
153
  /**
152
154
  * The role of the messages author, in this case `assistant`.
153
155
  */
154
- export type DeploymentsPrefixMessages4Role = ClosedEnum<
155
- typeof DeploymentsPrefixMessages4Role
156
+ export type InvokeDeploymentRequestPrefixMessages4Role = ClosedEnum<
157
+ typeof InvokeDeploymentRequestPrefixMessages4Role
156
158
  >;
157
159
 
158
160
  /**
@@ -215,7 +217,7 @@ export type AssistantMessage = {
215
217
  /**
216
218
  * The role of the messages author, in this case `assistant`.
217
219
  */
218
- role: DeploymentsPrefixMessages4Role;
220
+ role: InvokeDeploymentRequestPrefixMessages4Role;
219
221
  /**
220
222
  * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
221
223
  */
@@ -245,27 +247,27 @@ export type AssistantMessage = {
245
247
  /**
246
248
  * The role of the messages author, in this case `user`.
247
249
  */
248
- export const DeploymentsPrefixMessagesRole = {
250
+ export const InvokeDeploymentRequestPrefixMessagesRole = {
249
251
  User: "user",
250
252
  } as const;
251
253
  /**
252
254
  * The role of the messages author, in this case `user`.
253
255
  */
254
- export type DeploymentsPrefixMessagesRole = ClosedEnum<
255
- typeof DeploymentsPrefixMessagesRole
256
+ export type InvokeDeploymentRequestPrefixMessagesRole = ClosedEnum<
257
+ typeof InvokeDeploymentRequestPrefixMessagesRole
256
258
  >;
257
259
 
258
260
  /**
259
261
  * The type of the content part. Always `file`.
260
262
  */
261
- export const Deployments2PrefixMessagesType = {
263
+ export const InvokeDeploymentRequest2PrefixMessagesType = {
262
264
  File: "file",
263
265
  } as const;
264
266
  /**
265
267
  * The type of the content part. Always `file`.
266
268
  */
267
- export type Deployments2PrefixMessagesType = ClosedEnum<
268
- typeof Deployments2PrefixMessagesType
269
+ export type InvokeDeploymentRequest2PrefixMessagesType = ClosedEnum<
270
+ typeof InvokeDeploymentRequest2PrefixMessagesType
269
271
  >;
270
272
 
271
273
  /**
@@ -294,17 +296,19 @@ export type Four = {
294
296
  /**
295
297
  * The type of the content part. Always `file`.
296
298
  */
297
- type: Deployments2PrefixMessagesType;
299
+ type: InvokeDeploymentRequest2PrefixMessagesType;
298
300
  /**
299
301
  * File data for the content part. Must contain either file_data or uri, but not both.
300
302
  */
301
303
  file: FileT;
302
304
  };
303
305
 
304
- export const Deployments2Type = {
306
+ export const InvokeDeploymentRequest2Type = {
305
307
  InputAudio: "input_audio",
306
308
  } as const;
307
- export type Deployments2Type = ClosedEnum<typeof Deployments2Type>;
309
+ export type InvokeDeploymentRequest2Type = ClosedEnum<
310
+ typeof InvokeDeploymentRequest2Type
311
+ >;
308
312
 
309
313
  /**
310
314
  * The format of the encoded audio data. Currently supports `wav` and `mp3`.
@@ -329,8 +333,8 @@ export type InputAudio = {
329
333
  format: Format;
330
334
  };
331
335
 
332
- export type Deployments23 = {
333
- type: Deployments2Type;
336
+ export type Three = {
337
+ type: InvokeDeploymentRequest2Type;
334
338
  inputAudio: InputAudio;
335
339
  };
336
340
 
@@ -368,32 +372,32 @@ export type Two2 = {
368
372
  imageUrl: ImageUrl;
369
373
  };
370
374
 
371
- export const Deployments2PrefixMessages3Type = {
375
+ export const InvokeDeploymentRequest2PrefixMessages3Type = {
372
376
  Text: "text",
373
377
  } as const;
374
- export type Deployments2PrefixMessages3Type = ClosedEnum<
375
- typeof Deployments2PrefixMessages3Type
378
+ export type InvokeDeploymentRequest2PrefixMessages3Type = ClosedEnum<
379
+ typeof InvokeDeploymentRequest2PrefixMessages3Type
376
380
  >;
377
381
 
378
- export type Deployments21 = {
379
- type: Deployments2PrefixMessages3Type;
382
+ export type InvokeDeploymentRequest21 = {
383
+ type: InvokeDeploymentRequest2PrefixMessages3Type;
380
384
  text: string;
381
385
  };
382
386
 
383
- export type Two = Deployments21 | Two2 | Deployments23 | Four;
387
+ export type Two = InvokeDeploymentRequest21 | Two2 | Three | Four;
384
388
 
385
389
  /**
386
390
  * The contents of the user message.
387
391
  */
388
392
  export type Content =
389
393
  | string
390
- | Array<Deployments21 | Two2 | Deployments23 | Four>;
394
+ | Array<InvokeDeploymentRequest21 | Two2 | Three | Four>;
391
395
 
392
396
  export type UserMessage = {
393
397
  /**
394
398
  * The role of the messages author, in this case `user`.
395
399
  */
396
- role: DeploymentsPrefixMessagesRole;
400
+ role: InvokeDeploymentRequestPrefixMessagesRole;
397
401
  /**
398
402
  * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
399
403
  */
@@ -401,7 +405,7 @@ export type UserMessage = {
401
405
  /**
402
406
  * The contents of the user message.
403
407
  */
404
- content: string | Array<Deployments21 | Two2 | Deployments23 | Four>;
408
+ content: string | Array<InvokeDeploymentRequest21 | Two2 | Three | Four>;
405
409
  };
406
410
 
407
411
  /**
@@ -466,26 +470,26 @@ export type PrefixMessages =
466
470
  /**
467
471
  * The role of the messages author, in this case tool.
468
472
  */
469
- export const DeploymentsMessages5Role = {
473
+ export const InvokeDeploymentRequestMessages5Role = {
470
474
  Tool: "tool",
471
475
  } as const;
472
476
  /**
473
477
  * The role of the messages author, in this case tool.
474
478
  */
475
- export type DeploymentsMessages5Role = ClosedEnum<
476
- typeof DeploymentsMessages5Role
479
+ export type InvokeDeploymentRequestMessages5Role = ClosedEnum<
480
+ typeof InvokeDeploymentRequestMessages5Role
477
481
  >;
478
482
 
479
483
  /**
480
484
  * The contents of the tool message.
481
485
  */
482
- export type DeploymentsMessages5Content = string | Array<string>;
486
+ export type InvokeDeploymentRequestMessages5Content = string | Array<string>;
483
487
 
484
488
  export type MessagesToolMessage = {
485
489
  /**
486
490
  * The role of the messages author, in this case tool.
487
491
  */
488
- role: DeploymentsMessages5Role;
492
+ role: InvokeDeploymentRequestMessages5Role;
489
493
  /**
490
494
  * The contents of the tool message.
491
495
  */
@@ -499,21 +503,21 @@ export type MessagesToolMessage = {
499
503
  /**
500
504
  * The type of the content part.
501
505
  */
502
- export const Deployments2Messages4ContentType = {
506
+ export const InvokeDeploymentRequest2Messages4ContentType = {
503
507
  Refusal: "refusal",
504
508
  } as const;
505
509
  /**
506
510
  * The type of the content part.
507
511
  */
508
- export type Deployments2Messages4ContentType = ClosedEnum<
509
- typeof Deployments2Messages4ContentType
512
+ export type InvokeDeploymentRequest2Messages4ContentType = ClosedEnum<
513
+ typeof InvokeDeploymentRequest2Messages4ContentType
510
514
  >;
511
515
 
512
516
  export type TwoRefusalContentPart = {
513
517
  /**
514
518
  * The type of the content part.
515
519
  */
516
- type: Deployments2Messages4ContentType;
520
+ type: InvokeDeploymentRequest2Messages4ContentType;
517
521
  /**
518
522
  * The refusal message generated by the model.
519
523
  */
@@ -523,40 +527,40 @@ export type TwoRefusalContentPart = {
523
527
  /**
524
528
  * The type of the content part.
525
529
  */
526
- export const Deployments2Messages4Type = {
530
+ export const InvokeDeploymentRequest2Messages4Type = {
527
531
  Text: "text",
528
532
  } as const;
529
533
  /**
530
534
  * The type of the content part.
531
535
  */
532
- export type Deployments2Messages4Type = ClosedEnum<
533
- typeof Deployments2Messages4Type
536
+ export type InvokeDeploymentRequest2Messages4Type = ClosedEnum<
537
+ typeof InvokeDeploymentRequest2Messages4Type
534
538
  >;
535
539
 
536
- export const DeploymentsAnnotationsMessages4Type = {
540
+ export const InvokeDeploymentRequestAnnotationsMessages4Type = {
537
541
  FilePath: "file_path",
538
542
  } as const;
539
- export type DeploymentsAnnotationsMessages4Type = ClosedEnum<
540
- typeof DeploymentsAnnotationsMessages4Type
543
+ export type InvokeDeploymentRequestAnnotationsMessages4Type = ClosedEnum<
544
+ typeof InvokeDeploymentRequestAnnotationsMessages4Type
541
545
  >;
542
546
 
543
547
  export type AnnotationsFilePath = {
544
548
  fileId: string;
545
549
  };
546
550
 
547
- export type DeploymentsAnnotations2 = {
548
- type: DeploymentsAnnotationsMessages4Type;
551
+ export type InvokeDeploymentRequestAnnotations2 = {
552
+ type: InvokeDeploymentRequestAnnotationsMessages4Type;
549
553
  text: string;
550
554
  filePath: AnnotationsFilePath;
551
555
  startIndex: number;
552
556
  endIndex: number;
553
557
  };
554
558
 
555
- export const DeploymentsAnnotationsMessagesType = {
559
+ export const InvokeDeploymentRequestAnnotationsMessagesType = {
556
560
  FileCitation: "file_citation",
557
561
  } as const;
558
- export type DeploymentsAnnotationsMessagesType = ClosedEnum<
559
- typeof DeploymentsAnnotationsMessagesType
562
+ export type InvokeDeploymentRequestAnnotationsMessagesType = ClosedEnum<
563
+ typeof InvokeDeploymentRequestAnnotationsMessagesType
560
564
  >;
561
565
 
562
566
  export type AnnotationsFileCitation = {
@@ -564,21 +568,23 @@ export type AnnotationsFileCitation = {
564
568
  quote?: string | undefined;
565
569
  };
566
570
 
567
- export type DeploymentsAnnotations1 = {
568
- type: DeploymentsAnnotationsMessagesType;
571
+ export type InvokeDeploymentRequestAnnotations1 = {
572
+ type: InvokeDeploymentRequestAnnotationsMessagesType;
569
573
  text: string;
570
574
  fileCitation: AnnotationsFileCitation;
571
575
  startIndex: number;
572
576
  endIndex: number;
573
577
  };
574
578
 
575
- export type TwoAnnotations = DeploymentsAnnotations1 | DeploymentsAnnotations2;
579
+ export type TwoAnnotations =
580
+ | InvokeDeploymentRequestAnnotations1
581
+ | InvokeDeploymentRequestAnnotations2;
576
582
 
577
583
  export type TwoTextContentPart = {
578
584
  /**
579
585
  * The type of the content part.
580
586
  */
581
- type: Deployments2Messages4Type;
587
+ type: InvokeDeploymentRequest2Messages4Type;
582
588
  /**
583
589
  * The text content.
584
590
  */
@@ -587,32 +593,34 @@ export type TwoTextContentPart = {
587
593
  * Annotations for the text content.
588
594
  */
589
595
  annotations?:
590
- | Array<DeploymentsAnnotations1 | DeploymentsAnnotations2>
596
+ | Array<
597
+ InvokeDeploymentRequestAnnotations1 | InvokeDeploymentRequestAnnotations2
598
+ >
591
599
  | undefined;
592
600
  };
593
601
 
594
- export type DeploymentsContentMessages2 =
602
+ export type InvokeDeploymentRequestContentMessages2 =
595
603
  | TwoTextContentPart
596
604
  | TwoRefusalContentPart;
597
605
 
598
606
  /**
599
607
  * The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
600
608
  */
601
- export type DeploymentsMessagesContent =
609
+ export type InvokeDeploymentRequestMessagesContent =
602
610
  | string
603
611
  | Array<TwoTextContentPart | TwoRefusalContentPart>;
604
612
 
605
613
  /**
606
614
  * The role of the messages author, in this case `assistant`.
607
615
  */
608
- export const DeploymentsMessages4Role = {
616
+ export const InvokeDeploymentRequestMessages4Role = {
609
617
  Assistant: "assistant",
610
618
  } as const;
611
619
  /**
612
620
  * The role of the messages author, in this case `assistant`.
613
621
  */
614
- export type DeploymentsMessages4Role = ClosedEnum<
615
- typeof DeploymentsMessages4Role
622
+ export type InvokeDeploymentRequestMessages4Role = ClosedEnum<
623
+ typeof InvokeDeploymentRequestMessages4Role
616
624
  >;
617
625
 
618
626
  /**
@@ -675,7 +683,7 @@ export type MessagesAssistantMessage = {
675
683
  /**
676
684
  * The role of the messages author, in this case `assistant`.
677
685
  */
678
- role: DeploymentsMessages4Role;
686
+ role: InvokeDeploymentRequestMessages4Role;
679
687
  /**
680
688
  * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
681
689
  */
@@ -705,27 +713,27 @@ export type MessagesAssistantMessage = {
705
713
  /**
706
714
  * The role of the messages author, in this case `user`.
707
715
  */
708
- export const DeploymentsMessages3Role = {
716
+ export const InvokeDeploymentRequestMessages3Role = {
709
717
  User: "user",
710
718
  } as const;
711
719
  /**
712
720
  * The role of the messages author, in this case `user`.
713
721
  */
714
- export type DeploymentsMessages3Role = ClosedEnum<
715
- typeof DeploymentsMessages3Role
722
+ export type InvokeDeploymentRequestMessages3Role = ClosedEnum<
723
+ typeof InvokeDeploymentRequestMessages3Role
716
724
  >;
717
725
 
718
726
  /**
719
727
  * The type of the content part. Always `file`.
720
728
  */
721
- export const Deployments2Messages3Content4Type = {
729
+ export const InvokeDeploymentRequest2Messages3Content4Type = {
722
730
  File: "file",
723
731
  } as const;
724
732
  /**
725
733
  * The type of the content part. Always `file`.
726
734
  */
727
- export type Deployments2Messages3Content4Type = ClosedEnum<
728
- typeof Deployments2Messages3Content4Type
735
+ export type InvokeDeploymentRequest2Messages3Content4Type = ClosedEnum<
736
+ typeof InvokeDeploymentRequest2Messages3Content4Type
729
737
  >;
730
738
 
731
739
  /**
@@ -754,18 +762,18 @@ export type Two4 = {
754
762
  /**
755
763
  * The type of the content part. Always `file`.
756
764
  */
757
- type: Deployments2Messages3Content4Type;
765
+ type: InvokeDeploymentRequest2Messages3Content4Type;
758
766
  /**
759
767
  * File data for the content part. Must contain either file_data or uri, but not both.
760
768
  */
761
769
  file: TwoFile;
762
770
  };
763
771
 
764
- export const Deployments2Messages3ContentType = {
772
+ export const InvokeDeploymentRequest2Messages3ContentType = {
765
773
  InputAudio: "input_audio",
766
774
  } as const;
767
- export type Deployments2Messages3ContentType = ClosedEnum<
768
- typeof Deployments2Messages3ContentType
775
+ export type InvokeDeploymentRequest2Messages3ContentType = ClosedEnum<
776
+ typeof InvokeDeploymentRequest2Messages3ContentType
769
777
  >;
770
778
 
771
779
  /**
@@ -792,15 +800,15 @@ export type TwoInputAudio = {
792
800
  };
793
801
 
794
802
  export type Two3 = {
795
- type: Deployments2Messages3ContentType;
803
+ type: InvokeDeploymentRequest2Messages3ContentType;
796
804
  inputAudio: TwoInputAudio;
797
805
  };
798
806
 
799
- export const Deployments2Messages3Type = {
807
+ export const InvokeDeploymentRequest2Messages3Type = {
800
808
  ImageUrl: "image_url",
801
809
  } as const;
802
- export type Deployments2Messages3Type = ClosedEnum<
803
- typeof Deployments2Messages3Type
810
+ export type InvokeDeploymentRequest2Messages3Type = ClosedEnum<
811
+ typeof InvokeDeploymentRequest2Messages3Type
804
812
  >;
805
813
 
806
814
  /**
@@ -827,37 +835,41 @@ export type TwoImageUrl = {
827
835
  detail?: TwoDetail | undefined;
828
836
  };
829
837
 
830
- export type Deployments22 = {
831
- type: Deployments2Messages3Type;
838
+ export type InvokeDeploymentRequest22 = {
839
+ type: InvokeDeploymentRequest2Messages3Type;
832
840
  imageUrl: TwoImageUrl;
833
841
  };
834
842
 
835
- export const Deployments2MessagesType = {
843
+ export const InvokeDeploymentRequest2MessagesType = {
836
844
  Text: "text",
837
845
  } as const;
838
- export type Deployments2MessagesType = ClosedEnum<
839
- typeof Deployments2MessagesType
846
+ export type InvokeDeploymentRequest2MessagesType = ClosedEnum<
847
+ typeof InvokeDeploymentRequest2MessagesType
840
848
  >;
841
849
 
842
850
  export type Two1 = {
843
- type: Deployments2MessagesType;
851
+ type: InvokeDeploymentRequest2MessagesType;
844
852
  text: string;
845
853
  };
846
854
 
847
- export type DeploymentsContent2 = Two1 | Deployments22 | Two3 | Two4;
855
+ export type InvokeDeploymentRequestContent2 =
856
+ | Two1
857
+ | InvokeDeploymentRequest22
858
+ | Two3
859
+ | Two4;
848
860
 
849
861
  /**
850
862
  * The contents of the user message.
851
863
  */
852
864
  export type MessagesContent =
853
865
  | string
854
- | Array<Two1 | Deployments22 | Two3 | Two4>;
866
+ | Array<Two1 | InvokeDeploymentRequest22 | Two3 | Two4>;
855
867
 
856
868
  export type MessagesUserMessage = {
857
869
  /**
858
870
  * The role of the messages author, in this case `user`.
859
871
  */
860
- role: DeploymentsMessages3Role;
872
+ role: InvokeDeploymentRequestMessages3Role;
861
873
  /**
862
874
  * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
863
875
  */
@@ -865,27 +877,27 @@ export type MessagesUserMessage = {
865
877
  /**
866
878
  * The contents of the user message.
867
879
  */
868
- content: string | Array<Two1 | Deployments22 | Two3 | Two4>;
880
+ content: string | Array<Two1 | InvokeDeploymentRequest22 | Two3 | Two4>;
869
881
  };
870
882
 
871
883
  /**
872
884
  * The role of the messages author, in this case `system`.
873
885
  */
874
- export const DeploymentsMessagesRole = {
886
+ export const InvokeDeploymentRequestMessagesRole = {
875
887
  System: "system",
876
888
  } as const;
877
889
  /**
878
890
  * The role of the messages author, in this case `system`.
879
891
  */
880
- export type DeploymentsMessagesRole = ClosedEnum<
881
- typeof DeploymentsMessagesRole
892
+ export type InvokeDeploymentRequestMessagesRole = ClosedEnum<
893
+ typeof InvokeDeploymentRequestMessagesRole
882
894
  >;
883
895
 
884
896
  export type MessagesSystemMessage = {
885
897
  /**
886
898
  * The role of the messages author, in this case `system`.
887
899
  */
888
- role: DeploymentsMessagesRole;
900
+ role: InvokeDeploymentRequestMessagesRole;
889
901
  /**
890
902
  * The contents of the system message.
891
903
  */
@@ -992,7 +1004,7 @@ export type OrNin = string | number | boolean;
992
1004
  /**
993
1005
  * Not in
994
1006
  */
995
- export type DeploymentsOrNin = {
1007
+ export type InvokeDeploymentRequestOrNin = {
996
1008
  nin: Array<string | number | boolean>;
997
1009
  };
998
1010
 
@@ -1001,7 +1013,7 @@ export type OrIn = string | number | boolean;
1001
1013
  /**
1002
1014
  * In
1003
1015
  */
1004
- export type DeploymentsOrIn = {
1016
+ export type InvokeDeploymentRequestOrIn = {
1005
1017
  in: Array<string | number | boolean>;
1006
1018
  };
1007
1019
 
@@ -1026,7 +1038,10 @@ export type OrGte = {
1026
1038
  gte: number;
1027
1039
  };
1028
1040
 
1029
- export type Or3 = {
1041
+ /**
1042
+ * Greater than
1043
+ */
1044
+ export type OrGt = {
1030
1045
  gt: number;
1031
1046
  };
1032
1047
 
@@ -1035,7 +1050,7 @@ export type OrNe = string | number | boolean;
1035
1050
  /**
1036
1051
  * Not equal to
1037
1052
  */
1038
- export type DeploymentsOrNe = {
1053
+ export type InvokeDeploymentRequestOrNe = {
1039
1054
  ne: string | number | boolean;
1040
1055
  };
1041
1056
 
@@ -1044,19 +1059,19 @@ export type OrEq = string | number | boolean;
1044
1059
  /**
1045
1060
  * Equal to
1046
1061
  */
1047
- export type DeploymentsOrEq = {
1062
+ export type InvokeDeploymentRequestOrEq = {
1048
1063
  eq: string | number | boolean;
1049
1064
  };
1050
1065
 
1051
1066
  export type Or =
1052
- | DeploymentsOrEq
1053
- | DeploymentsOrNe
1054
- | Or3
1067
+ | InvokeDeploymentRequestOrEq
1068
+ | InvokeDeploymentRequestOrNe
1069
+ | OrGt
1055
1070
  | OrGte
1056
1071
  | OrLt
1057
1072
  | OrLte
1058
- | DeploymentsOrIn
1059
- | DeploymentsOrNin
1073
+ | InvokeDeploymentRequestOrIn
1074
+ | InvokeDeploymentRequestOrNin
1060
1075
  | OrExists;
1061
1076
 
1062
1077
  /**
@@ -1066,14 +1081,14 @@ export type KnowledgeFilterOr = {
1066
1081
  or: Array<
1067
1082
  {
1068
1083
  [k: string]:
1069
- | DeploymentsOrEq
1070
- | DeploymentsOrNe
1071
- | Or3
1084
+ | InvokeDeploymentRequestOrEq
1085
+ | InvokeDeploymentRequestOrNe
1086
+ | OrGt
1072
1087
  | OrGte
1073
1088
  | OrLt
1074
1089
  | OrLte
1075
- | DeploymentsOrIn
1076
- | DeploymentsOrNin
1090
+ | InvokeDeploymentRequestOrIn
1091
+ | InvokeDeploymentRequestOrNin
1077
1092
  | OrExists;
1078
1093
  }
1079
1094
  >;
@@ -1091,7 +1106,7 @@ export type AndNin = string | number | boolean;
1091
1106
  /**
1092
1107
  * Not in
1093
1108
  */
1094
- export type DeploymentsAndNin = {
1109
+ export type InvokeDeploymentRequestAndNin = {
1095
1110
  nin: Array<string | number | boolean>;
1096
1111
  };
1097
1112
 
@@ -1100,7 +1115,7 @@ export type AndIn = string | number | boolean;
1100
1115
  /**
1101
1116
  * In
1102
1117
  */
1103
- export type DeploymentsAndIn = {
1118
+ export type InvokeDeploymentRequestAndIn = {
1104
1119
  in: Array<string | number | boolean>;
1105
1120
  };
1106
1121
 
@@ -1125,7 +1140,10 @@ export type AndGte = {
1125
1140
  gte: number;
1126
1141
  };
1127
1142
 
1128
- export type And3 = {
1143
+ /**
1144
+ * Greater than
1145
+ */
1146
+ export type AndGt = {
1129
1147
  gt: number;
1130
1148
  };
1131
1149
 
@@ -1134,7 +1152,7 @@ export type AndNe = string | number | boolean;
1134
1152
  /**
1135
1153
  * Not equal to
1136
1154
  */
1137
- export type DeploymentsAndNe = {
1155
+ export type InvokeDeploymentRequestAndNe = {
1138
1156
  ne: string | number | boolean;
1139
1157
  };
1140
1158
 
@@ -1143,19 +1161,19 @@ export type AndEq = string | number | boolean;
1143
1161
  /**
1144
1162
  * Equal to
1145
1163
  */
1146
- export type DeploymentsAndEq = {
1164
+ export type InvokeDeploymentRequestAndEq = {
1147
1165
  eq: string | number | boolean;
1148
1166
  };
1149
1167
 
1150
1168
  export type And =
1151
- | DeploymentsAndEq
1152
- | DeploymentsAndNe
1153
- | And3
1169
+ | InvokeDeploymentRequestAndEq
1170
+ | InvokeDeploymentRequestAndNe
1171
+ | AndGt
1154
1172
  | AndGte
1155
1173
  | AndLt
1156
1174
  | AndLte
1157
- | DeploymentsAndIn
1158
- | DeploymentsAndNin
1175
+ | InvokeDeploymentRequestAndIn
1176
+ | InvokeDeploymentRequestAndNin
1159
1177
  | AndExists;
1160
1178
 
1161
1179
  /**
@@ -1165,14 +1183,14 @@ export type KnowledgeFilterAnd = {
1165
1183
  and: Array<
1166
1184
  {
1167
1185
  [k: string]:
1168
- | DeploymentsAndEq
1169
- | DeploymentsAndNe
1170
- | And3
1186
+ | InvokeDeploymentRequestAndEq
1187
+ | InvokeDeploymentRequestAndNe
1188
+ | AndGt
1171
1189
  | AndGte
1172
1190
  | AndLt
1173
1191
  | AndLte
1174
- | DeploymentsAndIn
1175
- | DeploymentsAndNin
1192
+ | InvokeDeploymentRequestAndIn
1193
+ | InvokeDeploymentRequestAndNin
1176
1194
  | AndExists;
1177
1195
  }
1178
1196
  >;
@@ -1224,7 +1242,10 @@ export type Gte = {
1224
1242
  gte: number;
1225
1243
  };
1226
1244
 
1227
- export type Three = {
1245
+ /**
1246
+ * Greater than
1247
+ */
1248
+ export type Gt = {
1228
1249
  gt: number;
1229
1250
  };
1230
1251
 
@@ -1246,32 +1267,27 @@ export type OneEq = {
1246
1267
  eq: string | number | boolean;
1247
1268
  };
1248
1269
 
1249
- export type One =
1250
- | OneEq
1251
- | OneNe
1252
- | Three
1253
- | Gte
1254
- | Lt
1255
- | Lte
1256
- | OneIn
1257
- | OneNin
1258
- | Exists;
1270
+ export type One = OneEq | OneNe | Gt | Gte | Lt | Lte | OneIn | OneNin | Exists;
1259
1271
 
1260
1272
  /**
1261
1273
  * A filter to apply to the knowledge base chunk metadata when using knowledge bases in the deployment.
1262
1274
  */
1263
1275
  export type KnowledgeFilter = KnowledgeFilterAnd | KnowledgeFilterOr | {
1264
- [k: string]: OneEq | OneNe | Three | Gte | Lt | Lte | OneIn | OneNin | Exists;
1276
+ [k: string]: OneEq | OneNe | Gt | Gte | Lt | Lte | OneIn | OneNin | Exists;
1265
1277
  };
1266
1278
 
1267
1279
  /**
1268
1280
  * The deployment request payload
1269
1281
  */
1270
- export type Deployments = {
1282
+ export type InvokeDeploymentRequest = {
1271
1283
  /**
1272
1284
  * The deployment key to invoke
1273
1285
  */
1274
1286
  key: string;
1287
+ /**
1288
+ * If set, partial message content will be sent. Tokens will be sent as data-only `server-sent events` as they become available, with the stream terminated by a `data: [DONE]` message.
1289
+ */
1290
+ stream?: boolean | undefined;
1275
1291
  /**
1276
1292
  * Key-value pairs variables to replace in your prompts. If a variable is not provided that is defined in the prompt, the default variables are used.
1277
1293
  */
@@ -1326,60 +1342,62 @@ export type Deployments = {
1326
1342
  * A filter to apply to the knowledge base chunk metadata when using knowledge bases in the deployment.
1327
1343
  */
1328
1344
  knowledgeFilter?: KnowledgeFilterAnd | KnowledgeFilterOr | {
1329
- [k: string]:
1330
- | OneEq
1331
- | OneNe
1332
- | Three
1333
- | Gte
1334
- | Lt
1335
- | Lte
1336
- | OneIn
1337
- | OneNin
1338
- | Exists;
1345
+ [k: string]: OneEq | OneNe | Gt | Gte | Lt | Lte | OneIn | OneNin | Exists;
1339
1346
  } | undefined;
1340
1347
  };
1341
1348
 
1342
1349
  /** @internal */
1343
- export const DeploymentsPrefixMessages5Role$inboundSchema: z.ZodNativeEnum<
1344
- typeof DeploymentsPrefixMessages5Role
1345
- > = z.nativeEnum(DeploymentsPrefixMessages5Role);
1350
+ export const InvokeDeploymentRequestPrefixMessages5Role$inboundSchema:
1351
+ z.ZodNativeEnum<typeof InvokeDeploymentRequestPrefixMessages5Role> = z
1352
+ .nativeEnum(InvokeDeploymentRequestPrefixMessages5Role);
1346
1353
  /** @internal */
1347
- export const DeploymentsPrefixMessages5Role$outboundSchema: z.ZodNativeEnum<
1348
- typeof DeploymentsPrefixMessages5Role
1349
- > = DeploymentsPrefixMessages5Role$inboundSchema;
1354
+ export const InvokeDeploymentRequestPrefixMessages5Role$outboundSchema:
1355
+ z.ZodNativeEnum<typeof InvokeDeploymentRequestPrefixMessages5Role> =
1356
+ InvokeDeploymentRequestPrefixMessages5Role$inboundSchema;
1350
1357
 
1351
1358
  /** @internal */
1352
- export const DeploymentsPrefixMessagesContent$inboundSchema: z.ZodType<
1353
- DeploymentsPrefixMessagesContent,
1354
- z.ZodTypeDef,
1355
- unknown
1356
- > = z.union([z.string(), z.array(z.string())]);
1359
+ export const InvokeDeploymentRequestPrefixMessagesContent$inboundSchema:
1360
+ z.ZodType<
1361
+ InvokeDeploymentRequestPrefixMessagesContent,
1362
+ z.ZodTypeDef,
1363
+ unknown
1364
+ > = z.union([z.string(), z.array(z.string())]);
1357
1365
  /** @internal */
1358
- export type DeploymentsPrefixMessagesContent$Outbound = string | Array<string>;
1366
+ export type InvokeDeploymentRequestPrefixMessagesContent$Outbound =
1367
+ | string
1368
+ | Array<string>;
1359
1369
 
1360
1370
  /** @internal */
1361
- export const DeploymentsPrefixMessagesContent$outboundSchema: z.ZodType<
1362
- DeploymentsPrefixMessagesContent$Outbound,
1363
- z.ZodTypeDef,
1364
- DeploymentsPrefixMessagesContent
1365
- > = z.union([z.string(), z.array(z.string())]);
1371
+ export const InvokeDeploymentRequestPrefixMessagesContent$outboundSchema:
1372
+ z.ZodType<
1373
+ InvokeDeploymentRequestPrefixMessagesContent$Outbound,
1374
+ z.ZodTypeDef,
1375
+ InvokeDeploymentRequestPrefixMessagesContent
1376
+ > = z.union([z.string(), z.array(z.string())]);
1366
1377
 
1367
- export function deploymentsPrefixMessagesContentToJSON(
1368
- deploymentsPrefixMessagesContent: DeploymentsPrefixMessagesContent,
1378
+ export function invokeDeploymentRequestPrefixMessagesContentToJSON(
1379
+ invokeDeploymentRequestPrefixMessagesContent:
1380
+ InvokeDeploymentRequestPrefixMessagesContent,
1369
1381
  ): string {
1370
1382
  return JSON.stringify(
1371
- DeploymentsPrefixMessagesContent$outboundSchema.parse(
1372
- deploymentsPrefixMessagesContent,
1383
+ InvokeDeploymentRequestPrefixMessagesContent$outboundSchema.parse(
1384
+ invokeDeploymentRequestPrefixMessagesContent,
1373
1385
  ),
1374
1386
  );
1375
1387
  }
1376
- export function deploymentsPrefixMessagesContentFromJSON(
1388
+ export function invokeDeploymentRequestPrefixMessagesContentFromJSON(
1377
1389
  jsonString: string,
1378
- ): SafeParseResult<DeploymentsPrefixMessagesContent, SDKValidationError> {
1390
+ ): SafeParseResult<
1391
+ InvokeDeploymentRequestPrefixMessagesContent,
1392
+ SDKValidationError
1393
+ > {
1379
1394
  return safeParse(
1380
1395
  jsonString,
1381
- (x) => DeploymentsPrefixMessagesContent$inboundSchema.parse(JSON.parse(x)),
1382
- `Failed to parse 'DeploymentsPrefixMessagesContent' from JSON`,
1396
+ (x) =>
1397
+ InvokeDeploymentRequestPrefixMessagesContent$inboundSchema.parse(
1398
+ JSON.parse(x),
1399
+ ),
1400
+ `Failed to parse 'InvokeDeploymentRequestPrefixMessagesContent' from JSON`,
1383
1401
  );
1384
1402
  }
1385
1403
 
@@ -1389,7 +1407,7 @@ export const ToolMessage$inboundSchema: z.ZodType<
1389
1407
  z.ZodTypeDef,
1390
1408
  unknown
1391
1409
  > = z.object({
1392
- role: DeploymentsPrefixMessages5Role$inboundSchema,
1410
+ role: InvokeDeploymentRequestPrefixMessages5Role$inboundSchema,
1393
1411
  content: z.union([z.string(), z.array(z.string())]),
1394
1412
  tool_call_id: z.string(),
1395
1413
  }).transform((v) => {
@@ -1410,7 +1428,7 @@ export const ToolMessage$outboundSchema: z.ZodType<
1410
1428
  z.ZodTypeDef,
1411
1429
  ToolMessage
1412
1430
  > = z.object({
1413
- role: DeploymentsPrefixMessages5Role$outboundSchema,
1431
+ role: InvokeDeploymentRequestPrefixMessages5Role$outboundSchema,
1414
1432
  content: z.union([z.string(), z.array(z.string())]),
1415
1433
  toolCallId: z.string(),
1416
1434
  }).transform((v) => {
@@ -1433,14 +1451,13 @@ export function toolMessageFromJSON(
1433
1451
  }
1434
1452
 
1435
1453
  /** @internal */
1436
- export const Deployments2PrefixMessages4ContentType$inboundSchema:
1437
- z.ZodNativeEnum<typeof Deployments2PrefixMessages4ContentType> = z.nativeEnum(
1438
- Deployments2PrefixMessages4ContentType,
1439
- );
1454
+ export const InvokeDeploymentRequest2PrefixMessages4ContentType$inboundSchema:
1455
+ z.ZodNativeEnum<typeof InvokeDeploymentRequest2PrefixMessages4ContentType> = z
1456
+ .nativeEnum(InvokeDeploymentRequest2PrefixMessages4ContentType);
1440
1457
  /** @internal */
1441
- export const Deployments2PrefixMessages4ContentType$outboundSchema:
1442
- z.ZodNativeEnum<typeof Deployments2PrefixMessages4ContentType> =
1443
- Deployments2PrefixMessages4ContentType$inboundSchema;
1458
+ export const InvokeDeploymentRequest2PrefixMessages4ContentType$outboundSchema:
1459
+ z.ZodNativeEnum<typeof InvokeDeploymentRequest2PrefixMessages4ContentType> =
1460
+ InvokeDeploymentRequest2PrefixMessages4ContentType$inboundSchema;
1444
1461
 
1445
1462
  /** @internal */
1446
1463
  export const RefusalContentPart$inboundSchema: z.ZodType<
@@ -1448,7 +1465,7 @@ export const RefusalContentPart$inboundSchema: z.ZodType<
1448
1465
  z.ZodTypeDef,
1449
1466
  unknown
1450
1467
  > = z.object({
1451
- type: Deployments2PrefixMessages4ContentType$inboundSchema,
1468
+ type: InvokeDeploymentRequest2PrefixMessages4ContentType$inboundSchema,
1452
1469
  refusal: z.string(),
1453
1470
  });
1454
1471
  /** @internal */
@@ -1463,7 +1480,7 @@ export const RefusalContentPart$outboundSchema: z.ZodType<
1463
1480
  z.ZodTypeDef,
1464
1481
  RefusalContentPart
1465
1482
  > = z.object({
1466
- type: Deployments2PrefixMessages4ContentType$outboundSchema,
1483
+ type: InvokeDeploymentRequest2PrefixMessages4ContentType$outboundSchema,
1467
1484
  refusal: z.string(),
1468
1485
  });
1469
1486
 
@@ -1485,22 +1502,23 @@ export function refusalContentPartFromJSON(
1485
1502
  }
1486
1503
 
1487
1504
  /** @internal */
1488
- export const Deployments2PrefixMessages4Type$inboundSchema: z.ZodNativeEnum<
1489
- typeof Deployments2PrefixMessages4Type
1490
- > = z.nativeEnum(Deployments2PrefixMessages4Type);
1505
+ export const InvokeDeploymentRequest2PrefixMessages4Type$inboundSchema:
1506
+ z.ZodNativeEnum<typeof InvokeDeploymentRequest2PrefixMessages4Type> = z
1507
+ .nativeEnum(InvokeDeploymentRequest2PrefixMessages4Type);
1491
1508
  /** @internal */
1492
- export const Deployments2PrefixMessages4Type$outboundSchema: z.ZodNativeEnum<
1493
- typeof Deployments2PrefixMessages4Type
1494
- > = Deployments2PrefixMessages4Type$inboundSchema;
1509
+ export const InvokeDeploymentRequest2PrefixMessages4Type$outboundSchema:
1510
+ z.ZodNativeEnum<typeof InvokeDeploymentRequest2PrefixMessages4Type> =
1511
+ InvokeDeploymentRequest2PrefixMessages4Type$inboundSchema;
1495
1512
 
1496
1513
  /** @internal */
1497
- export const DeploymentsAnnotationsType$inboundSchema: z.ZodNativeEnum<
1498
- typeof DeploymentsAnnotationsType
1499
- > = z.nativeEnum(DeploymentsAnnotationsType);
1514
+ export const InvokeDeploymentRequestAnnotationsType$inboundSchema:
1515
+ z.ZodNativeEnum<typeof InvokeDeploymentRequestAnnotationsType> = z.nativeEnum(
1516
+ InvokeDeploymentRequestAnnotationsType,
1517
+ );
1500
1518
  /** @internal */
1501
- export const DeploymentsAnnotationsType$outboundSchema: z.ZodNativeEnum<
1502
- typeof DeploymentsAnnotationsType
1503
- > = DeploymentsAnnotationsType$inboundSchema;
1519
+ export const InvokeDeploymentRequestAnnotationsType$outboundSchema:
1520
+ z.ZodNativeEnum<typeof InvokeDeploymentRequestAnnotationsType> =
1521
+ InvokeDeploymentRequestAnnotationsType$inboundSchema;
1504
1522
 
1505
1523
  /** @internal */
1506
1524
  export const FilePath$inboundSchema: z.ZodType<
@@ -1551,7 +1569,7 @@ export const Annotations2$inboundSchema: z.ZodType<
1551
1569
  z.ZodTypeDef,
1552
1570
  unknown
1553
1571
  > = z.object({
1554
- type: DeploymentsAnnotationsType$inboundSchema,
1572
+ type: InvokeDeploymentRequestAnnotationsType$inboundSchema,
1555
1573
  text: z.string(),
1556
1574
  file_path: z.lazy(() => FilePath$inboundSchema),
1557
1575
  start_index: z.number().int(),
@@ -1578,7 +1596,7 @@ export const Annotations2$outboundSchema: z.ZodType<
1578
1596
  z.ZodTypeDef,
1579
1597
  Annotations2
1580
1598
  > = z.object({
1581
- type: DeploymentsAnnotationsType$outboundSchema,
1599
+ type: InvokeDeploymentRequestAnnotationsType$outboundSchema,
1582
1600
  text: z.string(),
1583
1601
  filePath: z.lazy(() => FilePath$outboundSchema),
1584
1602
  startIndex: z.number().int(),
@@ -1761,7 +1779,7 @@ export const TextContentPart$inboundSchema: z.ZodType<
1761
1779
  z.ZodTypeDef,
1762
1780
  unknown
1763
1781
  > = z.object({
1764
- type: Deployments2PrefixMessages4Type$inboundSchema,
1782
+ type: InvokeDeploymentRequest2PrefixMessages4Type$inboundSchema,
1765
1783
  text: z.string(),
1766
1784
  annotations: z.array(
1767
1785
  z.union([
@@ -1785,7 +1803,7 @@ export const TextContentPart$outboundSchema: z.ZodType<
1785
1803
  z.ZodTypeDef,
1786
1804
  TextContentPart
1787
1805
  > = z.object({
1788
- type: Deployments2PrefixMessages4Type$outboundSchema,
1806
+ type: InvokeDeploymentRequest2PrefixMessages4Type$outboundSchema,
1789
1807
  text: z.string(),
1790
1808
  annotations: z.array(
1791
1809
  z.union([
@@ -1895,13 +1913,13 @@ export function prefixMessagesContentFromJSON(
1895
1913
  }
1896
1914
 
1897
1915
  /** @internal */
1898
- export const DeploymentsPrefixMessages4Role$inboundSchema: z.ZodNativeEnum<
1899
- typeof DeploymentsPrefixMessages4Role
1900
- > = z.nativeEnum(DeploymentsPrefixMessages4Role);
1916
+ export const InvokeDeploymentRequestPrefixMessages4Role$inboundSchema:
1917
+ z.ZodNativeEnum<typeof InvokeDeploymentRequestPrefixMessages4Role> = z
1918
+ .nativeEnum(InvokeDeploymentRequestPrefixMessages4Role);
1901
1919
  /** @internal */
1902
- export const DeploymentsPrefixMessages4Role$outboundSchema: z.ZodNativeEnum<
1903
- typeof DeploymentsPrefixMessages4Role
1904
- > = DeploymentsPrefixMessages4Role$inboundSchema;
1920
+ export const InvokeDeploymentRequestPrefixMessages4Role$outboundSchema:
1921
+ z.ZodNativeEnum<typeof InvokeDeploymentRequestPrefixMessages4Role> =
1922
+ InvokeDeploymentRequestPrefixMessages4Role$inboundSchema;
1905
1923
 
1906
1924
  /** @internal */
1907
1925
  export const Audio$inboundSchema: z.ZodType<Audio, z.ZodTypeDef, unknown> = z
@@ -2038,7 +2056,7 @@ export const AssistantMessage$inboundSchema: z.ZodType<
2038
2056
  ]),
2039
2057
  ).optional(),
2040
2058
  refusal: z.nullable(z.string()).optional(),
2041
- role: DeploymentsPrefixMessages4Role$inboundSchema,
2059
+ role: InvokeDeploymentRequestPrefixMessages4Role$inboundSchema,
2042
2060
  name: z.string().optional(),
2043
2061
  audio: z.nullable(z.lazy(() => Audio$inboundSchema)).optional(),
2044
2062
  tool_calls: z.array(z.lazy(() => ToolCalls$inboundSchema)).optional(),
@@ -2087,7 +2105,7 @@ export const AssistantMessage$outboundSchema: z.ZodType<
2087
2105
  ]),
2088
2106
  ).optional(),
2089
2107
  refusal: z.nullable(z.string()).optional(),
2090
- role: DeploymentsPrefixMessages4Role$outboundSchema,
2108
+ role: InvokeDeploymentRequestPrefixMessages4Role$outboundSchema,
2091
2109
  name: z.string().optional(),
2092
2110
  audio: z.nullable(z.lazy(() => Audio$outboundSchema)).optional(),
2093
2111
  toolCalls: z.array(z.lazy(() => ToolCalls$outboundSchema)).optional(),
@@ -2120,22 +2138,22 @@ export function assistantMessageFromJSON(
2120
2138
  }
2121
2139
 
2122
2140
  /** @internal */
2123
- export const DeploymentsPrefixMessagesRole$inboundSchema: z.ZodNativeEnum<
2124
- typeof DeploymentsPrefixMessagesRole
2125
- > = z.nativeEnum(DeploymentsPrefixMessagesRole);
2141
+ export const InvokeDeploymentRequestPrefixMessagesRole$inboundSchema:
2142
+ z.ZodNativeEnum<typeof InvokeDeploymentRequestPrefixMessagesRole> = z
2143
+ .nativeEnum(InvokeDeploymentRequestPrefixMessagesRole);
2126
2144
  /** @internal */
2127
- export const DeploymentsPrefixMessagesRole$outboundSchema: z.ZodNativeEnum<
2128
- typeof DeploymentsPrefixMessagesRole
2129
- > = DeploymentsPrefixMessagesRole$inboundSchema;
2145
+ export const InvokeDeploymentRequestPrefixMessagesRole$outboundSchema:
2146
+ z.ZodNativeEnum<typeof InvokeDeploymentRequestPrefixMessagesRole> =
2147
+ InvokeDeploymentRequestPrefixMessagesRole$inboundSchema;
2130
2148
 
2131
2149
  /** @internal */
2132
- export const Deployments2PrefixMessagesType$inboundSchema: z.ZodNativeEnum<
2133
- typeof Deployments2PrefixMessagesType
2134
- > = z.nativeEnum(Deployments2PrefixMessagesType);
2150
+ export const InvokeDeploymentRequest2PrefixMessagesType$inboundSchema:
2151
+ z.ZodNativeEnum<typeof InvokeDeploymentRequest2PrefixMessagesType> = z
2152
+ .nativeEnum(InvokeDeploymentRequest2PrefixMessagesType);
2135
2153
  /** @internal */
2136
- export const Deployments2PrefixMessagesType$outboundSchema: z.ZodNativeEnum<
2137
- typeof Deployments2PrefixMessagesType
2138
- > = Deployments2PrefixMessagesType$inboundSchema;
2154
+ export const InvokeDeploymentRequest2PrefixMessagesType$outboundSchema:
2155
+ z.ZodNativeEnum<typeof InvokeDeploymentRequest2PrefixMessagesType> =
2156
+ InvokeDeploymentRequest2PrefixMessagesType$inboundSchema;
2139
2157
 
2140
2158
  /** @internal */
2141
2159
  export const FileT$inboundSchema: z.ZodType<FileT, z.ZodTypeDef, unknown> = z
@@ -2189,7 +2207,7 @@ export function fileFromJSON(
2189
2207
  /** @internal */
2190
2208
  export const Four$inboundSchema: z.ZodType<Four, z.ZodTypeDef, unknown> = z
2191
2209
  .object({
2192
- type: Deployments2PrefixMessagesType$inboundSchema,
2210
+ type: InvokeDeploymentRequest2PrefixMessagesType$inboundSchema,
2193
2211
  file: z.lazy(() => FileT$inboundSchema),
2194
2212
  });
2195
2213
  /** @internal */
@@ -2201,7 +2219,7 @@ export type Four$Outbound = {
2201
2219
  /** @internal */
2202
2220
  export const Four$outboundSchema: z.ZodType<Four$Outbound, z.ZodTypeDef, Four> =
2203
2221
  z.object({
2204
- type: Deployments2PrefixMessagesType$outboundSchema,
2222
+ type: InvokeDeploymentRequest2PrefixMessagesType$outboundSchema,
2205
2223
  file: z.lazy(() => FileT$outboundSchema),
2206
2224
  });
2207
2225
 
@@ -2219,13 +2237,13 @@ export function fourFromJSON(
2219
2237
  }
2220
2238
 
2221
2239
  /** @internal */
2222
- export const Deployments2Type$inboundSchema: z.ZodNativeEnum<
2223
- typeof Deployments2Type
2224
- > = z.nativeEnum(Deployments2Type);
2240
+ export const InvokeDeploymentRequest2Type$inboundSchema: z.ZodNativeEnum<
2241
+ typeof InvokeDeploymentRequest2Type
2242
+ > = z.nativeEnum(InvokeDeploymentRequest2Type);
2225
2243
  /** @internal */
2226
- export const Deployments2Type$outboundSchema: z.ZodNativeEnum<
2227
- typeof Deployments2Type
2228
- > = Deployments2Type$inboundSchema;
2244
+ export const InvokeDeploymentRequest2Type$outboundSchema: z.ZodNativeEnum<
2245
+ typeof InvokeDeploymentRequest2Type
2246
+ > = InvokeDeploymentRequest2Type$inboundSchema;
2229
2247
 
2230
2248
  /** @internal */
2231
2249
  export const Format$inboundSchema: z.ZodNativeEnum<typeof Format> = z
@@ -2273,31 +2291,28 @@ export function inputAudioFromJSON(
2273
2291
  }
2274
2292
 
2275
2293
  /** @internal */
2276
- export const Deployments23$inboundSchema: z.ZodType<
2277
- Deployments23,
2278
- z.ZodTypeDef,
2279
- unknown
2280
- > = z.object({
2281
- type: Deployments2Type$inboundSchema,
2282
- input_audio: z.lazy(() => InputAudio$inboundSchema),
2283
- }).transform((v) => {
2284
- return remap$(v, {
2285
- "input_audio": "inputAudio",
2294
+ export const Three$inboundSchema: z.ZodType<Three, z.ZodTypeDef, unknown> = z
2295
+ .object({
2296
+ type: InvokeDeploymentRequest2Type$inboundSchema,
2297
+ input_audio: z.lazy(() => InputAudio$inboundSchema),
2298
+ }).transform((v) => {
2299
+ return remap$(v, {
2300
+ "input_audio": "inputAudio",
2301
+ });
2286
2302
  });
2287
- });
2288
2303
  /** @internal */
2289
- export type Deployments23$Outbound = {
2304
+ export type Three$Outbound = {
2290
2305
  type: string;
2291
2306
  input_audio: InputAudio$Outbound;
2292
2307
  };
2293
2308
 
2294
2309
  /** @internal */
2295
- export const Deployments23$outboundSchema: z.ZodType<
2296
- Deployments23$Outbound,
2310
+ export const Three$outboundSchema: z.ZodType<
2311
+ Three$Outbound,
2297
2312
  z.ZodTypeDef,
2298
- Deployments23
2313
+ Three
2299
2314
  > = z.object({
2300
- type: Deployments2Type$outboundSchema,
2315
+ type: InvokeDeploymentRequest2Type$outboundSchema,
2301
2316
  inputAudio: z.lazy(() => InputAudio$outboundSchema),
2302
2317
  }).transform((v) => {
2303
2318
  return remap$(v, {
@@ -2305,16 +2320,16 @@ export const Deployments23$outboundSchema: z.ZodType<
2305
2320
  });
2306
2321
  });
2307
2322
 
2308
- export function deployments23ToJSON(deployments23: Deployments23): string {
2309
- return JSON.stringify(Deployments23$outboundSchema.parse(deployments23));
2323
+ export function threeToJSON(three: Three): string {
2324
+ return JSON.stringify(Three$outboundSchema.parse(three));
2310
2325
  }
2311
- export function deployments23FromJSON(
2326
+ export function threeFromJSON(
2312
2327
  jsonString: string,
2313
- ): SafeParseResult<Deployments23, SDKValidationError> {
2328
+ ): SafeParseResult<Three, SDKValidationError> {
2314
2329
  return safeParse(
2315
2330
  jsonString,
2316
- (x) => Deployments23$inboundSchema.parse(JSON.parse(x)),
2317
- `Failed to parse 'Deployments23' from JSON`,
2331
+ (x) => Three$inboundSchema.parse(JSON.parse(x)),
2332
+ `Failed to parse 'Three' from JSON`,
2318
2333
  );
2319
2334
  }
2320
2335
 
@@ -2411,74 +2426,78 @@ export function two2FromJSON(
2411
2426
  }
2412
2427
 
2413
2428
  /** @internal */
2414
- export const Deployments2PrefixMessages3Type$inboundSchema: z.ZodNativeEnum<
2415
- typeof Deployments2PrefixMessages3Type
2416
- > = z.nativeEnum(Deployments2PrefixMessages3Type);
2429
+ export const InvokeDeploymentRequest2PrefixMessages3Type$inboundSchema:
2430
+ z.ZodNativeEnum<typeof InvokeDeploymentRequest2PrefixMessages3Type> = z
2431
+ .nativeEnum(InvokeDeploymentRequest2PrefixMessages3Type);
2417
2432
  /** @internal */
2418
- export const Deployments2PrefixMessages3Type$outboundSchema: z.ZodNativeEnum<
2419
- typeof Deployments2PrefixMessages3Type
2420
- > = Deployments2PrefixMessages3Type$inboundSchema;
2433
+ export const InvokeDeploymentRequest2PrefixMessages3Type$outboundSchema:
2434
+ z.ZodNativeEnum<typeof InvokeDeploymentRequest2PrefixMessages3Type> =
2435
+ InvokeDeploymentRequest2PrefixMessages3Type$inboundSchema;
2421
2436
 
2422
2437
  /** @internal */
2423
- export const Deployments21$inboundSchema: z.ZodType<
2424
- Deployments21,
2438
+ export const InvokeDeploymentRequest21$inboundSchema: z.ZodType<
2439
+ InvokeDeploymentRequest21,
2425
2440
  z.ZodTypeDef,
2426
2441
  unknown
2427
2442
  > = z.object({
2428
- type: Deployments2PrefixMessages3Type$inboundSchema,
2443
+ type: InvokeDeploymentRequest2PrefixMessages3Type$inboundSchema,
2429
2444
  text: z.string(),
2430
2445
  });
2431
2446
  /** @internal */
2432
- export type Deployments21$Outbound = {
2447
+ export type InvokeDeploymentRequest21$Outbound = {
2433
2448
  type: string;
2434
2449
  text: string;
2435
2450
  };
2436
2451
 
2437
2452
  /** @internal */
2438
- export const Deployments21$outboundSchema: z.ZodType<
2439
- Deployments21$Outbound,
2453
+ export const InvokeDeploymentRequest21$outboundSchema: z.ZodType<
2454
+ InvokeDeploymentRequest21$Outbound,
2440
2455
  z.ZodTypeDef,
2441
- Deployments21
2456
+ InvokeDeploymentRequest21
2442
2457
  > = z.object({
2443
- type: Deployments2PrefixMessages3Type$outboundSchema,
2458
+ type: InvokeDeploymentRequest2PrefixMessages3Type$outboundSchema,
2444
2459
  text: z.string(),
2445
2460
  });
2446
2461
 
2447
- export function deployments21ToJSON(deployments21: Deployments21): string {
2448
- return JSON.stringify(Deployments21$outboundSchema.parse(deployments21));
2462
+ export function invokeDeploymentRequest21ToJSON(
2463
+ invokeDeploymentRequest21: InvokeDeploymentRequest21,
2464
+ ): string {
2465
+ return JSON.stringify(
2466
+ InvokeDeploymentRequest21$outboundSchema.parse(invokeDeploymentRequest21),
2467
+ );
2449
2468
  }
2450
- export function deployments21FromJSON(
2469
+ export function invokeDeploymentRequest21FromJSON(
2451
2470
  jsonString: string,
2452
- ): SafeParseResult<Deployments21, SDKValidationError> {
2471
+ ): SafeParseResult<InvokeDeploymentRequest21, SDKValidationError> {
2453
2472
  return safeParse(
2454
2473
  jsonString,
2455
- (x) => Deployments21$inboundSchema.parse(JSON.parse(x)),
2456
- `Failed to parse 'Deployments21' from JSON`,
2474
+ (x) => InvokeDeploymentRequest21$inboundSchema.parse(JSON.parse(x)),
2475
+ `Failed to parse 'InvokeDeploymentRequest21' from JSON`,
2457
2476
  );
2458
2477
  }
2459
2478
 
2460
2479
  /** @internal */
2461
2480
  export const Two$inboundSchema: z.ZodType<Two, z.ZodTypeDef, unknown> = z.union(
2462
2481
  [
2463
- z.lazy(() => Deployments21$inboundSchema),
2482
+ z.lazy(() => InvokeDeploymentRequest21$inboundSchema),
2464
2483
  z.lazy(() => Two2$inboundSchema),
2465
- z.lazy(() => Deployments23$inboundSchema),
2484
+ z.lazy(() => Three$inboundSchema),
2466
2485
  z.lazy(() => Four$inboundSchema),
2467
2486
  ],
2468
2487
  );
2469
2488
  /** @internal */
2470
2489
  export type Two$Outbound =
2471
- | Deployments21$Outbound
2490
+ | InvokeDeploymentRequest21$Outbound
2472
2491
  | Two2$Outbound
2473
- | Deployments23$Outbound
2492
+ | Three$Outbound
2474
2493
  | Four$Outbound;
2475
2494
 
2476
2495
  /** @internal */
2477
2496
  export const Two$outboundSchema: z.ZodType<Two$Outbound, z.ZodTypeDef, Two> = z
2478
2497
  .union([
2479
- z.lazy(() => Deployments21$outboundSchema),
2498
+ z.lazy(() => InvokeDeploymentRequest21$outboundSchema),
2480
2499
  z.lazy(() => Two2$outboundSchema),
2481
- z.lazy(() => Deployments23$outboundSchema),
2500
+ z.lazy(() => Three$outboundSchema),
2482
2501
  z.lazy(() => Four$outboundSchema),
2483
2502
  ]);
2484
2503
 
@@ -2500,9 +2519,9 @@ export const Content$inboundSchema: z.ZodType<Content, z.ZodTypeDef, unknown> =
2500
2519
  z.union([
2501
2520
  z.string(),
2502
2521
  z.array(z.union([
2503
- z.lazy(() => Deployments21$inboundSchema),
2522
+ z.lazy(() => InvokeDeploymentRequest21$inboundSchema),
2504
2523
  z.lazy(() => Two2$inboundSchema),
2505
- z.lazy(() => Deployments23$inboundSchema),
2524
+ z.lazy(() => Three$inboundSchema),
2506
2525
  z.lazy(() => Four$inboundSchema),
2507
2526
  ])),
2508
2527
  ]);
@@ -2510,9 +2529,9 @@ export const Content$inboundSchema: z.ZodType<Content, z.ZodTypeDef, unknown> =
2510
2529
  export type Content$Outbound =
2511
2530
  | string
2512
2531
  | Array<
2513
- | Deployments21$Outbound
2532
+ | InvokeDeploymentRequest21$Outbound
2514
2533
  | Two2$Outbound
2515
- | Deployments23$Outbound
2534
+ | Three$Outbound
2516
2535
  | Four$Outbound
2517
2536
  >;
2518
2537
 
@@ -2524,9 +2543,9 @@ export const Content$outboundSchema: z.ZodType<
2524
2543
  > = z.union([
2525
2544
  z.string(),
2526
2545
  z.array(z.union([
2527
- z.lazy(() => Deployments21$outboundSchema),
2546
+ z.lazy(() => InvokeDeploymentRequest21$outboundSchema),
2528
2547
  z.lazy(() => Two2$outboundSchema),
2529
- z.lazy(() => Deployments23$outboundSchema),
2548
+ z.lazy(() => Three$outboundSchema),
2530
2549
  z.lazy(() => Four$outboundSchema),
2531
2550
  ])),
2532
2551
  ]);
@@ -2550,14 +2569,14 @@ export const UserMessage$inboundSchema: z.ZodType<
2550
2569
  z.ZodTypeDef,
2551
2570
  unknown
2552
2571
  > = z.object({
2553
- role: DeploymentsPrefixMessagesRole$inboundSchema,
2572
+ role: InvokeDeploymentRequestPrefixMessagesRole$inboundSchema,
2554
2573
  name: z.string().optional(),
2555
2574
  content: z.union([
2556
2575
  z.string(),
2557
2576
  z.array(z.union([
2558
- z.lazy(() => Deployments21$inboundSchema),
2577
+ z.lazy(() => InvokeDeploymentRequest21$inboundSchema),
2559
2578
  z.lazy(() => Two2$inboundSchema),
2560
- z.lazy(() => Deployments23$inboundSchema),
2579
+ z.lazy(() => Three$inboundSchema),
2561
2580
  z.lazy(() => Four$inboundSchema),
2562
2581
  ])),
2563
2582
  ]),
@@ -2569,9 +2588,9 @@ export type UserMessage$Outbound = {
2569
2588
  content:
2570
2589
  | string
2571
2590
  | Array<
2572
- | Deployments21$Outbound
2591
+ | InvokeDeploymentRequest21$Outbound
2573
2592
  | Two2$Outbound
2574
- | Deployments23$Outbound
2593
+ | Three$Outbound
2575
2594
  | Four$Outbound
2576
2595
  >;
2577
2596
  };
@@ -2582,14 +2601,14 @@ export const UserMessage$outboundSchema: z.ZodType<
2582
2601
  z.ZodTypeDef,
2583
2602
  UserMessage
2584
2603
  > = z.object({
2585
- role: DeploymentsPrefixMessagesRole$outboundSchema,
2604
+ role: InvokeDeploymentRequestPrefixMessagesRole$outboundSchema,
2586
2605
  name: z.string().optional(),
2587
2606
  content: z.union([
2588
2607
  z.string(),
2589
2608
  z.array(z.union([
2590
- z.lazy(() => Deployments21$outboundSchema),
2609
+ z.lazy(() => InvokeDeploymentRequest21$outboundSchema),
2591
2610
  z.lazy(() => Two2$outboundSchema),
2592
- z.lazy(() => Deployments23$outboundSchema),
2611
+ z.lazy(() => Three$outboundSchema),
2593
2612
  z.lazy(() => Four$outboundSchema),
2594
2613
  ])),
2595
2614
  ]),
@@ -2758,46 +2777,56 @@ export function prefixMessagesFromJSON(
2758
2777
  }
2759
2778
 
2760
2779
  /** @internal */
2761
- export const DeploymentsMessages5Role$inboundSchema: z.ZodNativeEnum<
2762
- typeof DeploymentsMessages5Role
2763
- > = z.nativeEnum(DeploymentsMessages5Role);
2780
+ export const InvokeDeploymentRequestMessages5Role$inboundSchema:
2781
+ z.ZodNativeEnum<typeof InvokeDeploymentRequestMessages5Role> = z.nativeEnum(
2782
+ InvokeDeploymentRequestMessages5Role,
2783
+ );
2764
2784
  /** @internal */
2765
- export const DeploymentsMessages5Role$outboundSchema: z.ZodNativeEnum<
2766
- typeof DeploymentsMessages5Role
2767
- > = DeploymentsMessages5Role$inboundSchema;
2785
+ export const InvokeDeploymentRequestMessages5Role$outboundSchema:
2786
+ z.ZodNativeEnum<typeof InvokeDeploymentRequestMessages5Role> =
2787
+ InvokeDeploymentRequestMessages5Role$inboundSchema;
2768
2788
 
2769
2789
  /** @internal */
2770
- export const DeploymentsMessages5Content$inboundSchema: z.ZodType<
2771
- DeploymentsMessages5Content,
2790
+ export const InvokeDeploymentRequestMessages5Content$inboundSchema: z.ZodType<
2791
+ InvokeDeploymentRequestMessages5Content,
2772
2792
  z.ZodTypeDef,
2773
2793
  unknown
2774
2794
  > = z.union([z.string(), z.array(z.string())]);
2775
2795
  /** @internal */
2776
- export type DeploymentsMessages5Content$Outbound = string | Array<string>;
2796
+ export type InvokeDeploymentRequestMessages5Content$Outbound =
2797
+ | string
2798
+ | Array<string>;
2777
2799
 
2778
2800
  /** @internal */
2779
- export const DeploymentsMessages5Content$outboundSchema: z.ZodType<
2780
- DeploymentsMessages5Content$Outbound,
2801
+ export const InvokeDeploymentRequestMessages5Content$outboundSchema: z.ZodType<
2802
+ InvokeDeploymentRequestMessages5Content$Outbound,
2781
2803
  z.ZodTypeDef,
2782
- DeploymentsMessages5Content
2804
+ InvokeDeploymentRequestMessages5Content
2783
2805
  > = z.union([z.string(), z.array(z.string())]);
2784
2806
 
2785
- export function deploymentsMessages5ContentToJSON(
2786
- deploymentsMessages5Content: DeploymentsMessages5Content,
2807
+ export function invokeDeploymentRequestMessages5ContentToJSON(
2808
+ invokeDeploymentRequestMessages5Content:
2809
+ InvokeDeploymentRequestMessages5Content,
2787
2810
  ): string {
2788
2811
  return JSON.stringify(
2789
- DeploymentsMessages5Content$outboundSchema.parse(
2790
- deploymentsMessages5Content,
2812
+ InvokeDeploymentRequestMessages5Content$outboundSchema.parse(
2813
+ invokeDeploymentRequestMessages5Content,
2791
2814
  ),
2792
2815
  );
2793
2816
  }
2794
- export function deploymentsMessages5ContentFromJSON(
2817
+ export function invokeDeploymentRequestMessages5ContentFromJSON(
2795
2818
  jsonString: string,
2796
- ): SafeParseResult<DeploymentsMessages5Content, SDKValidationError> {
2819
+ ): SafeParseResult<
2820
+ InvokeDeploymentRequestMessages5Content,
2821
+ SDKValidationError
2822
+ > {
2797
2823
  return safeParse(
2798
2824
  jsonString,
2799
- (x) => DeploymentsMessages5Content$inboundSchema.parse(JSON.parse(x)),
2800
- `Failed to parse 'DeploymentsMessages5Content' from JSON`,
2825
+ (x) =>
2826
+ InvokeDeploymentRequestMessages5Content$inboundSchema.parse(
2827
+ JSON.parse(x),
2828
+ ),
2829
+ `Failed to parse 'InvokeDeploymentRequestMessages5Content' from JSON`,
2801
2830
  );
2802
2831
  }
2803
2832
 
@@ -2807,7 +2836,7 @@ export const MessagesToolMessage$inboundSchema: z.ZodType<
2807
2836
  z.ZodTypeDef,
2808
2837
  unknown
2809
2838
  > = z.object({
2810
- role: DeploymentsMessages5Role$inboundSchema,
2839
+ role: InvokeDeploymentRequestMessages5Role$inboundSchema,
2811
2840
  content: z.union([z.string(), z.array(z.string())]),
2812
2841
  tool_call_id: z.string(),
2813
2842
  }).transform((v) => {
@@ -2828,7 +2857,7 @@ export const MessagesToolMessage$outboundSchema: z.ZodType<
2828
2857
  z.ZodTypeDef,
2829
2858
  MessagesToolMessage
2830
2859
  > = z.object({
2831
- role: DeploymentsMessages5Role$outboundSchema,
2860
+ role: InvokeDeploymentRequestMessages5Role$outboundSchema,
2832
2861
  content: z.union([z.string(), z.array(z.string())]),
2833
2862
  toolCallId: z.string(),
2834
2863
  }).transform((v) => {
@@ -2855,13 +2884,13 @@ export function messagesToolMessageFromJSON(
2855
2884
  }
2856
2885
 
2857
2886
  /** @internal */
2858
- export const Deployments2Messages4ContentType$inboundSchema: z.ZodNativeEnum<
2859
- typeof Deployments2Messages4ContentType
2860
- > = z.nativeEnum(Deployments2Messages4ContentType);
2887
+ export const InvokeDeploymentRequest2Messages4ContentType$inboundSchema:
2888
+ z.ZodNativeEnum<typeof InvokeDeploymentRequest2Messages4ContentType> = z
2889
+ .nativeEnum(InvokeDeploymentRequest2Messages4ContentType);
2861
2890
  /** @internal */
2862
- export const Deployments2Messages4ContentType$outboundSchema: z.ZodNativeEnum<
2863
- typeof Deployments2Messages4ContentType
2864
- > = Deployments2Messages4ContentType$inboundSchema;
2891
+ export const InvokeDeploymentRequest2Messages4ContentType$outboundSchema:
2892
+ z.ZodNativeEnum<typeof InvokeDeploymentRequest2Messages4ContentType> =
2893
+ InvokeDeploymentRequest2Messages4ContentType$inboundSchema;
2865
2894
 
2866
2895
  /** @internal */
2867
2896
  export const TwoRefusalContentPart$inboundSchema: z.ZodType<
@@ -2869,7 +2898,7 @@ export const TwoRefusalContentPart$inboundSchema: z.ZodType<
2869
2898
  z.ZodTypeDef,
2870
2899
  unknown
2871
2900
  > = z.object({
2872
- type: Deployments2Messages4ContentType$inboundSchema,
2901
+ type: InvokeDeploymentRequest2Messages4ContentType$inboundSchema,
2873
2902
  refusal: z.string(),
2874
2903
  });
2875
2904
  /** @internal */
@@ -2884,7 +2913,7 @@ export const TwoRefusalContentPart$outboundSchema: z.ZodType<
2884
2913
  z.ZodTypeDef,
2885
2914
  TwoRefusalContentPart
2886
2915
  > = z.object({
2887
- type: Deployments2Messages4ContentType$outboundSchema,
2916
+ type: InvokeDeploymentRequest2Messages4ContentType$outboundSchema,
2888
2917
  refusal: z.string(),
2889
2918
  });
2890
2919
 
@@ -2906,22 +2935,23 @@ export function twoRefusalContentPartFromJSON(
2906
2935
  }
2907
2936
 
2908
2937
  /** @internal */
2909
- export const Deployments2Messages4Type$inboundSchema: z.ZodNativeEnum<
2910
- typeof Deployments2Messages4Type
2911
- > = z.nativeEnum(Deployments2Messages4Type);
2938
+ export const InvokeDeploymentRequest2Messages4Type$inboundSchema:
2939
+ z.ZodNativeEnum<typeof InvokeDeploymentRequest2Messages4Type> = z.nativeEnum(
2940
+ InvokeDeploymentRequest2Messages4Type,
2941
+ );
2912
2942
  /** @internal */
2913
- export const Deployments2Messages4Type$outboundSchema: z.ZodNativeEnum<
2914
- typeof Deployments2Messages4Type
2915
- > = Deployments2Messages4Type$inboundSchema;
2943
+ export const InvokeDeploymentRequest2Messages4Type$outboundSchema:
2944
+ z.ZodNativeEnum<typeof InvokeDeploymentRequest2Messages4Type> =
2945
+ InvokeDeploymentRequest2Messages4Type$inboundSchema;
2916
2946
 
2917
2947
  /** @internal */
2918
- export const DeploymentsAnnotationsMessages4Type$inboundSchema: z.ZodNativeEnum<
2919
- typeof DeploymentsAnnotationsMessages4Type
2920
- > = z.nativeEnum(DeploymentsAnnotationsMessages4Type);
2948
+ export const InvokeDeploymentRequestAnnotationsMessages4Type$inboundSchema:
2949
+ z.ZodNativeEnum<typeof InvokeDeploymentRequestAnnotationsMessages4Type> = z
2950
+ .nativeEnum(InvokeDeploymentRequestAnnotationsMessages4Type);
2921
2951
  /** @internal */
2922
- export const DeploymentsAnnotationsMessages4Type$outboundSchema:
2923
- z.ZodNativeEnum<typeof DeploymentsAnnotationsMessages4Type> =
2924
- DeploymentsAnnotationsMessages4Type$inboundSchema;
2952
+ export const InvokeDeploymentRequestAnnotationsMessages4Type$outboundSchema:
2953
+ z.ZodNativeEnum<typeof InvokeDeploymentRequestAnnotationsMessages4Type> =
2954
+ InvokeDeploymentRequestAnnotationsMessages4Type$inboundSchema;
2925
2955
 
2926
2956
  /** @internal */
2927
2957
  export const AnnotationsFilePath$inboundSchema: z.ZodType<
@@ -2971,12 +3001,12 @@ export function annotationsFilePathFromJSON(
2971
3001
  }
2972
3002
 
2973
3003
  /** @internal */
2974
- export const DeploymentsAnnotations2$inboundSchema: z.ZodType<
2975
- DeploymentsAnnotations2,
3004
+ export const InvokeDeploymentRequestAnnotations2$inboundSchema: z.ZodType<
3005
+ InvokeDeploymentRequestAnnotations2,
2976
3006
  z.ZodTypeDef,
2977
3007
  unknown
2978
3008
  > = z.object({
2979
- type: DeploymentsAnnotationsMessages4Type$inboundSchema,
3009
+ type: InvokeDeploymentRequestAnnotationsMessages4Type$inboundSchema,
2980
3010
  text: z.string(),
2981
3011
  file_path: z.lazy(() => AnnotationsFilePath$inboundSchema),
2982
3012
  start_index: z.number().int(),
@@ -2989,7 +3019,7 @@ export const DeploymentsAnnotations2$inboundSchema: z.ZodType<
2989
3019
  });
2990
3020
  });
2991
3021
  /** @internal */
2992
- export type DeploymentsAnnotations2$Outbound = {
3022
+ export type InvokeDeploymentRequestAnnotations2$Outbound = {
2993
3023
  type: string;
2994
3024
  text: string;
2995
3025
  file_path: AnnotationsFilePath$Outbound;
@@ -2998,12 +3028,12 @@ export type DeploymentsAnnotations2$Outbound = {
2998
3028
  };
2999
3029
 
3000
3030
  /** @internal */
3001
- export const DeploymentsAnnotations2$outboundSchema: z.ZodType<
3002
- DeploymentsAnnotations2$Outbound,
3031
+ export const InvokeDeploymentRequestAnnotations2$outboundSchema: z.ZodType<
3032
+ InvokeDeploymentRequestAnnotations2$Outbound,
3003
3033
  z.ZodTypeDef,
3004
- DeploymentsAnnotations2
3034
+ InvokeDeploymentRequestAnnotations2
3005
3035
  > = z.object({
3006
- type: DeploymentsAnnotationsMessages4Type$outboundSchema,
3036
+ type: InvokeDeploymentRequestAnnotationsMessages4Type$outboundSchema,
3007
3037
  text: z.string(),
3008
3038
  filePath: z.lazy(() => AnnotationsFilePath$outboundSchema),
3009
3039
  startIndex: z.number().int(),
@@ -3016,31 +3046,34 @@ export const DeploymentsAnnotations2$outboundSchema: z.ZodType<
3016
3046
  });
3017
3047
  });
3018
3048
 
3019
- export function deploymentsAnnotations2ToJSON(
3020
- deploymentsAnnotations2: DeploymentsAnnotations2,
3049
+ export function invokeDeploymentRequestAnnotations2ToJSON(
3050
+ invokeDeploymentRequestAnnotations2: InvokeDeploymentRequestAnnotations2,
3021
3051
  ): string {
3022
3052
  return JSON.stringify(
3023
- DeploymentsAnnotations2$outboundSchema.parse(deploymentsAnnotations2),
3053
+ InvokeDeploymentRequestAnnotations2$outboundSchema.parse(
3054
+ invokeDeploymentRequestAnnotations2,
3055
+ ),
3024
3056
  );
3025
3057
  }
3026
- export function deploymentsAnnotations2FromJSON(
3058
+ export function invokeDeploymentRequestAnnotations2FromJSON(
3027
3059
  jsonString: string,
3028
- ): SafeParseResult<DeploymentsAnnotations2, SDKValidationError> {
3060
+ ): SafeParseResult<InvokeDeploymentRequestAnnotations2, SDKValidationError> {
3029
3061
  return safeParse(
3030
3062
  jsonString,
3031
- (x) => DeploymentsAnnotations2$inboundSchema.parse(JSON.parse(x)),
3032
- `Failed to parse 'DeploymentsAnnotations2' from JSON`,
3063
+ (x) =>
3064
+ InvokeDeploymentRequestAnnotations2$inboundSchema.parse(JSON.parse(x)),
3065
+ `Failed to parse 'InvokeDeploymentRequestAnnotations2' from JSON`,
3033
3066
  );
3034
3067
  }
3035
3068
 
3036
3069
  /** @internal */
3037
- export const DeploymentsAnnotationsMessagesType$inboundSchema: z.ZodNativeEnum<
3038
- typeof DeploymentsAnnotationsMessagesType
3039
- > = z.nativeEnum(DeploymentsAnnotationsMessagesType);
3070
+ export const InvokeDeploymentRequestAnnotationsMessagesType$inboundSchema:
3071
+ z.ZodNativeEnum<typeof InvokeDeploymentRequestAnnotationsMessagesType> = z
3072
+ .nativeEnum(InvokeDeploymentRequestAnnotationsMessagesType);
3040
3073
  /** @internal */
3041
- export const DeploymentsAnnotationsMessagesType$outboundSchema: z.ZodNativeEnum<
3042
- typeof DeploymentsAnnotationsMessagesType
3043
- > = DeploymentsAnnotationsMessagesType$inboundSchema;
3074
+ export const InvokeDeploymentRequestAnnotationsMessagesType$outboundSchema:
3075
+ z.ZodNativeEnum<typeof InvokeDeploymentRequestAnnotationsMessagesType> =
3076
+ InvokeDeploymentRequestAnnotationsMessagesType$inboundSchema;
3044
3077
 
3045
3078
  /** @internal */
3046
3079
  export const AnnotationsFileCitation$inboundSchema: z.ZodType<
@@ -3093,12 +3126,12 @@ export function annotationsFileCitationFromJSON(
3093
3126
  }
3094
3127
 
3095
3128
  /** @internal */
3096
- export const DeploymentsAnnotations1$inboundSchema: z.ZodType<
3097
- DeploymentsAnnotations1,
3129
+ export const InvokeDeploymentRequestAnnotations1$inboundSchema: z.ZodType<
3130
+ InvokeDeploymentRequestAnnotations1,
3098
3131
  z.ZodTypeDef,
3099
3132
  unknown
3100
3133
  > = z.object({
3101
- type: DeploymentsAnnotationsMessagesType$inboundSchema,
3134
+ type: InvokeDeploymentRequestAnnotationsMessagesType$inboundSchema,
3102
3135
  text: z.string(),
3103
3136
  file_citation: z.lazy(() => AnnotationsFileCitation$inboundSchema),
3104
3137
  start_index: z.number().int(),
@@ -3111,7 +3144,7 @@ export const DeploymentsAnnotations1$inboundSchema: z.ZodType<
3111
3144
  });
3112
3145
  });
3113
3146
  /** @internal */
3114
- export type DeploymentsAnnotations1$Outbound = {
3147
+ export type InvokeDeploymentRequestAnnotations1$Outbound = {
3115
3148
  type: string;
3116
3149
  text: string;
3117
3150
  file_citation: AnnotationsFileCitation$Outbound;
@@ -3120,12 +3153,12 @@ export type DeploymentsAnnotations1$Outbound = {
3120
3153
  };
3121
3154
 
3122
3155
  /** @internal */
3123
- export const DeploymentsAnnotations1$outboundSchema: z.ZodType<
3124
- DeploymentsAnnotations1$Outbound,
3156
+ export const InvokeDeploymentRequestAnnotations1$outboundSchema: z.ZodType<
3157
+ InvokeDeploymentRequestAnnotations1$Outbound,
3125
3158
  z.ZodTypeDef,
3126
- DeploymentsAnnotations1
3159
+ InvokeDeploymentRequestAnnotations1
3127
3160
  > = z.object({
3128
- type: DeploymentsAnnotationsMessagesType$outboundSchema,
3161
+ type: InvokeDeploymentRequestAnnotationsMessagesType$outboundSchema,
3129
3162
  text: z.string(),
3130
3163
  fileCitation: z.lazy(() => AnnotationsFileCitation$outboundSchema),
3131
3164
  startIndex: z.number().int(),
@@ -3138,20 +3171,23 @@ export const DeploymentsAnnotations1$outboundSchema: z.ZodType<
3138
3171
  });
3139
3172
  });
3140
3173
 
3141
- export function deploymentsAnnotations1ToJSON(
3142
- deploymentsAnnotations1: DeploymentsAnnotations1,
3174
+ export function invokeDeploymentRequestAnnotations1ToJSON(
3175
+ invokeDeploymentRequestAnnotations1: InvokeDeploymentRequestAnnotations1,
3143
3176
  ): string {
3144
3177
  return JSON.stringify(
3145
- DeploymentsAnnotations1$outboundSchema.parse(deploymentsAnnotations1),
3178
+ InvokeDeploymentRequestAnnotations1$outboundSchema.parse(
3179
+ invokeDeploymentRequestAnnotations1,
3180
+ ),
3146
3181
  );
3147
3182
  }
3148
- export function deploymentsAnnotations1FromJSON(
3183
+ export function invokeDeploymentRequestAnnotations1FromJSON(
3149
3184
  jsonString: string,
3150
- ): SafeParseResult<DeploymentsAnnotations1, SDKValidationError> {
3185
+ ): SafeParseResult<InvokeDeploymentRequestAnnotations1, SDKValidationError> {
3151
3186
  return safeParse(
3152
3187
  jsonString,
3153
- (x) => DeploymentsAnnotations1$inboundSchema.parse(JSON.parse(x)),
3154
- `Failed to parse 'DeploymentsAnnotations1' from JSON`,
3188
+ (x) =>
3189
+ InvokeDeploymentRequestAnnotations1$inboundSchema.parse(JSON.parse(x)),
3190
+ `Failed to parse 'InvokeDeploymentRequestAnnotations1' from JSON`,
3155
3191
  );
3156
3192
  }
3157
3193
 
@@ -3161,13 +3197,13 @@ export const TwoAnnotations$inboundSchema: z.ZodType<
3161
3197
  z.ZodTypeDef,
3162
3198
  unknown
3163
3199
  > = z.union([
3164
- z.lazy(() => DeploymentsAnnotations1$inboundSchema),
3165
- z.lazy(() => DeploymentsAnnotations2$inboundSchema),
3200
+ z.lazy(() => InvokeDeploymentRequestAnnotations1$inboundSchema),
3201
+ z.lazy(() => InvokeDeploymentRequestAnnotations2$inboundSchema),
3166
3202
  ]);
3167
3203
  /** @internal */
3168
3204
  export type TwoAnnotations$Outbound =
3169
- | DeploymentsAnnotations1$Outbound
3170
- | DeploymentsAnnotations2$Outbound;
3205
+ | InvokeDeploymentRequestAnnotations1$Outbound
3206
+ | InvokeDeploymentRequestAnnotations2$Outbound;
3171
3207
 
3172
3208
  /** @internal */
3173
3209
  export const TwoAnnotations$outboundSchema: z.ZodType<
@@ -3175,8 +3211,8 @@ export const TwoAnnotations$outboundSchema: z.ZodType<
3175
3211
  z.ZodTypeDef,
3176
3212
  TwoAnnotations
3177
3213
  > = z.union([
3178
- z.lazy(() => DeploymentsAnnotations1$outboundSchema),
3179
- z.lazy(() => DeploymentsAnnotations2$outboundSchema),
3214
+ z.lazy(() => InvokeDeploymentRequestAnnotations1$outboundSchema),
3215
+ z.lazy(() => InvokeDeploymentRequestAnnotations2$outboundSchema),
3180
3216
  ]);
3181
3217
 
3182
3218
  export function twoAnnotationsToJSON(twoAnnotations: TwoAnnotations): string {
@@ -3198,12 +3234,12 @@ export const TwoTextContentPart$inboundSchema: z.ZodType<
3198
3234
  z.ZodTypeDef,
3199
3235
  unknown
3200
3236
  > = z.object({
3201
- type: Deployments2Messages4Type$inboundSchema,
3237
+ type: InvokeDeploymentRequest2Messages4Type$inboundSchema,
3202
3238
  text: z.string(),
3203
3239
  annotations: z.array(
3204
3240
  z.union([
3205
- z.lazy(() => DeploymentsAnnotations1$inboundSchema),
3206
- z.lazy(() => DeploymentsAnnotations2$inboundSchema),
3241
+ z.lazy(() => InvokeDeploymentRequestAnnotations1$inboundSchema),
3242
+ z.lazy(() => InvokeDeploymentRequestAnnotations2$inboundSchema),
3207
3243
  ]),
3208
3244
  ).optional(),
3209
3245
  });
@@ -3212,7 +3248,10 @@ export type TwoTextContentPart$Outbound = {
3212
3248
  type: string;
3213
3249
  text: string;
3214
3250
  annotations?:
3215
- | Array<DeploymentsAnnotations1$Outbound | DeploymentsAnnotations2$Outbound>
3251
+ | Array<
3252
+ | InvokeDeploymentRequestAnnotations1$Outbound
3253
+ | InvokeDeploymentRequestAnnotations2$Outbound
3254
+ >
3216
3255
  | undefined;
3217
3256
  };
3218
3257
 
@@ -3222,12 +3261,12 @@ export const TwoTextContentPart$outboundSchema: z.ZodType<
3222
3261
  z.ZodTypeDef,
3223
3262
  TwoTextContentPart
3224
3263
  > = z.object({
3225
- type: Deployments2Messages4Type$outboundSchema,
3264
+ type: InvokeDeploymentRequest2Messages4Type$outboundSchema,
3226
3265
  text: z.string(),
3227
3266
  annotations: z.array(
3228
3267
  z.union([
3229
- z.lazy(() => DeploymentsAnnotations1$outboundSchema),
3230
- z.lazy(() => DeploymentsAnnotations2$outboundSchema),
3268
+ z.lazy(() => InvokeDeploymentRequestAnnotations1$outboundSchema),
3269
+ z.lazy(() => InvokeDeploymentRequestAnnotations2$outboundSchema),
3231
3270
  ]),
3232
3271
  ).optional(),
3233
3272
  });
@@ -3250,8 +3289,8 @@ export function twoTextContentPartFromJSON(
3250
3289
  }
3251
3290
 
3252
3291
  /** @internal */
3253
- export const DeploymentsContentMessages2$inboundSchema: z.ZodType<
3254
- DeploymentsContentMessages2,
3292
+ export const InvokeDeploymentRequestContentMessages2$inboundSchema: z.ZodType<
3293
+ InvokeDeploymentRequestContentMessages2,
3255
3294
  z.ZodTypeDef,
3256
3295
  unknown
3257
3296
  > = z.union([
@@ -3259,42 +3298,49 @@ export const DeploymentsContentMessages2$inboundSchema: z.ZodType<
3259
3298
  z.lazy(() => TwoRefusalContentPart$inboundSchema),
3260
3299
  ]);
3261
3300
  /** @internal */
3262
- export type DeploymentsContentMessages2$Outbound =
3301
+ export type InvokeDeploymentRequestContentMessages2$Outbound =
3263
3302
  | TwoTextContentPart$Outbound
3264
3303
  | TwoRefusalContentPart$Outbound;
3265
3304
 
3266
3305
  /** @internal */
3267
- export const DeploymentsContentMessages2$outboundSchema: z.ZodType<
3268
- DeploymentsContentMessages2$Outbound,
3306
+ export const InvokeDeploymentRequestContentMessages2$outboundSchema: z.ZodType<
3307
+ InvokeDeploymentRequestContentMessages2$Outbound,
3269
3308
  z.ZodTypeDef,
3270
- DeploymentsContentMessages2
3309
+ InvokeDeploymentRequestContentMessages2
3271
3310
  > = z.union([
3272
3311
  z.lazy(() => TwoTextContentPart$outboundSchema),
3273
3312
  z.lazy(() => TwoRefusalContentPart$outboundSchema),
3274
3313
  ]);
3275
3314
 
3276
- export function deploymentsContentMessages2ToJSON(
3277
- deploymentsContentMessages2: DeploymentsContentMessages2,
3315
+ export function invokeDeploymentRequestContentMessages2ToJSON(
3316
+ invokeDeploymentRequestContentMessages2:
3317
+ InvokeDeploymentRequestContentMessages2,
3278
3318
  ): string {
3279
3319
  return JSON.stringify(
3280
- DeploymentsContentMessages2$outboundSchema.parse(
3281
- deploymentsContentMessages2,
3320
+ InvokeDeploymentRequestContentMessages2$outboundSchema.parse(
3321
+ invokeDeploymentRequestContentMessages2,
3282
3322
  ),
3283
3323
  );
3284
3324
  }
3285
- export function deploymentsContentMessages2FromJSON(
3325
+ export function invokeDeploymentRequestContentMessages2FromJSON(
3286
3326
  jsonString: string,
3287
- ): SafeParseResult<DeploymentsContentMessages2, SDKValidationError> {
3327
+ ): SafeParseResult<
3328
+ InvokeDeploymentRequestContentMessages2,
3329
+ SDKValidationError
3330
+ > {
3288
3331
  return safeParse(
3289
3332
  jsonString,
3290
- (x) => DeploymentsContentMessages2$inboundSchema.parse(JSON.parse(x)),
3291
- `Failed to parse 'DeploymentsContentMessages2' from JSON`,
3333
+ (x) =>
3334
+ InvokeDeploymentRequestContentMessages2$inboundSchema.parse(
3335
+ JSON.parse(x),
3336
+ ),
3337
+ `Failed to parse 'InvokeDeploymentRequestContentMessages2' from JSON`,
3292
3338
  );
3293
3339
  }
3294
3340
 
3295
3341
  /** @internal */
3296
- export const DeploymentsMessagesContent$inboundSchema: z.ZodType<
3297
- DeploymentsMessagesContent,
3342
+ export const InvokeDeploymentRequestMessagesContent$inboundSchema: z.ZodType<
3343
+ InvokeDeploymentRequestMessagesContent,
3298
3344
  z.ZodTypeDef,
3299
3345
  unknown
3300
3346
  > = z.union([
@@ -3305,15 +3351,15 @@ export const DeploymentsMessagesContent$inboundSchema: z.ZodType<
3305
3351
  ])),
3306
3352
  ]);
3307
3353
  /** @internal */
3308
- export type DeploymentsMessagesContent$Outbound =
3354
+ export type InvokeDeploymentRequestMessagesContent$Outbound =
3309
3355
  | string
3310
3356
  | Array<TwoTextContentPart$Outbound | TwoRefusalContentPart$Outbound>;
3311
3357
 
3312
3358
  /** @internal */
3313
- export const DeploymentsMessagesContent$outboundSchema: z.ZodType<
3314
- DeploymentsMessagesContent$Outbound,
3359
+ export const InvokeDeploymentRequestMessagesContent$outboundSchema: z.ZodType<
3360
+ InvokeDeploymentRequestMessagesContent$Outbound,
3315
3361
  z.ZodTypeDef,
3316
- DeploymentsMessagesContent
3362
+ InvokeDeploymentRequestMessagesContent
3317
3363
  > = z.union([
3318
3364
  z.string(),
3319
3365
  z.array(z.union([
@@ -3322,31 +3368,36 @@ export const DeploymentsMessagesContent$outboundSchema: z.ZodType<
3322
3368
  ])),
3323
3369
  ]);
3324
3370
 
3325
- export function deploymentsMessagesContentToJSON(
3326
- deploymentsMessagesContent: DeploymentsMessagesContent,
3371
+ export function invokeDeploymentRequestMessagesContentToJSON(
3372
+ invokeDeploymentRequestMessagesContent:
3373
+ InvokeDeploymentRequestMessagesContent,
3327
3374
  ): string {
3328
3375
  return JSON.stringify(
3329
- DeploymentsMessagesContent$outboundSchema.parse(deploymentsMessagesContent),
3376
+ InvokeDeploymentRequestMessagesContent$outboundSchema.parse(
3377
+ invokeDeploymentRequestMessagesContent,
3378
+ ),
3330
3379
  );
3331
3380
  }
3332
- export function deploymentsMessagesContentFromJSON(
3381
+ export function invokeDeploymentRequestMessagesContentFromJSON(
3333
3382
  jsonString: string,
3334
- ): SafeParseResult<DeploymentsMessagesContent, SDKValidationError> {
3383
+ ): SafeParseResult<InvokeDeploymentRequestMessagesContent, SDKValidationError> {
3335
3384
  return safeParse(
3336
3385
  jsonString,
3337
- (x) => DeploymentsMessagesContent$inboundSchema.parse(JSON.parse(x)),
3338
- `Failed to parse 'DeploymentsMessagesContent' from JSON`,
3386
+ (x) =>
3387
+ InvokeDeploymentRequestMessagesContent$inboundSchema.parse(JSON.parse(x)),
3388
+ `Failed to parse 'InvokeDeploymentRequestMessagesContent' from JSON`,
3339
3389
  );
3340
3390
  }
3341
3391
 
3342
3392
  /** @internal */
3343
- export const DeploymentsMessages4Role$inboundSchema: z.ZodNativeEnum<
3344
- typeof DeploymentsMessages4Role
3345
- > = z.nativeEnum(DeploymentsMessages4Role);
3393
+ export const InvokeDeploymentRequestMessages4Role$inboundSchema:
3394
+ z.ZodNativeEnum<typeof InvokeDeploymentRequestMessages4Role> = z.nativeEnum(
3395
+ InvokeDeploymentRequestMessages4Role,
3396
+ );
3346
3397
  /** @internal */
3347
- export const DeploymentsMessages4Role$outboundSchema: z.ZodNativeEnum<
3348
- typeof DeploymentsMessages4Role
3349
- > = DeploymentsMessages4Role$inboundSchema;
3398
+ export const InvokeDeploymentRequestMessages4Role$outboundSchema:
3399
+ z.ZodNativeEnum<typeof InvokeDeploymentRequestMessages4Role> =
3400
+ InvokeDeploymentRequestMessages4Role$inboundSchema;
3350
3401
 
3351
3402
  /** @internal */
3352
3403
  export const MessagesAudio$inboundSchema: z.ZodType<
@@ -3495,7 +3546,7 @@ export const MessagesAssistantMessage$inboundSchema: z.ZodType<
3495
3546
  ]),
3496
3547
  ).optional(),
3497
3548
  refusal: z.nullable(z.string()).optional(),
3498
- role: DeploymentsMessages4Role$inboundSchema,
3549
+ role: InvokeDeploymentRequestMessages4Role$inboundSchema,
3499
3550
  name: z.string().optional(),
3500
3551
  audio: z.nullable(z.lazy(() => MessagesAudio$inboundSchema)).optional(),
3501
3552
  tool_calls: z.array(z.lazy(() => MessagesToolCalls$inboundSchema)).optional(),
@@ -3544,7 +3595,7 @@ export const MessagesAssistantMessage$outboundSchema: z.ZodType<
3544
3595
  ]),
3545
3596
  ).optional(),
3546
3597
  refusal: z.nullable(z.string()).optional(),
3547
- role: DeploymentsMessages4Role$outboundSchema,
3598
+ role: InvokeDeploymentRequestMessages4Role$outboundSchema,
3548
3599
  name: z.string().optional(),
3549
3600
  audio: z.nullable(z.lazy(() => MessagesAudio$outboundSchema)).optional(),
3550
3601
  toolCalls: z.array(z.lazy(() => MessagesToolCalls$outboundSchema)).optional(),
@@ -3577,22 +3628,23 @@ export function messagesAssistantMessageFromJSON(
3577
3628
  }
3578
3629
 
3579
3630
  /** @internal */
3580
- export const DeploymentsMessages3Role$inboundSchema: z.ZodNativeEnum<
3581
- typeof DeploymentsMessages3Role
3582
- > = z.nativeEnum(DeploymentsMessages3Role);
3631
+ export const InvokeDeploymentRequestMessages3Role$inboundSchema:
3632
+ z.ZodNativeEnum<typeof InvokeDeploymentRequestMessages3Role> = z.nativeEnum(
3633
+ InvokeDeploymentRequestMessages3Role,
3634
+ );
3583
3635
  /** @internal */
3584
- export const DeploymentsMessages3Role$outboundSchema: z.ZodNativeEnum<
3585
- typeof DeploymentsMessages3Role
3586
- > = DeploymentsMessages3Role$inboundSchema;
3636
+ export const InvokeDeploymentRequestMessages3Role$outboundSchema:
3637
+ z.ZodNativeEnum<typeof InvokeDeploymentRequestMessages3Role> =
3638
+ InvokeDeploymentRequestMessages3Role$inboundSchema;
3587
3639
 
3588
3640
  /** @internal */
3589
- export const Deployments2Messages3Content4Type$inboundSchema: z.ZodNativeEnum<
3590
- typeof Deployments2Messages3Content4Type
3591
- > = z.nativeEnum(Deployments2Messages3Content4Type);
3641
+ export const InvokeDeploymentRequest2Messages3Content4Type$inboundSchema:
3642
+ z.ZodNativeEnum<typeof InvokeDeploymentRequest2Messages3Content4Type> = z
3643
+ .nativeEnum(InvokeDeploymentRequest2Messages3Content4Type);
3592
3644
  /** @internal */
3593
- export const Deployments2Messages3Content4Type$outboundSchema: z.ZodNativeEnum<
3594
- typeof Deployments2Messages3Content4Type
3595
- > = Deployments2Messages3Content4Type$inboundSchema;
3645
+ export const InvokeDeploymentRequest2Messages3Content4Type$outboundSchema:
3646
+ z.ZodNativeEnum<typeof InvokeDeploymentRequest2Messages3Content4Type> =
3647
+ InvokeDeploymentRequest2Messages3Content4Type$inboundSchema;
3596
3648
 
3597
3649
  /** @internal */
3598
3650
  export const TwoFile$inboundSchema: z.ZodType<TwoFile, z.ZodTypeDef, unknown> =
@@ -3646,7 +3698,7 @@ export function twoFileFromJSON(
3646
3698
  /** @internal */
3647
3699
  export const Two4$inboundSchema: z.ZodType<Two4, z.ZodTypeDef, unknown> = z
3648
3700
  .object({
3649
- type: Deployments2Messages3Content4Type$inboundSchema,
3701
+ type: InvokeDeploymentRequest2Messages3Content4Type$inboundSchema,
3650
3702
  file: z.lazy(() => TwoFile$inboundSchema),
3651
3703
  });
3652
3704
  /** @internal */
@@ -3658,7 +3710,7 @@ export type Two4$Outbound = {
3658
3710
  /** @internal */
3659
3711
  export const Two4$outboundSchema: z.ZodType<Two4$Outbound, z.ZodTypeDef, Two4> =
3660
3712
  z.object({
3661
- type: Deployments2Messages3Content4Type$outboundSchema,
3713
+ type: InvokeDeploymentRequest2Messages3Content4Type$outboundSchema,
3662
3714
  file: z.lazy(() => TwoFile$outboundSchema),
3663
3715
  });
3664
3716
 
@@ -3676,13 +3728,13 @@ export function two4FromJSON(
3676
3728
  }
3677
3729
 
3678
3730
  /** @internal */
3679
- export const Deployments2Messages3ContentType$inboundSchema: z.ZodNativeEnum<
3680
- typeof Deployments2Messages3ContentType
3681
- > = z.nativeEnum(Deployments2Messages3ContentType);
3731
+ export const InvokeDeploymentRequest2Messages3ContentType$inboundSchema:
3732
+ z.ZodNativeEnum<typeof InvokeDeploymentRequest2Messages3ContentType> = z
3733
+ .nativeEnum(InvokeDeploymentRequest2Messages3ContentType);
3682
3734
  /** @internal */
3683
- export const Deployments2Messages3ContentType$outboundSchema: z.ZodNativeEnum<
3684
- typeof Deployments2Messages3ContentType
3685
- > = Deployments2Messages3ContentType$inboundSchema;
3735
+ export const InvokeDeploymentRequest2Messages3ContentType$outboundSchema:
3736
+ z.ZodNativeEnum<typeof InvokeDeploymentRequest2Messages3ContentType> =
3737
+ InvokeDeploymentRequest2Messages3ContentType$inboundSchema;
3686
3738
 
3687
3739
  /** @internal */
3688
3740
  export const TwoFormat$inboundSchema: z.ZodNativeEnum<typeof TwoFormat> = z
@@ -3732,7 +3784,7 @@ export function twoInputAudioFromJSON(
3732
3784
  /** @internal */
3733
3785
  export const Two3$inboundSchema: z.ZodType<Two3, z.ZodTypeDef, unknown> = z
3734
3786
  .object({
3735
- type: Deployments2Messages3ContentType$inboundSchema,
3787
+ type: InvokeDeploymentRequest2Messages3ContentType$inboundSchema,
3736
3788
  input_audio: z.lazy(() => TwoInputAudio$inboundSchema),
3737
3789
  }).transform((v) => {
3738
3790
  return remap$(v, {
@@ -3748,7 +3800,7 @@ export type Two3$Outbound = {
3748
3800
  /** @internal */
3749
3801
  export const Two3$outboundSchema: z.ZodType<Two3$Outbound, z.ZodTypeDef, Two3> =
3750
3802
  z.object({
3751
- type: Deployments2Messages3ContentType$outboundSchema,
3803
+ type: InvokeDeploymentRequest2Messages3ContentType$outboundSchema,
3752
3804
  inputAudio: z.lazy(() => TwoInputAudio$outboundSchema),
3753
3805
  }).transform((v) => {
3754
3806
  return remap$(v, {
@@ -3770,13 +3822,14 @@ export function two3FromJSON(
3770
3822
  }
3771
3823
 
3772
3824
  /** @internal */
3773
- export const Deployments2Messages3Type$inboundSchema: z.ZodNativeEnum<
3774
- typeof Deployments2Messages3Type
3775
- > = z.nativeEnum(Deployments2Messages3Type);
3825
+ export const InvokeDeploymentRequest2Messages3Type$inboundSchema:
3826
+ z.ZodNativeEnum<typeof InvokeDeploymentRequest2Messages3Type> = z.nativeEnum(
3827
+ InvokeDeploymentRequest2Messages3Type,
3828
+ );
3776
3829
  /** @internal */
3777
- export const Deployments2Messages3Type$outboundSchema: z.ZodNativeEnum<
3778
- typeof Deployments2Messages3Type
3779
- > = Deployments2Messages3Type$inboundSchema;
3830
+ export const InvokeDeploymentRequest2Messages3Type$outboundSchema:
3831
+ z.ZodNativeEnum<typeof InvokeDeploymentRequest2Messages3Type> =
3832
+ InvokeDeploymentRequest2Messages3Type$inboundSchema;
3780
3833
 
3781
3834
  /** @internal */
3782
3835
  export const TwoDetail$inboundSchema: z.ZodNativeEnum<typeof TwoDetail> = z
@@ -3824,12 +3877,12 @@ export function twoImageUrlFromJSON(
3824
3877
  }
3825
3878
 
3826
3879
  /** @internal */
3827
- export const Deployments22$inboundSchema: z.ZodType<
3828
- Deployments22,
3880
+ export const InvokeDeploymentRequest22$inboundSchema: z.ZodType<
3881
+ InvokeDeploymentRequest22,
3829
3882
  z.ZodTypeDef,
3830
3883
  unknown
3831
3884
  > = z.object({
3832
- type: Deployments2Messages3Type$inboundSchema,
3885
+ type: InvokeDeploymentRequest2Messages3Type$inboundSchema,
3833
3886
  image_url: z.lazy(() => TwoImageUrl$inboundSchema),
3834
3887
  }).transform((v) => {
3835
3888
  return remap$(v, {
@@ -3837,18 +3890,18 @@ export const Deployments22$inboundSchema: z.ZodType<
3837
3890
  });
3838
3891
  });
3839
3892
  /** @internal */
3840
- export type Deployments22$Outbound = {
3893
+ export type InvokeDeploymentRequest22$Outbound = {
3841
3894
  type: string;
3842
3895
  image_url: TwoImageUrl$Outbound;
3843
3896
  };
3844
3897
 
3845
3898
  /** @internal */
3846
- export const Deployments22$outboundSchema: z.ZodType<
3847
- Deployments22$Outbound,
3899
+ export const InvokeDeploymentRequest22$outboundSchema: z.ZodType<
3900
+ InvokeDeploymentRequest22$Outbound,
3848
3901
  z.ZodTypeDef,
3849
- Deployments22
3902
+ InvokeDeploymentRequest22
3850
3903
  > = z.object({
3851
- type: Deployments2Messages3Type$outboundSchema,
3904
+ type: InvokeDeploymentRequest2Messages3Type$outboundSchema,
3852
3905
  imageUrl: z.lazy(() => TwoImageUrl$outboundSchema),
3853
3906
  }).transform((v) => {
3854
3907
  return remap$(v, {
@@ -3856,32 +3909,37 @@ export const Deployments22$outboundSchema: z.ZodType<
3856
3909
  });
3857
3910
  });
3858
3911
 
3859
- export function deployments22ToJSON(deployments22: Deployments22): string {
3860
- return JSON.stringify(Deployments22$outboundSchema.parse(deployments22));
3912
+ export function invokeDeploymentRequest22ToJSON(
3913
+ invokeDeploymentRequest22: InvokeDeploymentRequest22,
3914
+ ): string {
3915
+ return JSON.stringify(
3916
+ InvokeDeploymentRequest22$outboundSchema.parse(invokeDeploymentRequest22),
3917
+ );
3861
3918
  }
3862
- export function deployments22FromJSON(
3919
+ export function invokeDeploymentRequest22FromJSON(
3863
3920
  jsonString: string,
3864
- ): SafeParseResult<Deployments22, SDKValidationError> {
3921
+ ): SafeParseResult<InvokeDeploymentRequest22, SDKValidationError> {
3865
3922
  return safeParse(
3866
3923
  jsonString,
3867
- (x) => Deployments22$inboundSchema.parse(JSON.parse(x)),
3868
- `Failed to parse 'Deployments22' from JSON`,
3924
+ (x) => InvokeDeploymentRequest22$inboundSchema.parse(JSON.parse(x)),
3925
+ `Failed to parse 'InvokeDeploymentRequest22' from JSON`,
3869
3926
  );
3870
3927
  }
3871
3928
 
3872
3929
  /** @internal */
3873
- export const Deployments2MessagesType$inboundSchema: z.ZodNativeEnum<
3874
- typeof Deployments2MessagesType
3875
- > = z.nativeEnum(Deployments2MessagesType);
3930
+ export const InvokeDeploymentRequest2MessagesType$inboundSchema:
3931
+ z.ZodNativeEnum<typeof InvokeDeploymentRequest2MessagesType> = z.nativeEnum(
3932
+ InvokeDeploymentRequest2MessagesType,
3933
+ );
3876
3934
  /** @internal */
3877
- export const Deployments2MessagesType$outboundSchema: z.ZodNativeEnum<
3878
- typeof Deployments2MessagesType
3879
- > = Deployments2MessagesType$inboundSchema;
3935
+ export const InvokeDeploymentRequest2MessagesType$outboundSchema:
3936
+ z.ZodNativeEnum<typeof InvokeDeploymentRequest2MessagesType> =
3937
+ InvokeDeploymentRequest2MessagesType$inboundSchema;
3880
3938
 
3881
3939
  /** @internal */
3882
3940
  export const Two1$inboundSchema: z.ZodType<Two1, z.ZodTypeDef, unknown> = z
3883
3941
  .object({
3884
- type: Deployments2MessagesType$inboundSchema,
3942
+ type: InvokeDeploymentRequest2MessagesType$inboundSchema,
3885
3943
  text: z.string(),
3886
3944
  });
3887
3945
  /** @internal */
@@ -3893,7 +3951,7 @@ export type Two1$Outbound = {
3893
3951
  /** @internal */
3894
3952
  export const Two1$outboundSchema: z.ZodType<Two1$Outbound, z.ZodTypeDef, Two1> =
3895
3953
  z.object({
3896
- type: Deployments2MessagesType$outboundSchema,
3954
+ type: InvokeDeploymentRequest2MessagesType$outboundSchema,
3897
3955
  text: z.string(),
3898
3956
  });
3899
3957
 
@@ -3911,49 +3969,51 @@ export function two1FromJSON(
3911
3969
  }
3912
3970
 
3913
3971
  /** @internal */
3914
- export const DeploymentsContent2$inboundSchema: z.ZodType<
3915
- DeploymentsContent2,
3972
+ export const InvokeDeploymentRequestContent2$inboundSchema: z.ZodType<
3973
+ InvokeDeploymentRequestContent2,
3916
3974
  z.ZodTypeDef,
3917
3975
  unknown
3918
3976
  > = z.union([
3919
3977
  z.lazy(() => Two1$inboundSchema),
3920
- z.lazy(() => Deployments22$inboundSchema),
3978
+ z.lazy(() => InvokeDeploymentRequest22$inboundSchema),
3921
3979
  z.lazy(() => Two3$inboundSchema),
3922
3980
  z.lazy(() => Two4$inboundSchema),
3923
3981
  ]);
3924
3982
  /** @internal */
3925
- export type DeploymentsContent2$Outbound =
3983
+ export type InvokeDeploymentRequestContent2$Outbound =
3926
3984
  | Two1$Outbound
3927
- | Deployments22$Outbound
3985
+ | InvokeDeploymentRequest22$Outbound
3928
3986
  | Two3$Outbound
3929
3987
  | Two4$Outbound;
3930
3988
 
3931
3989
  /** @internal */
3932
- export const DeploymentsContent2$outboundSchema: z.ZodType<
3933
- DeploymentsContent2$Outbound,
3990
+ export const InvokeDeploymentRequestContent2$outboundSchema: z.ZodType<
3991
+ InvokeDeploymentRequestContent2$Outbound,
3934
3992
  z.ZodTypeDef,
3935
- DeploymentsContent2
3993
+ InvokeDeploymentRequestContent2
3936
3994
  > = z.union([
3937
3995
  z.lazy(() => Two1$outboundSchema),
3938
- z.lazy(() => Deployments22$outboundSchema),
3996
+ z.lazy(() => InvokeDeploymentRequest22$outboundSchema),
3939
3997
  z.lazy(() => Two3$outboundSchema),
3940
3998
  z.lazy(() => Two4$outboundSchema),
3941
3999
  ]);
3942
4000
 
3943
- export function deploymentsContent2ToJSON(
3944
- deploymentsContent2: DeploymentsContent2,
4001
+ export function invokeDeploymentRequestContent2ToJSON(
4002
+ invokeDeploymentRequestContent2: InvokeDeploymentRequestContent2,
3945
4003
  ): string {
3946
4004
  return JSON.stringify(
3947
- DeploymentsContent2$outboundSchema.parse(deploymentsContent2),
4005
+ InvokeDeploymentRequestContent2$outboundSchema.parse(
4006
+ invokeDeploymentRequestContent2,
4007
+ ),
3948
4008
  );
3949
4009
  }
3950
- export function deploymentsContent2FromJSON(
4010
+ export function invokeDeploymentRequestContent2FromJSON(
3951
4011
  jsonString: string,
3952
- ): SafeParseResult<DeploymentsContent2, SDKValidationError> {
4012
+ ): SafeParseResult<InvokeDeploymentRequestContent2, SDKValidationError> {
3953
4013
  return safeParse(
3954
4014
  jsonString,
3955
- (x) => DeploymentsContent2$inboundSchema.parse(JSON.parse(x)),
3956
- `Failed to parse 'DeploymentsContent2' from JSON`,
4015
+ (x) => InvokeDeploymentRequestContent2$inboundSchema.parse(JSON.parse(x)),
4016
+ `Failed to parse 'InvokeDeploymentRequestContent2' from JSON`,
3957
4017
  );
3958
4018
  }
3959
4019
 
@@ -3966,7 +4026,7 @@ export const MessagesContent$inboundSchema: z.ZodType<
3966
4026
  z.string(),
3967
4027
  z.array(z.union([
3968
4028
  z.lazy(() => Two1$inboundSchema),
3969
- z.lazy(() => Deployments22$inboundSchema),
4029
+ z.lazy(() => InvokeDeploymentRequest22$inboundSchema),
3970
4030
  z.lazy(() => Two3$inboundSchema),
3971
4031
  z.lazy(() => Two4$inboundSchema),
3972
4032
  ])),
@@ -3975,7 +4035,10 @@ export const MessagesContent$inboundSchema: z.ZodType<
3975
4035
  export type MessagesContent$Outbound =
3976
4036
  | string
3977
4037
  | Array<
3978
- Two1$Outbound | Deployments22$Outbound | Two3$Outbound | Two4$Outbound
4038
+ | Two1$Outbound
4039
+ | InvokeDeploymentRequest22$Outbound
4040
+ | Two3$Outbound
4041
+ | Two4$Outbound
3979
4042
  >;
3980
4043
 
3981
4044
  /** @internal */
@@ -3987,7 +4050,7 @@ export const MessagesContent$outboundSchema: z.ZodType<
3987
4050
  z.string(),
3988
4051
  z.array(z.union([
3989
4052
  z.lazy(() => Two1$outboundSchema),
3990
- z.lazy(() => Deployments22$outboundSchema),
4053
+ z.lazy(() => InvokeDeploymentRequest22$outboundSchema),
3991
4054
  z.lazy(() => Two3$outboundSchema),
3992
4055
  z.lazy(() => Two4$outboundSchema),
3993
4056
  ])),
@@ -4014,13 +4077,13 @@ export const MessagesUserMessage$inboundSchema: z.ZodType<
4014
4077
  z.ZodTypeDef,
4015
4078
  unknown
4016
4079
  > = z.object({
4017
- role: DeploymentsMessages3Role$inboundSchema,
4080
+ role: InvokeDeploymentRequestMessages3Role$inboundSchema,
4018
4081
  name: z.string().optional(),
4019
4082
  content: z.union([
4020
4083
  z.string(),
4021
4084
  z.array(z.union([
4022
4085
  z.lazy(() => Two1$inboundSchema),
4023
- z.lazy(() => Deployments22$inboundSchema),
4086
+ z.lazy(() => InvokeDeploymentRequest22$inboundSchema),
4024
4087
  z.lazy(() => Two3$inboundSchema),
4025
4088
  z.lazy(() => Two4$inboundSchema),
4026
4089
  ])),
@@ -4033,7 +4096,10 @@ export type MessagesUserMessage$Outbound = {
4033
4096
  content:
4034
4097
  | string
4035
4098
  | Array<
4036
- Two1$Outbound | Deployments22$Outbound | Two3$Outbound | Two4$Outbound
4099
+ | Two1$Outbound
4100
+ | InvokeDeploymentRequest22$Outbound
4101
+ | Two3$Outbound
4102
+ | Two4$Outbound
4037
4103
  >;
4038
4104
  };
4039
4105
 
@@ -4043,13 +4109,13 @@ export const MessagesUserMessage$outboundSchema: z.ZodType<
4043
4109
  z.ZodTypeDef,
4044
4110
  MessagesUserMessage
4045
4111
  > = z.object({
4046
- role: DeploymentsMessages3Role$outboundSchema,
4112
+ role: InvokeDeploymentRequestMessages3Role$outboundSchema,
4047
4113
  name: z.string().optional(),
4048
4114
  content: z.union([
4049
4115
  z.string(),
4050
4116
  z.array(z.union([
4051
4117
  z.lazy(() => Two1$outboundSchema),
4052
- z.lazy(() => Deployments22$outboundSchema),
4118
+ z.lazy(() => InvokeDeploymentRequest22$outboundSchema),
4053
4119
  z.lazy(() => Two3$outboundSchema),
4054
4120
  z.lazy(() => Two4$outboundSchema),
4055
4121
  ])),
@@ -4074,13 +4140,13 @@ export function messagesUserMessageFromJSON(
4074
4140
  }
4075
4141
 
4076
4142
  /** @internal */
4077
- export const DeploymentsMessagesRole$inboundSchema: z.ZodNativeEnum<
4078
- typeof DeploymentsMessagesRole
4079
- > = z.nativeEnum(DeploymentsMessagesRole);
4143
+ export const InvokeDeploymentRequestMessagesRole$inboundSchema: z.ZodNativeEnum<
4144
+ typeof InvokeDeploymentRequestMessagesRole
4145
+ > = z.nativeEnum(InvokeDeploymentRequestMessagesRole);
4080
4146
  /** @internal */
4081
- export const DeploymentsMessagesRole$outboundSchema: z.ZodNativeEnum<
4082
- typeof DeploymentsMessagesRole
4083
- > = DeploymentsMessagesRole$inboundSchema;
4147
+ export const InvokeDeploymentRequestMessagesRole$outboundSchema:
4148
+ z.ZodNativeEnum<typeof InvokeDeploymentRequestMessagesRole> =
4149
+ InvokeDeploymentRequestMessagesRole$inboundSchema;
4084
4150
 
4085
4151
  /** @internal */
4086
4152
  export const MessagesSystemMessage$inboundSchema: z.ZodType<
@@ -4088,7 +4154,7 @@ export const MessagesSystemMessage$inboundSchema: z.ZodType<
4088
4154
  z.ZodTypeDef,
4089
4155
  unknown
4090
4156
  > = z.object({
4091
- role: DeploymentsMessagesRole$inboundSchema,
4157
+ role: InvokeDeploymentRequestMessagesRole$inboundSchema,
4092
4158
  content: z.string(),
4093
4159
  name: z.string().optional(),
4094
4160
  });
@@ -4105,7 +4171,7 @@ export const MessagesSystemMessage$outboundSchema: z.ZodType<
4105
4171
  z.ZodTypeDef,
4106
4172
  MessagesSystemMessage
4107
4173
  > = z.object({
4108
- role: DeploymentsMessagesRole$outboundSchema,
4174
+ role: InvokeDeploymentRequestMessagesRole$outboundSchema,
4109
4175
  content: z.string(),
4110
4176
  name: z.string().optional(),
4111
4177
  });
@@ -4461,41 +4527,43 @@ export function orNinFromJSON(
4461
4527
  }
4462
4528
 
4463
4529
  /** @internal */
4464
- export const DeploymentsOrNin$inboundSchema: z.ZodType<
4465
- DeploymentsOrNin,
4530
+ export const InvokeDeploymentRequestOrNin$inboundSchema: z.ZodType<
4531
+ InvokeDeploymentRequestOrNin,
4466
4532
  z.ZodTypeDef,
4467
4533
  unknown
4468
4534
  > = z.object({
4469
4535
  nin: z.array(z.union([z.string(), z.number(), z.boolean()])),
4470
4536
  });
4471
4537
  /** @internal */
4472
- export type DeploymentsOrNin$Outbound = {
4538
+ export type InvokeDeploymentRequestOrNin$Outbound = {
4473
4539
  nin: Array<string | number | boolean>;
4474
4540
  };
4475
4541
 
4476
4542
  /** @internal */
4477
- export const DeploymentsOrNin$outboundSchema: z.ZodType<
4478
- DeploymentsOrNin$Outbound,
4543
+ export const InvokeDeploymentRequestOrNin$outboundSchema: z.ZodType<
4544
+ InvokeDeploymentRequestOrNin$Outbound,
4479
4545
  z.ZodTypeDef,
4480
- DeploymentsOrNin
4546
+ InvokeDeploymentRequestOrNin
4481
4547
  > = z.object({
4482
4548
  nin: z.array(z.union([z.string(), z.number(), z.boolean()])),
4483
4549
  });
4484
4550
 
4485
- export function deploymentsOrNinToJSON(
4486
- deploymentsOrNin: DeploymentsOrNin,
4551
+ export function invokeDeploymentRequestOrNinToJSON(
4552
+ invokeDeploymentRequestOrNin: InvokeDeploymentRequestOrNin,
4487
4553
  ): string {
4488
4554
  return JSON.stringify(
4489
- DeploymentsOrNin$outboundSchema.parse(deploymentsOrNin),
4555
+ InvokeDeploymentRequestOrNin$outboundSchema.parse(
4556
+ invokeDeploymentRequestOrNin,
4557
+ ),
4490
4558
  );
4491
4559
  }
4492
- export function deploymentsOrNinFromJSON(
4560
+ export function invokeDeploymentRequestOrNinFromJSON(
4493
4561
  jsonString: string,
4494
- ): SafeParseResult<DeploymentsOrNin, SDKValidationError> {
4562
+ ): SafeParseResult<InvokeDeploymentRequestOrNin, SDKValidationError> {
4495
4563
  return safeParse(
4496
4564
  jsonString,
4497
- (x) => DeploymentsOrNin$inboundSchema.parse(JSON.parse(x)),
4498
- `Failed to parse 'DeploymentsOrNin' from JSON`,
4565
+ (x) => InvokeDeploymentRequestOrNin$inboundSchema.parse(JSON.parse(x)),
4566
+ `Failed to parse 'InvokeDeploymentRequestOrNin' from JSON`,
4499
4567
  );
4500
4568
  }
4501
4569
 
@@ -4523,39 +4591,43 @@ export function orInFromJSON(
4523
4591
  }
4524
4592
 
4525
4593
  /** @internal */
4526
- export const DeploymentsOrIn$inboundSchema: z.ZodType<
4527
- DeploymentsOrIn,
4594
+ export const InvokeDeploymentRequestOrIn$inboundSchema: z.ZodType<
4595
+ InvokeDeploymentRequestOrIn,
4528
4596
  z.ZodTypeDef,
4529
4597
  unknown
4530
4598
  > = z.object({
4531
4599
  in: z.array(z.union([z.string(), z.number(), z.boolean()])),
4532
4600
  });
4533
4601
  /** @internal */
4534
- export type DeploymentsOrIn$Outbound = {
4602
+ export type InvokeDeploymentRequestOrIn$Outbound = {
4535
4603
  in: Array<string | number | boolean>;
4536
4604
  };
4537
4605
 
4538
4606
  /** @internal */
4539
- export const DeploymentsOrIn$outboundSchema: z.ZodType<
4540
- DeploymentsOrIn$Outbound,
4607
+ export const InvokeDeploymentRequestOrIn$outboundSchema: z.ZodType<
4608
+ InvokeDeploymentRequestOrIn$Outbound,
4541
4609
  z.ZodTypeDef,
4542
- DeploymentsOrIn
4610
+ InvokeDeploymentRequestOrIn
4543
4611
  > = z.object({
4544
4612
  in: z.array(z.union([z.string(), z.number(), z.boolean()])),
4545
4613
  });
4546
4614
 
4547
- export function deploymentsOrInToJSON(
4548
- deploymentsOrIn: DeploymentsOrIn,
4615
+ export function invokeDeploymentRequestOrInToJSON(
4616
+ invokeDeploymentRequestOrIn: InvokeDeploymentRequestOrIn,
4549
4617
  ): string {
4550
- return JSON.stringify(DeploymentsOrIn$outboundSchema.parse(deploymentsOrIn));
4618
+ return JSON.stringify(
4619
+ InvokeDeploymentRequestOrIn$outboundSchema.parse(
4620
+ invokeDeploymentRequestOrIn,
4621
+ ),
4622
+ );
4551
4623
  }
4552
- export function deploymentsOrInFromJSON(
4624
+ export function invokeDeploymentRequestOrInFromJSON(
4553
4625
  jsonString: string,
4554
- ): SafeParseResult<DeploymentsOrIn, SDKValidationError> {
4626
+ ): SafeParseResult<InvokeDeploymentRequestOrIn, SDKValidationError> {
4555
4627
  return safeParse(
4556
4628
  jsonString,
4557
- (x) => DeploymentsOrIn$inboundSchema.parse(JSON.parse(x)),
4558
- `Failed to parse 'DeploymentsOrIn' from JSON`,
4629
+ (x) => InvokeDeploymentRequestOrIn$inboundSchema.parse(JSON.parse(x)),
4630
+ `Failed to parse 'InvokeDeploymentRequestOrIn' from JSON`,
4559
4631
  );
4560
4632
  }
4561
4633
 
@@ -4653,31 +4725,31 @@ export function orGteFromJSON(
4653
4725
  }
4654
4726
 
4655
4727
  /** @internal */
4656
- export const Or3$inboundSchema: z.ZodType<Or3, z.ZodTypeDef, unknown> = z
4728
+ export const OrGt$inboundSchema: z.ZodType<OrGt, z.ZodTypeDef, unknown> = z
4657
4729
  .object({
4658
4730
  gt: z.number(),
4659
4731
  });
4660
4732
  /** @internal */
4661
- export type Or3$Outbound = {
4733
+ export type OrGt$Outbound = {
4662
4734
  gt: number;
4663
4735
  };
4664
4736
 
4665
4737
  /** @internal */
4666
- export const Or3$outboundSchema: z.ZodType<Or3$Outbound, z.ZodTypeDef, Or3> = z
4667
- .object({
4738
+ export const OrGt$outboundSchema: z.ZodType<OrGt$Outbound, z.ZodTypeDef, OrGt> =
4739
+ z.object({
4668
4740
  gt: z.number(),
4669
4741
  });
4670
4742
 
4671
- export function or3ToJSON(or3: Or3): string {
4672
- return JSON.stringify(Or3$outboundSchema.parse(or3));
4743
+ export function orGtToJSON(orGt: OrGt): string {
4744
+ return JSON.stringify(OrGt$outboundSchema.parse(orGt));
4673
4745
  }
4674
- export function or3FromJSON(
4746
+ export function orGtFromJSON(
4675
4747
  jsonString: string,
4676
- ): SafeParseResult<Or3, SDKValidationError> {
4748
+ ): SafeParseResult<OrGt, SDKValidationError> {
4677
4749
  return safeParse(
4678
4750
  jsonString,
4679
- (x) => Or3$inboundSchema.parse(JSON.parse(x)),
4680
- `Failed to parse 'Or3' from JSON`,
4751
+ (x) => OrGt$inboundSchema.parse(JSON.parse(x)),
4752
+ `Failed to parse 'OrGt' from JSON`,
4681
4753
  );
4682
4754
  }
4683
4755
 
@@ -4705,39 +4777,43 @@ export function orNeFromJSON(
4705
4777
  }
4706
4778
 
4707
4779
  /** @internal */
4708
- export const DeploymentsOrNe$inboundSchema: z.ZodType<
4709
- DeploymentsOrNe,
4780
+ export const InvokeDeploymentRequestOrNe$inboundSchema: z.ZodType<
4781
+ InvokeDeploymentRequestOrNe,
4710
4782
  z.ZodTypeDef,
4711
4783
  unknown
4712
4784
  > = z.object({
4713
4785
  ne: z.union([z.string(), z.number(), z.boolean()]),
4714
4786
  });
4715
4787
  /** @internal */
4716
- export type DeploymentsOrNe$Outbound = {
4788
+ export type InvokeDeploymentRequestOrNe$Outbound = {
4717
4789
  ne: string | number | boolean;
4718
4790
  };
4719
4791
 
4720
4792
  /** @internal */
4721
- export const DeploymentsOrNe$outboundSchema: z.ZodType<
4722
- DeploymentsOrNe$Outbound,
4793
+ export const InvokeDeploymentRequestOrNe$outboundSchema: z.ZodType<
4794
+ InvokeDeploymentRequestOrNe$Outbound,
4723
4795
  z.ZodTypeDef,
4724
- DeploymentsOrNe
4796
+ InvokeDeploymentRequestOrNe
4725
4797
  > = z.object({
4726
4798
  ne: z.union([z.string(), z.number(), z.boolean()]),
4727
4799
  });
4728
4800
 
4729
- export function deploymentsOrNeToJSON(
4730
- deploymentsOrNe: DeploymentsOrNe,
4801
+ export function invokeDeploymentRequestOrNeToJSON(
4802
+ invokeDeploymentRequestOrNe: InvokeDeploymentRequestOrNe,
4731
4803
  ): string {
4732
- return JSON.stringify(DeploymentsOrNe$outboundSchema.parse(deploymentsOrNe));
4804
+ return JSON.stringify(
4805
+ InvokeDeploymentRequestOrNe$outboundSchema.parse(
4806
+ invokeDeploymentRequestOrNe,
4807
+ ),
4808
+ );
4733
4809
  }
4734
- export function deploymentsOrNeFromJSON(
4810
+ export function invokeDeploymentRequestOrNeFromJSON(
4735
4811
  jsonString: string,
4736
- ): SafeParseResult<DeploymentsOrNe, SDKValidationError> {
4812
+ ): SafeParseResult<InvokeDeploymentRequestOrNe, SDKValidationError> {
4737
4813
  return safeParse(
4738
4814
  jsonString,
4739
- (x) => DeploymentsOrNe$inboundSchema.parse(JSON.parse(x)),
4740
- `Failed to parse 'DeploymentsOrNe' from JSON`,
4815
+ (x) => InvokeDeploymentRequestOrNe$inboundSchema.parse(JSON.parse(x)),
4816
+ `Failed to parse 'InvokeDeploymentRequestOrNe' from JSON`,
4741
4817
  );
4742
4818
  }
4743
4819
 
@@ -4765,77 +4841,81 @@ export function orEqFromJSON(
4765
4841
  }
4766
4842
 
4767
4843
  /** @internal */
4768
- export const DeploymentsOrEq$inboundSchema: z.ZodType<
4769
- DeploymentsOrEq,
4844
+ export const InvokeDeploymentRequestOrEq$inboundSchema: z.ZodType<
4845
+ InvokeDeploymentRequestOrEq,
4770
4846
  z.ZodTypeDef,
4771
4847
  unknown
4772
4848
  > = z.object({
4773
4849
  eq: z.union([z.string(), z.number(), z.boolean()]),
4774
4850
  });
4775
4851
  /** @internal */
4776
- export type DeploymentsOrEq$Outbound = {
4852
+ export type InvokeDeploymentRequestOrEq$Outbound = {
4777
4853
  eq: string | number | boolean;
4778
4854
  };
4779
4855
 
4780
4856
  /** @internal */
4781
- export const DeploymentsOrEq$outboundSchema: z.ZodType<
4782
- DeploymentsOrEq$Outbound,
4857
+ export const InvokeDeploymentRequestOrEq$outboundSchema: z.ZodType<
4858
+ InvokeDeploymentRequestOrEq$Outbound,
4783
4859
  z.ZodTypeDef,
4784
- DeploymentsOrEq
4860
+ InvokeDeploymentRequestOrEq
4785
4861
  > = z.object({
4786
4862
  eq: z.union([z.string(), z.number(), z.boolean()]),
4787
4863
  });
4788
4864
 
4789
- export function deploymentsOrEqToJSON(
4790
- deploymentsOrEq: DeploymentsOrEq,
4865
+ export function invokeDeploymentRequestOrEqToJSON(
4866
+ invokeDeploymentRequestOrEq: InvokeDeploymentRequestOrEq,
4791
4867
  ): string {
4792
- return JSON.stringify(DeploymentsOrEq$outboundSchema.parse(deploymentsOrEq));
4868
+ return JSON.stringify(
4869
+ InvokeDeploymentRequestOrEq$outboundSchema.parse(
4870
+ invokeDeploymentRequestOrEq,
4871
+ ),
4872
+ );
4793
4873
  }
4794
- export function deploymentsOrEqFromJSON(
4874
+ export function invokeDeploymentRequestOrEqFromJSON(
4795
4875
  jsonString: string,
4796
- ): SafeParseResult<DeploymentsOrEq, SDKValidationError> {
4876
+ ): SafeParseResult<InvokeDeploymentRequestOrEq, SDKValidationError> {
4797
4877
  return safeParse(
4798
4878
  jsonString,
4799
- (x) => DeploymentsOrEq$inboundSchema.parse(JSON.parse(x)),
4800
- `Failed to parse 'DeploymentsOrEq' from JSON`,
4879
+ (x) => InvokeDeploymentRequestOrEq$inboundSchema.parse(JSON.parse(x)),
4880
+ `Failed to parse 'InvokeDeploymentRequestOrEq' from JSON`,
4801
4881
  );
4802
4882
  }
4803
4883
 
4804
4884
  /** @internal */
4805
4885
  export const Or$inboundSchema: z.ZodType<Or, z.ZodTypeDef, unknown> = z.union([
4806
- z.lazy(() => DeploymentsOrEq$inboundSchema),
4807
- z.lazy(() => DeploymentsOrNe$inboundSchema),
4808
- z.lazy(() => Or3$inboundSchema),
4886
+ z.lazy(() => InvokeDeploymentRequestOrEq$inboundSchema),
4887
+ z.lazy(() => InvokeDeploymentRequestOrNe$inboundSchema),
4888
+ z.lazy(() => OrGt$inboundSchema),
4809
4889
  z.lazy(() => OrGte$inboundSchema),
4810
4890
  z.lazy(() => OrLt$inboundSchema),
4811
4891
  z.lazy(() => OrLte$inboundSchema),
4812
- z.lazy(() => DeploymentsOrIn$inboundSchema),
4813
- z.lazy(() => DeploymentsOrNin$inboundSchema),
4892
+ z.lazy(() => InvokeDeploymentRequestOrIn$inboundSchema),
4893
+ z.lazy(() => InvokeDeploymentRequestOrNin$inboundSchema),
4814
4894
  z.lazy(() => OrExists$inboundSchema),
4815
4895
  ]);
4816
4896
  /** @internal */
4817
4897
  export type Or$Outbound =
4818
- | DeploymentsOrEq$Outbound
4819
- | DeploymentsOrNe$Outbound
4820
- | Or3$Outbound
4898
+ | InvokeDeploymentRequestOrEq$Outbound
4899
+ | InvokeDeploymentRequestOrNe$Outbound
4900
+ | OrGt$Outbound
4821
4901
  | OrGte$Outbound
4822
4902
  | OrLt$Outbound
4823
4903
  | OrLte$Outbound
4824
- | DeploymentsOrIn$Outbound
4825
- | DeploymentsOrNin$Outbound
4904
+ | InvokeDeploymentRequestOrIn$Outbound
4905
+ | InvokeDeploymentRequestOrNin$Outbound
4826
4906
  | OrExists$Outbound;
4827
4907
 
4828
4908
  /** @internal */
4829
4909
  export const Or$outboundSchema: z.ZodType<Or$Outbound, z.ZodTypeDef, Or> = z
4830
4910
  .union([
4831
- z.lazy(() => DeploymentsOrEq$outboundSchema),
4832
- z.lazy(() => DeploymentsOrNe$outboundSchema),
4833
- z.lazy(() => Or3$outboundSchema),
4911
+ z.lazy(() => InvokeDeploymentRequestOrEq$outboundSchema),
4912
+ z.lazy(() => InvokeDeploymentRequestOrNe$outboundSchema),
4913
+ z.lazy(() => OrGt$outboundSchema),
4834
4914
  z.lazy(() => OrGte$outboundSchema),
4835
4915
  z.lazy(() => OrLt$outboundSchema),
4836
4916
  z.lazy(() => OrLte$outboundSchema),
4837
- z.lazy(() => DeploymentsOrIn$outboundSchema),
4838
- z.lazy(() => DeploymentsOrNin$outboundSchema),
4917
+ z.lazy(() => InvokeDeploymentRequestOrIn$outboundSchema),
4918
+ z.lazy(() => InvokeDeploymentRequestOrNin$outboundSchema),
4839
4919
  z.lazy(() => OrExists$outboundSchema),
4840
4920
  ]);
4841
4921
 
@@ -4860,16 +4940,16 @@ export const KnowledgeFilterOr$inboundSchema: z.ZodType<
4860
4940
  > = z.object({
4861
4941
  or: z.array(
4862
4942
  z.record(z.union([
4863
- z.lazy(() => DeploymentsOrEq$inboundSchema),
4943
+ z.lazy(() => InvokeDeploymentRequestOrEq$inboundSchema),
4864
4944
  z.lazy(() =>
4865
- DeploymentsOrNe$inboundSchema
4945
+ InvokeDeploymentRequestOrNe$inboundSchema
4866
4946
  ),
4867
- z.lazy(() => Or3$inboundSchema),
4947
+ z.lazy(() => OrGt$inboundSchema),
4868
4948
  z.lazy(() => OrGte$inboundSchema),
4869
4949
  z.lazy(() => OrLt$inboundSchema),
4870
4950
  z.lazy(() => OrLte$inboundSchema),
4871
- z.lazy(() => DeploymentsOrIn$inboundSchema),
4872
- z.lazy(() => DeploymentsOrNin$inboundSchema),
4951
+ z.lazy(() => InvokeDeploymentRequestOrIn$inboundSchema),
4952
+ z.lazy(() => InvokeDeploymentRequestOrNin$inboundSchema),
4873
4953
  z.lazy(() => OrExists$inboundSchema),
4874
4954
  ])),
4875
4955
  ),
@@ -4879,14 +4959,14 @@ export type KnowledgeFilterOr$Outbound = {
4879
4959
  or: Array<
4880
4960
  {
4881
4961
  [k: string]:
4882
- | DeploymentsOrEq$Outbound
4883
- | DeploymentsOrNe$Outbound
4884
- | Or3$Outbound
4962
+ | InvokeDeploymentRequestOrEq$Outbound
4963
+ | InvokeDeploymentRequestOrNe$Outbound
4964
+ | OrGt$Outbound
4885
4965
  | OrGte$Outbound
4886
4966
  | OrLt$Outbound
4887
4967
  | OrLte$Outbound
4888
- | DeploymentsOrIn$Outbound
4889
- | DeploymentsOrNin$Outbound
4968
+ | InvokeDeploymentRequestOrIn$Outbound
4969
+ | InvokeDeploymentRequestOrNin$Outbound
4890
4970
  | OrExists$Outbound;
4891
4971
  }
4892
4972
  >;
@@ -4900,16 +4980,16 @@ export const KnowledgeFilterOr$outboundSchema: z.ZodType<
4900
4980
  > = z.object({
4901
4981
  or: z.array(
4902
4982
  z.record(z.union([
4903
- z.lazy(() => DeploymentsOrEq$outboundSchema),
4983
+ z.lazy(() => InvokeDeploymentRequestOrEq$outboundSchema),
4904
4984
  z.lazy(() =>
4905
- DeploymentsOrNe$outboundSchema
4985
+ InvokeDeploymentRequestOrNe$outboundSchema
4906
4986
  ),
4907
- z.lazy(() => Or3$outboundSchema),
4987
+ z.lazy(() => OrGt$outboundSchema),
4908
4988
  z.lazy(() => OrGte$outboundSchema),
4909
4989
  z.lazy(() => OrLt$outboundSchema),
4910
4990
  z.lazy(() => OrLte$outboundSchema),
4911
- z.lazy(() => DeploymentsOrIn$outboundSchema),
4912
- z.lazy(() => DeploymentsOrNin$outboundSchema),
4991
+ z.lazy(() => InvokeDeploymentRequestOrIn$outboundSchema),
4992
+ z.lazy(() => InvokeDeploymentRequestOrNin$outboundSchema),
4913
4993
  z.lazy(() => OrExists$outboundSchema),
4914
4994
  ])),
4915
4995
  ),
@@ -4994,41 +5074,43 @@ export function andNinFromJSON(
4994
5074
  }
4995
5075
 
4996
5076
  /** @internal */
4997
- export const DeploymentsAndNin$inboundSchema: z.ZodType<
4998
- DeploymentsAndNin,
5077
+ export const InvokeDeploymentRequestAndNin$inboundSchema: z.ZodType<
5078
+ InvokeDeploymentRequestAndNin,
4999
5079
  z.ZodTypeDef,
5000
5080
  unknown
5001
5081
  > = z.object({
5002
5082
  nin: z.array(z.union([z.string(), z.number(), z.boolean()])),
5003
5083
  });
5004
5084
  /** @internal */
5005
- export type DeploymentsAndNin$Outbound = {
5085
+ export type InvokeDeploymentRequestAndNin$Outbound = {
5006
5086
  nin: Array<string | number | boolean>;
5007
5087
  };
5008
5088
 
5009
5089
  /** @internal */
5010
- export const DeploymentsAndNin$outboundSchema: z.ZodType<
5011
- DeploymentsAndNin$Outbound,
5090
+ export const InvokeDeploymentRequestAndNin$outboundSchema: z.ZodType<
5091
+ InvokeDeploymentRequestAndNin$Outbound,
5012
5092
  z.ZodTypeDef,
5013
- DeploymentsAndNin
5093
+ InvokeDeploymentRequestAndNin
5014
5094
  > = z.object({
5015
5095
  nin: z.array(z.union([z.string(), z.number(), z.boolean()])),
5016
5096
  });
5017
5097
 
5018
- export function deploymentsAndNinToJSON(
5019
- deploymentsAndNin: DeploymentsAndNin,
5098
+ export function invokeDeploymentRequestAndNinToJSON(
5099
+ invokeDeploymentRequestAndNin: InvokeDeploymentRequestAndNin,
5020
5100
  ): string {
5021
5101
  return JSON.stringify(
5022
- DeploymentsAndNin$outboundSchema.parse(deploymentsAndNin),
5102
+ InvokeDeploymentRequestAndNin$outboundSchema.parse(
5103
+ invokeDeploymentRequestAndNin,
5104
+ ),
5023
5105
  );
5024
5106
  }
5025
- export function deploymentsAndNinFromJSON(
5107
+ export function invokeDeploymentRequestAndNinFromJSON(
5026
5108
  jsonString: string,
5027
- ): SafeParseResult<DeploymentsAndNin, SDKValidationError> {
5109
+ ): SafeParseResult<InvokeDeploymentRequestAndNin, SDKValidationError> {
5028
5110
  return safeParse(
5029
5111
  jsonString,
5030
- (x) => DeploymentsAndNin$inboundSchema.parse(JSON.parse(x)),
5031
- `Failed to parse 'DeploymentsAndNin' from JSON`,
5112
+ (x) => InvokeDeploymentRequestAndNin$inboundSchema.parse(JSON.parse(x)),
5113
+ `Failed to parse 'InvokeDeploymentRequestAndNin' from JSON`,
5032
5114
  );
5033
5115
  }
5034
5116
 
@@ -5059,41 +5141,43 @@ export function andInFromJSON(
5059
5141
  }
5060
5142
 
5061
5143
  /** @internal */
5062
- export const DeploymentsAndIn$inboundSchema: z.ZodType<
5063
- DeploymentsAndIn,
5144
+ export const InvokeDeploymentRequestAndIn$inboundSchema: z.ZodType<
5145
+ InvokeDeploymentRequestAndIn,
5064
5146
  z.ZodTypeDef,
5065
5147
  unknown
5066
5148
  > = z.object({
5067
5149
  in: z.array(z.union([z.string(), z.number(), z.boolean()])),
5068
5150
  });
5069
5151
  /** @internal */
5070
- export type DeploymentsAndIn$Outbound = {
5152
+ export type InvokeDeploymentRequestAndIn$Outbound = {
5071
5153
  in: Array<string | number | boolean>;
5072
5154
  };
5073
5155
 
5074
5156
  /** @internal */
5075
- export const DeploymentsAndIn$outboundSchema: z.ZodType<
5076
- DeploymentsAndIn$Outbound,
5157
+ export const InvokeDeploymentRequestAndIn$outboundSchema: z.ZodType<
5158
+ InvokeDeploymentRequestAndIn$Outbound,
5077
5159
  z.ZodTypeDef,
5078
- DeploymentsAndIn
5160
+ InvokeDeploymentRequestAndIn
5079
5161
  > = z.object({
5080
5162
  in: z.array(z.union([z.string(), z.number(), z.boolean()])),
5081
5163
  });
5082
5164
 
5083
- export function deploymentsAndInToJSON(
5084
- deploymentsAndIn: DeploymentsAndIn,
5165
+ export function invokeDeploymentRequestAndInToJSON(
5166
+ invokeDeploymentRequestAndIn: InvokeDeploymentRequestAndIn,
5085
5167
  ): string {
5086
5168
  return JSON.stringify(
5087
- DeploymentsAndIn$outboundSchema.parse(deploymentsAndIn),
5169
+ InvokeDeploymentRequestAndIn$outboundSchema.parse(
5170
+ invokeDeploymentRequestAndIn,
5171
+ ),
5088
5172
  );
5089
5173
  }
5090
- export function deploymentsAndInFromJSON(
5174
+ export function invokeDeploymentRequestAndInFromJSON(
5091
5175
  jsonString: string,
5092
- ): SafeParseResult<DeploymentsAndIn, SDKValidationError> {
5176
+ ): SafeParseResult<InvokeDeploymentRequestAndIn, SDKValidationError> {
5093
5177
  return safeParse(
5094
5178
  jsonString,
5095
- (x) => DeploymentsAndIn$inboundSchema.parse(JSON.parse(x)),
5096
- `Failed to parse 'DeploymentsAndIn' from JSON`,
5179
+ (x) => InvokeDeploymentRequestAndIn$inboundSchema.parse(JSON.parse(x)),
5180
+ `Failed to parse 'InvokeDeploymentRequestAndIn' from JSON`,
5097
5181
  );
5098
5182
  }
5099
5183
 
@@ -5194,31 +5278,34 @@ export function andGteFromJSON(
5194
5278
  }
5195
5279
 
5196
5280
  /** @internal */
5197
- export const And3$inboundSchema: z.ZodType<And3, z.ZodTypeDef, unknown> = z
5281
+ export const AndGt$inboundSchema: z.ZodType<AndGt, z.ZodTypeDef, unknown> = z
5198
5282
  .object({
5199
5283
  gt: z.number(),
5200
5284
  });
5201
5285
  /** @internal */
5202
- export type And3$Outbound = {
5286
+ export type AndGt$Outbound = {
5203
5287
  gt: number;
5204
5288
  };
5205
5289
 
5206
5290
  /** @internal */
5207
- export const And3$outboundSchema: z.ZodType<And3$Outbound, z.ZodTypeDef, And3> =
5208
- z.object({
5209
- gt: z.number(),
5210
- });
5291
+ export const AndGt$outboundSchema: z.ZodType<
5292
+ AndGt$Outbound,
5293
+ z.ZodTypeDef,
5294
+ AndGt
5295
+ > = z.object({
5296
+ gt: z.number(),
5297
+ });
5211
5298
 
5212
- export function and3ToJSON(and3: And3): string {
5213
- return JSON.stringify(And3$outboundSchema.parse(and3));
5299
+ export function andGtToJSON(andGt: AndGt): string {
5300
+ return JSON.stringify(AndGt$outboundSchema.parse(andGt));
5214
5301
  }
5215
- export function and3FromJSON(
5302
+ export function andGtFromJSON(
5216
5303
  jsonString: string,
5217
- ): SafeParseResult<And3, SDKValidationError> {
5304
+ ): SafeParseResult<AndGt, SDKValidationError> {
5218
5305
  return safeParse(
5219
5306
  jsonString,
5220
- (x) => And3$inboundSchema.parse(JSON.parse(x)),
5221
- `Failed to parse 'And3' from JSON`,
5307
+ (x) => AndGt$inboundSchema.parse(JSON.parse(x)),
5308
+ `Failed to parse 'AndGt' from JSON`,
5222
5309
  );
5223
5310
  }
5224
5311
 
@@ -5249,41 +5336,43 @@ export function andNeFromJSON(
5249
5336
  }
5250
5337
 
5251
5338
  /** @internal */
5252
- export const DeploymentsAndNe$inboundSchema: z.ZodType<
5253
- DeploymentsAndNe,
5339
+ export const InvokeDeploymentRequestAndNe$inboundSchema: z.ZodType<
5340
+ InvokeDeploymentRequestAndNe,
5254
5341
  z.ZodTypeDef,
5255
5342
  unknown
5256
5343
  > = z.object({
5257
5344
  ne: z.union([z.string(), z.number(), z.boolean()]),
5258
5345
  });
5259
5346
  /** @internal */
5260
- export type DeploymentsAndNe$Outbound = {
5347
+ export type InvokeDeploymentRequestAndNe$Outbound = {
5261
5348
  ne: string | number | boolean;
5262
5349
  };
5263
5350
 
5264
5351
  /** @internal */
5265
- export const DeploymentsAndNe$outboundSchema: z.ZodType<
5266
- DeploymentsAndNe$Outbound,
5352
+ export const InvokeDeploymentRequestAndNe$outboundSchema: z.ZodType<
5353
+ InvokeDeploymentRequestAndNe$Outbound,
5267
5354
  z.ZodTypeDef,
5268
- DeploymentsAndNe
5355
+ InvokeDeploymentRequestAndNe
5269
5356
  > = z.object({
5270
5357
  ne: z.union([z.string(), z.number(), z.boolean()]),
5271
5358
  });
5272
5359
 
5273
- export function deploymentsAndNeToJSON(
5274
- deploymentsAndNe: DeploymentsAndNe,
5360
+ export function invokeDeploymentRequestAndNeToJSON(
5361
+ invokeDeploymentRequestAndNe: InvokeDeploymentRequestAndNe,
5275
5362
  ): string {
5276
5363
  return JSON.stringify(
5277
- DeploymentsAndNe$outboundSchema.parse(deploymentsAndNe),
5364
+ InvokeDeploymentRequestAndNe$outboundSchema.parse(
5365
+ invokeDeploymentRequestAndNe,
5366
+ ),
5278
5367
  );
5279
5368
  }
5280
- export function deploymentsAndNeFromJSON(
5369
+ export function invokeDeploymentRequestAndNeFromJSON(
5281
5370
  jsonString: string,
5282
- ): SafeParseResult<DeploymentsAndNe, SDKValidationError> {
5371
+ ): SafeParseResult<InvokeDeploymentRequestAndNe, SDKValidationError> {
5283
5372
  return safeParse(
5284
5373
  jsonString,
5285
- (x) => DeploymentsAndNe$inboundSchema.parse(JSON.parse(x)),
5286
- `Failed to parse 'DeploymentsAndNe' from JSON`,
5374
+ (x) => InvokeDeploymentRequestAndNe$inboundSchema.parse(JSON.parse(x)),
5375
+ `Failed to parse 'InvokeDeploymentRequestAndNe' from JSON`,
5287
5376
  );
5288
5377
  }
5289
5378
 
@@ -5314,81 +5403,83 @@ export function andEqFromJSON(
5314
5403
  }
5315
5404
 
5316
5405
  /** @internal */
5317
- export const DeploymentsAndEq$inboundSchema: z.ZodType<
5318
- DeploymentsAndEq,
5406
+ export const InvokeDeploymentRequestAndEq$inboundSchema: z.ZodType<
5407
+ InvokeDeploymentRequestAndEq,
5319
5408
  z.ZodTypeDef,
5320
5409
  unknown
5321
5410
  > = z.object({
5322
5411
  eq: z.union([z.string(), z.number(), z.boolean()]),
5323
5412
  });
5324
5413
  /** @internal */
5325
- export type DeploymentsAndEq$Outbound = {
5414
+ export type InvokeDeploymentRequestAndEq$Outbound = {
5326
5415
  eq: string | number | boolean;
5327
5416
  };
5328
5417
 
5329
5418
  /** @internal */
5330
- export const DeploymentsAndEq$outboundSchema: z.ZodType<
5331
- DeploymentsAndEq$Outbound,
5419
+ export const InvokeDeploymentRequestAndEq$outboundSchema: z.ZodType<
5420
+ InvokeDeploymentRequestAndEq$Outbound,
5332
5421
  z.ZodTypeDef,
5333
- DeploymentsAndEq
5422
+ InvokeDeploymentRequestAndEq
5334
5423
  > = z.object({
5335
5424
  eq: z.union([z.string(), z.number(), z.boolean()]),
5336
5425
  });
5337
5426
 
5338
- export function deploymentsAndEqToJSON(
5339
- deploymentsAndEq: DeploymentsAndEq,
5427
+ export function invokeDeploymentRequestAndEqToJSON(
5428
+ invokeDeploymentRequestAndEq: InvokeDeploymentRequestAndEq,
5340
5429
  ): string {
5341
5430
  return JSON.stringify(
5342
- DeploymentsAndEq$outboundSchema.parse(deploymentsAndEq),
5431
+ InvokeDeploymentRequestAndEq$outboundSchema.parse(
5432
+ invokeDeploymentRequestAndEq,
5433
+ ),
5343
5434
  );
5344
5435
  }
5345
- export function deploymentsAndEqFromJSON(
5436
+ export function invokeDeploymentRequestAndEqFromJSON(
5346
5437
  jsonString: string,
5347
- ): SafeParseResult<DeploymentsAndEq, SDKValidationError> {
5438
+ ): SafeParseResult<InvokeDeploymentRequestAndEq, SDKValidationError> {
5348
5439
  return safeParse(
5349
5440
  jsonString,
5350
- (x) => DeploymentsAndEq$inboundSchema.parse(JSON.parse(x)),
5351
- `Failed to parse 'DeploymentsAndEq' from JSON`,
5441
+ (x) => InvokeDeploymentRequestAndEq$inboundSchema.parse(JSON.parse(x)),
5442
+ `Failed to parse 'InvokeDeploymentRequestAndEq' from JSON`,
5352
5443
  );
5353
5444
  }
5354
5445
 
5355
5446
  /** @internal */
5356
5447
  export const And$inboundSchema: z.ZodType<And, z.ZodTypeDef, unknown> = z.union(
5357
5448
  [
5358
- z.lazy(() => DeploymentsAndEq$inboundSchema),
5359
- z.lazy(() => DeploymentsAndNe$inboundSchema),
5360
- z.lazy(() => And3$inboundSchema),
5449
+ z.lazy(() => InvokeDeploymentRequestAndEq$inboundSchema),
5450
+ z.lazy(() => InvokeDeploymentRequestAndNe$inboundSchema),
5451
+ z.lazy(() => AndGt$inboundSchema),
5361
5452
  z.lazy(() => AndGte$inboundSchema),
5362
5453
  z.lazy(() => AndLt$inboundSchema),
5363
5454
  z.lazy(() => AndLte$inboundSchema),
5364
- z.lazy(() => DeploymentsAndIn$inboundSchema),
5365
- z.lazy(() => DeploymentsAndNin$inboundSchema),
5455
+ z.lazy(() => InvokeDeploymentRequestAndIn$inboundSchema),
5456
+ z.lazy(() => InvokeDeploymentRequestAndNin$inboundSchema),
5366
5457
  z.lazy(() => AndExists$inboundSchema),
5367
5458
  ],
5368
5459
  );
5369
5460
  /** @internal */
5370
5461
  export type And$Outbound =
5371
- | DeploymentsAndEq$Outbound
5372
- | DeploymentsAndNe$Outbound
5373
- | And3$Outbound
5462
+ | InvokeDeploymentRequestAndEq$Outbound
5463
+ | InvokeDeploymentRequestAndNe$Outbound
5464
+ | AndGt$Outbound
5374
5465
  | AndGte$Outbound
5375
5466
  | AndLt$Outbound
5376
5467
  | AndLte$Outbound
5377
- | DeploymentsAndIn$Outbound
5378
- | DeploymentsAndNin$Outbound
5468
+ | InvokeDeploymentRequestAndIn$Outbound
5469
+ | InvokeDeploymentRequestAndNin$Outbound
5379
5470
  | AndExists$Outbound;
5380
5471
 
5381
5472
  /** @internal */
5382
5473
  export const And$outboundSchema: z.ZodType<And$Outbound, z.ZodTypeDef, And> = z
5383
5474
  .union([
5384
- z.lazy(() => DeploymentsAndEq$outboundSchema),
5385
- z.lazy(() => DeploymentsAndNe$outboundSchema),
5386
- z.lazy(() => And3$outboundSchema),
5475
+ z.lazy(() => InvokeDeploymentRequestAndEq$outboundSchema),
5476
+ z.lazy(() => InvokeDeploymentRequestAndNe$outboundSchema),
5477
+ z.lazy(() => AndGt$outboundSchema),
5387
5478
  z.lazy(() => AndGte$outboundSchema),
5388
5479
  z.lazy(() => AndLt$outboundSchema),
5389
5480
  z.lazy(() => AndLte$outboundSchema),
5390
- z.lazy(() => DeploymentsAndIn$outboundSchema),
5391
- z.lazy(() => DeploymentsAndNin$outboundSchema),
5481
+ z.lazy(() => InvokeDeploymentRequestAndIn$outboundSchema),
5482
+ z.lazy(() => InvokeDeploymentRequestAndNin$outboundSchema),
5392
5483
  z.lazy(() => AndExists$outboundSchema),
5393
5484
  ]);
5394
5485
 
@@ -5413,16 +5504,16 @@ export const KnowledgeFilterAnd$inboundSchema: z.ZodType<
5413
5504
  > = z.object({
5414
5505
  and: z.array(
5415
5506
  z.record(z.union([
5416
- z.lazy(() => DeploymentsAndEq$inboundSchema),
5507
+ z.lazy(() => InvokeDeploymentRequestAndEq$inboundSchema),
5417
5508
  z.lazy(() =>
5418
- DeploymentsAndNe$inboundSchema
5509
+ InvokeDeploymentRequestAndNe$inboundSchema
5419
5510
  ),
5420
- z.lazy(() => And3$inboundSchema),
5511
+ z.lazy(() => AndGt$inboundSchema),
5421
5512
  z.lazy(() => AndGte$inboundSchema),
5422
5513
  z.lazy(() => AndLt$inboundSchema),
5423
5514
  z.lazy(() => AndLte$inboundSchema),
5424
- z.lazy(() => DeploymentsAndIn$inboundSchema),
5425
- z.lazy(() => DeploymentsAndNin$inboundSchema),
5515
+ z.lazy(() => InvokeDeploymentRequestAndIn$inboundSchema),
5516
+ z.lazy(() => InvokeDeploymentRequestAndNin$inboundSchema),
5426
5517
  z.lazy(() => AndExists$inboundSchema),
5427
5518
  ])),
5428
5519
  ),
@@ -5432,14 +5523,14 @@ export type KnowledgeFilterAnd$Outbound = {
5432
5523
  and: Array<
5433
5524
  {
5434
5525
  [k: string]:
5435
- | DeploymentsAndEq$Outbound
5436
- | DeploymentsAndNe$Outbound
5437
- | And3$Outbound
5526
+ | InvokeDeploymentRequestAndEq$Outbound
5527
+ | InvokeDeploymentRequestAndNe$Outbound
5528
+ | AndGt$Outbound
5438
5529
  | AndGte$Outbound
5439
5530
  | AndLt$Outbound
5440
5531
  | AndLte$Outbound
5441
- | DeploymentsAndIn$Outbound
5442
- | DeploymentsAndNin$Outbound
5532
+ | InvokeDeploymentRequestAndIn$Outbound
5533
+ | InvokeDeploymentRequestAndNin$Outbound
5443
5534
  | AndExists$Outbound;
5444
5535
  }
5445
5536
  >;
@@ -5453,16 +5544,16 @@ export const KnowledgeFilterAnd$outboundSchema: z.ZodType<
5453
5544
  > = z.object({
5454
5545
  and: z.array(
5455
5546
  z.record(z.union([
5456
- z.lazy(() => DeploymentsAndEq$outboundSchema),
5547
+ z.lazy(() => InvokeDeploymentRequestAndEq$outboundSchema),
5457
5548
  z.lazy(() =>
5458
- DeploymentsAndNe$outboundSchema
5549
+ InvokeDeploymentRequestAndNe$outboundSchema
5459
5550
  ),
5460
- z.lazy(() => And3$outboundSchema),
5551
+ z.lazy(() => AndGt$outboundSchema),
5461
5552
  z.lazy(() => AndGte$outboundSchema),
5462
5553
  z.lazy(() => AndLt$outboundSchema),
5463
5554
  z.lazy(() => AndLte$outboundSchema),
5464
- z.lazy(() => DeploymentsAndIn$outboundSchema),
5465
- z.lazy(() => DeploymentsAndNin$outboundSchema),
5555
+ z.lazy(() => InvokeDeploymentRequestAndIn$outboundSchema),
5556
+ z.lazy(() => InvokeDeploymentRequestAndNin$outboundSchema),
5466
5557
  z.lazy(() => AndExists$outboundSchema),
5467
5558
  ])),
5468
5559
  ),
@@ -5718,34 +5809,30 @@ export function gteFromJSON(
5718
5809
  }
5719
5810
 
5720
5811
  /** @internal */
5721
- export const Three$inboundSchema: z.ZodType<Three, z.ZodTypeDef, unknown> = z
5722
- .object({
5723
- gt: z.number(),
5724
- });
5812
+ export const Gt$inboundSchema: z.ZodType<Gt, z.ZodTypeDef, unknown> = z.object({
5813
+ gt: z.number(),
5814
+ });
5725
5815
  /** @internal */
5726
- export type Three$Outbound = {
5816
+ export type Gt$Outbound = {
5727
5817
  gt: number;
5728
5818
  };
5729
5819
 
5730
5820
  /** @internal */
5731
- export const Three$outboundSchema: z.ZodType<
5732
- Three$Outbound,
5733
- z.ZodTypeDef,
5734
- Three
5735
- > = z.object({
5736
- gt: z.number(),
5737
- });
5821
+ export const Gt$outboundSchema: z.ZodType<Gt$Outbound, z.ZodTypeDef, Gt> = z
5822
+ .object({
5823
+ gt: z.number(),
5824
+ });
5738
5825
 
5739
- export function threeToJSON(three: Three): string {
5740
- return JSON.stringify(Three$outboundSchema.parse(three));
5826
+ export function gtToJSON(gt: Gt): string {
5827
+ return JSON.stringify(Gt$outboundSchema.parse(gt));
5741
5828
  }
5742
- export function threeFromJSON(
5829
+ export function gtFromJSON(
5743
5830
  jsonString: string,
5744
- ): SafeParseResult<Three, SDKValidationError> {
5831
+ ): SafeParseResult<Gt, SDKValidationError> {
5745
5832
  return safeParse(
5746
5833
  jsonString,
5747
- (x) => Three$inboundSchema.parse(JSON.parse(x)),
5748
- `Failed to parse 'Three' from JSON`,
5834
+ (x) => Gt$inboundSchema.parse(JSON.parse(x)),
5835
+ `Failed to parse 'Gt' from JSON`,
5749
5836
  );
5750
5837
  }
5751
5838
 
@@ -5870,7 +5957,7 @@ export const One$inboundSchema: z.ZodType<One, z.ZodTypeDef, unknown> = z.union(
5870
5957
  [
5871
5958
  z.lazy(() => OneEq$inboundSchema),
5872
5959
  z.lazy(() => OneNe$inboundSchema),
5873
- z.lazy(() => Three$inboundSchema),
5960
+ z.lazy(() => Gt$inboundSchema),
5874
5961
  z.lazy(() => Gte$inboundSchema),
5875
5962
  z.lazy(() => Lt$inboundSchema),
5876
5963
  z.lazy(() => Lte$inboundSchema),
@@ -5883,7 +5970,7 @@ export const One$inboundSchema: z.ZodType<One, z.ZodTypeDef, unknown> = z.union(
5883
5970
  export type One$Outbound =
5884
5971
  | OneEq$Outbound
5885
5972
  | OneNe$Outbound
5886
- | Three$Outbound
5973
+ | Gt$Outbound
5887
5974
  | Gte$Outbound
5888
5975
  | Lt$Outbound
5889
5976
  | Lte$Outbound
@@ -5896,7 +5983,7 @@ export const One$outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One> = z
5896
5983
  .union([
5897
5984
  z.lazy(() => OneEq$outboundSchema),
5898
5985
  z.lazy(() => OneNe$outboundSchema),
5899
- z.lazy(() => Three$outboundSchema),
5986
+ z.lazy(() => Gt$outboundSchema),
5900
5987
  z.lazy(() => Gte$outboundSchema),
5901
5988
  z.lazy(() => Lt$outboundSchema),
5902
5989
  z.lazy(() => Lte$outboundSchema),
@@ -5929,7 +6016,7 @@ export const KnowledgeFilter$inboundSchema: z.ZodType<
5929
6016
  z.record(z.union([
5930
6017
  z.lazy(() => OneEq$inboundSchema),
5931
6018
  z.lazy(() => OneNe$inboundSchema),
5932
- z.lazy(() => Three$inboundSchema),
6019
+ z.lazy(() => Gt$inboundSchema),
5933
6020
  z.lazy(() => Gte$inboundSchema),
5934
6021
  z.lazy(() => Lt$inboundSchema),
5935
6022
  z.lazy(() => Lte$inboundSchema),
@@ -5946,7 +6033,7 @@ export type KnowledgeFilter$Outbound =
5946
6033
  [k: string]:
5947
6034
  | OneEq$Outbound
5948
6035
  | OneNe$Outbound
5949
- | Three$Outbound
6036
+ | Gt$Outbound
5950
6037
  | Gte$Outbound
5951
6038
  | Lt$Outbound
5952
6039
  | Lte$Outbound
@@ -5966,7 +6053,7 @@ export const KnowledgeFilter$outboundSchema: z.ZodType<
5966
6053
  z.record(z.union([
5967
6054
  z.lazy(() => OneEq$outboundSchema),
5968
6055
  z.lazy(() => OneNe$outboundSchema),
5969
- z.lazy(() => Three$outboundSchema),
6056
+ z.lazy(() => Gt$outboundSchema),
5970
6057
  z.lazy(() => Gte$outboundSchema),
5971
6058
  z.lazy(() => Lt$outboundSchema),
5972
6059
  z.lazy(() => Lte$outboundSchema),
@@ -5992,12 +6079,13 @@ export function knowledgeFilterFromJSON(
5992
6079
  }
5993
6080
 
5994
6081
  /** @internal */
5995
- export const Deployments$inboundSchema: z.ZodType<
5996
- Deployments,
6082
+ export const InvokeDeploymentRequest$inboundSchema: z.ZodType<
6083
+ InvokeDeploymentRequest,
5997
6084
  z.ZodTypeDef,
5998
6085
  unknown
5999
6086
  > = z.object({
6000
6087
  key: z.string(),
6088
+ stream: z.boolean().default(false),
6001
6089
  inputs: z.record(z.any()).optional(),
6002
6090
  context: z.record(z.any()).optional(),
6003
6091
  prefix_messages: z.array(
@@ -6030,7 +6118,7 @@ export const Deployments$inboundSchema: z.ZodType<
6030
6118
  z.record(z.union([
6031
6119
  z.lazy(() => OneEq$inboundSchema),
6032
6120
  z.lazy(() => OneNe$inboundSchema),
6033
- z.lazy(() => Three$inboundSchema),
6121
+ z.lazy(() => Gt$inboundSchema),
6034
6122
  z.lazy(() => Gte$inboundSchema),
6035
6123
  z.lazy(() => Lt$inboundSchema),
6036
6124
  z.lazy(() => Lte$inboundSchema),
@@ -6049,8 +6137,9 @@ export const Deployments$inboundSchema: z.ZodType<
6049
6137
  });
6050
6138
  });
6051
6139
  /** @internal */
6052
- export type Deployments$Outbound = {
6140
+ export type InvokeDeploymentRequest$Outbound = {
6053
6141
  key: string;
6142
+ stream: boolean;
6054
6143
  inputs?: { [k: string]: any } | undefined;
6055
6144
  context?: { [k: string]: any } | undefined;
6056
6145
  prefix_messages?:
@@ -6084,7 +6173,7 @@ export type Deployments$Outbound = {
6084
6173
  [k: string]:
6085
6174
  | OneEq$Outbound
6086
6175
  | OneNe$Outbound
6087
- | Three$Outbound
6176
+ | Gt$Outbound
6088
6177
  | Gte$Outbound
6089
6178
  | Lt$Outbound
6090
6179
  | Lte$Outbound
@@ -6096,12 +6185,13 @@ export type Deployments$Outbound = {
6096
6185
  };
6097
6186
 
6098
6187
  /** @internal */
6099
- export const Deployments$outboundSchema: z.ZodType<
6100
- Deployments$Outbound,
6188
+ export const InvokeDeploymentRequest$outboundSchema: z.ZodType<
6189
+ InvokeDeploymentRequest$Outbound,
6101
6190
  z.ZodTypeDef,
6102
- Deployments
6191
+ InvokeDeploymentRequest
6103
6192
  > = z.object({
6104
6193
  key: z.string(),
6194
+ stream: z.boolean().default(false),
6105
6195
  inputs: z.record(z.any()).optional(),
6106
6196
  context: z.record(z.any()).optional(),
6107
6197
  prefixMessages: z.array(
@@ -6134,7 +6224,7 @@ export const Deployments$outboundSchema: z.ZodType<
6134
6224
  z.record(z.union([
6135
6225
  z.lazy(() => OneEq$outboundSchema),
6136
6226
  z.lazy(() => OneNe$outboundSchema),
6137
- z.lazy(() => Three$outboundSchema),
6227
+ z.lazy(() => Gt$outboundSchema),
6138
6228
  z.lazy(() => Gte$outboundSchema),
6139
6229
  z.lazy(() => Lt$outboundSchema),
6140
6230
  z.lazy(() => Lte$outboundSchema),
@@ -6153,15 +6243,19 @@ export const Deployments$outboundSchema: z.ZodType<
6153
6243
  });
6154
6244
  });
6155
6245
 
6156
- export function deploymentsToJSON(deployments: Deployments): string {
6157
- return JSON.stringify(Deployments$outboundSchema.parse(deployments));
6246
+ export function invokeDeploymentRequestToJSON(
6247
+ invokeDeploymentRequest: InvokeDeploymentRequest,
6248
+ ): string {
6249
+ return JSON.stringify(
6250
+ InvokeDeploymentRequest$outboundSchema.parse(invokeDeploymentRequest),
6251
+ );
6158
6252
  }
6159
- export function deploymentsFromJSON(
6253
+ export function invokeDeploymentRequestFromJSON(
6160
6254
  jsonString: string,
6161
- ): SafeParseResult<Deployments, SDKValidationError> {
6255
+ ): SafeParseResult<InvokeDeploymentRequest, SDKValidationError> {
6162
6256
  return safeParse(
6163
6257
  jsonString,
6164
- (x) => Deployments$inboundSchema.parse(JSON.parse(x)),
6165
- `Failed to parse 'Deployments' from JSON`,
6258
+ (x) => InvokeDeploymentRequest$inboundSchema.parse(JSON.parse(x)),
6259
+ `Failed to parse 'InvokeDeploymentRequest' from JSON`,
6166
6260
  );
6167
6261
  }