@orq-ai/node 4.5.0-rc.40 → 4.5.0-rc.41

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 (103) hide show
  1. package/jsr.json +1 -1
  2. package/lib/config.d.ts +2 -2
  3. package/lib/config.js +2 -2
  4. package/models/components/partdoneevent.js +1 -1
  5. package/models/components/reasoningpart.js +1 -1
  6. package/models/operations/createagentrequest.d.ts +161 -271
  7. package/models/operations/createagentrequest.d.ts.map +1 -1
  8. package/models/operations/createagentrequest.js +162 -256
  9. package/models/operations/createagentrequest.js.map +1 -1
  10. package/models/operations/createcontact.js +1 -1
  11. package/models/operations/createdataset.js +1 -1
  12. package/models/operations/createdatasetitem.js +4 -4
  13. package/models/operations/createdatasource.js +1 -1
  14. package/models/operations/createeval.js +16 -16
  15. package/models/operations/createidentity.js +1 -1
  16. package/models/operations/createknowledge.d.ts +7 -7
  17. package/models/operations/createknowledge.d.ts.map +1 -1
  18. package/models/operations/createknowledge.js +11 -11
  19. package/models/operations/createknowledge.js.map +1 -1
  20. package/models/operations/createtool.d.ts +39 -39
  21. package/models/operations/createtool.d.ts.map +1 -1
  22. package/models/operations/createtool.js +49 -52
  23. package/models/operations/createtool.js.map +1 -1
  24. package/models/operations/fileget.js +1 -1
  25. package/models/operations/filelist.js +1 -1
  26. package/models/operations/fileupload.js +1 -1
  27. package/models/operations/getalltools.d.ts +39 -39
  28. package/models/operations/getalltools.d.ts.map +1 -1
  29. package/models/operations/getalltools.js +47 -49
  30. package/models/operations/getalltools.js.map +1 -1
  31. package/models/operations/getevals.js +16 -16
  32. package/models/operations/listagents.d.ts +167 -276
  33. package/models/operations/listagents.d.ts.map +1 -1
  34. package/models/operations/listagents.js +172 -266
  35. package/models/operations/listagents.js.map +1 -1
  36. package/models/operations/listdatasetdatapoints.js +4 -4
  37. package/models/operations/listdatasets.js +1 -1
  38. package/models/operations/listdatasources.js +1 -1
  39. package/models/operations/listidentities.js +1 -1
  40. package/models/operations/listknowledgebases.d.ts +8 -8
  41. package/models/operations/listknowledgebases.d.ts.map +1 -1
  42. package/models/operations/listknowledgebases.js +15 -13
  43. package/models/operations/listknowledgebases.js.map +1 -1
  44. package/models/operations/retrieveagentrequest.d.ts +169 -279
  45. package/models/operations/retrieveagentrequest.d.ts.map +1 -1
  46. package/models/operations/retrieveagentrequest.js +173 -270
  47. package/models/operations/retrieveagentrequest.js.map +1 -1
  48. package/models/operations/retrievedatapoint.js +4 -4
  49. package/models/operations/retrievedataset.js +1 -1
  50. package/models/operations/retrievedatasource.js +1 -1
  51. package/models/operations/retrieveidentity.js +1 -1
  52. package/models/operations/retrievetool.js +6 -6
  53. package/models/operations/runagent.js +1 -1
  54. package/models/operations/streamrunagent.js +1 -1
  55. package/models/operations/updateagent.d.ts +169 -279
  56. package/models/operations/updateagent.d.ts.map +1 -1
  57. package/models/operations/updateagent.js +174 -270
  58. package/models/operations/updateagent.js.map +1 -1
  59. package/models/operations/updatedatapoint.js +4 -4
  60. package/models/operations/updatedataset.js +1 -1
  61. package/models/operations/updatedatasource.js +1 -1
  62. package/models/operations/updateeval.js +16 -16
  63. package/models/operations/updateidentity.js +1 -1
  64. package/models/operations/updatetool.js +7 -7
  65. package/package.json +1 -1
  66. package/src/lib/config.ts +2 -2
  67. package/src/models/components/partdoneevent.ts +1 -1
  68. package/src/models/components/reasoningpart.ts +1 -1
  69. package/src/models/operations/createagentrequest.ts +376 -619
  70. package/src/models/operations/createcontact.ts +1 -1
  71. package/src/models/operations/createdataset.ts +1 -1
  72. package/src/models/operations/createdatasetitem.ts +4 -4
  73. package/src/models/operations/createdatasource.ts +1 -1
  74. package/src/models/operations/createeval.ts +16 -16
  75. package/src/models/operations/createidentity.ts +1 -1
  76. package/src/models/operations/createknowledge.ts +17 -19
  77. package/src/models/operations/createtool.ts +91 -103
  78. package/src/models/operations/fileget.ts +1 -1
  79. package/src/models/operations/filelist.ts +1 -1
  80. package/src/models/operations/fileupload.ts +1 -1
  81. package/src/models/operations/getalltools.ts +87 -93
  82. package/src/models/operations/getevals.ts +16 -16
  83. package/src/models/operations/listagents.ts +383 -611
  84. package/src/models/operations/listdatasetdatapoints.ts +4 -4
  85. package/src/models/operations/listdatasets.ts +1 -1
  86. package/src/models/operations/listdatasources.ts +1 -1
  87. package/src/models/operations/listidentities.ts +1 -1
  88. package/src/models/operations/listknowledgebases.ts +64 -72
  89. package/src/models/operations/retrieveagentrequest.ts +489 -884
  90. package/src/models/operations/retrievedatapoint.ts +4 -4
  91. package/src/models/operations/retrievedataset.ts +1 -1
  92. package/src/models/operations/retrievedatasource.ts +1 -1
  93. package/src/models/operations/retrieveidentity.ts +1 -1
  94. package/src/models/operations/retrievetool.ts +6 -6
  95. package/src/models/operations/runagent.ts +1 -1
  96. package/src/models/operations/streamrunagent.ts +1 -1
  97. package/src/models/operations/updateagent.ts +362 -668
  98. package/src/models/operations/updatedatapoint.ts +4 -4
  99. package/src/models/operations/updatedataset.ts +1 -1
  100. package/src/models/operations/updatedatasource.ts +1 -1
  101. package/src/models/operations/updateeval.ts +16 -16
  102. package/src/models/operations/updateidentity.ts +1 -1
  103. package/src/models/operations/updatetool.ts +7 -7
@@ -540,7 +540,7 @@ export type CreateToolRequestBody =
540
540
  /**
541
541
  * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
542
542
  */
543
- export const CreateToolResponseBodyToolsResponse200ApplicationJSONStatus = {
543
+ export const CreateToolResponseBodyToolsResponse200Status = {
544
544
  Live: "live",
545
545
  Draft: "draft",
546
546
  Pending: "pending",
@@ -549,10 +549,9 @@ export const CreateToolResponseBodyToolsResponse200ApplicationJSONStatus = {
549
549
  /**
550
550
  * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
551
551
  */
552
- export type CreateToolResponseBodyToolsResponse200ApplicationJSONStatus =
553
- ClosedEnum<
554
- typeof CreateToolResponseBodyToolsResponse200ApplicationJSONStatus
555
- >;
552
+ export type CreateToolResponseBodyToolsResponse200Status = ClosedEnum<
553
+ typeof CreateToolResponseBodyToolsResponse200Status
554
+ >;
556
555
 
557
556
  /**
558
557
  * The type must be "object"
@@ -569,7 +568,7 @@ export type CreateToolResponseBodyToolsResponse200ApplicationJson5Type =
569
568
  /**
570
569
  * The parameters the functions accepts, described as a JSON Schema object. See the `OpenAI` [guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
571
570
  */
572
- export type CreateToolResponseBodyToolsParameters = {
571
+ export type CreateToolResponseBodyParameters = {
573
572
  /**
574
573
  * The type must be "object"
575
574
  */
@@ -594,7 +593,7 @@ export type ResponseBodyCodeTool = {
594
593
  /**
595
594
  * The parameters the functions accepts, described as a JSON Schema object. See the `OpenAI` [guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
596
595
  */
597
- parameters?: CreateToolResponseBodyToolsParameters | undefined;
596
+ parameters?: CreateToolResponseBodyParameters | undefined;
598
597
  language: ResponseBodyLanguage;
599
598
  /**
600
599
  * The code to execute.
@@ -644,7 +643,7 @@ export type ResponseBodyCodeExecutionTool = {
644
643
  /**
645
644
  * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
646
645
  */
647
- status: CreateToolResponseBodyToolsResponse200ApplicationJSONStatus;
646
+ status: CreateToolResponseBodyToolsResponse200Status;
648
647
  versionHash?: string | undefined;
649
648
  type: "code";
650
649
  codeTool: ResponseBodyCodeTool;
@@ -653,7 +652,7 @@ export type ResponseBodyCodeExecutionTool = {
653
652
  /**
654
653
  * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
655
654
  */
656
- export const CreateToolResponseBodyToolsResponse200Status = {
655
+ export const CreateToolResponseBodyToolsResponseStatus = {
657
656
  Live: "live",
658
657
  Draft: "draft",
659
658
  Pending: "pending",
@@ -662,11 +661,11 @@ export const CreateToolResponseBodyToolsResponse200Status = {
662
661
  /**
663
662
  * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
664
663
  */
665
- export type CreateToolResponseBodyToolsResponse200Status = ClosedEnum<
666
- typeof CreateToolResponseBodyToolsResponse200Status
664
+ export type CreateToolResponseBodyToolsResponseStatus = ClosedEnum<
665
+ typeof CreateToolResponseBodyToolsResponseStatus
667
666
  >;
668
667
 
669
- export type CreateToolResponseBodyHeaders = {
668
+ export type ResponseBodyHeaders = {
670
669
  value: string;
671
670
  encrypted: boolean;
672
671
  };
@@ -683,7 +682,7 @@ export type CreateToolResponseBodySchema = {
683
682
  required?: Array<string> | undefined;
684
683
  };
685
684
 
686
- export type CreateToolResponseBodyTools = {
685
+ export type ResponseBodyTools = {
687
686
  id: string;
688
687
  name: string;
689
688
  description?: string | undefined;
@@ -712,11 +711,11 @@ export type ResponseBodyMcp = {
712
711
  /**
713
712
  * HTTP headers for MCP server requests with encryption support
714
713
  */
715
- headers?: { [k: string]: CreateToolResponseBodyHeaders } | undefined;
714
+ headers?: { [k: string]: ResponseBodyHeaders } | undefined;
716
715
  /**
717
716
  * Array of tools available from the MCP server
718
717
  */
719
- tools: Array<CreateToolResponseBodyTools>;
718
+ tools: Array<ResponseBodyTools>;
720
719
  /**
721
720
  * The connection type used by the MCP server
722
721
  */
@@ -765,7 +764,7 @@ export type ResponseBodyMCPTool = {
765
764
  /**
766
765
  * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
767
766
  */
768
- status: CreateToolResponseBodyToolsResponse200Status;
767
+ status: CreateToolResponseBodyToolsResponseStatus;
769
768
  versionHash?: string | undefined;
770
769
  type: "mcp";
771
770
  mcp: ResponseBodyMcp;
@@ -774,7 +773,7 @@ export type ResponseBodyMCPTool = {
774
773
  /**
775
774
  * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
776
775
  */
777
- export const CreateToolResponseBodyToolsResponseStatus = {
776
+ export const CreateToolResponseBodyToolsStatus = {
778
777
  Live: "live",
779
778
  Draft: "draft",
780
779
  Pending: "pending",
@@ -783,8 +782,8 @@ export const CreateToolResponseBodyToolsResponseStatus = {
783
782
  /**
784
783
  * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
785
784
  */
786
- export type CreateToolResponseBodyToolsResponseStatus = ClosedEnum<
787
- typeof CreateToolResponseBodyToolsResponseStatus
785
+ export type CreateToolResponseBodyToolsStatus = ClosedEnum<
786
+ typeof CreateToolResponseBodyToolsStatus
788
787
  >;
789
788
 
790
789
  /**
@@ -808,9 +807,7 @@ export type CreateToolHeadersTools2 = {
808
807
  encrypted: boolean;
809
808
  };
810
809
 
811
- export type CreateToolResponseBodyToolsHeaders =
812
- | CreateToolHeadersTools2
813
- | string;
810
+ export type CreateToolResponseBodyHeaders = CreateToolHeadersTools2 | string;
814
811
 
815
812
  /**
816
813
  * The blueprint for the HTTP request. The `arguments` field will be used to replace the placeholders in the `url`, `headers`, `body`, and `arguments` fields.
@@ -925,7 +922,7 @@ export type ResponseBodyHTTPTool = {
925
922
  /**
926
923
  * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
927
924
  */
928
- status: CreateToolResponseBodyToolsResponseStatus;
925
+ status: CreateToolResponseBodyToolsStatus;
929
926
  versionHash?: string | undefined;
930
927
  type: "http";
931
928
  http: CreateToolResponseBodyHttp;
@@ -934,7 +931,7 @@ export type ResponseBodyHTTPTool = {
934
931
  /**
935
932
  * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
936
933
  */
937
- export const CreateToolResponseBodyToolsStatus = {
934
+ export const CreateToolResponseBodyStatus = {
938
935
  Live: "live",
939
936
  Draft: "draft",
940
937
  Pending: "pending",
@@ -943,8 +940,8 @@ export const CreateToolResponseBodyToolsStatus = {
943
940
  /**
944
941
  * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
945
942
  */
946
- export type CreateToolResponseBodyToolsStatus = ClosedEnum<
947
- typeof CreateToolResponseBodyToolsStatus
943
+ export type CreateToolResponseBodyStatus = ClosedEnum<
944
+ typeof CreateToolResponseBodyStatus
948
945
  >;
949
946
 
950
947
  /**
@@ -1027,7 +1024,7 @@ export type ResponseBodyJSONSchemaTool = {
1027
1024
  /**
1028
1025
  * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
1029
1026
  */
1030
- status: CreateToolResponseBodyToolsStatus;
1027
+ status: CreateToolResponseBodyStatus;
1031
1028
  versionHash?: string | undefined;
1032
1029
  type: "json_schema";
1033
1030
  jsonSchema: ResponseBodyJsonSchema;
@@ -1036,7 +1033,7 @@ export type ResponseBodyJSONSchemaTool = {
1036
1033
  /**
1037
1034
  * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
1038
1035
  */
1039
- export const CreateToolResponseBodyStatus = {
1036
+ export const ResponseBodyStatus = {
1040
1037
  Live: "live",
1041
1038
  Draft: "draft",
1042
1039
  Pending: "pending",
@@ -1045,9 +1042,7 @@ export const CreateToolResponseBodyStatus = {
1045
1042
  /**
1046
1043
  * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
1047
1044
  */
1048
- export type CreateToolResponseBodyStatus = ClosedEnum<
1049
- typeof CreateToolResponseBodyStatus
1050
- >;
1045
+ export type ResponseBodyStatus = ClosedEnum<typeof ResponseBodyStatus>;
1051
1046
 
1052
1047
  /**
1053
1048
  * The type must be "object"
@@ -1064,7 +1059,7 @@ export type CreateToolResponseBodyToolsResponse200ApplicationJson1Type =
1064
1059
  /**
1065
1060
  * The parameters the functions accepts, described as a JSON Schema object. See the `OpenAI` [guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
1066
1061
  */
1067
- export type CreateToolResponseBodyParameters = {
1062
+ export type ResponseBodyParameters = {
1068
1063
  /**
1069
1064
  * The type must be "object"
1070
1065
  */
@@ -1096,7 +1091,7 @@ export type CreateToolResponseBodyFunction = {
1096
1091
  /**
1097
1092
  * The parameters the functions accepts, described as a JSON Schema object. See the `OpenAI` [guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
1098
1093
  */
1099
- parameters?: CreateToolResponseBodyParameters | undefined;
1094
+ parameters?: ResponseBodyParameters | undefined;
1100
1095
  };
1101
1096
 
1102
1097
  /**
@@ -1141,7 +1136,7 @@ export type ResponseBodyFunctionTool = {
1141
1136
  /**
1142
1137
  * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
1143
1138
  */
1144
- status: CreateToolResponseBodyStatus;
1139
+ status: ResponseBodyStatus;
1145
1140
  versionHash?: string | undefined;
1146
1141
  type: "function";
1147
1142
  function: CreateToolResponseBodyFunction;
@@ -1835,10 +1830,9 @@ export function createToolRequestBodyToJSON(
1835
1830
  }
1836
1831
 
1837
1832
  /** @internal */
1838
- export const CreateToolResponseBodyToolsResponse200ApplicationJSONStatus$inboundSchema:
1839
- z.ZodNativeEnum<
1840
- typeof CreateToolResponseBodyToolsResponse200ApplicationJSONStatus
1841
- > = z.nativeEnum(CreateToolResponseBodyToolsResponse200ApplicationJSONStatus);
1833
+ export const CreateToolResponseBodyToolsResponse200Status$inboundSchema:
1834
+ z.ZodNativeEnum<typeof CreateToolResponseBodyToolsResponse200Status> = z
1835
+ .nativeEnum(CreateToolResponseBodyToolsResponse200Status);
1842
1836
 
1843
1837
  /** @internal */
1844
1838
  export const CreateToolResponseBodyToolsResponse200ApplicationJson5Type$inboundSchema:
@@ -1847,8 +1841,8 @@ export const CreateToolResponseBodyToolsResponse200ApplicationJson5Type$inboundS
1847
1841
  > = z.nativeEnum(CreateToolResponseBodyToolsResponse200ApplicationJson5Type);
1848
1842
 
1849
1843
  /** @internal */
1850
- export const CreateToolResponseBodyToolsParameters$inboundSchema: z.ZodType<
1851
- CreateToolResponseBodyToolsParameters,
1844
+ export const CreateToolResponseBodyParameters$inboundSchema: z.ZodType<
1845
+ CreateToolResponseBodyParameters,
1852
1846
  z.ZodTypeDef,
1853
1847
  unknown
1854
1848
  > = collectExtraKeys$(
@@ -1862,14 +1856,13 @@ export const CreateToolResponseBodyToolsParameters$inboundSchema: z.ZodType<
1862
1856
  true,
1863
1857
  );
1864
1858
 
1865
- export function createToolResponseBodyToolsParametersFromJSON(
1859
+ export function createToolResponseBodyParametersFromJSON(
1866
1860
  jsonString: string,
1867
- ): SafeParseResult<CreateToolResponseBodyToolsParameters, SDKValidationError> {
1861
+ ): SafeParseResult<CreateToolResponseBodyParameters, SDKValidationError> {
1868
1862
  return safeParse(
1869
1863
  jsonString,
1870
- (x) =>
1871
- CreateToolResponseBodyToolsParameters$inboundSchema.parse(JSON.parse(x)),
1872
- `Failed to parse 'CreateToolResponseBodyToolsParameters' from JSON`,
1864
+ (x) => CreateToolResponseBodyParameters$inboundSchema.parse(JSON.parse(x)),
1865
+ `Failed to parse 'CreateToolResponseBodyParameters' from JSON`,
1873
1866
  );
1874
1867
  }
1875
1868
 
@@ -1884,7 +1877,7 @@ export const ResponseBodyCodeTool$inboundSchema: z.ZodType<
1884
1877
  z.ZodTypeDef,
1885
1878
  unknown
1886
1879
  > = z.object({
1887
- parameters: z.lazy(() => CreateToolResponseBodyToolsParameters$inboundSchema)
1880
+ parameters: z.lazy(() => CreateToolResponseBodyParameters$inboundSchema)
1888
1881
  .optional(),
1889
1882
  language: ResponseBodyLanguage$inboundSchema,
1890
1883
  code: z.string(),
@@ -1906,7 +1899,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
1906
1899
  z.ZodTypeDef,
1907
1900
  unknown
1908
1901
  > = z.object({
1909
- _id: z.string().default("tool_01KK8GKAYPS4HRRF3C762KCQ8V"),
1902
+ _id: z.string().default("tool_01KK9B05RPQPNYD20VQACN60DF"),
1910
1903
  path: z.string(),
1911
1904
  key: z.string(),
1912
1905
  display_name: z.string().optional(),
@@ -1917,9 +1910,9 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
1917
1910
  workspace_id: z.string(),
1918
1911
  created: z.string(),
1919
1912
  updated: z.string(),
1920
- status:
1921
- CreateToolResponseBodyToolsResponse200ApplicationJSONStatus$inboundSchema
1922
- .default("live"),
1913
+ status: CreateToolResponseBodyToolsResponse200Status$inboundSchema.default(
1914
+ "live",
1915
+ ),
1923
1916
  version_hash: z.string().optional(),
1924
1917
  type: z.literal("code"),
1925
1918
  code_tool: z.lazy(() => ResponseBodyCodeTool$inboundSchema),
@@ -1947,13 +1940,13 @@ export function responseBodyCodeExecutionToolFromJSON(
1947
1940
  }
1948
1941
 
1949
1942
  /** @internal */
1950
- export const CreateToolResponseBodyToolsResponse200Status$inboundSchema:
1951
- z.ZodNativeEnum<typeof CreateToolResponseBodyToolsResponse200Status> = z
1952
- .nativeEnum(CreateToolResponseBodyToolsResponse200Status);
1943
+ export const CreateToolResponseBodyToolsResponseStatus$inboundSchema:
1944
+ z.ZodNativeEnum<typeof CreateToolResponseBodyToolsResponseStatus> = z
1945
+ .nativeEnum(CreateToolResponseBodyToolsResponseStatus);
1953
1946
 
1954
1947
  /** @internal */
1955
- export const CreateToolResponseBodyHeaders$inboundSchema: z.ZodType<
1956
- CreateToolResponseBodyHeaders,
1948
+ export const ResponseBodyHeaders$inboundSchema: z.ZodType<
1949
+ ResponseBodyHeaders,
1957
1950
  z.ZodTypeDef,
1958
1951
  unknown
1959
1952
  > = z.object({
@@ -1961,13 +1954,13 @@ export const CreateToolResponseBodyHeaders$inboundSchema: z.ZodType<
1961
1954
  encrypted: z.boolean().default(false),
1962
1955
  });
1963
1956
 
1964
- export function createToolResponseBodyHeadersFromJSON(
1957
+ export function responseBodyHeadersFromJSON(
1965
1958
  jsonString: string,
1966
- ): SafeParseResult<CreateToolResponseBodyHeaders, SDKValidationError> {
1959
+ ): SafeParseResult<ResponseBodyHeaders, SDKValidationError> {
1967
1960
  return safeParse(
1968
1961
  jsonString,
1969
- (x) => CreateToolResponseBodyHeaders$inboundSchema.parse(JSON.parse(x)),
1970
- `Failed to parse 'CreateToolResponseBodyHeaders' from JSON`,
1962
+ (x) => ResponseBodyHeaders$inboundSchema.parse(JSON.parse(x)),
1963
+ `Failed to parse 'ResponseBodyHeaders' from JSON`,
1971
1964
  );
1972
1965
  }
1973
1966
 
@@ -2000,24 +1993,24 @@ export function createToolResponseBodySchemaFromJSON(
2000
1993
  }
2001
1994
 
2002
1995
  /** @internal */
2003
- export const CreateToolResponseBodyTools$inboundSchema: z.ZodType<
2004
- CreateToolResponseBodyTools,
1996
+ export const ResponseBodyTools$inboundSchema: z.ZodType<
1997
+ ResponseBodyTools,
2005
1998
  z.ZodTypeDef,
2006
1999
  unknown
2007
2000
  > = z.object({
2008
- id: z.string().default("01KK8GKAYNT3AVJNN97C8E2RS9"),
2001
+ id: z.string().default("01KK9B05RM3CDNKAEA0TNHRAV5"),
2009
2002
  name: z.string(),
2010
2003
  description: z.string().optional(),
2011
2004
  schema: z.lazy(() => CreateToolResponseBodySchema$inboundSchema),
2012
2005
  });
2013
2006
 
2014
- export function createToolResponseBodyToolsFromJSON(
2007
+ export function responseBodyToolsFromJSON(
2015
2008
  jsonString: string,
2016
- ): SafeParseResult<CreateToolResponseBodyTools, SDKValidationError> {
2009
+ ): SafeParseResult<ResponseBodyTools, SDKValidationError> {
2017
2010
  return safeParse(
2018
2011
  jsonString,
2019
- (x) => CreateToolResponseBodyTools$inboundSchema.parse(JSON.parse(x)),
2020
- `Failed to parse 'CreateToolResponseBodyTools' from JSON`,
2012
+ (x) => ResponseBodyTools$inboundSchema.parse(JSON.parse(x)),
2013
+ `Failed to parse 'ResponseBodyTools' from JSON`,
2021
2014
  );
2022
2015
  }
2023
2016
 
@@ -2033,9 +2026,8 @@ export const ResponseBodyMcp$inboundSchema: z.ZodType<
2033
2026
  unknown
2034
2027
  > = z.object({
2035
2028
  server_url: z.string(),
2036
- headers: z.record(z.lazy(() => CreateToolResponseBodyHeaders$inboundSchema))
2037
- .optional(),
2038
- tools: z.array(z.lazy(() => CreateToolResponseBodyTools$inboundSchema)),
2029
+ headers: z.record(z.lazy(() => ResponseBodyHeaders$inboundSchema)).optional(),
2030
+ tools: z.array(z.lazy(() => ResponseBodyTools$inboundSchema)),
2039
2031
  connection_type: ResponseBodyConnectionType$inboundSchema,
2040
2032
  }).transform((v) => {
2041
2033
  return remap$(v, {
@@ -2060,7 +2052,7 @@ export const ResponseBodyMCPTool$inboundSchema: z.ZodType<
2060
2052
  z.ZodTypeDef,
2061
2053
  unknown
2062
2054
  > = z.object({
2063
- _id: z.string().default("tool_01KK8GKAYK5PTYHBTJ236462YQ"),
2055
+ _id: z.string().default("tool_01KK9B05RK2JX7Q6THX1NTDB3D"),
2064
2056
  path: z.string(),
2065
2057
  key: z.string(),
2066
2058
  display_name: z.string().optional(),
@@ -2071,7 +2063,7 @@ export const ResponseBodyMCPTool$inboundSchema: z.ZodType<
2071
2063
  workspace_id: z.string(),
2072
2064
  created: z.string(),
2073
2065
  updated: z.string(),
2074
- status: CreateToolResponseBodyToolsResponse200Status$inboundSchema.default(
2066
+ status: CreateToolResponseBodyToolsResponseStatus$inboundSchema.default(
2075
2067
  "live",
2076
2068
  ),
2077
2069
  version_hash: z.string().optional(),
@@ -2100,9 +2092,9 @@ export function responseBodyMCPToolFromJSON(
2100
2092
  }
2101
2093
 
2102
2094
  /** @internal */
2103
- export const CreateToolResponseBodyToolsResponseStatus$inboundSchema:
2104
- z.ZodNativeEnum<typeof CreateToolResponseBodyToolsResponseStatus> = z
2105
- .nativeEnum(CreateToolResponseBodyToolsResponseStatus);
2095
+ export const CreateToolResponseBodyToolsStatus$inboundSchema: z.ZodNativeEnum<
2096
+ typeof CreateToolResponseBodyToolsStatus
2097
+ > = z.nativeEnum(CreateToolResponseBodyToolsStatus);
2106
2098
 
2107
2099
  /** @internal */
2108
2100
  export const CreateToolResponseBodyMethod$inboundSchema: z.ZodNativeEnum<
@@ -2130,20 +2122,19 @@ export function createToolHeadersTools2FromJSON(
2130
2122
  }
2131
2123
 
2132
2124
  /** @internal */
2133
- export const CreateToolResponseBodyToolsHeaders$inboundSchema: z.ZodType<
2134
- CreateToolResponseBodyToolsHeaders,
2125
+ export const CreateToolResponseBodyHeaders$inboundSchema: z.ZodType<
2126
+ CreateToolResponseBodyHeaders,
2135
2127
  z.ZodTypeDef,
2136
2128
  unknown
2137
2129
  > = z.union([z.lazy(() => CreateToolHeadersTools2$inboundSchema), z.string()]);
2138
2130
 
2139
- export function createToolResponseBodyToolsHeadersFromJSON(
2131
+ export function createToolResponseBodyHeadersFromJSON(
2140
2132
  jsonString: string,
2141
- ): SafeParseResult<CreateToolResponseBodyToolsHeaders, SDKValidationError> {
2133
+ ): SafeParseResult<CreateToolResponseBodyHeaders, SDKValidationError> {
2142
2134
  return safeParse(
2143
2135
  jsonString,
2144
- (x) =>
2145
- CreateToolResponseBodyToolsHeaders$inboundSchema.parse(JSON.parse(x)),
2146
- `Failed to parse 'CreateToolResponseBodyToolsHeaders' from JSON`,
2136
+ (x) => CreateToolResponseBodyHeaders$inboundSchema.parse(JSON.parse(x)),
2137
+ `Failed to parse 'CreateToolResponseBodyHeaders' from JSON`,
2147
2138
  );
2148
2139
  }
2149
2140
 
@@ -2249,7 +2240,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
2249
2240
  z.ZodTypeDef,
2250
2241
  unknown
2251
2242
  > = z.object({
2252
- _id: z.string().default("tool_01KK8GKAYGX0SN6X695J6ZR4CA"),
2243
+ _id: z.string().default("tool_01KK9B05RHKSAQ4CNSVZVEJ7S1"),
2253
2244
  path: z.string(),
2254
2245
  key: z.string(),
2255
2246
  display_name: z.string().optional(),
@@ -2260,9 +2251,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
2260
2251
  workspace_id: z.string(),
2261
2252
  created: z.string(),
2262
2253
  updated: z.string(),
2263
- status: CreateToolResponseBodyToolsResponseStatus$inboundSchema.default(
2264
- "live",
2265
- ),
2254
+ status: CreateToolResponseBodyToolsStatus$inboundSchema.default("live"),
2266
2255
  version_hash: z.string().optional(),
2267
2256
  type: z.literal("http"),
2268
2257
  http: z.lazy(() => CreateToolResponseBodyHttp$inboundSchema),
@@ -2289,9 +2278,9 @@ export function responseBodyHTTPToolFromJSON(
2289
2278
  }
2290
2279
 
2291
2280
  /** @internal */
2292
- export const CreateToolResponseBodyToolsStatus$inboundSchema: z.ZodNativeEnum<
2293
- typeof CreateToolResponseBodyToolsStatus
2294
- > = z.nativeEnum(CreateToolResponseBodyToolsStatus);
2281
+ export const CreateToolResponseBodyStatus$inboundSchema: z.ZodNativeEnum<
2282
+ typeof CreateToolResponseBodyStatus
2283
+ > = z.nativeEnum(CreateToolResponseBodyStatus);
2295
2284
 
2296
2285
  /** @internal */
2297
2286
  export const ResponseBodySchema$inboundSchema: z.ZodType<
@@ -2346,7 +2335,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
2346
2335
  z.ZodTypeDef,
2347
2336
  unknown
2348
2337
  > = z.object({
2349
- _id: z.string().default("tool_01KK8GKAYDWFJNMGA9F4698TFE"),
2338
+ _id: z.string().default("tool_01KK9B05RFY2GT7Q08Q3G8ZVSF"),
2350
2339
  path: z.string(),
2351
2340
  key: z.string(),
2352
2341
  display_name: z.string().optional(),
@@ -2357,7 +2346,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
2357
2346
  workspace_id: z.string(),
2358
2347
  created: z.string(),
2359
2348
  updated: z.string(),
2360
- status: CreateToolResponseBodyToolsStatus$inboundSchema.default("live"),
2349
+ status: CreateToolResponseBodyStatus$inboundSchema.default("live"),
2361
2350
  version_hash: z.string().optional(),
2362
2351
  type: z.literal("json_schema"),
2363
2352
  json_schema: z.lazy(() => ResponseBodyJsonSchema$inboundSchema),
@@ -2385,9 +2374,9 @@ export function responseBodyJSONSchemaToolFromJSON(
2385
2374
  }
2386
2375
 
2387
2376
  /** @internal */
2388
- export const CreateToolResponseBodyStatus$inboundSchema: z.ZodNativeEnum<
2389
- typeof CreateToolResponseBodyStatus
2390
- > = z.nativeEnum(CreateToolResponseBodyStatus);
2377
+ export const ResponseBodyStatus$inboundSchema: z.ZodNativeEnum<
2378
+ typeof ResponseBodyStatus
2379
+ > = z.nativeEnum(ResponseBodyStatus);
2391
2380
 
2392
2381
  /** @internal */
2393
2382
  export const CreateToolResponseBodyToolsResponse200ApplicationJson1Type$inboundSchema:
@@ -2396,8 +2385,8 @@ export const CreateToolResponseBodyToolsResponse200ApplicationJson1Type$inboundS
2396
2385
  > = z.nativeEnum(CreateToolResponseBodyToolsResponse200ApplicationJson1Type);
2397
2386
 
2398
2387
  /** @internal */
2399
- export const CreateToolResponseBodyParameters$inboundSchema: z.ZodType<
2400
- CreateToolResponseBodyParameters,
2388
+ export const ResponseBodyParameters$inboundSchema: z.ZodType<
2389
+ ResponseBodyParameters,
2401
2390
  z.ZodTypeDef,
2402
2391
  unknown
2403
2392
  > = collectExtraKeys$(
@@ -2411,13 +2400,13 @@ export const CreateToolResponseBodyParameters$inboundSchema: z.ZodType<
2411
2400
  true,
2412
2401
  );
2413
2402
 
2414
- export function createToolResponseBodyParametersFromJSON(
2403
+ export function responseBodyParametersFromJSON(
2415
2404
  jsonString: string,
2416
- ): SafeParseResult<CreateToolResponseBodyParameters, SDKValidationError> {
2405
+ ): SafeParseResult<ResponseBodyParameters, SDKValidationError> {
2417
2406
  return safeParse(
2418
2407
  jsonString,
2419
- (x) => CreateToolResponseBodyParameters$inboundSchema.parse(JSON.parse(x)),
2420
- `Failed to parse 'CreateToolResponseBodyParameters' from JSON`,
2408
+ (x) => ResponseBodyParameters$inboundSchema.parse(JSON.parse(x)),
2409
+ `Failed to parse 'ResponseBodyParameters' from JSON`,
2421
2410
  );
2422
2411
  }
2423
2412
 
@@ -2430,8 +2419,7 @@ export const CreateToolResponseBodyFunction$inboundSchema: z.ZodType<
2430
2419
  name: z.string(),
2431
2420
  description: z.string().optional(),
2432
2421
  strict: z.boolean().optional(),
2433
- parameters: z.lazy(() => CreateToolResponseBodyParameters$inboundSchema)
2434
- .optional(),
2422
+ parameters: z.lazy(() => ResponseBodyParameters$inboundSchema).optional(),
2435
2423
  });
2436
2424
 
2437
2425
  export function createToolResponseBodyFunctionFromJSON(
@@ -2450,7 +2438,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
2450
2438
  z.ZodTypeDef,
2451
2439
  unknown
2452
2440
  > = z.object({
2453
- _id: z.string().default("tool_01KK8GKAYBJGCDS9YX46XJS27R"),
2441
+ _id: z.string().default("tool_01KK9B05RECWK6ZSJF2C5WMRFF"),
2454
2442
  path: z.string(),
2455
2443
  key: z.string(),
2456
2444
  display_name: z.string().optional(),
@@ -2461,7 +2449,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
2461
2449
  workspace_id: z.string(),
2462
2450
  created: z.string(),
2463
2451
  updated: z.string(),
2464
- status: CreateToolResponseBodyStatus$inboundSchema.default("live"),
2452
+ status: ResponseBodyStatus$inboundSchema.default("live"),
2465
2453
  version_hash: z.string().optional(),
2466
2454
  type: z.literal("function"),
2467
2455
  function: z.lazy(() => CreateToolResponseBodyFunction$inboundSchema),
@@ -94,7 +94,7 @@ export const FileGetResponseBody$inboundSchema: z.ZodType<
94
94
  file_name: z.string(),
95
95
  workspace_id: z.string(),
96
96
  created: z.string().datetime({ offset: true }).default(
97
- "2026-03-09T05:19:45.674Z",
97
+ "2026-03-09T13:01:09.719Z",
98
98
  ).transform(v => new Date(v)),
99
99
  }).transform((v) => {
100
100
  return remap$(v, {
@@ -125,7 +125,7 @@ export const FileListData$inboundSchema: z.ZodType<
125
125
  file_name: z.string(),
126
126
  workspace_id: z.string(),
127
127
  created: z.string().datetime({ offset: true }).default(
128
- "2026-03-09T05:19:45.674Z",
128
+ "2026-03-09T13:01:09.719Z",
129
129
  ).transform(v => new Date(v)),
130
130
  }).transform((v) => {
131
131
  return remap$(v, {
@@ -148,7 +148,7 @@ export const FileUploadResponseBody$inboundSchema: z.ZodType<
148
148
  file_name: z.string(),
149
149
  workspace_id: z.string(),
150
150
  created: z.string().datetime({ offset: true }).default(
151
- "2026-03-09T05:19:45.674Z",
151
+ "2026-03-09T13:01:09.719Z",
152
152
  ).transform(v => new Date(v)),
153
153
  }).transform((v) => {
154
154
  return remap$(v, {