@orq-ai/node 3.6.0-rc.32 → 3.6.0-rc.34

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 (100) hide show
  1. package/bin/mcp-server.js +1027 -181
  2. package/bin/mcp-server.js.map +30 -30
  3. package/jsr.json +1 -1
  4. package/lib/config.d.ts +2 -2
  5. package/lib/config.js +2 -2
  6. package/mcp-server/mcp-server.js +1 -1
  7. package/mcp-server/server.js +1 -1
  8. package/models/operations/bulkcreatedatapoints.d.ts +194 -12
  9. package/models/operations/bulkcreatedatapoints.d.ts.map +1 -1
  10. package/models/operations/bulkcreatedatapoints.js +192 -4
  11. package/models/operations/bulkcreatedatapoints.js.map +1 -1
  12. package/models/operations/createcontact.js +2 -2
  13. package/models/operations/createdataset.js +2 -2
  14. package/models/operations/createdatasetitem.d.ts +194 -12
  15. package/models/operations/createdatasetitem.d.ts.map +1 -1
  16. package/models/operations/createdatasetitem.js +191 -4
  17. package/models/operations/createdatasetitem.js.map +1 -1
  18. package/models/operations/createdatasource.js +2 -2
  19. package/models/operations/createprompt.d.ts +194 -12
  20. package/models/operations/createprompt.d.ts.map +1 -1
  21. package/models/operations/createprompt.js +192 -5
  22. package/models/operations/createprompt.js.map +1 -1
  23. package/models/operations/deploymentgetconfig.d.ts +97 -6
  24. package/models/operations/deploymentgetconfig.d.ts.map +1 -1
  25. package/models/operations/deploymentgetconfig.js +104 -10
  26. package/models/operations/deploymentgetconfig.js.map +1 -1
  27. package/models/operations/deployments.d.ts +105 -14
  28. package/models/operations/deployments.d.ts.map +1 -1
  29. package/models/operations/deployments.js +108 -15
  30. package/models/operations/deployments.js.map +1 -1
  31. package/models/operations/fileget.js +2 -2
  32. package/models/operations/filelist.js +2 -2
  33. package/models/operations/fileupload.js +2 -2
  34. package/models/operations/getallprompts.d.ts +97 -6
  35. package/models/operations/getallprompts.d.ts.map +1 -1
  36. package/models/operations/getallprompts.js +96 -3
  37. package/models/operations/getallprompts.js.map +1 -1
  38. package/models/operations/getoneprompt.d.ts +97 -6
  39. package/models/operations/getoneprompt.d.ts.map +1 -1
  40. package/models/operations/getoneprompt.js +96 -3
  41. package/models/operations/getoneprompt.js.map +1 -1
  42. package/models/operations/getpromptversion.d.ts +97 -6
  43. package/models/operations/getpromptversion.d.ts.map +1 -1
  44. package/models/operations/getpromptversion.js +96 -3
  45. package/models/operations/getpromptversion.js.map +1 -1
  46. package/models/operations/listdatasetdatapoints.d.ts +97 -6
  47. package/models/operations/listdatasetdatapoints.d.ts.map +1 -1
  48. package/models/operations/listdatasetdatapoints.js +98 -4
  49. package/models/operations/listdatasetdatapoints.js.map +1 -1
  50. package/models/operations/listdatasets.js +2 -2
  51. package/models/operations/listdatasources.js +2 -2
  52. package/models/operations/listpromptversions.d.ts +97 -6
  53. package/models/operations/listpromptversions.d.ts.map +1 -1
  54. package/models/operations/listpromptversions.js +96 -3
  55. package/models/operations/listpromptversions.js.map +1 -1
  56. package/models/operations/retrievedatapoint.d.ts +97 -6
  57. package/models/operations/retrievedatapoint.d.ts.map +1 -1
  58. package/models/operations/retrievedatapoint.js +97 -3
  59. package/models/operations/retrievedatapoint.js.map +1 -1
  60. package/models/operations/retrievedataset.js +2 -2
  61. package/models/operations/retrievedatasource.js +2 -2
  62. package/models/operations/updatedatapoint.d.ts +194 -12
  63. package/models/operations/updatedatapoint.d.ts.map +1 -1
  64. package/models/operations/updatedatapoint.js +191 -4
  65. package/models/operations/updatedatapoint.js.map +1 -1
  66. package/models/operations/updatedataset.js +2 -2
  67. package/models/operations/updatedatasource.js +2 -2
  68. package/models/operations/updateprompt.d.ts +194 -12
  69. package/models/operations/updateprompt.d.ts.map +1 -1
  70. package/models/operations/updateprompt.js +192 -5
  71. package/models/operations/updateprompt.js.map +1 -1
  72. package/package.json +1 -1
  73. package/src/lib/config.ts +2 -2
  74. package/src/mcp-server/mcp-server.ts +1 -1
  75. package/src/mcp-server/server.ts +1 -1
  76. package/src/models/operations/bulkcreatedatapoints.ts +416 -12
  77. package/src/models/operations/createcontact.ts +2 -2
  78. package/src/models/operations/createdataset.ts +2 -2
  79. package/src/models/operations/createdatasetitem.ts +410 -13
  80. package/src/models/operations/createdatasource.ts +2 -2
  81. package/src/models/operations/createprompt.ts +400 -12
  82. package/src/models/operations/deploymentgetconfig.ts +211 -6
  83. package/src/models/operations/deployments.ts +211 -23
  84. package/src/models/operations/fileget.ts +2 -2
  85. package/src/models/operations/filelist.ts +2 -2
  86. package/src/models/operations/fileupload.ts +2 -2
  87. package/src/models/operations/getallprompts.ts +200 -6
  88. package/src/models/operations/getoneprompt.ts +195 -6
  89. package/src/models/operations/getpromptversion.ts +204 -6
  90. package/src/models/operations/listdatasetdatapoints.ts +207 -8
  91. package/src/models/operations/listdatasets.ts +2 -2
  92. package/src/models/operations/listdatasources.ts +2 -2
  93. package/src/models/operations/listpromptversions.ts +202 -6
  94. package/src/models/operations/retrievedatapoint.ts +204 -8
  95. package/src/models/operations/retrievedataset.ts +2 -2
  96. package/src/models/operations/retrievedatasource.ts +2 -2
  97. package/src/models/operations/updatedatapoint.ts +412 -14
  98. package/src/models/operations/updatedataset.ts +2 -2
  99. package/src/models/operations/updatedatasource.ts +2 -2
  100. package/src/models/operations/updateprompt.ts +400 -12
@@ -1265,6 +1265,39 @@ export type DeploymentGetConfigRole = ClosedEnum<
1265
1265
  typeof DeploymentGetConfigRole
1266
1266
  >;
1267
1267
 
1268
+ /**
1269
+ * The type of the content part. Always `file`.
1270
+ */
1271
+ export const DeploymentGetConfig2DeploymentsResponse200ApplicationJSONType = {
1272
+ File: "file",
1273
+ } as const;
1274
+ /**
1275
+ * The type of the content part. Always `file`.
1276
+ */
1277
+ export type DeploymentGetConfig2DeploymentsResponse200ApplicationJSONType =
1278
+ ClosedEnum<
1279
+ typeof DeploymentGetConfig2DeploymentsResponse200ApplicationJSONType
1280
+ >;
1281
+
1282
+ export type DeploymentGetConfig2File = {
1283
+ /**
1284
+ * The base64 encoded file data, used when passing the file to the model as a string.
1285
+ */
1286
+ fileData: string;
1287
+ /**
1288
+ * The name of the file, used when passing the file to the model as a string.
1289
+ */
1290
+ filename?: string | undefined;
1291
+ };
1292
+
1293
+ export type DeploymentGetConfig23 = {
1294
+ /**
1295
+ * The type of the content part. Always `file`.
1296
+ */
1297
+ type: DeploymentGetConfig2DeploymentsResponse200ApplicationJSONType;
1298
+ file: DeploymentGetConfig2File;
1299
+ };
1300
+
1268
1301
  export const DeploymentGetConfig2DeploymentsResponse200Type = {
1269
1302
  ImageUrl: "image_url",
1270
1303
  } as const;
@@ -1312,14 +1345,19 @@ export type DeploymentGetConfig21 = {
1312
1345
 
1313
1346
  export type DeploymentGetConfigContentDeploymentsResponse2 =
1314
1347
  | DeploymentGetConfig21
1315
- | DeploymentGetConfig2Deployments2;
1348
+ | DeploymentGetConfig2Deployments2
1349
+ | DeploymentGetConfig23;
1316
1350
 
1317
1351
  /**
1318
1352
  * The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts.
1319
1353
  */
1320
1354
  export type DeploymentGetConfigContent =
1321
1355
  | string
1322
- | Array<DeploymentGetConfig21 | DeploymentGetConfig2Deployments2>;
1356
+ | Array<
1357
+ | DeploymentGetConfig21
1358
+ | DeploymentGetConfig2Deployments2
1359
+ | DeploymentGetConfig23
1360
+ >;
1323
1361
 
1324
1362
  export const DeploymentGetConfigDeploymentsResponseType = {
1325
1363
  Function: "function",
@@ -1353,7 +1391,11 @@ export type DeploymentGetConfigMessages = {
1353
1391
  */
1354
1392
  content:
1355
1393
  | string
1356
- | Array<DeploymentGetConfig21 | DeploymentGetConfig2Deployments2>;
1394
+ | Array<
1395
+ | DeploymentGetConfig21
1396
+ | DeploymentGetConfig2Deployments2
1397
+ | DeploymentGetConfig23
1398
+ >;
1357
1399
  toolCalls?: Array<DeploymentGetConfigToolCalls> | undefined;
1358
1400
  toolCallId?: string | undefined;
1359
1401
  };
@@ -7831,6 +7873,158 @@ export namespace DeploymentGetConfigRole$ {
7831
7873
  export const outboundSchema = DeploymentGetConfigRole$outboundSchema;
7832
7874
  }
7833
7875
 
7876
+ /** @internal */
7877
+ export const DeploymentGetConfig2DeploymentsResponse200ApplicationJSONType$inboundSchema:
7878
+ z.ZodNativeEnum<
7879
+ typeof DeploymentGetConfig2DeploymentsResponse200ApplicationJSONType
7880
+ > = z.nativeEnum(
7881
+ DeploymentGetConfig2DeploymentsResponse200ApplicationJSONType,
7882
+ );
7883
+
7884
+ /** @internal */
7885
+ export const DeploymentGetConfig2DeploymentsResponse200ApplicationJSONType$outboundSchema:
7886
+ z.ZodNativeEnum<
7887
+ typeof DeploymentGetConfig2DeploymentsResponse200ApplicationJSONType
7888
+ > =
7889
+ DeploymentGetConfig2DeploymentsResponse200ApplicationJSONType$inboundSchema;
7890
+
7891
+ /**
7892
+ * @internal
7893
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7894
+ */
7895
+ export namespace DeploymentGetConfig2DeploymentsResponse200ApplicationJSONType$ {
7896
+ /** @deprecated use `DeploymentGetConfig2DeploymentsResponse200ApplicationJSONType$inboundSchema` instead. */
7897
+ export const inboundSchema =
7898
+ DeploymentGetConfig2DeploymentsResponse200ApplicationJSONType$inboundSchema;
7899
+ /** @deprecated use `DeploymentGetConfig2DeploymentsResponse200ApplicationJSONType$outboundSchema` instead. */
7900
+ export const outboundSchema =
7901
+ DeploymentGetConfig2DeploymentsResponse200ApplicationJSONType$outboundSchema;
7902
+ }
7903
+
7904
+ /** @internal */
7905
+ export const DeploymentGetConfig2File$inboundSchema: z.ZodType<
7906
+ DeploymentGetConfig2File,
7907
+ z.ZodTypeDef,
7908
+ unknown
7909
+ > = z.object({
7910
+ file_data: z.string(),
7911
+ filename: z.string().optional(),
7912
+ }).transform((v) => {
7913
+ return remap$(v, {
7914
+ "file_data": "fileData",
7915
+ });
7916
+ });
7917
+
7918
+ /** @internal */
7919
+ export type DeploymentGetConfig2File$Outbound = {
7920
+ file_data: string;
7921
+ filename?: string | undefined;
7922
+ };
7923
+
7924
+ /** @internal */
7925
+ export const DeploymentGetConfig2File$outboundSchema: z.ZodType<
7926
+ DeploymentGetConfig2File$Outbound,
7927
+ z.ZodTypeDef,
7928
+ DeploymentGetConfig2File
7929
+ > = z.object({
7930
+ fileData: z.string(),
7931
+ filename: z.string().optional(),
7932
+ }).transform((v) => {
7933
+ return remap$(v, {
7934
+ fileData: "file_data",
7935
+ });
7936
+ });
7937
+
7938
+ /**
7939
+ * @internal
7940
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7941
+ */
7942
+ export namespace DeploymentGetConfig2File$ {
7943
+ /** @deprecated use `DeploymentGetConfig2File$inboundSchema` instead. */
7944
+ export const inboundSchema = DeploymentGetConfig2File$inboundSchema;
7945
+ /** @deprecated use `DeploymentGetConfig2File$outboundSchema` instead. */
7946
+ export const outboundSchema = DeploymentGetConfig2File$outboundSchema;
7947
+ /** @deprecated use `DeploymentGetConfig2File$Outbound` instead. */
7948
+ export type Outbound = DeploymentGetConfig2File$Outbound;
7949
+ }
7950
+
7951
+ export function deploymentGetConfig2FileToJSON(
7952
+ deploymentGetConfig2File: DeploymentGetConfig2File,
7953
+ ): string {
7954
+ return JSON.stringify(
7955
+ DeploymentGetConfig2File$outboundSchema.parse(deploymentGetConfig2File),
7956
+ );
7957
+ }
7958
+
7959
+ export function deploymentGetConfig2FileFromJSON(
7960
+ jsonString: string,
7961
+ ): SafeParseResult<DeploymentGetConfig2File, SDKValidationError> {
7962
+ return safeParse(
7963
+ jsonString,
7964
+ (x) => DeploymentGetConfig2File$inboundSchema.parse(JSON.parse(x)),
7965
+ `Failed to parse 'DeploymentGetConfig2File' from JSON`,
7966
+ );
7967
+ }
7968
+
7969
+ /** @internal */
7970
+ export const DeploymentGetConfig23$inboundSchema: z.ZodType<
7971
+ DeploymentGetConfig23,
7972
+ z.ZodTypeDef,
7973
+ unknown
7974
+ > = z.object({
7975
+ type:
7976
+ DeploymentGetConfig2DeploymentsResponse200ApplicationJSONType$inboundSchema,
7977
+ file: z.lazy(() => DeploymentGetConfig2File$inboundSchema),
7978
+ });
7979
+
7980
+ /** @internal */
7981
+ export type DeploymentGetConfig23$Outbound = {
7982
+ type: string;
7983
+ file: DeploymentGetConfig2File$Outbound;
7984
+ };
7985
+
7986
+ /** @internal */
7987
+ export const DeploymentGetConfig23$outboundSchema: z.ZodType<
7988
+ DeploymentGetConfig23$Outbound,
7989
+ z.ZodTypeDef,
7990
+ DeploymentGetConfig23
7991
+ > = z.object({
7992
+ type:
7993
+ DeploymentGetConfig2DeploymentsResponse200ApplicationJSONType$outboundSchema,
7994
+ file: z.lazy(() => DeploymentGetConfig2File$outboundSchema),
7995
+ });
7996
+
7997
+ /**
7998
+ * @internal
7999
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
8000
+ */
8001
+ export namespace DeploymentGetConfig23$ {
8002
+ /** @deprecated use `DeploymentGetConfig23$inboundSchema` instead. */
8003
+ export const inboundSchema = DeploymentGetConfig23$inboundSchema;
8004
+ /** @deprecated use `DeploymentGetConfig23$outboundSchema` instead. */
8005
+ export const outboundSchema = DeploymentGetConfig23$outboundSchema;
8006
+ /** @deprecated use `DeploymentGetConfig23$Outbound` instead. */
8007
+ export type Outbound = DeploymentGetConfig23$Outbound;
8008
+ }
8009
+
8010
+ export function deploymentGetConfig23ToJSON(
8011
+ deploymentGetConfig23: DeploymentGetConfig23,
8012
+ ): string {
8013
+ return JSON.stringify(
8014
+ DeploymentGetConfig23$outboundSchema.parse(deploymentGetConfig23),
8015
+ );
8016
+ }
8017
+
8018
+ export function deploymentGetConfig23FromJSON(
8019
+ jsonString: string,
8020
+ ): SafeParseResult<DeploymentGetConfig23, SDKValidationError> {
8021
+ return safeParse(
8022
+ jsonString,
8023
+ (x) => DeploymentGetConfig23$inboundSchema.parse(JSON.parse(x)),
8024
+ `Failed to parse 'DeploymentGetConfig23' from JSON`,
8025
+ );
8026
+ }
8027
+
7834
8028
  /** @internal */
7835
8029
  export const DeploymentGetConfig2DeploymentsResponse200Type$inboundSchema:
7836
8030
  z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsResponse200Type> = z
@@ -8072,12 +8266,14 @@ export const DeploymentGetConfigContentDeploymentsResponse2$inboundSchema:
8072
8266
  > = z.union([
8073
8267
  z.lazy(() => DeploymentGetConfig21$inboundSchema),
8074
8268
  z.lazy(() => DeploymentGetConfig2Deployments2$inboundSchema),
8269
+ z.lazy(() => DeploymentGetConfig23$inboundSchema),
8075
8270
  ]);
8076
8271
 
8077
8272
  /** @internal */
8078
8273
  export type DeploymentGetConfigContentDeploymentsResponse2$Outbound =
8079
8274
  | DeploymentGetConfig21$Outbound
8080
- | DeploymentGetConfig2Deployments2$Outbound;
8275
+ | DeploymentGetConfig2Deployments2$Outbound
8276
+ | DeploymentGetConfig23$Outbound;
8081
8277
 
8082
8278
  /** @internal */
8083
8279
  export const DeploymentGetConfigContentDeploymentsResponse2$outboundSchema:
@@ -8088,6 +8284,7 @@ export const DeploymentGetConfigContentDeploymentsResponse2$outboundSchema:
8088
8284
  > = z.union([
8089
8285
  z.lazy(() => DeploymentGetConfig21$outboundSchema),
8090
8286
  z.lazy(() => DeploymentGetConfig2Deployments2$outboundSchema),
8287
+ z.lazy(() => DeploymentGetConfig23$outboundSchema),
8091
8288
  ]);
8092
8289
 
8093
8290
  /**
@@ -8143,6 +8340,7 @@ export const DeploymentGetConfigContent$inboundSchema: z.ZodType<
8143
8340
  z.array(z.union([
8144
8341
  z.lazy(() => DeploymentGetConfig21$inboundSchema),
8145
8342
  z.lazy(() => DeploymentGetConfig2Deployments2$inboundSchema),
8343
+ z.lazy(() => DeploymentGetConfig23$inboundSchema),
8146
8344
  ])),
8147
8345
  ]);
8148
8346
 
@@ -8150,7 +8348,9 @@ export const DeploymentGetConfigContent$inboundSchema: z.ZodType<
8150
8348
  export type DeploymentGetConfigContent$Outbound =
8151
8349
  | string
8152
8350
  | Array<
8153
- DeploymentGetConfig21$Outbound | DeploymentGetConfig2Deployments2$Outbound
8351
+ | DeploymentGetConfig21$Outbound
8352
+ | DeploymentGetConfig2Deployments2$Outbound
8353
+ | DeploymentGetConfig23$Outbound
8154
8354
  >;
8155
8355
 
8156
8356
  /** @internal */
@@ -8163,6 +8363,7 @@ export const DeploymentGetConfigContent$outboundSchema: z.ZodType<
8163
8363
  z.array(z.union([
8164
8364
  z.lazy(() => DeploymentGetConfig21$outboundSchema),
8165
8365
  z.lazy(() => DeploymentGetConfig2Deployments2$outboundSchema),
8366
+ z.lazy(() => DeploymentGetConfig23$outboundSchema),
8166
8367
  ])),
8167
8368
  ]);
8168
8369
 
@@ -8360,6 +8561,7 @@ export const DeploymentGetConfigMessages$inboundSchema: z.ZodType<
8360
8561
  z.array(z.union([
8361
8562
  z.lazy(() => DeploymentGetConfig21$inboundSchema),
8362
8563
  z.lazy(() => DeploymentGetConfig2Deployments2$inboundSchema),
8564
+ z.lazy(() => DeploymentGetConfig23$inboundSchema),
8363
8565
  ])),
8364
8566
  ]),
8365
8567
  tool_calls: z.array(z.lazy(() => DeploymentGetConfigToolCalls$inboundSchema))
@@ -8378,7 +8580,9 @@ export type DeploymentGetConfigMessages$Outbound = {
8378
8580
  content:
8379
8581
  | string
8380
8582
  | Array<
8381
- DeploymentGetConfig21$Outbound | DeploymentGetConfig2Deployments2$Outbound
8583
+ | DeploymentGetConfig21$Outbound
8584
+ | DeploymentGetConfig2Deployments2$Outbound
8585
+ | DeploymentGetConfig23$Outbound
8382
8586
  >;
8383
8587
  tool_calls?: Array<DeploymentGetConfigToolCalls$Outbound> | undefined;
8384
8588
  tool_call_id?: string | undefined;
@@ -8396,6 +8600,7 @@ export const DeploymentGetConfigMessages$outboundSchema: z.ZodType<
8396
8600
  z.array(z.union([
8397
8601
  z.lazy(() => DeploymentGetConfig21$outboundSchema),
8398
8602
  z.lazy(() => DeploymentGetConfig2Deployments2$outboundSchema),
8603
+ z.lazy(() => DeploymentGetConfig23$outboundSchema),
8399
8604
  ])),
8400
8605
  ]),
8401
8606
  toolCalls: z.array(z.lazy(() => DeploymentGetConfigToolCalls$outboundSchema))
@@ -336,6 +336,38 @@ export const DeploymentsRole = {
336
336
  */
337
337
  export type DeploymentsRole = ClosedEnum<typeof DeploymentsRole>;
338
338
 
339
+ /**
340
+ * The type of the content part. Always `file`.
341
+ */
342
+ export const Deployments2DeploymentsType = {
343
+ File: "file",
344
+ } as const;
345
+ /**
346
+ * The type of the content part. Always `file`.
347
+ */
348
+ export type Deployments2DeploymentsType = ClosedEnum<
349
+ typeof Deployments2DeploymentsType
350
+ >;
351
+
352
+ export type Deployments2File = {
353
+ /**
354
+ * The base64 encoded file data, used when passing the file to the model as a string.
355
+ */
356
+ fileData: string;
357
+ /**
358
+ * The name of the file, used when passing the file to the model as a string.
359
+ */
360
+ filename?: string | undefined;
361
+ };
362
+
363
+ export type Deployments23 = {
364
+ /**
365
+ * The type of the content part. Always `file`.
366
+ */
367
+ type: Deployments2DeploymentsType;
368
+ file: Deployments2File;
369
+ };
370
+
339
371
  export const Deployments2Type = {
340
372
  ImageUrl: "image_url",
341
373
  } as const;
@@ -364,27 +396,29 @@ export type Deployments22 = {
364
396
  imageUrl: Deployments2ImageUrl;
365
397
  };
366
398
 
367
- export const Deployments2DeploymentsType = {
399
+ export const Deployments2DeploymentsResponseType = {
368
400
  Text: "text",
369
401
  } as const;
370
- export type Deployments2DeploymentsType = ClosedEnum<
371
- typeof Deployments2DeploymentsType
402
+ export type Deployments2DeploymentsResponseType = ClosedEnum<
403
+ typeof Deployments2DeploymentsResponseType
372
404
  >;
373
405
 
374
406
  /**
375
407
  * Text content part of a prompt message
376
408
  */
377
409
  export type Deployments21 = {
378
- type: Deployments2DeploymentsType;
410
+ type: Deployments2DeploymentsResponseType;
379
411
  text: string;
380
412
  };
381
413
 
382
- export type DeploymentsContent2 = Deployments21 | Deployments22;
414
+ export type DeploymentsContent2 = Deployments21 | Deployments22 | Deployments23;
383
415
 
384
416
  /**
385
417
  * The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts.
386
418
  */
387
- export type DeploymentsContent = string | Array<Deployments21 | Deployments22>;
419
+ export type DeploymentsContent =
420
+ | string
421
+ | Array<Deployments21 | Deployments22 | Deployments23>;
388
422
 
389
423
  export const DeploymentsDeploymentsType = {
390
424
  Function: "function",
@@ -416,7 +450,7 @@ export type DeploymentsMessages = {
416
450
  /**
417
451
  * The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts.
418
452
  */
419
- content: string | Array<Deployments21 | Deployments22>;
453
+ content: string | Array<Deployments21 | Deployments22 | Deployments23>;
420
454
  toolCalls?: Array<DeploymentsToolCalls> | undefined;
421
455
  toolCallId?: string | undefined;
422
456
  };
@@ -1346,6 +1380,145 @@ export namespace DeploymentsRole$ {
1346
1380
  export const outboundSchema = DeploymentsRole$outboundSchema;
1347
1381
  }
1348
1382
 
1383
+ /** @internal */
1384
+ export const Deployments2DeploymentsType$inboundSchema: z.ZodNativeEnum<
1385
+ typeof Deployments2DeploymentsType
1386
+ > = z.nativeEnum(Deployments2DeploymentsType);
1387
+
1388
+ /** @internal */
1389
+ export const Deployments2DeploymentsType$outboundSchema: z.ZodNativeEnum<
1390
+ typeof Deployments2DeploymentsType
1391
+ > = Deployments2DeploymentsType$inboundSchema;
1392
+
1393
+ /**
1394
+ * @internal
1395
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1396
+ */
1397
+ export namespace Deployments2DeploymentsType$ {
1398
+ /** @deprecated use `Deployments2DeploymentsType$inboundSchema` instead. */
1399
+ export const inboundSchema = Deployments2DeploymentsType$inboundSchema;
1400
+ /** @deprecated use `Deployments2DeploymentsType$outboundSchema` instead. */
1401
+ export const outboundSchema = Deployments2DeploymentsType$outboundSchema;
1402
+ }
1403
+
1404
+ /** @internal */
1405
+ export const Deployments2File$inboundSchema: z.ZodType<
1406
+ Deployments2File,
1407
+ z.ZodTypeDef,
1408
+ unknown
1409
+ > = z.object({
1410
+ file_data: z.string(),
1411
+ filename: z.string().optional(),
1412
+ }).transform((v) => {
1413
+ return remap$(v, {
1414
+ "file_data": "fileData",
1415
+ });
1416
+ });
1417
+
1418
+ /** @internal */
1419
+ export type Deployments2File$Outbound = {
1420
+ file_data: string;
1421
+ filename?: string | undefined;
1422
+ };
1423
+
1424
+ /** @internal */
1425
+ export const Deployments2File$outboundSchema: z.ZodType<
1426
+ Deployments2File$Outbound,
1427
+ z.ZodTypeDef,
1428
+ Deployments2File
1429
+ > = z.object({
1430
+ fileData: z.string(),
1431
+ filename: z.string().optional(),
1432
+ }).transform((v) => {
1433
+ return remap$(v, {
1434
+ fileData: "file_data",
1435
+ });
1436
+ });
1437
+
1438
+ /**
1439
+ * @internal
1440
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1441
+ */
1442
+ export namespace Deployments2File$ {
1443
+ /** @deprecated use `Deployments2File$inboundSchema` instead. */
1444
+ export const inboundSchema = Deployments2File$inboundSchema;
1445
+ /** @deprecated use `Deployments2File$outboundSchema` instead. */
1446
+ export const outboundSchema = Deployments2File$outboundSchema;
1447
+ /** @deprecated use `Deployments2File$Outbound` instead. */
1448
+ export type Outbound = Deployments2File$Outbound;
1449
+ }
1450
+
1451
+ export function deployments2FileToJSON(
1452
+ deployments2File: Deployments2File,
1453
+ ): string {
1454
+ return JSON.stringify(
1455
+ Deployments2File$outboundSchema.parse(deployments2File),
1456
+ );
1457
+ }
1458
+
1459
+ export function deployments2FileFromJSON(
1460
+ jsonString: string,
1461
+ ): SafeParseResult<Deployments2File, SDKValidationError> {
1462
+ return safeParse(
1463
+ jsonString,
1464
+ (x) => Deployments2File$inboundSchema.parse(JSON.parse(x)),
1465
+ `Failed to parse 'Deployments2File' from JSON`,
1466
+ );
1467
+ }
1468
+
1469
+ /** @internal */
1470
+ export const Deployments23$inboundSchema: z.ZodType<
1471
+ Deployments23,
1472
+ z.ZodTypeDef,
1473
+ unknown
1474
+ > = z.object({
1475
+ type: Deployments2DeploymentsType$inboundSchema,
1476
+ file: z.lazy(() => Deployments2File$inboundSchema),
1477
+ });
1478
+
1479
+ /** @internal */
1480
+ export type Deployments23$Outbound = {
1481
+ type: string;
1482
+ file: Deployments2File$Outbound;
1483
+ };
1484
+
1485
+ /** @internal */
1486
+ export const Deployments23$outboundSchema: z.ZodType<
1487
+ Deployments23$Outbound,
1488
+ z.ZodTypeDef,
1489
+ Deployments23
1490
+ > = z.object({
1491
+ type: Deployments2DeploymentsType$outboundSchema,
1492
+ file: z.lazy(() => Deployments2File$outboundSchema),
1493
+ });
1494
+
1495
+ /**
1496
+ * @internal
1497
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1498
+ */
1499
+ export namespace Deployments23$ {
1500
+ /** @deprecated use `Deployments23$inboundSchema` instead. */
1501
+ export const inboundSchema = Deployments23$inboundSchema;
1502
+ /** @deprecated use `Deployments23$outboundSchema` instead. */
1503
+ export const outboundSchema = Deployments23$outboundSchema;
1504
+ /** @deprecated use `Deployments23$Outbound` instead. */
1505
+ export type Outbound = Deployments23$Outbound;
1506
+ }
1507
+
1508
+ export function deployments23ToJSON(deployments23: Deployments23): string {
1509
+ return JSON.stringify(Deployments23$outboundSchema.parse(deployments23));
1510
+ }
1511
+
1512
+ export function deployments23FromJSON(
1513
+ jsonString: string,
1514
+ ): SafeParseResult<Deployments23, SDKValidationError> {
1515
+ return safeParse(
1516
+ jsonString,
1517
+ (x) => Deployments23$inboundSchema.parse(JSON.parse(x)),
1518
+ `Failed to parse 'Deployments23' from JSON`,
1519
+ );
1520
+ }
1521
+
1349
1522
  /** @internal */
1350
1523
  export const Deployments2Type$inboundSchema: z.ZodNativeEnum<
1351
1524
  typeof Deployments2Type
@@ -1489,24 +1662,26 @@ export function deployments22FromJSON(
1489
1662
  }
1490
1663
 
1491
1664
  /** @internal */
1492
- export const Deployments2DeploymentsType$inboundSchema: z.ZodNativeEnum<
1493
- typeof Deployments2DeploymentsType
1494
- > = z.nativeEnum(Deployments2DeploymentsType);
1665
+ export const Deployments2DeploymentsResponseType$inboundSchema: z.ZodNativeEnum<
1666
+ typeof Deployments2DeploymentsResponseType
1667
+ > = z.nativeEnum(Deployments2DeploymentsResponseType);
1495
1668
 
1496
1669
  /** @internal */
1497
- export const Deployments2DeploymentsType$outboundSchema: z.ZodNativeEnum<
1498
- typeof Deployments2DeploymentsType
1499
- > = Deployments2DeploymentsType$inboundSchema;
1670
+ export const Deployments2DeploymentsResponseType$outboundSchema:
1671
+ z.ZodNativeEnum<typeof Deployments2DeploymentsResponseType> =
1672
+ Deployments2DeploymentsResponseType$inboundSchema;
1500
1673
 
1501
1674
  /**
1502
1675
  * @internal
1503
1676
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1504
1677
  */
1505
- export namespace Deployments2DeploymentsType$ {
1506
- /** @deprecated use `Deployments2DeploymentsType$inboundSchema` instead. */
1507
- export const inboundSchema = Deployments2DeploymentsType$inboundSchema;
1508
- /** @deprecated use `Deployments2DeploymentsType$outboundSchema` instead. */
1509
- export const outboundSchema = Deployments2DeploymentsType$outboundSchema;
1678
+ export namespace Deployments2DeploymentsResponseType$ {
1679
+ /** @deprecated use `Deployments2DeploymentsResponseType$inboundSchema` instead. */
1680
+ export const inboundSchema =
1681
+ Deployments2DeploymentsResponseType$inboundSchema;
1682
+ /** @deprecated use `Deployments2DeploymentsResponseType$outboundSchema` instead. */
1683
+ export const outboundSchema =
1684
+ Deployments2DeploymentsResponseType$outboundSchema;
1510
1685
  }
1511
1686
 
1512
1687
  /** @internal */
@@ -1515,7 +1690,7 @@ export const Deployments21$inboundSchema: z.ZodType<
1515
1690
  z.ZodTypeDef,
1516
1691
  unknown
1517
1692
  > = z.object({
1518
- type: Deployments2DeploymentsType$inboundSchema,
1693
+ type: Deployments2DeploymentsResponseType$inboundSchema,
1519
1694
  text: z.string(),
1520
1695
  });
1521
1696
 
@@ -1531,7 +1706,7 @@ export const Deployments21$outboundSchema: z.ZodType<
1531
1706
  z.ZodTypeDef,
1532
1707
  Deployments21
1533
1708
  > = z.object({
1534
- type: Deployments2DeploymentsType$outboundSchema,
1709
+ type: Deployments2DeploymentsResponseType$outboundSchema,
1535
1710
  text: z.string(),
1536
1711
  });
1537
1712
 
@@ -1570,12 +1745,14 @@ export const DeploymentsContent2$inboundSchema: z.ZodType<
1570
1745
  > = z.union([
1571
1746
  z.lazy(() => Deployments21$inboundSchema),
1572
1747
  z.lazy(() => Deployments22$inboundSchema),
1748
+ z.lazy(() => Deployments23$inboundSchema),
1573
1749
  ]);
1574
1750
 
1575
1751
  /** @internal */
1576
1752
  export type DeploymentsContent2$Outbound =
1577
1753
  | Deployments21$Outbound
1578
- | Deployments22$Outbound;
1754
+ | Deployments22$Outbound
1755
+ | Deployments23$Outbound;
1579
1756
 
1580
1757
  /** @internal */
1581
1758
  export const DeploymentsContent2$outboundSchema: z.ZodType<
@@ -1585,6 +1762,7 @@ export const DeploymentsContent2$outboundSchema: z.ZodType<
1585
1762
  > = z.union([
1586
1763
  z.lazy(() => Deployments21$outboundSchema),
1587
1764
  z.lazy(() => Deployments22$outboundSchema),
1765
+ z.lazy(() => Deployments23$outboundSchema),
1588
1766
  ]);
1589
1767
 
1590
1768
  /**
@@ -1628,13 +1806,16 @@ export const DeploymentsContent$inboundSchema: z.ZodType<
1628
1806
  z.array(z.union([
1629
1807
  z.lazy(() => Deployments21$inboundSchema),
1630
1808
  z.lazy(() => Deployments22$inboundSchema),
1809
+ z.lazy(() => Deployments23$inboundSchema),
1631
1810
  ])),
1632
1811
  ]);
1633
1812
 
1634
1813
  /** @internal */
1635
1814
  export type DeploymentsContent$Outbound =
1636
1815
  | string
1637
- | Array<Deployments21$Outbound | Deployments22$Outbound>;
1816
+ | Array<
1817
+ Deployments21$Outbound | Deployments22$Outbound | Deployments23$Outbound
1818
+ >;
1638
1819
 
1639
1820
  /** @internal */
1640
1821
  export const DeploymentsContent$outboundSchema: z.ZodType<
@@ -1646,6 +1827,7 @@ export const DeploymentsContent$outboundSchema: z.ZodType<
1646
1827
  z.array(z.union([
1647
1828
  z.lazy(() => Deployments21$outboundSchema),
1648
1829
  z.lazy(() => Deployments22$outboundSchema),
1830
+ z.lazy(() => Deployments23$outboundSchema),
1649
1831
  ])),
1650
1832
  ]);
1651
1833
 
@@ -1835,6 +2017,7 @@ export const DeploymentsMessages$inboundSchema: z.ZodType<
1835
2017
  z.array(z.union([
1836
2018
  z.lazy(() => Deployments21$inboundSchema),
1837
2019
  z.lazy(() => Deployments22$inboundSchema),
2020
+ z.lazy(() => Deployments23$inboundSchema),
1838
2021
  ])),
1839
2022
  ]),
1840
2023
  tool_calls: z.array(z.lazy(() => DeploymentsToolCalls$inboundSchema))
@@ -1850,7 +2033,11 @@ export const DeploymentsMessages$inboundSchema: z.ZodType<
1850
2033
  /** @internal */
1851
2034
  export type DeploymentsMessages$Outbound = {
1852
2035
  role: string;
1853
- content: string | Array<Deployments21$Outbound | Deployments22$Outbound>;
2036
+ content:
2037
+ | string
2038
+ | Array<
2039
+ Deployments21$Outbound | Deployments22$Outbound | Deployments23$Outbound
2040
+ >;
1854
2041
  tool_calls?: Array<DeploymentsToolCalls$Outbound> | undefined;
1855
2042
  tool_call_id?: string | undefined;
1856
2043
  };
@@ -1867,6 +2054,7 @@ export const DeploymentsMessages$outboundSchema: z.ZodType<
1867
2054
  z.array(z.union([
1868
2055
  z.lazy(() => Deployments21$outboundSchema),
1869
2056
  z.lazy(() => Deployments22$outboundSchema),
2057
+ z.lazy(() => Deployments23$outboundSchema),
1870
2058
  ])),
1871
2059
  ]),
1872
2060
  toolCalls: z.array(z.lazy(() => DeploymentsToolCalls$outboundSchema))
@@ -146,7 +146,7 @@ export const FileGetResponseBody$inboundSchema: z.ZodType<
146
146
  file_name: z.string(),
147
147
  workspace_id: z.string(),
148
148
  created: z.string().datetime({ offset: true }).default(
149
- "2025-05-23T09:43:13.144Z",
149
+ "2025-05-24T19:14:42.496Z",
150
150
  ).transform(v => new Date(v)),
151
151
  }).transform((v) => {
152
152
  return remap$(v, {
@@ -180,7 +180,7 @@ export const FileGetResponseBody$outboundSchema: z.ZodType<
180
180
  bytes: z.number(),
181
181
  fileName: z.string(),
182
182
  workspaceId: z.string(),
183
- created: z.date().default(() => new Date("2025-05-23T09:43:13.144Z"))
183
+ created: z.date().default(() => new Date("2025-05-24T19:14:42.496Z"))
184
184
  .transform(v => v.toISOString()),
185
185
  }).transform((v) => {
186
186
  return remap$(v, {