@orq-ai/node 3.13.9 → 3.13.11
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 +107 -93
- package/bin/mcp-server.js +43652 -40649
- package/bin/mcp-server.js.map +117 -98
- package/docs/sdks/agents/README.md +566 -0
- package/examples/package-lock.json +1 -1
- package/funcs/agentsCreate.d.ts +18 -0
- package/funcs/agentsCreate.d.ts.map +1 -0
- package/funcs/agentsCreate.js +120 -0
- package/funcs/agentsCreate.js.map +1 -0
- package/funcs/agentsDelete.d.ts +18 -0
- package/funcs/agentsDelete.d.ts.map +1 -0
- package/funcs/agentsDelete.js +124 -0
- package/funcs/agentsDelete.js.map +1 -0
- package/funcs/agentsInvoke.d.ts +17 -0
- package/funcs/agentsInvoke.d.ts.map +1 -0
- package/funcs/agentsInvoke.js +120 -0
- package/funcs/agentsInvoke.js.map +1 -0
- package/funcs/agentsStream.d.ts +19 -0
- package/funcs/agentsStream.d.ts.map +1 -0
- package/funcs/agentsStream.js +134 -0
- package/funcs/agentsStream.js.map +1 -0
- package/funcs/agentsUpdate.d.ts +18 -0
- package/funcs/agentsUpdate.d.ts.map +1 -0
- package/funcs/agentsUpdate.js +124 -0
- package/funcs/agentsUpdate.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/lib/config.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/mcp-server.js.map +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +11 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/agentsCreate.d.ts +8 -0
- package/mcp-server/tools/agentsCreate.d.ts.map +1 -0
- package/mcp-server/tools/agentsCreate.js +64 -0
- package/mcp-server/tools/agentsCreate.js.map +1 -0
- package/mcp-server/tools/agentsDelete.d.ts +8 -0
- package/mcp-server/tools/agentsDelete.d.ts.map +1 -0
- package/mcp-server/tools/agentsDelete.js +63 -0
- package/mcp-server/tools/agentsDelete.js.map +1 -0
- package/mcp-server/tools/agentsInvoke.d.ts +8 -0
- package/mcp-server/tools/agentsInvoke.d.ts.map +1 -0
- package/mcp-server/tools/agentsInvoke.js +64 -0
- package/mcp-server/tools/agentsInvoke.js.map +1 -0
- package/mcp-server/tools/agentsStream.d.ts +8 -0
- package/mcp-server/tools/agentsStream.d.ts.map +1 -0
- package/mcp-server/tools/agentsStream.js +64 -0
- package/mcp-server/tools/agentsStream.js.map +1 -0
- package/mcp-server/tools/agentsUpdate.d.ts +8 -0
- package/mcp-server/tools/agentsUpdate.d.ts.map +1 -0
- package/mcp-server/tools/agentsUpdate.js +64 -0
- package/mcp-server/tools/agentsUpdate.js.map +1 -0
- package/models/errors/createagent.d.ts +41 -0
- package/models/errors/createagent.d.ts.map +1 -0
- package/models/errors/createagent.js +85 -0
- package/models/errors/createagent.js.map +1 -0
- package/models/errors/deleteagent.d.ts +41 -0
- package/models/errors/deleteagent.d.ts.map +1 -0
- package/models/errors/deleteagent.js +85 -0
- package/models/errors/deleteagent.js.map +1 -0
- package/models/errors/index.d.ts +4 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +4 -0
- package/models/errors/index.js.map +1 -1
- package/models/errors/streamagent.d.ts +41 -0
- package/models/errors/streamagent.d.ts.map +1 -0
- package/models/errors/streamagent.js +85 -0
- package/models/errors/streamagent.js.map +1 -0
- package/models/errors/updateagent.d.ts +41 -0
- package/models/errors/updateagent.d.ts.map +1 -0
- package/models/errors/updateagent.js +85 -0
- package/models/errors/updateagent.js.map +1 -0
- package/models/operations/createagent.d.ts +1504 -0
- package/models/operations/createagent.d.ts.map +1 -0
- package/models/operations/createagent.js +1530 -0
- package/models/operations/createagent.js.map +1 -0
- package/models/operations/createbudget.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +2 -2
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +28 -28
- package/models/operations/createtool.d.ts +20 -20
- package/models/operations/createtool.d.ts.map +1 -1
- package/models/operations/createtool.js +34 -34
- package/models/operations/createtool.js.map +1 -1
- package/models/operations/deleteagent.d.ts +32 -0
- package/models/operations/deleteagent.d.ts.map +1 -0
- package/models/operations/deleteagent.js +78 -0
- package/models/operations/deleteagent.js.map +1 -0
- package/models/operations/duplicatetool.d.ts +10 -10
- package/models/operations/duplicatetool.d.ts.map +1 -1
- package/models/operations/duplicatetool.js +20 -20
- 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 +44 -175
- package/models/operations/getagent.d.ts.map +1 -1
- package/models/operations/getagent.js +51 -184
- package/models/operations/getagent.js.map +1 -1
- package/models/operations/getalltools.d.ts +10 -10
- package/models/operations/getalltools.d.ts.map +1 -1
- package/models/operations/getalltools.js +20 -20
- package/models/operations/getalltools.js.map +1 -1
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/index.d.ts +5 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +5 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/invokeagent.d.ts +912 -0
- package/models/operations/invokeagent.d.ts.map +1 -0
- package/models/operations/invokeagent.js +824 -0
- package/models/operations/invokeagent.js.map +1 -0
- package/models/operations/listagents.d.ts +6 -137
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +3 -139
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listagenttasks.d.ts +5 -0
- package/models/operations/listagenttasks.d.ts.map +1 -1
- package/models/operations/listagenttasks.js +2 -0
- package/models/operations/listagenttasks.js.map +1 -1
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +2 -2
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievetool.d.ts +10 -10
- package/models/operations/retrievetool.d.ts.map +1 -1
- package/models/operations/retrievetool.js +20 -20
- package/models/operations/retrievetool.js.map +1 -1
- package/models/operations/runagent.d.ts +640 -721
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +817 -928
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamagent.d.ts +676 -0
- package/models/operations/streamagent.d.ts.map +1 -0
- package/models/operations/streamagent.js +670 -0
- package/models/operations/streamagent.js.map +1 -0
- package/models/operations/streamrunagent.d.ts +567 -648
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +721 -835
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +1515 -0
- package/models/operations/updateagent.d.ts.map +1 -0
- package/models/operations/updateagent.js +1576 -0
- package/models/operations/updateagent.js.map +1 -0
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +2 -2
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +28 -28
- package/models/operations/updatetool.d.ts +18 -18
- package/models/operations/updatetool.d.ts.map +1 -1
- package/models/operations/updatetool.js +36 -36
- package/models/operations/updatetool.js.map +1 -1
- package/package.json +1 -1
- package/packages/orq-rc/README.md +103 -94
- package/packages/orq-rc/docs/sdks/agents/README.md +297 -0
- package/packages/orq-rc/examples/package-lock.json +1 -1
- package/packages/orq-rc/jsr.json +1 -1
- package/packages/orq-rc/package-lock.json +2 -2
- package/packages/orq-rc/package.json +1 -1
- package/packages/orq-rc/src/funcs/agentsCreate.ts +172 -0
- package/packages/orq-rc/src/funcs/agentsDelete.ts +176 -0
- package/packages/orq-rc/src/funcs/agentsUpdate.ts +176 -0
- package/packages/orq-rc/src/lib/config.ts +2 -2
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
- package/packages/orq-rc/src/mcp-server/server.ts +7 -1
- package/packages/orq-rc/src/mcp-server/tools/agentsCreate.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/agentsDelete.ts +35 -0
- package/packages/orq-rc/src/mcp-server/tools/agentsUpdate.ts +37 -0
- package/packages/orq-rc/src/models/errors/createagent.ts +80 -0
- package/packages/orq-rc/src/models/errors/deleteagent.ts +80 -0
- package/packages/orq-rc/src/models/errors/index.ts +3 -0
- package/packages/orq-rc/src/models/errors/updateagent.ts +80 -0
- package/packages/orq-rc/src/models/operations/createagent.ts +3027 -0
- package/packages/orq-rc/src/models/operations/createbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +8 -8
- package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/createeval.ts +28 -28
- package/packages/orq-rc/src/models/operations/createtool.ts +50 -50
- package/packages/orq-rc/src/models/operations/deleteagent.ts +78 -0
- package/packages/orq-rc/src/models/operations/duplicatetool.ts +30 -30
- package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
- package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
- package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
- package/packages/orq-rc/src/models/operations/getagent.ts +87 -387
- package/packages/orq-rc/src/models/operations/getalltools.ts +33 -33
- package/packages/orq-rc/src/models/operations/getbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
- package/packages/orq-rc/src/models/operations/index.ts +3 -0
- package/packages/orq-rc/src/models/operations/invokeagent.ts +12 -4
- package/packages/orq-rc/src/models/operations/listagents.ts +8 -321
- package/packages/orq-rc/src/models/operations/listagenttasks.ts +7 -0
- package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +8 -8
- package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +8 -8
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievetool.ts +30 -30
- package/packages/orq-rc/src/models/operations/runagent.ts +1003 -1113
- package/packages/orq-rc/src/models/operations/streamagent.ts +4 -2
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +1276 -1427
- package/packages/orq-rc/src/models/operations/updateagent.ts +3239 -0
- package/packages/orq-rc/src/models/operations/updatebudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +8 -8
- package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/updateeval.ts +28 -28
- package/packages/orq-rc/src/models/operations/updatetool.ts +56 -56
- package/packages/orq-rc/src/sdk/agents.ts +54 -0
- package/sdk/agents.d.ts +35 -0
- package/sdk/agents.d.ts.map +1 -1
- package/sdk/agents.js +50 -0
- package/sdk/agents.js.map +1 -1
- package/src/funcs/agentsCreate.ts +172 -0
- package/src/funcs/agentsDelete.ts +176 -0
- package/src/funcs/agentsInvoke.ts +167 -0
- package/src/funcs/agentsStream.ts +191 -0
- package/src/funcs/agentsUpdate.ts +176 -0
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +11 -1
- package/src/mcp-server/tools/agentsCreate.ts +37 -0
- package/src/mcp-server/tools/agentsDelete.ts +35 -0
- package/src/mcp-server/tools/agentsInvoke.ts +37 -0
- package/src/mcp-server/tools/agentsStream.ts +37 -0
- package/src/mcp-server/tools/agentsUpdate.ts +37 -0
- package/src/models/errors/createagent.ts +80 -0
- package/src/models/errors/deleteagent.ts +80 -0
- package/src/models/errors/index.ts +4 -0
- package/src/models/errors/streamagent.ts +80 -0
- package/src/models/errors/updateagent.ts +80 -0
- package/src/models/operations/createagent.ts +3021 -0
- package/src/models/operations/createbudget.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +2 -2
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/createtool.ts +54 -54
- package/src/models/operations/deleteagent.ts +78 -0
- package/src/models/operations/duplicatetool.ts +30 -30
- 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 +87 -387
- package/src/models/operations/getalltools.ts +30 -30
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/index.ts +5 -0
- package/src/models/operations/invokeagent.ts +1569 -0
- package/src/models/operations/listagents.ts +8 -321
- package/src/models/operations/listagenttasks.ts +7 -0
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +2 -2
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievetool.ts +30 -30
- package/src/models/operations/runagent.ts +1441 -1488
- package/src/models/operations/streamagent.ts +1367 -0
- package/src/models/operations/streamrunagent.ts +1542 -1657
- package/src/models/operations/updateagent.ts +3227 -0
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +2 -2
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +28 -28
- package/src/models/operations/updatetool.ts +60 -60
- package/src/sdk/agents.ts +90 -0
|
@@ -78,6 +78,10 @@ export type ListAgentsTools = {
|
|
|
78
78
|
* The id of the resource
|
|
79
79
|
*/
|
|
80
80
|
id: string;
|
|
81
|
+
/**
|
|
82
|
+
* Optional tool key for custom tools
|
|
83
|
+
*/
|
|
84
|
+
key?: string | undefined;
|
|
81
85
|
actionType: string;
|
|
82
86
|
displayName?: string | undefined;
|
|
83
87
|
requiresApproval?: boolean | undefined;
|
|
@@ -146,57 +150,11 @@ export type ListAgentsMetrics = {
|
|
|
146
150
|
totalCost?: number | undefined;
|
|
147
151
|
};
|
|
148
152
|
|
|
149
|
-
export const ListAgentsKnowledgeBaseConfigurationType = {
|
|
150
|
-
Query: "query",
|
|
151
|
-
} as const;
|
|
152
|
-
export type ListAgentsKnowledgeBaseConfigurationType = ClosedEnum<
|
|
153
|
-
typeof ListAgentsKnowledgeBaseConfigurationType
|
|
154
|
-
>;
|
|
155
|
-
|
|
156
|
-
/**
|
|
157
|
-
* Defines the configuration settings for a static query.
|
|
158
|
-
*/
|
|
159
|
-
export type ListAgentsKnowledgeBaseConfigurationKnowledgeBaseStaticQuery = {
|
|
160
|
-
type: ListAgentsKnowledgeBaseConfigurationType;
|
|
161
|
-
query: string;
|
|
162
|
-
};
|
|
163
|
-
|
|
164
|
-
export const ListAgentsKnowledgeBaseConfigurationAgentsType = {
|
|
165
|
-
LastUserMessage: "last_user_message",
|
|
166
|
-
} as const;
|
|
167
|
-
export type ListAgentsKnowledgeBaseConfigurationAgentsType = ClosedEnum<
|
|
168
|
-
typeof ListAgentsKnowledgeBaseConfigurationAgentsType
|
|
169
|
-
>;
|
|
170
|
-
|
|
171
|
-
/**
|
|
172
|
-
* Defines the configuration settings for a last user message type retrieval.
|
|
173
|
-
*/
|
|
174
|
-
export type ListAgentsKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage = {
|
|
175
|
-
type: ListAgentsKnowledgeBaseConfigurationAgentsType;
|
|
176
|
-
};
|
|
177
|
-
|
|
178
|
-
/**
|
|
179
|
-
* Defines the configuration settings which can either be for a user message or a text entry.
|
|
180
|
-
*/
|
|
181
|
-
export type ListAgentsKnowledgeBaseConfiguration =
|
|
182
|
-
| ListAgentsKnowledgeBaseConfigurationKnowledgeBaseStaticQuery
|
|
183
|
-
| ListAgentsKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage;
|
|
184
|
-
|
|
185
153
|
export type ListAgentsKnowledgeBases = {
|
|
186
154
|
/**
|
|
187
|
-
*
|
|
188
|
-
*/
|
|
189
|
-
id?: string | undefined;
|
|
190
|
-
/**
|
|
191
|
-
* The id of the resource
|
|
155
|
+
* Unique identifier of the knowledge base to search
|
|
192
156
|
*/
|
|
193
157
|
knowledgeId: string;
|
|
194
|
-
/**
|
|
195
|
-
* Defines the configuration settings which can either be for a user message or a text entry.
|
|
196
|
-
*/
|
|
197
|
-
configuration:
|
|
198
|
-
| ListAgentsKnowledgeBaseConfigurationKnowledgeBaseStaticQuery
|
|
199
|
-
| ListAgentsKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage;
|
|
200
158
|
};
|
|
201
159
|
|
|
202
160
|
export const ListAgentsHiddenPanels = {
|
|
@@ -467,6 +425,7 @@ export const ListAgentsTools$inboundSchema: z.ZodType<
|
|
|
467
425
|
unknown
|
|
468
426
|
> = z.object({
|
|
469
427
|
id: z.string(),
|
|
428
|
+
key: z.string().optional(),
|
|
470
429
|
action_type: z.string(),
|
|
471
430
|
display_name: z.string().optional(),
|
|
472
431
|
requires_approval: z.boolean().default(false),
|
|
@@ -485,6 +444,7 @@ export const ListAgentsTools$inboundSchema: z.ZodType<
|
|
|
485
444
|
/** @internal */
|
|
486
445
|
export type ListAgentsTools$Outbound = {
|
|
487
446
|
id: string;
|
|
447
|
+
key?: string | undefined;
|
|
488
448
|
action_type: string;
|
|
489
449
|
display_name?: string | undefined;
|
|
490
450
|
requires_approval: boolean;
|
|
@@ -500,6 +460,7 @@ export const ListAgentsTools$outboundSchema: z.ZodType<
|
|
|
500
460
|
ListAgentsTools
|
|
501
461
|
> = z.object({
|
|
502
462
|
id: z.string(),
|
|
463
|
+
key: z.string().optional(),
|
|
503
464
|
actionType: z.string(),
|
|
504
465
|
displayName: z.string().optional(),
|
|
505
466
|
requiresApproval: z.boolean().default(false),
|
|
@@ -818,274 +779,13 @@ export function listAgentsMetricsFromJSON(
|
|
|
818
779
|
);
|
|
819
780
|
}
|
|
820
781
|
|
|
821
|
-
/** @internal */
|
|
822
|
-
export const ListAgentsKnowledgeBaseConfigurationType$inboundSchema:
|
|
823
|
-
z.ZodNativeEnum<typeof ListAgentsKnowledgeBaseConfigurationType> = z
|
|
824
|
-
.nativeEnum(ListAgentsKnowledgeBaseConfigurationType);
|
|
825
|
-
|
|
826
|
-
/** @internal */
|
|
827
|
-
export const ListAgentsKnowledgeBaseConfigurationType$outboundSchema:
|
|
828
|
-
z.ZodNativeEnum<typeof ListAgentsKnowledgeBaseConfigurationType> =
|
|
829
|
-
ListAgentsKnowledgeBaseConfigurationType$inboundSchema;
|
|
830
|
-
|
|
831
|
-
/**
|
|
832
|
-
* @internal
|
|
833
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
834
|
-
*/
|
|
835
|
-
export namespace ListAgentsKnowledgeBaseConfigurationType$ {
|
|
836
|
-
/** @deprecated use `ListAgentsKnowledgeBaseConfigurationType$inboundSchema` instead. */
|
|
837
|
-
export const inboundSchema =
|
|
838
|
-
ListAgentsKnowledgeBaseConfigurationType$inboundSchema;
|
|
839
|
-
/** @deprecated use `ListAgentsKnowledgeBaseConfigurationType$outboundSchema` instead. */
|
|
840
|
-
export const outboundSchema =
|
|
841
|
-
ListAgentsKnowledgeBaseConfigurationType$outboundSchema;
|
|
842
|
-
}
|
|
843
|
-
|
|
844
|
-
/** @internal */
|
|
845
|
-
export const ListAgentsKnowledgeBaseConfigurationKnowledgeBaseStaticQuery$inboundSchema:
|
|
846
|
-
z.ZodType<
|
|
847
|
-
ListAgentsKnowledgeBaseConfigurationKnowledgeBaseStaticQuery,
|
|
848
|
-
z.ZodTypeDef,
|
|
849
|
-
unknown
|
|
850
|
-
> = z.object({
|
|
851
|
-
type: ListAgentsKnowledgeBaseConfigurationType$inboundSchema,
|
|
852
|
-
query: z.string(),
|
|
853
|
-
});
|
|
854
|
-
|
|
855
|
-
/** @internal */
|
|
856
|
-
export type ListAgentsKnowledgeBaseConfigurationKnowledgeBaseStaticQuery$Outbound =
|
|
857
|
-
{
|
|
858
|
-
type: string;
|
|
859
|
-
query: string;
|
|
860
|
-
};
|
|
861
|
-
|
|
862
|
-
/** @internal */
|
|
863
|
-
export const ListAgentsKnowledgeBaseConfigurationKnowledgeBaseStaticQuery$outboundSchema:
|
|
864
|
-
z.ZodType<
|
|
865
|
-
ListAgentsKnowledgeBaseConfigurationKnowledgeBaseStaticQuery$Outbound,
|
|
866
|
-
z.ZodTypeDef,
|
|
867
|
-
ListAgentsKnowledgeBaseConfigurationKnowledgeBaseStaticQuery
|
|
868
|
-
> = z.object({
|
|
869
|
-
type: ListAgentsKnowledgeBaseConfigurationType$outboundSchema,
|
|
870
|
-
query: z.string(),
|
|
871
|
-
});
|
|
872
|
-
|
|
873
|
-
/**
|
|
874
|
-
* @internal
|
|
875
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
876
|
-
*/
|
|
877
|
-
export namespace ListAgentsKnowledgeBaseConfigurationKnowledgeBaseStaticQuery$ {
|
|
878
|
-
/** @deprecated use `ListAgentsKnowledgeBaseConfigurationKnowledgeBaseStaticQuery$inboundSchema` instead. */
|
|
879
|
-
export const inboundSchema =
|
|
880
|
-
ListAgentsKnowledgeBaseConfigurationKnowledgeBaseStaticQuery$inboundSchema;
|
|
881
|
-
/** @deprecated use `ListAgentsKnowledgeBaseConfigurationKnowledgeBaseStaticQuery$outboundSchema` instead. */
|
|
882
|
-
export const outboundSchema =
|
|
883
|
-
ListAgentsKnowledgeBaseConfigurationKnowledgeBaseStaticQuery$outboundSchema;
|
|
884
|
-
/** @deprecated use `ListAgentsKnowledgeBaseConfigurationKnowledgeBaseStaticQuery$Outbound` instead. */
|
|
885
|
-
export type Outbound =
|
|
886
|
-
ListAgentsKnowledgeBaseConfigurationKnowledgeBaseStaticQuery$Outbound;
|
|
887
|
-
}
|
|
888
|
-
|
|
889
|
-
export function listAgentsKnowledgeBaseConfigurationKnowledgeBaseStaticQueryToJSON(
|
|
890
|
-
listAgentsKnowledgeBaseConfigurationKnowledgeBaseStaticQuery:
|
|
891
|
-
ListAgentsKnowledgeBaseConfigurationKnowledgeBaseStaticQuery,
|
|
892
|
-
): string {
|
|
893
|
-
return JSON.stringify(
|
|
894
|
-
ListAgentsKnowledgeBaseConfigurationKnowledgeBaseStaticQuery$outboundSchema
|
|
895
|
-
.parse(listAgentsKnowledgeBaseConfigurationKnowledgeBaseStaticQuery),
|
|
896
|
-
);
|
|
897
|
-
}
|
|
898
|
-
|
|
899
|
-
export function listAgentsKnowledgeBaseConfigurationKnowledgeBaseStaticQueryFromJSON(
|
|
900
|
-
jsonString: string,
|
|
901
|
-
): SafeParseResult<
|
|
902
|
-
ListAgentsKnowledgeBaseConfigurationKnowledgeBaseStaticQuery,
|
|
903
|
-
SDKValidationError
|
|
904
|
-
> {
|
|
905
|
-
return safeParse(
|
|
906
|
-
jsonString,
|
|
907
|
-
(x) =>
|
|
908
|
-
ListAgentsKnowledgeBaseConfigurationKnowledgeBaseStaticQuery$inboundSchema
|
|
909
|
-
.parse(JSON.parse(x)),
|
|
910
|
-
`Failed to parse 'ListAgentsKnowledgeBaseConfigurationKnowledgeBaseStaticQuery' from JSON`,
|
|
911
|
-
);
|
|
912
|
-
}
|
|
913
|
-
|
|
914
|
-
/** @internal */
|
|
915
|
-
export const ListAgentsKnowledgeBaseConfigurationAgentsType$inboundSchema:
|
|
916
|
-
z.ZodNativeEnum<typeof ListAgentsKnowledgeBaseConfigurationAgentsType> = z
|
|
917
|
-
.nativeEnum(ListAgentsKnowledgeBaseConfigurationAgentsType);
|
|
918
|
-
|
|
919
|
-
/** @internal */
|
|
920
|
-
export const ListAgentsKnowledgeBaseConfigurationAgentsType$outboundSchema:
|
|
921
|
-
z.ZodNativeEnum<typeof ListAgentsKnowledgeBaseConfigurationAgentsType> =
|
|
922
|
-
ListAgentsKnowledgeBaseConfigurationAgentsType$inboundSchema;
|
|
923
|
-
|
|
924
|
-
/**
|
|
925
|
-
* @internal
|
|
926
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
927
|
-
*/
|
|
928
|
-
export namespace ListAgentsKnowledgeBaseConfigurationAgentsType$ {
|
|
929
|
-
/** @deprecated use `ListAgentsKnowledgeBaseConfigurationAgentsType$inboundSchema` instead. */
|
|
930
|
-
export const inboundSchema =
|
|
931
|
-
ListAgentsKnowledgeBaseConfigurationAgentsType$inboundSchema;
|
|
932
|
-
/** @deprecated use `ListAgentsKnowledgeBaseConfigurationAgentsType$outboundSchema` instead. */
|
|
933
|
-
export const outboundSchema =
|
|
934
|
-
ListAgentsKnowledgeBaseConfigurationAgentsType$outboundSchema;
|
|
935
|
-
}
|
|
936
|
-
|
|
937
|
-
/** @internal */
|
|
938
|
-
export const ListAgentsKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$inboundSchema:
|
|
939
|
-
z.ZodType<
|
|
940
|
-
ListAgentsKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage,
|
|
941
|
-
z.ZodTypeDef,
|
|
942
|
-
unknown
|
|
943
|
-
> = z.object({
|
|
944
|
-
type: ListAgentsKnowledgeBaseConfigurationAgentsType$inboundSchema,
|
|
945
|
-
});
|
|
946
|
-
|
|
947
|
-
/** @internal */
|
|
948
|
-
export type ListAgentsKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$Outbound =
|
|
949
|
-
{
|
|
950
|
-
type: string;
|
|
951
|
-
};
|
|
952
|
-
|
|
953
|
-
/** @internal */
|
|
954
|
-
export const ListAgentsKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$outboundSchema:
|
|
955
|
-
z.ZodType<
|
|
956
|
-
ListAgentsKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$Outbound,
|
|
957
|
-
z.ZodTypeDef,
|
|
958
|
-
ListAgentsKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage
|
|
959
|
-
> = z.object({
|
|
960
|
-
type: ListAgentsKnowledgeBaseConfigurationAgentsType$outboundSchema,
|
|
961
|
-
});
|
|
962
|
-
|
|
963
|
-
/**
|
|
964
|
-
* @internal
|
|
965
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
966
|
-
*/
|
|
967
|
-
export namespace ListAgentsKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$ {
|
|
968
|
-
/** @deprecated use `ListAgentsKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$inboundSchema` instead. */
|
|
969
|
-
export const inboundSchema =
|
|
970
|
-
ListAgentsKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$inboundSchema;
|
|
971
|
-
/** @deprecated use `ListAgentsKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$outboundSchema` instead. */
|
|
972
|
-
export const outboundSchema =
|
|
973
|
-
ListAgentsKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$outboundSchema;
|
|
974
|
-
/** @deprecated use `ListAgentsKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$Outbound` instead. */
|
|
975
|
-
export type Outbound =
|
|
976
|
-
ListAgentsKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$Outbound;
|
|
977
|
-
}
|
|
978
|
-
|
|
979
|
-
export function listAgentsKnowledgeBaseConfigurationKnowledgeBaseLastUserMessageToJSON(
|
|
980
|
-
listAgentsKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage:
|
|
981
|
-
ListAgentsKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage,
|
|
982
|
-
): string {
|
|
983
|
-
return JSON.stringify(
|
|
984
|
-
ListAgentsKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$outboundSchema
|
|
985
|
-
.parse(listAgentsKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage),
|
|
986
|
-
);
|
|
987
|
-
}
|
|
988
|
-
|
|
989
|
-
export function listAgentsKnowledgeBaseConfigurationKnowledgeBaseLastUserMessageFromJSON(
|
|
990
|
-
jsonString: string,
|
|
991
|
-
): SafeParseResult<
|
|
992
|
-
ListAgentsKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage,
|
|
993
|
-
SDKValidationError
|
|
994
|
-
> {
|
|
995
|
-
return safeParse(
|
|
996
|
-
jsonString,
|
|
997
|
-
(x) =>
|
|
998
|
-
ListAgentsKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$inboundSchema
|
|
999
|
-
.parse(JSON.parse(x)),
|
|
1000
|
-
`Failed to parse 'ListAgentsKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage' from JSON`,
|
|
1001
|
-
);
|
|
1002
|
-
}
|
|
1003
|
-
|
|
1004
|
-
/** @internal */
|
|
1005
|
-
export const ListAgentsKnowledgeBaseConfiguration$inboundSchema: z.ZodType<
|
|
1006
|
-
ListAgentsKnowledgeBaseConfiguration,
|
|
1007
|
-
z.ZodTypeDef,
|
|
1008
|
-
unknown
|
|
1009
|
-
> = z.union([
|
|
1010
|
-
z.lazy(() =>
|
|
1011
|
-
ListAgentsKnowledgeBaseConfigurationKnowledgeBaseStaticQuery$inboundSchema
|
|
1012
|
-
),
|
|
1013
|
-
z.lazy(() =>
|
|
1014
|
-
ListAgentsKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$inboundSchema
|
|
1015
|
-
),
|
|
1016
|
-
]);
|
|
1017
|
-
|
|
1018
|
-
/** @internal */
|
|
1019
|
-
export type ListAgentsKnowledgeBaseConfiguration$Outbound =
|
|
1020
|
-
| ListAgentsKnowledgeBaseConfigurationKnowledgeBaseStaticQuery$Outbound
|
|
1021
|
-
| ListAgentsKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$Outbound;
|
|
1022
|
-
|
|
1023
|
-
/** @internal */
|
|
1024
|
-
export const ListAgentsKnowledgeBaseConfiguration$outboundSchema: z.ZodType<
|
|
1025
|
-
ListAgentsKnowledgeBaseConfiguration$Outbound,
|
|
1026
|
-
z.ZodTypeDef,
|
|
1027
|
-
ListAgentsKnowledgeBaseConfiguration
|
|
1028
|
-
> = z.union([
|
|
1029
|
-
z.lazy(() =>
|
|
1030
|
-
ListAgentsKnowledgeBaseConfigurationKnowledgeBaseStaticQuery$outboundSchema
|
|
1031
|
-
),
|
|
1032
|
-
z.lazy(() =>
|
|
1033
|
-
ListAgentsKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$outboundSchema
|
|
1034
|
-
),
|
|
1035
|
-
]);
|
|
1036
|
-
|
|
1037
|
-
/**
|
|
1038
|
-
* @internal
|
|
1039
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1040
|
-
*/
|
|
1041
|
-
export namespace ListAgentsKnowledgeBaseConfiguration$ {
|
|
1042
|
-
/** @deprecated use `ListAgentsKnowledgeBaseConfiguration$inboundSchema` instead. */
|
|
1043
|
-
export const inboundSchema =
|
|
1044
|
-
ListAgentsKnowledgeBaseConfiguration$inboundSchema;
|
|
1045
|
-
/** @deprecated use `ListAgentsKnowledgeBaseConfiguration$outboundSchema` instead. */
|
|
1046
|
-
export const outboundSchema =
|
|
1047
|
-
ListAgentsKnowledgeBaseConfiguration$outboundSchema;
|
|
1048
|
-
/** @deprecated use `ListAgentsKnowledgeBaseConfiguration$Outbound` instead. */
|
|
1049
|
-
export type Outbound = ListAgentsKnowledgeBaseConfiguration$Outbound;
|
|
1050
|
-
}
|
|
1051
|
-
|
|
1052
|
-
export function listAgentsKnowledgeBaseConfigurationToJSON(
|
|
1053
|
-
listAgentsKnowledgeBaseConfiguration: ListAgentsKnowledgeBaseConfiguration,
|
|
1054
|
-
): string {
|
|
1055
|
-
return JSON.stringify(
|
|
1056
|
-
ListAgentsKnowledgeBaseConfiguration$outboundSchema.parse(
|
|
1057
|
-
listAgentsKnowledgeBaseConfiguration,
|
|
1058
|
-
),
|
|
1059
|
-
);
|
|
1060
|
-
}
|
|
1061
|
-
|
|
1062
|
-
export function listAgentsKnowledgeBaseConfigurationFromJSON(
|
|
1063
|
-
jsonString: string,
|
|
1064
|
-
): SafeParseResult<ListAgentsKnowledgeBaseConfiguration, SDKValidationError> {
|
|
1065
|
-
return safeParse(
|
|
1066
|
-
jsonString,
|
|
1067
|
-
(x) =>
|
|
1068
|
-
ListAgentsKnowledgeBaseConfiguration$inboundSchema.parse(JSON.parse(x)),
|
|
1069
|
-
`Failed to parse 'ListAgentsKnowledgeBaseConfiguration' from JSON`,
|
|
1070
|
-
);
|
|
1071
|
-
}
|
|
1072
|
-
|
|
1073
782
|
/** @internal */
|
|
1074
783
|
export const ListAgentsKnowledgeBases$inboundSchema: z.ZodType<
|
|
1075
784
|
ListAgentsKnowledgeBases,
|
|
1076
785
|
z.ZodTypeDef,
|
|
1077
786
|
unknown
|
|
1078
787
|
> = z.object({
|
|
1079
|
-
id: z.string().default("01K7K4ZPA9NFE999WCYS1ZTM0E"),
|
|
1080
788
|
knowledge_id: z.string(),
|
|
1081
|
-
configuration: z.union([
|
|
1082
|
-
z.lazy(() =>
|
|
1083
|
-
ListAgentsKnowledgeBaseConfigurationKnowledgeBaseStaticQuery$inboundSchema
|
|
1084
|
-
),
|
|
1085
|
-
z.lazy(() =>
|
|
1086
|
-
ListAgentsKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$inboundSchema
|
|
1087
|
-
),
|
|
1088
|
-
]),
|
|
1089
789
|
}).transform((v) => {
|
|
1090
790
|
return remap$(v, {
|
|
1091
791
|
"knowledge_id": "knowledgeId",
|
|
@@ -1094,11 +794,7 @@ export const ListAgentsKnowledgeBases$inboundSchema: z.ZodType<
|
|
|
1094
794
|
|
|
1095
795
|
/** @internal */
|
|
1096
796
|
export type ListAgentsKnowledgeBases$Outbound = {
|
|
1097
|
-
id: string;
|
|
1098
797
|
knowledge_id: string;
|
|
1099
|
-
configuration:
|
|
1100
|
-
| ListAgentsKnowledgeBaseConfigurationKnowledgeBaseStaticQuery$Outbound
|
|
1101
|
-
| ListAgentsKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$Outbound;
|
|
1102
798
|
};
|
|
1103
799
|
|
|
1104
800
|
/** @internal */
|
|
@@ -1107,16 +803,7 @@ export const ListAgentsKnowledgeBases$outboundSchema: z.ZodType<
|
|
|
1107
803
|
z.ZodTypeDef,
|
|
1108
804
|
ListAgentsKnowledgeBases
|
|
1109
805
|
> = z.object({
|
|
1110
|
-
id: z.string().default("01K7K4ZPA9NFE999WCYS1ZTM0E"),
|
|
1111
806
|
knowledgeId: z.string(),
|
|
1112
|
-
configuration: z.union([
|
|
1113
|
-
z.lazy(() =>
|
|
1114
|
-
ListAgentsKnowledgeBaseConfigurationKnowledgeBaseStaticQuery$outboundSchema
|
|
1115
|
-
),
|
|
1116
|
-
z.lazy(() =>
|
|
1117
|
-
ListAgentsKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$outboundSchema
|
|
1118
|
-
),
|
|
1119
|
-
]),
|
|
1120
807
|
}).transform((v) => {
|
|
1121
808
|
return remap$(v, {
|
|
1122
809
|
knowledgeId: "knowledge_id",
|
|
@@ -104,6 +104,10 @@ export type ListAgentTasksTools = {
|
|
|
104
104
|
* The id of the resource
|
|
105
105
|
*/
|
|
106
106
|
id: string;
|
|
107
|
+
/**
|
|
108
|
+
* Optional tool key for custom tools
|
|
109
|
+
*/
|
|
110
|
+
key?: string | undefined;
|
|
107
111
|
actionType: string;
|
|
108
112
|
displayName?: string | undefined;
|
|
109
113
|
requiresApproval?: boolean | undefined;
|
|
@@ -466,6 +470,7 @@ export const ListAgentTasksTools$inboundSchema: z.ZodType<
|
|
|
466
470
|
unknown
|
|
467
471
|
> = z.object({
|
|
468
472
|
id: z.string(),
|
|
473
|
+
key: z.string().optional(),
|
|
469
474
|
action_type: z.string(),
|
|
470
475
|
display_name: z.string().optional(),
|
|
471
476
|
requires_approval: z.boolean().default(false),
|
|
@@ -484,6 +489,7 @@ export const ListAgentTasksTools$inboundSchema: z.ZodType<
|
|
|
484
489
|
/** @internal */
|
|
485
490
|
export type ListAgentTasksTools$Outbound = {
|
|
486
491
|
id: string;
|
|
492
|
+
key?: string | undefined;
|
|
487
493
|
action_type: string;
|
|
488
494
|
display_name?: string | undefined;
|
|
489
495
|
requires_approval: boolean;
|
|
@@ -499,6 +505,7 @@ export const ListAgentTasksTools$outboundSchema: z.ZodType<
|
|
|
499
505
|
ListAgentTasksTools
|
|
500
506
|
> = z.object({
|
|
501
507
|
id: z.string(),
|
|
508
|
+
key: z.string().optional(),
|
|
502
509
|
actionType: z.string(),
|
|
503
510
|
displayName: z.string().optional(),
|
|
504
511
|
requiresApproval: z.boolean().default(false),
|
|
@@ -464,7 +464,7 @@ export const ListBudgetsData$inboundSchema: z.ZodType<
|
|
|
464
464
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
465
465
|
.optional(),
|
|
466
466
|
updated: z.string().datetime({ offset: true }).default(
|
|
467
|
-
"2025-10-
|
|
467
|
+
"2025-10-16T07:25:50.726Z",
|
|
468
468
|
).transform(v => new Date(v)),
|
|
469
469
|
}).transform((v) => {
|
|
470
470
|
return remap$(v, {
|
|
@@ -499,7 +499,7 @@ export const ListBudgetsData$outboundSchema: z.ZodType<
|
|
|
499
499
|
isActive: z.boolean(),
|
|
500
500
|
consumption: z.lazy(() => ListBudgetsConsumption$outboundSchema).optional(),
|
|
501
501
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
502
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
502
|
+
updated: z.date().default(() => new Date("2025-10-16T07:25:50.726Z"))
|
|
503
503
|
.transform(v => v.toISOString()),
|
|
504
504
|
}).transform((v) => {
|
|
505
505
|
return remap$(v, {
|
|
@@ -352,7 +352,7 @@ export const Data$inboundSchema: z.ZodType<Data, z.ZodTypeDef, unknown> = z
|
|
|
352
352
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
353
353
|
.optional(),
|
|
354
354
|
updated: z.string().datetime({ offset: true }).default(
|
|
355
|
-
"2025-10-
|
|
355
|
+
"2025-10-16T07:25:50.726Z",
|
|
356
356
|
).transform(v => new Date(v)),
|
|
357
357
|
metrics: z.lazy(() => ListContactsMetrics$inboundSchema),
|
|
358
358
|
}).transform((v) => {
|
|
@@ -389,7 +389,7 @@ export const Data$outboundSchema: z.ZodType<Data$Outbound, z.ZodTypeDef, Data> =
|
|
|
389
389
|
tags: z.array(z.string()).optional(),
|
|
390
390
|
metadata: z.record(z.any()).optional(),
|
|
391
391
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
392
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
392
|
+
updated: z.date().default(() => new Date("2025-10-16T07:25:50.726Z"))
|
|
393
393
|
.transform(v => v.toISOString()),
|
|
394
394
|
metrics: z.lazy(() => ListContactsMetrics$outboundSchema),
|
|
395
395
|
}).transform((v) => {
|
|
@@ -3338,7 +3338,7 @@ export const ListDatasetDatapointsEvaluations3$inboundSchema: z.ZodType<
|
|
|
3338
3338
|
source: ListDatasetDatapointsEvaluationsSource$inboundSchema.default("orq"),
|
|
3339
3339
|
reviewed_by_id: z.string(),
|
|
3340
3340
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
3341
|
-
"2025-10-
|
|
3341
|
+
"2025-10-16T07:26:00.520Z",
|
|
3342
3342
|
).transform(v => new Date(v)),
|
|
3343
3343
|
type: ListDatasetDatapointsEvaluationsDatasetsType$inboundSchema,
|
|
3344
3344
|
values: z.array(z.string()),
|
|
@@ -3374,7 +3374,7 @@ export const ListDatasetDatapointsEvaluations3$outboundSchema: z.ZodType<
|
|
|
3374
3374
|
humanReviewId: z.string(),
|
|
3375
3375
|
source: ListDatasetDatapointsEvaluationsSource$outboundSchema.default("orq"),
|
|
3376
3376
|
reviewedById: z.string(),
|
|
3377
|
-
reviewedAt: z.date().default(() => new Date("2025-10-
|
|
3377
|
+
reviewedAt: z.date().default(() => new Date("2025-10-16T07:26:00.520Z"))
|
|
3378
3378
|
.transform(v => v.toISOString()),
|
|
3379
3379
|
type: ListDatasetDatapointsEvaluationsDatasetsType$outboundSchema,
|
|
3380
3380
|
values: z.array(z.string()),
|
|
@@ -3512,7 +3512,7 @@ export const ListDatasetDatapointsEvaluations2$inboundSchema: z.ZodType<
|
|
|
3512
3512
|
.default("orq"),
|
|
3513
3513
|
reviewed_by_id: z.string(),
|
|
3514
3514
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
3515
|
-
"2025-10-
|
|
3515
|
+
"2025-10-16T07:26:00.520Z",
|
|
3516
3516
|
).transform(v => new Date(v)),
|
|
3517
3517
|
type: ListDatasetDatapointsEvaluationsType$inboundSchema,
|
|
3518
3518
|
value: z.number(),
|
|
@@ -3550,7 +3550,7 @@ export const ListDatasetDatapointsEvaluations2$outboundSchema: z.ZodType<
|
|
|
3550
3550
|
source: ListDatasetDatapointsEvaluationsDatasetsResponseSource$outboundSchema
|
|
3551
3551
|
.default("orq"),
|
|
3552
3552
|
reviewedById: z.string(),
|
|
3553
|
-
reviewedAt: z.date().default(() => new Date("2025-10-
|
|
3553
|
+
reviewedAt: z.date().default(() => new Date("2025-10-16T07:26:00.520Z"))
|
|
3554
3554
|
.transform(v => v.toISOString()),
|
|
3555
3555
|
type: ListDatasetDatapointsEvaluationsType$outboundSchema,
|
|
3556
3556
|
value: z.number(),
|
|
@@ -3683,7 +3683,7 @@ export const ListDatasetDatapointsEvaluations1$inboundSchema: z.ZodType<
|
|
|
3683
3683
|
),
|
|
3684
3684
|
reviewed_by_id: z.string(),
|
|
3685
3685
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
3686
|
-
"2025-10-
|
|
3686
|
+
"2025-10-16T07:26:00.520Z",
|
|
3687
3687
|
).transform(v => new Date(v)),
|
|
3688
3688
|
type: ListDatasetDatapointsEvaluationsDatasetsResponseType$inboundSchema,
|
|
3689
3689
|
value: z.string(),
|
|
@@ -3722,7 +3722,7 @@ export const ListDatasetDatapointsEvaluations1$outboundSchema: z.ZodType<
|
|
|
3722
3722
|
"orq",
|
|
3723
3723
|
),
|
|
3724
3724
|
reviewedById: z.string(),
|
|
3725
|
-
reviewedAt: z.date().default(() => new Date("2025-10-
|
|
3725
|
+
reviewedAt: z.date().default(() => new Date("2025-10-16T07:26:00.520Z"))
|
|
3726
3726
|
.transform(v => v.toISOString()),
|
|
3727
3727
|
type: ListDatasetDatapointsEvaluationsDatasetsResponseType$outboundSchema,
|
|
3728
3728
|
value: z.string(),
|
|
@@ -3865,7 +3865,7 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
|
|
|
3865
3865
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
3866
3866
|
.optional(),
|
|
3867
3867
|
updated: z.string().datetime({ offset: true }).default(
|
|
3868
|
-
"2025-10-
|
|
3868
|
+
"2025-10-16T07:25:50.726Z",
|
|
3869
3869
|
).transform(v => new Date(v)),
|
|
3870
3870
|
}).transform((v) => {
|
|
3871
3871
|
return remap$(v, {
|
|
@@ -3946,7 +3946,7 @@ export const ListDatasetDatapointsData$outboundSchema: z.ZodType<
|
|
|
3946
3946
|
createdById: z.string().optional(),
|
|
3947
3947
|
updatedById: z.string().optional(),
|
|
3948
3948
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
3949
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
3949
|
+
updated: z.date().default(() => new Date("2025-10-16T07:25:50.726Z"))
|
|
3950
3950
|
.transform(v => v.toISOString()),
|
|
3951
3951
|
}).transform((v) => {
|
|
3952
3952
|
return remap$(v, {
|
|
@@ -253,7 +253,7 @@ export const ListDatasetsData$inboundSchema: z.ZodType<
|
|
|
253
253
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
254
254
|
.optional(),
|
|
255
255
|
updated: z.string().datetime({ offset: true }).default(
|
|
256
|
-
"2025-10-
|
|
256
|
+
"2025-10-16T07:25:50.726Z",
|
|
257
257
|
).transform(v => new Date(v)),
|
|
258
258
|
}).transform((v) => {
|
|
259
259
|
return remap$(v, {
|
|
@@ -293,7 +293,7 @@ export const ListDatasetsData$outboundSchema: z.ZodType<
|
|
|
293
293
|
createdById: z.string().optional(),
|
|
294
294
|
updatedById: z.string().optional(),
|
|
295
295
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
296
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
296
|
+
updated: z.date().default(() => new Date("2025-10-16T07:25:50.726Z"))
|
|
297
297
|
.transform(v => v.toISOString()),
|
|
298
298
|
}).transform((v) => {
|
|
299
299
|
return remap$(v, {
|
|
@@ -285,7 +285,7 @@ export const ListDatasourcesData$inboundSchema: z.ZodType<
|
|
|
285
285
|
z.ZodTypeDef,
|
|
286
286
|
unknown
|
|
287
287
|
> = z.object({
|
|
288
|
-
_id: z.string().default("
|
|
288
|
+
_id: z.string().default("01K7NYJMBYBZ8TEWVW0YFJ36A9"),
|
|
289
289
|
display_name: z.string(),
|
|
290
290
|
description: z.string().optional(),
|
|
291
291
|
status: ListDatasourcesStatus$inboundSchema,
|
|
@@ -329,7 +329,7 @@ export const ListDatasourcesData$outboundSchema: z.ZodType<
|
|
|
329
329
|
z.ZodTypeDef,
|
|
330
330
|
ListDatasourcesData
|
|
331
331
|
> = z.object({
|
|
332
|
-
id: z.string().default("
|
|
332
|
+
id: z.string().default("01K7NYJMBYBZ8TEWVW0YFJ36A9"),
|
|
333
333
|
displayName: z.string(),
|
|
334
334
|
description: z.string().optional(),
|
|
335
335
|
status: ListDatasourcesStatus$outboundSchema,
|
|
@@ -127,7 +127,7 @@ export const RetrieveContactResponseBody$inboundSchema: z.ZodType<
|
|
|
127
127
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
128
128
|
.optional(),
|
|
129
129
|
updated: z.string().datetime({ offset: true }).default(
|
|
130
|
-
"2025-10-
|
|
130
|
+
"2025-10-16T07:25:50.726Z",
|
|
131
131
|
).transform(v => new Date(v)),
|
|
132
132
|
}).transform((v) => {
|
|
133
133
|
return remap$(v, {
|
|
@@ -165,7 +165,7 @@ export const RetrieveContactResponseBody$outboundSchema: z.ZodType<
|
|
|
165
165
|
tags: z.array(z.string()).optional(),
|
|
166
166
|
metadata: z.record(z.any()).optional(),
|
|
167
167
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
168
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
168
|
+
updated: z.date().default(() => new Date("2025-10-16T07:25:50.726Z"))
|
|
169
169
|
.transform(v => v.toISOString()),
|
|
170
170
|
}).transform((v) => {
|
|
171
171
|
return remap$(v, {
|
|
@@ -3197,7 +3197,7 @@ export const RetrieveDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
3197
3197
|
.default("orq"),
|
|
3198
3198
|
reviewed_by_id: z.string(),
|
|
3199
3199
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
3200
|
-
"2025-10-
|
|
3200
|
+
"2025-10-16T07:26:00.523Z",
|
|
3201
3201
|
).transform(v => new Date(v)),
|
|
3202
3202
|
type: RetrieveDatapointEvaluationsDatasetsResponseType$inboundSchema,
|
|
3203
3203
|
values: z.array(z.string()),
|
|
@@ -3235,7 +3235,7 @@ export const RetrieveDatapointEvaluations3$outboundSchema: z.ZodType<
|
|
|
3235
3235
|
source: RetrieveDatapointEvaluationsDatasetsResponseSource$outboundSchema
|
|
3236
3236
|
.default("orq"),
|
|
3237
3237
|
reviewedById: z.string(),
|
|
3238
|
-
reviewedAt: z.date().default(() => new Date("2025-10-
|
|
3238
|
+
reviewedAt: z.date().default(() => new Date("2025-10-16T07:26:00.523Z"))
|
|
3239
3239
|
.transform(v => v.toISOString()),
|
|
3240
3240
|
type: RetrieveDatapointEvaluationsDatasetsResponseType$outboundSchema,
|
|
3241
3241
|
values: z.array(z.string()),
|
|
@@ -3365,7 +3365,7 @@ export const RetrieveDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
3365
3365
|
),
|
|
3366
3366
|
reviewed_by_id: z.string(),
|
|
3367
3367
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
3368
|
-
"2025-10-
|
|
3368
|
+
"2025-10-16T07:26:00.523Z",
|
|
3369
3369
|
).transform(v => new Date(v)),
|
|
3370
3370
|
type: RetrieveDatapointEvaluationsDatasetsType$inboundSchema,
|
|
3371
3371
|
value: z.number(),
|
|
@@ -3404,7 +3404,7 @@ export const RetrieveDatapointEvaluations2$outboundSchema: z.ZodType<
|
|
|
3404
3404
|
"orq",
|
|
3405
3405
|
),
|
|
3406
3406
|
reviewedById: z.string(),
|
|
3407
|
-
reviewedAt: z.date().default(() => new Date("2025-10-
|
|
3407
|
+
reviewedAt: z.date().default(() => new Date("2025-10-16T07:26:00.523Z"))
|
|
3408
3408
|
.transform(v => v.toISOString()),
|
|
3409
3409
|
type: RetrieveDatapointEvaluationsDatasetsType$outboundSchema,
|
|
3410
3410
|
value: z.number(),
|
|
@@ -3528,7 +3528,7 @@ export const RetrieveDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
3528
3528
|
source: RetrieveDatapointEvaluationsSource$inboundSchema.default("orq"),
|
|
3529
3529
|
reviewed_by_id: z.string(),
|
|
3530
3530
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
3531
|
-
"2025-10-
|
|
3531
|
+
"2025-10-16T07:26:00.523Z",
|
|
3532
3532
|
).transform(v => new Date(v)),
|
|
3533
3533
|
type: RetrieveDatapointEvaluationsType$inboundSchema,
|
|
3534
3534
|
value: z.string(),
|
|
@@ -3564,7 +3564,7 @@ export const RetrieveDatapointEvaluations1$outboundSchema: z.ZodType<
|
|
|
3564
3564
|
humanReviewId: z.string(),
|
|
3565
3565
|
source: RetrieveDatapointEvaluationsSource$outboundSchema.default("orq"),
|
|
3566
3566
|
reviewedById: z.string(),
|
|
3567
|
-
reviewedAt: z.date().default(() => new Date("2025-10-
|
|
3567
|
+
reviewedAt: z.date().default(() => new Date("2025-10-16T07:26:00.523Z"))
|
|
3568
3568
|
.transform(v => v.toISOString()),
|
|
3569
3569
|
type: RetrieveDatapointEvaluationsType$outboundSchema,
|
|
3570
3570
|
value: z.string(),
|
|
@@ -3704,7 +3704,7 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
3704
3704
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
3705
3705
|
.optional(),
|
|
3706
3706
|
updated: z.string().datetime({ offset: true }).default(
|
|
3707
|
-
"2025-10-
|
|
3707
|
+
"2025-10-16T07:25:50.726Z",
|
|
3708
3708
|
).transform(v => new Date(v)),
|
|
3709
3709
|
}).transform((v) => {
|
|
3710
3710
|
return remap$(v, {
|
|
@@ -3779,7 +3779,7 @@ export const RetrieveDatapointResponseBody$outboundSchema: z.ZodType<
|
|
|
3779
3779
|
createdById: z.string().optional(),
|
|
3780
3780
|
updatedById: z.string().optional(),
|
|
3781
3781
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
3782
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
3782
|
+
updated: z.date().default(() => new Date("2025-10-16T07:25:50.726Z"))
|
|
3783
3783
|
.transform(v => v.toISOString()),
|
|
3784
3784
|
}).transform((v) => {
|
|
3785
3785
|
return remap$(v, {
|