@orq-ai/node 3.13.11 → 3.13.13
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 +266 -222
- package/bin/mcp-server.js.map +40 -40
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/lib/env.d.ts.map +1 -1
- package/lib/env.js +18 -1
- package/lib/env.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/operations/createagent.d.ts +38 -0
- package/models/operations/createagent.d.ts.map +1 -1
- package/models/operations/createagent.js +35 -1
- package/models/operations/createagent.js.map +1 -1
- package/models/operations/createbudget.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +2 -2
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +28 -28
- package/models/operations/createtool.js +14 -14
- package/models/operations/duplicatetool.js +10 -10
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getalltools.js +10 -10
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- 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.js +10 -10
- package/models/operations/runagent.d.ts +15 -15
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +20 -18
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +53 -18
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +54 -19
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +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.js +14 -14
- package/package.json +1 -1
- package/packages/orq-rc/docs/sdks/prompts/README.md +47 -13
- package/packages/orq-rc/docs/sdks/tools/README.md +7 -3
- 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/promptsCreate.ts +4 -4
- package/packages/orq-rc/src/funcs/promptsRetrieve.ts +4 -4
- package/packages/orq-rc/src/funcs/promptsUpdate.ts +4 -4
- package/packages/orq-rc/src/funcs/toolsList.ts +1 -1
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/lib/env.ts +20 -3
- 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/mcp-server/tools/toolsList.ts +1 -1
- package/packages/orq-rc/src/models/components/deployments.ts +6 -6
- package/packages/orq-rc/src/models/operations/createagent.ts +73 -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 +14 -14
- package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/createeval.ts +60 -56
- package/packages/orq-rc/src/models/operations/creatememorystore.ts +108 -40
- package/packages/orq-rc/src/models/operations/createprompt.ts +4603 -1478
- package/packages/orq-rc/src/models/operations/createtool.ts +10 -10
- package/packages/orq-rc/src/models/operations/deploymentcreatemetric.ts +6 -6
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +6 -6
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +6 -6
- package/packages/orq-rc/src/models/operations/duplicatetool.ts +10 -10
- 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/getallmemorystores.ts +56 -20
- package/packages/orq-rc/src/models/operations/getallprompts.ts +48 -52
- package/packages/orq-rc/src/models/operations/getalltools.ts +14 -14
- 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/getoneprompt.ts +22 -22
- 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 +11 -11
- 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 +11 -11
- 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/retrievememorystore.ts +56 -20
- package/packages/orq-rc/src/models/operations/retrievetool.ts +10 -10
- package/packages/orq-rc/src/models/operations/runagent.ts +30 -24
- package/packages/orq-rc/src/models/operations/updateagent.ts +110 -28
- 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 +14 -14
- 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 +57 -57
- package/packages/orq-rc/src/models/operations/updatememorystore.ts +52 -20
- package/packages/orq-rc/src/models/operations/updateprompt.ts +5018 -1772
- package/packages/orq-rc/src/models/operations/updatetool.ts +10 -10
- package/packages/orq-rc/src/sdk/prompts.ts +3 -3
- package/packages/orq-rc/src/sdk/tools.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/env.ts +20 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/createagent.ts +73 -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 +14 -14
- package/src/models/operations/duplicatetool.ts +10 -10
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/getalltools.ts +10 -10
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- 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 +10 -10
- package/src/models/operations/runagent.ts +30 -24
- package/src/models/operations/updateagent.ts +110 -28
- 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 +14 -14
|
@@ -559,7 +559,10 @@ export type GetAllPromptsMetadata = {
|
|
|
559
559
|
language?: GetAllPromptsLanguage | null | undefined;
|
|
560
560
|
};
|
|
561
561
|
|
|
562
|
-
|
|
562
|
+
/**
|
|
563
|
+
* A prompt entity with configuration, metadata, and versioning.
|
|
564
|
+
*/
|
|
565
|
+
export type Prompt = {
|
|
563
566
|
id: string;
|
|
564
567
|
type: GetAllPromptsType;
|
|
565
568
|
owner: string;
|
|
@@ -588,7 +591,7 @@ export type GetAllPromptsData = {
|
|
|
588
591
|
*/
|
|
589
592
|
export type GetAllPromptsResponseBody = {
|
|
590
593
|
object: GetAllPromptsObject;
|
|
591
|
-
data: Array<
|
|
594
|
+
data: Array<Prompt>;
|
|
592
595
|
hasMore: boolean;
|
|
593
596
|
};
|
|
594
597
|
|
|
@@ -2436,36 +2439,33 @@ export function getAllPromptsMetadataFromJSON(
|
|
|
2436
2439
|
}
|
|
2437
2440
|
|
|
2438
2441
|
/** @internal */
|
|
2439
|
-
export const
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
"display_name": "displayName",
|
|
2463
|
-
"prompt_config": "promptConfig",
|
|
2442
|
+
export const Prompt$inboundSchema: z.ZodType<Prompt, z.ZodTypeDef, unknown> = z
|
|
2443
|
+
.object({
|
|
2444
|
+
_id: z.string(),
|
|
2445
|
+
type: GetAllPromptsType$inboundSchema,
|
|
2446
|
+
owner: z.string(),
|
|
2447
|
+
domain_id: z.string(),
|
|
2448
|
+
created: z.string(),
|
|
2449
|
+
updated: z.string(),
|
|
2450
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
2451
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
2452
|
+
display_name: z.string(),
|
|
2453
|
+
description: z.nullable(z.string()).optional(),
|
|
2454
|
+
prompt_config: z.lazy(() => GetAllPromptsPromptConfig$inboundSchema),
|
|
2455
|
+
metadata: z.lazy(() => GetAllPromptsMetadata$inboundSchema).optional(),
|
|
2456
|
+
}).transform((v) => {
|
|
2457
|
+
return remap$(v, {
|
|
2458
|
+
"_id": "id",
|
|
2459
|
+
"domain_id": "domainId",
|
|
2460
|
+
"created_by_id": "createdById",
|
|
2461
|
+
"updated_by_id": "updatedById",
|
|
2462
|
+
"display_name": "displayName",
|
|
2463
|
+
"prompt_config": "promptConfig",
|
|
2464
|
+
});
|
|
2464
2465
|
});
|
|
2465
|
-
});
|
|
2466
2466
|
|
|
2467
2467
|
/** @internal */
|
|
2468
|
-
export type
|
|
2468
|
+
export type Prompt$Outbound = {
|
|
2469
2469
|
_id: string;
|
|
2470
2470
|
type: string;
|
|
2471
2471
|
owner: string;
|
|
@@ -2481,10 +2481,10 @@ export type GetAllPromptsData$Outbound = {
|
|
|
2481
2481
|
};
|
|
2482
2482
|
|
|
2483
2483
|
/** @internal */
|
|
2484
|
-
export const
|
|
2485
|
-
|
|
2484
|
+
export const Prompt$outboundSchema: z.ZodType<
|
|
2485
|
+
Prompt$Outbound,
|
|
2486
2486
|
z.ZodTypeDef,
|
|
2487
|
-
|
|
2487
|
+
Prompt
|
|
2488
2488
|
> = z.object({
|
|
2489
2489
|
id: z.string(),
|
|
2490
2490
|
type: GetAllPromptsType$outboundSchema,
|
|
@@ -2513,30 +2513,26 @@ export const GetAllPromptsData$outboundSchema: z.ZodType<
|
|
|
2513
2513
|
* @internal
|
|
2514
2514
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2515
2515
|
*/
|
|
2516
|
-
export namespace
|
|
2517
|
-
/** @deprecated use `
|
|
2518
|
-
export const inboundSchema =
|
|
2519
|
-
/** @deprecated use `
|
|
2520
|
-
export const outboundSchema =
|
|
2521
|
-
/** @deprecated use `
|
|
2522
|
-
export type Outbound =
|
|
2516
|
+
export namespace Prompt$ {
|
|
2517
|
+
/** @deprecated use `Prompt$inboundSchema` instead. */
|
|
2518
|
+
export const inboundSchema = Prompt$inboundSchema;
|
|
2519
|
+
/** @deprecated use `Prompt$outboundSchema` instead. */
|
|
2520
|
+
export const outboundSchema = Prompt$outboundSchema;
|
|
2521
|
+
/** @deprecated use `Prompt$Outbound` instead. */
|
|
2522
|
+
export type Outbound = Prompt$Outbound;
|
|
2523
2523
|
}
|
|
2524
2524
|
|
|
2525
|
-
export function
|
|
2526
|
-
|
|
2527
|
-
): string {
|
|
2528
|
-
return JSON.stringify(
|
|
2529
|
-
GetAllPromptsData$outboundSchema.parse(getAllPromptsData),
|
|
2530
|
-
);
|
|
2525
|
+
export function promptToJSON(prompt: Prompt): string {
|
|
2526
|
+
return JSON.stringify(Prompt$outboundSchema.parse(prompt));
|
|
2531
2527
|
}
|
|
2532
2528
|
|
|
2533
|
-
export function
|
|
2529
|
+
export function promptFromJSON(
|
|
2534
2530
|
jsonString: string,
|
|
2535
|
-
): SafeParseResult<
|
|
2531
|
+
): SafeParseResult<Prompt, SDKValidationError> {
|
|
2536
2532
|
return safeParse(
|
|
2537
2533
|
jsonString,
|
|
2538
|
-
(x) =>
|
|
2539
|
-
`Failed to parse '
|
|
2534
|
+
(x) => Prompt$inboundSchema.parse(JSON.parse(x)),
|
|
2535
|
+
`Failed to parse 'Prompt' from JSON`,
|
|
2540
2536
|
);
|
|
2541
2537
|
}
|
|
2542
2538
|
|
|
@@ -2547,7 +2543,7 @@ export const GetAllPromptsResponseBody$inboundSchema: z.ZodType<
|
|
|
2547
2543
|
unknown
|
|
2548
2544
|
> = z.object({
|
|
2549
2545
|
object: GetAllPromptsObject$inboundSchema,
|
|
2550
|
-
data: z.array(z.lazy(() =>
|
|
2546
|
+
data: z.array(z.lazy(() => Prompt$inboundSchema)),
|
|
2551
2547
|
has_more: z.boolean(),
|
|
2552
2548
|
}).transform((v) => {
|
|
2553
2549
|
return remap$(v, {
|
|
@@ -2558,7 +2554,7 @@ export const GetAllPromptsResponseBody$inboundSchema: z.ZodType<
|
|
|
2558
2554
|
/** @internal */
|
|
2559
2555
|
export type GetAllPromptsResponseBody$Outbound = {
|
|
2560
2556
|
object: string;
|
|
2561
|
-
data: Array<
|
|
2557
|
+
data: Array<Prompt$Outbound>;
|
|
2562
2558
|
has_more: boolean;
|
|
2563
2559
|
};
|
|
2564
2560
|
|
|
@@ -2569,7 +2565,7 @@ export const GetAllPromptsResponseBody$outboundSchema: z.ZodType<
|
|
|
2569
2565
|
GetAllPromptsResponseBody
|
|
2570
2566
|
> = z.object({
|
|
2571
2567
|
object: GetAllPromptsObject$outboundSchema,
|
|
2572
|
-
data: z.array(z.lazy(() =>
|
|
2568
|
+
data: z.array(z.lazy(() => Prompt$outboundSchema)),
|
|
2573
2569
|
hasMore: z.boolean(),
|
|
2574
2570
|
}).transform((v) => {
|
|
2575
2571
|
return remap$(v, {
|
|
@@ -11,7 +11,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
11
11
|
|
|
12
12
|
export type GetAllToolsRequest = {
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Maximum number of tools per page (1-200). Omit to return all tools.
|
|
15
15
|
*/
|
|
16
16
|
limit?: number | undefined;
|
|
17
17
|
/**
|
|
@@ -588,7 +588,7 @@ export const GetAllToolsRequest$inboundSchema: z.ZodType<
|
|
|
588
588
|
z.ZodTypeDef,
|
|
589
589
|
unknown
|
|
590
590
|
> = z.object({
|
|
591
|
-
limit: z.number().
|
|
591
|
+
limit: z.number().optional(),
|
|
592
592
|
starting_after: z.string().optional(),
|
|
593
593
|
ending_before: z.string().optional(),
|
|
594
594
|
}).transform((v) => {
|
|
@@ -600,7 +600,7 @@ export const GetAllToolsRequest$inboundSchema: z.ZodType<
|
|
|
600
600
|
|
|
601
601
|
/** @internal */
|
|
602
602
|
export type GetAllToolsRequest$Outbound = {
|
|
603
|
-
limit
|
|
603
|
+
limit?: number | undefined;
|
|
604
604
|
starting_after?: string | undefined;
|
|
605
605
|
ending_before?: string | undefined;
|
|
606
606
|
};
|
|
@@ -611,7 +611,7 @@ export const GetAllToolsRequest$outboundSchema: z.ZodType<
|
|
|
611
611
|
z.ZodTypeDef,
|
|
612
612
|
GetAllToolsRequest
|
|
613
613
|
> = z.object({
|
|
614
|
-
limit: z.number().
|
|
614
|
+
limit: z.number().optional(),
|
|
615
615
|
startingAfter: z.string().optional(),
|
|
616
616
|
endingBefore: z.string().optional(),
|
|
617
617
|
}).transform((v) => {
|
|
@@ -798,7 +798,7 @@ export function dataCodeToolFromJSON(
|
|
|
798
798
|
/** @internal */
|
|
799
799
|
export const Data5$inboundSchema: z.ZodType<Data5, z.ZodTypeDef, unknown> = z
|
|
800
800
|
.object({
|
|
801
|
-
_id: z.string().default("
|
|
801
|
+
_id: z.string().default("01K83MSAXMF8FWW395H84A1RAE"),
|
|
802
802
|
path: z.string(),
|
|
803
803
|
key: z.string(),
|
|
804
804
|
display_name: z.string().optional(),
|
|
@@ -851,7 +851,7 @@ export const Data5$outboundSchema: z.ZodType<
|
|
|
851
851
|
z.ZodTypeDef,
|
|
852
852
|
Data5
|
|
853
853
|
> = z.object({
|
|
854
|
-
id: z.string().default("
|
|
854
|
+
id: z.string().default("01K83MSAXMF8FWW395H84A1RAE"),
|
|
855
855
|
path: z.string(),
|
|
856
856
|
key: z.string(),
|
|
857
857
|
displayName: z.string().optional(),
|
|
@@ -1194,7 +1194,7 @@ export function dataMcpFromJSON(
|
|
|
1194
1194
|
/** @internal */
|
|
1195
1195
|
export const Data4$inboundSchema: z.ZodType<Data4, z.ZodTypeDef, unknown> = z
|
|
1196
1196
|
.object({
|
|
1197
|
-
_id: z.string().default("
|
|
1197
|
+
_id: z.string().default("01K83MSAXMNG6Q4QY23S3T6EHJ"),
|
|
1198
1198
|
path: z.string(),
|
|
1199
1199
|
key: z.string(),
|
|
1200
1200
|
display_name: z.string().optional(),
|
|
@@ -1246,7 +1246,7 @@ export const Data4$outboundSchema: z.ZodType<
|
|
|
1246
1246
|
z.ZodTypeDef,
|
|
1247
1247
|
Data4
|
|
1248
1248
|
> = z.object({
|
|
1249
|
-
id: z.string().default("
|
|
1249
|
+
id: z.string().default("01K83MSAXMNG6Q4QY23S3T6EHJ"),
|
|
1250
1250
|
path: z.string(),
|
|
1251
1251
|
key: z.string(),
|
|
1252
1252
|
displayName: z.string().optional(),
|
|
@@ -1629,7 +1629,7 @@ export function getAllToolsDataHttpFromJSON(
|
|
|
1629
1629
|
/** @internal */
|
|
1630
1630
|
export const Data3$inboundSchema: z.ZodType<Data3, z.ZodTypeDef, unknown> = z
|
|
1631
1631
|
.object({
|
|
1632
|
-
_id: z.string().default("
|
|
1632
|
+
_id: z.string().default("01K83MSAXK497GE95ACHS4J32X"),
|
|
1633
1633
|
path: z.string(),
|
|
1634
1634
|
key: z.string(),
|
|
1635
1635
|
display_name: z.string().optional(),
|
|
@@ -1681,7 +1681,7 @@ export const Data3$outboundSchema: z.ZodType<
|
|
|
1681
1681
|
z.ZodTypeDef,
|
|
1682
1682
|
Data3
|
|
1683
1683
|
> = z.object({
|
|
1684
|
-
id: z.string().default("
|
|
1684
|
+
id: z.string().default("01K83MSAXK497GE95ACHS4J32X"),
|
|
1685
1685
|
path: z.string(),
|
|
1686
1686
|
key: z.string(),
|
|
1687
1687
|
displayName: z.string().optional(),
|
|
@@ -1842,7 +1842,7 @@ export const GetAllToolsData2$inboundSchema: z.ZodType<
|
|
|
1842
1842
|
z.ZodTypeDef,
|
|
1843
1843
|
unknown
|
|
1844
1844
|
> = z.object({
|
|
1845
|
-
_id: z.string().default("
|
|
1845
|
+
_id: z.string().default("01K83MSAXK7XA69Q1AFBP7MYB7"),
|
|
1846
1846
|
path: z.string(),
|
|
1847
1847
|
key: z.string(),
|
|
1848
1848
|
display_name: z.string().optional(),
|
|
@@ -1895,7 +1895,7 @@ export const GetAllToolsData2$outboundSchema: z.ZodType<
|
|
|
1895
1895
|
z.ZodTypeDef,
|
|
1896
1896
|
GetAllToolsData2
|
|
1897
1897
|
> = z.object({
|
|
1898
|
-
id: z.string().default("
|
|
1898
|
+
id: z.string().default("01K83MSAXK7XA69Q1AFBP7MYB7"),
|
|
1899
1899
|
path: z.string(),
|
|
1900
1900
|
key: z.string(),
|
|
1901
1901
|
displayName: z.string().optional(),
|
|
@@ -2063,7 +2063,7 @@ export const GetAllToolsData1$inboundSchema: z.ZodType<
|
|
|
2063
2063
|
z.ZodTypeDef,
|
|
2064
2064
|
unknown
|
|
2065
2065
|
> = z.object({
|
|
2066
|
-
_id: z.string().default("
|
|
2066
|
+
_id: z.string().default("01K83MSAXK74MPH6P8937D25WA"),
|
|
2067
2067
|
path: z.string(),
|
|
2068
2068
|
key: z.string(),
|
|
2069
2069
|
display_name: z.string().optional(),
|
|
@@ -2115,7 +2115,7 @@ export const GetAllToolsData1$outboundSchema: z.ZodType<
|
|
|
2115
2115
|
z.ZodTypeDef,
|
|
2116
2116
|
GetAllToolsData1
|
|
2117
2117
|
> = z.object({
|
|
2118
|
-
id: z.string().default("
|
|
2118
|
+
id: z.string().default("01K83MSAXK74MPH6P8937D25WA"),
|
|
2119
2119
|
path: z.string(),
|
|
2120
2120
|
key: z.string(),
|
|
2121
2121
|
displayName: z.string().optional(),
|
|
@@ -351,7 +351,7 @@ export const GetBudgetResponseBody$inboundSchema: z.ZodType<
|
|
|
351
351
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
352
352
|
.optional(),
|
|
353
353
|
updated: z.string().datetime({ offset: true }).default(
|
|
354
|
-
"2025-10-
|
|
354
|
+
"2025-10-21T15:04:06.875Z",
|
|
355
355
|
).transform(v => new Date(v)),
|
|
356
356
|
}).transform((v) => {
|
|
357
357
|
return remap$(v, {
|
|
@@ -386,7 +386,7 @@ export const GetBudgetResponseBody$outboundSchema: z.ZodType<
|
|
|
386
386
|
isActive: z.boolean(),
|
|
387
387
|
consumption: z.lazy(() => GetBudgetConsumption$outboundSchema).optional(),
|
|
388
388
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
389
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
389
|
+
updated: z.date().default(() => new Date("2025-10-21T15:04:06.875Z"))
|
|
390
390
|
.transform(v => v.toISOString()),
|
|
391
391
|
}).transform((v) => {
|
|
392
392
|
return remap$(v, {
|
|
@@ -1562,8 +1562,8 @@ export const DataTypescript$inboundSchema: z.ZodType<
|
|
|
1562
1562
|
> = z.object({
|
|
1563
1563
|
_id: z.string(),
|
|
1564
1564
|
description: z.string(),
|
|
1565
|
-
created: z.string().default("2025-10-
|
|
1566
|
-
updated: z.string().default("2025-10-
|
|
1565
|
+
created: z.string().default("2025-10-21T15:04:09.282Z"),
|
|
1566
|
+
updated: z.string().default("2025-10-21T15:04:09.282Z"),
|
|
1567
1567
|
guardrail_config: z.union([
|
|
1568
1568
|
z.lazy(() =>
|
|
1569
1569
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema
|
|
@@ -1606,8 +1606,8 @@ export const DataTypescript$outboundSchema: z.ZodType<
|
|
|
1606
1606
|
> = z.object({
|
|
1607
1607
|
id: z.string(),
|
|
1608
1608
|
description: z.string(),
|
|
1609
|
-
created: z.string().default("2025-10-
|
|
1610
|
-
updated: z.string().default("2025-10-
|
|
1609
|
+
created: z.string().default("2025-10-21T15:04:09.282Z"),
|
|
1610
|
+
updated: z.string().default("2025-10-21T15:04:09.282Z"),
|
|
1611
1611
|
guardrailConfig: z.union([
|
|
1612
1612
|
z.lazy(() =>
|
|
1613
1613
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema
|
|
@@ -2010,8 +2010,8 @@ export const DataRagas$inboundSchema: z.ZodType<
|
|
|
2010
2010
|
> = z.object({
|
|
2011
2011
|
_id: z.string(),
|
|
2012
2012
|
description: z.string(),
|
|
2013
|
-
created: z.string().default("2025-10-
|
|
2014
|
-
updated: z.string().default("2025-10-
|
|
2013
|
+
created: z.string().default("2025-10-21T15:04:09.282Z"),
|
|
2014
|
+
updated: z.string().default("2025-10-21T15:04:09.282Z"),
|
|
2015
2015
|
guardrail_config: z.union([
|
|
2016
2016
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
2017
2017
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Boolean$inboundSchema),
|
|
@@ -2053,8 +2053,8 @@ export const DataRagas$outboundSchema: z.ZodType<
|
|
|
2053
2053
|
> = z.object({
|
|
2054
2054
|
id: z.string(),
|
|
2055
2055
|
description: z.string(),
|
|
2056
|
-
created: z.string().default("2025-10-
|
|
2057
|
-
updated: z.string().default("2025-10-
|
|
2056
|
+
created: z.string().default("2025-10-21T15:04:09.282Z"),
|
|
2057
|
+
updated: z.string().default("2025-10-21T15:04:09.282Z"),
|
|
2058
2058
|
guardrailConfig: z.union([
|
|
2059
2059
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Number$outboundSchema),
|
|
2060
2060
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Boolean$outboundSchema),
|
|
@@ -5524,8 +5524,8 @@ export const DataFunction$inboundSchema: z.ZodType<
|
|
|
5524
5524
|
> = z.object({
|
|
5525
5525
|
_id: z.string(),
|
|
5526
5526
|
description: z.string(),
|
|
5527
|
-
created: z.string().default("2025-10-
|
|
5528
|
-
updated: z.string().default("2025-10-
|
|
5527
|
+
created: z.string().default("2025-10-21T15:04:09.282Z"),
|
|
5528
|
+
updated: z.string().default("2025-10-21T15:04:09.282Z"),
|
|
5529
5529
|
guardrail_config: z.union([
|
|
5530
5530
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
5531
5531
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -5635,8 +5635,8 @@ export const DataFunction$outboundSchema: z.ZodType<
|
|
|
5635
5635
|
> = z.object({
|
|
5636
5636
|
id: z.string(),
|
|
5637
5637
|
description: z.string(),
|
|
5638
|
-
created: z.string().default("2025-10-
|
|
5639
|
-
updated: z.string().default("2025-10-
|
|
5638
|
+
created: z.string().default("2025-10-21T15:04:09.282Z"),
|
|
5639
|
+
updated: z.string().default("2025-10-21T15:04:09.282Z"),
|
|
5640
5640
|
guardrailConfig: z.union([
|
|
5641
5641
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
5642
5642
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponseBoolean$outboundSchema),
|
|
@@ -6018,8 +6018,8 @@ export const DataPython$inboundSchema: z.ZodType<
|
|
|
6018
6018
|
> = z.object({
|
|
6019
6019
|
_id: z.string(),
|
|
6020
6020
|
description: z.string(),
|
|
6021
|
-
created: z.string().default("2025-10-
|
|
6022
|
-
updated: z.string().default("2025-10-
|
|
6021
|
+
created: z.string().default("2025-10-21T15:04:09.282Z"),
|
|
6022
|
+
updated: z.string().default("2025-10-21T15:04:09.282Z"),
|
|
6023
6023
|
guardrail_config: z.union([
|
|
6024
6024
|
z.lazy(() => GetEvalsGuardrailConfigEvalsNumber$inboundSchema),
|
|
6025
6025
|
z.lazy(() => GetEvalsGuardrailConfigEvalsBoolean$inboundSchema),
|
|
@@ -6057,8 +6057,8 @@ export const DataPython$outboundSchema: z.ZodType<
|
|
|
6057
6057
|
> = z.object({
|
|
6058
6058
|
id: z.string(),
|
|
6059
6059
|
description: z.string(),
|
|
6060
|
-
created: z.string().default("2025-10-
|
|
6061
|
-
updated: z.string().default("2025-10-
|
|
6060
|
+
created: z.string().default("2025-10-21T15:04:09.282Z"),
|
|
6061
|
+
updated: z.string().default("2025-10-21T15:04:09.282Z"),
|
|
6062
6062
|
guardrailConfig: z.union([
|
|
6063
6063
|
z.lazy(() => GetEvalsGuardrailConfigEvalsNumber$outboundSchema),
|
|
6064
6064
|
z.lazy(() => GetEvalsGuardrailConfigEvalsBoolean$outboundSchema),
|
|
@@ -6404,8 +6404,8 @@ export const DataHTTP$inboundSchema: z.ZodType<
|
|
|
6404
6404
|
> = z.object({
|
|
6405
6405
|
_id: z.string(),
|
|
6406
6406
|
description: z.string(),
|
|
6407
|
-
created: z.string().default("2025-10-
|
|
6408
|
-
updated: z.string().default("2025-10-
|
|
6407
|
+
created: z.string().default("2025-10-21T15:04:09.282Z"),
|
|
6408
|
+
updated: z.string().default("2025-10-21T15:04:09.282Z"),
|
|
6409
6409
|
guardrail_config: z.union([
|
|
6410
6410
|
z.lazy(() => GetEvalsGuardrailConfigNumber$inboundSchema),
|
|
6411
6411
|
z.lazy(() => GetEvalsGuardrailConfigBoolean$inboundSchema),
|
|
@@ -6449,8 +6449,8 @@ export const DataHTTP$outboundSchema: z.ZodType<
|
|
|
6449
6449
|
> = z.object({
|
|
6450
6450
|
id: z.string(),
|
|
6451
6451
|
description: z.string(),
|
|
6452
|
-
created: z.string().default("2025-10-
|
|
6453
|
-
updated: z.string().default("2025-10-
|
|
6452
|
+
created: z.string().default("2025-10-21T15:04:09.282Z"),
|
|
6453
|
+
updated: z.string().default("2025-10-21T15:04:09.282Z"),
|
|
6454
6454
|
guardrailConfig: z.union([
|
|
6455
6455
|
z.lazy(() => GetEvalsGuardrailConfigNumber$outboundSchema),
|
|
6456
6456
|
z.lazy(() => GetEvalsGuardrailConfigBoolean$outboundSchema),
|
|
@@ -6815,8 +6815,8 @@ export const DataJSON$inboundSchema: z.ZodType<
|
|
|
6815
6815
|
> = z.object({
|
|
6816
6816
|
_id: z.string(),
|
|
6817
6817
|
description: z.string(),
|
|
6818
|
-
created: z.string().default("2025-10-
|
|
6819
|
-
updated: z.string().default("2025-10-
|
|
6818
|
+
created: z.string().default("2025-10-21T15:04:09.282Z"),
|
|
6819
|
+
updated: z.string().default("2025-10-21T15:04:09.282Z"),
|
|
6820
6820
|
guardrail_config: z.union([
|
|
6821
6821
|
z.lazy(() =>
|
|
6822
6822
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataNumber$inboundSchema
|
|
@@ -6858,8 +6858,8 @@ export const DataJSON$outboundSchema: z.ZodType<
|
|
|
6858
6858
|
> = z.object({
|
|
6859
6859
|
id: z.string(),
|
|
6860
6860
|
description: z.string(),
|
|
6861
|
-
created: z.string().default("2025-10-
|
|
6862
|
-
updated: z.string().default("2025-10-
|
|
6861
|
+
created: z.string().default("2025-10-21T15:04:09.282Z"),
|
|
6862
|
+
updated: z.string().default("2025-10-21T15:04:09.282Z"),
|
|
6863
6863
|
guardrailConfig: z.union([
|
|
6864
6864
|
z.lazy(() =>
|
|
6865
6865
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataNumber$outboundSchema
|
|
@@ -7243,8 +7243,8 @@ export const DataLLM$inboundSchema: z.ZodType<DataLLM, z.ZodTypeDef, unknown> =
|
|
|
7243
7243
|
z.object({
|
|
7244
7244
|
_id: z.string(),
|
|
7245
7245
|
description: z.string(),
|
|
7246
|
-
created: z.string().default("2025-10-
|
|
7247
|
-
updated: z.string().default("2025-10-
|
|
7246
|
+
created: z.string().default("2025-10-21T15:04:09.282Z"),
|
|
7247
|
+
updated: z.string().default("2025-10-21T15:04:09.282Z"),
|
|
7248
7248
|
guardrail_config: z.union([
|
|
7249
7249
|
z.lazy(() =>
|
|
7250
7250
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema
|
|
@@ -7288,8 +7288,8 @@ export const DataLLM$outboundSchema: z.ZodType<
|
|
|
7288
7288
|
> = z.object({
|
|
7289
7289
|
id: z.string(),
|
|
7290
7290
|
description: z.string(),
|
|
7291
|
-
created: z.string().default("2025-10-
|
|
7292
|
-
updated: z.string().default("2025-10-
|
|
7291
|
+
created: z.string().default("2025-10-21T15:04:09.282Z"),
|
|
7292
|
+
updated: z.string().default("2025-10-21T15:04:09.282Z"),
|
|
7293
7293
|
guardrailConfig: z.union([
|
|
7294
7294
|
z.lazy(() =>
|
|
7295
7295
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema
|
|
@@ -547,9 +547,9 @@ export type GetOnePromptMetadata = {
|
|
|
547
547
|
};
|
|
548
548
|
|
|
549
549
|
/**
|
|
550
|
-
*
|
|
550
|
+
* A prompt entity with configuration, metadata, and versioning.
|
|
551
551
|
*/
|
|
552
|
-
export type
|
|
552
|
+
export type GetOnePromptPrompt = {
|
|
553
553
|
id: string;
|
|
554
554
|
type: GetOnePromptType;
|
|
555
555
|
owner: string;
|
|
@@ -2362,8 +2362,8 @@ export function getOnePromptMetadataFromJSON(
|
|
|
2362
2362
|
}
|
|
2363
2363
|
|
|
2364
2364
|
/** @internal */
|
|
2365
|
-
export const
|
|
2366
|
-
|
|
2365
|
+
export const GetOnePromptPrompt$inboundSchema: z.ZodType<
|
|
2366
|
+
GetOnePromptPrompt,
|
|
2367
2367
|
z.ZodTypeDef,
|
|
2368
2368
|
unknown
|
|
2369
2369
|
> = z.object({
|
|
@@ -2391,7 +2391,7 @@ export const GetOnePromptResponseBody$inboundSchema: z.ZodType<
|
|
|
2391
2391
|
});
|
|
2392
2392
|
|
|
2393
2393
|
/** @internal */
|
|
2394
|
-
export type
|
|
2394
|
+
export type GetOnePromptPrompt$Outbound = {
|
|
2395
2395
|
_id: string;
|
|
2396
2396
|
type: string;
|
|
2397
2397
|
owner: string;
|
|
@@ -2407,10 +2407,10 @@ export type GetOnePromptResponseBody$Outbound = {
|
|
|
2407
2407
|
};
|
|
2408
2408
|
|
|
2409
2409
|
/** @internal */
|
|
2410
|
-
export const
|
|
2411
|
-
|
|
2410
|
+
export const GetOnePromptPrompt$outboundSchema: z.ZodType<
|
|
2411
|
+
GetOnePromptPrompt$Outbound,
|
|
2412
2412
|
z.ZodTypeDef,
|
|
2413
|
-
|
|
2413
|
+
GetOnePromptPrompt
|
|
2414
2414
|
> = z.object({
|
|
2415
2415
|
id: z.string(),
|
|
2416
2416
|
type: GetOnePromptType$outboundSchema,
|
|
@@ -2439,29 +2439,29 @@ export const GetOnePromptResponseBody$outboundSchema: z.ZodType<
|
|
|
2439
2439
|
* @internal
|
|
2440
2440
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2441
2441
|
*/
|
|
2442
|
-
export namespace
|
|
2443
|
-
/** @deprecated use `
|
|
2444
|
-
export const inboundSchema =
|
|
2445
|
-
/** @deprecated use `
|
|
2446
|
-
export const outboundSchema =
|
|
2447
|
-
/** @deprecated use `
|
|
2448
|
-
export type Outbound =
|
|
2442
|
+
export namespace GetOnePromptPrompt$ {
|
|
2443
|
+
/** @deprecated use `GetOnePromptPrompt$inboundSchema` instead. */
|
|
2444
|
+
export const inboundSchema = GetOnePromptPrompt$inboundSchema;
|
|
2445
|
+
/** @deprecated use `GetOnePromptPrompt$outboundSchema` instead. */
|
|
2446
|
+
export const outboundSchema = GetOnePromptPrompt$outboundSchema;
|
|
2447
|
+
/** @deprecated use `GetOnePromptPrompt$Outbound` instead. */
|
|
2448
|
+
export type Outbound = GetOnePromptPrompt$Outbound;
|
|
2449
2449
|
}
|
|
2450
2450
|
|
|
2451
|
-
export function
|
|
2452
|
-
|
|
2451
|
+
export function getOnePromptPromptToJSON(
|
|
2452
|
+
getOnePromptPrompt: GetOnePromptPrompt,
|
|
2453
2453
|
): string {
|
|
2454
2454
|
return JSON.stringify(
|
|
2455
|
-
|
|
2455
|
+
GetOnePromptPrompt$outboundSchema.parse(getOnePromptPrompt),
|
|
2456
2456
|
);
|
|
2457
2457
|
}
|
|
2458
2458
|
|
|
2459
|
-
export function
|
|
2459
|
+
export function getOnePromptPromptFromJSON(
|
|
2460
2460
|
jsonString: string,
|
|
2461
|
-
): SafeParseResult<
|
|
2461
|
+
): SafeParseResult<GetOnePromptPrompt, SDKValidationError> {
|
|
2462
2462
|
return safeParse(
|
|
2463
2463
|
jsonString,
|
|
2464
|
-
(x) =>
|
|
2465
|
-
`Failed to parse '
|
|
2464
|
+
(x) => GetOnePromptPrompt$inboundSchema.parse(JSON.parse(x)),
|
|
2465
|
+
`Failed to parse 'GetOnePromptPrompt' from JSON`,
|
|
2466
2466
|
);
|
|
2467
2467
|
}
|
|
@@ -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-21T15:04:06.875Z",
|
|
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-21T15:04:06.875Z"))
|
|
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-21T15:04:06.875Z",
|
|
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-21T15:04:06.875Z"))
|
|
393
393
|
.transform(v => v.toISOString()),
|
|
394
394
|
metrics: z.lazy(() => ListContactsMetrics$outboundSchema),
|
|
395
395
|
}).transform((v) => {
|