@orq-ai/node 3.6.15 → 3.6.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/mcp-server.js +188 -188
- package/bin/mcp-server.js.map +35 -35
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/security.d.ts +2 -2
- package/lib/security.d.ts.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/components/deployments.d.ts +8 -8
- package/models/components/deployments.d.ts.map +1 -1
- package/models/components/deployments.js +8 -8
- package/models/components/deployments.js.map +1 -1
- package/models/operations/bulkcreatedatapoints.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/createprompt.d.ts +12 -12
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +12 -12
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/deploymentcreatemetric.d.ts +8 -8
- package/models/operations/deploymentcreatemetric.d.ts.map +1 -1
- package/models/operations/deploymentcreatemetric.js +8 -8
- package/models/operations/deploymentcreatemetric.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +14 -14
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +14 -14
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +4 -4
- package/models/operations/deploymentinvoke.js +8 -8
- package/models/operations/deployments.d.ts +6 -6
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +6 -6
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +12 -12
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +12 -12
- package/models/operations/deploymentstream.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/getallprompts.d.ts +6 -6
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +6 -6
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getoneprompt.d.ts +6 -6
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +6 -6
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +6 -6
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +6 -6
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/listdatasetdatapoints.js +2 -2
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/listpromptversions.d.ts +6 -6
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +6 -6
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.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/updateprompt.d.ts +12 -12
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +12 -12
- package/models/operations/updateprompt.js.map +1 -1
- package/package.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/lib/config.ts +3 -3
- package/packages/orq-rc/src/lib/security.ts +2 -2
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
- package/packages/orq-rc/src/mcp-server/server.ts +1 -1
- package/packages/orq-rc/src/models/components/deployments.ts +16 -16
- 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 +18 -18
- package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/createeval.ts +121 -121
- package/packages/orq-rc/src/models/operations/createfeedback.ts +16 -16
- package/packages/orq-rc/src/models/operations/createprompt.ts +39 -39
- package/packages/orq-rc/src/models/operations/deploymentcreatemetric.ts +22 -18
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +30 -30
- package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +13 -13
- package/packages/orq-rc/src/models/operations/deployments.ts +14 -14
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +26 -26
- package/packages/orq-rc/src/models/operations/evalsageappropriate.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalsfactcheckingknowledgebase.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalsgrammar.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalslocalization.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalspii.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalsragascoherence.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalsragasconciseness.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalsragascontextprecision.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalsragascorrectness.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalsragasfaithfulness.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalsragasharmfulness.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalsragasmaliciousness.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalsragasresponserelevancy.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalssentimentclassification.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalssummarization.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalstoneofvoice.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalstranslation.ts +4 -4
- 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/getallprompts.ts +22 -22
- package/packages/orq-rc/src/models/operations/getevals.ts +339 -364
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +22 -22
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +22 -22
- package/packages/orq-rc/src/models/operations/invokeeval.ts +251 -223
- package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +16 -12
- 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/listpromptversions.ts +22 -22
- package/packages/orq-rc/src/models/operations/postv2modelslitellmimport.ts +18 -18
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +10 -10
- 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/updatecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +21 -19
- 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 +139 -139
- package/packages/orq-rc/src/models/operations/updateprompt.ts +61 -106
- package/src/lib/config.ts +3 -3
- package/src/lib/security.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/deployments.ts +16 -16
- package/src/models/operations/bulkcreatedatapoints.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/createprompt.ts +27 -27
- package/src/models/operations/deploymentcreatemetric.ts +22 -18
- package/src/models/operations/deploymentgetconfig.ts +30 -30
- package/src/models/operations/deploymentinvoke.ts +13 -13
- package/src/models/operations/deployments.ts +14 -14
- package/src/models/operations/deploymentstream.ts +26 -26
- 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/getallprompts.ts +14 -14
- package/src/models/operations/getoneprompt.ts +14 -14
- package/src/models/operations/getpromptversion.ts +14 -14
- 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/listpromptversions.ts +14 -14
- 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/updatedatapoint.ts +2 -2
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateprompt.ts +28 -28
|
@@ -345,7 +345,7 @@ export const Data$inboundSchema: z.ZodType<Data, z.ZodTypeDef, unknown> = z
|
|
|
345
345
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
346
346
|
.optional(),
|
|
347
347
|
updated: z.string().datetime({ offset: true }).default(
|
|
348
|
-
"2025-06-
|
|
348
|
+
"2025-06-17T09:09:46.815Z",
|
|
349
349
|
).transform(v => new Date(v)),
|
|
350
350
|
metrics: z.lazy(() => Metrics$inboundSchema),
|
|
351
351
|
}).transform((v) => {
|
|
@@ -382,7 +382,7 @@ export const Data$outboundSchema: z.ZodType<Data$Outbound, z.ZodTypeDef, Data> =
|
|
|
382
382
|
tags: z.array(z.string()).optional(),
|
|
383
383
|
metadata: z.record(z.any()).optional(),
|
|
384
384
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
385
|
-
updated: z.date().default(() => new Date("2025-06-
|
|
385
|
+
updated: z.date().default(() => new Date("2025-06-17T09:09:46.815Z"))
|
|
386
386
|
.transform(v => v.toISOString()),
|
|
387
387
|
metrics: z.lazy(() => Metrics$outboundSchema),
|
|
388
388
|
}).transform((v) => {
|
|
@@ -469,10 +469,10 @@ export type ListDatasetDatapointsMessagesDeveloperMessage = {
|
|
|
469
469
|
};
|
|
470
470
|
|
|
471
471
|
export type ListDatasetDatapointsMessages =
|
|
472
|
+
| ListDatasetDatapointsMessagesToolMessage
|
|
472
473
|
| ListDatasetDatapointsMessagesDeveloperMessage
|
|
473
474
|
| ListDatasetDatapointsMessagesSystemMessage
|
|
474
475
|
| ListDatasetDatapointsMessagesUserMessage
|
|
475
|
-
| ListDatasetDatapointsMessagesToolMessage
|
|
476
476
|
| ListDatasetDatapointsMessagesAssistantMessage;
|
|
477
477
|
|
|
478
478
|
export type ListDatasetDatapointsData = {
|
|
@@ -493,10 +493,10 @@ export type ListDatasetDatapointsData = {
|
|
|
493
493
|
*/
|
|
494
494
|
messages?:
|
|
495
495
|
| Array<
|
|
496
|
+
| ListDatasetDatapointsMessagesToolMessage
|
|
496
497
|
| ListDatasetDatapointsMessagesDeveloperMessage
|
|
497
498
|
| ListDatasetDatapointsMessagesSystemMessage
|
|
498
499
|
| ListDatasetDatapointsMessagesUserMessage
|
|
499
|
-
| ListDatasetDatapointsMessagesToolMessage
|
|
500
500
|
| ListDatasetDatapointsMessagesAssistantMessage
|
|
501
501
|
>
|
|
502
502
|
| undefined;
|
|
@@ -2516,19 +2516,19 @@ export const ListDatasetDatapointsMessages$inboundSchema: z.ZodType<
|
|
|
2516
2516
|
z.ZodTypeDef,
|
|
2517
2517
|
unknown
|
|
2518
2518
|
> = z.union([
|
|
2519
|
+
z.lazy(() => ListDatasetDatapointsMessagesToolMessage$inboundSchema),
|
|
2519
2520
|
z.lazy(() => ListDatasetDatapointsMessagesDeveloperMessage$inboundSchema),
|
|
2520
2521
|
z.lazy(() => ListDatasetDatapointsMessagesSystemMessage$inboundSchema),
|
|
2521
2522
|
z.lazy(() => ListDatasetDatapointsMessagesUserMessage$inboundSchema),
|
|
2522
|
-
z.lazy(() => ListDatasetDatapointsMessagesToolMessage$inboundSchema),
|
|
2523
2523
|
z.lazy(() => ListDatasetDatapointsMessagesAssistantMessage$inboundSchema),
|
|
2524
2524
|
]);
|
|
2525
2525
|
|
|
2526
2526
|
/** @internal */
|
|
2527
2527
|
export type ListDatasetDatapointsMessages$Outbound =
|
|
2528
|
+
| ListDatasetDatapointsMessagesToolMessage$Outbound
|
|
2528
2529
|
| ListDatasetDatapointsMessagesDeveloperMessage$Outbound
|
|
2529
2530
|
| ListDatasetDatapointsMessagesSystemMessage$Outbound
|
|
2530
2531
|
| ListDatasetDatapointsMessagesUserMessage$Outbound
|
|
2531
|
-
| ListDatasetDatapointsMessagesToolMessage$Outbound
|
|
2532
2532
|
| ListDatasetDatapointsMessagesAssistantMessage$Outbound;
|
|
2533
2533
|
|
|
2534
2534
|
/** @internal */
|
|
@@ -2537,10 +2537,10 @@ export const ListDatasetDatapointsMessages$outboundSchema: z.ZodType<
|
|
|
2537
2537
|
z.ZodTypeDef,
|
|
2538
2538
|
ListDatasetDatapointsMessages
|
|
2539
2539
|
> = z.union([
|
|
2540
|
+
z.lazy(() => ListDatasetDatapointsMessagesToolMessage$outboundSchema),
|
|
2540
2541
|
z.lazy(() => ListDatasetDatapointsMessagesDeveloperMessage$outboundSchema),
|
|
2541
2542
|
z.lazy(() => ListDatasetDatapointsMessagesSystemMessage$outboundSchema),
|
|
2542
2543
|
z.lazy(() => ListDatasetDatapointsMessagesUserMessage$outboundSchema),
|
|
2543
|
-
z.lazy(() => ListDatasetDatapointsMessagesToolMessage$outboundSchema),
|
|
2544
2544
|
z.lazy(() => ListDatasetDatapointsMessagesAssistantMessage$outboundSchema),
|
|
2545
2545
|
]);
|
|
2546
2546
|
|
|
@@ -2588,10 +2588,12 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
|
|
|
2588
2588
|
inputs: z.record(z.any()).optional(),
|
|
2589
2589
|
messages: z.array(
|
|
2590
2590
|
z.union([
|
|
2591
|
-
z.lazy(() =>
|
|
2591
|
+
z.lazy(() => ListDatasetDatapointsMessagesToolMessage$inboundSchema),
|
|
2592
|
+
z.lazy(() =>
|
|
2593
|
+
ListDatasetDatapointsMessagesDeveloperMessage$inboundSchema
|
|
2594
|
+
),
|
|
2592
2595
|
z.lazy(() => ListDatasetDatapointsMessagesSystemMessage$inboundSchema),
|
|
2593
2596
|
z.lazy(() => ListDatasetDatapointsMessagesUserMessage$inboundSchema),
|
|
2594
|
-
z.lazy(() => ListDatasetDatapointsMessagesToolMessage$inboundSchema),
|
|
2595
2597
|
z.lazy(() => ListDatasetDatapointsMessagesAssistantMessage$inboundSchema),
|
|
2596
2598
|
]),
|
|
2597
2599
|
).optional(),
|
|
@@ -2602,7 +2604,7 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
|
|
|
2602
2604
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2603
2605
|
.optional(),
|
|
2604
2606
|
updated: z.string().datetime({ offset: true }).default(
|
|
2605
|
-
"2025-06-
|
|
2607
|
+
"2025-06-17T09:09:46.815Z",
|
|
2606
2608
|
).transform(v => new Date(v)),
|
|
2607
2609
|
}).transform((v) => {
|
|
2608
2610
|
return remap$(v, {
|
|
@@ -2622,10 +2624,10 @@ export type ListDatasetDatapointsData$Outbound = {
|
|
|
2622
2624
|
inputs?: { [k: string]: any } | undefined;
|
|
2623
2625
|
messages?:
|
|
2624
2626
|
| Array<
|
|
2627
|
+
| ListDatasetDatapointsMessagesToolMessage$Outbound
|
|
2625
2628
|
| ListDatasetDatapointsMessagesDeveloperMessage$Outbound
|
|
2626
2629
|
| ListDatasetDatapointsMessagesSystemMessage$Outbound
|
|
2627
2630
|
| ListDatasetDatapointsMessagesUserMessage$Outbound
|
|
2628
|
-
| ListDatasetDatapointsMessagesToolMessage$Outbound
|
|
2629
2631
|
| ListDatasetDatapointsMessagesAssistantMessage$Outbound
|
|
2630
2632
|
>
|
|
2631
2633
|
| undefined;
|
|
@@ -2648,12 +2650,14 @@ export const ListDatasetDatapointsData$outboundSchema: z.ZodType<
|
|
|
2648
2650
|
inputs: z.record(z.any()).optional(),
|
|
2649
2651
|
messages: z.array(
|
|
2650
2652
|
z.union([
|
|
2653
|
+
z.lazy(() => ListDatasetDatapointsMessagesToolMessage$outboundSchema),
|
|
2651
2654
|
z.lazy(() =>
|
|
2652
2655
|
ListDatasetDatapointsMessagesDeveloperMessage$outboundSchema
|
|
2653
2656
|
),
|
|
2654
|
-
z.lazy(() =>
|
|
2657
|
+
z.lazy(() =>
|
|
2658
|
+
ListDatasetDatapointsMessagesSystemMessage$outboundSchema
|
|
2659
|
+
),
|
|
2655
2660
|
z.lazy(() => ListDatasetDatapointsMessagesUserMessage$outboundSchema),
|
|
2656
|
-
z.lazy(() => ListDatasetDatapointsMessagesToolMessage$outboundSchema),
|
|
2657
2661
|
z.lazy(() =>
|
|
2658
2662
|
ListDatasetDatapointsMessagesAssistantMessage$outboundSchema
|
|
2659
2663
|
),
|
|
@@ -2664,7 +2668,7 @@ export const ListDatasetDatapointsData$outboundSchema: z.ZodType<
|
|
|
2664
2668
|
createdById: z.string().optional(),
|
|
2665
2669
|
updatedById: z.string().optional(),
|
|
2666
2670
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
2667
|
-
updated: z.date().default(() => new Date("2025-06-
|
|
2671
|
+
updated: z.date().default(() => new Date("2025-06-17T09:09:46.815Z"))
|
|
2668
2672
|
.transform(v => v.toISOString()),
|
|
2669
2673
|
}).transform((v) => {
|
|
2670
2674
|
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-06-
|
|
256
|
+
"2025-06-17T09:09:46.815Z",
|
|
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
|
updatedById: z.string().optional(),
|
|
294
294
|
metadata: z.lazy(() => ListDatasetsMetadata$outboundSchema),
|
|
295
295
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
296
|
-
updated: z.date().default(() => new Date("2025-06-
|
|
296
|
+
updated: z.date().default(() => new Date("2025-06-17T09:09:46.815Z"))
|
|
297
297
|
.transform(v => v.toISOString()),
|
|
298
298
|
}).transform((v) => {
|
|
299
299
|
return remap$(v, {
|
|
@@ -278,7 +278,7 @@ export const ListDatasourcesData$inboundSchema: z.ZodType<
|
|
|
278
278
|
z.ZodTypeDef,
|
|
279
279
|
unknown
|
|
280
280
|
> = z.object({
|
|
281
|
-
_id: z.string().default("
|
|
281
|
+
_id: z.string().default("01JXYJDX0JNJ7T07D95VJH505F"),
|
|
282
282
|
display_name: z.string(),
|
|
283
283
|
description: z.string().optional(),
|
|
284
284
|
status: ListDatasourcesStatus$inboundSchema,
|
|
@@ -322,7 +322,7 @@ export const ListDatasourcesData$outboundSchema: z.ZodType<
|
|
|
322
322
|
z.ZodTypeDef,
|
|
323
323
|
ListDatasourcesData
|
|
324
324
|
> = z.object({
|
|
325
|
-
id: z.string().default("
|
|
325
|
+
id: z.string().default("01JXYJDX0JNJ7T07D95VJH505F"),
|
|
326
326
|
displayName: z.string(),
|
|
327
327
|
description: z.string().optional(),
|
|
328
328
|
status: ListDatasourcesStatus$outboundSchema,
|
|
@@ -89,7 +89,7 @@ export type ListPromptVersionsResponseFormatType = ClosedEnum<
|
|
|
89
89
|
|
|
90
90
|
export type ListPromptVersionsResponseFormatJsonSchema = {
|
|
91
91
|
name: string;
|
|
92
|
-
strict
|
|
92
|
+
strict?: boolean | undefined;
|
|
93
93
|
schema: { [k: string]: any };
|
|
94
94
|
};
|
|
95
95
|
|
|
@@ -110,8 +110,8 @@ export type ListPromptVersionsResponseFormat1 = {
|
|
|
110
110
|
* Important: when using JSON mode, you must also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
|
|
111
111
|
*/
|
|
112
112
|
export type ListPromptVersionsResponseFormat =
|
|
113
|
-
|
|
|
114
|
-
|
|
|
113
|
+
| ListPromptVersionsResponseFormat1
|
|
114
|
+
| ListPromptVersionsResponseFormat2;
|
|
115
115
|
|
|
116
116
|
/**
|
|
117
117
|
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
@@ -220,8 +220,8 @@ export type ListPromptVersionsModelParameters = {
|
|
|
220
220
|
* Important: when using JSON mode, you must also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
|
|
221
221
|
*/
|
|
222
222
|
responseFormat?:
|
|
223
|
-
| ListPromptVersionsResponseFormat2
|
|
224
223
|
| ListPromptVersionsResponseFormat1
|
|
224
|
+
| ListPromptVersionsResponseFormat2
|
|
225
225
|
| null
|
|
226
226
|
| undefined;
|
|
227
227
|
/**
|
|
@@ -418,11 +418,11 @@ export type ListPromptVersionsPromptConfig = {
|
|
|
418
418
|
/**
|
|
419
419
|
* The id of the resource
|
|
420
420
|
*/
|
|
421
|
-
modelDbId?: string | undefined;
|
|
421
|
+
modelDbId?: string | null | undefined;
|
|
422
422
|
/**
|
|
423
423
|
* The modality of the model
|
|
424
424
|
*/
|
|
425
|
-
modelType?: ListPromptVersionsModelType | undefined;
|
|
425
|
+
modelType?: ListPromptVersionsModelType | null | undefined;
|
|
426
426
|
/**
|
|
427
427
|
* Model Parameters: Not all parameters apply to every model
|
|
428
428
|
*/
|
|
@@ -764,14 +764,14 @@ export const ListPromptVersionsResponseFormatJsonSchema$inboundSchema:
|
|
|
764
764
|
z.ZodType<ListPromptVersionsResponseFormatJsonSchema, z.ZodTypeDef, unknown> =
|
|
765
765
|
z.object({
|
|
766
766
|
name: z.string(),
|
|
767
|
-
strict: z.boolean(),
|
|
767
|
+
strict: z.boolean().optional(),
|
|
768
768
|
schema: z.record(z.any()),
|
|
769
769
|
});
|
|
770
770
|
|
|
771
771
|
/** @internal */
|
|
772
772
|
export type ListPromptVersionsResponseFormatJsonSchema$Outbound = {
|
|
773
773
|
name: string;
|
|
774
|
-
strict
|
|
774
|
+
strict?: boolean | undefined;
|
|
775
775
|
schema: { [k: string]: any };
|
|
776
776
|
};
|
|
777
777
|
|
|
@@ -783,7 +783,7 @@ export const ListPromptVersionsResponseFormatJsonSchema$outboundSchema:
|
|
|
783
783
|
ListPromptVersionsResponseFormatJsonSchema
|
|
784
784
|
> = z.object({
|
|
785
785
|
name: z.string(),
|
|
786
|
-
strict: z.boolean(),
|
|
786
|
+
strict: z.boolean().optional(),
|
|
787
787
|
schema: z.record(z.any()),
|
|
788
788
|
});
|
|
789
789
|
|
|
@@ -907,14 +907,14 @@ export const ListPromptVersionsResponseFormat$inboundSchema: z.ZodType<
|
|
|
907
907
|
z.ZodTypeDef,
|
|
908
908
|
unknown
|
|
909
909
|
> = z.union([
|
|
910
|
-
z.lazy(() => ListPromptVersionsResponseFormat2$inboundSchema),
|
|
911
910
|
z.lazy(() => ListPromptVersionsResponseFormat1$inboundSchema),
|
|
911
|
+
z.lazy(() => ListPromptVersionsResponseFormat2$inboundSchema),
|
|
912
912
|
]);
|
|
913
913
|
|
|
914
914
|
/** @internal */
|
|
915
915
|
export type ListPromptVersionsResponseFormat$Outbound =
|
|
916
|
-
|
|
|
917
|
-
|
|
|
916
|
+
| ListPromptVersionsResponseFormat1$Outbound
|
|
917
|
+
| ListPromptVersionsResponseFormat2$Outbound;
|
|
918
918
|
|
|
919
919
|
/** @internal */
|
|
920
920
|
export const ListPromptVersionsResponseFormat$outboundSchema: z.ZodType<
|
|
@@ -922,8 +922,8 @@ export const ListPromptVersionsResponseFormat$outboundSchema: z.ZodType<
|
|
|
922
922
|
z.ZodTypeDef,
|
|
923
923
|
ListPromptVersionsResponseFormat
|
|
924
924
|
> = z.union([
|
|
925
|
-
z.lazy(() => ListPromptVersionsResponseFormat2$outboundSchema),
|
|
926
925
|
z.lazy(() => ListPromptVersionsResponseFormat1$outboundSchema),
|
|
926
|
+
z.lazy(() => ListPromptVersionsResponseFormat2$outboundSchema),
|
|
927
927
|
]);
|
|
928
928
|
|
|
929
929
|
/**
|
|
@@ -1044,8 +1044,8 @@ export const ListPromptVersionsModelParameters$inboundSchema: z.ZodType<
|
|
|
1044
1044
|
style: z.string().optional(),
|
|
1045
1045
|
responseFormat: z.nullable(
|
|
1046
1046
|
z.union([
|
|
1047
|
-
z.lazy(() => ListPromptVersionsResponseFormat2$inboundSchema),
|
|
1048
1047
|
z.lazy(() => ListPromptVersionsResponseFormat1$inboundSchema),
|
|
1048
|
+
z.lazy(() => ListPromptVersionsResponseFormat2$inboundSchema),
|
|
1049
1049
|
]),
|
|
1050
1050
|
).optional(),
|
|
1051
1051
|
photoRealVersion: ListPromptVersionsPhotoRealVersion$inboundSchema.optional(),
|
|
@@ -1073,8 +1073,8 @@ export type ListPromptVersionsModelParameters$Outbound = {
|
|
|
1073
1073
|
quality?: string | undefined;
|
|
1074
1074
|
style?: string | undefined;
|
|
1075
1075
|
responseFormat?:
|
|
1076
|
-
| ListPromptVersionsResponseFormat2$Outbound
|
|
1077
1076
|
| ListPromptVersionsResponseFormat1$Outbound
|
|
1077
|
+
| ListPromptVersionsResponseFormat2$Outbound
|
|
1078
1078
|
| null
|
|
1079
1079
|
| undefined;
|
|
1080
1080
|
photoRealVersion?: string | undefined;
|
|
@@ -1103,8 +1103,8 @@ export const ListPromptVersionsModelParameters$outboundSchema: z.ZodType<
|
|
|
1103
1103
|
style: z.string().optional(),
|
|
1104
1104
|
responseFormat: z.nullable(
|
|
1105
1105
|
z.union([
|
|
1106
|
-
z.lazy(() => ListPromptVersionsResponseFormat2$outboundSchema),
|
|
1107
1106
|
z.lazy(() => ListPromptVersionsResponseFormat1$outboundSchema),
|
|
1107
|
+
z.lazy(() => ListPromptVersionsResponseFormat2$outboundSchema),
|
|
1108
1108
|
]),
|
|
1109
1109
|
).optional(),
|
|
1110
1110
|
photoRealVersion: ListPromptVersionsPhotoRealVersion$outboundSchema
|
|
@@ -1939,8 +1939,8 @@ export const ListPromptVersionsPromptConfig$inboundSchema: z.ZodType<
|
|
|
1939
1939
|
> = z.object({
|
|
1940
1940
|
stream: z.boolean().optional(),
|
|
1941
1941
|
model: z.string().optional(),
|
|
1942
|
-
model_db_id: z.string().optional(),
|
|
1943
|
-
model_type: ListPromptVersionsModelType$inboundSchema.optional(),
|
|
1942
|
+
model_db_id: z.nullable(z.string()).optional(),
|
|
1943
|
+
model_type: z.nullable(ListPromptVersionsModelType$inboundSchema).optional(),
|
|
1944
1944
|
model_parameters: z.lazy(() =>
|
|
1945
1945
|
ListPromptVersionsModelParameters$inboundSchema
|
|
1946
1946
|
).optional(),
|
|
@@ -1961,8 +1961,8 @@ export const ListPromptVersionsPromptConfig$inboundSchema: z.ZodType<
|
|
|
1961
1961
|
export type ListPromptVersionsPromptConfig$Outbound = {
|
|
1962
1962
|
stream?: boolean | undefined;
|
|
1963
1963
|
model?: string | undefined;
|
|
1964
|
-
model_db_id?: string | undefined;
|
|
1965
|
-
model_type?: string | undefined;
|
|
1964
|
+
model_db_id?: string | null | undefined;
|
|
1965
|
+
model_type?: string | null | undefined;
|
|
1966
1966
|
model_parameters?: ListPromptVersionsModelParameters$Outbound | undefined;
|
|
1967
1967
|
provider?: string | undefined;
|
|
1968
1968
|
integration_id?: string | null | undefined;
|
|
@@ -1978,8 +1978,8 @@ export const ListPromptVersionsPromptConfig$outboundSchema: z.ZodType<
|
|
|
1978
1978
|
> = z.object({
|
|
1979
1979
|
stream: z.boolean().optional(),
|
|
1980
1980
|
model: z.string().optional(),
|
|
1981
|
-
modelDbId: z.string().optional(),
|
|
1982
|
-
modelType: ListPromptVersionsModelType$outboundSchema.optional(),
|
|
1981
|
+
modelDbId: z.nullable(z.string()).optional(),
|
|
1982
|
+
modelType: z.nullable(ListPromptVersionsModelType$outboundSchema).optional(),
|
|
1983
1983
|
modelParameters: z.lazy(() =>
|
|
1984
1984
|
ListPromptVersionsModelParameters$outboundSchema
|
|
1985
1985
|
).optional(),
|
|
@@ -206,10 +206,10 @@ export type Configuration1 = {
|
|
|
206
206
|
* The configuration of the model
|
|
207
207
|
*/
|
|
208
208
|
export type Configuration =
|
|
209
|
-
|
|
|
210
|
-
| Configuration4
|
|
209
|
+
| Configuration2
|
|
211
210
|
| Configuration1
|
|
212
|
-
|
|
|
211
|
+
| Configuration3
|
|
212
|
+
| Configuration4;
|
|
213
213
|
|
|
214
214
|
/**
|
|
215
215
|
* Parameters value
|
|
@@ -480,10 +480,10 @@ export type PostV2ModelsLitellmImportResponseBody = {
|
|
|
480
480
|
* The configuration of the model
|
|
481
481
|
*/
|
|
482
482
|
configuration?:
|
|
483
|
+
| Configuration2
|
|
484
|
+
| Configuration1
|
|
483
485
|
| Configuration3
|
|
484
486
|
| Configuration4
|
|
485
|
-
| Configuration1
|
|
486
|
-
| Configuration2
|
|
487
487
|
| undefined;
|
|
488
488
|
/**
|
|
489
489
|
* The parameters of the model
|
|
@@ -1473,18 +1473,18 @@ export const Configuration$inboundSchema: z.ZodType<
|
|
|
1473
1473
|
z.ZodTypeDef,
|
|
1474
1474
|
unknown
|
|
1475
1475
|
> = z.union([
|
|
1476
|
+
z.lazy(() => Configuration2$inboundSchema),
|
|
1477
|
+
z.lazy(() => Configuration1$inboundSchema),
|
|
1476
1478
|
z.lazy(() => Configuration3$inboundSchema),
|
|
1477
1479
|
z.lazy(() => Configuration4$inboundSchema),
|
|
1478
|
-
z.lazy(() => Configuration1$inboundSchema),
|
|
1479
|
-
z.lazy(() => Configuration2$inboundSchema),
|
|
1480
1480
|
]);
|
|
1481
1481
|
|
|
1482
1482
|
/** @internal */
|
|
1483
1483
|
export type Configuration$Outbound =
|
|
1484
|
-
|
|
|
1485
|
-
| Configuration4$Outbound
|
|
1484
|
+
| Configuration2$Outbound
|
|
1486
1485
|
| Configuration1$Outbound
|
|
1487
|
-
|
|
|
1486
|
+
| Configuration3$Outbound
|
|
1487
|
+
| Configuration4$Outbound;
|
|
1488
1488
|
|
|
1489
1489
|
/** @internal */
|
|
1490
1490
|
export const Configuration$outboundSchema: z.ZodType<
|
|
@@ -1492,10 +1492,10 @@ export const Configuration$outboundSchema: z.ZodType<
|
|
|
1492
1492
|
z.ZodTypeDef,
|
|
1493
1493
|
Configuration
|
|
1494
1494
|
> = z.union([
|
|
1495
|
+
z.lazy(() => Configuration2$outboundSchema),
|
|
1496
|
+
z.lazy(() => Configuration1$outboundSchema),
|
|
1495
1497
|
z.lazy(() => Configuration3$outboundSchema),
|
|
1496
1498
|
z.lazy(() => Configuration4$outboundSchema),
|
|
1497
|
-
z.lazy(() => Configuration1$outboundSchema),
|
|
1498
|
-
z.lazy(() => Configuration2$outboundSchema),
|
|
1499
1499
|
]);
|
|
1500
1500
|
|
|
1501
1501
|
/**
|
|
@@ -2233,10 +2233,10 @@ export const PostV2ModelsLitellmImportResponseBody$inboundSchema: z.ZodType<
|
|
|
2233
2233
|
owner: z.string().default("system"),
|
|
2234
2234
|
metadata: z.lazy(() => PostV2ModelsLitellmImportMetadata$inboundSchema),
|
|
2235
2235
|
configuration: z.union([
|
|
2236
|
+
z.lazy(() => Configuration2$inboundSchema),
|
|
2237
|
+
z.lazy(() => Configuration1$inboundSchema),
|
|
2236
2238
|
z.lazy(() => Configuration3$inboundSchema),
|
|
2237
2239
|
z.lazy(() => Configuration4$inboundSchema),
|
|
2238
|
-
z.lazy(() => Configuration1$inboundSchema),
|
|
2239
|
-
z.lazy(() => Configuration2$inboundSchema),
|
|
2240
2240
|
]).optional(),
|
|
2241
2241
|
parameters: z.array(
|
|
2242
2242
|
z.union([
|
|
@@ -2295,10 +2295,10 @@ export type PostV2ModelsLitellmImportResponseBody$Outbound = {
|
|
|
2295
2295
|
owner: string;
|
|
2296
2296
|
metadata: PostV2ModelsLitellmImportMetadata$Outbound;
|
|
2297
2297
|
configuration?:
|
|
2298
|
+
| Configuration2$Outbound
|
|
2299
|
+
| Configuration1$Outbound
|
|
2298
2300
|
| Configuration3$Outbound
|
|
2299
2301
|
| Configuration4$Outbound
|
|
2300
|
-
| Configuration1$Outbound
|
|
2301
|
-
| Configuration2$Outbound
|
|
2302
2302
|
| undefined;
|
|
2303
2303
|
parameters: Array<
|
|
2304
2304
|
Parameters1$Outbound | Parameters2$Outbound | Parameters3$Outbound
|
|
@@ -2337,10 +2337,10 @@ export const PostV2ModelsLitellmImportResponseBody$outboundSchema: z.ZodType<
|
|
|
2337
2337
|
owner: z.string().default("system"),
|
|
2338
2338
|
metadata: z.lazy(() => PostV2ModelsLitellmImportMetadata$outboundSchema),
|
|
2339
2339
|
configuration: z.union([
|
|
2340
|
+
z.lazy(() => Configuration2$outboundSchema),
|
|
2341
|
+
z.lazy(() => Configuration1$outboundSchema),
|
|
2340
2342
|
z.lazy(() => Configuration3$outboundSchema),
|
|
2341
2343
|
z.lazy(() => Configuration4$outboundSchema),
|
|
2342
|
-
z.lazy(() => Configuration1$outboundSchema),
|
|
2343
|
-
z.lazy(() => Configuration2$outboundSchema),
|
|
2344
2344
|
]).optional(),
|
|
2345
2345
|
parameters: z.array(
|
|
2346
2346
|
z.union([
|
|
@@ -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-06-
|
|
130
|
+
"2025-06-17T09:09:46.815Z",
|
|
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-06-
|
|
168
|
+
updated: z.date().default(() => new Date("2025-06-17T09:09:46.815Z"))
|
|
169
169
|
.transform(v => v.toISOString()),
|
|
170
170
|
}).transform((v) => {
|
|
171
171
|
return remap$(v, {
|
|
@@ -443,10 +443,10 @@ export type RetrieveDatapointMessagesDeveloperMessage = {
|
|
|
443
443
|
};
|
|
444
444
|
|
|
445
445
|
export type RetrieveDatapointMessages =
|
|
446
|
+
| RetrieveDatapointMessagesToolMessage
|
|
446
447
|
| RetrieveDatapointMessagesDeveloperMessage
|
|
447
448
|
| RetrieveDatapointMessagesSystemMessage
|
|
448
449
|
| RetrieveDatapointMessagesUserMessage
|
|
449
|
-
| RetrieveDatapointMessagesToolMessage
|
|
450
450
|
| RetrieveDatapointMessagesAssistantMessage;
|
|
451
451
|
|
|
452
452
|
/**
|
|
@@ -470,10 +470,10 @@ export type RetrieveDatapointResponseBody = {
|
|
|
470
470
|
*/
|
|
471
471
|
messages?:
|
|
472
472
|
| Array<
|
|
473
|
+
| RetrieveDatapointMessagesToolMessage
|
|
473
474
|
| RetrieveDatapointMessagesDeveloperMessage
|
|
474
475
|
| RetrieveDatapointMessagesSystemMessage
|
|
475
476
|
| RetrieveDatapointMessagesUserMessage
|
|
476
|
-
| RetrieveDatapointMessagesToolMessage
|
|
477
477
|
| RetrieveDatapointMessagesAssistantMessage
|
|
478
478
|
>
|
|
479
479
|
| undefined;
|
|
@@ -2397,19 +2397,19 @@ export const RetrieveDatapointMessages$inboundSchema: z.ZodType<
|
|
|
2397
2397
|
z.ZodTypeDef,
|
|
2398
2398
|
unknown
|
|
2399
2399
|
> = z.union([
|
|
2400
|
+
z.lazy(() => RetrieveDatapointMessagesToolMessage$inboundSchema),
|
|
2400
2401
|
z.lazy(() => RetrieveDatapointMessagesDeveloperMessage$inboundSchema),
|
|
2401
2402
|
z.lazy(() => RetrieveDatapointMessagesSystemMessage$inboundSchema),
|
|
2402
2403
|
z.lazy(() => RetrieveDatapointMessagesUserMessage$inboundSchema),
|
|
2403
|
-
z.lazy(() => RetrieveDatapointMessagesToolMessage$inboundSchema),
|
|
2404
2404
|
z.lazy(() => RetrieveDatapointMessagesAssistantMessage$inboundSchema),
|
|
2405
2405
|
]);
|
|
2406
2406
|
|
|
2407
2407
|
/** @internal */
|
|
2408
2408
|
export type RetrieveDatapointMessages$Outbound =
|
|
2409
|
+
| RetrieveDatapointMessagesToolMessage$Outbound
|
|
2409
2410
|
| RetrieveDatapointMessagesDeveloperMessage$Outbound
|
|
2410
2411
|
| RetrieveDatapointMessagesSystemMessage$Outbound
|
|
2411
2412
|
| RetrieveDatapointMessagesUserMessage$Outbound
|
|
2412
|
-
| RetrieveDatapointMessagesToolMessage$Outbound
|
|
2413
2413
|
| RetrieveDatapointMessagesAssistantMessage$Outbound;
|
|
2414
2414
|
|
|
2415
2415
|
/** @internal */
|
|
@@ -2418,10 +2418,10 @@ export const RetrieveDatapointMessages$outboundSchema: z.ZodType<
|
|
|
2418
2418
|
z.ZodTypeDef,
|
|
2419
2419
|
RetrieveDatapointMessages
|
|
2420
2420
|
> = z.union([
|
|
2421
|
+
z.lazy(() => RetrieveDatapointMessagesToolMessage$outboundSchema),
|
|
2421
2422
|
z.lazy(() => RetrieveDatapointMessagesDeveloperMessage$outboundSchema),
|
|
2422
2423
|
z.lazy(() => RetrieveDatapointMessagesSystemMessage$outboundSchema),
|
|
2423
2424
|
z.lazy(() => RetrieveDatapointMessagesUserMessage$outboundSchema),
|
|
2424
|
-
z.lazy(() => RetrieveDatapointMessagesToolMessage$outboundSchema),
|
|
2425
2425
|
z.lazy(() => RetrieveDatapointMessagesAssistantMessage$outboundSchema),
|
|
2426
2426
|
]);
|
|
2427
2427
|
|
|
@@ -2467,10 +2467,10 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
2467
2467
|
inputs: z.record(z.any()).optional(),
|
|
2468
2468
|
messages: z.array(
|
|
2469
2469
|
z.union([
|
|
2470
|
+
z.lazy(() => RetrieveDatapointMessagesToolMessage$inboundSchema),
|
|
2470
2471
|
z.lazy(() => RetrieveDatapointMessagesDeveloperMessage$inboundSchema),
|
|
2471
2472
|
z.lazy(() => RetrieveDatapointMessagesSystemMessage$inboundSchema),
|
|
2472
2473
|
z.lazy(() => RetrieveDatapointMessagesUserMessage$inboundSchema),
|
|
2473
|
-
z.lazy(() => RetrieveDatapointMessagesToolMessage$inboundSchema),
|
|
2474
2474
|
z.lazy(() => RetrieveDatapointMessagesAssistantMessage$inboundSchema),
|
|
2475
2475
|
]),
|
|
2476
2476
|
).optional(),
|
|
@@ -2481,7 +2481,7 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
2481
2481
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2482
2482
|
.optional(),
|
|
2483
2483
|
updated: z.string().datetime({ offset: true }).default(
|
|
2484
|
-
"2025-06-
|
|
2484
|
+
"2025-06-17T09:09:46.815Z",
|
|
2485
2485
|
).transform(v => new Date(v)),
|
|
2486
2486
|
}).transform((v) => {
|
|
2487
2487
|
return remap$(v, {
|
|
@@ -2501,10 +2501,10 @@ export type RetrieveDatapointResponseBody$Outbound = {
|
|
|
2501
2501
|
inputs?: { [k: string]: any } | undefined;
|
|
2502
2502
|
messages?:
|
|
2503
2503
|
| Array<
|
|
2504
|
+
| RetrieveDatapointMessagesToolMessage$Outbound
|
|
2504
2505
|
| RetrieveDatapointMessagesDeveloperMessage$Outbound
|
|
2505
2506
|
| RetrieveDatapointMessagesSystemMessage$Outbound
|
|
2506
2507
|
| RetrieveDatapointMessagesUserMessage$Outbound
|
|
2507
|
-
| RetrieveDatapointMessagesToolMessage$Outbound
|
|
2508
2508
|
| RetrieveDatapointMessagesAssistantMessage$Outbound
|
|
2509
2509
|
>
|
|
2510
2510
|
| undefined;
|
|
@@ -2527,10 +2527,10 @@ export const RetrieveDatapointResponseBody$outboundSchema: z.ZodType<
|
|
|
2527
2527
|
inputs: z.record(z.any()).optional(),
|
|
2528
2528
|
messages: z.array(
|
|
2529
2529
|
z.union([
|
|
2530
|
+
z.lazy(() => RetrieveDatapointMessagesToolMessage$outboundSchema),
|
|
2530
2531
|
z.lazy(() => RetrieveDatapointMessagesDeveloperMessage$outboundSchema),
|
|
2531
2532
|
z.lazy(() => RetrieveDatapointMessagesSystemMessage$outboundSchema),
|
|
2532
2533
|
z.lazy(() => RetrieveDatapointMessagesUserMessage$outboundSchema),
|
|
2533
|
-
z.lazy(() => RetrieveDatapointMessagesToolMessage$outboundSchema),
|
|
2534
2534
|
z.lazy(() => RetrieveDatapointMessagesAssistantMessage$outboundSchema),
|
|
2535
2535
|
]),
|
|
2536
2536
|
).optional(),
|
|
@@ -2539,7 +2539,7 @@ export const RetrieveDatapointResponseBody$outboundSchema: z.ZodType<
|
|
|
2539
2539
|
createdById: z.string().optional(),
|
|
2540
2540
|
updatedById: z.string().optional(),
|
|
2541
2541
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
2542
|
-
updated: z.date().default(() => new Date("2025-06-
|
|
2542
|
+
updated: z.date().default(() => new Date("2025-06-17T09:09:46.815Z"))
|
|
2543
2543
|
.transform(v => v.toISOString()),
|
|
2544
2544
|
}).transform((v) => {
|
|
2545
2545
|
return remap$(v, {
|
|
@@ -201,7 +201,7 @@ export const RetrieveDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
201
201
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
202
202
|
.optional(),
|
|
203
203
|
updated: z.string().datetime({ offset: true }).default(
|
|
204
|
-
"2025-06-
|
|
204
|
+
"2025-06-17T09:09:46.815Z",
|
|
205
205
|
).transform(v => new Date(v)),
|
|
206
206
|
}).transform((v) => {
|
|
207
207
|
return remap$(v, {
|
|
@@ -241,7 +241,7 @@ export const RetrieveDatasetResponseBody$outboundSchema: z.ZodType<
|
|
|
241
241
|
updatedById: z.string().optional(),
|
|
242
242
|
metadata: z.lazy(() => RetrieveDatasetMetadata$outboundSchema),
|
|
243
243
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
244
|
-
updated: z.date().default(() => new Date("2025-06-
|
|
244
|
+
updated: z.date().default(() => new Date("2025-06-17T09:09:46.815Z"))
|
|
245
245
|
.transform(v => v.toISOString()),
|
|
246
246
|
}).transform((v) => {
|
|
247
247
|
return remap$(v, {
|
|
@@ -172,7 +172,7 @@ export const RetrieveDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
172
172
|
z.ZodTypeDef,
|
|
173
173
|
unknown
|
|
174
174
|
> = z.object({
|
|
175
|
-
_id: z.string().default("
|
|
175
|
+
_id: z.string().default("01JXYJDX0KS9Z600TFEBXTWQGD"),
|
|
176
176
|
display_name: z.string(),
|
|
177
177
|
description: z.string().optional(),
|
|
178
178
|
status: RetrieveDatasourceStatus$inboundSchema,
|
|
@@ -216,7 +216,7 @@ export const RetrieveDatasourceResponseBody$outboundSchema: z.ZodType<
|
|
|
216
216
|
z.ZodTypeDef,
|
|
217
217
|
RetrieveDatasourceResponseBody
|
|
218
218
|
> = z.object({
|
|
219
|
-
id: z.string().default("
|
|
219
|
+
id: z.string().default("01JXYJDX0KS9Z600TFEBXTWQGD"),
|
|
220
220
|
displayName: z.string(),
|
|
221
221
|
description: z.string().optional(),
|
|
222
222
|
status: RetrieveDatasourceStatus$outboundSchema,
|
|
@@ -244,7 +244,7 @@ export const UpdateContactResponseBody$inboundSchema: z.ZodType<
|
|
|
244
244
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
245
245
|
.optional(),
|
|
246
246
|
updated: z.string().datetime({ offset: true }).default(
|
|
247
|
-
"2025-06-
|
|
247
|
+
"2025-06-17T09:09:46.815Z",
|
|
248
248
|
).transform(v => new Date(v)),
|
|
249
249
|
}).transform((v) => {
|
|
250
250
|
return remap$(v, {
|
|
@@ -282,7 +282,7 @@ export const UpdateContactResponseBody$outboundSchema: z.ZodType<
|
|
|
282
282
|
tags: z.array(z.string()).optional(),
|
|
283
283
|
metadata: z.record(z.any()).optional(),
|
|
284
284
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
285
|
-
updated: z.date().default(() => new Date("2025-06-
|
|
285
|
+
updated: z.date().default(() => new Date("2025-06-17T09:09:46.815Z"))
|
|
286
286
|
.transform(v => v.toISOString()),
|
|
287
287
|
}).transform((v) => {
|
|
288
288
|
return remap$(v, {
|