@orq-ai/node 3.13.12 → 3.13.13
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.
- package/bin/mcp-server.js +253 -221
- package/bin/mcp-server.js.map +39 -39
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/operations/createagent.d.ts +38 -0
- package/models/operations/createagent.d.ts.map +1 -1
- package/models/operations/createagent.js +35 -1
- package/models/operations/createagent.js.map +1 -1
- package/models/operations/createbudget.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +2 -2
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +28 -28
- package/models/operations/createtool.js +14 -14
- package/models/operations/duplicatetool.js +10 -10
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getalltools.js +10 -10
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +2 -2
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievetool.js +10 -10
- package/models/operations/runagent.d.ts +15 -15
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +20 -18
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +53 -18
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +54 -19
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +2 -2
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +28 -28
- package/models/operations/updatetool.js +14 -14
- package/package.json +1 -1
- package/packages/orq-rc/docs/sdks/prompts/README.md +47 -13
- package/packages/orq-rc/docs/sdks/tools/README.md +7 -3
- package/packages/orq-rc/examples/package-lock.json +1 -1
- package/packages/orq-rc/jsr.json +1 -1
- package/packages/orq-rc/package-lock.json +2 -2
- package/packages/orq-rc/package.json +1 -1
- package/packages/orq-rc/src/funcs/promptsCreate.ts +4 -4
- package/packages/orq-rc/src/funcs/promptsRetrieve.ts +4 -4
- package/packages/orq-rc/src/funcs/promptsUpdate.ts +4 -4
- package/packages/orq-rc/src/funcs/toolsList.ts +1 -1
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
- package/packages/orq-rc/src/mcp-server/server.ts +1 -1
- package/packages/orq-rc/src/mcp-server/tools/toolsList.ts +1 -1
- package/packages/orq-rc/src/models/operations/createagent.ts +73 -0
- package/packages/orq-rc/src/models/operations/createbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +8 -8
- package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/createeval.ts +60 -56
- package/packages/orq-rc/src/models/operations/creatememorystore.ts +108 -40
- package/packages/orq-rc/src/models/operations/createprompt.ts +4603 -1478
- package/packages/orq-rc/src/models/operations/createtool.ts +10 -10
- package/packages/orq-rc/src/models/operations/duplicatetool.ts +10 -10
- package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
- package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
- package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
- package/packages/orq-rc/src/models/operations/getallmemorystores.ts +56 -20
- package/packages/orq-rc/src/models/operations/getallprompts.ts +48 -52
- package/packages/orq-rc/src/models/operations/getalltools.ts +14 -14
- package/packages/orq-rc/src/models/operations/getbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +22 -22
- package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +8 -8
- package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +8 -8
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievememorystore.ts +56 -20
- package/packages/orq-rc/src/models/operations/retrievetool.ts +10 -10
- package/packages/orq-rc/src/models/operations/runagent.ts +30 -24
- package/packages/orq-rc/src/models/operations/updateagent.ts +110 -28
- package/packages/orq-rc/src/models/operations/updatebudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +8 -8
- package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/updateeval.ts +57 -57
- package/packages/orq-rc/src/models/operations/updatememorystore.ts +52 -20
- package/packages/orq-rc/src/models/operations/updateprompt.ts +5018 -1772
- package/packages/orq-rc/src/models/operations/updatetool.ts +10 -10
- package/packages/orq-rc/src/sdk/prompts.ts +3 -3
- package/packages/orq-rc/src/sdk/tools.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/createagent.ts +73 -0
- package/src/models/operations/createbudget.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +2 -2
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/createtool.ts +14 -14
- package/src/models/operations/duplicatetool.ts +10 -10
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/getalltools.ts +10 -10
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +2 -2
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievetool.ts +10 -10
- package/src/models/operations/runagent.ts +30 -24
- package/src/models/operations/updateagent.ts +110 -28
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +2 -2
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +28 -28
- package/src/models/operations/updatetool.ts +14 -14
|
@@ -2581,7 +2581,7 @@ export const ResponseBody5$inboundSchema: z.ZodType<
|
|
|
2581
2581
|
z.ZodTypeDef,
|
|
2582
2582
|
unknown
|
|
2583
2583
|
> = z.object({
|
|
2584
|
-
_id: z.string().default("
|
|
2584
|
+
_id: z.string().default("01K83MSAY48NF925SSDDXXF7EQ"),
|
|
2585
2585
|
path: z.string(),
|
|
2586
2586
|
key: z.string(),
|
|
2587
2587
|
display_name: z.string().optional(),
|
|
@@ -2636,7 +2636,7 @@ export const ResponseBody5$outboundSchema: z.ZodType<
|
|
|
2636
2636
|
z.ZodTypeDef,
|
|
2637
2637
|
ResponseBody5
|
|
2638
2638
|
> = z.object({
|
|
2639
|
-
id: z.string().default("
|
|
2639
|
+
id: z.string().default("01K83MSAY48NF925SSDDXXF7EQ"),
|
|
2640
2640
|
path: z.string(),
|
|
2641
2641
|
key: z.string(),
|
|
2642
2642
|
displayName: z.string().optional(),
|
|
@@ -2995,7 +2995,7 @@ export const ResponseBody4$inboundSchema: z.ZodType<
|
|
|
2995
2995
|
z.ZodTypeDef,
|
|
2996
2996
|
unknown
|
|
2997
2997
|
> = z.object({
|
|
2998
|
-
_id: z.string().default("
|
|
2998
|
+
_id: z.string().default("01K83MSAY46Q7G1JGP48FRP7QZ"),
|
|
2999
2999
|
path: z.string(),
|
|
3000
3000
|
key: z.string(),
|
|
3001
3001
|
display_name: z.string().optional(),
|
|
@@ -3049,7 +3049,7 @@ export const ResponseBody4$outboundSchema: z.ZodType<
|
|
|
3049
3049
|
z.ZodTypeDef,
|
|
3050
3050
|
ResponseBody4
|
|
3051
3051
|
> = z.object({
|
|
3052
|
-
id: z.string().default("
|
|
3052
|
+
id: z.string().default("01K83MSAY46Q7G1JGP48FRP7QZ"),
|
|
3053
3053
|
path: z.string(),
|
|
3054
3054
|
key: z.string(),
|
|
3055
3055
|
displayName: z.string().optional(),
|
|
@@ -3447,7 +3447,7 @@ export const ResponseBody3$inboundSchema: z.ZodType<
|
|
|
3447
3447
|
z.ZodTypeDef,
|
|
3448
3448
|
unknown
|
|
3449
3449
|
> = z.object({
|
|
3450
|
-
_id: z.string().default("
|
|
3450
|
+
_id: z.string().default("01K83MSAY3Y3WDWD5JQXZ9KGSC"),
|
|
3451
3451
|
path: z.string(),
|
|
3452
3452
|
key: z.string(),
|
|
3453
3453
|
display_name: z.string().optional(),
|
|
@@ -3499,7 +3499,7 @@ export const ResponseBody3$outboundSchema: z.ZodType<
|
|
|
3499
3499
|
z.ZodTypeDef,
|
|
3500
3500
|
ResponseBody3
|
|
3501
3501
|
> = z.object({
|
|
3502
|
-
id: z.string().default("
|
|
3502
|
+
id: z.string().default("01K83MSAY3Y3WDWD5JQXZ9KGSC"),
|
|
3503
3503
|
path: z.string(),
|
|
3504
3504
|
key: z.string(),
|
|
3505
3505
|
displayName: z.string().optional(),
|
|
@@ -3664,7 +3664,7 @@ export const CreateToolResponseBody2$inboundSchema: z.ZodType<
|
|
|
3664
3664
|
z.ZodTypeDef,
|
|
3665
3665
|
unknown
|
|
3666
3666
|
> = z.object({
|
|
3667
|
-
_id: z.string().default("
|
|
3667
|
+
_id: z.string().default("01K83MSAY2SKDR3GXHPWZE51QD"),
|
|
3668
3668
|
path: z.string(),
|
|
3669
3669
|
key: z.string(),
|
|
3670
3670
|
display_name: z.string().optional(),
|
|
@@ -3717,7 +3717,7 @@ export const CreateToolResponseBody2$outboundSchema: z.ZodType<
|
|
|
3717
3717
|
z.ZodTypeDef,
|
|
3718
3718
|
CreateToolResponseBody2
|
|
3719
3719
|
> = z.object({
|
|
3720
|
-
id: z.string().default("
|
|
3720
|
+
id: z.string().default("01K83MSAY2SKDR3GXHPWZE51QD"),
|
|
3721
3721
|
path: z.string(),
|
|
3722
3722
|
key: z.string(),
|
|
3723
3723
|
displayName: z.string().optional(),
|
|
@@ -3889,7 +3889,7 @@ export const CreateToolResponseBody1$inboundSchema: z.ZodType<
|
|
|
3889
3889
|
z.ZodTypeDef,
|
|
3890
3890
|
unknown
|
|
3891
3891
|
> = z.object({
|
|
3892
|
-
_id: z.string().default("
|
|
3892
|
+
_id: z.string().default("01K83MSAY103N0K4ZYG4Y24EMW"),
|
|
3893
3893
|
path: z.string(),
|
|
3894
3894
|
key: z.string(),
|
|
3895
3895
|
display_name: z.string().optional(),
|
|
@@ -3941,7 +3941,7 @@ export const CreateToolResponseBody1$outboundSchema: z.ZodType<
|
|
|
3941
3941
|
z.ZodTypeDef,
|
|
3942
3942
|
CreateToolResponseBody1
|
|
3943
3943
|
> = z.object({
|
|
3944
|
-
id: z.string().default("
|
|
3944
|
+
id: z.string().default("01K83MSAY103N0K4ZYG4Y24EMW"),
|
|
3945
3945
|
path: z.string(),
|
|
3946
3946
|
key: z.string(),
|
|
3947
3947
|
displayName: z.string().optional(),
|
|
@@ -788,7 +788,7 @@ export const DuplicateToolResponseBody5$inboundSchema: z.ZodType<
|
|
|
788
788
|
z.ZodTypeDef,
|
|
789
789
|
unknown
|
|
790
790
|
> = z.object({
|
|
791
|
-
_id: z.string().default("
|
|
791
|
+
_id: z.string().default("01K83MSAYDMMJCGBXD1CQFW12Z"),
|
|
792
792
|
path: z.string(),
|
|
793
793
|
key: z.string(),
|
|
794
794
|
display_name: z.string().optional(),
|
|
@@ -844,7 +844,7 @@ export const DuplicateToolResponseBody5$outboundSchema: z.ZodType<
|
|
|
844
844
|
z.ZodTypeDef,
|
|
845
845
|
DuplicateToolResponseBody5
|
|
846
846
|
> = z.object({
|
|
847
|
-
id: z.string().default("
|
|
847
|
+
id: z.string().default("01K83MSAYDMMJCGBXD1CQFW12Z"),
|
|
848
848
|
path: z.string(),
|
|
849
849
|
key: z.string(),
|
|
850
850
|
displayName: z.string().optional(),
|
|
@@ -1232,7 +1232,7 @@ export const DuplicateToolResponseBody4$inboundSchema: z.ZodType<
|
|
|
1232
1232
|
z.ZodTypeDef,
|
|
1233
1233
|
unknown
|
|
1234
1234
|
> = z.object({
|
|
1235
|
-
_id: z.string().default("
|
|
1235
|
+
_id: z.string().default("01K83MSAYC1RNW5Q53S0E3E6DX"),
|
|
1236
1236
|
path: z.string(),
|
|
1237
1237
|
key: z.string(),
|
|
1238
1238
|
display_name: z.string().optional(),
|
|
@@ -1286,7 +1286,7 @@ export const DuplicateToolResponseBody4$outboundSchema: z.ZodType<
|
|
|
1286
1286
|
z.ZodTypeDef,
|
|
1287
1287
|
DuplicateToolResponseBody4
|
|
1288
1288
|
> = z.object({
|
|
1289
|
-
id: z.string().default("
|
|
1289
|
+
id: z.string().default("01K83MSAYC1RNW5Q53S0E3E6DX"),
|
|
1290
1290
|
path: z.string(),
|
|
1291
1291
|
key: z.string(),
|
|
1292
1292
|
displayName: z.string().optional(),
|
|
@@ -1713,7 +1713,7 @@ export const DuplicateToolResponseBody3$inboundSchema: z.ZodType<
|
|
|
1713
1713
|
z.ZodTypeDef,
|
|
1714
1714
|
unknown
|
|
1715
1715
|
> = z.object({
|
|
1716
|
-
_id: z.string().default("
|
|
1716
|
+
_id: z.string().default("01K83MSAYB3A4M6ANSXBNXMZ9J"),
|
|
1717
1717
|
path: z.string(),
|
|
1718
1718
|
key: z.string(),
|
|
1719
1719
|
display_name: z.string().optional(),
|
|
@@ -1767,7 +1767,7 @@ export const DuplicateToolResponseBody3$outboundSchema: z.ZodType<
|
|
|
1767
1767
|
z.ZodTypeDef,
|
|
1768
1768
|
DuplicateToolResponseBody3
|
|
1769
1769
|
> = z.object({
|
|
1770
|
-
id: z.string().default("
|
|
1770
|
+
id: z.string().default("01K83MSAYB3A4M6ANSXBNXMZ9J"),
|
|
1771
1771
|
path: z.string(),
|
|
1772
1772
|
key: z.string(),
|
|
1773
1773
|
displayName: z.string().optional(),
|
|
@@ -1947,7 +1947,7 @@ export const DuplicateToolResponseBody2$inboundSchema: z.ZodType<
|
|
|
1947
1947
|
z.ZodTypeDef,
|
|
1948
1948
|
unknown
|
|
1949
1949
|
> = z.object({
|
|
1950
|
-
_id: z.string().default("
|
|
1950
|
+
_id: z.string().default("01K83MSAYB4YYPGFTVC8NV9M8Q"),
|
|
1951
1951
|
path: z.string(),
|
|
1952
1952
|
key: z.string(),
|
|
1953
1953
|
display_name: z.string().optional(),
|
|
@@ -2000,7 +2000,7 @@ export const DuplicateToolResponseBody2$outboundSchema: z.ZodType<
|
|
|
2000
2000
|
z.ZodTypeDef,
|
|
2001
2001
|
DuplicateToolResponseBody2
|
|
2002
2002
|
> = z.object({
|
|
2003
|
-
id: z.string().default("
|
|
2003
|
+
id: z.string().default("01K83MSAYB4YYPGFTVC8NV9M8Q"),
|
|
2004
2004
|
path: z.string(),
|
|
2005
2005
|
key: z.string(),
|
|
2006
2006
|
displayName: z.string().optional(),
|
|
@@ -2173,7 +2173,7 @@ export const DuplicateToolResponseBody1$inboundSchema: z.ZodType<
|
|
|
2173
2173
|
z.ZodTypeDef,
|
|
2174
2174
|
unknown
|
|
2175
2175
|
> = z.object({
|
|
2176
|
-
_id: z.string().default("
|
|
2176
|
+
_id: z.string().default("01K83MSAYBZ178VYNQQSGH4TY2"),
|
|
2177
2177
|
path: z.string(),
|
|
2178
2178
|
key: z.string(),
|
|
2179
2179
|
display_name: z.string().optional(),
|
|
@@ -2225,7 +2225,7 @@ export const DuplicateToolResponseBody1$outboundSchema: z.ZodType<
|
|
|
2225
2225
|
z.ZodTypeDef,
|
|
2226
2226
|
DuplicateToolResponseBody1
|
|
2227
2227
|
> = z.object({
|
|
2228
|
-
id: z.string().default("
|
|
2228
|
+
id: z.string().default("01K83MSAYBZ178VYNQQSGH4TY2"),
|
|
2229
2229
|
path: z.string(),
|
|
2230
2230
|
key: z.string(),
|
|
2231
2231
|
displayName: z.string().optional(),
|
|
@@ -146,7 +146,7 @@ export const FileGetResponseBody$inboundSchema: z.ZodType<
|
|
|
146
146
|
file_name: z.string(),
|
|
147
147
|
workspace_id: z.string(),
|
|
148
148
|
created: z.string().datetime({ offset: true }).default(
|
|
149
|
-
"2025-10-
|
|
149
|
+
"2025-10-21T15:04:10.057Z",
|
|
150
150
|
).transform(v => new Date(v)),
|
|
151
151
|
}).transform((v) => {
|
|
152
152
|
return remap$(v, {
|
|
@@ -180,7 +180,7 @@ export const FileGetResponseBody$outboundSchema: z.ZodType<
|
|
|
180
180
|
bytes: z.number(),
|
|
181
181
|
fileName: z.string(),
|
|
182
182
|
workspaceId: z.string(),
|
|
183
|
-
created: z.date().default(() => new Date("2025-10-
|
|
183
|
+
created: z.date().default(() => new Date("2025-10-21T15:04:10.057Z"))
|
|
184
184
|
.transform(v => v.toISOString()),
|
|
185
185
|
}).transform((v) => {
|
|
186
186
|
return remap$(v, {
|
|
@@ -196,7 +196,7 @@ export const FileListData$inboundSchema: z.ZodType<
|
|
|
196
196
|
file_name: z.string(),
|
|
197
197
|
workspace_id: z.string(),
|
|
198
198
|
created: z.string().datetime({ offset: true }).default(
|
|
199
|
-
"2025-10-
|
|
199
|
+
"2025-10-21T15:04:10.057Z",
|
|
200
200
|
).transform(v => new Date(v)),
|
|
201
201
|
}).transform((v) => {
|
|
202
202
|
return remap$(v, {
|
|
@@ -230,7 +230,7 @@ export const FileListData$outboundSchema: z.ZodType<
|
|
|
230
230
|
bytes: z.number(),
|
|
231
231
|
fileName: z.string(),
|
|
232
232
|
workspaceId: z.string(),
|
|
233
|
-
created: z.date().default(() => new Date("2025-10-
|
|
233
|
+
created: z.date().default(() => new Date("2025-10-21T15:04:10.057Z"))
|
|
234
234
|
.transform(v => v.toISOString()),
|
|
235
235
|
}).transform((v) => {
|
|
236
236
|
return remap$(v, {
|
|
@@ -250,7 +250,7 @@ export const FileUploadResponseBody$inboundSchema: z.ZodType<
|
|
|
250
250
|
file_name: z.string(),
|
|
251
251
|
workspace_id: z.string(),
|
|
252
252
|
created: z.string().datetime({ offset: true }).default(
|
|
253
|
-
"2025-10-
|
|
253
|
+
"2025-10-21T15:04:10.057Z",
|
|
254
254
|
).transform(v => new Date(v)),
|
|
255
255
|
}).transform((v) => {
|
|
256
256
|
return remap$(v, {
|
|
@@ -284,7 +284,7 @@ export const FileUploadResponseBody$outboundSchema: z.ZodType<
|
|
|
284
284
|
bytes: z.number(),
|
|
285
285
|
fileName: z.string(),
|
|
286
286
|
workspaceId: z.string(),
|
|
287
|
-
created: z.date().default(() => new Date("2025-10-
|
|
287
|
+
created: z.date().default(() => new Date("2025-10-21T15:04:10.057Z"))
|
|
288
288
|
.transform(v => v.toISOString()),
|
|
289
289
|
}).transform((v) => {
|
|
290
290
|
return remap$(v, {
|
|
@@ -31,127 +31,134 @@ export type GetAllMemoryStoresObject = ClosedEnum<
|
|
|
31
31
|
typeof GetAllMemoryStoresObject
|
|
32
32
|
>;
|
|
33
33
|
|
|
34
|
-
export const
|
|
34
|
+
export const GetAllMemoryStoresModel23 = {
|
|
35
35
|
JinaJinaEmbeddingsV3: "jina/jina-embeddings-v3",
|
|
36
36
|
} as const;
|
|
37
|
+
export type GetAllMemoryStoresModel23 = ClosedEnum<
|
|
38
|
+
typeof GetAllMemoryStoresModel23
|
|
39
|
+
>;
|
|
40
|
+
|
|
41
|
+
export const GetAllMemoryStoresModel22 = {
|
|
42
|
+
JinaJinaClipV2: "jina/jina-clip-v2",
|
|
43
|
+
} as const;
|
|
37
44
|
export type GetAllMemoryStoresModel22 = ClosedEnum<
|
|
38
45
|
typeof GetAllMemoryStoresModel22
|
|
39
46
|
>;
|
|
40
47
|
|
|
41
48
|
export const GetAllMemoryStoresModel21 = {
|
|
42
|
-
|
|
49
|
+
JinaJinaEmbeddingsV2BaseDe: "jina/jina-embeddings-v2-base-de",
|
|
43
50
|
} as const;
|
|
44
51
|
export type GetAllMemoryStoresModel21 = ClosedEnum<
|
|
45
52
|
typeof GetAllMemoryStoresModel21
|
|
46
53
|
>;
|
|
47
54
|
|
|
48
55
|
export const GetAllMemoryStoresModel20 = {
|
|
49
|
-
|
|
56
|
+
JinaJinaEmbeddingsV2BaseCode: "jina/jina-embeddings-v2-base-code",
|
|
50
57
|
} as const;
|
|
51
58
|
export type GetAllMemoryStoresModel20 = ClosedEnum<
|
|
52
59
|
typeof GetAllMemoryStoresModel20
|
|
53
60
|
>;
|
|
54
61
|
|
|
55
62
|
export const GetAllMemoryStoresModel19 = {
|
|
56
|
-
|
|
63
|
+
JinaJinaEmbeddingsV2BaseZh: "jina/jina-embeddings-v2-base-zh",
|
|
57
64
|
} as const;
|
|
58
65
|
export type GetAllMemoryStoresModel19 = ClosedEnum<
|
|
59
66
|
typeof GetAllMemoryStoresModel19
|
|
60
67
|
>;
|
|
61
68
|
|
|
62
69
|
export const GetAllMemoryStoresModel18 = {
|
|
63
|
-
|
|
70
|
+
JinaJinaEmbeddingsV2BaseEn: "jina/jina-embeddings-v2-base-en",
|
|
64
71
|
} as const;
|
|
65
72
|
export type GetAllMemoryStoresModel18 = ClosedEnum<
|
|
66
73
|
typeof GetAllMemoryStoresModel18
|
|
67
74
|
>;
|
|
68
75
|
|
|
69
76
|
export const GetAllMemoryStoresModel17 = {
|
|
70
|
-
|
|
77
|
+
JinaJinaEmbeddingsV2BaseEs: "jina/jina-embeddings-v2-base-es",
|
|
71
78
|
} as const;
|
|
72
79
|
export type GetAllMemoryStoresModel17 = ClosedEnum<
|
|
73
80
|
typeof GetAllMemoryStoresModel17
|
|
74
81
|
>;
|
|
75
82
|
|
|
76
83
|
export const GetAllMemoryStoresModel16 = {
|
|
77
|
-
|
|
84
|
+
JinaJinaClipV1: "jina/jina-clip-v1",
|
|
78
85
|
} as const;
|
|
79
86
|
export type GetAllMemoryStoresModel16 = ClosedEnum<
|
|
80
87
|
typeof GetAllMemoryStoresModel16
|
|
81
88
|
>;
|
|
82
89
|
|
|
83
90
|
export const GetAllMemoryStoresModel15 = {
|
|
84
|
-
|
|
91
|
+
GoogleAiTextEmbedding004: "google-ai/text-embedding-004",
|
|
85
92
|
} as const;
|
|
86
93
|
export type GetAllMemoryStoresModel15 = ClosedEnum<
|
|
87
94
|
typeof GetAllMemoryStoresModel15
|
|
88
95
|
>;
|
|
89
96
|
|
|
90
97
|
export const GetAllMemoryStoresModel14 = {
|
|
91
|
-
|
|
98
|
+
GoogleMultimodalembeddingAt001: "google/multimodalembedding@001",
|
|
92
99
|
} as const;
|
|
93
100
|
export type GetAllMemoryStoresModel14 = ClosedEnum<
|
|
94
101
|
typeof GetAllMemoryStoresModel14
|
|
95
102
|
>;
|
|
96
103
|
|
|
97
104
|
export const GetAllMemoryStoresModel13 = {
|
|
98
|
-
|
|
105
|
+
GoogleTextMultilingualEmbedding002: "google/text-multilingual-embedding-002",
|
|
99
106
|
} as const;
|
|
100
107
|
export type GetAllMemoryStoresModel13 = ClosedEnum<
|
|
101
108
|
typeof GetAllMemoryStoresModel13
|
|
102
109
|
>;
|
|
103
110
|
|
|
104
111
|
export const GetAllMemoryStoresModel12 = {
|
|
105
|
-
|
|
112
|
+
GoogleTextEmbedding005: "google/text-embedding-005",
|
|
106
113
|
} as const;
|
|
107
114
|
export type GetAllMemoryStoresModel12 = ClosedEnum<
|
|
108
115
|
typeof GetAllMemoryStoresModel12
|
|
109
116
|
>;
|
|
110
117
|
|
|
111
118
|
export const GetAllMemoryStoresModel11 = {
|
|
112
|
-
|
|
119
|
+
GoogleGeminiEmbedding001: "google/gemini-embedding-001",
|
|
113
120
|
} as const;
|
|
114
121
|
export type GetAllMemoryStoresModel11 = ClosedEnum<
|
|
115
122
|
typeof GetAllMemoryStoresModel11
|
|
116
123
|
>;
|
|
117
124
|
|
|
118
125
|
export const GetAllMemoryStoresModel10 = {
|
|
119
|
-
|
|
126
|
+
OpenaiTextEmbeddingAda002: "openai/text-embedding-ada-002",
|
|
120
127
|
} as const;
|
|
121
128
|
export type GetAllMemoryStoresModel10 = ClosedEnum<
|
|
122
129
|
typeof GetAllMemoryStoresModel10
|
|
123
130
|
>;
|
|
124
131
|
|
|
125
132
|
export const GetAllMemoryStoresModel9 = {
|
|
126
|
-
|
|
133
|
+
OpenaiTextEmbedding3Small: "openai/text-embedding-3-small",
|
|
127
134
|
} as const;
|
|
128
135
|
export type GetAllMemoryStoresModel9 = ClosedEnum<
|
|
129
136
|
typeof GetAllMemoryStoresModel9
|
|
130
137
|
>;
|
|
131
138
|
|
|
132
139
|
export const GetAllMemoryStoresModel8 = {
|
|
133
|
-
|
|
140
|
+
OpenaiTextEmbedding3Large: "openai/text-embedding-3-large",
|
|
134
141
|
} as const;
|
|
135
142
|
export type GetAllMemoryStoresModel8 = ClosedEnum<
|
|
136
143
|
typeof GetAllMemoryStoresModel8
|
|
137
144
|
>;
|
|
138
145
|
|
|
139
146
|
export const GetAllMemoryStoresModel7 = {
|
|
140
|
-
|
|
147
|
+
AzureTextEmbedding3Small: "azure/text-embedding-3-small",
|
|
141
148
|
} as const;
|
|
142
149
|
export type GetAllMemoryStoresModel7 = ClosedEnum<
|
|
143
150
|
typeof GetAllMemoryStoresModel7
|
|
144
151
|
>;
|
|
145
152
|
|
|
146
153
|
export const GetAllMemoryStoresModel6 = {
|
|
147
|
-
|
|
154
|
+
AzureTextEmbeddingAda002: "azure/text-embedding-ada-002",
|
|
148
155
|
} as const;
|
|
149
156
|
export type GetAllMemoryStoresModel6 = ClosedEnum<
|
|
150
157
|
typeof GetAllMemoryStoresModel6
|
|
151
158
|
>;
|
|
152
159
|
|
|
153
160
|
export const GetAllMemoryStoresModel5 = {
|
|
154
|
-
|
|
161
|
+
CohereEmbedV40: "cohere/embed-v4.0",
|
|
155
162
|
} as const;
|
|
156
163
|
export type GetAllMemoryStoresModel5 = ClosedEnum<
|
|
157
164
|
typeof GetAllMemoryStoresModel5
|
|
@@ -207,7 +214,8 @@ export type GetAllMemoryStoresModel =
|
|
|
207
214
|
| GetAllMemoryStoresModel19
|
|
208
215
|
| GetAllMemoryStoresModel20
|
|
209
216
|
| GetAllMemoryStoresModel21
|
|
210
|
-
| GetAllMemoryStoresModel22
|
|
217
|
+
| GetAllMemoryStoresModel22
|
|
218
|
+
| GetAllMemoryStoresModel23;
|
|
211
219
|
|
|
212
220
|
export type GetAllMemoryStoresEmbeddingConfig = {
|
|
213
221
|
model:
|
|
@@ -232,7 +240,8 @@ export type GetAllMemoryStoresEmbeddingConfig = {
|
|
|
232
240
|
| GetAllMemoryStoresModel19
|
|
233
241
|
| GetAllMemoryStoresModel20
|
|
234
242
|
| GetAllMemoryStoresModel21
|
|
235
|
-
| GetAllMemoryStoresModel22
|
|
243
|
+
| GetAllMemoryStoresModel22
|
|
244
|
+
| GetAllMemoryStoresModel23;
|
|
236
245
|
};
|
|
237
246
|
|
|
238
247
|
export type GetAllMemoryStoresData = {
|
|
@@ -371,6 +380,27 @@ export namespace GetAllMemoryStoresObject$ {
|
|
|
371
380
|
export const outboundSchema = GetAllMemoryStoresObject$outboundSchema;
|
|
372
381
|
}
|
|
373
382
|
|
|
383
|
+
/** @internal */
|
|
384
|
+
export const GetAllMemoryStoresModel23$inboundSchema: z.ZodNativeEnum<
|
|
385
|
+
typeof GetAllMemoryStoresModel23
|
|
386
|
+
> = z.nativeEnum(GetAllMemoryStoresModel23);
|
|
387
|
+
|
|
388
|
+
/** @internal */
|
|
389
|
+
export const GetAllMemoryStoresModel23$outboundSchema: z.ZodNativeEnum<
|
|
390
|
+
typeof GetAllMemoryStoresModel23
|
|
391
|
+
> = GetAllMemoryStoresModel23$inboundSchema;
|
|
392
|
+
|
|
393
|
+
/**
|
|
394
|
+
* @internal
|
|
395
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
396
|
+
*/
|
|
397
|
+
export namespace GetAllMemoryStoresModel23$ {
|
|
398
|
+
/** @deprecated use `GetAllMemoryStoresModel23$inboundSchema` instead. */
|
|
399
|
+
export const inboundSchema = GetAllMemoryStoresModel23$inboundSchema;
|
|
400
|
+
/** @deprecated use `GetAllMemoryStoresModel23$outboundSchema` instead. */
|
|
401
|
+
export const outboundSchema = GetAllMemoryStoresModel23$outboundSchema;
|
|
402
|
+
}
|
|
403
|
+
|
|
374
404
|
/** @internal */
|
|
375
405
|
export const GetAllMemoryStoresModel22$inboundSchema: z.ZodNativeEnum<
|
|
376
406
|
typeof GetAllMemoryStoresModel22
|
|
@@ -861,6 +891,7 @@ export const GetAllMemoryStoresModel$inboundSchema: z.ZodType<
|
|
|
861
891
|
GetAllMemoryStoresModel20$inboundSchema,
|
|
862
892
|
GetAllMemoryStoresModel21$inboundSchema,
|
|
863
893
|
GetAllMemoryStoresModel22$inboundSchema,
|
|
894
|
+
GetAllMemoryStoresModel23$inboundSchema,
|
|
864
895
|
]);
|
|
865
896
|
|
|
866
897
|
/** @internal */
|
|
@@ -886,6 +917,7 @@ export type GetAllMemoryStoresModel$Outbound =
|
|
|
886
917
|
| string
|
|
887
918
|
| string
|
|
888
919
|
| string
|
|
920
|
+
| string
|
|
889
921
|
| string;
|
|
890
922
|
|
|
891
923
|
/** @internal */
|
|
@@ -916,6 +948,7 @@ export const GetAllMemoryStoresModel$outboundSchema: z.ZodType<
|
|
|
916
948
|
GetAllMemoryStoresModel20$outboundSchema,
|
|
917
949
|
GetAllMemoryStoresModel21$outboundSchema,
|
|
918
950
|
GetAllMemoryStoresModel22$outboundSchema,
|
|
951
|
+
GetAllMemoryStoresModel23$outboundSchema,
|
|
919
952
|
]);
|
|
920
953
|
|
|
921
954
|
/**
|
|
@@ -978,6 +1011,7 @@ export const GetAllMemoryStoresEmbeddingConfig$inboundSchema: z.ZodType<
|
|
|
978
1011
|
GetAllMemoryStoresModel20$inboundSchema,
|
|
979
1012
|
GetAllMemoryStoresModel21$inboundSchema,
|
|
980
1013
|
GetAllMemoryStoresModel22$inboundSchema,
|
|
1014
|
+
GetAllMemoryStoresModel23$inboundSchema,
|
|
981
1015
|
]),
|
|
982
1016
|
});
|
|
983
1017
|
|
|
@@ -1005,6 +1039,7 @@ export type GetAllMemoryStoresEmbeddingConfig$Outbound = {
|
|
|
1005
1039
|
| string
|
|
1006
1040
|
| string
|
|
1007
1041
|
| string
|
|
1042
|
+
| string
|
|
1008
1043
|
| string;
|
|
1009
1044
|
};
|
|
1010
1045
|
|
|
@@ -1037,6 +1072,7 @@ export const GetAllMemoryStoresEmbeddingConfig$outboundSchema: z.ZodType<
|
|
|
1037
1072
|
GetAllMemoryStoresModel20$outboundSchema,
|
|
1038
1073
|
GetAllMemoryStoresModel21$outboundSchema,
|
|
1039
1074
|
GetAllMemoryStoresModel22$outboundSchema,
|
|
1075
|
+
GetAllMemoryStoresModel23$outboundSchema,
|
|
1040
1076
|
]),
|
|
1041
1077
|
});
|
|
1042
1078
|
|
|
@@ -559,7 +559,10 @@ export type GetAllPromptsMetadata = {
|
|
|
559
559
|
language?: GetAllPromptsLanguage | null | undefined;
|
|
560
560
|
};
|
|
561
561
|
|
|
562
|
-
|
|
562
|
+
/**
|
|
563
|
+
* A prompt entity with configuration, metadata, and versioning.
|
|
564
|
+
*/
|
|
565
|
+
export type Prompt = {
|
|
563
566
|
id: string;
|
|
564
567
|
type: GetAllPromptsType;
|
|
565
568
|
owner: string;
|
|
@@ -588,7 +591,7 @@ export type GetAllPromptsData = {
|
|
|
588
591
|
*/
|
|
589
592
|
export type GetAllPromptsResponseBody = {
|
|
590
593
|
object: GetAllPromptsObject;
|
|
591
|
-
data: Array<
|
|
594
|
+
data: Array<Prompt>;
|
|
592
595
|
hasMore: boolean;
|
|
593
596
|
};
|
|
594
597
|
|
|
@@ -2436,36 +2439,33 @@ export function getAllPromptsMetadataFromJSON(
|
|
|
2436
2439
|
}
|
|
2437
2440
|
|
|
2438
2441
|
/** @internal */
|
|
2439
|
-
export const
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
"display_name": "displayName",
|
|
2463
|
-
"prompt_config": "promptConfig",
|
|
2442
|
+
export const Prompt$inboundSchema: z.ZodType<Prompt, z.ZodTypeDef, unknown> = z
|
|
2443
|
+
.object({
|
|
2444
|
+
_id: z.string(),
|
|
2445
|
+
type: GetAllPromptsType$inboundSchema,
|
|
2446
|
+
owner: z.string(),
|
|
2447
|
+
domain_id: z.string(),
|
|
2448
|
+
created: z.string(),
|
|
2449
|
+
updated: z.string(),
|
|
2450
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
2451
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
2452
|
+
display_name: z.string(),
|
|
2453
|
+
description: z.nullable(z.string()).optional(),
|
|
2454
|
+
prompt_config: z.lazy(() => GetAllPromptsPromptConfig$inboundSchema),
|
|
2455
|
+
metadata: z.lazy(() => GetAllPromptsMetadata$inboundSchema).optional(),
|
|
2456
|
+
}).transform((v) => {
|
|
2457
|
+
return remap$(v, {
|
|
2458
|
+
"_id": "id",
|
|
2459
|
+
"domain_id": "domainId",
|
|
2460
|
+
"created_by_id": "createdById",
|
|
2461
|
+
"updated_by_id": "updatedById",
|
|
2462
|
+
"display_name": "displayName",
|
|
2463
|
+
"prompt_config": "promptConfig",
|
|
2464
|
+
});
|
|
2464
2465
|
});
|
|
2465
|
-
});
|
|
2466
2466
|
|
|
2467
2467
|
/** @internal */
|
|
2468
|
-
export type
|
|
2468
|
+
export type Prompt$Outbound = {
|
|
2469
2469
|
_id: string;
|
|
2470
2470
|
type: string;
|
|
2471
2471
|
owner: string;
|
|
@@ -2481,10 +2481,10 @@ export type GetAllPromptsData$Outbound = {
|
|
|
2481
2481
|
};
|
|
2482
2482
|
|
|
2483
2483
|
/** @internal */
|
|
2484
|
-
export const
|
|
2485
|
-
|
|
2484
|
+
export const Prompt$outboundSchema: z.ZodType<
|
|
2485
|
+
Prompt$Outbound,
|
|
2486
2486
|
z.ZodTypeDef,
|
|
2487
|
-
|
|
2487
|
+
Prompt
|
|
2488
2488
|
> = z.object({
|
|
2489
2489
|
id: z.string(),
|
|
2490
2490
|
type: GetAllPromptsType$outboundSchema,
|
|
@@ -2513,30 +2513,26 @@ export const GetAllPromptsData$outboundSchema: z.ZodType<
|
|
|
2513
2513
|
* @internal
|
|
2514
2514
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2515
2515
|
*/
|
|
2516
|
-
export namespace
|
|
2517
|
-
/** @deprecated use `
|
|
2518
|
-
export const inboundSchema =
|
|
2519
|
-
/** @deprecated use `
|
|
2520
|
-
export const outboundSchema =
|
|
2521
|
-
/** @deprecated use `
|
|
2522
|
-
export type Outbound =
|
|
2516
|
+
export namespace Prompt$ {
|
|
2517
|
+
/** @deprecated use `Prompt$inboundSchema` instead. */
|
|
2518
|
+
export const inboundSchema = Prompt$inboundSchema;
|
|
2519
|
+
/** @deprecated use `Prompt$outboundSchema` instead. */
|
|
2520
|
+
export const outboundSchema = Prompt$outboundSchema;
|
|
2521
|
+
/** @deprecated use `Prompt$Outbound` instead. */
|
|
2522
|
+
export type Outbound = Prompt$Outbound;
|
|
2523
2523
|
}
|
|
2524
2524
|
|
|
2525
|
-
export function
|
|
2526
|
-
|
|
2527
|
-
): string {
|
|
2528
|
-
return JSON.stringify(
|
|
2529
|
-
GetAllPromptsData$outboundSchema.parse(getAllPromptsData),
|
|
2530
|
-
);
|
|
2525
|
+
export function promptToJSON(prompt: Prompt): string {
|
|
2526
|
+
return JSON.stringify(Prompt$outboundSchema.parse(prompt));
|
|
2531
2527
|
}
|
|
2532
2528
|
|
|
2533
|
-
export function
|
|
2529
|
+
export function promptFromJSON(
|
|
2534
2530
|
jsonString: string,
|
|
2535
|
-
): SafeParseResult<
|
|
2531
|
+
): SafeParseResult<Prompt, SDKValidationError> {
|
|
2536
2532
|
return safeParse(
|
|
2537
2533
|
jsonString,
|
|
2538
|
-
(x) =>
|
|
2539
|
-
`Failed to parse '
|
|
2534
|
+
(x) => Prompt$inboundSchema.parse(JSON.parse(x)),
|
|
2535
|
+
`Failed to parse 'Prompt' from JSON`,
|
|
2540
2536
|
);
|
|
2541
2537
|
}
|
|
2542
2538
|
|
|
@@ -2547,7 +2543,7 @@ export const GetAllPromptsResponseBody$inboundSchema: z.ZodType<
|
|
|
2547
2543
|
unknown
|
|
2548
2544
|
> = z.object({
|
|
2549
2545
|
object: GetAllPromptsObject$inboundSchema,
|
|
2550
|
-
data: z.array(z.lazy(() =>
|
|
2546
|
+
data: z.array(z.lazy(() => Prompt$inboundSchema)),
|
|
2551
2547
|
has_more: z.boolean(),
|
|
2552
2548
|
}).transform((v) => {
|
|
2553
2549
|
return remap$(v, {
|
|
@@ -2558,7 +2554,7 @@ export const GetAllPromptsResponseBody$inboundSchema: z.ZodType<
|
|
|
2558
2554
|
/** @internal */
|
|
2559
2555
|
export type GetAllPromptsResponseBody$Outbound = {
|
|
2560
2556
|
object: string;
|
|
2561
|
-
data: Array<
|
|
2557
|
+
data: Array<Prompt$Outbound>;
|
|
2562
2558
|
has_more: boolean;
|
|
2563
2559
|
};
|
|
2564
2560
|
|
|
@@ -2569,7 +2565,7 @@ export const GetAllPromptsResponseBody$outboundSchema: z.ZodType<
|
|
|
2569
2565
|
GetAllPromptsResponseBody
|
|
2570
2566
|
> = z.object({
|
|
2571
2567
|
object: GetAllPromptsObject$outboundSchema,
|
|
2572
|
-
data: z.array(z.lazy(() =>
|
|
2568
|
+
data: z.array(z.lazy(() => Prompt$outboundSchema)),
|
|
2573
2569
|
hasMore: z.boolean(),
|
|
2574
2570
|
}).transform((v) => {
|
|
2575
2571
|
return remap$(v, {
|