@orq-ai/node 4.0.0-rc.45 → 4.0.0-rc.48

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 (188) hide show
  1. package/bin/mcp-server.js +764 -1540
  2. package/bin/mcp-server.js.map +58 -58
  3. package/docs/sdks/agents/README.md +4 -6
  4. package/examples/package-lock.json +1 -1
  5. package/funcs/agentsDuplicate.d.ts +1 -1
  6. package/funcs/agentsDuplicate.js +5 -4
  7. package/funcs/agentsDuplicate.js.map +1 -1
  8. package/jsr.json +1 -1
  9. package/lib/config.d.ts +2 -2
  10. package/lib/config.js +2 -2
  11. package/mcp-server/mcp-server.js +1 -1
  12. package/mcp-server/server.js +1 -1
  13. package/mcp-server/tools/agentsDuplicate.js +1 -1
  14. package/mcp-server/tools/agentsDuplicate.js.map +1 -1
  15. package/models/operations/createagent.d.ts +90 -10
  16. package/models/operations/createagent.d.ts.map +1 -1
  17. package/models/operations/createagent.js +87 -20
  18. package/models/operations/createagent.js.map +1 -1
  19. package/models/operations/createbudget.js +2 -2
  20. package/models/operations/createcontact.js +2 -2
  21. package/models/operations/createdataset.js +2 -2
  22. package/models/operations/createdatasetitem.js +8 -8
  23. package/models/operations/createdatasource.js +2 -2
  24. package/models/operations/createeval.d.ts +106 -106
  25. package/models/operations/createeval.d.ts.map +1 -1
  26. package/models/operations/createeval.js +242 -234
  27. package/models/operations/createeval.js.map +1 -1
  28. package/models/operations/creatememorystore.d.ts +10 -391
  29. package/models/operations/creatememorystore.d.ts.map +1 -1
  30. package/models/operations/creatememorystore.js +5 -565
  31. package/models/operations/creatememorystore.js.map +1 -1
  32. package/models/operations/createprompt.d.ts +40 -0
  33. package/models/operations/createprompt.d.ts.map +1 -1
  34. package/models/operations/createprompt.js +33 -7
  35. package/models/operations/createprompt.js.map +1 -1
  36. package/models/operations/createtool.js +12 -12
  37. package/models/operations/deploymentgetconfig.d.ts +20 -0
  38. package/models/operations/deploymentgetconfig.d.ts.map +1 -1
  39. package/models/operations/deploymentgetconfig.js +22 -8
  40. package/models/operations/deploymentgetconfig.js.map +1 -1
  41. package/models/operations/deployments.d.ts +20 -0
  42. package/models/operations/deployments.d.ts.map +1 -1
  43. package/models/operations/deployments.js +16 -3
  44. package/models/operations/deployments.js.map +1 -1
  45. package/models/operations/duplicateagent.d.ts +66 -3
  46. package/models/operations/duplicateagent.d.ts.map +1 -1
  47. package/models/operations/duplicateagent.js +77 -5
  48. package/models/operations/duplicateagent.js.map +1 -1
  49. package/models/operations/duplicatetool.js +12 -12
  50. package/models/operations/fileget.js +2 -2
  51. package/models/operations/filelist.js +2 -2
  52. package/models/operations/fileupload.js +2 -2
  53. package/models/operations/getagent.d.ts +40 -0
  54. package/models/operations/getagent.d.ts.map +1 -1
  55. package/models/operations/getagent.js +36 -3
  56. package/models/operations/getagent.js.map +1 -1
  57. package/models/operations/getallmemorystores.d.ts +5 -195
  58. package/models/operations/getallmemorystores.d.ts.map +1 -1
  59. package/models/operations/getallmemorystores.js +3 -273
  60. package/models/operations/getallmemorystores.js.map +1 -1
  61. package/models/operations/getallprompts.d.ts +20 -0
  62. package/models/operations/getallprompts.d.ts.map +1 -1
  63. package/models/operations/getallprompts.js +16 -3
  64. package/models/operations/getallprompts.js.map +1 -1
  65. package/models/operations/getalltools.js +12 -12
  66. package/models/operations/getbudget.js +2 -2
  67. package/models/operations/getevals.js +28 -28
  68. package/models/operations/getoneprompt.d.ts +20 -0
  69. package/models/operations/getoneprompt.d.ts.map +1 -1
  70. package/models/operations/getoneprompt.js +16 -3
  71. package/models/operations/getoneprompt.js.map +1 -1
  72. package/models/operations/getpromptversion.d.ts +20 -0
  73. package/models/operations/getpromptversion.d.ts.map +1 -1
  74. package/models/operations/getpromptversion.js +16 -2
  75. package/models/operations/getpromptversion.js.map +1 -1
  76. package/models/operations/listagents.d.ts +40 -0
  77. package/models/operations/listagents.d.ts.map +1 -1
  78. package/models/operations/listagents.js +37 -4
  79. package/models/operations/listagents.js.map +1 -1
  80. package/models/operations/listbudgets.js +2 -2
  81. package/models/operations/listcontacts.js +2 -2
  82. package/models/operations/listdatasetdatapoints.js +8 -8
  83. package/models/operations/listdatasets.js +2 -2
  84. package/models/operations/listdatasources.d.ts +5 -5
  85. package/models/operations/listdatasources.d.ts.map +1 -1
  86. package/models/operations/listdatasources.js +4 -4
  87. package/models/operations/listdatasources.js.map +1 -1
  88. package/models/operations/listpromptversions.d.ts +20 -0
  89. package/models/operations/listpromptversions.d.ts.map +1 -1
  90. package/models/operations/listpromptversions.js +16 -3
  91. package/models/operations/listpromptversions.js.map +1 -1
  92. package/models/operations/retrievecontact.js +2 -2
  93. package/models/operations/retrievedatapoint.js +8 -8
  94. package/models/operations/retrievedataset.js +2 -2
  95. package/models/operations/retrievedatasource.js +2 -2
  96. package/models/operations/retrievememorystore.d.ts +5 -196
  97. package/models/operations/retrievememorystore.d.ts.map +1 -1
  98. package/models/operations/retrievememorystore.js +3 -273
  99. package/models/operations/retrievememorystore.js.map +1 -1
  100. package/models/operations/retrievetool.js +12 -12
  101. package/models/operations/runagent.d.ts +40 -0
  102. package/models/operations/runagent.d.ts.map +1 -1
  103. package/models/operations/runagent.js +45 -10
  104. package/models/operations/runagent.js.map +1 -1
  105. package/models/operations/streamrunagent.d.ts +40 -0
  106. package/models/operations/streamrunagent.d.ts.map +1 -1
  107. package/models/operations/streamrunagent.js +44 -9
  108. package/models/operations/streamrunagent.js.map +1 -1
  109. package/models/operations/syncmcptool.js +12 -12
  110. package/models/operations/updateagent.d.ts +80 -0
  111. package/models/operations/updateagent.d.ts.map +1 -1
  112. package/models/operations/updateagent.js +73 -8
  113. package/models/operations/updateagent.js.map +1 -1
  114. package/models/operations/updatebudget.js +2 -2
  115. package/models/operations/updatecontact.js +2 -2
  116. package/models/operations/updatedatapoint.js +8 -8
  117. package/models/operations/updatedataset.js +2 -2
  118. package/models/operations/updatedatasource.js +2 -2
  119. package/models/operations/updateeval.js +28 -28
  120. package/models/operations/updatememorystore.d.ts +5 -195
  121. package/models/operations/updatememorystore.d.ts.map +1 -1
  122. package/models/operations/updatememorystore.js +3 -290
  123. package/models/operations/updatememorystore.js.map +1 -1
  124. package/models/operations/updateprompt.d.ts +40 -0
  125. package/models/operations/updateprompt.d.ts.map +1 -1
  126. package/models/operations/updateprompt.js +33 -7
  127. package/models/operations/updateprompt.js.map +1 -1
  128. package/models/operations/updatetool.js +14 -14
  129. package/package.json +1 -1
  130. package/sdk/agents.d.ts +1 -1
  131. package/sdk/agents.js +1 -1
  132. package/src/funcs/agentsDuplicate.ts +6 -5
  133. package/src/lib/config.ts +2 -2
  134. package/src/mcp-server/mcp-server.ts +1 -1
  135. package/src/mcp-server/server.ts +1 -1
  136. package/src/mcp-server/tools/agentsDuplicate.ts +1 -1
  137. package/src/models/operations/createagent.ts +170 -43
  138. package/src/models/operations/createbudget.ts +2 -2
  139. package/src/models/operations/createcontact.ts +2 -2
  140. package/src/models/operations/createdataset.ts +2 -2
  141. package/src/models/operations/createdatasetitem.ts +8 -8
  142. package/src/models/operations/createdatasource.ts +2 -2
  143. package/src/models/operations/createeval.ts +423 -524
  144. package/src/models/operations/creatememorystore.ts +14 -1094
  145. package/src/models/operations/createprompt.ts +60 -0
  146. package/src/models/operations/createtool.ts +12 -12
  147. package/src/models/operations/deploymentgetconfig.ts +30 -0
  148. package/src/models/operations/deployments.ts +30 -0
  149. package/src/models/operations/duplicateagent.ts +153 -5
  150. package/src/models/operations/duplicatetool.ts +12 -12
  151. package/src/models/operations/fileget.ts +2 -2
  152. package/src/models/operations/filelist.ts +2 -2
  153. package/src/models/operations/fileupload.ts +2 -2
  154. package/src/models/operations/getagent.ts +65 -0
  155. package/src/models/operations/getallmemorystores.ts +7 -595
  156. package/src/models/operations/getallprompts.ts +30 -0
  157. package/src/models/operations/getalltools.ts +12 -12
  158. package/src/models/operations/getbudget.ts +2 -2
  159. package/src/models/operations/getevals.ts +28 -28
  160. package/src/models/operations/getoneprompt.ts +30 -0
  161. package/src/models/operations/getpromptversion.ts +30 -0
  162. package/src/models/operations/listagents.ts +68 -0
  163. package/src/models/operations/listbudgets.ts +2 -2
  164. package/src/models/operations/listcontacts.ts +2 -2
  165. package/src/models/operations/listdatasetdatapoints.ts +8 -8
  166. package/src/models/operations/listdatasets.ts +2 -2
  167. package/src/models/operations/listdatasources.ts +9 -9
  168. package/src/models/operations/listpromptversions.ts +30 -0
  169. package/src/models/operations/retrievecontact.ts +2 -2
  170. package/src/models/operations/retrievedatapoint.ts +8 -8
  171. package/src/models/operations/retrievedataset.ts +2 -2
  172. package/src/models/operations/retrievedatasource.ts +2 -2
  173. package/src/models/operations/retrievememorystore.ts +7 -596
  174. package/src/models/operations/retrievetool.ts +12 -12
  175. package/src/models/operations/runagent.ts +71 -2
  176. package/src/models/operations/streamrunagent.ts +76 -2
  177. package/src/models/operations/syncmcptool.ts +12 -12
  178. package/src/models/operations/updateagent.ts +141 -0
  179. package/src/models/operations/updatebudget.ts +2 -2
  180. package/src/models/operations/updatecontact.ts +2 -2
  181. package/src/models/operations/updatedatapoint.ts +8 -8
  182. package/src/models/operations/updatedataset.ts +2 -2
  183. package/src/models/operations/updatedatasource.ts +2 -2
  184. package/src/models/operations/updateeval.ts +28 -28
  185. package/src/models/operations/updatememorystore.ts +7 -527
  186. package/src/models/operations/updateprompt.ts +60 -0
  187. package/src/models/operations/updatetool.ts +14 -14
  188. package/src/sdk/agents.ts +1 -1
@@ -9,183 +9,11 @@ import { ClosedEnum } from "../../types/enums.js";
9
9
  import { Result as SafeParseResult } from "../../types/fp.js";
10
10
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
11
 
12
- export const Model23 = {
13
- JinaJinaEmbeddingsV3: "jina/jina-embeddings-v3",
14
- } as const;
15
- export type Model23 = ClosedEnum<typeof Model23>;
16
-
17
- export const Model22 = {
18
- JinaJinaClipV2: "jina/jina-clip-v2",
19
- } as const;
20
- export type Model22 = ClosedEnum<typeof Model22>;
21
-
22
- export const Model21 = {
23
- JinaJinaEmbeddingsV2BaseDe: "jina/jina-embeddings-v2-base-de",
24
- } as const;
25
- export type Model21 = ClosedEnum<typeof Model21>;
26
-
27
- export const Model20 = {
28
- JinaJinaEmbeddingsV2BaseCode: "jina/jina-embeddings-v2-base-code",
29
- } as const;
30
- export type Model20 = ClosedEnum<typeof Model20>;
31
-
32
- export const Model19 = {
33
- JinaJinaEmbeddingsV2BaseZh: "jina/jina-embeddings-v2-base-zh",
34
- } as const;
35
- export type Model19 = ClosedEnum<typeof Model19>;
36
-
37
- export const Model18 = {
38
- JinaJinaEmbeddingsV2BaseEn: "jina/jina-embeddings-v2-base-en",
39
- } as const;
40
- export type Model18 = ClosedEnum<typeof Model18>;
41
-
42
- export const Model17 = {
43
- JinaJinaEmbeddingsV2BaseEs: "jina/jina-embeddings-v2-base-es",
44
- } as const;
45
- export type Model17 = ClosedEnum<typeof Model17>;
46
-
47
- export const Model16 = {
48
- JinaJinaClipV1: "jina/jina-clip-v1",
49
- } as const;
50
- export type Model16 = ClosedEnum<typeof Model16>;
51
-
52
- export const Model15 = {
53
- MistralMistralEmbed: "mistral/mistral-embed",
54
- } as const;
55
- export type Model15 = ClosedEnum<typeof Model15>;
56
-
57
- export const Model14 = {
58
- GoogleAiTextEmbedding004: "google-ai/text-embedding-004",
59
- } as const;
60
- export type Model14 = ClosedEnum<typeof Model14>;
61
-
62
- export const Model13 = {
63
- GoogleMultimodalembeddingAt001: "google/multimodalembedding@001",
64
- } as const;
65
- export type Model13 = ClosedEnum<typeof Model13>;
66
-
67
- export const Model12 = {
68
- GoogleTextMultilingualEmbedding002: "google/text-multilingual-embedding-002",
69
- } as const;
70
- export type Model12 = ClosedEnum<typeof Model12>;
71
-
72
- export const Model11 = {
73
- GoogleGeminiEmbedding001: "google/gemini-embedding-001",
74
- } as const;
75
- export type Model11 = ClosedEnum<typeof Model11>;
76
-
77
- export const Model10 = {
78
- OpenaiTextEmbeddingAda002: "openai/text-embedding-ada-002",
79
- } as const;
80
- export type Model10 = ClosedEnum<typeof Model10>;
81
-
82
- export const Model9 = {
83
- OpenaiTextEmbedding3Small: "openai/text-embedding-3-small",
84
- } as const;
85
- export type Model9 = ClosedEnum<typeof Model9>;
86
-
87
- export const Model8 = {
88
- OpenaiTextEmbedding3Large: "openai/text-embedding-3-large",
89
- } as const;
90
- export type Model8 = ClosedEnum<typeof Model8>;
91
-
92
- export const Model7 = {
93
- AzureTextEmbedding3Small: "azure/text-embedding-3-small",
94
- } as const;
95
- export type Model7 = ClosedEnum<typeof Model7>;
96
-
97
- export const UpdateMemoryStoreModel6 = {
98
- AzureTextEmbeddingAda002: "azure/text-embedding-ada-002",
99
- } as const;
100
- export type UpdateMemoryStoreModel6 = ClosedEnum<
101
- typeof UpdateMemoryStoreModel6
102
- >;
103
-
104
- export const UpdateMemoryStoreModel5 = {
105
- CohereEmbedV40: "cohere/embed-v4.0",
106
- } as const;
107
- export type UpdateMemoryStoreModel5 = ClosedEnum<
108
- typeof UpdateMemoryStoreModel5
109
- >;
110
-
111
- export const UpdateMemoryStoreModel4 = {
112
- CohereEmbedEnglishV30: "cohere/embed-english-v3.0",
113
- } as const;
114
- export type UpdateMemoryStoreModel4 = ClosedEnum<
115
- typeof UpdateMemoryStoreModel4
116
- >;
117
-
118
- export const UpdateMemoryStoreModel3 = {
119
- CohereEmbedEnglishLightV30: "cohere/embed-english-light-v3.0",
120
- } as const;
121
- export type UpdateMemoryStoreModel3 = ClosedEnum<
122
- typeof UpdateMemoryStoreModel3
123
- >;
124
-
125
- export const UpdateMemoryStoreModel2 = {
126
- CohereEmbedMultilingualLightV30: "cohere/embed-multilingual-light-v3.0",
127
- } as const;
128
- export type UpdateMemoryStoreModel2 = ClosedEnum<
129
- typeof UpdateMemoryStoreModel2
130
- >;
131
-
132
- export const UpdateMemoryStoreModel1 = {
133
- CohereEmbedMultilingualV30: "cohere/embed-multilingual-v3.0",
134
- } as const;
135
- export type UpdateMemoryStoreModel1 = ClosedEnum<
136
- typeof UpdateMemoryStoreModel1
137
- >;
138
-
139
- export type UpdateMemoryStoreModel =
140
- | UpdateMemoryStoreModel1
141
- | UpdateMemoryStoreModel2
142
- | UpdateMemoryStoreModel3
143
- | UpdateMemoryStoreModel4
144
- | UpdateMemoryStoreModel5
145
- | UpdateMemoryStoreModel6
146
- | Model7
147
- | Model8
148
- | Model9
149
- | Model10
150
- | Model11
151
- | Model12
152
- | Model13
153
- | Model14
154
- | Model15
155
- | Model16
156
- | Model17
157
- | Model18
158
- | Model19
159
- | Model20
160
- | Model21
161
- | Model22
162
- | Model23;
163
-
164
12
  export type UpdateMemoryStoreEmbeddingConfig = {
165
- model:
166
- | UpdateMemoryStoreModel1
167
- | UpdateMemoryStoreModel2
168
- | UpdateMemoryStoreModel3
169
- | UpdateMemoryStoreModel4
170
- | UpdateMemoryStoreModel5
171
- | UpdateMemoryStoreModel6
172
- | Model7
173
- | Model8
174
- | Model9
175
- | Model10
176
- | Model11
177
- | Model12
178
- | Model13
179
- | Model14
180
- | Model15
181
- | Model16
182
- | Model17
183
- | Model18
184
- | Model19
185
- | Model20
186
- | Model21
187
- | Model22
188
- | Model23;
13
+ /**
14
+ * The embeddings model to use for the knowledge base in the format "provider/model" for public models or "workspaceKey@provider/model" for private workspace models. This model will be used to embed the chunks when they are added to the knowledge base. Refer to the (Supported models)[/docs/proxy/supported-models] to browse available models.
15
+ */
16
+ model: string;
189
17
  };
190
18
 
191
19
  export type UpdateMemoryStoreRequestBody = {
@@ -309,341 +137,17 @@ export type UpdateMemoryStoreResponseBody = {
309
137
  embeddingConfig: UpdateMemoryStoreMemoryStoresEmbeddingConfig;
310
138
  };
311
139
 
312
- /** @internal */
313
- export const Model23$inboundSchema: z.ZodNativeEnum<typeof Model23> = z
314
- .nativeEnum(Model23);
315
- /** @internal */
316
- export const Model23$outboundSchema: z.ZodNativeEnum<typeof Model23> =
317
- Model23$inboundSchema;
318
-
319
- /** @internal */
320
- export const Model22$inboundSchema: z.ZodNativeEnum<typeof Model22> = z
321
- .nativeEnum(Model22);
322
- /** @internal */
323
- export const Model22$outboundSchema: z.ZodNativeEnum<typeof Model22> =
324
- Model22$inboundSchema;
325
-
326
- /** @internal */
327
- export const Model21$inboundSchema: z.ZodNativeEnum<typeof Model21> = z
328
- .nativeEnum(Model21);
329
- /** @internal */
330
- export const Model21$outboundSchema: z.ZodNativeEnum<typeof Model21> =
331
- Model21$inboundSchema;
332
-
333
- /** @internal */
334
- export const Model20$inboundSchema: z.ZodNativeEnum<typeof Model20> = z
335
- .nativeEnum(Model20);
336
- /** @internal */
337
- export const Model20$outboundSchema: z.ZodNativeEnum<typeof Model20> =
338
- Model20$inboundSchema;
339
-
340
- /** @internal */
341
- export const Model19$inboundSchema: z.ZodNativeEnum<typeof Model19> = z
342
- .nativeEnum(Model19);
343
- /** @internal */
344
- export const Model19$outboundSchema: z.ZodNativeEnum<typeof Model19> =
345
- Model19$inboundSchema;
346
-
347
- /** @internal */
348
- export const Model18$inboundSchema: z.ZodNativeEnum<typeof Model18> = z
349
- .nativeEnum(Model18);
350
- /** @internal */
351
- export const Model18$outboundSchema: z.ZodNativeEnum<typeof Model18> =
352
- Model18$inboundSchema;
353
-
354
- /** @internal */
355
- export const Model17$inboundSchema: z.ZodNativeEnum<typeof Model17> = z
356
- .nativeEnum(Model17);
357
- /** @internal */
358
- export const Model17$outboundSchema: z.ZodNativeEnum<typeof Model17> =
359
- Model17$inboundSchema;
360
-
361
- /** @internal */
362
- export const Model16$inboundSchema: z.ZodNativeEnum<typeof Model16> = z
363
- .nativeEnum(Model16);
364
- /** @internal */
365
- export const Model16$outboundSchema: z.ZodNativeEnum<typeof Model16> =
366
- Model16$inboundSchema;
367
-
368
- /** @internal */
369
- export const Model15$inboundSchema: z.ZodNativeEnum<typeof Model15> = z
370
- .nativeEnum(Model15);
371
- /** @internal */
372
- export const Model15$outboundSchema: z.ZodNativeEnum<typeof Model15> =
373
- Model15$inboundSchema;
374
-
375
- /** @internal */
376
- export const Model14$inboundSchema: z.ZodNativeEnum<typeof Model14> = z
377
- .nativeEnum(Model14);
378
- /** @internal */
379
- export const Model14$outboundSchema: z.ZodNativeEnum<typeof Model14> =
380
- Model14$inboundSchema;
381
-
382
- /** @internal */
383
- export const Model13$inboundSchema: z.ZodNativeEnum<typeof Model13> = z
384
- .nativeEnum(Model13);
385
- /** @internal */
386
- export const Model13$outboundSchema: z.ZodNativeEnum<typeof Model13> =
387
- Model13$inboundSchema;
388
-
389
- /** @internal */
390
- export const Model12$inboundSchema: z.ZodNativeEnum<typeof Model12> = z
391
- .nativeEnum(Model12);
392
- /** @internal */
393
- export const Model12$outboundSchema: z.ZodNativeEnum<typeof Model12> =
394
- Model12$inboundSchema;
395
-
396
- /** @internal */
397
- export const Model11$inboundSchema: z.ZodNativeEnum<typeof Model11> = z
398
- .nativeEnum(Model11);
399
- /** @internal */
400
- export const Model11$outboundSchema: z.ZodNativeEnum<typeof Model11> =
401
- Model11$inboundSchema;
402
-
403
- /** @internal */
404
- export const Model10$inboundSchema: z.ZodNativeEnum<typeof Model10> = z
405
- .nativeEnum(Model10);
406
- /** @internal */
407
- export const Model10$outboundSchema: z.ZodNativeEnum<typeof Model10> =
408
- Model10$inboundSchema;
409
-
410
- /** @internal */
411
- export const Model9$inboundSchema: z.ZodNativeEnum<typeof Model9> = z
412
- .nativeEnum(Model9);
413
- /** @internal */
414
- export const Model9$outboundSchema: z.ZodNativeEnum<typeof Model9> =
415
- Model9$inboundSchema;
416
-
417
- /** @internal */
418
- export const Model8$inboundSchema: z.ZodNativeEnum<typeof Model8> = z
419
- .nativeEnum(Model8);
420
- /** @internal */
421
- export const Model8$outboundSchema: z.ZodNativeEnum<typeof Model8> =
422
- Model8$inboundSchema;
423
-
424
- /** @internal */
425
- export const Model7$inboundSchema: z.ZodNativeEnum<typeof Model7> = z
426
- .nativeEnum(Model7);
427
- /** @internal */
428
- export const Model7$outboundSchema: z.ZodNativeEnum<typeof Model7> =
429
- Model7$inboundSchema;
430
-
431
- /** @internal */
432
- export const UpdateMemoryStoreModel6$inboundSchema: z.ZodNativeEnum<
433
- typeof UpdateMemoryStoreModel6
434
- > = z.nativeEnum(UpdateMemoryStoreModel6);
435
- /** @internal */
436
- export const UpdateMemoryStoreModel6$outboundSchema: z.ZodNativeEnum<
437
- typeof UpdateMemoryStoreModel6
438
- > = UpdateMemoryStoreModel6$inboundSchema;
439
-
440
- /** @internal */
441
- export const UpdateMemoryStoreModel5$inboundSchema: z.ZodNativeEnum<
442
- typeof UpdateMemoryStoreModel5
443
- > = z.nativeEnum(UpdateMemoryStoreModel5);
444
- /** @internal */
445
- export const UpdateMemoryStoreModel5$outboundSchema: z.ZodNativeEnum<
446
- typeof UpdateMemoryStoreModel5
447
- > = UpdateMemoryStoreModel5$inboundSchema;
448
-
449
- /** @internal */
450
- export const UpdateMemoryStoreModel4$inboundSchema: z.ZodNativeEnum<
451
- typeof UpdateMemoryStoreModel4
452
- > = z.nativeEnum(UpdateMemoryStoreModel4);
453
- /** @internal */
454
- export const UpdateMemoryStoreModel4$outboundSchema: z.ZodNativeEnum<
455
- typeof UpdateMemoryStoreModel4
456
- > = UpdateMemoryStoreModel4$inboundSchema;
457
-
458
- /** @internal */
459
- export const UpdateMemoryStoreModel3$inboundSchema: z.ZodNativeEnum<
460
- typeof UpdateMemoryStoreModel3
461
- > = z.nativeEnum(UpdateMemoryStoreModel3);
462
- /** @internal */
463
- export const UpdateMemoryStoreModel3$outboundSchema: z.ZodNativeEnum<
464
- typeof UpdateMemoryStoreModel3
465
- > = UpdateMemoryStoreModel3$inboundSchema;
466
-
467
- /** @internal */
468
- export const UpdateMemoryStoreModel2$inboundSchema: z.ZodNativeEnum<
469
- typeof UpdateMemoryStoreModel2
470
- > = z.nativeEnum(UpdateMemoryStoreModel2);
471
- /** @internal */
472
- export const UpdateMemoryStoreModel2$outboundSchema: z.ZodNativeEnum<
473
- typeof UpdateMemoryStoreModel2
474
- > = UpdateMemoryStoreModel2$inboundSchema;
475
-
476
- /** @internal */
477
- export const UpdateMemoryStoreModel1$inboundSchema: z.ZodNativeEnum<
478
- typeof UpdateMemoryStoreModel1
479
- > = z.nativeEnum(UpdateMemoryStoreModel1);
480
- /** @internal */
481
- export const UpdateMemoryStoreModel1$outboundSchema: z.ZodNativeEnum<
482
- typeof UpdateMemoryStoreModel1
483
- > = UpdateMemoryStoreModel1$inboundSchema;
484
-
485
- /** @internal */
486
- export const UpdateMemoryStoreModel$inboundSchema: z.ZodType<
487
- UpdateMemoryStoreModel,
488
- z.ZodTypeDef,
489
- unknown
490
- > = z.union([
491
- UpdateMemoryStoreModel1$inboundSchema,
492
- UpdateMemoryStoreModel2$inboundSchema,
493
- UpdateMemoryStoreModel3$inboundSchema,
494
- UpdateMemoryStoreModel4$inboundSchema,
495
- UpdateMemoryStoreModel5$inboundSchema,
496
- UpdateMemoryStoreModel6$inboundSchema,
497
- Model7$inboundSchema,
498
- Model8$inboundSchema,
499
- Model9$inboundSchema,
500
- Model10$inboundSchema,
501
- Model11$inboundSchema,
502
- Model12$inboundSchema,
503
- Model13$inboundSchema,
504
- Model14$inboundSchema,
505
- Model15$inboundSchema,
506
- Model16$inboundSchema,
507
- Model17$inboundSchema,
508
- Model18$inboundSchema,
509
- Model19$inboundSchema,
510
- Model20$inboundSchema,
511
- Model21$inboundSchema,
512
- Model22$inboundSchema,
513
- Model23$inboundSchema,
514
- ]);
515
- /** @internal */
516
- export type UpdateMemoryStoreModel$Outbound =
517
- | string
518
- | string
519
- | string
520
- | string
521
- | string
522
- | string
523
- | string
524
- | string
525
- | string
526
- | string
527
- | string
528
- | string
529
- | string
530
- | string
531
- | string
532
- | string
533
- | string
534
- | string
535
- | string
536
- | string
537
- | string
538
- | string
539
- | string;
540
-
541
- /** @internal */
542
- export const UpdateMemoryStoreModel$outboundSchema: z.ZodType<
543
- UpdateMemoryStoreModel$Outbound,
544
- z.ZodTypeDef,
545
- UpdateMemoryStoreModel
546
- > = z.union([
547
- UpdateMemoryStoreModel1$outboundSchema,
548
- UpdateMemoryStoreModel2$outboundSchema,
549
- UpdateMemoryStoreModel3$outboundSchema,
550
- UpdateMemoryStoreModel4$outboundSchema,
551
- UpdateMemoryStoreModel5$outboundSchema,
552
- UpdateMemoryStoreModel6$outboundSchema,
553
- Model7$outboundSchema,
554
- Model8$outboundSchema,
555
- Model9$outboundSchema,
556
- Model10$outboundSchema,
557
- Model11$outboundSchema,
558
- Model12$outboundSchema,
559
- Model13$outboundSchema,
560
- Model14$outboundSchema,
561
- Model15$outboundSchema,
562
- Model16$outboundSchema,
563
- Model17$outboundSchema,
564
- Model18$outboundSchema,
565
- Model19$outboundSchema,
566
- Model20$outboundSchema,
567
- Model21$outboundSchema,
568
- Model22$outboundSchema,
569
- Model23$outboundSchema,
570
- ]);
571
-
572
- export function updateMemoryStoreModelToJSON(
573
- updateMemoryStoreModel: UpdateMemoryStoreModel,
574
- ): string {
575
- return JSON.stringify(
576
- UpdateMemoryStoreModel$outboundSchema.parse(updateMemoryStoreModel),
577
- );
578
- }
579
- export function updateMemoryStoreModelFromJSON(
580
- jsonString: string,
581
- ): SafeParseResult<UpdateMemoryStoreModel, SDKValidationError> {
582
- return safeParse(
583
- jsonString,
584
- (x) => UpdateMemoryStoreModel$inboundSchema.parse(JSON.parse(x)),
585
- `Failed to parse 'UpdateMemoryStoreModel' from JSON`,
586
- );
587
- }
588
-
589
140
  /** @internal */
590
141
  export const UpdateMemoryStoreEmbeddingConfig$inboundSchema: z.ZodType<
591
142
  UpdateMemoryStoreEmbeddingConfig,
592
143
  z.ZodTypeDef,
593
144
  unknown
594
145
  > = z.object({
595
- model: z.union([
596
- UpdateMemoryStoreModel1$inboundSchema,
597
- UpdateMemoryStoreModel2$inboundSchema,
598
- UpdateMemoryStoreModel3$inboundSchema,
599
- UpdateMemoryStoreModel4$inboundSchema,
600
- UpdateMemoryStoreModel5$inboundSchema,
601
- UpdateMemoryStoreModel6$inboundSchema,
602
- Model7$inboundSchema,
603
- Model8$inboundSchema,
604
- Model9$inboundSchema,
605
- Model10$inboundSchema,
606
- Model11$inboundSchema,
607
- Model12$inboundSchema,
608
- Model13$inboundSchema,
609
- Model14$inboundSchema,
610
- Model15$inboundSchema,
611
- Model16$inboundSchema,
612
- Model17$inboundSchema,
613
- Model18$inboundSchema,
614
- Model19$inboundSchema,
615
- Model20$inboundSchema,
616
- Model21$inboundSchema,
617
- Model22$inboundSchema,
618
- Model23$inboundSchema,
619
- ]),
146
+ model: z.string(),
620
147
  });
621
148
  /** @internal */
622
149
  export type UpdateMemoryStoreEmbeddingConfig$Outbound = {
623
- model:
624
- | string
625
- | string
626
- | string
627
- | string
628
- | string
629
- | string
630
- | string
631
- | string
632
- | string
633
- | string
634
- | string
635
- | string
636
- | string
637
- | string
638
- | string
639
- | string
640
- | string
641
- | string
642
- | string
643
- | string
644
- | string
645
- | string
646
- | string;
150
+ model: string;
647
151
  };
648
152
 
649
153
  /** @internal */
@@ -652,31 +156,7 @@ export const UpdateMemoryStoreEmbeddingConfig$outboundSchema: z.ZodType<
652
156
  z.ZodTypeDef,
653
157
  UpdateMemoryStoreEmbeddingConfig
654
158
  > = z.object({
655
- model: z.union([
656
- UpdateMemoryStoreModel1$outboundSchema,
657
- UpdateMemoryStoreModel2$outboundSchema,
658
- UpdateMemoryStoreModel3$outboundSchema,
659
- UpdateMemoryStoreModel4$outboundSchema,
660
- UpdateMemoryStoreModel5$outboundSchema,
661
- UpdateMemoryStoreModel6$outboundSchema,
662
- Model7$outboundSchema,
663
- Model8$outboundSchema,
664
- Model9$outboundSchema,
665
- Model10$outboundSchema,
666
- Model11$outboundSchema,
667
- Model12$outboundSchema,
668
- Model13$outboundSchema,
669
- Model14$outboundSchema,
670
- Model15$outboundSchema,
671
- Model16$outboundSchema,
672
- Model17$outboundSchema,
673
- Model18$outboundSchema,
674
- Model19$outboundSchema,
675
- Model20$outboundSchema,
676
- Model21$outboundSchema,
677
- Model22$outboundSchema,
678
- Model23$outboundSchema,
679
- ]),
159
+ model: z.string(),
680
160
  });
681
161
 
682
162
  export function updateMemoryStoreEmbeddingConfigToJSON(
@@ -170,6 +170,20 @@ export const UpdatePromptVerbosity = {
170
170
  */
171
171
  export type UpdatePromptVerbosity = ClosedEnum<typeof UpdatePromptVerbosity>;
172
172
 
173
+ /**
174
+ * The level of thinking to use for the model. Only supported by `Google AI`
175
+ */
176
+ export const UpdatePromptThinkingLevel = {
177
+ Low: "low",
178
+ High: "high",
179
+ } as const;
180
+ /**
181
+ * The level of thinking to use for the model. Only supported by `Google AI`
182
+ */
183
+ export type UpdatePromptThinkingLevel = ClosedEnum<
184
+ typeof UpdatePromptThinkingLevel
185
+ >;
186
+
173
187
  /**
174
188
  * Model Parameters: Not all parameters apply to every model
175
189
  */
@@ -262,6 +276,10 @@ export type UpdatePromptModelParameters = {
262
276
  * Controls the verbosity of the model output.
263
277
  */
264
278
  verbosity?: UpdatePromptVerbosity | undefined;
279
+ /**
280
+ * The level of thinking to use for the model. Only supported by `Google AI`
281
+ */
282
+ thinkingLevel?: UpdatePromptThinkingLevel | undefined;
265
283
  };
266
284
 
267
285
  export const Provider = {
@@ -1349,6 +1367,20 @@ export type UpdatePromptPromptsVerbosity = ClosedEnum<
1349
1367
  typeof UpdatePromptPromptsVerbosity
1350
1368
  >;
1351
1369
 
1370
+ /**
1371
+ * The level of thinking to use for the model. Only supported by `Google AI`
1372
+ */
1373
+ export const UpdatePromptPromptsThinkingLevel = {
1374
+ Low: "low",
1375
+ High: "high",
1376
+ } as const;
1377
+ /**
1378
+ * The level of thinking to use for the model. Only supported by `Google AI`
1379
+ */
1380
+ export type UpdatePromptPromptsThinkingLevel = ClosedEnum<
1381
+ typeof UpdatePromptPromptsThinkingLevel
1382
+ >;
1383
+
1352
1384
  /**
1353
1385
  * Model Parameters: Not all parameters apply to every model
1354
1386
  */
@@ -1441,6 +1473,10 @@ export type UpdatePromptPromptsModelParameters = {
1441
1473
  * Controls the verbosity of the model output.
1442
1474
  */
1443
1475
  verbosity?: UpdatePromptPromptsVerbosity | undefined;
1476
+ /**
1477
+ * The level of thinking to use for the model. Only supported by `Google AI`
1478
+ */
1479
+ thinkingLevel?: UpdatePromptPromptsThinkingLevel | undefined;
1444
1480
  };
1445
1481
 
1446
1482
  export const UpdatePromptProvider = {
@@ -2086,6 +2122,15 @@ export const UpdatePromptVerbosity$outboundSchema: z.ZodNativeEnum<
2086
2122
  typeof UpdatePromptVerbosity
2087
2123
  > = UpdatePromptVerbosity$inboundSchema;
2088
2124
 
2125
+ /** @internal */
2126
+ export const UpdatePromptThinkingLevel$inboundSchema: z.ZodNativeEnum<
2127
+ typeof UpdatePromptThinkingLevel
2128
+ > = z.nativeEnum(UpdatePromptThinkingLevel);
2129
+ /** @internal */
2130
+ export const UpdatePromptThinkingLevel$outboundSchema: z.ZodNativeEnum<
2131
+ typeof UpdatePromptThinkingLevel
2132
+ > = UpdatePromptThinkingLevel$inboundSchema;
2133
+
2089
2134
  /** @internal */
2090
2135
  export const UpdatePromptModelParameters$inboundSchema: z.ZodType<
2091
2136
  UpdatePromptModelParameters,
@@ -2119,6 +2164,7 @@ export const UpdatePromptModelParameters$inboundSchema: z.ZodType<
2119
2164
  reasoningEffort: UpdatePromptReasoningEffort$inboundSchema.optional(),
2120
2165
  budgetTokens: z.number().optional(),
2121
2166
  verbosity: UpdatePromptVerbosity$inboundSchema.optional(),
2167
+ thinkingLevel: UpdatePromptThinkingLevel$inboundSchema.optional(),
2122
2168
  }).transform((v) => {
2123
2169
  return remap$(v, {
2124
2170
  "encoding_format": "encodingFormat",
@@ -2152,6 +2198,7 @@ export type UpdatePromptModelParameters$Outbound = {
2152
2198
  reasoningEffort?: string | undefined;
2153
2199
  budgetTokens?: number | undefined;
2154
2200
  verbosity?: string | undefined;
2201
+ thinkingLevel?: string | undefined;
2155
2202
  };
2156
2203
 
2157
2204
  /** @internal */
@@ -2187,6 +2234,7 @@ export const UpdatePromptModelParameters$outboundSchema: z.ZodType<
2187
2234
  reasoningEffort: UpdatePromptReasoningEffort$outboundSchema.optional(),
2188
2235
  budgetTokens: z.number().optional(),
2189
2236
  verbosity: UpdatePromptVerbosity$outboundSchema.optional(),
2237
+ thinkingLevel: UpdatePromptThinkingLevel$outboundSchema.optional(),
2190
2238
  }).transform((v) => {
2191
2239
  return remap$(v, {
2192
2240
  encodingFormat: "encoding_format",
@@ -5389,6 +5437,15 @@ export const UpdatePromptPromptsVerbosity$outboundSchema: z.ZodNativeEnum<
5389
5437
  typeof UpdatePromptPromptsVerbosity
5390
5438
  > = UpdatePromptPromptsVerbosity$inboundSchema;
5391
5439
 
5440
+ /** @internal */
5441
+ export const UpdatePromptPromptsThinkingLevel$inboundSchema: z.ZodNativeEnum<
5442
+ typeof UpdatePromptPromptsThinkingLevel
5443
+ > = z.nativeEnum(UpdatePromptPromptsThinkingLevel);
5444
+ /** @internal */
5445
+ export const UpdatePromptPromptsThinkingLevel$outboundSchema: z.ZodNativeEnum<
5446
+ typeof UpdatePromptPromptsThinkingLevel
5447
+ > = UpdatePromptPromptsThinkingLevel$inboundSchema;
5448
+
5392
5449
  /** @internal */
5393
5450
  export const UpdatePromptPromptsModelParameters$inboundSchema: z.ZodType<
5394
5451
  UpdatePromptPromptsModelParameters,
@@ -5423,6 +5480,7 @@ export const UpdatePromptPromptsModelParameters$inboundSchema: z.ZodType<
5423
5480
  reasoningEffort: UpdatePromptPromptsReasoningEffort$inboundSchema.optional(),
5424
5481
  budgetTokens: z.number().optional(),
5425
5482
  verbosity: UpdatePromptPromptsVerbosity$inboundSchema.optional(),
5483
+ thinkingLevel: UpdatePromptPromptsThinkingLevel$inboundSchema.optional(),
5426
5484
  }).transform((v) => {
5427
5485
  return remap$(v, {
5428
5486
  "encoding_format": "encodingFormat",
@@ -5456,6 +5514,7 @@ export type UpdatePromptPromptsModelParameters$Outbound = {
5456
5514
  reasoningEffort?: string | undefined;
5457
5515
  budgetTokens?: number | undefined;
5458
5516
  verbosity?: string | undefined;
5517
+ thinkingLevel?: string | undefined;
5459
5518
  };
5460
5519
 
5461
5520
  /** @internal */
@@ -5492,6 +5551,7 @@ export const UpdatePromptPromptsModelParameters$outboundSchema: z.ZodType<
5492
5551
  reasoningEffort: UpdatePromptPromptsReasoningEffort$outboundSchema.optional(),
5493
5552
  budgetTokens: z.number().optional(),
5494
5553
  verbosity: UpdatePromptPromptsVerbosity$outboundSchema.optional(),
5554
+ thinkingLevel: UpdatePromptPromptsThinkingLevel$outboundSchema.optional(),
5495
5555
  }).transform((v) => {
5496
5556
  return remap$(v, {
5497
5557
  encodingFormat: "encoding_format",