@orq-ai/node 4.1.0-rc.33 → 4.1.0-rc.35
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/README.md +27 -23
- package/bin/mcp-server.js +6400 -6141
- package/bin/mcp-server.js.map +66 -58
- package/examples/package-lock.json +1 -1
- package/funcs/conversationsGenerateName.d.ts +18 -0
- package/funcs/conversationsGenerateName.d.ts.map +1 -0
- package/funcs/conversationsGenerateName.js +128 -0
- package/funcs/conversationsGenerateName.js.map +1 -0
- 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.d.ts.map +1 -1
- package/mcp-server/server.js +3 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/conversationsGenerateName.d.ts +10 -0
- package/mcp-server/tools/conversationsGenerateName.d.ts.map +1 -0
- package/mcp-server/tools/conversationsGenerateName.js +66 -0
- package/mcp-server/tools/conversationsGenerateName.js.map +1 -0
- package/models/components/agentresponsemessage.d.ts +56 -0
- package/models/components/agentresponsemessage.d.ts.map +1 -0
- package/models/components/agentresponsemessage.js +116 -0
- package/models/components/agentresponsemessage.js.map +1 -0
- package/models/components/agentstartedstreamingevent.d.ts +6 -6
- package/models/components/agentstartedstreamingevent.d.ts.map +1 -1
- package/models/components/agentstartedstreamingevent.js +11 -12
- package/models/components/agentstartedstreamingevent.js.map +1 -1
- package/models/components/conversationresponse.d.ts +39 -5
- package/models/components/conversationresponse.d.ts.map +1 -1
- package/models/components/conversationresponse.js +52 -8
- package/models/components/conversationresponse.js.map +1 -1
- package/models/components/createagentresponse.d.ts +124 -0
- package/models/components/createagentresponse.d.ts.map +1 -0
- package/models/components/createagentresponse.js +191 -0
- package/models/components/createagentresponse.js.map +1 -0
- package/models/components/index.d.ts +4 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +4 -0
- package/models/components/index.js.map +1 -1
- package/models/components/invokedeploymentrequest.d.ts +8 -8
- package/models/components/invokedeploymentrequest.d.ts.map +1 -1
- package/models/components/invokedeploymentrequest.js +13 -11
- package/models/components/invokedeploymentrequest.js.map +1 -1
- package/models/components/partdoneevent.js +2 -2
- package/models/components/reasoningpart.js +2 -2
- package/models/components/responsedoneevent.d.ts +24 -24
- package/models/components/responsedoneevent.d.ts.map +1 -1
- package/models/components/responsedoneevent.js +31 -32
- package/models/components/responsedoneevent.js.map +1 -1
- package/models/components/thinkingconfigdisabledschema.d.ts +23 -0
- package/models/components/thinkingconfigdisabledschema.d.ts.map +1 -0
- package/models/components/thinkingconfigdisabledschema.js +58 -0
- package/models/components/thinkingconfigdisabledschema.js.map +1 -0
- package/models/components/thinkingconfigenabledschema.d.ts +49 -0
- package/models/components/thinkingconfigenabledschema.d.ts.map +1 -0
- package/models/components/thinkingconfigenabledschema.js +84 -0
- package/models/components/thinkingconfigenabledschema.js.map +1 -0
- package/models/errors/generateconversationname.d.ts +55 -0
- package/models/errors/generateconversationname.d.ts.map +1 -0
- package/models/errors/generateconversationname.js +106 -0
- package/models/errors/generateconversationname.js.map +1 -0
- package/models/errors/index.d.ts +1 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +1 -0
- package/models/errors/index.js.map +1 -1
- package/models/operations/createagentrequest.d.ts +17 -204
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +75 -194
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createagentresponserequest.d.ts +22 -166
- package/models/operations/createagentresponserequest.d.ts.map +1 -1
- package/models/operations/createagentresponserequest.js +32 -227
- package/models/operations/createagentresponserequest.js.map +1 -1
- package/models/operations/createbudget.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createconversation.d.ts +62 -8
- package/models/operations/createconversation.d.ts.map +1 -1
- package/models/operations/createconversation.js +94 -10
- package/models/operations/createconversation.js.map +1 -1
- 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.js +28 -28
- package/models/operations/createprompt.d.ts +10 -10
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +13 -13
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createtool.js +12 -12
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/generateconversationname.d.ts +136 -0
- package/models/operations/generateconversationname.d.ts.map +1 -0
- package/models/operations/generateconversationname.js +179 -0
- package/models/operations/generateconversationname.js.map +1 -0
- package/models/operations/getalltools.js +12 -12
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/index.d.ts +1 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +1 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/invokeagent.d.ts +6 -6
- package/models/operations/invokeagent.d.ts.map +1 -1
- package/models/operations/invokeagent.js +10 -9
- package/models/operations/invokeagent.js.map +1 -1
- package/models/operations/listagents.d.ts +9 -102
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +38 -97
- 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/retrieveagentrequest.d.ts +9 -102
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +38 -97
- package/models/operations/retrieveagentrequest.js.map +1 -1
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrieveconversation.d.ts +39 -5
- package/models/operations/retrieveconversation.d.ts.map +1 -1
- package/models/operations/retrieveconversation.js +53 -8
- package/models/operations/retrieveconversation.js.map +1 -1
- 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 +12 -12
- package/models/operations/runagent.d.ts +8 -102
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +41 -104
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +8 -102
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +41 -103
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +17 -204
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +75 -193
- 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/updateconversation.d.ts +63 -6
- package/models/operations/updateconversation.d.ts.map +1 -1
- package/models/operations/updateconversation.js +93 -9
- package/models/operations/updateconversation.js.map +1 -1
- 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.js +28 -28
- package/models/operations/updatetool.js +14 -14
- package/package.json +1 -1
- package/sdk/conversations.d.ts +7 -0
- package/sdk/conversations.d.ts.map +1 -1
- package/sdk/conversations.js +10 -0
- package/sdk/conversations.js.map +1 -1
- package/src/funcs/conversationsGenerateName.ts +194 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/conversationsGenerateName.ts +40 -0
- package/src/models/components/agentresponsemessage.ts +185 -0
- package/src/models/components/agentstartedstreamingevent.ts +30 -21
- package/src/models/components/conversationresponse.ts +100 -12
- package/src/models/components/createagentresponse.ts +340 -0
- package/src/models/components/index.ts +4 -0
- package/src/models/components/invokedeploymentrequest.ts +25 -17
- package/src/models/components/partdoneevent.ts +2 -2
- package/src/models/components/reasoningpart.ts +2 -2
- package/src/models/components/responsedoneevent.ts +93 -68
- package/src/models/components/thinkingconfigdisabledschema.ts +59 -0
- package/src/models/components/thinkingconfigenabledschema.ts +106 -0
- package/src/models/errors/generateconversationname.ts +132 -0
- package/src/models/errors/index.ts +1 -0
- package/src/models/operations/createagentrequest.ts +123 -369
- package/src/models/operations/createagentresponserequest.ts +71 -513
- package/src/models/operations/createbudget.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createconversation.ts +192 -17
- 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 +28 -28
- package/src/models/operations/createprompt.ts +23 -25
- package/src/models/operations/createtool.ts +12 -12
- 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/generateconversationname.ts +341 -0
- package/src/models/operations/getalltools.ts +12 -12
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/index.ts +1 -0
- package/src/models/operations/invokeagent.ts +19 -26
- package/src/models/operations/listagents.ts +63 -186
- 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/retrieveagentrequest.ts +61 -194
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrieveconversation.ts +107 -12
- 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 +12 -12
- package/src/models/operations/runagent.ts +64 -194
- package/src/models/operations/streamrunagent.ts +62 -201
- package/src/models/operations/updateagent.ts +123 -379
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updateconversation.ts +192 -14
- 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 +28 -28
- package/src/models/operations/updatetool.ts +14 -14
- package/src/sdk/conversations.ts +20 -0
|
@@ -7,6 +7,7 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
8
|
import { ClosedEnum } from "../../types/enums.js";
|
|
9
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import * as components from "../components/index.js";
|
|
10
11
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
12
|
|
|
12
13
|
export type RetrieveAgentRequestRequest = {
|
|
@@ -290,48 +291,9 @@ export type RetrieveAgentRequestStreamOptions = {
|
|
|
290
291
|
includeUsage?: boolean | undefined;
|
|
291
292
|
};
|
|
292
293
|
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
export const RetrieveAgentRequestType = {
|
|
297
|
-
Enabled: "enabled",
|
|
298
|
-
Disabled: "disabled",
|
|
299
|
-
} as const;
|
|
300
|
-
/**
|
|
301
|
-
* Enables or disables the thinking mode capability
|
|
302
|
-
*/
|
|
303
|
-
export type RetrieveAgentRequestType = ClosedEnum<
|
|
304
|
-
typeof RetrieveAgentRequestType
|
|
305
|
-
>;
|
|
306
|
-
|
|
307
|
-
/**
|
|
308
|
-
* The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
|
|
309
|
-
*/
|
|
310
|
-
export const RetrieveAgentRequestThinkingLevel = {
|
|
311
|
-
Low: "low",
|
|
312
|
-
High: "high",
|
|
313
|
-
} as const;
|
|
314
|
-
/**
|
|
315
|
-
* The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
|
|
316
|
-
*/
|
|
317
|
-
export type RetrieveAgentRequestThinkingLevel = ClosedEnum<
|
|
318
|
-
typeof RetrieveAgentRequestThinkingLevel
|
|
319
|
-
>;
|
|
320
|
-
|
|
321
|
-
export type RetrieveAgentRequestThinking = {
|
|
322
|
-
/**
|
|
323
|
-
* Enables or disables the thinking mode capability
|
|
324
|
-
*/
|
|
325
|
-
type: RetrieveAgentRequestType;
|
|
326
|
-
/**
|
|
327
|
-
* Determines how many tokens the model can use for its internal reasoning process. Larger budgets can enable more thorough analysis for complex problems, improving response quality. Must be ≥1024 and less than `max_tokens`.
|
|
328
|
-
*/
|
|
329
|
-
budgetTokens: number;
|
|
330
|
-
/**
|
|
331
|
-
* The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
|
|
332
|
-
*/
|
|
333
|
-
thinkingLevel?: RetrieveAgentRequestThinkingLevel | undefined;
|
|
334
|
-
};
|
|
294
|
+
export type RetrieveAgentRequestThinking =
|
|
295
|
+
| components.ThinkingConfigDisabledSchema
|
|
296
|
+
| components.ThinkingConfigEnabledSchema;
|
|
335
297
|
|
|
336
298
|
/**
|
|
337
299
|
* The type of the tool. Currently, only function is supported.
|
|
@@ -453,7 +415,10 @@ export type RetrieveAgentRequestParameters = {
|
|
|
453
415
|
* Options for streaming response. Only set this when you set stream: true.
|
|
454
416
|
*/
|
|
455
417
|
streamOptions?: RetrieveAgentRequestStreamOptions | null | undefined;
|
|
456
|
-
thinking?:
|
|
418
|
+
thinking?:
|
|
419
|
+
| components.ThinkingConfigDisabledSchema
|
|
420
|
+
| components.ThinkingConfigEnabledSchema
|
|
421
|
+
| undefined;
|
|
457
422
|
/**
|
|
458
423
|
* What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
|
|
459
424
|
*/
|
|
@@ -618,51 +583,9 @@ export type RetrieveAgentRequestFallbackModelConfigurationStreamOptions = {
|
|
|
618
583
|
includeUsage?: boolean | undefined;
|
|
619
584
|
};
|
|
620
585
|
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
export const RetrieveAgentRequestFallbackModelConfigurationType = {
|
|
625
|
-
Enabled: "enabled",
|
|
626
|
-
Disabled: "disabled",
|
|
627
|
-
} as const;
|
|
628
|
-
/**
|
|
629
|
-
* Enables or disables the thinking mode capability
|
|
630
|
-
*/
|
|
631
|
-
export type RetrieveAgentRequestFallbackModelConfigurationType = ClosedEnum<
|
|
632
|
-
typeof RetrieveAgentRequestFallbackModelConfigurationType
|
|
633
|
-
>;
|
|
634
|
-
|
|
635
|
-
/**
|
|
636
|
-
* The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
|
|
637
|
-
*/
|
|
638
|
-
export const RetrieveAgentRequestFallbackModelConfigurationThinkingLevel = {
|
|
639
|
-
Low: "low",
|
|
640
|
-
High: "high",
|
|
641
|
-
} as const;
|
|
642
|
-
/**
|
|
643
|
-
* The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
|
|
644
|
-
*/
|
|
645
|
-
export type RetrieveAgentRequestFallbackModelConfigurationThinkingLevel =
|
|
646
|
-
ClosedEnum<
|
|
647
|
-
typeof RetrieveAgentRequestFallbackModelConfigurationThinkingLevel
|
|
648
|
-
>;
|
|
649
|
-
|
|
650
|
-
export type RetrieveAgentRequestFallbackModelConfigurationThinking = {
|
|
651
|
-
/**
|
|
652
|
-
* Enables or disables the thinking mode capability
|
|
653
|
-
*/
|
|
654
|
-
type: RetrieveAgentRequestFallbackModelConfigurationType;
|
|
655
|
-
/**
|
|
656
|
-
* Determines how many tokens the model can use for its internal reasoning process. Larger budgets can enable more thorough analysis for complex problems, improving response quality. Must be ≥1024 and less than `max_tokens`.
|
|
657
|
-
*/
|
|
658
|
-
budgetTokens: number;
|
|
659
|
-
/**
|
|
660
|
-
* The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
|
|
661
|
-
*/
|
|
662
|
-
thinkingLevel?:
|
|
663
|
-
| RetrieveAgentRequestFallbackModelConfigurationThinkingLevel
|
|
664
|
-
| undefined;
|
|
665
|
-
};
|
|
586
|
+
export type RetrieveAgentRequestFallbackModelConfigurationThinking =
|
|
587
|
+
| components.ThinkingConfigDisabledSchema
|
|
588
|
+
| components.ThinkingConfigEnabledSchema;
|
|
666
589
|
|
|
667
590
|
/**
|
|
668
591
|
* The type of the tool. Currently, only function is supported.
|
|
@@ -789,7 +712,10 @@ export type RetrieveAgentRequestFallbackModelConfigurationParameters = {
|
|
|
789
712
|
| RetrieveAgentRequestFallbackModelConfigurationStreamOptions
|
|
790
713
|
| null
|
|
791
714
|
| undefined;
|
|
792
|
-
thinking?:
|
|
715
|
+
thinking?:
|
|
716
|
+
| components.ThinkingConfigDisabledSchema
|
|
717
|
+
| components.ThinkingConfigEnabledSchema
|
|
718
|
+
| undefined;
|
|
793
719
|
/**
|
|
794
720
|
* What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
|
|
795
721
|
*/
|
|
@@ -1283,7 +1209,7 @@ export const RetrieveAgentRequestSettings$inboundSchema: z.ZodType<
|
|
|
1283
1209
|
unknown
|
|
1284
1210
|
> = z.object({
|
|
1285
1211
|
max_iterations: z.number().int().default(100),
|
|
1286
|
-
max_execution_time: z.number().int().default(
|
|
1212
|
+
max_execution_time: z.number().int().default(600),
|
|
1287
1213
|
tool_approval_required: RetrieveAgentRequestToolApprovalRequired$inboundSchema
|
|
1288
1214
|
.default("respect_tool"),
|
|
1289
1215
|
tools: z.array(z.lazy(() => RetrieveAgentRequestTools$inboundSchema))
|
|
@@ -1318,7 +1244,7 @@ export const RetrieveAgentRequestSettings$outboundSchema: z.ZodType<
|
|
|
1318
1244
|
RetrieveAgentRequestSettings
|
|
1319
1245
|
> = z.object({
|
|
1320
1246
|
maxIterations: z.number().int().default(100),
|
|
1321
|
-
maxExecutionTime: z.number().int().default(
|
|
1247
|
+
maxExecutionTime: z.number().int().default(600),
|
|
1322
1248
|
toolApprovalRequired: RetrieveAgentRequestToolApprovalRequired$outboundSchema
|
|
1323
1249
|
.default("respect_tool"),
|
|
1324
1250
|
tools: z.array(z.lazy(() => RetrieveAgentRequestTools$outboundSchema))
|
|
@@ -1766,61 +1692,29 @@ export function retrieveAgentRequestStreamOptionsFromJSON(
|
|
|
1766
1692
|
);
|
|
1767
1693
|
}
|
|
1768
1694
|
|
|
1769
|
-
/** @internal */
|
|
1770
|
-
export const RetrieveAgentRequestType$inboundSchema: z.ZodNativeEnum<
|
|
1771
|
-
typeof RetrieveAgentRequestType
|
|
1772
|
-
> = z.nativeEnum(RetrieveAgentRequestType);
|
|
1773
|
-
/** @internal */
|
|
1774
|
-
export const RetrieveAgentRequestType$outboundSchema: z.ZodNativeEnum<
|
|
1775
|
-
typeof RetrieveAgentRequestType
|
|
1776
|
-
> = RetrieveAgentRequestType$inboundSchema;
|
|
1777
|
-
|
|
1778
|
-
/** @internal */
|
|
1779
|
-
export const RetrieveAgentRequestThinkingLevel$inboundSchema: z.ZodNativeEnum<
|
|
1780
|
-
typeof RetrieveAgentRequestThinkingLevel
|
|
1781
|
-
> = z.nativeEnum(RetrieveAgentRequestThinkingLevel);
|
|
1782
|
-
/** @internal */
|
|
1783
|
-
export const RetrieveAgentRequestThinkingLevel$outboundSchema: z.ZodNativeEnum<
|
|
1784
|
-
typeof RetrieveAgentRequestThinkingLevel
|
|
1785
|
-
> = RetrieveAgentRequestThinkingLevel$inboundSchema;
|
|
1786
|
-
|
|
1787
1695
|
/** @internal */
|
|
1788
1696
|
export const RetrieveAgentRequestThinking$inboundSchema: z.ZodType<
|
|
1789
1697
|
RetrieveAgentRequestThinking,
|
|
1790
1698
|
z.ZodTypeDef,
|
|
1791
1699
|
unknown
|
|
1792
|
-
> = z.
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
}).transform((v) => {
|
|
1797
|
-
return remap$(v, {
|
|
1798
|
-
"budget_tokens": "budgetTokens",
|
|
1799
|
-
"thinking_level": "thinkingLevel",
|
|
1800
|
-
});
|
|
1801
|
-
});
|
|
1700
|
+
> = z.union([
|
|
1701
|
+
components.ThinkingConfigDisabledSchema$inboundSchema,
|
|
1702
|
+
components.ThinkingConfigEnabledSchema$inboundSchema,
|
|
1703
|
+
]);
|
|
1802
1704
|
/** @internal */
|
|
1803
|
-
export type RetrieveAgentRequestThinking$Outbound =
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
thinking_level?: string | undefined;
|
|
1807
|
-
};
|
|
1705
|
+
export type RetrieveAgentRequestThinking$Outbound =
|
|
1706
|
+
| components.ThinkingConfigDisabledSchema$Outbound
|
|
1707
|
+
| components.ThinkingConfigEnabledSchema$Outbound;
|
|
1808
1708
|
|
|
1809
1709
|
/** @internal */
|
|
1810
1710
|
export const RetrieveAgentRequestThinking$outboundSchema: z.ZodType<
|
|
1811
1711
|
RetrieveAgentRequestThinking$Outbound,
|
|
1812
1712
|
z.ZodTypeDef,
|
|
1813
1713
|
RetrieveAgentRequestThinking
|
|
1814
|
-
> = z.
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
}).transform((v) => {
|
|
1819
|
-
return remap$(v, {
|
|
1820
|
-
budgetTokens: "budget_tokens",
|
|
1821
|
-
thinkingLevel: "thinking_level",
|
|
1822
|
-
});
|
|
1823
|
-
});
|
|
1714
|
+
> = z.union([
|
|
1715
|
+
components.ThinkingConfigDisabledSchema$outboundSchema,
|
|
1716
|
+
components.ThinkingConfigEnabledSchema$outboundSchema,
|
|
1717
|
+
]);
|
|
1824
1718
|
|
|
1825
1719
|
export function retrieveAgentRequestThinkingToJSON(
|
|
1826
1720
|
retrieveAgentRequestThinking: RetrieveAgentRequestThinking,
|
|
@@ -2027,7 +1921,10 @@ export const RetrieveAgentRequestParameters$inboundSchema: z.ZodType<
|
|
|
2027
1921
|
stream_options: z.nullable(
|
|
2028
1922
|
z.lazy(() => RetrieveAgentRequestStreamOptions$inboundSchema),
|
|
2029
1923
|
).optional(),
|
|
2030
|
-
thinking: z.
|
|
1924
|
+
thinking: z.union([
|
|
1925
|
+
components.ThinkingConfigDisabledSchema$inboundSchema,
|
|
1926
|
+
components.ThinkingConfigEnabledSchema$inboundSchema,
|
|
1927
|
+
]).optional(),
|
|
2031
1928
|
temperature: z.nullable(z.number()).optional(),
|
|
2032
1929
|
top_p: z.nullable(z.number()).optional(),
|
|
2033
1930
|
top_k: z.nullable(z.number()).optional(),
|
|
@@ -2077,7 +1974,10 @@ export type RetrieveAgentRequestParameters$Outbound = {
|
|
|
2077
1974
|
| RetrieveAgentRequestStreamOptions$Outbound
|
|
2078
1975
|
| null
|
|
2079
1976
|
| undefined;
|
|
2080
|
-
thinking?:
|
|
1977
|
+
thinking?:
|
|
1978
|
+
| components.ThinkingConfigDisabledSchema$Outbound
|
|
1979
|
+
| components.ThinkingConfigEnabledSchema$Outbound
|
|
1980
|
+
| undefined;
|
|
2081
1981
|
temperature?: number | null | undefined;
|
|
2082
1982
|
top_p?: number | null | undefined;
|
|
2083
1983
|
top_k?: number | null | undefined;
|
|
@@ -2115,8 +2015,10 @@ export const RetrieveAgentRequestParameters$outboundSchema: z.ZodType<
|
|
|
2115
2015
|
streamOptions: z.nullable(
|
|
2116
2016
|
z.lazy(() => RetrieveAgentRequestStreamOptions$outboundSchema),
|
|
2117
2017
|
).optional(),
|
|
2118
|
-
thinking: z.
|
|
2119
|
-
.
|
|
2018
|
+
thinking: z.union([
|
|
2019
|
+
components.ThinkingConfigDisabledSchema$outboundSchema,
|
|
2020
|
+
components.ThinkingConfigEnabledSchema$outboundSchema,
|
|
2021
|
+
]).optional(),
|
|
2120
2022
|
temperature: z.nullable(z.number()).optional(),
|
|
2121
2023
|
topP: z.nullable(z.number()).optional(),
|
|
2122
2024
|
topK: z.nullable(z.number()).optional(),
|
|
@@ -2671,50 +2573,20 @@ export function retrieveAgentRequestFallbackModelConfigurationStreamOptionsFromJ
|
|
|
2671
2573
|
);
|
|
2672
2574
|
}
|
|
2673
2575
|
|
|
2674
|
-
/** @internal */
|
|
2675
|
-
export const RetrieveAgentRequestFallbackModelConfigurationType$inboundSchema:
|
|
2676
|
-
z.ZodNativeEnum<typeof RetrieveAgentRequestFallbackModelConfigurationType> = z
|
|
2677
|
-
.nativeEnum(RetrieveAgentRequestFallbackModelConfigurationType);
|
|
2678
|
-
/** @internal */
|
|
2679
|
-
export const RetrieveAgentRequestFallbackModelConfigurationType$outboundSchema:
|
|
2680
|
-
z.ZodNativeEnum<typeof RetrieveAgentRequestFallbackModelConfigurationType> =
|
|
2681
|
-
RetrieveAgentRequestFallbackModelConfigurationType$inboundSchema;
|
|
2682
|
-
|
|
2683
|
-
/** @internal */
|
|
2684
|
-
export const RetrieveAgentRequestFallbackModelConfigurationThinkingLevel$inboundSchema:
|
|
2685
|
-
z.ZodNativeEnum<
|
|
2686
|
-
typeof RetrieveAgentRequestFallbackModelConfigurationThinkingLevel
|
|
2687
|
-
> = z.nativeEnum(RetrieveAgentRequestFallbackModelConfigurationThinkingLevel);
|
|
2688
|
-
/** @internal */
|
|
2689
|
-
export const RetrieveAgentRequestFallbackModelConfigurationThinkingLevel$outboundSchema:
|
|
2690
|
-
z.ZodNativeEnum<
|
|
2691
|
-
typeof RetrieveAgentRequestFallbackModelConfigurationThinkingLevel
|
|
2692
|
-
> = RetrieveAgentRequestFallbackModelConfigurationThinkingLevel$inboundSchema;
|
|
2693
|
-
|
|
2694
2576
|
/** @internal */
|
|
2695
2577
|
export const RetrieveAgentRequestFallbackModelConfigurationThinking$inboundSchema:
|
|
2696
2578
|
z.ZodType<
|
|
2697
2579
|
RetrieveAgentRequestFallbackModelConfigurationThinking,
|
|
2698
2580
|
z.ZodTypeDef,
|
|
2699
2581
|
unknown
|
|
2700
|
-
> = z.
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
RetrieveAgentRequestFallbackModelConfigurationThinkingLevel$inboundSchema
|
|
2705
|
-
.optional(),
|
|
2706
|
-
}).transform((v) => {
|
|
2707
|
-
return remap$(v, {
|
|
2708
|
-
"budget_tokens": "budgetTokens",
|
|
2709
|
-
"thinking_level": "thinkingLevel",
|
|
2710
|
-
});
|
|
2711
|
-
});
|
|
2582
|
+
> = z.union([
|
|
2583
|
+
components.ThinkingConfigDisabledSchema$inboundSchema,
|
|
2584
|
+
components.ThinkingConfigEnabledSchema$inboundSchema,
|
|
2585
|
+
]);
|
|
2712
2586
|
/** @internal */
|
|
2713
|
-
export type RetrieveAgentRequestFallbackModelConfigurationThinking$Outbound =
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
thinking_level?: string | undefined;
|
|
2717
|
-
};
|
|
2587
|
+
export type RetrieveAgentRequestFallbackModelConfigurationThinking$Outbound =
|
|
2588
|
+
| components.ThinkingConfigDisabledSchema$Outbound
|
|
2589
|
+
| components.ThinkingConfigEnabledSchema$Outbound;
|
|
2718
2590
|
|
|
2719
2591
|
/** @internal */
|
|
2720
2592
|
export const RetrieveAgentRequestFallbackModelConfigurationThinking$outboundSchema:
|
|
@@ -2722,18 +2594,10 @@ export const RetrieveAgentRequestFallbackModelConfigurationThinking$outboundSche
|
|
|
2722
2594
|
RetrieveAgentRequestFallbackModelConfigurationThinking$Outbound,
|
|
2723
2595
|
z.ZodTypeDef,
|
|
2724
2596
|
RetrieveAgentRequestFallbackModelConfigurationThinking
|
|
2725
|
-
> = z.
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
RetrieveAgentRequestFallbackModelConfigurationThinkingLevel$outboundSchema
|
|
2730
|
-
.optional(),
|
|
2731
|
-
}).transform((v) => {
|
|
2732
|
-
return remap$(v, {
|
|
2733
|
-
budgetTokens: "budget_tokens",
|
|
2734
|
-
thinkingLevel: "thinking_level",
|
|
2735
|
-
});
|
|
2736
|
-
});
|
|
2597
|
+
> = z.union([
|
|
2598
|
+
components.ThinkingConfigDisabledSchema$outboundSchema,
|
|
2599
|
+
components.ThinkingConfigEnabledSchema$outboundSchema,
|
|
2600
|
+
]);
|
|
2737
2601
|
|
|
2738
2602
|
export function retrieveAgentRequestFallbackModelConfigurationThinkingToJSON(
|
|
2739
2603
|
retrieveAgentRequestFallbackModelConfigurationThinking:
|
|
@@ -2976,9 +2840,10 @@ export const RetrieveAgentRequestFallbackModelConfigurationParameters$inboundSch
|
|
|
2976
2840
|
RetrieveAgentRequestFallbackModelConfigurationStreamOptions$inboundSchema
|
|
2977
2841
|
),
|
|
2978
2842
|
).optional(),
|
|
2979
|
-
thinking: z.
|
|
2980
|
-
|
|
2981
|
-
|
|
2843
|
+
thinking: z.union([
|
|
2844
|
+
components.ThinkingConfigDisabledSchema$inboundSchema,
|
|
2845
|
+
components.ThinkingConfigEnabledSchema$inboundSchema,
|
|
2846
|
+
]).optional(),
|
|
2982
2847
|
temperature: z.nullable(z.number()).optional(),
|
|
2983
2848
|
top_p: z.nullable(z.number()).optional(),
|
|
2984
2849
|
top_k: z.nullable(z.number()).optional(),
|
|
@@ -3036,7 +2901,8 @@ export type RetrieveAgentRequestFallbackModelConfigurationParameters$Outbound =
|
|
|
3036
2901
|
| null
|
|
3037
2902
|
| undefined;
|
|
3038
2903
|
thinking?:
|
|
3039
|
-
|
|
|
2904
|
+
| components.ThinkingConfigDisabledSchema$Outbound
|
|
2905
|
+
| components.ThinkingConfigEnabledSchema$Outbound
|
|
3040
2906
|
| undefined;
|
|
3041
2907
|
temperature?: number | null | undefined;
|
|
3042
2908
|
top_p?: number | null | undefined;
|
|
@@ -3086,9 +2952,10 @@ export const RetrieveAgentRequestFallbackModelConfigurationParameters$outboundSc
|
|
|
3086
2952
|
RetrieveAgentRequestFallbackModelConfigurationStreamOptions$outboundSchema
|
|
3087
2953
|
),
|
|
3088
2954
|
).optional(),
|
|
3089
|
-
thinking: z.
|
|
3090
|
-
|
|
3091
|
-
|
|
2955
|
+
thinking: z.union([
|
|
2956
|
+
components.ThinkingConfigDisabledSchema$outboundSchema,
|
|
2957
|
+
components.ThinkingConfigEnabledSchema$outboundSchema,
|
|
2958
|
+
]).optional(),
|
|
3092
2959
|
temperature: z.nullable(z.number()).optional(),
|
|
3093
2960
|
topP: z.nullable(z.number()).optional(),
|
|
3094
2961
|
topK: z.nullable(z.number()).optional(),
|
|
@@ -112,7 +112,7 @@ export const RetrieveContactResponseBody$inboundSchema: z.ZodType<
|
|
|
112
112
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
113
113
|
.optional(),
|
|
114
114
|
updated: z.string().datetime({ offset: true }).default(
|
|
115
|
-
"2025-12-
|
|
115
|
+
"2025-12-10T05:40:54.670Z",
|
|
116
116
|
).transform(v => new Date(v)),
|
|
117
117
|
}).transform((v) => {
|
|
118
118
|
return remap$(v, {
|
|
@@ -149,7 +149,7 @@ export const RetrieveContactResponseBody$outboundSchema: z.ZodType<
|
|
|
149
149
|
tags: z.array(z.string()).optional(),
|
|
150
150
|
metadata: z.record(z.any()).optional(),
|
|
151
151
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
152
|
-
updated: z.date().default(() => new Date("2025-12-
|
|
152
|
+
updated: z.date().default(() => new Date("2025-12-10T05:40:54.670Z"))
|
|
153
153
|
.transform(v => v.toISOString()),
|
|
154
154
|
}).transform((v) => {
|
|
155
155
|
return remap$(v, {
|
|
@@ -29,6 +29,20 @@ export type RetrieveConversationKind = ClosedEnum<
|
|
|
29
29
|
typeof RetrieveConversationKind
|
|
30
30
|
>;
|
|
31
31
|
|
|
32
|
+
/**
|
|
33
|
+
* Optional metadata associated with the conversation.
|
|
34
|
+
*/
|
|
35
|
+
export type RetrieveConversationMetadata = {
|
|
36
|
+
/**
|
|
37
|
+
* Indicates whether the conversation title is currently being generated by AI.
|
|
38
|
+
*/
|
|
39
|
+
generatingTitle?: boolean | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* Identifier of the parent entity (agent, deployment, etc.) this conversation belongs to. Used for filtering conversations by entity.
|
|
42
|
+
*/
|
|
43
|
+
entityId?: string | undefined;
|
|
44
|
+
};
|
|
45
|
+
|
|
32
46
|
/**
|
|
33
47
|
* Conversation successfully retrieved. Returns the complete conversation object with all metadata.
|
|
34
48
|
*/
|
|
@@ -37,6 +51,10 @@ export type RetrieveConversationResponseBody = {
|
|
|
37
51
|
* Unique ULID (Universally Unique Lexicographically Sortable Identifier) for the conversation, prefixed with "conv_"
|
|
38
52
|
*/
|
|
39
53
|
id?: string | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* Identifier of the parent entity (agent, deployment, etc.) this conversation belongs to.
|
|
56
|
+
*/
|
|
57
|
+
entityId: string;
|
|
40
58
|
/**
|
|
41
59
|
* Type discriminator indicating this is a conversation
|
|
42
60
|
*/
|
|
@@ -61,6 +79,10 @@ export type RetrieveConversationResponseBody = {
|
|
|
61
79
|
* Optional identifier of the user or agent that last updated the conversation
|
|
62
80
|
*/
|
|
63
81
|
updatedById?: string | undefined;
|
|
82
|
+
/**
|
|
83
|
+
* Optional metadata associated with the conversation.
|
|
84
|
+
*/
|
|
85
|
+
metadata?: RetrieveConversationMetadata | undefined;
|
|
64
86
|
};
|
|
65
87
|
|
|
66
88
|
/** @internal */
|
|
@@ -121,33 +143,97 @@ export const RetrieveConversationKind$outboundSchema: z.ZodNativeEnum<
|
|
|
121
143
|
typeof RetrieveConversationKind
|
|
122
144
|
> = RetrieveConversationKind$inboundSchema;
|
|
123
145
|
|
|
146
|
+
/** @internal */
|
|
147
|
+
export const RetrieveConversationMetadata$inboundSchema: z.ZodType<
|
|
148
|
+
RetrieveConversationMetadata,
|
|
149
|
+
z.ZodTypeDef,
|
|
150
|
+
unknown
|
|
151
|
+
> = z.object({
|
|
152
|
+
generating_title: z.boolean().optional(),
|
|
153
|
+
entity_id: z.string().optional(),
|
|
154
|
+
}).transform((v) => {
|
|
155
|
+
return remap$(v, {
|
|
156
|
+
"generating_title": "generatingTitle",
|
|
157
|
+
"entity_id": "entityId",
|
|
158
|
+
});
|
|
159
|
+
});
|
|
160
|
+
/** @internal */
|
|
161
|
+
export type RetrieveConversationMetadata$Outbound = {
|
|
162
|
+
generating_title?: boolean | undefined;
|
|
163
|
+
entity_id?: string | undefined;
|
|
164
|
+
};
|
|
165
|
+
|
|
166
|
+
/** @internal */
|
|
167
|
+
export const RetrieveConversationMetadata$outboundSchema: z.ZodType<
|
|
168
|
+
RetrieveConversationMetadata$Outbound,
|
|
169
|
+
z.ZodTypeDef,
|
|
170
|
+
RetrieveConversationMetadata
|
|
171
|
+
> = z.object({
|
|
172
|
+
generatingTitle: z.boolean().optional(),
|
|
173
|
+
entityId: z.string().optional(),
|
|
174
|
+
}).transform((v) => {
|
|
175
|
+
return remap$(v, {
|
|
176
|
+
generatingTitle: "generating_title",
|
|
177
|
+
entityId: "entity_id",
|
|
178
|
+
});
|
|
179
|
+
});
|
|
180
|
+
|
|
181
|
+
export function retrieveConversationMetadataToJSON(
|
|
182
|
+
retrieveConversationMetadata: RetrieveConversationMetadata,
|
|
183
|
+
): string {
|
|
184
|
+
return JSON.stringify(
|
|
185
|
+
RetrieveConversationMetadata$outboundSchema.parse(
|
|
186
|
+
retrieveConversationMetadata,
|
|
187
|
+
),
|
|
188
|
+
);
|
|
189
|
+
}
|
|
190
|
+
export function retrieveConversationMetadataFromJSON(
|
|
191
|
+
jsonString: string,
|
|
192
|
+
): SafeParseResult<RetrieveConversationMetadata, SDKValidationError> {
|
|
193
|
+
return safeParse(
|
|
194
|
+
jsonString,
|
|
195
|
+
(x) => RetrieveConversationMetadata$inboundSchema.parse(JSON.parse(x)),
|
|
196
|
+
`Failed to parse 'RetrieveConversationMetadata' from JSON`,
|
|
197
|
+
);
|
|
198
|
+
}
|
|
199
|
+
|
|
124
200
|
/** @internal */
|
|
125
201
|
export const RetrieveConversationResponseBody$inboundSchema: z.ZodType<
|
|
126
202
|
RetrieveConversationResponseBody,
|
|
127
203
|
z.ZodTypeDef,
|
|
128
204
|
unknown
|
|
129
205
|
> = z.object({
|
|
130
|
-
_id: z.string().default("
|
|
206
|
+
_id: z.string().default("conv_01kc3ce28ryty8dg5bnwyth1za"),
|
|
207
|
+
entity_id: z.string(),
|
|
131
208
|
kind: RetrieveConversationKind$inboundSchema,
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
209
|
+
display_name: z.string(),
|
|
210
|
+
created_at: z.number(),
|
|
211
|
+
updated_at: z.number(),
|
|
212
|
+
created_by_id: z.string().optional(),
|
|
213
|
+
updated_by_id: z.string().optional(),
|
|
214
|
+
metadata: z.lazy(() => RetrieveConversationMetadata$inboundSchema).optional(),
|
|
137
215
|
}).transform((v) => {
|
|
138
216
|
return remap$(v, {
|
|
139
217
|
"_id": "id",
|
|
218
|
+
"entity_id": "entityId",
|
|
219
|
+
"display_name": "displayName",
|
|
220
|
+
"created_at": "createdAt",
|
|
221
|
+
"updated_at": "updatedAt",
|
|
222
|
+
"created_by_id": "createdById",
|
|
223
|
+
"updated_by_id": "updatedById",
|
|
140
224
|
});
|
|
141
225
|
});
|
|
142
226
|
/** @internal */
|
|
143
227
|
export type RetrieveConversationResponseBody$Outbound = {
|
|
144
228
|
_id: string;
|
|
229
|
+
entity_id: string;
|
|
145
230
|
kind: string;
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
231
|
+
display_name: string;
|
|
232
|
+
created_at: number;
|
|
233
|
+
updated_at: number;
|
|
234
|
+
created_by_id?: string | undefined;
|
|
235
|
+
updated_by_id?: string | undefined;
|
|
236
|
+
metadata?: RetrieveConversationMetadata$Outbound | undefined;
|
|
151
237
|
};
|
|
152
238
|
|
|
153
239
|
/** @internal */
|
|
@@ -156,16 +242,25 @@ export const RetrieveConversationResponseBody$outboundSchema: z.ZodType<
|
|
|
156
242
|
z.ZodTypeDef,
|
|
157
243
|
RetrieveConversationResponseBody
|
|
158
244
|
> = z.object({
|
|
159
|
-
id: z.string().default("
|
|
245
|
+
id: z.string().default("conv_01kc3ce28ryty8dg5bnwyth1za"),
|
|
246
|
+
entityId: z.string(),
|
|
160
247
|
kind: RetrieveConversationKind$outboundSchema,
|
|
161
248
|
displayName: z.string(),
|
|
162
249
|
createdAt: z.number(),
|
|
163
250
|
updatedAt: z.number(),
|
|
164
251
|
createdById: z.string().optional(),
|
|
165
252
|
updatedById: z.string().optional(),
|
|
253
|
+
metadata: z.lazy(() => RetrieveConversationMetadata$outboundSchema)
|
|
254
|
+
.optional(),
|
|
166
255
|
}).transform((v) => {
|
|
167
256
|
return remap$(v, {
|
|
168
257
|
id: "_id",
|
|
258
|
+
entityId: "entity_id",
|
|
259
|
+
displayName: "display_name",
|
|
260
|
+
createdAt: "created_at",
|
|
261
|
+
updatedAt: "updated_at",
|
|
262
|
+
createdById: "created_by_id",
|
|
263
|
+
updatedById: "updated_by_id",
|
|
169
264
|
});
|
|
170
265
|
});
|
|
171
266
|
|
|
@@ -1878,7 +1878,7 @@ export const RetrieveDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
1878
1878
|
.default("orq"),
|
|
1879
1879
|
reviewed_by_id: z.string(),
|
|
1880
1880
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1881
|
-
"2025-12-
|
|
1881
|
+
"2025-12-10T05:41:06.443Z",
|
|
1882
1882
|
).transform(v => new Date(v)),
|
|
1883
1883
|
type: z.literal("string_array"),
|
|
1884
1884
|
values: z.array(z.string()),
|
|
@@ -1915,7 +1915,7 @@ export const RetrieveDatapointEvaluations3$outboundSchema: z.ZodType<
|
|
|
1915
1915
|
source: RetrieveDatapointEvaluationsDatasetsResponseSource$outboundSchema
|
|
1916
1916
|
.default("orq"),
|
|
1917
1917
|
reviewedById: z.string(),
|
|
1918
|
-
reviewedAt: z.date().default(() => new Date("2025-12-
|
|
1918
|
+
reviewedAt: z.date().default(() => new Date("2025-12-10T05:41:06.443Z"))
|
|
1919
1919
|
.transform(v => v.toISOString()),
|
|
1920
1920
|
type: z.literal("string_array"),
|
|
1921
1921
|
values: z.array(z.string()),
|
|
@@ -1980,7 +1980,7 @@ export const RetrieveDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
1980
1980
|
),
|
|
1981
1981
|
reviewed_by_id: z.string(),
|
|
1982
1982
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1983
|
-
"2025-12-
|
|
1983
|
+
"2025-12-10T05:41:06.443Z",
|
|
1984
1984
|
).transform(v => new Date(v)),
|
|
1985
1985
|
type: z.literal("number"),
|
|
1986
1986
|
value: z.number(),
|
|
@@ -2018,7 +2018,7 @@ export const RetrieveDatapointEvaluations2$outboundSchema: z.ZodType<
|
|
|
2018
2018
|
"orq",
|
|
2019
2019
|
),
|
|
2020
2020
|
reviewedById: z.string(),
|
|
2021
|
-
reviewedAt: z.date().default(() => new Date("2025-12-
|
|
2021
|
+
reviewedAt: z.date().default(() => new Date("2025-12-10T05:41:06.443Z"))
|
|
2022
2022
|
.transform(v => v.toISOString()),
|
|
2023
2023
|
type: z.literal("number"),
|
|
2024
2024
|
value: z.number(),
|
|
@@ -2080,7 +2080,7 @@ export const RetrieveDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
2080
2080
|
source: RetrieveDatapointEvaluationsSource$inboundSchema.default("orq"),
|
|
2081
2081
|
reviewed_by_id: z.string(),
|
|
2082
2082
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2083
|
-
"2025-12-
|
|
2083
|
+
"2025-12-10T05:41:06.442Z",
|
|
2084
2084
|
).transform(v => new Date(v)),
|
|
2085
2085
|
type: z.literal("string"),
|
|
2086
2086
|
value: z.string(),
|
|
@@ -2115,7 +2115,7 @@ export const RetrieveDatapointEvaluations1$outboundSchema: z.ZodType<
|
|
|
2115
2115
|
humanReviewId: z.string(),
|
|
2116
2116
|
source: RetrieveDatapointEvaluationsSource$outboundSchema.default("orq"),
|
|
2117
2117
|
reviewedById: z.string(),
|
|
2118
|
-
reviewedAt: z.date().default(() => new Date("2025-12-
|
|
2118
|
+
reviewedAt: z.date().default(() => new Date("2025-12-10T05:41:06.442Z"))
|
|
2119
2119
|
.transform(v => v.toISOString()),
|
|
2120
2120
|
type: z.literal("string"),
|
|
2121
2121
|
value: z.string(),
|
|
@@ -2226,7 +2226,7 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
2226
2226
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2227
2227
|
.optional(),
|
|
2228
2228
|
updated: z.string().datetime({ offset: true }).default(
|
|
2229
|
-
"2025-12-
|
|
2229
|
+
"2025-12-10T05:40:54.670Z",
|
|
2230
2230
|
).transform(v => new Date(v)),
|
|
2231
2231
|
}).transform((v) => {
|
|
2232
2232
|
return remap$(v, {
|
|
@@ -2300,7 +2300,7 @@ export const RetrieveDatapointResponseBody$outboundSchema: z.ZodType<
|
|
|
2300
2300
|
createdById: z.string().optional(),
|
|
2301
2301
|
updatedById: z.string().optional(),
|
|
2302
2302
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
2303
|
-
updated: z.date().default(() => new Date("2025-12-
|
|
2303
|
+
updated: z.date().default(() => new Date("2025-12-10T05:40:54.670Z"))
|
|
2304
2304
|
.transform(v => v.toISOString()),
|
|
2305
2305
|
}).transform((v) => {
|
|
2306
2306
|
return remap$(v, {
|
|
@@ -174,7 +174,7 @@ export const RetrieveDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
174
174
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
175
175
|
.optional(),
|
|
176
176
|
updated: z.string().datetime({ offset: true }).default(
|
|
177
|
-
"2025-12-
|
|
177
|
+
"2025-12-10T05:40:54.670Z",
|
|
178
178
|
).transform(v => new Date(v)),
|
|
179
179
|
}).transform((v) => {
|
|
180
180
|
return remap$(v, {
|
|
@@ -213,7 +213,7 @@ export const RetrieveDatasetResponseBody$outboundSchema: z.ZodType<
|
|
|
213
213
|
createdById: z.string().optional(),
|
|
214
214
|
updatedById: z.string().optional(),
|
|
215
215
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
216
|
-
updated: z.date().default(() => new Date("2025-12-
|
|
216
|
+
updated: z.date().default(() => new Date("2025-12-10T05:40:54.670Z"))
|
|
217
217
|
.transform(v => v.toISOString()),
|
|
218
218
|
}).transform((v) => {
|
|
219
219
|
return remap$(v, {
|