@orq-ai/node 4.0.0-rc.26 → 4.0.0-rc.29
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 +788 -281
- package/bin/mcp-server.js.map +50 -50
- package/docs/sdks/agents/README.md +2 -2
- package/examples/package-lock.json +1 -1
- package/funcs/toolsDuplicate.js +2 -1
- package/funcs/toolsDuplicate.js.map +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 +195 -11
- package/models/operations/createagent.d.ts.map +1 -1
- package/models/operations/createagent.js +189 -13
- 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 +8 -8
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.d.ts +2 -0
- package/models/operations/createeval.d.ts.map +1 -1
- package/models/operations/createeval.js +30 -28
- package/models/operations/createeval.js.map +1 -1
- package/models/operations/createprompt.d.ts +0 -2
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +0 -4
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createtool.js +10 -10
- package/models/operations/duplicateagent.d.ts +94 -0
- package/models/operations/duplicateagent.d.ts.map +1 -1
- package/models/operations/duplicateagent.js +95 -3
- package/models/operations/duplicateagent.js.map +1 -1
- package/models/operations/duplicatetool.d.ts +18 -0
- package/models/operations/duplicatetool.d.ts.map +1 -1
- package/models/operations/duplicatetool.js +40 -12
- package/models/operations/duplicatetool.js.map +1 -1
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getagent.d.ts +94 -0
- package/models/operations/getagent.d.ts.map +1 -1
- package/models/operations/getagent.js +95 -3
- package/models/operations/getagent.js.map +1 -1
- package/models/operations/getallprompts.d.ts +0 -2
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +0 -4
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +10 -10
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/getoneprompt.d.ts +0 -2
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +0 -4
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +0 -2
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +0 -4
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/listagents.d.ts +94 -0
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +96 -3
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +8 -8
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/listpromptversions.d.ts +0 -2
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +0 -4
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +8 -8
- 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 +92 -0
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +97 -7
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +92 -0
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +96 -6
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +188 -0
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +192 -7
- 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 +8 -8
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.d.ts +2 -0
- package/models/operations/updateeval.d.ts.map +1 -1
- package/models/operations/updateeval.js +30 -28
- package/models/operations/updateeval.js.map +1 -1
- package/models/operations/updateprompt.d.ts +0 -4
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +0 -8
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +10 -10
- package/package.json +1 -1
- package/src/funcs/toolsDuplicate.ts +3 -2
- 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 +403 -17
- 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 +8 -8
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +30 -28
- package/src/models/operations/createprompt.ts +0 -6
- package/src/models/operations/createtool.ts +10 -10
- package/src/models/operations/duplicateagent.ts +206 -0
- package/src/models/operations/duplicatetool.ts +70 -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/getagent.ts +204 -0
- package/src/models/operations/getallprompts.ts +0 -6
- 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/getoneprompt.ts +0 -6
- package/src/models/operations/getpromptversion.ts +0 -6
- package/src/models/operations/listagents.ts +204 -0
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +8 -8
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/listpromptversions.ts +0 -6
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +8 -8
- 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 +202 -0
- package/src/models/operations/streamrunagent.ts +204 -0
- package/src/models/operations/updateagent.ts +415 -0
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +8 -8
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +30 -28
- package/src/models/operations/updateprompt.ts +0 -12
- package/src/models/operations/updatetool.ts +10 -10
|
@@ -1050,6 +1050,62 @@ export type UpdateAgentAgentToolInputCRUD =
|
|
|
1050
1050
|
| AgentToolInputCRUDCodeExecutionTool
|
|
1051
1051
|
| AgentToolInputCRUDFunctionTool;
|
|
1052
1052
|
|
|
1053
|
+
/**
|
|
1054
|
+
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
1055
|
+
*/
|
|
1056
|
+
export const UpdateAgentExecuteOn = {
|
|
1057
|
+
Input: "input",
|
|
1058
|
+
Output: "output",
|
|
1059
|
+
} as const;
|
|
1060
|
+
/**
|
|
1061
|
+
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
1062
|
+
*/
|
|
1063
|
+
export type UpdateAgentExecuteOn = ClosedEnum<typeof UpdateAgentExecuteOn>;
|
|
1064
|
+
|
|
1065
|
+
export type UpdateAgentEvaluators = {
|
|
1066
|
+
/**
|
|
1067
|
+
* Unique key or identifier of the evaluator
|
|
1068
|
+
*/
|
|
1069
|
+
id: string;
|
|
1070
|
+
/**
|
|
1071
|
+
* The percentage of executions to evaluate with this evaluator (1-100). For example, a value of 50 means the evaluator will run on approximately half of the executions.
|
|
1072
|
+
*/
|
|
1073
|
+
sampleRate?: number | undefined;
|
|
1074
|
+
/**
|
|
1075
|
+
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
1076
|
+
*/
|
|
1077
|
+
executeOn: UpdateAgentExecuteOn;
|
|
1078
|
+
};
|
|
1079
|
+
|
|
1080
|
+
/**
|
|
1081
|
+
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
1082
|
+
*/
|
|
1083
|
+
export const UpdateAgentAgentsExecuteOn = {
|
|
1084
|
+
Input: "input",
|
|
1085
|
+
Output: "output",
|
|
1086
|
+
} as const;
|
|
1087
|
+
/**
|
|
1088
|
+
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
1089
|
+
*/
|
|
1090
|
+
export type UpdateAgentAgentsExecuteOn = ClosedEnum<
|
|
1091
|
+
typeof UpdateAgentAgentsExecuteOn
|
|
1092
|
+
>;
|
|
1093
|
+
|
|
1094
|
+
export type UpdateAgentGuardrails = {
|
|
1095
|
+
/**
|
|
1096
|
+
* Unique key or identifier of the evaluator
|
|
1097
|
+
*/
|
|
1098
|
+
id: string;
|
|
1099
|
+
/**
|
|
1100
|
+
* The percentage of executions to evaluate with this evaluator (1-100). For example, a value of 50 means the evaluator will run on approximately half of the executions.
|
|
1101
|
+
*/
|
|
1102
|
+
sampleRate?: number | undefined;
|
|
1103
|
+
/**
|
|
1104
|
+
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
1105
|
+
*/
|
|
1106
|
+
executeOn: UpdateAgentAgentsExecuteOn;
|
|
1107
|
+
};
|
|
1108
|
+
|
|
1053
1109
|
export type UpdateAgentSettings = {
|
|
1054
1110
|
/**
|
|
1055
1111
|
* Maximum iterations(llm calls) before the agent will stop executing.
|
|
@@ -1084,6 +1140,14 @@ export type UpdateAgentSettings = {
|
|
|
1084
1140
|
| AgentToolInputCRUDFunctionTool
|
|
1085
1141
|
>
|
|
1086
1142
|
| undefined;
|
|
1143
|
+
/**
|
|
1144
|
+
* Configuration for an evaluator applied to the agent
|
|
1145
|
+
*/
|
|
1146
|
+
evaluators?: Array<UpdateAgentEvaluators> | undefined;
|
|
1147
|
+
/**
|
|
1148
|
+
* Configuration for a guardrail applied to the agent
|
|
1149
|
+
*/
|
|
1150
|
+
guardrails?: Array<UpdateAgentGuardrails> | undefined;
|
|
1087
1151
|
};
|
|
1088
1152
|
|
|
1089
1153
|
export type UpdateAgentKnowledgeBases = {
|
|
@@ -1110,6 +1174,8 @@ export const CollapsedConfigurationSections = {
|
|
|
1110
1174
|
Tools: "tools",
|
|
1111
1175
|
Context: "context",
|
|
1112
1176
|
RuntimeConstraints: "runtime_constraints",
|
|
1177
|
+
Evaluators: "evaluators",
|
|
1178
|
+
Guardrails: "guardrails",
|
|
1113
1179
|
} as const;
|
|
1114
1180
|
export type CollapsedConfigurationSections = ClosedEnum<
|
|
1115
1181
|
typeof CollapsedConfigurationSections
|
|
@@ -1242,6 +1308,64 @@ export type UpdateAgentTools = {
|
|
|
1242
1308
|
timeout?: number | undefined;
|
|
1243
1309
|
};
|
|
1244
1310
|
|
|
1311
|
+
/**
|
|
1312
|
+
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
1313
|
+
*/
|
|
1314
|
+
export const UpdateAgentAgentsResponseExecuteOn = {
|
|
1315
|
+
Input: "input",
|
|
1316
|
+
Output: "output",
|
|
1317
|
+
} as const;
|
|
1318
|
+
/**
|
|
1319
|
+
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
1320
|
+
*/
|
|
1321
|
+
export type UpdateAgentAgentsResponseExecuteOn = ClosedEnum<
|
|
1322
|
+
typeof UpdateAgentAgentsResponseExecuteOn
|
|
1323
|
+
>;
|
|
1324
|
+
|
|
1325
|
+
export type UpdateAgentAgentsEvaluators = {
|
|
1326
|
+
/**
|
|
1327
|
+
* Unique key or identifier of the evaluator
|
|
1328
|
+
*/
|
|
1329
|
+
id: string;
|
|
1330
|
+
/**
|
|
1331
|
+
* The percentage of executions to evaluate with this evaluator (1-100). For example, a value of 50 means the evaluator will run on approximately half of the executions.
|
|
1332
|
+
*/
|
|
1333
|
+
sampleRate?: number | undefined;
|
|
1334
|
+
/**
|
|
1335
|
+
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
1336
|
+
*/
|
|
1337
|
+
executeOn: UpdateAgentAgentsResponseExecuteOn;
|
|
1338
|
+
};
|
|
1339
|
+
|
|
1340
|
+
/**
|
|
1341
|
+
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
1342
|
+
*/
|
|
1343
|
+
export const UpdateAgentAgentsResponse200ExecuteOn = {
|
|
1344
|
+
Input: "input",
|
|
1345
|
+
Output: "output",
|
|
1346
|
+
} as const;
|
|
1347
|
+
/**
|
|
1348
|
+
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
1349
|
+
*/
|
|
1350
|
+
export type UpdateAgentAgentsResponse200ExecuteOn = ClosedEnum<
|
|
1351
|
+
typeof UpdateAgentAgentsResponse200ExecuteOn
|
|
1352
|
+
>;
|
|
1353
|
+
|
|
1354
|
+
export type UpdateAgentAgentsGuardrails = {
|
|
1355
|
+
/**
|
|
1356
|
+
* Unique key or identifier of the evaluator
|
|
1357
|
+
*/
|
|
1358
|
+
id: string;
|
|
1359
|
+
/**
|
|
1360
|
+
* The percentage of executions to evaluate with this evaluator (1-100). For example, a value of 50 means the evaluator will run on approximately half of the executions.
|
|
1361
|
+
*/
|
|
1362
|
+
sampleRate?: number | undefined;
|
|
1363
|
+
/**
|
|
1364
|
+
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
1365
|
+
*/
|
|
1366
|
+
executeOn: UpdateAgentAgentsResponse200ExecuteOn;
|
|
1367
|
+
};
|
|
1368
|
+
|
|
1245
1369
|
export type UpdateAgentAgentsSettings = {
|
|
1246
1370
|
/**
|
|
1247
1371
|
* Maximum iterations(llm calls) before the agent will stop executing.
|
|
@@ -1256,6 +1380,14 @@ export type UpdateAgentAgentsSettings = {
|
|
|
1256
1380
|
*/
|
|
1257
1381
|
toolApprovalRequired?: UpdateAgentAgentsToolApprovalRequired | undefined;
|
|
1258
1382
|
tools?: Array<UpdateAgentTools> | undefined;
|
|
1383
|
+
/**
|
|
1384
|
+
* Configuration for an evaluator applied to the agent
|
|
1385
|
+
*/
|
|
1386
|
+
evaluators?: Array<UpdateAgentAgentsEvaluators> | undefined;
|
|
1387
|
+
/**
|
|
1388
|
+
* Configuration for a guardrail applied to the agent
|
|
1389
|
+
*/
|
|
1390
|
+
guardrails?: Array<UpdateAgentAgentsGuardrails> | undefined;
|
|
1259
1391
|
};
|
|
1260
1392
|
|
|
1261
1393
|
/**
|
|
@@ -1974,6 +2106,8 @@ export const UpdateAgentCollapsedConfigurationSections = {
|
|
|
1974
2106
|
Tools: "tools",
|
|
1975
2107
|
Context: "context",
|
|
1976
2108
|
RuntimeConstraints: "runtime_constraints",
|
|
2109
|
+
Evaluators: "evaluators",
|
|
2110
|
+
Guardrails: "guardrails",
|
|
1977
2111
|
} as const;
|
|
1978
2112
|
export type UpdateAgentCollapsedConfigurationSections = ClosedEnum<
|
|
1979
2113
|
typeof UpdateAgentCollapsedConfigurationSections
|
|
@@ -4987,6 +5121,134 @@ export function updateAgentAgentToolInputCRUDFromJSON(
|
|
|
4987
5121
|
);
|
|
4988
5122
|
}
|
|
4989
5123
|
|
|
5124
|
+
/** @internal */
|
|
5125
|
+
export const UpdateAgentExecuteOn$inboundSchema: z.ZodNativeEnum<
|
|
5126
|
+
typeof UpdateAgentExecuteOn
|
|
5127
|
+
> = z.nativeEnum(UpdateAgentExecuteOn);
|
|
5128
|
+
/** @internal */
|
|
5129
|
+
export const UpdateAgentExecuteOn$outboundSchema: z.ZodNativeEnum<
|
|
5130
|
+
typeof UpdateAgentExecuteOn
|
|
5131
|
+
> = UpdateAgentExecuteOn$inboundSchema;
|
|
5132
|
+
|
|
5133
|
+
/** @internal */
|
|
5134
|
+
export const UpdateAgentEvaluators$inboundSchema: z.ZodType<
|
|
5135
|
+
UpdateAgentEvaluators,
|
|
5136
|
+
z.ZodTypeDef,
|
|
5137
|
+
unknown
|
|
5138
|
+
> = z.object({
|
|
5139
|
+
id: z.string(),
|
|
5140
|
+
sample_rate: z.number().default(50),
|
|
5141
|
+
execute_on: UpdateAgentExecuteOn$inboundSchema,
|
|
5142
|
+
}).transform((v) => {
|
|
5143
|
+
return remap$(v, {
|
|
5144
|
+
"sample_rate": "sampleRate",
|
|
5145
|
+
"execute_on": "executeOn",
|
|
5146
|
+
});
|
|
5147
|
+
});
|
|
5148
|
+
/** @internal */
|
|
5149
|
+
export type UpdateAgentEvaluators$Outbound = {
|
|
5150
|
+
id: string;
|
|
5151
|
+
sample_rate: number;
|
|
5152
|
+
execute_on: string;
|
|
5153
|
+
};
|
|
5154
|
+
|
|
5155
|
+
/** @internal */
|
|
5156
|
+
export const UpdateAgentEvaluators$outboundSchema: z.ZodType<
|
|
5157
|
+
UpdateAgentEvaluators$Outbound,
|
|
5158
|
+
z.ZodTypeDef,
|
|
5159
|
+
UpdateAgentEvaluators
|
|
5160
|
+
> = z.object({
|
|
5161
|
+
id: z.string(),
|
|
5162
|
+
sampleRate: z.number().default(50),
|
|
5163
|
+
executeOn: UpdateAgentExecuteOn$outboundSchema,
|
|
5164
|
+
}).transform((v) => {
|
|
5165
|
+
return remap$(v, {
|
|
5166
|
+
sampleRate: "sample_rate",
|
|
5167
|
+
executeOn: "execute_on",
|
|
5168
|
+
});
|
|
5169
|
+
});
|
|
5170
|
+
|
|
5171
|
+
export function updateAgentEvaluatorsToJSON(
|
|
5172
|
+
updateAgentEvaluators: UpdateAgentEvaluators,
|
|
5173
|
+
): string {
|
|
5174
|
+
return JSON.stringify(
|
|
5175
|
+
UpdateAgentEvaluators$outboundSchema.parse(updateAgentEvaluators),
|
|
5176
|
+
);
|
|
5177
|
+
}
|
|
5178
|
+
export function updateAgentEvaluatorsFromJSON(
|
|
5179
|
+
jsonString: string,
|
|
5180
|
+
): SafeParseResult<UpdateAgentEvaluators, SDKValidationError> {
|
|
5181
|
+
return safeParse(
|
|
5182
|
+
jsonString,
|
|
5183
|
+
(x) => UpdateAgentEvaluators$inboundSchema.parse(JSON.parse(x)),
|
|
5184
|
+
`Failed to parse 'UpdateAgentEvaluators' from JSON`,
|
|
5185
|
+
);
|
|
5186
|
+
}
|
|
5187
|
+
|
|
5188
|
+
/** @internal */
|
|
5189
|
+
export const UpdateAgentAgentsExecuteOn$inboundSchema: z.ZodNativeEnum<
|
|
5190
|
+
typeof UpdateAgentAgentsExecuteOn
|
|
5191
|
+
> = z.nativeEnum(UpdateAgentAgentsExecuteOn);
|
|
5192
|
+
/** @internal */
|
|
5193
|
+
export const UpdateAgentAgentsExecuteOn$outboundSchema: z.ZodNativeEnum<
|
|
5194
|
+
typeof UpdateAgentAgentsExecuteOn
|
|
5195
|
+
> = UpdateAgentAgentsExecuteOn$inboundSchema;
|
|
5196
|
+
|
|
5197
|
+
/** @internal */
|
|
5198
|
+
export const UpdateAgentGuardrails$inboundSchema: z.ZodType<
|
|
5199
|
+
UpdateAgentGuardrails,
|
|
5200
|
+
z.ZodTypeDef,
|
|
5201
|
+
unknown
|
|
5202
|
+
> = z.object({
|
|
5203
|
+
id: z.string(),
|
|
5204
|
+
sample_rate: z.number().default(50),
|
|
5205
|
+
execute_on: UpdateAgentAgentsExecuteOn$inboundSchema,
|
|
5206
|
+
}).transform((v) => {
|
|
5207
|
+
return remap$(v, {
|
|
5208
|
+
"sample_rate": "sampleRate",
|
|
5209
|
+
"execute_on": "executeOn",
|
|
5210
|
+
});
|
|
5211
|
+
});
|
|
5212
|
+
/** @internal */
|
|
5213
|
+
export type UpdateAgentGuardrails$Outbound = {
|
|
5214
|
+
id: string;
|
|
5215
|
+
sample_rate: number;
|
|
5216
|
+
execute_on: string;
|
|
5217
|
+
};
|
|
5218
|
+
|
|
5219
|
+
/** @internal */
|
|
5220
|
+
export const UpdateAgentGuardrails$outboundSchema: z.ZodType<
|
|
5221
|
+
UpdateAgentGuardrails$Outbound,
|
|
5222
|
+
z.ZodTypeDef,
|
|
5223
|
+
UpdateAgentGuardrails
|
|
5224
|
+
> = z.object({
|
|
5225
|
+
id: z.string(),
|
|
5226
|
+
sampleRate: z.number().default(50),
|
|
5227
|
+
executeOn: UpdateAgentAgentsExecuteOn$outboundSchema,
|
|
5228
|
+
}).transform((v) => {
|
|
5229
|
+
return remap$(v, {
|
|
5230
|
+
sampleRate: "sample_rate",
|
|
5231
|
+
executeOn: "execute_on",
|
|
5232
|
+
});
|
|
5233
|
+
});
|
|
5234
|
+
|
|
5235
|
+
export function updateAgentGuardrailsToJSON(
|
|
5236
|
+
updateAgentGuardrails: UpdateAgentGuardrails,
|
|
5237
|
+
): string {
|
|
5238
|
+
return JSON.stringify(
|
|
5239
|
+
UpdateAgentGuardrails$outboundSchema.parse(updateAgentGuardrails),
|
|
5240
|
+
);
|
|
5241
|
+
}
|
|
5242
|
+
export function updateAgentGuardrailsFromJSON(
|
|
5243
|
+
jsonString: string,
|
|
5244
|
+
): SafeParseResult<UpdateAgentGuardrails, SDKValidationError> {
|
|
5245
|
+
return safeParse(
|
|
5246
|
+
jsonString,
|
|
5247
|
+
(x) => UpdateAgentGuardrails$inboundSchema.parse(JSON.parse(x)),
|
|
5248
|
+
`Failed to parse 'UpdateAgentGuardrails' from JSON`,
|
|
5249
|
+
);
|
|
5250
|
+
}
|
|
5251
|
+
|
|
4990
5252
|
/** @internal */
|
|
4991
5253
|
export const UpdateAgentSettings$inboundSchema: z.ZodType<
|
|
4992
5254
|
UpdateAgentSettings,
|
|
@@ -5016,6 +5278,10 @@ export const UpdateAgentSettings$inboundSchema: z.ZodType<
|
|
|
5016
5278
|
z.lazy(() => AgentToolInputCRUDFunctionTool$inboundSchema),
|
|
5017
5279
|
]),
|
|
5018
5280
|
).optional(),
|
|
5281
|
+
evaluators: z.array(z.lazy(() => UpdateAgentEvaluators$inboundSchema))
|
|
5282
|
+
.optional(),
|
|
5283
|
+
guardrails: z.array(z.lazy(() => UpdateAgentGuardrails$inboundSchema))
|
|
5284
|
+
.optional(),
|
|
5019
5285
|
}).transform((v) => {
|
|
5020
5286
|
return remap$(v, {
|
|
5021
5287
|
"max_iterations": "maxIterations",
|
|
@@ -5046,6 +5312,8 @@ export type UpdateAgentSettings$Outbound = {
|
|
|
5046
5312
|
| AgentToolInputCRUDFunctionTool$Outbound
|
|
5047
5313
|
>
|
|
5048
5314
|
| undefined;
|
|
5315
|
+
evaluators?: Array<UpdateAgentEvaluators$Outbound> | undefined;
|
|
5316
|
+
guardrails?: Array<UpdateAgentGuardrails$Outbound> | undefined;
|
|
5049
5317
|
};
|
|
5050
5318
|
|
|
5051
5319
|
/** @internal */
|
|
@@ -5077,6 +5345,10 @@ export const UpdateAgentSettings$outboundSchema: z.ZodType<
|
|
|
5077
5345
|
z.lazy(() => AgentToolInputCRUDFunctionTool$outboundSchema),
|
|
5078
5346
|
]),
|
|
5079
5347
|
).optional(),
|
|
5348
|
+
evaluators: z.array(z.lazy(() => UpdateAgentEvaluators$outboundSchema))
|
|
5349
|
+
.optional(),
|
|
5350
|
+
guardrails: z.array(z.lazy(() => UpdateAgentGuardrails$outboundSchema))
|
|
5351
|
+
.optional(),
|
|
5080
5352
|
}).transform((v) => {
|
|
5081
5353
|
return remap$(v, {
|
|
5082
5354
|
maxIterations: "max_iterations",
|
|
@@ -5519,6 +5791,139 @@ export function updateAgentToolsFromJSON(
|
|
|
5519
5791
|
);
|
|
5520
5792
|
}
|
|
5521
5793
|
|
|
5794
|
+
/** @internal */
|
|
5795
|
+
export const UpdateAgentAgentsResponseExecuteOn$inboundSchema: z.ZodNativeEnum<
|
|
5796
|
+
typeof UpdateAgentAgentsResponseExecuteOn
|
|
5797
|
+
> = z.nativeEnum(UpdateAgentAgentsResponseExecuteOn);
|
|
5798
|
+
/** @internal */
|
|
5799
|
+
export const UpdateAgentAgentsResponseExecuteOn$outboundSchema: z.ZodNativeEnum<
|
|
5800
|
+
typeof UpdateAgentAgentsResponseExecuteOn
|
|
5801
|
+
> = UpdateAgentAgentsResponseExecuteOn$inboundSchema;
|
|
5802
|
+
|
|
5803
|
+
/** @internal */
|
|
5804
|
+
export const UpdateAgentAgentsEvaluators$inboundSchema: z.ZodType<
|
|
5805
|
+
UpdateAgentAgentsEvaluators,
|
|
5806
|
+
z.ZodTypeDef,
|
|
5807
|
+
unknown
|
|
5808
|
+
> = z.object({
|
|
5809
|
+
id: z.string(),
|
|
5810
|
+
sample_rate: z.number().default(50),
|
|
5811
|
+
execute_on: UpdateAgentAgentsResponseExecuteOn$inboundSchema,
|
|
5812
|
+
}).transform((v) => {
|
|
5813
|
+
return remap$(v, {
|
|
5814
|
+
"sample_rate": "sampleRate",
|
|
5815
|
+
"execute_on": "executeOn",
|
|
5816
|
+
});
|
|
5817
|
+
});
|
|
5818
|
+
/** @internal */
|
|
5819
|
+
export type UpdateAgentAgentsEvaluators$Outbound = {
|
|
5820
|
+
id: string;
|
|
5821
|
+
sample_rate: number;
|
|
5822
|
+
execute_on: string;
|
|
5823
|
+
};
|
|
5824
|
+
|
|
5825
|
+
/** @internal */
|
|
5826
|
+
export const UpdateAgentAgentsEvaluators$outboundSchema: z.ZodType<
|
|
5827
|
+
UpdateAgentAgentsEvaluators$Outbound,
|
|
5828
|
+
z.ZodTypeDef,
|
|
5829
|
+
UpdateAgentAgentsEvaluators
|
|
5830
|
+
> = z.object({
|
|
5831
|
+
id: z.string(),
|
|
5832
|
+
sampleRate: z.number().default(50),
|
|
5833
|
+
executeOn: UpdateAgentAgentsResponseExecuteOn$outboundSchema,
|
|
5834
|
+
}).transform((v) => {
|
|
5835
|
+
return remap$(v, {
|
|
5836
|
+
sampleRate: "sample_rate",
|
|
5837
|
+
executeOn: "execute_on",
|
|
5838
|
+
});
|
|
5839
|
+
});
|
|
5840
|
+
|
|
5841
|
+
export function updateAgentAgentsEvaluatorsToJSON(
|
|
5842
|
+
updateAgentAgentsEvaluators: UpdateAgentAgentsEvaluators,
|
|
5843
|
+
): string {
|
|
5844
|
+
return JSON.stringify(
|
|
5845
|
+
UpdateAgentAgentsEvaluators$outboundSchema.parse(
|
|
5846
|
+
updateAgentAgentsEvaluators,
|
|
5847
|
+
),
|
|
5848
|
+
);
|
|
5849
|
+
}
|
|
5850
|
+
export function updateAgentAgentsEvaluatorsFromJSON(
|
|
5851
|
+
jsonString: string,
|
|
5852
|
+
): SafeParseResult<UpdateAgentAgentsEvaluators, SDKValidationError> {
|
|
5853
|
+
return safeParse(
|
|
5854
|
+
jsonString,
|
|
5855
|
+
(x) => UpdateAgentAgentsEvaluators$inboundSchema.parse(JSON.parse(x)),
|
|
5856
|
+
`Failed to parse 'UpdateAgentAgentsEvaluators' from JSON`,
|
|
5857
|
+
);
|
|
5858
|
+
}
|
|
5859
|
+
|
|
5860
|
+
/** @internal */
|
|
5861
|
+
export const UpdateAgentAgentsResponse200ExecuteOn$inboundSchema:
|
|
5862
|
+
z.ZodNativeEnum<typeof UpdateAgentAgentsResponse200ExecuteOn> = z.nativeEnum(
|
|
5863
|
+
UpdateAgentAgentsResponse200ExecuteOn,
|
|
5864
|
+
);
|
|
5865
|
+
/** @internal */
|
|
5866
|
+
export const UpdateAgentAgentsResponse200ExecuteOn$outboundSchema:
|
|
5867
|
+
z.ZodNativeEnum<typeof UpdateAgentAgentsResponse200ExecuteOn> =
|
|
5868
|
+
UpdateAgentAgentsResponse200ExecuteOn$inboundSchema;
|
|
5869
|
+
|
|
5870
|
+
/** @internal */
|
|
5871
|
+
export const UpdateAgentAgentsGuardrails$inboundSchema: z.ZodType<
|
|
5872
|
+
UpdateAgentAgentsGuardrails,
|
|
5873
|
+
z.ZodTypeDef,
|
|
5874
|
+
unknown
|
|
5875
|
+
> = z.object({
|
|
5876
|
+
id: z.string(),
|
|
5877
|
+
sample_rate: z.number().default(50),
|
|
5878
|
+
execute_on: UpdateAgentAgentsResponse200ExecuteOn$inboundSchema,
|
|
5879
|
+
}).transform((v) => {
|
|
5880
|
+
return remap$(v, {
|
|
5881
|
+
"sample_rate": "sampleRate",
|
|
5882
|
+
"execute_on": "executeOn",
|
|
5883
|
+
});
|
|
5884
|
+
});
|
|
5885
|
+
/** @internal */
|
|
5886
|
+
export type UpdateAgentAgentsGuardrails$Outbound = {
|
|
5887
|
+
id: string;
|
|
5888
|
+
sample_rate: number;
|
|
5889
|
+
execute_on: string;
|
|
5890
|
+
};
|
|
5891
|
+
|
|
5892
|
+
/** @internal */
|
|
5893
|
+
export const UpdateAgentAgentsGuardrails$outboundSchema: z.ZodType<
|
|
5894
|
+
UpdateAgentAgentsGuardrails$Outbound,
|
|
5895
|
+
z.ZodTypeDef,
|
|
5896
|
+
UpdateAgentAgentsGuardrails
|
|
5897
|
+
> = z.object({
|
|
5898
|
+
id: z.string(),
|
|
5899
|
+
sampleRate: z.number().default(50),
|
|
5900
|
+
executeOn: UpdateAgentAgentsResponse200ExecuteOn$outboundSchema,
|
|
5901
|
+
}).transform((v) => {
|
|
5902
|
+
return remap$(v, {
|
|
5903
|
+
sampleRate: "sample_rate",
|
|
5904
|
+
executeOn: "execute_on",
|
|
5905
|
+
});
|
|
5906
|
+
});
|
|
5907
|
+
|
|
5908
|
+
export function updateAgentAgentsGuardrailsToJSON(
|
|
5909
|
+
updateAgentAgentsGuardrails: UpdateAgentAgentsGuardrails,
|
|
5910
|
+
): string {
|
|
5911
|
+
return JSON.stringify(
|
|
5912
|
+
UpdateAgentAgentsGuardrails$outboundSchema.parse(
|
|
5913
|
+
updateAgentAgentsGuardrails,
|
|
5914
|
+
),
|
|
5915
|
+
);
|
|
5916
|
+
}
|
|
5917
|
+
export function updateAgentAgentsGuardrailsFromJSON(
|
|
5918
|
+
jsonString: string,
|
|
5919
|
+
): SafeParseResult<UpdateAgentAgentsGuardrails, SDKValidationError> {
|
|
5920
|
+
return safeParse(
|
|
5921
|
+
jsonString,
|
|
5922
|
+
(x) => UpdateAgentAgentsGuardrails$inboundSchema.parse(JSON.parse(x)),
|
|
5923
|
+
`Failed to parse 'UpdateAgentAgentsGuardrails' from JSON`,
|
|
5924
|
+
);
|
|
5925
|
+
}
|
|
5926
|
+
|
|
5522
5927
|
/** @internal */
|
|
5523
5928
|
export const UpdateAgentAgentsSettings$inboundSchema: z.ZodType<
|
|
5524
5929
|
UpdateAgentAgentsSettings,
|
|
@@ -5530,6 +5935,10 @@ export const UpdateAgentAgentsSettings$inboundSchema: z.ZodType<
|
|
|
5530
5935
|
tool_approval_required: UpdateAgentAgentsToolApprovalRequired$inboundSchema
|
|
5531
5936
|
.default("respect_tool"),
|
|
5532
5937
|
tools: z.array(z.lazy(() => UpdateAgentTools$inboundSchema)).optional(),
|
|
5938
|
+
evaluators: z.array(z.lazy(() => UpdateAgentAgentsEvaluators$inboundSchema))
|
|
5939
|
+
.optional(),
|
|
5940
|
+
guardrails: z.array(z.lazy(() => UpdateAgentAgentsGuardrails$inboundSchema))
|
|
5941
|
+
.optional(),
|
|
5533
5942
|
}).transform((v) => {
|
|
5534
5943
|
return remap$(v, {
|
|
5535
5944
|
"max_iterations": "maxIterations",
|
|
@@ -5543,6 +5952,8 @@ export type UpdateAgentAgentsSettings$Outbound = {
|
|
|
5543
5952
|
max_execution_time: number;
|
|
5544
5953
|
tool_approval_required: string;
|
|
5545
5954
|
tools?: Array<UpdateAgentTools$Outbound> | undefined;
|
|
5955
|
+
evaluators?: Array<UpdateAgentAgentsEvaluators$Outbound> | undefined;
|
|
5956
|
+
guardrails?: Array<UpdateAgentAgentsGuardrails$Outbound> | undefined;
|
|
5546
5957
|
};
|
|
5547
5958
|
|
|
5548
5959
|
/** @internal */
|
|
@@ -5556,6 +5967,10 @@ export const UpdateAgentAgentsSettings$outboundSchema: z.ZodType<
|
|
|
5556
5967
|
toolApprovalRequired: UpdateAgentAgentsToolApprovalRequired$outboundSchema
|
|
5557
5968
|
.default("respect_tool"),
|
|
5558
5969
|
tools: z.array(z.lazy(() => UpdateAgentTools$outboundSchema)).optional(),
|
|
5970
|
+
evaluators: z.array(z.lazy(() => UpdateAgentAgentsEvaluators$outboundSchema))
|
|
5971
|
+
.optional(),
|
|
5972
|
+
guardrails: z.array(z.lazy(() => UpdateAgentAgentsGuardrails$outboundSchema))
|
|
5973
|
+
.optional(),
|
|
5559
5974
|
}).transform((v) => {
|
|
5560
5975
|
return remap$(v, {
|
|
5561
5976
|
maxIterations: "max_iterations",
|
|
@@ -436,7 +436,7 @@ export const UpdateBudgetResponseBody$inboundSchema: z.ZodType<
|
|
|
436
436
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
437
437
|
.optional(),
|
|
438
438
|
updated: z.string().datetime({ offset: true }).default(
|
|
439
|
-
"2025-11-
|
|
439
|
+
"2025-11-13T09:21:06.136Z",
|
|
440
440
|
).transform(v => new Date(v)),
|
|
441
441
|
}).transform((v) => {
|
|
442
442
|
return remap$(v, {
|
|
@@ -473,7 +473,7 @@ export const UpdateBudgetResponseBody$outboundSchema: z.ZodType<
|
|
|
473
473
|
isActive: z.boolean(),
|
|
474
474
|
consumption: z.lazy(() => UpdateBudgetConsumption$outboundSchema).optional(),
|
|
475
475
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
476
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
476
|
+
updated: z.date().default(() => new Date("2025-11-13T09:21:06.136Z"))
|
|
477
477
|
.transform(v => v.toISOString()),
|
|
478
478
|
}).transform((v) => {
|
|
479
479
|
return remap$(v, {
|
|
@@ -214,7 +214,7 @@ export const UpdateContactResponseBody$inboundSchema: z.ZodType<
|
|
|
214
214
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
215
215
|
.optional(),
|
|
216
216
|
updated: z.string().datetime({ offset: true }).default(
|
|
217
|
-
"2025-11-
|
|
217
|
+
"2025-11-13T09:21:05.843Z",
|
|
218
218
|
).transform(v => new Date(v)),
|
|
219
219
|
}).transform((v) => {
|
|
220
220
|
return remap$(v, {
|
|
@@ -251,7 +251,7 @@ export const UpdateContactResponseBody$outboundSchema: z.ZodType<
|
|
|
251
251
|
tags: z.array(z.string()).optional(),
|
|
252
252
|
metadata: z.record(z.any()).optional(),
|
|
253
253
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
254
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
254
|
+
updated: z.date().default(() => new Date("2025-11-13T09:21:05.843Z"))
|
|
255
255
|
.transform(v => v.toISOString()),
|
|
256
256
|
}).transform((v) => {
|
|
257
257
|
return remap$(v, {
|
|
@@ -4893,7 +4893,7 @@ export const UpdateDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
4893
4893
|
.default("orq"),
|
|
4894
4894
|
reviewed_by_id: z.string(),
|
|
4895
4895
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
4896
|
-
"2025-11-
|
|
4896
|
+
"2025-11-13T09:21:16.933Z",
|
|
4897
4897
|
).transform(v => new Date(v)),
|
|
4898
4898
|
type: UpdateDatapointEvaluationsDatasetsResponseType$inboundSchema,
|
|
4899
4899
|
values: z.array(z.string()),
|
|
@@ -4930,7 +4930,7 @@ export const UpdateDatapointEvaluations3$outboundSchema: z.ZodType<
|
|
|
4930
4930
|
source: UpdateDatapointEvaluationsDatasetsResponseSource$outboundSchema
|
|
4931
4931
|
.default("orq"),
|
|
4932
4932
|
reviewedById: z.string(),
|
|
4933
|
-
reviewedAt: z.date().default(() => new Date("2025-11-
|
|
4933
|
+
reviewedAt: z.date().default(() => new Date("2025-11-13T09:21:16.933Z"))
|
|
4934
4934
|
.transform(v => v.toISOString()),
|
|
4935
4935
|
type: UpdateDatapointEvaluationsDatasetsResponseType$outboundSchema,
|
|
4936
4936
|
values: z.array(z.string()),
|
|
@@ -5003,7 +5003,7 @@ export const UpdateDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
5003
5003
|
source: UpdateDatapointEvaluationsDatasetsSource$inboundSchema.default("orq"),
|
|
5004
5004
|
reviewed_by_id: z.string(),
|
|
5005
5005
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
5006
|
-
"2025-11-
|
|
5006
|
+
"2025-11-13T09:21:16.932Z",
|
|
5007
5007
|
).transform(v => new Date(v)),
|
|
5008
5008
|
type: UpdateDatapointEvaluationsDatasetsType$inboundSchema,
|
|
5009
5009
|
value: z.number(),
|
|
@@ -5041,7 +5041,7 @@ export const UpdateDatapointEvaluations2$outboundSchema: z.ZodType<
|
|
|
5041
5041
|
"orq",
|
|
5042
5042
|
),
|
|
5043
5043
|
reviewedById: z.string(),
|
|
5044
|
-
reviewedAt: z.date().default(() => new Date("2025-11-
|
|
5044
|
+
reviewedAt: z.date().default(() => new Date("2025-11-13T09:21:16.932Z"))
|
|
5045
5045
|
.transform(v => v.toISOString()),
|
|
5046
5046
|
type: UpdateDatapointEvaluationsDatasetsType$outboundSchema,
|
|
5047
5047
|
value: z.number(),
|
|
@@ -5112,7 +5112,7 @@ export const UpdateDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
5112
5112
|
source: UpdateDatapointEvaluationsSource$inboundSchema.default("orq"),
|
|
5113
5113
|
reviewed_by_id: z.string(),
|
|
5114
5114
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
5115
|
-
"2025-11-
|
|
5115
|
+
"2025-11-13T09:21:16.932Z",
|
|
5116
5116
|
).transform(v => new Date(v)),
|
|
5117
5117
|
type: UpdateDatapointEvaluationsType$inboundSchema,
|
|
5118
5118
|
value: z.string(),
|
|
@@ -5147,7 +5147,7 @@ export const UpdateDatapointEvaluations1$outboundSchema: z.ZodType<
|
|
|
5147
5147
|
humanReviewId: z.string(),
|
|
5148
5148
|
source: UpdateDatapointEvaluationsSource$outboundSchema.default("orq"),
|
|
5149
5149
|
reviewedById: z.string(),
|
|
5150
|
-
reviewedAt: z.date().default(() => new Date("2025-11-
|
|
5150
|
+
reviewedAt: z.date().default(() => new Date("2025-11-13T09:21:16.932Z"))
|
|
5151
5151
|
.transform(v => v.toISOString()),
|
|
5152
5152
|
type: UpdateDatapointEvaluationsType$outboundSchema,
|
|
5153
5153
|
value: z.string(),
|
|
@@ -5262,7 +5262,7 @@ export const UpdateDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
5262
5262
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
5263
5263
|
.optional(),
|
|
5264
5264
|
updated: z.string().datetime({ offset: true }).default(
|
|
5265
|
-
"2025-11-
|
|
5265
|
+
"2025-11-13T09:21:05.843Z",
|
|
5266
5266
|
).transform(v => new Date(v)),
|
|
5267
5267
|
}).transform((v) => {
|
|
5268
5268
|
return remap$(v, {
|
|
@@ -5340,7 +5340,7 @@ export const UpdateDatapointResponseBody$outboundSchema: z.ZodType<
|
|
|
5340
5340
|
createdById: z.string().optional(),
|
|
5341
5341
|
updatedById: z.string().optional(),
|
|
5342
5342
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
5343
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
5343
|
+
updated: z.date().default(() => new Date("2025-11-13T09:21:05.843Z"))
|
|
5344
5344
|
.transform(v => v.toISOString()),
|
|
5345
5345
|
}).transform((v) => {
|
|
5346
5346
|
return remap$(v, {
|
|
@@ -256,7 +256,7 @@ export const UpdateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
256
256
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
257
257
|
.optional(),
|
|
258
258
|
updated: z.string().datetime({ offset: true }).default(
|
|
259
|
-
"2025-11-
|
|
259
|
+
"2025-11-13T09:21:05.843Z",
|
|
260
260
|
).transform(v => new Date(v)),
|
|
261
261
|
}).transform((v) => {
|
|
262
262
|
return remap$(v, {
|
|
@@ -295,7 +295,7 @@ export const UpdateDatasetResponseBody$outboundSchema: z.ZodType<
|
|
|
295
295
|
createdById: z.string().optional(),
|
|
296
296
|
updatedById: z.string().optional(),
|
|
297
297
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
298
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
298
|
+
updated: z.date().default(() => new Date("2025-11-13T09:21:05.843Z"))
|
|
299
299
|
.transform(v => v.toISOString()),
|
|
300
300
|
}).transform((v) => {
|
|
301
301
|
return remap$(v, {
|
|
@@ -202,7 +202,7 @@ export const UpdateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
202
202
|
z.ZodTypeDef,
|
|
203
203
|
unknown
|
|
204
204
|
> = z.object({
|
|
205
|
-
_id: z.string().default("
|
|
205
|
+
_id: z.string().default("01K9Y89TFZWV55DD8B5VCQ0GJR"),
|
|
206
206
|
display_name: z.string(),
|
|
207
207
|
description: z.string().optional(),
|
|
208
208
|
status: UpdateDatasourceStatus$inboundSchema,
|
|
@@ -245,7 +245,7 @@ export const UpdateDatasourceResponseBody$outboundSchema: z.ZodType<
|
|
|
245
245
|
z.ZodTypeDef,
|
|
246
246
|
UpdateDatasourceResponseBody
|
|
247
247
|
> = z.object({
|
|
248
|
-
id: z.string().default("
|
|
248
|
+
id: z.string().default("01K9Y89TFZWV55DD8B5VCQ0GJR"),
|
|
249
249
|
displayName: z.string(),
|
|
250
250
|
description: z.string().optional(),
|
|
251
251
|
status: UpdateDatasourceStatus$outboundSchema,
|