@orq-ai/node 4.11.0-rc.52 → 4.11.0-rc.53
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/funcs/knowledgeList.js +1 -0
- package/funcs/knowledgeList.js.map +1 -1
- package/funcs/memoryStoresList.js +1 -0
- package/funcs/memoryStoresList.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/guardrailrule.d.ts +2 -0
- package/models/components/guardrailrule.d.ts.map +1 -1
- package/models/components/guardrailrule.js +2 -0
- package/models/components/guardrailrule.js.map +1 -1
- package/models/components/index.d.ts +5 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +5 -0
- package/models/components/index.js.map +1 -1
- package/models/components/piiredactionplugin.d.ts +14 -0
- package/models/components/piiredactionplugin.d.ts.map +1 -0
- package/models/components/piiredactionplugin.js +59 -0
- package/models/components/piiredactionplugin.js.map +1 -0
- package/models/components/piiredactionpluginen.d.ts +132 -0
- package/models/components/piiredactionpluginen.d.ts.map +1 -0
- package/models/components/piiredactionpluginen.js +159 -0
- package/models/components/piiredactionpluginen.js.map +1 -0
- package/models/components/piiredactionpluginnl.d.ts +124 -0
- package/models/components/piiredactionpluginnl.d.ts.map +1 -0
- package/models/components/piiredactionpluginnl.js +149 -0
- package/models/components/piiredactionpluginnl.js.map +1 -0
- package/models/components/plugin.d.ts +11 -0
- package/models/components/plugin.d.ts.map +1 -0
- package/models/components/plugin.js +57 -0
- package/models/components/plugin.js.map +1 -0
- package/models/components/publicpiiredactionplugin.d.ts +79 -0
- package/models/components/publicpiiredactionplugin.d.ts.map +1 -0
- package/models/components/publicpiiredactionplugin.js +86 -0
- package/models/components/publicpiiredactionplugin.js.map +1 -0
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createagentrequest.d.ts +38 -0
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +57 -5
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createchatcompletion.d.ts +11 -0
- package/models/operations/createchatcompletion.d.ts.map +1 -1
- package/models/operations/createchatcompletion.js +16 -3
- package/models/operations/createchatcompletion.js.map +1 -1
- package/models/operations/createcompletion.d.ts +11 -0
- package/models/operations/createcompletion.d.ts.map +1 -1
- package/models/operations/createcompletion.js +16 -3
- package/models/operations/createcompletion.js.map +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/createimage.d.ts +11 -0
- package/models/operations/createimage.d.ts.map +1 -1
- package/models/operations/createimage.js +14 -1
- package/models/operations/createimage.js.map +1 -1
- package/models/operations/createprompt.d.ts +19 -0
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +29 -3
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/creatererank.d.ts +11 -0
- package/models/operations/creatererank.d.ts.map +1 -1
- package/models/operations/creatererank.js +14 -1
- package/models/operations/creatererank.js.map +1 -1
- package/models/operations/createrouterresponse.d.ts +5 -0
- package/models/operations/createrouterresponse.d.ts.map +1 -1
- package/models/operations/createrouterresponse.js +1 -0
- package/models/operations/createrouterresponse.js.map +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/getallmemorystores.d.ts +5 -0
- package/models/operations/getallmemorystores.d.ts.map +1 -1
- package/models/operations/getallmemorystores.js +2 -0
- package/models/operations/getallmemorystores.js.map +1 -1
- package/models/operations/getallprompts.d.ts +8 -0
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +14 -1
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.js +16 -16
- package/models/operations/getoneprompt.d.ts +8 -0
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +15 -2
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +8 -0
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +15 -2
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/guardrailrulecreate.d.ts +1 -0
- package/models/operations/guardrailrulecreate.d.ts.map +1 -1
- package/models/operations/guardrailrulecreate.js +1 -0
- package/models/operations/guardrailrulecreate.js.map +1 -1
- package/models/operations/guardrailruleget.d.ts +1 -0
- package/models/operations/guardrailruleget.d.ts.map +1 -1
- package/models/operations/guardrailruleget.js +1 -0
- package/models/operations/guardrailruleget.js.map +1 -1
- package/models/operations/guardrailruleupdate.d.ts +1 -0
- package/models/operations/guardrailruleupdate.d.ts.map +1 -1
- package/models/operations/guardrailruleupdate.js +1 -0
- package/models/operations/guardrailruleupdate.js.map +1 -1
- package/models/operations/listagents.d.ts +16 -0
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +28 -2
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/listknowledgebases.d.ts +5 -0
- package/models/operations/listknowledgebases.d.ts.map +1 -1
- package/models/operations/listknowledgebases.js +2 -0
- package/models/operations/listknowledgebases.js.map +1 -1
- package/models/operations/listpromptversions.d.ts +8 -0
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +15 -2
- package/models/operations/listpromptversions.js.map +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/retrieveagentrequest.d.ts +16 -0
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +28 -2
- package/models/operations/retrieveagentrequest.js.map +1 -1
- package/models/operations/retrievedatapoint.js +4 -4
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.d.ts +22 -0
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +30 -4
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +22 -0
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +30 -4
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +38 -0
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +57 -5
- package/models/operations/updateagent.js.map +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/updateprompt.d.ts +19 -0
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +29 -3
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +6 -6
- package/sdk/feedback.d.ts +2 -2
- package/sdk/feedback.js +2 -2
- package/src/funcs/knowledgeList.ts +1 -0
- package/src/funcs/memoryStoresList.ts +1 -0
- package/src/lib/config.ts +2 -2
- package/src/models/components/guardrailrule.ts +3 -0
- package/src/models/components/index.ts +5 -0
- package/src/models/components/piiredactionplugin.ts +44 -0
- package/src/models/components/piiredactionpluginen.ts +193 -0
- package/src/models/components/piiredactionpluginnl.ts +197 -0
- package/src/models/components/plugin.ts +37 -0
- package/src/models/components/publicpiiredactionplugin.ts +127 -0
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createagentrequest.ts +167 -0
- package/src/models/operations/createchatcompletion.ts +47 -0
- package/src/models/operations/createcompletion.ts +45 -0
- 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/createimage.ts +45 -0
- package/src/models/operations/createprompt.ts +81 -0
- package/src/models/operations/creatererank.ts +45 -0
- package/src/models/operations/createrouterresponse.ts +11 -0
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/getallmemorystores.ts +7 -0
- package/src/models/operations/getallprompts.ts +36 -0
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +16 -16
- package/src/models/operations/getoneprompt.ts +36 -0
- package/src/models/operations/getpromptversion.ts +36 -0
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/guardrailrulecreate.ts +2 -0
- package/src/models/operations/guardrailruleget.ts +2 -0
- package/src/models/operations/guardrailruleupdate.ts +2 -0
- package/src/models/operations/listagents.ts +79 -0
- 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/listknowledgebases.ts +7 -0
- package/src/models/operations/listpromptversions.ts +36 -0
- 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/retrieveagentrequest.ts +79 -0
- 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/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +97 -1
- package/src/models/operations/streamrunagent.ts +98 -1
- package/src/models/operations/updateagent.ts +173 -0
- 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/updateprompt.ts +81 -0
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/feedback.ts +2 -2
|
@@ -141,7 +141,7 @@ export const GetV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
|
|
|
141
141
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
142
142
|
.optional(),
|
|
143
143
|
updated: z.string().datetime({ offset: true }).default(
|
|
144
|
-
"2026-06-
|
|
144
|
+
"2026-06-29T06:24:56.736Z",
|
|
145
145
|
).transform(v => new Date(v)),
|
|
146
146
|
filter_type: z.literal("name"),
|
|
147
147
|
filter_value: z.string(),
|
|
@@ -186,7 +186,7 @@ export const GetV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
|
|
|
186
186
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
187
187
|
.optional(),
|
|
188
188
|
updated: z.string().datetime({ offset: true }).default(
|
|
189
|
-
"2026-06-
|
|
189
|
+
"2026-06-29T06:24:56.736Z",
|
|
190
190
|
).transform(v => new Date(v)),
|
|
191
191
|
filter_type: z.literal("span_type"),
|
|
192
192
|
filter_values: z.array(z.string()),
|
|
@@ -34,6 +34,7 @@ export type GuardrailRuleCreateResponseBody = {
|
|
|
34
34
|
enabled: boolean;
|
|
35
35
|
expression?: components.Expression | undefined;
|
|
36
36
|
guardrails?: Array<components.GuardrailRef> | null | undefined;
|
|
37
|
+
plugins?: Array<components.Plugin> | null | undefined;
|
|
37
38
|
projectId: string;
|
|
38
39
|
timeout: number;
|
|
39
40
|
updatedAt: Date;
|
|
@@ -97,6 +98,7 @@ export const GuardrailRuleCreateResponseBody$inboundSchema: z.ZodType<
|
|
|
97
98
|
expression: components.Expression$inboundSchema.optional(),
|
|
98
99
|
guardrails: z.nullable(z.array(components.GuardrailRef$inboundSchema))
|
|
99
100
|
.optional(),
|
|
101
|
+
plugins: z.nullable(z.array(components.Plugin$inboundSchema)).optional(),
|
|
100
102
|
project_id: z.string(),
|
|
101
103
|
timeout: z.number().int(),
|
|
102
104
|
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
@@ -28,6 +28,7 @@ export type GuardrailRuleGetResponseBody = {
|
|
|
28
28
|
enabled: boolean;
|
|
29
29
|
expression?: components.Expression | undefined;
|
|
30
30
|
guardrails?: Array<components.GuardrailRef> | null | undefined;
|
|
31
|
+
plugins?: Array<components.Plugin> | null | undefined;
|
|
31
32
|
projectId: string;
|
|
32
33
|
timeout: number;
|
|
33
34
|
updatedAt: Date;
|
|
@@ -75,6 +76,7 @@ export const GuardrailRuleGetResponseBody$inboundSchema: z.ZodType<
|
|
|
75
76
|
expression: components.Expression$inboundSchema.optional(),
|
|
76
77
|
guardrails: z.nullable(z.array(components.GuardrailRef$inboundSchema))
|
|
77
78
|
.optional(),
|
|
79
|
+
plugins: z.nullable(z.array(components.Plugin$inboundSchema)).optional(),
|
|
78
80
|
project_id: z.string(),
|
|
79
81
|
timeout: z.number().int(),
|
|
80
82
|
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
@@ -38,6 +38,7 @@ export type GuardrailRuleUpdateResponseBody = {
|
|
|
38
38
|
enabled: boolean;
|
|
39
39
|
expression?: components.Expression | undefined;
|
|
40
40
|
guardrails?: Array<components.GuardrailRef> | null | undefined;
|
|
41
|
+
plugins?: Array<components.Plugin> | null | undefined;
|
|
41
42
|
projectId: string;
|
|
42
43
|
timeout: number;
|
|
43
44
|
updatedAt: Date;
|
|
@@ -126,6 +127,7 @@ export const GuardrailRuleUpdateResponseBody$inboundSchema: z.ZodType<
|
|
|
126
127
|
expression: components.Expression$inboundSchema.optional(),
|
|
127
128
|
guardrails: z.nullable(z.array(components.GuardrailRef$inboundSchema))
|
|
128
129
|
.optional(),
|
|
130
|
+
plugins: z.nullable(z.array(components.Plugin$inboundSchema)).optional(),
|
|
129
131
|
project_id: z.string(),
|
|
130
132
|
timeout: z.number().int(),
|
|
131
133
|
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
@@ -434,6 +434,10 @@ export type ListAgentsAgentsGuardrails = {
|
|
|
434
434
|
executeOn: ListAgentsAgentsResponseExecuteOn;
|
|
435
435
|
};
|
|
436
436
|
|
|
437
|
+
export type ListAgentsPlugins =
|
|
438
|
+
| components.PIIRedactionPluginEn
|
|
439
|
+
| components.PIIRedactionPluginNl;
|
|
440
|
+
|
|
437
441
|
export type ListAgentsFallbacks = {
|
|
438
442
|
/**
|
|
439
443
|
* Fallback model identifier
|
|
@@ -649,6 +653,12 @@ export type ListAgentsParameters = {
|
|
|
649
653
|
* A list of guardrails to apply to the request.
|
|
650
654
|
*/
|
|
651
655
|
guardrails?: Array<ListAgentsAgentsGuardrails> | undefined;
|
|
656
|
+
/**
|
|
657
|
+
* Request-scoped transforms applied to the text exchanged with the model. Currently supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response.
|
|
658
|
+
*/
|
|
659
|
+
plugins?:
|
|
660
|
+
| Array<components.PIIRedactionPluginEn | components.PIIRedactionPluginNl>
|
|
661
|
+
| undefined;
|
|
652
662
|
/**
|
|
653
663
|
* Array of fallback models to use if primary model fails
|
|
654
664
|
*/
|
|
@@ -881,6 +891,10 @@ export type ListAgentsFallbackModelConfigurationGuardrails = {
|
|
|
881
891
|
executeOn: ListAgentsFallbackModelConfigurationExecuteOn;
|
|
882
892
|
};
|
|
883
893
|
|
|
894
|
+
export type ListAgentsFallbackModelConfigurationPlugins =
|
|
895
|
+
| components.PIIRedactionPluginEn
|
|
896
|
+
| components.PIIRedactionPluginNl;
|
|
897
|
+
|
|
884
898
|
export type ListAgentsFallbackModelConfigurationFallbacks = {
|
|
885
899
|
/**
|
|
886
900
|
* Fallback model identifier
|
|
@@ -1111,6 +1125,12 @@ export type ListAgentsFallbackModelConfigurationParameters = {
|
|
|
1111
1125
|
guardrails?:
|
|
1112
1126
|
| Array<ListAgentsFallbackModelConfigurationGuardrails>
|
|
1113
1127
|
| undefined;
|
|
1128
|
+
/**
|
|
1129
|
+
* Request-scoped transforms applied to the text exchanged with the model. Currently supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response.
|
|
1130
|
+
*/
|
|
1131
|
+
plugins?:
|
|
1132
|
+
| Array<components.PIIRedactionPluginEn | components.PIIRedactionPluginNl>
|
|
1133
|
+
| undefined;
|
|
1114
1134
|
/**
|
|
1115
1135
|
* Array of fallback models to use if primary model fails
|
|
1116
1136
|
*/
|
|
@@ -1844,6 +1864,26 @@ export function listAgentsAgentsGuardrailsFromJSON(
|
|
|
1844
1864
|
);
|
|
1845
1865
|
}
|
|
1846
1866
|
|
|
1867
|
+
/** @internal */
|
|
1868
|
+
export const ListAgentsPlugins$inboundSchema: z.ZodType<
|
|
1869
|
+
ListAgentsPlugins,
|
|
1870
|
+
z.ZodTypeDef,
|
|
1871
|
+
unknown
|
|
1872
|
+
> = z.union([
|
|
1873
|
+
components.PIIRedactionPluginEn$inboundSchema,
|
|
1874
|
+
components.PIIRedactionPluginNl$inboundSchema,
|
|
1875
|
+
]);
|
|
1876
|
+
|
|
1877
|
+
export function listAgentsPluginsFromJSON(
|
|
1878
|
+
jsonString: string,
|
|
1879
|
+
): SafeParseResult<ListAgentsPlugins, SDKValidationError> {
|
|
1880
|
+
return safeParse(
|
|
1881
|
+
jsonString,
|
|
1882
|
+
(x) => ListAgentsPlugins$inboundSchema.parse(JSON.parse(x)),
|
|
1883
|
+
`Failed to parse 'ListAgentsPlugins' from JSON`,
|
|
1884
|
+
);
|
|
1885
|
+
}
|
|
1886
|
+
|
|
1847
1887
|
/** @internal */
|
|
1848
1888
|
export const ListAgentsFallbacks$inboundSchema: z.ZodType<
|
|
1849
1889
|
ListAgentsFallbacks,
|
|
@@ -2040,6 +2080,12 @@ export const ListAgentsParameters$inboundSchema: z.ZodType<
|
|
|
2040
2080
|
.optional(),
|
|
2041
2081
|
guardrails: z.array(z.lazy(() => ListAgentsAgentsGuardrails$inboundSchema))
|
|
2042
2082
|
.optional(),
|
|
2083
|
+
plugins: z.array(
|
|
2084
|
+
z.union([
|
|
2085
|
+
components.PIIRedactionPluginEn$inboundSchema,
|
|
2086
|
+
components.PIIRedactionPluginNl$inboundSchema,
|
|
2087
|
+
]),
|
|
2088
|
+
).optional(),
|
|
2043
2089
|
fallbacks: z.array(z.lazy(() => ListAgentsFallbacks$inboundSchema))
|
|
2044
2090
|
.optional(),
|
|
2045
2091
|
cache: z.lazy(() => ListAgentsCache$inboundSchema).optional(),
|
|
@@ -2433,6 +2479,33 @@ export function listAgentsFallbackModelConfigurationGuardrailsFromJSON(
|
|
|
2433
2479
|
);
|
|
2434
2480
|
}
|
|
2435
2481
|
|
|
2482
|
+
/** @internal */
|
|
2483
|
+
export const ListAgentsFallbackModelConfigurationPlugins$inboundSchema:
|
|
2484
|
+
z.ZodType<
|
|
2485
|
+
ListAgentsFallbackModelConfigurationPlugins,
|
|
2486
|
+
z.ZodTypeDef,
|
|
2487
|
+
unknown
|
|
2488
|
+
> = z.union([
|
|
2489
|
+
components.PIIRedactionPluginEn$inboundSchema,
|
|
2490
|
+
components.PIIRedactionPluginNl$inboundSchema,
|
|
2491
|
+
]);
|
|
2492
|
+
|
|
2493
|
+
export function listAgentsFallbackModelConfigurationPluginsFromJSON(
|
|
2494
|
+
jsonString: string,
|
|
2495
|
+
): SafeParseResult<
|
|
2496
|
+
ListAgentsFallbackModelConfigurationPlugins,
|
|
2497
|
+
SDKValidationError
|
|
2498
|
+
> {
|
|
2499
|
+
return safeParse(
|
|
2500
|
+
jsonString,
|
|
2501
|
+
(x) =>
|
|
2502
|
+
ListAgentsFallbackModelConfigurationPlugins$inboundSchema.parse(
|
|
2503
|
+
JSON.parse(x),
|
|
2504
|
+
),
|
|
2505
|
+
`Failed to parse 'ListAgentsFallbackModelConfigurationPlugins' from JSON`,
|
|
2506
|
+
);
|
|
2507
|
+
}
|
|
2508
|
+
|
|
2436
2509
|
/** @internal */
|
|
2437
2510
|
export const ListAgentsFallbackModelConfigurationFallbacks$inboundSchema:
|
|
2438
2511
|
z.ZodType<
|
|
@@ -2675,6 +2748,12 @@ export const ListAgentsFallbackModelConfigurationParameters$inboundSchema:
|
|
|
2675
2748
|
ListAgentsFallbackModelConfigurationGuardrails$inboundSchema
|
|
2676
2749
|
),
|
|
2677
2750
|
).optional(),
|
|
2751
|
+
plugins: z.array(
|
|
2752
|
+
z.union([
|
|
2753
|
+
components.PIIRedactionPluginEn$inboundSchema,
|
|
2754
|
+
components.PIIRedactionPluginNl$inboundSchema,
|
|
2755
|
+
]),
|
|
2756
|
+
).optional(),
|
|
2678
2757
|
fallbacks: z.array(
|
|
2679
2758
|
z.lazy(() => ListAgentsFallbackModelConfigurationFallbacks$inboundSchema),
|
|
2680
2759
|
).optional(),
|
|
@@ -1522,7 +1522,7 @@ export const ListDatasetDatapointsEvaluations3$inboundSchema: z.ZodType<
|
|
|
1522
1522
|
explanation: z.string().optional(),
|
|
1523
1523
|
reviewed_by_id: z.string(),
|
|
1524
1524
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1525
|
-
"2026-06-
|
|
1525
|
+
"2026-06-29T06:25:25.303Z",
|
|
1526
1526
|
).transform(v => new Date(v)),
|
|
1527
1527
|
type: z.literal("string_array"),
|
|
1528
1528
|
values: z.array(z.string()),
|
|
@@ -1626,7 +1626,7 @@ export const ListDatasetDatapointsEvaluations2$inboundSchema: z.ZodType<
|
|
|
1626
1626
|
explanation: z.string().optional(),
|
|
1627
1627
|
reviewed_by_id: z.string(),
|
|
1628
1628
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1629
|
-
"2026-06-
|
|
1629
|
+
"2026-06-29T06:25:25.301Z",
|
|
1630
1630
|
).transform(v => new Date(v)),
|
|
1631
1631
|
type: z.literal("number"),
|
|
1632
1632
|
value: z.number(),
|
|
@@ -1726,7 +1726,7 @@ export const ListDatasetDatapointsEvaluations1$inboundSchema: z.ZodType<
|
|
|
1726
1726
|
explanation: z.string().optional(),
|
|
1727
1727
|
reviewed_by_id: z.string(),
|
|
1728
1728
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1729
|
-
"2026-06-
|
|
1729
|
+
"2026-06-29T06:25:25.300Z",
|
|
1730
1730
|
).transform(v => new Date(v)),
|
|
1731
1731
|
type: z.literal("string"),
|
|
1732
1732
|
value: z.string(),
|
|
@@ -1807,7 +1807,7 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
|
|
|
1807
1807
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
1808
1808
|
.optional(),
|
|
1809
1809
|
updated: z.string().datetime({ offset: true }).default(
|
|
1810
|
-
"2026-06-
|
|
1810
|
+
"2026-06-29T06:24:56.736Z",
|
|
1811
1811
|
).transform(v => new Date(v)),
|
|
1812
1812
|
}).transform((v) => {
|
|
1813
1813
|
return remap$(v, {
|
|
@@ -169,7 +169,7 @@ export const ListDatasetsData$inboundSchema: z.ZodType<
|
|
|
169
169
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
170
170
|
.optional(),
|
|
171
171
|
updated: z.string().datetime({ offset: true }).default(
|
|
172
|
-
"2026-06-
|
|
172
|
+
"2026-06-29T06:24:56.736Z",
|
|
173
173
|
).transform(v => new Date(v)),
|
|
174
174
|
}).transform((v) => {
|
|
175
175
|
return remap$(v, {
|
|
@@ -182,7 +182,7 @@ export const ListDatasourcesData$inboundSchema: z.ZodType<
|
|
|
182
182
|
z.ZodTypeDef,
|
|
183
183
|
unknown
|
|
184
184
|
> = z.object({
|
|
185
|
-
_id: z.string().default("
|
|
185
|
+
_id: z.string().default("01KW90VP6VV5FSDEZTX2H34697"),
|
|
186
186
|
display_name: z.string(),
|
|
187
187
|
description: z.nullable(z.string()).optional(),
|
|
188
188
|
status: ListDatasourcesStatus$inboundSchema,
|
|
@@ -48,6 +48,10 @@ export type ListKnowledgeBasesRequest = {
|
|
|
48
48
|
* Filter knowledge bases by type
|
|
49
49
|
*/
|
|
50
50
|
type?: ListKnowledgeBasesQueryParamType | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* Filter knowledge bases by project ID
|
|
53
|
+
*/
|
|
54
|
+
projectId?: string | undefined;
|
|
51
55
|
};
|
|
52
56
|
|
|
53
57
|
export const ListKnowledgeBasesObject = {
|
|
@@ -316,6 +320,7 @@ export type ListKnowledgeBasesRequest$Outbound = {
|
|
|
316
320
|
search?: string | undefined;
|
|
317
321
|
updated_by?: string | undefined;
|
|
318
322
|
type?: string | undefined;
|
|
323
|
+
project_id?: string | undefined;
|
|
319
324
|
};
|
|
320
325
|
|
|
321
326
|
/** @internal */
|
|
@@ -330,11 +335,13 @@ export const ListKnowledgeBasesRequest$outboundSchema: z.ZodType<
|
|
|
330
335
|
search: z.string().optional(),
|
|
331
336
|
updatedBy: z.string().optional(),
|
|
332
337
|
type: ListKnowledgeBasesQueryParamType$outboundSchema.optional(),
|
|
338
|
+
projectId: z.string().optional(),
|
|
333
339
|
}).transform((v) => {
|
|
334
340
|
return remap$(v, {
|
|
335
341
|
startingAfter: "starting_after",
|
|
336
342
|
endingBefore: "ending_before",
|
|
337
343
|
updatedBy: "updated_by",
|
|
344
|
+
projectId: "project_id",
|
|
338
345
|
});
|
|
339
346
|
});
|
|
340
347
|
|
|
@@ -852,6 +852,10 @@ export type ListPromptVersionsGuardrails = {
|
|
|
852
852
|
executeOn: ListPromptVersionsExecuteOn;
|
|
853
853
|
};
|
|
854
854
|
|
|
855
|
+
export type ListPromptVersionsPlugins =
|
|
856
|
+
| components.PIIRedactionPluginEn
|
|
857
|
+
| components.PIIRedactionPluginNl;
|
|
858
|
+
|
|
855
859
|
export type ListPromptVersionsFallbacks = {
|
|
856
860
|
/**
|
|
857
861
|
* Fallback model identifier
|
|
@@ -1432,6 +1436,12 @@ export type ListPromptVersionsPromptField = {
|
|
|
1432
1436
|
* A list of guardrails to apply to the request.
|
|
1433
1437
|
*/
|
|
1434
1438
|
guardrails?: Array<ListPromptVersionsGuardrails> | undefined;
|
|
1439
|
+
/**
|
|
1440
|
+
* Request-scoped transforms applied to the text exchanged with the model. Currently supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response.
|
|
1441
|
+
*/
|
|
1442
|
+
plugins?:
|
|
1443
|
+
| Array<components.PIIRedactionPluginEn | components.PIIRedactionPluginNl>
|
|
1444
|
+
| undefined;
|
|
1435
1445
|
/**
|
|
1436
1446
|
* Array of fallback models to use if primary model fails
|
|
1437
1447
|
*/
|
|
@@ -2521,6 +2531,26 @@ export function listPromptVersionsGuardrailsFromJSON(
|
|
|
2521
2531
|
);
|
|
2522
2532
|
}
|
|
2523
2533
|
|
|
2534
|
+
/** @internal */
|
|
2535
|
+
export const ListPromptVersionsPlugins$inboundSchema: z.ZodType<
|
|
2536
|
+
ListPromptVersionsPlugins,
|
|
2537
|
+
z.ZodTypeDef,
|
|
2538
|
+
unknown
|
|
2539
|
+
> = z.union([
|
|
2540
|
+
components.PIIRedactionPluginEn$inboundSchema,
|
|
2541
|
+
components.PIIRedactionPluginNl$inboundSchema,
|
|
2542
|
+
]);
|
|
2543
|
+
|
|
2544
|
+
export function listPromptVersionsPluginsFromJSON(
|
|
2545
|
+
jsonString: string,
|
|
2546
|
+
): SafeParseResult<ListPromptVersionsPlugins, SDKValidationError> {
|
|
2547
|
+
return safeParse(
|
|
2548
|
+
jsonString,
|
|
2549
|
+
(x) => ListPromptVersionsPlugins$inboundSchema.parse(JSON.parse(x)),
|
|
2550
|
+
`Failed to parse 'ListPromptVersionsPlugins' from JSON`,
|
|
2551
|
+
);
|
|
2552
|
+
}
|
|
2553
|
+
|
|
2524
2554
|
/** @internal */
|
|
2525
2555
|
export const ListPromptVersionsFallbacks$inboundSchema: z.ZodType<
|
|
2526
2556
|
ListPromptVersionsFallbacks,
|
|
@@ -3280,6 +3310,12 @@ export const ListPromptVersionsPromptField$inboundSchema: z.ZodType<
|
|
|
3280
3310
|
.optional(),
|
|
3281
3311
|
guardrails: z.array(z.lazy(() => ListPromptVersionsGuardrails$inboundSchema))
|
|
3282
3312
|
.optional(),
|
|
3313
|
+
plugins: z.array(
|
|
3314
|
+
z.union([
|
|
3315
|
+
components.PIIRedactionPluginEn$inboundSchema,
|
|
3316
|
+
components.PIIRedactionPluginNl$inboundSchema,
|
|
3317
|
+
]),
|
|
3318
|
+
).optional(),
|
|
3283
3319
|
fallbacks: z.array(z.lazy(() => ListPromptVersionsFallbacks$inboundSchema))
|
|
3284
3320
|
.optional(),
|
|
3285
3321
|
retry: z.lazy(() => ListPromptVersionsRetry$inboundSchema).optional(),
|
|
@@ -318,7 +318,7 @@ export const PatchV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
|
|
|
318
318
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
319
319
|
.optional(),
|
|
320
320
|
updated: z.string().datetime({ offset: true }).default(
|
|
321
|
-
"2026-06-
|
|
321
|
+
"2026-06-29T06:24:56.736Z",
|
|
322
322
|
).transform(v => new Date(v)),
|
|
323
323
|
filter_type: z.literal("name"),
|
|
324
324
|
filter_value: z.string(),
|
|
@@ -364,7 +364,7 @@ export const PatchV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
|
|
|
364
364
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
365
365
|
.optional(),
|
|
366
366
|
updated: z.string().datetime({ offset: true }).default(
|
|
367
|
-
"2026-06-
|
|
367
|
+
"2026-06-29T06:24:56.736Z",
|
|
368
368
|
).transform(v => new Date(v)),
|
|
369
369
|
filter_type: z.literal("span_type"),
|
|
370
370
|
filter_values: z.array(z.string()),
|
|
@@ -193,7 +193,7 @@ export const RequestBody3$outboundSchema: z.ZodType<
|
|
|
193
193
|
source: PostV2FeedbackEvaluationRequestBodyFeedbackSource$outboundSchema
|
|
194
194
|
.default("orq"),
|
|
195
195
|
explanation: z.string().optional(),
|
|
196
|
-
reviewedAt: z.date().default(() => new Date("2026-06-
|
|
196
|
+
reviewedAt: z.date().default(() => new Date("2026-06-29T06:25:25.450Z"))
|
|
197
197
|
.transform(v => v.toISOString()),
|
|
198
198
|
type: z.literal("string_array"),
|
|
199
199
|
values: z.array(z.string()),
|
|
@@ -247,7 +247,7 @@ export const PostV2FeedbackEvaluationRequestBody2$outboundSchema: z.ZodType<
|
|
|
247
247
|
"orq",
|
|
248
248
|
),
|
|
249
249
|
explanation: z.string().optional(),
|
|
250
|
-
reviewedAt: z.date().default(() => new Date("2026-06-
|
|
250
|
+
reviewedAt: z.date().default(() => new Date("2026-06-29T06:25:25.449Z"))
|
|
251
251
|
.transform(v => v.toISOString()),
|
|
252
252
|
type: z.literal("number"),
|
|
253
253
|
value: z.number(),
|
|
@@ -305,7 +305,7 @@ export const PostV2FeedbackEvaluationRequestBody1$outboundSchema: z.ZodType<
|
|
|
305
305
|
humanReviewId: z.string().optional(),
|
|
306
306
|
source: RequestBodySource$outboundSchema.default("orq"),
|
|
307
307
|
explanation: z.string().optional(),
|
|
308
|
-
reviewedAt: z.date().default(() => new Date("2026-06-
|
|
308
|
+
reviewedAt: z.date().default(() => new Date("2026-06-29T06:25:25.449Z"))
|
|
309
309
|
.transform(v => v.toISOString()),
|
|
310
310
|
type: z.literal("string"),
|
|
311
311
|
value: z.string(),
|
|
@@ -271,7 +271,7 @@ export const PostV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
|
|
|
271
271
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
272
272
|
.optional(),
|
|
273
273
|
updated: z.string().datetime({ offset: true }).default(
|
|
274
|
-
"2026-06-
|
|
274
|
+
"2026-06-29T06:24:56.736Z",
|
|
275
275
|
).transform(v => new Date(v)),
|
|
276
276
|
filter_type: z.literal("name"),
|
|
277
277
|
filter_value: z.string(),
|
|
@@ -316,7 +316,7 @@ export const PostV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
|
|
|
316
316
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
317
317
|
.optional(),
|
|
318
318
|
updated: z.string().datetime({ offset: true }).default(
|
|
319
|
-
"2026-06-
|
|
319
|
+
"2026-06-29T06:24:56.736Z",
|
|
320
320
|
).transform(v => new Date(v)),
|
|
321
321
|
filter_type: z.literal("span_type"),
|
|
322
322
|
filter_values: z.array(z.string()),
|
|
@@ -422,6 +422,10 @@ export type RetrieveAgentRequestAgentsGuardrails = {
|
|
|
422
422
|
executeOn: RetrieveAgentRequestAgentsResponseExecuteOn;
|
|
423
423
|
};
|
|
424
424
|
|
|
425
|
+
export type RetrieveAgentRequestPlugins =
|
|
426
|
+
| components.PIIRedactionPluginEn
|
|
427
|
+
| components.PIIRedactionPluginNl;
|
|
428
|
+
|
|
425
429
|
export type RetrieveAgentRequestFallbacks = {
|
|
426
430
|
/**
|
|
427
431
|
* Fallback model identifier
|
|
@@ -645,6 +649,12 @@ export type RetrieveAgentRequestParameters = {
|
|
|
645
649
|
* A list of guardrails to apply to the request.
|
|
646
650
|
*/
|
|
647
651
|
guardrails?: Array<RetrieveAgentRequestAgentsGuardrails> | undefined;
|
|
652
|
+
/**
|
|
653
|
+
* Request-scoped transforms applied to the text exchanged with the model. Currently supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response.
|
|
654
|
+
*/
|
|
655
|
+
plugins?:
|
|
656
|
+
| Array<components.PIIRedactionPluginEn | components.PIIRedactionPluginNl>
|
|
657
|
+
| undefined;
|
|
648
658
|
/**
|
|
649
659
|
* Array of fallback models to use if primary model fails
|
|
650
660
|
*/
|
|
@@ -880,6 +890,10 @@ export type RetrieveAgentRequestFallbackModelConfigurationGuardrails = {
|
|
|
880
890
|
executeOn: RetrieveAgentRequestFallbackModelConfigurationExecuteOn;
|
|
881
891
|
};
|
|
882
892
|
|
|
893
|
+
export type RetrieveAgentRequestFallbackModelConfigurationPlugins =
|
|
894
|
+
| components.PIIRedactionPluginEn
|
|
895
|
+
| components.PIIRedactionPluginNl;
|
|
896
|
+
|
|
883
897
|
export type RetrieveAgentRequestFallbackModelConfigurationFallbacks = {
|
|
884
898
|
/**
|
|
885
899
|
* Fallback model identifier
|
|
@@ -1109,6 +1123,12 @@ export type RetrieveAgentRequestFallbackModelConfigurationParameters = {
|
|
|
1109
1123
|
guardrails?:
|
|
1110
1124
|
| Array<RetrieveAgentRequestFallbackModelConfigurationGuardrails>
|
|
1111
1125
|
| undefined;
|
|
1126
|
+
/**
|
|
1127
|
+
* Request-scoped transforms applied to the text exchanged with the model. Currently supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response.
|
|
1128
|
+
*/
|
|
1129
|
+
plugins?:
|
|
1130
|
+
| Array<components.PIIRedactionPluginEn | components.PIIRedactionPluginNl>
|
|
1131
|
+
| undefined;
|
|
1112
1132
|
/**
|
|
1113
1133
|
* Array of fallback models to use if primary model fails
|
|
1114
1134
|
*/
|
|
@@ -1853,6 +1873,26 @@ export function retrieveAgentRequestAgentsGuardrailsFromJSON(
|
|
|
1853
1873
|
);
|
|
1854
1874
|
}
|
|
1855
1875
|
|
|
1876
|
+
/** @internal */
|
|
1877
|
+
export const RetrieveAgentRequestPlugins$inboundSchema: z.ZodType<
|
|
1878
|
+
RetrieveAgentRequestPlugins,
|
|
1879
|
+
z.ZodTypeDef,
|
|
1880
|
+
unknown
|
|
1881
|
+
> = z.union([
|
|
1882
|
+
components.PIIRedactionPluginEn$inboundSchema,
|
|
1883
|
+
components.PIIRedactionPluginNl$inboundSchema,
|
|
1884
|
+
]);
|
|
1885
|
+
|
|
1886
|
+
export function retrieveAgentRequestPluginsFromJSON(
|
|
1887
|
+
jsonString: string,
|
|
1888
|
+
): SafeParseResult<RetrieveAgentRequestPlugins, SDKValidationError> {
|
|
1889
|
+
return safeParse(
|
|
1890
|
+
jsonString,
|
|
1891
|
+
(x) => RetrieveAgentRequestPlugins$inboundSchema.parse(JSON.parse(x)),
|
|
1892
|
+
`Failed to parse 'RetrieveAgentRequestPlugins' from JSON`,
|
|
1893
|
+
);
|
|
1894
|
+
}
|
|
1895
|
+
|
|
1856
1896
|
/** @internal */
|
|
1857
1897
|
export const RetrieveAgentRequestFallbacks$inboundSchema: z.ZodType<
|
|
1858
1898
|
RetrieveAgentRequestFallbacks,
|
|
@@ -2058,6 +2098,12 @@ export const RetrieveAgentRequestParameters$inboundSchema: z.ZodType<
|
|
|
2058
2098
|
guardrails: z.array(
|
|
2059
2099
|
z.lazy(() => RetrieveAgentRequestAgentsGuardrails$inboundSchema),
|
|
2060
2100
|
).optional(),
|
|
2101
|
+
plugins: z.array(
|
|
2102
|
+
z.union([
|
|
2103
|
+
components.PIIRedactionPluginEn$inboundSchema,
|
|
2104
|
+
components.PIIRedactionPluginNl$inboundSchema,
|
|
2105
|
+
]),
|
|
2106
|
+
).optional(),
|
|
2061
2107
|
fallbacks: z.array(z.lazy(() => RetrieveAgentRequestFallbacks$inboundSchema))
|
|
2062
2108
|
.optional(),
|
|
2063
2109
|
cache: z.lazy(() => RetrieveAgentRequestCache$inboundSchema).optional(),
|
|
@@ -2479,6 +2525,33 @@ export function retrieveAgentRequestFallbackModelConfigurationGuardrailsFromJSON
|
|
|
2479
2525
|
);
|
|
2480
2526
|
}
|
|
2481
2527
|
|
|
2528
|
+
/** @internal */
|
|
2529
|
+
export const RetrieveAgentRequestFallbackModelConfigurationPlugins$inboundSchema:
|
|
2530
|
+
z.ZodType<
|
|
2531
|
+
RetrieveAgentRequestFallbackModelConfigurationPlugins,
|
|
2532
|
+
z.ZodTypeDef,
|
|
2533
|
+
unknown
|
|
2534
|
+
> = z.union([
|
|
2535
|
+
components.PIIRedactionPluginEn$inboundSchema,
|
|
2536
|
+
components.PIIRedactionPluginNl$inboundSchema,
|
|
2537
|
+
]);
|
|
2538
|
+
|
|
2539
|
+
export function retrieveAgentRequestFallbackModelConfigurationPluginsFromJSON(
|
|
2540
|
+
jsonString: string,
|
|
2541
|
+
): SafeParseResult<
|
|
2542
|
+
RetrieveAgentRequestFallbackModelConfigurationPlugins,
|
|
2543
|
+
SDKValidationError
|
|
2544
|
+
> {
|
|
2545
|
+
return safeParse(
|
|
2546
|
+
jsonString,
|
|
2547
|
+
(x) =>
|
|
2548
|
+
RetrieveAgentRequestFallbackModelConfigurationPlugins$inboundSchema.parse(
|
|
2549
|
+
JSON.parse(x),
|
|
2550
|
+
),
|
|
2551
|
+
`Failed to parse 'RetrieveAgentRequestFallbackModelConfigurationPlugins' from JSON`,
|
|
2552
|
+
);
|
|
2553
|
+
}
|
|
2554
|
+
|
|
2482
2555
|
/** @internal */
|
|
2483
2556
|
export const RetrieveAgentRequestFallbackModelConfigurationFallbacks$inboundSchema:
|
|
2484
2557
|
z.ZodType<
|
|
@@ -2738,6 +2811,12 @@ export const RetrieveAgentRequestFallbackModelConfigurationParameters$inboundSch
|
|
|
2738
2811
|
RetrieveAgentRequestFallbackModelConfigurationGuardrails$inboundSchema
|
|
2739
2812
|
),
|
|
2740
2813
|
).optional(),
|
|
2814
|
+
plugins: z.array(
|
|
2815
|
+
z.union([
|
|
2816
|
+
components.PIIRedactionPluginEn$inboundSchema,
|
|
2817
|
+
components.PIIRedactionPluginNl$inboundSchema,
|
|
2818
|
+
]),
|
|
2819
|
+
).optional(),
|
|
2741
2820
|
fallbacks: z.array(
|
|
2742
2821
|
z.lazy(() =>
|
|
2743
2822
|
RetrieveAgentRequestFallbackModelConfigurationFallbacks$inboundSchema
|
|
@@ -1456,7 +1456,7 @@ export const RetrieveDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
1456
1456
|
explanation: z.string().optional(),
|
|
1457
1457
|
reviewed_by_id: z.string(),
|
|
1458
1458
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1459
|
-
"2026-06-
|
|
1459
|
+
"2026-06-29T06:25:25.314Z",
|
|
1460
1460
|
).transform(v => new Date(v)),
|
|
1461
1461
|
type: z.literal("string_array"),
|
|
1462
1462
|
values: z.array(z.string()),
|
|
@@ -1554,7 +1554,7 @@ export const RetrieveDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
1554
1554
|
explanation: z.string().optional(),
|
|
1555
1555
|
reviewed_by_id: z.string(),
|
|
1556
1556
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1557
|
-
"2026-06-
|
|
1557
|
+
"2026-06-29T06:25:25.313Z",
|
|
1558
1558
|
).transform(v => new Date(v)),
|
|
1559
1559
|
type: z.literal("number"),
|
|
1560
1560
|
value: z.number(),
|
|
@@ -1642,7 +1642,7 @@ export const RetrieveDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
1642
1642
|
explanation: z.string().optional(),
|
|
1643
1643
|
reviewed_by_id: z.string(),
|
|
1644
1644
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1645
|
-
"2026-06-
|
|
1645
|
+
"2026-06-29T06:25:25.311Z",
|
|
1646
1646
|
).transform(v => new Date(v)),
|
|
1647
1647
|
type: z.literal("string"),
|
|
1648
1648
|
value: z.string(),
|
|
@@ -1721,7 +1721,7 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
1721
1721
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
1722
1722
|
.optional(),
|
|
1723
1723
|
updated: z.string().datetime({ offset: true }).default(
|
|
1724
|
-
"2026-06-
|
|
1724
|
+
"2026-06-29T06:24:56.736Z",
|
|
1725
1725
|
).transform(v => new Date(v)),
|
|
1726
1726
|
}).transform((v) => {
|
|
1727
1727
|
return remap$(v, {
|
|
@@ -126,7 +126,7 @@ export const RetrieveDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
126
126
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
127
127
|
.optional(),
|
|
128
128
|
updated: z.string().datetime({ offset: true }).default(
|
|
129
|
-
"2026-06-
|
|
129
|
+
"2026-06-29T06:24:56.736Z",
|
|
130
130
|
).transform(v => new Date(v)),
|
|
131
131
|
}).transform((v) => {
|
|
132
132
|
return remap$(v, {
|
|
@@ -118,7 +118,7 @@ export const RetrieveDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
118
118
|
z.ZodTypeDef,
|
|
119
119
|
unknown
|
|
120
120
|
> = z.object({
|
|
121
|
-
_id: z.string().default("
|
|
121
|
+
_id: z.string().default("01KW90VP6XG2Y4PYAVRC7NJV9P"),
|
|
122
122
|
display_name: z.string(),
|
|
123
123
|
description: z.nullable(z.string()).optional(),
|
|
124
124
|
status: RetrieveDatasourceStatus$inboundSchema,
|
|
@@ -753,7 +753,7 @@ export const RetrieveToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
753
753
|
z.ZodTypeDef,
|
|
754
754
|
unknown
|
|
755
755
|
> = z.object({
|
|
756
|
-
_id: z.string().default("
|
|
756
|
+
_id: z.string().default("tool_01KW90VP402HTA3G0BCCKV30MK"),
|
|
757
757
|
path: z.string(),
|
|
758
758
|
key: z.string(),
|
|
759
759
|
display_name: z.string().optional(),
|
|
@@ -859,7 +859,7 @@ export const RetrieveToolResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
859
859
|
z.ZodTypeDef,
|
|
860
860
|
unknown
|
|
861
861
|
> = z.object({
|
|
862
|
-
id: z.string().default("
|
|
862
|
+
id: z.string().default("01KW90VP3ZCJ0SD9MGRAFSF5PC"),
|
|
863
863
|
name: z.string(),
|
|
864
864
|
description: z.string().optional(),
|
|
865
865
|
schema: z.lazy(() => RetrieveToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -917,7 +917,7 @@ export const RetrieveToolResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
917
917
|
z.ZodTypeDef,
|
|
918
918
|
unknown
|
|
919
919
|
> = z.object({
|
|
920
|
-
_id: z.string().default("
|
|
920
|
+
_id: z.string().default("tool_01KW90VP3YGM7KVD7K0VTB6GAG"),
|
|
921
921
|
path: z.string(),
|
|
922
922
|
key: z.string(),
|
|
923
923
|
display_name: z.string().optional(),
|
|
@@ -1108,7 +1108,7 @@ export const RetrieveToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
1108
1108
|
z.ZodTypeDef,
|
|
1109
1109
|
unknown
|
|
1110
1110
|
> = z.object({
|
|
1111
|
-
_id: z.string().default("
|
|
1111
|
+
_id: z.string().default("tool_01KW90VP3V05NKXTDM1MPYB7B2"),
|
|
1112
1112
|
path: z.string(),
|
|
1113
1113
|
key: z.string(),
|
|
1114
1114
|
display_name: z.string().optional(),
|
|
@@ -1204,7 +1204,7 @@ export const RetrieveToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1204
1204
|
z.ZodTypeDef,
|
|
1205
1205
|
unknown
|
|
1206
1206
|
> = z.object({
|
|
1207
|
-
_id: z.string().default("
|
|
1207
|
+
_id: z.string().default("tool_01KW90VP3SZJDMZQ9NTF49V61R"),
|
|
1208
1208
|
path: z.string(),
|
|
1209
1209
|
key: z.string(),
|
|
1210
1210
|
display_name: z.string().optional(),
|
|
@@ -1310,7 +1310,7 @@ export const RetrieveToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
1310
1310
|
z.ZodTypeDef,
|
|
1311
1311
|
unknown
|
|
1312
1312
|
> = z.object({
|
|
1313
|
-
_id: z.string().default("
|
|
1313
|
+
_id: z.string().default("tool_01KW90VP3QV2XABXFBS4J55BXY"),
|
|
1314
1314
|
path: z.string(),
|
|
1315
1315
|
key: z.string(),
|
|
1316
1316
|
display_name: z.string().optional(),
|