@orq-ai/node 4.9.16 → 4.9.17
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/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createcontact.js +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +4 -4
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createeval.js +16 -16
- package/models/operations/createidentity.js +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.js +16 -16
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/listidentities.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +3 -3
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievedatapoint.js +4 -4
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrieveidentity.js +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatedatapoint.js +4 -4
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updateeval.js +16 -16
- package/models/operations/updateidentity.js +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +1 -1
- package/packages/orq-rc/src/funcs/identitiesCreate.ts +10 -15
- package/packages/orq-rc/src/funcs/identitiesDelete.ts +7 -16
- package/packages/orq-rc/src/funcs/identitiesList.ts +6 -5
- package/packages/orq-rc/src/funcs/identitiesRetrieve.ts +6 -18
- package/packages/orq-rc/src/funcs/identitiesUpdate.ts +9 -15
- package/packages/orq-rc/src/funcs/{remoteconfigsRetrieve.ts → modelsList.ts} +14 -33
- package/packages/orq-rc/src/funcs/projectsCreate.ts +1 -1
- package/packages/orq-rc/src/funcs/projectsDelete.ts +3 -0
- package/packages/orq-rc/src/funcs/projectsList.ts +1 -1
- package/packages/orq-rc/src/funcs/{contactsCreate.ts → reportingQuery.ts} +13 -13
- package/packages/orq-rc/src/funcs/skillsCreate.ts +1 -1
- package/packages/orq-rc/src/funcs/skillsDelete.ts +3 -0
- package/packages/orq-rc/src/funcs/skillsGet.ts +1 -1
- package/packages/orq-rc/src/funcs/skillsList.ts +1 -1
- package/packages/orq-rc/src/funcs/skillsUpdate.ts +1 -1
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/models/components/createidentityrequest.ts +76 -0
- package/packages/orq-rc/src/models/components/createidentityresponse.ts +32 -0
- package/packages/orq-rc/src/models/components/createprojectrequest.ts +6 -0
- package/packages/orq-rc/src/models/components/createprojectresponse.ts +3 -0
- package/packages/orq-rc/src/models/components/createskillrequest.ts +18 -0
- package/packages/orq-rc/src/models/components/createskillresponse.ts +3 -0
- package/packages/orq-rc/src/models/components/datapoint.ts +60 -0
- package/packages/orq-rc/src/models/components/deleteidentityresponse.ts +27 -0
- package/packages/orq-rc/src/models/components/file.ts +0 -3
- package/packages/orq-rc/src/models/components/filter.ts +137 -0
- package/packages/orq-rc/src/models/components/getprojectresponse.ts +3 -0
- package/packages/orq-rc/src/models/components/getskillresponse.ts +3 -0
- package/packages/orq-rc/src/models/components/identity.ts +83 -0
- package/packages/orq-rc/src/models/components/identitymetrics.ts +45 -0
- package/packages/orq-rc/src/models/components/index.ts +16 -0
- package/packages/orq-rc/src/models/components/invokedeploymentrequest.ts +17 -10
- package/packages/orq-rc/src/models/components/listidentitiesresponse.ts +41 -0
- package/packages/orq-rc/src/models/components/listprojectsresponse.ts +12 -0
- package/packages/orq-rc/src/models/components/listskillsresponse.ts +12 -0
- package/packages/orq-rc/src/models/components/modelref.ts +6 -0
- package/packages/orq-rc/src/models/components/project.ts +42 -3
- package/packages/orq-rc/src/models/components/publicmodelentry.ts +70 -0
- package/packages/orq-rc/src/models/components/queryreportrequest.ts +237 -0
- package/packages/orq-rc/src/models/components/queryreportresponse.ts +99 -0
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/components/responsemeta.ts +103 -0
- package/packages/orq-rc/src/models/components/retrieveidentityresponse.ts +32 -0
- package/packages/orq-rc/src/models/components/skill.ts +37 -3
- package/packages/orq-rc/src/models/components/totals.ts +34 -0
- package/packages/orq-rc/src/models/components/updateidentityrequest.ts +75 -0
- package/packages/orq-rc/src/models/components/updateidentityresponse.ts +32 -0
- package/packages/orq-rc/src/models/components/updateprojectrequest.ts +12 -0
- package/packages/orq-rc/src/models/components/updateprojectresponse.ts +3 -0
- package/packages/orq-rc/src/models/components/updateskillrequest.ts +21 -0
- package/packages/orq-rc/src/models/components/updateskillresponse.ts +3 -0
- package/packages/orq-rc/src/models/errors/index.ts +0 -3
- package/packages/orq-rc/src/models/operations/createagentrequest.ts +3 -3
- package/packages/orq-rc/src/models/operations/createannotation.ts +7 -11
- package/packages/orq-rc/src/models/operations/createdataset.ts +4 -4
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +4 -4
- package/packages/orq-rc/src/models/operations/createdatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/createeval.ts +45 -31
- package/packages/orq-rc/src/models/operations/createknowledge.ts +9 -9
- package/packages/orq-rc/src/models/operations/creatememorystore.ts +3 -3
- package/packages/orq-rc/src/models/operations/createprompt.ts +3 -3
- package/packages/orq-rc/src/models/operations/createtool.ts +36 -36
- package/packages/orq-rc/src/models/operations/deleteidentity.ts +0 -3
- package/packages/orq-rc/src/models/operations/getalltools.ts +21 -21
- package/packages/orq-rc/src/models/operations/getevals.ts +22 -16
- package/packages/orq-rc/src/models/operations/getoneknowledge.ts +6 -6
- package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/index.ts +1 -3
- package/packages/orq-rc/src/models/operations/invokeeval.ts +83 -80
- package/packages/orq-rc/src/models/operations/listagents.ts +3 -3
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/packages/orq-rc/src/models/operations/listdatasets.ts +1 -1
- package/packages/orq-rc/src/models/operations/listdatasources.ts +1 -1
- package/packages/orq-rc/src/models/operations/listidentities.ts +9 -230
- package/packages/orq-rc/src/models/operations/listknowledgebases.ts +6 -6
- package/packages/orq-rc/src/models/operations/listmodels.ts +60 -0
- package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/postv2agentsa2a.ts +14 -17
- package/packages/orq-rc/src/models/operations/postv2feedback.ts +34 -27
- package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/packages/orq-rc/src/models/operations/postv2feedbackremove.ts +14 -17
- package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/projectdelete.ts +3 -0
- package/packages/orq-rc/src/models/operations/projectget.ts +3 -0
- package/packages/orq-rc/src/models/operations/projectlist.ts +15 -0
- package/packages/orq-rc/src/models/operations/projectupdate.ts +3 -0
- package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +3 -3
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +4 -4
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrieveidentity.ts +3 -138
- package/packages/orq-rc/src/models/operations/retrievetool.ts +21 -21
- package/packages/orq-rc/src/models/operations/runagent.ts +4 -4
- package/packages/orq-rc/src/models/operations/skilldelete.ts +3 -0
- package/packages/orq-rc/src/models/operations/skilllist.ts +12 -0
- package/packages/orq-rc/src/models/operations/skillupdate.ts +3 -0
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +4 -4
- package/packages/orq-rc/src/models/operations/updateagent.ts +6 -6
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +4 -4
- package/packages/orq-rc/src/models/operations/updatedataset.ts +4 -4
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/updateeval.ts +30 -23
- package/packages/orq-rc/src/models/operations/updateidentity.ts +5 -154
- package/packages/orq-rc/src/models/operations/updateknowledge.ts +12 -12
- package/packages/orq-rc/src/models/operations/updateprompt.ts +3 -3
- package/packages/orq-rc/src/models/operations/updatetool.ts +37 -37
- package/packages/orq-rc/src/sdk/feedback.ts +8 -8
- package/packages/orq-rc/src/sdk/identities.ts +18 -17
- package/packages/orq-rc/src/sdk/models.ts +25 -0
- package/packages/orq-rc/src/sdk/projects.ts +5 -2
- package/packages/orq-rc/src/sdk/reporting.ts +27 -0
- package/packages/orq-rc/src/sdk/sdk.ts +22 -22
- package/packages/orq-rc/src/sdk/skills.ts +7 -4
- package/src/lib/config.ts +3 -3
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createcontact.ts +1 -1
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +4 -4
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createeval.ts +16 -16
- package/src/models/operations/createidentity.ts +1 -1
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +16 -16
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/listidentities.ts +1 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +4 -4
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrieveidentity.ts +1 -1
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +4 -4
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updateeval.ts +16 -16
- package/src/models/operations/updateidentity.ts +1 -1
- package/src/models/operations/updatetool.ts +7 -7
- package/packages/orq-rc/src/models/errors/deleteidentity.ts +0 -62
- package/packages/orq-rc/src/models/errors/retrieveidentity.ts +0 -118
- package/packages/orq-rc/src/models/errors/updateidentity.ts +0 -54
- package/packages/orq-rc/src/models/operations/createcontact.ts +0 -156
- package/packages/orq-rc/src/models/operations/createidentity.ts +0 -162
- package/packages/orq-rc/src/models/operations/remoteconfigsgetconfig.ts +0 -108
- package/packages/orq-rc/src/sdk/contacts.ts +0 -27
- package/packages/orq-rc/src/sdk/remoteconfigs.ts +0 -24
|
@@ -2358,7 +2358,7 @@ export const UpdateDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
2358
2358
|
.default("orq"),
|
|
2359
2359
|
reviewed_by_id: z.string(),
|
|
2360
2360
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2361
|
-
"2026-05-
|
|
2361
|
+
"2026-05-20T18:15:40.263Z",
|
|
2362
2362
|
).transform(v => new Date(v)),
|
|
2363
2363
|
type: z.literal("string_array"),
|
|
2364
2364
|
values: z.array(z.string()),
|
|
@@ -2404,7 +2404,7 @@ export const UpdateDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
2404
2404
|
source: UpdateDatapointEvaluationsDatasetsSource$inboundSchema.default("orq"),
|
|
2405
2405
|
reviewed_by_id: z.string(),
|
|
2406
2406
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2407
|
-
"2026-05-
|
|
2407
|
+
"2026-05-20T18:15:40.262Z",
|
|
2408
2408
|
).transform(v => new Date(v)),
|
|
2409
2409
|
type: z.literal("number"),
|
|
2410
2410
|
value: z.number(),
|
|
@@ -2449,7 +2449,7 @@ export const UpdateDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
2449
2449
|
source: UpdateDatapointEvaluationsSource$inboundSchema.default("orq"),
|
|
2450
2450
|
reviewed_by_id: z.string(),
|
|
2451
2451
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2452
|
-
"2026-05-
|
|
2452
|
+
"2026-05-20T18:15:40.262Z",
|
|
2453
2453
|
).transform(v => new Date(v)),
|
|
2454
2454
|
type: z.literal("string"),
|
|
2455
2455
|
value: z.string(),
|
|
@@ -2530,7 +2530,7 @@ export const UpdateDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
2530
2530
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2531
2531
|
.optional(),
|
|
2532
2532
|
updated: z.string().datetime({ offset: true }).default(
|
|
2533
|
-
"2026-05-
|
|
2533
|
+
"2026-05-20T18:15:26.005Z",
|
|
2534
2534
|
).transform(v => new Date(v)),
|
|
2535
2535
|
}).transform((v) => {
|
|
2536
2536
|
return remap$(v, {
|
|
@@ -182,7 +182,7 @@ export const UpdateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
182
182
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
183
183
|
.optional(),
|
|
184
184
|
updated: z.string().datetime({ offset: true }).default(
|
|
185
|
-
"2026-05-
|
|
185
|
+
"2026-05-20T18:15:26.005Z",
|
|
186
186
|
).transform(v => new Date(v)),
|
|
187
187
|
}).transform((v) => {
|
|
188
188
|
return remap$(v, {
|
|
@@ -152,7 +152,7 @@ export const UpdateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
152
152
|
z.ZodTypeDef,
|
|
153
153
|
unknown
|
|
154
154
|
> = z.object({
|
|
155
|
-
_id: z.string().default("
|
|
155
|
+
_id: z.string().default("01KS39KECQADJR95W5EPX3S6Y5"),
|
|
156
156
|
display_name: z.string(),
|
|
157
157
|
description: z.string().optional(),
|
|
158
158
|
status: UpdateDatasourceStatus$inboundSchema,
|
|
@@ -1541,8 +1541,8 @@ export const ResponseBodyTypescript$inboundSchema: z.ZodType<
|
|
|
1541
1541
|
> = z.object({
|
|
1542
1542
|
_id: z.string(),
|
|
1543
1543
|
description: z.string(),
|
|
1544
|
-
created: z.string().default("2026-05-
|
|
1545
|
-
updated: z.string().default("2026-05-
|
|
1544
|
+
created: z.string().default("2026-05-20T18:15:27.999Z"),
|
|
1545
|
+
updated: z.string().default("2026-05-20T18:15:27.999Z"),
|
|
1546
1546
|
guardrail_config: z.nullable(
|
|
1547
1547
|
z.union([
|
|
1548
1548
|
z.lazy(() =>
|
|
@@ -1735,8 +1735,8 @@ export const ResponseBodyRagas$inboundSchema: z.ZodType<
|
|
|
1735
1735
|
> = z.object({
|
|
1736
1736
|
_id: z.string(),
|
|
1737
1737
|
description: z.string(),
|
|
1738
|
-
created: z.string().default("2026-05-
|
|
1739
|
-
updated: z.string().default("2026-05-
|
|
1738
|
+
created: z.string().default("2026-05-20T18:15:27.999Z"),
|
|
1739
|
+
updated: z.string().default("2026-05-20T18:15:27.999Z"),
|
|
1740
1740
|
guardrail_config: z.nullable(
|
|
1741
1741
|
z.union([
|
|
1742
1742
|
z.lazy(() =>
|
|
@@ -2592,8 +2592,8 @@ export const ResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
2592
2592
|
> = z.object({
|
|
2593
2593
|
_id: z.string(),
|
|
2594
2594
|
description: z.string(),
|
|
2595
|
-
created: z.string().default("2026-05-
|
|
2596
|
-
updated: z.string().default("2026-05-
|
|
2595
|
+
created: z.string().default("2026-05-20T18:15:27.999Z"),
|
|
2596
|
+
updated: z.string().default("2026-05-20T18:15:27.999Z"),
|
|
2597
2597
|
guardrail_config: z.nullable(
|
|
2598
2598
|
z.union([
|
|
2599
2599
|
z.lazy(() =>
|
|
@@ -2809,8 +2809,8 @@ export const UpdateEvalResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
2809
2809
|
> = z.object({
|
|
2810
2810
|
_id: z.string(),
|
|
2811
2811
|
description: z.string(),
|
|
2812
|
-
created: z.string().default("2026-05-
|
|
2813
|
-
updated: z.string().default("2026-05-
|
|
2812
|
+
created: z.string().default("2026-05-20T18:15:27.999Z"),
|
|
2813
|
+
updated: z.string().default("2026-05-20T18:15:27.999Z"),
|
|
2814
2814
|
guardrail_config: z.nullable(
|
|
2815
2815
|
z.union([
|
|
2816
2816
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -2976,8 +2976,8 @@ export const UpdateEvalResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
2976
2976
|
> = z.object({
|
|
2977
2977
|
_id: z.string(),
|
|
2978
2978
|
description: z.string(),
|
|
2979
|
-
created: z.string().default("2026-05-
|
|
2980
|
-
updated: z.string().default("2026-05-
|
|
2979
|
+
created: z.string().default("2026-05-20T18:15:27.999Z"),
|
|
2980
|
+
updated: z.string().default("2026-05-20T18:15:27.999Z"),
|
|
2981
2981
|
guardrail_config: z.nullable(
|
|
2982
2982
|
z.union([
|
|
2983
2983
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsBoolean$inboundSchema),
|
|
@@ -3128,8 +3128,8 @@ export const UpdateEvalResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
3128
3128
|
> = z.object({
|
|
3129
3129
|
_id: z.string(),
|
|
3130
3130
|
description: z.string(),
|
|
3131
|
-
created: z.string().default("2026-05-
|
|
3132
|
-
updated: z.string().default("2026-05-
|
|
3131
|
+
created: z.string().default("2026-05-20T18:15:27.999Z"),
|
|
3132
|
+
updated: z.string().default("2026-05-20T18:15:27.999Z"),
|
|
3133
3133
|
guardrail_config: z.nullable(
|
|
3134
3134
|
z.union([
|
|
3135
3135
|
z.lazy(() => UpdateEvalGuardrailConfigBoolean$inboundSchema),
|
|
@@ -3489,8 +3489,8 @@ export const UpdateEvalLlm2$inboundSchema: z.ZodType<
|
|
|
3489
3489
|
> = z.object({
|
|
3490
3490
|
_id: z.string(),
|
|
3491
3491
|
description: z.string(),
|
|
3492
|
-
created: z.string().default("2026-05-
|
|
3493
|
-
updated: z.string().default("2026-05-
|
|
3492
|
+
created: z.string().default("2026-05-20T18:15:27.999Z"),
|
|
3493
|
+
updated: z.string().default("2026-05-20T18:15:27.999Z"),
|
|
3494
3494
|
guardrail_config: z.nullable(
|
|
3495
3495
|
z.union([
|
|
3496
3496
|
z.lazy(() =>
|
|
@@ -3698,8 +3698,8 @@ export const UpdateEvalLlm1$inboundSchema: z.ZodType<
|
|
|
3698
3698
|
> = z.object({
|
|
3699
3699
|
_id: z.string(),
|
|
3700
3700
|
description: z.string(),
|
|
3701
|
-
created: z.string().default("2026-05-
|
|
3702
|
-
updated: z.string().default("2026-05-
|
|
3701
|
+
created: z.string().default("2026-05-20T18:15:27.999Z"),
|
|
3702
|
+
updated: z.string().default("2026-05-20T18:15:27.999Z"),
|
|
3703
3703
|
guardrail_config: z.nullable(
|
|
3704
3704
|
z.union([
|
|
3705
3705
|
z.lazy(() =>
|
|
@@ -167,7 +167,7 @@ export const UpdateIdentityResponseBody$inboundSchema: z.ZodType<
|
|
|
167
167
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
168
168
|
.optional(),
|
|
169
169
|
updated: z.string().datetime({ offset: true }).default(
|
|
170
|
-
"2026-05-
|
|
170
|
+
"2026-05-20T18:15:26.005Z",
|
|
171
171
|
).transform(v => new Date(v)),
|
|
172
172
|
}).transform((v) => {
|
|
173
173
|
return remap$(v, {
|
|
@@ -1472,7 +1472,7 @@ export const RequestBodyTools$outboundSchema: z.ZodType<
|
|
|
1472
1472
|
z.ZodTypeDef,
|
|
1473
1473
|
RequestBodyTools
|
|
1474
1474
|
> = z.object({
|
|
1475
|
-
id: z.string().default("
|
|
1475
|
+
id: z.string().default("01KS39KE9FPGCXWV1CR1M412F8"),
|
|
1476
1476
|
name: z.string(),
|
|
1477
1477
|
description: z.string().optional(),
|
|
1478
1478
|
schema: z.lazy(() => UpdateToolRequestBodyToolsSchema$outboundSchema),
|
|
@@ -2193,7 +2193,7 @@ export const UpdateToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
2193
2193
|
z.ZodTypeDef,
|
|
2194
2194
|
unknown
|
|
2195
2195
|
> = z.object({
|
|
2196
|
-
_id: z.string().default("
|
|
2196
|
+
_id: z.string().default("tool_01KS39KE9BTTW5102ASWYDYC37"),
|
|
2197
2197
|
path: z.string(),
|
|
2198
2198
|
key: z.string(),
|
|
2199
2199
|
display_name: z.string().optional(),
|
|
@@ -2296,7 +2296,7 @@ export const UpdateToolResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
2296
2296
|
z.ZodTypeDef,
|
|
2297
2297
|
unknown
|
|
2298
2298
|
> = z.object({
|
|
2299
|
-
id: z.string().default("
|
|
2299
|
+
id: z.string().default("01KS39KE9AJH64G26EGD5HH5T8"),
|
|
2300
2300
|
name: z.string(),
|
|
2301
2301
|
description: z.string().optional(),
|
|
2302
2302
|
schema: z.lazy(() => UpdateToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -2354,7 +2354,7 @@ export const UpdateToolResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
2354
2354
|
z.ZodTypeDef,
|
|
2355
2355
|
unknown
|
|
2356
2356
|
> = z.object({
|
|
2357
|
-
_id: z.string().default("
|
|
2357
|
+
_id: z.string().default("tool_01KS39KE9964HV8J1PPVYEHGVZ"),
|
|
2358
2358
|
path: z.string(),
|
|
2359
2359
|
key: z.string(),
|
|
2360
2360
|
display_name: z.string().optional(),
|
|
@@ -2543,7 +2543,7 @@ export const UpdateToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
2543
2543
|
z.ZodTypeDef,
|
|
2544
2544
|
unknown
|
|
2545
2545
|
> = z.object({
|
|
2546
|
-
_id: z.string().default("
|
|
2546
|
+
_id: z.string().default("tool_01KS39KE98ZWX5M8J9QG2X3RFY"),
|
|
2547
2547
|
path: z.string(),
|
|
2548
2548
|
key: z.string(),
|
|
2549
2549
|
display_name: z.string().optional(),
|
|
@@ -2638,7 +2638,7 @@ export const UpdateToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2638
2638
|
z.ZodTypeDef,
|
|
2639
2639
|
unknown
|
|
2640
2640
|
> = z.object({
|
|
2641
|
-
_id: z.string().default("
|
|
2641
|
+
_id: z.string().default("tool_01KS39KE9746M105KTBPH1ANRX"),
|
|
2642
2642
|
path: z.string(),
|
|
2643
2643
|
key: z.string(),
|
|
2644
2644
|
display_name: z.string().optional(),
|
|
@@ -2741,7 +2741,7 @@ export const UpdateToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2741
2741
|
z.ZodTypeDef,
|
|
2742
2742
|
unknown
|
|
2743
2743
|
> = z.object({
|
|
2744
|
-
_id: z.string().default("
|
|
2744
|
+
_id: z.string().default("tool_01KS39KE96HDSSA8BJF1W7JRT8"),
|
|
2745
2745
|
path: z.string(),
|
|
2746
2746
|
key: z.string(),
|
|
2747
2747
|
display_name: z.string().optional(),
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod/v3";
|
|
6
|
-
import { OrqError } from "./orqerror.js";
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Identity not found
|
|
10
|
-
*/
|
|
11
|
-
export type DeleteIdentityResponseBodyData = {
|
|
12
|
-
/**
|
|
13
|
-
* Error message
|
|
14
|
-
*/
|
|
15
|
-
error: string;
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Identity not found
|
|
20
|
-
*/
|
|
21
|
-
export class DeleteIdentityResponseBody extends OrqError {
|
|
22
|
-
/**
|
|
23
|
-
* Error message
|
|
24
|
-
*/
|
|
25
|
-
error: string;
|
|
26
|
-
|
|
27
|
-
/** The original data that was passed to this error instance. */
|
|
28
|
-
data$: DeleteIdentityResponseBodyData;
|
|
29
|
-
|
|
30
|
-
constructor(
|
|
31
|
-
err: DeleteIdentityResponseBodyData,
|
|
32
|
-
httpMeta: { response: Response; request: Request; body: string },
|
|
33
|
-
) {
|
|
34
|
-
const message = "message" in err && typeof err.message === "string"
|
|
35
|
-
? err.message
|
|
36
|
-
: `API error occurred: ${JSON.stringify(err)}`;
|
|
37
|
-
super(message, httpMeta);
|
|
38
|
-
this.data$ = err;
|
|
39
|
-
this.error = err.error;
|
|
40
|
-
|
|
41
|
-
this.name = "DeleteIdentityResponseBody";
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
/** @internal */
|
|
46
|
-
export const DeleteIdentityResponseBody$inboundSchema: z.ZodType<
|
|
47
|
-
DeleteIdentityResponseBody,
|
|
48
|
-
z.ZodTypeDef,
|
|
49
|
-
unknown
|
|
50
|
-
> = z.object({
|
|
51
|
-
error: z.string(),
|
|
52
|
-
request$: z.instanceof(Request),
|
|
53
|
-
response$: z.instanceof(Response),
|
|
54
|
-
body$: z.string(),
|
|
55
|
-
})
|
|
56
|
-
.transform((v) => {
|
|
57
|
-
return new DeleteIdentityResponseBody(v, {
|
|
58
|
-
request: v.request$,
|
|
59
|
-
response: v.response$,
|
|
60
|
-
body: v.body$,
|
|
61
|
-
});
|
|
62
|
-
});
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod/v3";
|
|
6
|
-
import { OrqError } from "./orqerror.js";
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Failed to fetch metrics
|
|
10
|
-
*/
|
|
11
|
-
export type RetrieveIdentityIdentitiesResponseBodyData = {
|
|
12
|
-
/**
|
|
13
|
-
* Error message
|
|
14
|
-
*/
|
|
15
|
-
error: string;
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Failed to fetch metrics
|
|
20
|
-
*/
|
|
21
|
-
export class RetrieveIdentityIdentitiesResponseBody extends OrqError {
|
|
22
|
-
/**
|
|
23
|
-
* Error message
|
|
24
|
-
*/
|
|
25
|
-
error: string;
|
|
26
|
-
|
|
27
|
-
/** The original data that was passed to this error instance. */
|
|
28
|
-
data$: RetrieveIdentityIdentitiesResponseBodyData;
|
|
29
|
-
|
|
30
|
-
constructor(
|
|
31
|
-
err: RetrieveIdentityIdentitiesResponseBodyData,
|
|
32
|
-
httpMeta: { response: Response; request: Request; body: string },
|
|
33
|
-
) {
|
|
34
|
-
const message = "message" in err && typeof err.message === "string"
|
|
35
|
-
? err.message
|
|
36
|
-
: `API error occurred: ${JSON.stringify(err)}`;
|
|
37
|
-
super(message, httpMeta);
|
|
38
|
-
this.data$ = err;
|
|
39
|
-
this.error = err.error;
|
|
40
|
-
|
|
41
|
-
this.name = "RetrieveIdentityIdentitiesResponseBody";
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* Identity not found
|
|
47
|
-
*/
|
|
48
|
-
export type RetrieveIdentityResponseBodyData = {
|
|
49
|
-
/**
|
|
50
|
-
* Error message
|
|
51
|
-
*/
|
|
52
|
-
error: string;
|
|
53
|
-
};
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* Identity not found
|
|
57
|
-
*/
|
|
58
|
-
export class RetrieveIdentityResponseBody extends OrqError {
|
|
59
|
-
/**
|
|
60
|
-
* Error message
|
|
61
|
-
*/
|
|
62
|
-
error: string;
|
|
63
|
-
|
|
64
|
-
/** The original data that was passed to this error instance. */
|
|
65
|
-
data$: RetrieveIdentityResponseBodyData;
|
|
66
|
-
|
|
67
|
-
constructor(
|
|
68
|
-
err: RetrieveIdentityResponseBodyData,
|
|
69
|
-
httpMeta: { response: Response; request: Request; body: string },
|
|
70
|
-
) {
|
|
71
|
-
const message = "message" in err && typeof err.message === "string"
|
|
72
|
-
? err.message
|
|
73
|
-
: `API error occurred: ${JSON.stringify(err)}`;
|
|
74
|
-
super(message, httpMeta);
|
|
75
|
-
this.data$ = err;
|
|
76
|
-
this.error = err.error;
|
|
77
|
-
|
|
78
|
-
this.name = "RetrieveIdentityResponseBody";
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
/** @internal */
|
|
83
|
-
export const RetrieveIdentityIdentitiesResponseBody$inboundSchema: z.ZodType<
|
|
84
|
-
RetrieveIdentityIdentitiesResponseBody,
|
|
85
|
-
z.ZodTypeDef,
|
|
86
|
-
unknown
|
|
87
|
-
> = z.object({
|
|
88
|
-
error: z.string(),
|
|
89
|
-
request$: z.instanceof(Request),
|
|
90
|
-
response$: z.instanceof(Response),
|
|
91
|
-
body$: z.string(),
|
|
92
|
-
})
|
|
93
|
-
.transform((v) => {
|
|
94
|
-
return new RetrieveIdentityIdentitiesResponseBody(v, {
|
|
95
|
-
request: v.request$,
|
|
96
|
-
response: v.response$,
|
|
97
|
-
body: v.body$,
|
|
98
|
-
});
|
|
99
|
-
});
|
|
100
|
-
|
|
101
|
-
/** @internal */
|
|
102
|
-
export const RetrieveIdentityResponseBody$inboundSchema: z.ZodType<
|
|
103
|
-
RetrieveIdentityResponseBody,
|
|
104
|
-
z.ZodTypeDef,
|
|
105
|
-
unknown
|
|
106
|
-
> = z.object({
|
|
107
|
-
error: z.string(),
|
|
108
|
-
request$: z.instanceof(Request),
|
|
109
|
-
response$: z.instanceof(Response),
|
|
110
|
-
body$: z.string(),
|
|
111
|
-
})
|
|
112
|
-
.transform((v) => {
|
|
113
|
-
return new RetrieveIdentityResponseBody(v, {
|
|
114
|
-
request: v.request$,
|
|
115
|
-
response: v.response$,
|
|
116
|
-
body: v.body$,
|
|
117
|
-
});
|
|
118
|
-
});
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod/v3";
|
|
6
|
-
import { OrqError } from "./orqerror.js";
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Identity not found
|
|
10
|
-
*/
|
|
11
|
-
export type UpdateIdentityResponseBodyData = {
|
|
12
|
-
/**
|
|
13
|
-
* Error message
|
|
14
|
-
*/
|
|
15
|
-
message: string;
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Identity not found
|
|
20
|
-
*/
|
|
21
|
-
export class UpdateIdentityResponseBody extends OrqError {
|
|
22
|
-
/** The original data that was passed to this error instance. */
|
|
23
|
-
data$: UpdateIdentityResponseBodyData;
|
|
24
|
-
|
|
25
|
-
constructor(
|
|
26
|
-
err: UpdateIdentityResponseBodyData,
|
|
27
|
-
httpMeta: { response: Response; request: Request; body: string },
|
|
28
|
-
) {
|
|
29
|
-
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
30
|
-
super(message, httpMeta);
|
|
31
|
-
this.data$ = err;
|
|
32
|
-
|
|
33
|
-
this.name = "UpdateIdentityResponseBody";
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/** @internal */
|
|
38
|
-
export const UpdateIdentityResponseBody$inboundSchema: z.ZodType<
|
|
39
|
-
UpdateIdentityResponseBody,
|
|
40
|
-
z.ZodTypeDef,
|
|
41
|
-
unknown
|
|
42
|
-
> = z.object({
|
|
43
|
-
message: z.string(),
|
|
44
|
-
request$: z.instanceof(Request),
|
|
45
|
-
response$: z.instanceof(Response),
|
|
46
|
-
body$: z.string(),
|
|
47
|
-
})
|
|
48
|
-
.transform((v) => {
|
|
49
|
-
return new UpdateIdentityResponseBody(v, {
|
|
50
|
-
request: v.request$,
|
|
51
|
-
response: v.response$,
|
|
52
|
-
body: v.body$,
|
|
53
|
-
});
|
|
54
|
-
});
|
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod/v3";
|
|
6
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* Update user information payload
|
|
13
|
-
*/
|
|
14
|
-
export type CreateContactRequestBody = {
|
|
15
|
-
/**
|
|
16
|
-
* Unique string value to identify the contact user in the customer's system. This should be the same ID you use in your system to reference this user.
|
|
17
|
-
*/
|
|
18
|
-
externalId: string;
|
|
19
|
-
/**
|
|
20
|
-
* Display name or nickname of the contact user. This is typically shown in user interfaces.
|
|
21
|
-
*/
|
|
22
|
-
displayName?: string | null | undefined;
|
|
23
|
-
/**
|
|
24
|
-
* Email address of the contact user
|
|
25
|
-
*/
|
|
26
|
-
email?: string | null | undefined;
|
|
27
|
-
/**
|
|
28
|
-
* URL linking to the contact user's avatar image
|
|
29
|
-
*/
|
|
30
|
-
avatarUrl?: string | null | undefined;
|
|
31
|
-
/**
|
|
32
|
-
* Array of tags associated with the contact. Useful for organizing and filtering contacts by categories, departments, or custom classifications.
|
|
33
|
-
*/
|
|
34
|
-
tags?: Array<string> | undefined;
|
|
35
|
-
/**
|
|
36
|
-
* Additional custom metadata associated with the contact as key-value pairs. Use this to store any extra information specific to your application.
|
|
37
|
-
*/
|
|
38
|
-
metadata?: { [k: string]: any } | undefined;
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* Successful operation
|
|
43
|
-
*/
|
|
44
|
-
export type CreateContactResponseBody = {
|
|
45
|
-
/**
|
|
46
|
-
* Unique ULID (Universally Unique Lexicographically Sortable Identifier) for the contact
|
|
47
|
-
*/
|
|
48
|
-
id: string;
|
|
49
|
-
/**
|
|
50
|
-
* Unique string value to identify the contact user in the customer's system. This should be the same ID you use in your system to reference this user.
|
|
51
|
-
*/
|
|
52
|
-
externalId: string;
|
|
53
|
-
/**
|
|
54
|
-
* Display name or nickname of the contact user. This is typically shown in user interfaces.
|
|
55
|
-
*/
|
|
56
|
-
displayName?: string | null | undefined;
|
|
57
|
-
/**
|
|
58
|
-
* Email address of the contact user
|
|
59
|
-
*/
|
|
60
|
-
email?: string | null | undefined;
|
|
61
|
-
/**
|
|
62
|
-
* URL linking to the contact user's avatar image
|
|
63
|
-
*/
|
|
64
|
-
avatarUrl?: string | null | undefined;
|
|
65
|
-
/**
|
|
66
|
-
* Array of tags associated with the contact. Useful for organizing and filtering contacts by categories, departments, or custom classifications.
|
|
67
|
-
*/
|
|
68
|
-
tags?: Array<string> | undefined;
|
|
69
|
-
/**
|
|
70
|
-
* Additional custom metadata associated with the contact as key-value pairs. Use this to store any extra information specific to your application.
|
|
71
|
-
*/
|
|
72
|
-
metadata?: { [k: string]: any } | undefined;
|
|
73
|
-
/**
|
|
74
|
-
* The date and time the resource was created
|
|
75
|
-
*/
|
|
76
|
-
created?: Date | undefined;
|
|
77
|
-
/**
|
|
78
|
-
* The date and time the resource was last updated
|
|
79
|
-
*/
|
|
80
|
-
updated: Date;
|
|
81
|
-
};
|
|
82
|
-
|
|
83
|
-
/** @internal */
|
|
84
|
-
export type CreateContactRequestBody$Outbound = {
|
|
85
|
-
external_id: string;
|
|
86
|
-
display_name?: string | null | undefined;
|
|
87
|
-
email?: string | null | undefined;
|
|
88
|
-
avatar_url?: string | null | undefined;
|
|
89
|
-
tags?: Array<string> | undefined;
|
|
90
|
-
metadata?: { [k: string]: any } | undefined;
|
|
91
|
-
};
|
|
92
|
-
|
|
93
|
-
/** @internal */
|
|
94
|
-
export const CreateContactRequestBody$outboundSchema: z.ZodType<
|
|
95
|
-
CreateContactRequestBody$Outbound,
|
|
96
|
-
z.ZodTypeDef,
|
|
97
|
-
CreateContactRequestBody
|
|
98
|
-
> = z.object({
|
|
99
|
-
externalId: z.string(),
|
|
100
|
-
displayName: z.nullable(z.string()).optional(),
|
|
101
|
-
email: z.nullable(z.string()).optional(),
|
|
102
|
-
avatarUrl: z.nullable(z.string()).optional(),
|
|
103
|
-
tags: z.array(z.string()).optional(),
|
|
104
|
-
metadata: z.record(z.any()).optional(),
|
|
105
|
-
}).transform((v) => {
|
|
106
|
-
return remap$(v, {
|
|
107
|
-
externalId: "external_id",
|
|
108
|
-
displayName: "display_name",
|
|
109
|
-
avatarUrl: "avatar_url",
|
|
110
|
-
});
|
|
111
|
-
});
|
|
112
|
-
|
|
113
|
-
export function createContactRequestBodyToJSON(
|
|
114
|
-
createContactRequestBody: CreateContactRequestBody,
|
|
115
|
-
): string {
|
|
116
|
-
return JSON.stringify(
|
|
117
|
-
CreateContactRequestBody$outboundSchema.parse(createContactRequestBody),
|
|
118
|
-
);
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
/** @internal */
|
|
122
|
-
export const CreateContactResponseBody$inboundSchema: z.ZodType<
|
|
123
|
-
CreateContactResponseBody,
|
|
124
|
-
z.ZodTypeDef,
|
|
125
|
-
unknown
|
|
126
|
-
> = z.object({
|
|
127
|
-
_id: z.string(),
|
|
128
|
-
external_id: z.string(),
|
|
129
|
-
display_name: z.nullable(z.string()).optional(),
|
|
130
|
-
email: z.nullable(z.string()).optional(),
|
|
131
|
-
avatar_url: z.nullable(z.string()).optional(),
|
|
132
|
-
tags: z.array(z.string()).optional(),
|
|
133
|
-
metadata: z.record(z.any()).optional(),
|
|
134
|
-
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
135
|
-
.optional(),
|
|
136
|
-
updated: z.string().datetime({ offset: true }).default(
|
|
137
|
-
"2026-05-19T14:38:12.201Z",
|
|
138
|
-
).transform(v => new Date(v)),
|
|
139
|
-
}).transform((v) => {
|
|
140
|
-
return remap$(v, {
|
|
141
|
-
"_id": "id",
|
|
142
|
-
"external_id": "externalId",
|
|
143
|
-
"display_name": "displayName",
|
|
144
|
-
"avatar_url": "avatarUrl",
|
|
145
|
-
});
|
|
146
|
-
});
|
|
147
|
-
|
|
148
|
-
export function createContactResponseBodyFromJSON(
|
|
149
|
-
jsonString: string,
|
|
150
|
-
): SafeParseResult<CreateContactResponseBody, SDKValidationError> {
|
|
151
|
-
return safeParse(
|
|
152
|
-
jsonString,
|
|
153
|
-
(x) => CreateContactResponseBody$inboundSchema.parse(JSON.parse(x)),
|
|
154
|
-
`Failed to parse 'CreateContactResponseBody' from JSON`,
|
|
155
|
-
);
|
|
156
|
-
}
|