@orq-ai/node 3.5.21 → 3.5.23

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 (79) hide show
  1. package/bin/mcp-server.js +1018 -971
  2. package/bin/mcp-server.js.map +33 -24
  3. package/jsr.json +1 -1
  4. package/lib/config.d.ts +3 -3
  5. package/lib/config.js +3 -3
  6. package/mcp-server/mcp-server.js +1 -1
  7. package/mcp-server/server.js +1 -1
  8. package/models/operations/bulkcreatedatapoints.js +2 -2
  9. package/models/operations/createcontact.js +2 -2
  10. package/models/operations/createdataset.js +2 -2
  11. package/models/operations/createdatasetitem.js +2 -2
  12. package/models/operations/createdatasource.js +2 -2
  13. package/models/operations/fileget.js +2 -2
  14. package/models/operations/filelist.js +2 -2
  15. package/models/operations/fileupload.js +2 -2
  16. package/models/operations/listdatasetdatapoints.js +2 -2
  17. package/models/operations/listdatasets.js +2 -2
  18. package/models/operations/listdatasources.js +2 -2
  19. package/models/operations/retrievedatapoint.js +2 -2
  20. package/models/operations/retrievedataset.js +2 -2
  21. package/models/operations/retrievedatasource.js +2 -2
  22. package/models/operations/updatedatapoint.js +2 -2
  23. package/models/operations/updatedataset.js +2 -2
  24. package/models/operations/updatedatasource.js +2 -2
  25. package/package.json +2 -2
  26. package/packages/orq-rc/jsr.json +1 -1
  27. package/packages/orq-rc/package-lock.json +6 -6
  28. package/packages/orq-rc/package.json +2 -2
  29. package/packages/orq-rc/src/lib/config.ts +3 -3
  30. package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
  31. package/packages/orq-rc/src/mcp-server/server.ts +1 -1
  32. package/packages/orq-rc/src/models/components/deployments.ts +1217 -1677
  33. package/packages/orq-rc/src/models/operations/bulkcreatedatapoints.ts +416 -12
  34. package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
  35. package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
  36. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +410 -13
  37. package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
  38. package/packages/orq-rc/src/models/operations/createprompt.ts +400 -12
  39. package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +1413 -1729
  40. package/packages/orq-rc/src/models/operations/deployments.ts +211 -23
  41. package/packages/orq-rc/src/models/operations/deploymentstream.ts +1314 -1761
  42. package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
  43. package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
  44. package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
  45. package/packages/orq-rc/src/models/operations/getallprompts.ts +200 -6
  46. package/packages/orq-rc/src/models/operations/getoneprompt.ts +195 -6
  47. package/packages/orq-rc/src/models/operations/getpromptversion.ts +204 -6
  48. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +207 -8
  49. package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
  50. package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
  51. package/packages/orq-rc/src/models/operations/listpromptversions.ts +202 -6
  52. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +204 -8
  53. package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
  54. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
  55. package/packages/orq-rc/src/models/operations/searchknowledge.ts +1334 -1750
  56. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +412 -14
  57. package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
  58. package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
  59. package/packages/orq-rc/src/models/operations/updateprompt.ts +400 -12
  60. package/src/lib/config.ts +3 -3
  61. package/src/mcp-server/mcp-server.ts +1 -1
  62. package/src/mcp-server/server.ts +1 -1
  63. package/src/models/operations/bulkcreatedatapoints.ts +2 -2
  64. package/src/models/operations/createcontact.ts +2 -2
  65. package/src/models/operations/createdataset.ts +2 -2
  66. package/src/models/operations/createdatasetitem.ts +2 -2
  67. package/src/models/operations/createdatasource.ts +2 -2
  68. package/src/models/operations/fileget.ts +2 -2
  69. package/src/models/operations/filelist.ts +2 -2
  70. package/src/models/operations/fileupload.ts +2 -2
  71. package/src/models/operations/listdatasetdatapoints.ts +2 -2
  72. package/src/models/operations/listdatasets.ts +2 -2
  73. package/src/models/operations/listdatasources.ts +2 -2
  74. package/src/models/operations/retrievedatapoint.ts +2 -2
  75. package/src/models/operations/retrievedataset.ts +2 -2
  76. package/src/models/operations/retrievedatasource.ts +2 -2
  77. package/src/models/operations/updatedatapoint.ts +2 -2
  78. package/src/models/operations/updatedataset.ts +2 -2
  79. package/src/models/operations/updatedatasource.ts +2 -2
@@ -255,6 +255,38 @@ export const UpdatePromptRole = {
255
255
  */
256
256
  export type UpdatePromptRole = ClosedEnum<typeof UpdatePromptRole>;
257
257
 
258
+ /**
259
+ * The type of the content part. Always `file`.
260
+ */
261
+ export const UpdatePrompt2PromptsRequestType = {
262
+ File: "file",
263
+ } as const;
264
+ /**
265
+ * The type of the content part. Always `file`.
266
+ */
267
+ export type UpdatePrompt2PromptsRequestType = ClosedEnum<
268
+ typeof UpdatePrompt2PromptsRequestType
269
+ >;
270
+
271
+ export type UpdatePrompt2File = {
272
+ /**
273
+ * The base64 encoded file data, used when passing the file to the model as a string.
274
+ */
275
+ fileData: string;
276
+ /**
277
+ * The name of the file, used when passing the file to the model as a string.
278
+ */
279
+ filename?: string | undefined;
280
+ };
281
+
282
+ export type UpdatePrompt23 = {
283
+ /**
284
+ * The type of the content part. Always `file`.
285
+ */
286
+ type: UpdatePrompt2PromptsRequestType;
287
+ file: UpdatePrompt2File;
288
+ };
289
+
258
290
  export const UpdatePrompt2PromptsType = {
259
291
  ImageUrl: "image_url",
260
292
  } as const;
@@ -294,14 +326,17 @@ export type UpdatePrompt21 = {
294
326
  text: string;
295
327
  };
296
328
 
297
- export type UpdatePromptContent2 = UpdatePrompt21 | UpdatePrompt22;
329
+ export type UpdatePromptContent2 =
330
+ | UpdatePrompt21
331
+ | UpdatePrompt22
332
+ | UpdatePrompt23;
298
333
 
299
334
  /**
300
335
  * 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.
301
336
  */
302
337
  export type UpdatePromptContent =
303
338
  | string
304
- | Array<UpdatePrompt21 | UpdatePrompt22>;
339
+ | Array<UpdatePrompt21 | UpdatePrompt22 | UpdatePrompt23>;
305
340
 
306
341
  export const UpdatePromptType = {
307
342
  Function: "function",
@@ -331,7 +366,7 @@ export type UpdatePromptMessages = {
331
366
  /**
332
367
  * 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.
333
368
  */
334
- content: string | Array<UpdatePrompt21 | UpdatePrompt22>;
369
+ content: string | Array<UpdatePrompt21 | UpdatePrompt22 | UpdatePrompt23>;
335
370
  toolCalls?: Array<UpdatePromptToolCalls> | undefined;
336
371
  toolCallId?: string | undefined;
337
372
  };
@@ -702,6 +737,38 @@ export type UpdatePromptPromptsRole = ClosedEnum<
702
737
  typeof UpdatePromptPromptsRole
703
738
  >;
704
739
 
740
+ /**
741
+ * The type of the content part. Always `file`.
742
+ */
743
+ export const UpdatePrompt2PromptsResponse200ApplicationJSONType = {
744
+ File: "file",
745
+ } as const;
746
+ /**
747
+ * The type of the content part. Always `file`.
748
+ */
749
+ export type UpdatePrompt2PromptsResponse200ApplicationJSONType = ClosedEnum<
750
+ typeof UpdatePrompt2PromptsResponse200ApplicationJSONType
751
+ >;
752
+
753
+ export type UpdatePrompt2PromptsFile = {
754
+ /**
755
+ * The base64 encoded file data, used when passing the file to the model as a string.
756
+ */
757
+ fileData: string;
758
+ /**
759
+ * The name of the file, used when passing the file to the model as a string.
760
+ */
761
+ filename?: string | undefined;
762
+ };
763
+
764
+ export type UpdatePrompt2Prompts3 = {
765
+ /**
766
+ * The type of the content part. Always `file`.
767
+ */
768
+ type: UpdatePrompt2PromptsResponse200ApplicationJSONType;
769
+ file: UpdatePrompt2PromptsFile;
770
+ };
771
+
705
772
  export const UpdatePrompt2PromptsResponse200Type = {
706
773
  ImageUrl: "image_url",
707
774
  } as const;
@@ -749,14 +816,17 @@ export type UpdatePrompt2Prompts1 = {
749
816
 
750
817
  export type UpdatePromptContentPrompts2 =
751
818
  | UpdatePrompt2Prompts1
752
- | UpdatePrompt2Prompts2;
819
+ | UpdatePrompt2Prompts2
820
+ | UpdatePrompt2Prompts3;
753
821
 
754
822
  /**
755
823
  * 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.
756
824
  */
757
825
  export type UpdatePromptPromptsContent =
758
826
  | string
759
- | Array<UpdatePrompt2Prompts1 | UpdatePrompt2Prompts2>;
827
+ | Array<
828
+ UpdatePrompt2Prompts1 | UpdatePrompt2Prompts2 | UpdatePrompt2Prompts3
829
+ >;
760
830
 
761
831
  export const UpdatePromptPromptsResponseType = {
762
832
  Function: "function",
@@ -788,7 +858,11 @@ export type UpdatePromptPromptsMessages = {
788
858
  /**
789
859
  * 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.
790
860
  */
791
- content: string | Array<UpdatePrompt2Prompts1 | UpdatePrompt2Prompts2>;
861
+ content:
862
+ | string
863
+ | Array<
864
+ UpdatePrompt2Prompts1 | UpdatePrompt2Prompts2 | UpdatePrompt2Prompts3
865
+ >;
792
866
  toolCalls?: Array<UpdatePromptPromptsToolCalls> | undefined;
793
867
  toolCallId?: string | undefined;
794
868
  };
@@ -1460,6 +1534,145 @@ export namespace UpdatePromptRole$ {
1460
1534
  export const outboundSchema = UpdatePromptRole$outboundSchema;
1461
1535
  }
1462
1536
 
1537
+ /** @internal */
1538
+ export const UpdatePrompt2PromptsRequestType$inboundSchema: z.ZodNativeEnum<
1539
+ typeof UpdatePrompt2PromptsRequestType
1540
+ > = z.nativeEnum(UpdatePrompt2PromptsRequestType);
1541
+
1542
+ /** @internal */
1543
+ export const UpdatePrompt2PromptsRequestType$outboundSchema: z.ZodNativeEnum<
1544
+ typeof UpdatePrompt2PromptsRequestType
1545
+ > = UpdatePrompt2PromptsRequestType$inboundSchema;
1546
+
1547
+ /**
1548
+ * @internal
1549
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1550
+ */
1551
+ export namespace UpdatePrompt2PromptsRequestType$ {
1552
+ /** @deprecated use `UpdatePrompt2PromptsRequestType$inboundSchema` instead. */
1553
+ export const inboundSchema = UpdatePrompt2PromptsRequestType$inboundSchema;
1554
+ /** @deprecated use `UpdatePrompt2PromptsRequestType$outboundSchema` instead. */
1555
+ export const outboundSchema = UpdatePrompt2PromptsRequestType$outboundSchema;
1556
+ }
1557
+
1558
+ /** @internal */
1559
+ export const UpdatePrompt2File$inboundSchema: z.ZodType<
1560
+ UpdatePrompt2File,
1561
+ z.ZodTypeDef,
1562
+ unknown
1563
+ > = z.object({
1564
+ file_data: z.string(),
1565
+ filename: z.string().optional(),
1566
+ }).transform((v) => {
1567
+ return remap$(v, {
1568
+ "file_data": "fileData",
1569
+ });
1570
+ });
1571
+
1572
+ /** @internal */
1573
+ export type UpdatePrompt2File$Outbound = {
1574
+ file_data: string;
1575
+ filename?: string | undefined;
1576
+ };
1577
+
1578
+ /** @internal */
1579
+ export const UpdatePrompt2File$outboundSchema: z.ZodType<
1580
+ UpdatePrompt2File$Outbound,
1581
+ z.ZodTypeDef,
1582
+ UpdatePrompt2File
1583
+ > = z.object({
1584
+ fileData: z.string(),
1585
+ filename: z.string().optional(),
1586
+ }).transform((v) => {
1587
+ return remap$(v, {
1588
+ fileData: "file_data",
1589
+ });
1590
+ });
1591
+
1592
+ /**
1593
+ * @internal
1594
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1595
+ */
1596
+ export namespace UpdatePrompt2File$ {
1597
+ /** @deprecated use `UpdatePrompt2File$inboundSchema` instead. */
1598
+ export const inboundSchema = UpdatePrompt2File$inboundSchema;
1599
+ /** @deprecated use `UpdatePrompt2File$outboundSchema` instead. */
1600
+ export const outboundSchema = UpdatePrompt2File$outboundSchema;
1601
+ /** @deprecated use `UpdatePrompt2File$Outbound` instead. */
1602
+ export type Outbound = UpdatePrompt2File$Outbound;
1603
+ }
1604
+
1605
+ export function updatePrompt2FileToJSON(
1606
+ updatePrompt2File: UpdatePrompt2File,
1607
+ ): string {
1608
+ return JSON.stringify(
1609
+ UpdatePrompt2File$outboundSchema.parse(updatePrompt2File),
1610
+ );
1611
+ }
1612
+
1613
+ export function updatePrompt2FileFromJSON(
1614
+ jsonString: string,
1615
+ ): SafeParseResult<UpdatePrompt2File, SDKValidationError> {
1616
+ return safeParse(
1617
+ jsonString,
1618
+ (x) => UpdatePrompt2File$inboundSchema.parse(JSON.parse(x)),
1619
+ `Failed to parse 'UpdatePrompt2File' from JSON`,
1620
+ );
1621
+ }
1622
+
1623
+ /** @internal */
1624
+ export const UpdatePrompt23$inboundSchema: z.ZodType<
1625
+ UpdatePrompt23,
1626
+ z.ZodTypeDef,
1627
+ unknown
1628
+ > = z.object({
1629
+ type: UpdatePrompt2PromptsRequestType$inboundSchema,
1630
+ file: z.lazy(() => UpdatePrompt2File$inboundSchema),
1631
+ });
1632
+
1633
+ /** @internal */
1634
+ export type UpdatePrompt23$Outbound = {
1635
+ type: string;
1636
+ file: UpdatePrompt2File$Outbound;
1637
+ };
1638
+
1639
+ /** @internal */
1640
+ export const UpdatePrompt23$outboundSchema: z.ZodType<
1641
+ UpdatePrompt23$Outbound,
1642
+ z.ZodTypeDef,
1643
+ UpdatePrompt23
1644
+ > = z.object({
1645
+ type: UpdatePrompt2PromptsRequestType$outboundSchema,
1646
+ file: z.lazy(() => UpdatePrompt2File$outboundSchema),
1647
+ });
1648
+
1649
+ /**
1650
+ * @internal
1651
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1652
+ */
1653
+ export namespace UpdatePrompt23$ {
1654
+ /** @deprecated use `UpdatePrompt23$inboundSchema` instead. */
1655
+ export const inboundSchema = UpdatePrompt23$inboundSchema;
1656
+ /** @deprecated use `UpdatePrompt23$outboundSchema` instead. */
1657
+ export const outboundSchema = UpdatePrompt23$outboundSchema;
1658
+ /** @deprecated use `UpdatePrompt23$Outbound` instead. */
1659
+ export type Outbound = UpdatePrompt23$Outbound;
1660
+ }
1661
+
1662
+ export function updatePrompt23ToJSON(updatePrompt23: UpdatePrompt23): string {
1663
+ return JSON.stringify(UpdatePrompt23$outboundSchema.parse(updatePrompt23));
1664
+ }
1665
+
1666
+ export function updatePrompt23FromJSON(
1667
+ jsonString: string,
1668
+ ): SafeParseResult<UpdatePrompt23, SDKValidationError> {
1669
+ return safeParse(
1670
+ jsonString,
1671
+ (x) => UpdatePrompt23$inboundSchema.parse(JSON.parse(x)),
1672
+ `Failed to parse 'UpdatePrompt23' from JSON`,
1673
+ );
1674
+ }
1675
+
1463
1676
  /** @internal */
1464
1677
  export const UpdatePrompt2PromptsType$inboundSchema: z.ZodNativeEnum<
1465
1678
  typeof UpdatePrompt2PromptsType
@@ -1681,12 +1894,14 @@ export const UpdatePromptContent2$inboundSchema: z.ZodType<
1681
1894
  > = z.union([
1682
1895
  z.lazy(() => UpdatePrompt21$inboundSchema),
1683
1896
  z.lazy(() => UpdatePrompt22$inboundSchema),
1897
+ z.lazy(() => UpdatePrompt23$inboundSchema),
1684
1898
  ]);
1685
1899
 
1686
1900
  /** @internal */
1687
1901
  export type UpdatePromptContent2$Outbound =
1688
1902
  | UpdatePrompt21$Outbound
1689
- | UpdatePrompt22$Outbound;
1903
+ | UpdatePrompt22$Outbound
1904
+ | UpdatePrompt23$Outbound;
1690
1905
 
1691
1906
  /** @internal */
1692
1907
  export const UpdatePromptContent2$outboundSchema: z.ZodType<
@@ -1696,6 +1911,7 @@ export const UpdatePromptContent2$outboundSchema: z.ZodType<
1696
1911
  > = z.union([
1697
1912
  z.lazy(() => UpdatePrompt21$outboundSchema),
1698
1913
  z.lazy(() => UpdatePrompt22$outboundSchema),
1914
+ z.lazy(() => UpdatePrompt23$outboundSchema),
1699
1915
  ]);
1700
1916
 
1701
1917
  /**
@@ -1739,13 +1955,16 @@ export const UpdatePromptContent$inboundSchema: z.ZodType<
1739
1955
  z.array(z.union([
1740
1956
  z.lazy(() => UpdatePrompt21$inboundSchema),
1741
1957
  z.lazy(() => UpdatePrompt22$inboundSchema),
1958
+ z.lazy(() => UpdatePrompt23$inboundSchema),
1742
1959
  ])),
1743
1960
  ]);
1744
1961
 
1745
1962
  /** @internal */
1746
1963
  export type UpdatePromptContent$Outbound =
1747
1964
  | string
1748
- | Array<UpdatePrompt21$Outbound | UpdatePrompt22$Outbound>;
1965
+ | Array<
1966
+ UpdatePrompt21$Outbound | UpdatePrompt22$Outbound | UpdatePrompt23$Outbound
1967
+ >;
1749
1968
 
1750
1969
  /** @internal */
1751
1970
  export const UpdatePromptContent$outboundSchema: z.ZodType<
@@ -1757,6 +1976,7 @@ export const UpdatePromptContent$outboundSchema: z.ZodType<
1757
1976
  z.array(z.union([
1758
1977
  z.lazy(() => UpdatePrompt21$outboundSchema),
1759
1978
  z.lazy(() => UpdatePrompt22$outboundSchema),
1979
+ z.lazy(() => UpdatePrompt23$outboundSchema),
1760
1980
  ])),
1761
1981
  ]);
1762
1982
 
@@ -1944,6 +2164,7 @@ export const UpdatePromptMessages$inboundSchema: z.ZodType<
1944
2164
  z.array(z.union([
1945
2165
  z.lazy(() => UpdatePrompt21$inboundSchema),
1946
2166
  z.lazy(() => UpdatePrompt22$inboundSchema),
2167
+ z.lazy(() => UpdatePrompt23$inboundSchema),
1947
2168
  ])),
1948
2169
  ]),
1949
2170
  tool_calls: z.array(z.lazy(() => UpdatePromptToolCalls$inboundSchema))
@@ -1959,7 +2180,13 @@ export const UpdatePromptMessages$inboundSchema: z.ZodType<
1959
2180
  /** @internal */
1960
2181
  export type UpdatePromptMessages$Outbound = {
1961
2182
  role: string;
1962
- content: string | Array<UpdatePrompt21$Outbound | UpdatePrompt22$Outbound>;
2183
+ content:
2184
+ | string
2185
+ | Array<
2186
+ | UpdatePrompt21$Outbound
2187
+ | UpdatePrompt22$Outbound
2188
+ | UpdatePrompt23$Outbound
2189
+ >;
1963
2190
  tool_calls?: Array<UpdatePromptToolCalls$Outbound> | undefined;
1964
2191
  tool_call_id?: string | undefined;
1965
2192
  };
@@ -1976,6 +2203,7 @@ export const UpdatePromptMessages$outboundSchema: z.ZodType<
1976
2203
  z.array(z.union([
1977
2204
  z.lazy(() => UpdatePrompt21$outboundSchema),
1978
2205
  z.lazy(() => UpdatePrompt22$outboundSchema),
2206
+ z.lazy(() => UpdatePrompt23$outboundSchema),
1979
2207
  ])),
1980
2208
  ]),
1981
2209
  toolCalls: z.array(z.lazy(() => UpdatePromptToolCalls$outboundSchema))
@@ -2976,6 +3204,151 @@ export namespace UpdatePromptPromptsRole$ {
2976
3204
  export const outboundSchema = UpdatePromptPromptsRole$outboundSchema;
2977
3205
  }
2978
3206
 
3207
+ /** @internal */
3208
+ export const UpdatePrompt2PromptsResponse200ApplicationJSONType$inboundSchema:
3209
+ z.ZodNativeEnum<typeof UpdatePrompt2PromptsResponse200ApplicationJSONType> = z
3210
+ .nativeEnum(UpdatePrompt2PromptsResponse200ApplicationJSONType);
3211
+
3212
+ /** @internal */
3213
+ export const UpdatePrompt2PromptsResponse200ApplicationJSONType$outboundSchema:
3214
+ z.ZodNativeEnum<typeof UpdatePrompt2PromptsResponse200ApplicationJSONType> =
3215
+ UpdatePrompt2PromptsResponse200ApplicationJSONType$inboundSchema;
3216
+
3217
+ /**
3218
+ * @internal
3219
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3220
+ */
3221
+ export namespace UpdatePrompt2PromptsResponse200ApplicationJSONType$ {
3222
+ /** @deprecated use `UpdatePrompt2PromptsResponse200ApplicationJSONType$inboundSchema` instead. */
3223
+ export const inboundSchema =
3224
+ UpdatePrompt2PromptsResponse200ApplicationJSONType$inboundSchema;
3225
+ /** @deprecated use `UpdatePrompt2PromptsResponse200ApplicationJSONType$outboundSchema` instead. */
3226
+ export const outboundSchema =
3227
+ UpdatePrompt2PromptsResponse200ApplicationJSONType$outboundSchema;
3228
+ }
3229
+
3230
+ /** @internal */
3231
+ export const UpdatePrompt2PromptsFile$inboundSchema: z.ZodType<
3232
+ UpdatePrompt2PromptsFile,
3233
+ z.ZodTypeDef,
3234
+ unknown
3235
+ > = z.object({
3236
+ file_data: z.string(),
3237
+ filename: z.string().optional(),
3238
+ }).transform((v) => {
3239
+ return remap$(v, {
3240
+ "file_data": "fileData",
3241
+ });
3242
+ });
3243
+
3244
+ /** @internal */
3245
+ export type UpdatePrompt2PromptsFile$Outbound = {
3246
+ file_data: string;
3247
+ filename?: string | undefined;
3248
+ };
3249
+
3250
+ /** @internal */
3251
+ export const UpdatePrompt2PromptsFile$outboundSchema: z.ZodType<
3252
+ UpdatePrompt2PromptsFile$Outbound,
3253
+ z.ZodTypeDef,
3254
+ UpdatePrompt2PromptsFile
3255
+ > = z.object({
3256
+ fileData: z.string(),
3257
+ filename: z.string().optional(),
3258
+ }).transform((v) => {
3259
+ return remap$(v, {
3260
+ fileData: "file_data",
3261
+ });
3262
+ });
3263
+
3264
+ /**
3265
+ * @internal
3266
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3267
+ */
3268
+ export namespace UpdatePrompt2PromptsFile$ {
3269
+ /** @deprecated use `UpdatePrompt2PromptsFile$inboundSchema` instead. */
3270
+ export const inboundSchema = UpdatePrompt2PromptsFile$inboundSchema;
3271
+ /** @deprecated use `UpdatePrompt2PromptsFile$outboundSchema` instead. */
3272
+ export const outboundSchema = UpdatePrompt2PromptsFile$outboundSchema;
3273
+ /** @deprecated use `UpdatePrompt2PromptsFile$Outbound` instead. */
3274
+ export type Outbound = UpdatePrompt2PromptsFile$Outbound;
3275
+ }
3276
+
3277
+ export function updatePrompt2PromptsFileToJSON(
3278
+ updatePrompt2PromptsFile: UpdatePrompt2PromptsFile,
3279
+ ): string {
3280
+ return JSON.stringify(
3281
+ UpdatePrompt2PromptsFile$outboundSchema.parse(updatePrompt2PromptsFile),
3282
+ );
3283
+ }
3284
+
3285
+ export function updatePrompt2PromptsFileFromJSON(
3286
+ jsonString: string,
3287
+ ): SafeParseResult<UpdatePrompt2PromptsFile, SDKValidationError> {
3288
+ return safeParse(
3289
+ jsonString,
3290
+ (x) => UpdatePrompt2PromptsFile$inboundSchema.parse(JSON.parse(x)),
3291
+ `Failed to parse 'UpdatePrompt2PromptsFile' from JSON`,
3292
+ );
3293
+ }
3294
+
3295
+ /** @internal */
3296
+ export const UpdatePrompt2Prompts3$inboundSchema: z.ZodType<
3297
+ UpdatePrompt2Prompts3,
3298
+ z.ZodTypeDef,
3299
+ unknown
3300
+ > = z.object({
3301
+ type: UpdatePrompt2PromptsResponse200ApplicationJSONType$inboundSchema,
3302
+ file: z.lazy(() => UpdatePrompt2PromptsFile$inboundSchema),
3303
+ });
3304
+
3305
+ /** @internal */
3306
+ export type UpdatePrompt2Prompts3$Outbound = {
3307
+ type: string;
3308
+ file: UpdatePrompt2PromptsFile$Outbound;
3309
+ };
3310
+
3311
+ /** @internal */
3312
+ export const UpdatePrompt2Prompts3$outboundSchema: z.ZodType<
3313
+ UpdatePrompt2Prompts3$Outbound,
3314
+ z.ZodTypeDef,
3315
+ UpdatePrompt2Prompts3
3316
+ > = z.object({
3317
+ type: UpdatePrompt2PromptsResponse200ApplicationJSONType$outboundSchema,
3318
+ file: z.lazy(() => UpdatePrompt2PromptsFile$outboundSchema),
3319
+ });
3320
+
3321
+ /**
3322
+ * @internal
3323
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3324
+ */
3325
+ export namespace UpdatePrompt2Prompts3$ {
3326
+ /** @deprecated use `UpdatePrompt2Prompts3$inboundSchema` instead. */
3327
+ export const inboundSchema = UpdatePrompt2Prompts3$inboundSchema;
3328
+ /** @deprecated use `UpdatePrompt2Prompts3$outboundSchema` instead. */
3329
+ export const outboundSchema = UpdatePrompt2Prompts3$outboundSchema;
3330
+ /** @deprecated use `UpdatePrompt2Prompts3$Outbound` instead. */
3331
+ export type Outbound = UpdatePrompt2Prompts3$Outbound;
3332
+ }
3333
+
3334
+ export function updatePrompt2Prompts3ToJSON(
3335
+ updatePrompt2Prompts3: UpdatePrompt2Prompts3,
3336
+ ): string {
3337
+ return JSON.stringify(
3338
+ UpdatePrompt2Prompts3$outboundSchema.parse(updatePrompt2Prompts3),
3339
+ );
3340
+ }
3341
+
3342
+ export function updatePrompt2Prompts3FromJSON(
3343
+ jsonString: string,
3344
+ ): SafeParseResult<UpdatePrompt2Prompts3, SDKValidationError> {
3345
+ return safeParse(
3346
+ jsonString,
3347
+ (x) => UpdatePrompt2Prompts3$inboundSchema.parse(JSON.parse(x)),
3348
+ `Failed to parse 'UpdatePrompt2Prompts3' from JSON`,
3349
+ );
3350
+ }
3351
+
2979
3352
  /** @internal */
2980
3353
  export const UpdatePrompt2PromptsResponse200Type$inboundSchema: z.ZodNativeEnum<
2981
3354
  typeof UpdatePrompt2PromptsResponse200Type
@@ -3212,12 +3585,14 @@ export const UpdatePromptContentPrompts2$inboundSchema: z.ZodType<
3212
3585
  > = z.union([
3213
3586
  z.lazy(() => UpdatePrompt2Prompts1$inboundSchema),
3214
3587
  z.lazy(() => UpdatePrompt2Prompts2$inboundSchema),
3588
+ z.lazy(() => UpdatePrompt2Prompts3$inboundSchema),
3215
3589
  ]);
3216
3590
 
3217
3591
  /** @internal */
3218
3592
  export type UpdatePromptContentPrompts2$Outbound =
3219
3593
  | UpdatePrompt2Prompts1$Outbound
3220
- | UpdatePrompt2Prompts2$Outbound;
3594
+ | UpdatePrompt2Prompts2$Outbound
3595
+ | UpdatePrompt2Prompts3$Outbound;
3221
3596
 
3222
3597
  /** @internal */
3223
3598
  export const UpdatePromptContentPrompts2$outboundSchema: z.ZodType<
@@ -3227,6 +3602,7 @@ export const UpdatePromptContentPrompts2$outboundSchema: z.ZodType<
3227
3602
  > = z.union([
3228
3603
  z.lazy(() => UpdatePrompt2Prompts1$outboundSchema),
3229
3604
  z.lazy(() => UpdatePrompt2Prompts2$outboundSchema),
3605
+ z.lazy(() => UpdatePrompt2Prompts3$outboundSchema),
3230
3606
  ]);
3231
3607
 
3232
3608
  /**
@@ -3272,13 +3648,18 @@ export const UpdatePromptPromptsContent$inboundSchema: z.ZodType<
3272
3648
  z.array(z.union([
3273
3649
  z.lazy(() => UpdatePrompt2Prompts1$inboundSchema),
3274
3650
  z.lazy(() => UpdatePrompt2Prompts2$inboundSchema),
3651
+ z.lazy(() => UpdatePrompt2Prompts3$inboundSchema),
3275
3652
  ])),
3276
3653
  ]);
3277
3654
 
3278
3655
  /** @internal */
3279
3656
  export type UpdatePromptPromptsContent$Outbound =
3280
3657
  | string
3281
- | Array<UpdatePrompt2Prompts1$Outbound | UpdatePrompt2Prompts2$Outbound>;
3658
+ | Array<
3659
+ | UpdatePrompt2Prompts1$Outbound
3660
+ | UpdatePrompt2Prompts2$Outbound
3661
+ | UpdatePrompt2Prompts3$Outbound
3662
+ >;
3282
3663
 
3283
3664
  /** @internal */
3284
3665
  export const UpdatePromptPromptsContent$outboundSchema: z.ZodType<
@@ -3290,6 +3671,7 @@ export const UpdatePromptPromptsContent$outboundSchema: z.ZodType<
3290
3671
  z.array(z.union([
3291
3672
  z.lazy(() => UpdatePrompt2Prompts1$outboundSchema),
3292
3673
  z.lazy(() => UpdatePrompt2Prompts2$outboundSchema),
3674
+ z.lazy(() => UpdatePrompt2Prompts3$outboundSchema),
3293
3675
  ])),
3294
3676
  ]);
3295
3677
 
@@ -3481,6 +3863,7 @@ export const UpdatePromptPromptsMessages$inboundSchema: z.ZodType<
3481
3863
  z.array(z.union([
3482
3864
  z.lazy(() => UpdatePrompt2Prompts1$inboundSchema),
3483
3865
  z.lazy(() => UpdatePrompt2Prompts2$inboundSchema),
3866
+ z.lazy(() => UpdatePrompt2Prompts3$inboundSchema),
3484
3867
  ])),
3485
3868
  ]),
3486
3869
  tool_calls: z.array(z.lazy(() => UpdatePromptPromptsToolCalls$inboundSchema))
@@ -3498,7 +3881,11 @@ export type UpdatePromptPromptsMessages$Outbound = {
3498
3881
  role: string;
3499
3882
  content:
3500
3883
  | string
3501
- | Array<UpdatePrompt2Prompts1$Outbound | UpdatePrompt2Prompts2$Outbound>;
3884
+ | Array<
3885
+ | UpdatePrompt2Prompts1$Outbound
3886
+ | UpdatePrompt2Prompts2$Outbound
3887
+ | UpdatePrompt2Prompts3$Outbound
3888
+ >;
3502
3889
  tool_calls?: Array<UpdatePromptPromptsToolCalls$Outbound> | undefined;
3503
3890
  tool_call_id?: string | undefined;
3504
3891
  };
@@ -3515,6 +3902,7 @@ export const UpdatePromptPromptsMessages$outboundSchema: z.ZodType<
3515
3902
  z.array(z.union([
3516
3903
  z.lazy(() => UpdatePrompt2Prompts1$outboundSchema),
3517
3904
  z.lazy(() => UpdatePrompt2Prompts2$outboundSchema),
3905
+ z.lazy(() => UpdatePrompt2Prompts3$outboundSchema),
3518
3906
  ])),
3519
3907
  ]),
3520
3908
  toolCalls: z.array(z.lazy(() => UpdatePromptPromptsToolCalls$outboundSchema))
package/src/lib/config.ts CHANGED
@@ -64,7 +64,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
64
64
  export const SDK_METADATA = {
65
65
  language: "typescript",
66
66
  openapiDocVersion: "2.0",
67
- sdkVersion: "3.5.21",
68
- genVersion: "2.605.6",
69
- userAgent: "speakeasy-sdk/typescript 3.5.21 2.605.6 2.0 @orq-ai/node",
67
+ sdkVersion: "3.5.23",
68
+ genVersion: "2.610.0",
69
+ userAgent: "speakeasy-sdk/typescript 3.5.23 2.610.0 2.0 @orq-ai/node",
70
70
  } as const;
@@ -19,7 +19,7 @@ const routes = buildRouteMap({
19
19
  export const app = buildApplication(routes, {
20
20
  name: "mcp",
21
21
  versionInfo: {
22
- currentVersion: "3.5.21",
22
+ currentVersion: "3.5.23",
23
23
  },
24
24
  });
25
25
 
@@ -73,7 +73,7 @@ export function createMCPServer(deps: {
73
73
  }) {
74
74
  const server = new McpServer({
75
75
  name: "Orq",
76
- version: "3.5.21",
76
+ version: "3.5.23",
77
77
  });
78
78
 
79
79
  const client = new OrqCore({
@@ -1743,7 +1743,7 @@ export const ResponseBody$inboundSchema: z.ZodType<
1743
1743
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
1744
1744
  .optional(),
1745
1745
  updated: z.string().datetime({ offset: true }).default(
1746
- "2025-05-22T06:46:08.839Z",
1746
+ "2025-05-26T14:07:56.632Z",
1747
1747
  ).transform(v => new Date(v)),
1748
1748
  }).transform((v) => {
1749
1749
  return remap$(v, {
@@ -1787,7 +1787,7 @@ export const ResponseBody$outboundSchema: z.ZodType<
1787
1787
  createdById: z.string().optional(),
1788
1788
  updatedById: z.string().optional(),
1789
1789
  created: z.date().transform(v => v.toISOString()).optional(),
1790
- updated: z.date().default(() => new Date("2025-05-22T06:46:08.839Z"))
1790
+ updated: z.date().default(() => new Date("2025-05-26T14:07:56.632Z"))
1791
1791
  .transform(v => v.toISOString()),
1792
1792
  }).transform((v) => {
1793
1793
  return remap$(v, {
@@ -177,7 +177,7 @@ export const CreateContactResponseBody$inboundSchema: z.ZodType<
177
177
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
178
178
  .optional(),
179
179
  updated: z.string().datetime({ offset: true }).default(
180
- "2025-05-22T06:46:08.839Z",
180
+ "2025-05-26T14:07:56.632Z",
181
181
  ).transform(v => new Date(v)),
182
182
  }).transform((v) => {
183
183
  return remap$(v, {
@@ -214,7 +214,7 @@ export const CreateContactResponseBody$outboundSchema: z.ZodType<
214
214
  tags: z.array(z.string()).optional(),
215
215
  metadata: z.record(z.any()).optional(),
216
216
  created: z.date().transform(v => v.toISOString()).optional(),
217
- updated: z.date().default(() => new Date("2025-05-22T06:46:08.839Z"))
217
+ updated: z.date().default(() => new Date("2025-05-26T14:07:56.632Z"))
218
218
  .transform(v => v.toISOString()),
219
219
  }).transform((v) => {
220
220
  return remap$(v, {
@@ -211,7 +211,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
211
211
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
212
212
  .optional(),
213
213
  updated: z.string().datetime({ offset: true }).default(
214
- "2025-05-22T06:46:08.839Z",
214
+ "2025-05-26T14:07:56.632Z",
215
215
  ).transform(v => new Date(v)),
216
216
  }).transform((v) => {
217
217
  return remap$(v, {
@@ -251,7 +251,7 @@ export const CreateDatasetResponseBody$outboundSchema: z.ZodType<
251
251
  updatedById: z.string().optional(),
252
252
  metadata: z.lazy(() => CreateDatasetMetadata$outboundSchema),
253
253
  created: z.date().transform(v => v.toISOString()).optional(),
254
- updated: z.date().default(() => new Date("2025-05-22T06:46:08.839Z"))
254
+ updated: z.date().default(() => new Date("2025-05-26T14:07:56.632Z"))
255
255
  .transform(v => v.toISOString()),
256
256
  }).transform((v) => {
257
257
  return remap$(v, {