@orq-ai/node 4.0.0-rc.67 → 4.0.0-rc.68
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 +23 -18
- package/bin/mcp-server.js +2320 -1152
- package/bin/mcp-server.js.map +49 -46
- package/docs/sdks/responses/README.md +139 -0
- package/examples/package-lock.json +1 -1
- package/funcs/agentsResponsesCreate.d.ts +17 -0
- package/funcs/agentsResponsesCreate.d.ts.map +1 -0
- package/funcs/agentsResponsesCreate.js +120 -0
- package/funcs/agentsResponsesCreate.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +3 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/agentsResponsesCreate.d.ts +8 -0
- package/mcp-server/tools/agentsResponsesCreate.d.ts.map +1 -0
- package/mcp-server/tools/agentsResponsesCreate.js +64 -0
- package/mcp-server/tools/agentsResponsesCreate.js.map +1 -0
- package/models/operations/createagent.js +4 -4
- package/models/operations/createagent.js.map +1 -1
- package/models/operations/createagentresponse.d.ts +564 -0
- package/models/operations/createagentresponse.d.ts.map +1 -0
- package/models/operations/createagentresponse.js +605 -0
- package/models/operations/createagentresponse.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 +8 -8
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +28 -28
- package/models/operations/createtool.js +12 -12
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getagent.js +2 -2
- package/models/operations/getagent.js.map +1 -1
- package/models/operations/getagenttask.d.ts +32 -32
- package/models/operations/getagenttask.d.ts.map +1 -1
- package/models/operations/getagenttask.js +50 -50
- package/models/operations/getagenttask.js.map +1 -1
- package/models/operations/getalltools.js +12 -12
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/index.d.ts +1 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +1 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/invokeagent.d.ts +95 -95
- package/models/operations/invokeagent.d.ts.map +1 -1
- package/models/operations/invokeagent.js +143 -134
- package/models/operations/invokeagent.js.map +1 -1
- package/models/operations/listagents.js +2 -2
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +8 -8
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +8 -8
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievetool.js +12 -12
- package/models/operations/runagent.d.ts +54 -54
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +90 -90
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamagent.d.ts +541 -68
- package/models/operations/streamagent.d.ts.map +1 -1
- package/models/operations/streamagent.js +649 -118
- package/models/operations/streamagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +541 -68
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +657 -127
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.js +4 -4
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +8 -8
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +28 -28
- package/models/operations/updatetool.js +14 -14
- package/package.json +1 -1
- package/sdk/agents.d.ts +3 -0
- package/sdk/agents.d.ts.map +1 -1
- package/sdk/agents.js +4 -0
- package/sdk/agents.js.map +1 -1
- package/sdk/responses.d.ts +12 -0
- package/sdk/responses.d.ts.map +1 -0
- package/sdk/responses.js +22 -0
- package/sdk/responses.js.map +1 -0
- package/src/funcs/agentsResponsesCreate.ts +168 -0
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/agentsResponsesCreate.ts +37 -0
- package/src/models/operations/createagent.ts +4 -4
- package/src/models/operations/createagentresponse.ts +1339 -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 +8 -8
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/createtool.ts +12 -12
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/getagent.ts +2 -2
- package/src/models/operations/getagenttask.ts +94 -94
- package/src/models/operations/getalltools.ts +12 -12
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/index.ts +1 -0
- package/src/models/operations/invokeagent.ts +322 -246
- package/src/models/operations/listagents.ts +2 -2
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +8 -8
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +8 -8
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievetool.ts +12 -12
- package/src/models/operations/runagent.ts +174 -157
- package/src/models/operations/streamagent.ts +1739 -297
- package/src/models/operations/streamrunagent.ts +1742 -307
- package/src/models/operations/updateagent.ts +4 -4
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +8 -8
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +28 -28
- package/src/models/operations/updatetool.ts +14 -14
- package/src/sdk/agents.ts +6 -0
- package/src/sdk/responses.ts +27 -0
|
@@ -312,7 +312,7 @@ export type GetAgentTaskPartsAgentsKind = ClosedEnum<
|
|
|
312
312
|
/**
|
|
313
313
|
* File in URI format. Check in the model's documentation for the supported mime types for the URI format
|
|
314
314
|
*/
|
|
315
|
-
export type
|
|
315
|
+
export type GetAgentTaskFileFileInURIFormat = {
|
|
316
316
|
/**
|
|
317
317
|
* URL for the File content
|
|
318
318
|
*/
|
|
@@ -330,7 +330,7 @@ export type GetAgentTaskFileAgentsFileInURIFormat = {
|
|
|
330
330
|
/**
|
|
331
331
|
* Binary in base64 format. Check in the model's documentation for the supported mime types for the binary format.
|
|
332
332
|
*/
|
|
333
|
-
export type
|
|
333
|
+
export type GetAgentTaskFileBinaryFormat = {
|
|
334
334
|
/**
|
|
335
335
|
* base64 encoded content of the file
|
|
336
336
|
*/
|
|
@@ -346,17 +346,15 @@ export type GetAgentTaskFileAgentsBinaryFormat = {
|
|
|
346
346
|
};
|
|
347
347
|
|
|
348
348
|
export type PartsFile =
|
|
349
|
-
|
|
|
350
|
-
|
|
|
349
|
+
| GetAgentTaskFileBinaryFormat
|
|
350
|
+
| GetAgentTaskFileFileInURIFormat;
|
|
351
351
|
|
|
352
352
|
/**
|
|
353
353
|
* A file content part that can contain either base64-encoded bytes or a URI reference. Used for images, documents, and other binary content in agent communications.
|
|
354
354
|
*/
|
|
355
355
|
export type PartsFilePart = {
|
|
356
356
|
kind: GetAgentTaskPartsAgentsKind;
|
|
357
|
-
file:
|
|
358
|
-
| GetAgentTaskFileAgentsBinaryFormat
|
|
359
|
-
| GetAgentTaskFileAgentsFileInURIFormat;
|
|
357
|
+
file: GetAgentTaskFileBinaryFormat | GetAgentTaskFileFileInURIFormat;
|
|
360
358
|
metadata?: { [k: string]: any } | undefined;
|
|
361
359
|
};
|
|
362
360
|
|
|
@@ -462,7 +460,7 @@ export type GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyKind =
|
|
|
462
460
|
/**
|
|
463
461
|
* File in URI format. Check in the model's documentation for the supported mime types for the URI format
|
|
464
462
|
*/
|
|
465
|
-
export type
|
|
463
|
+
export type GetAgentTaskFileAgentsFileInURIFormat = {
|
|
466
464
|
/**
|
|
467
465
|
* URL for the File content
|
|
468
466
|
*/
|
|
@@ -480,7 +478,7 @@ export type GetAgentTaskFileFileInURIFormat = {
|
|
|
480
478
|
/**
|
|
481
479
|
* Binary in base64 format. Check in the model's documentation for the supported mime types for the binary format.
|
|
482
480
|
*/
|
|
483
|
-
export type
|
|
481
|
+
export type GetAgentTaskFileAgentsBinaryFormat = {
|
|
484
482
|
/**
|
|
485
483
|
* base64 encoded content of the file
|
|
486
484
|
*/
|
|
@@ -496,15 +494,17 @@ export type GetAgentTaskFileBinaryFormat = {
|
|
|
496
494
|
};
|
|
497
495
|
|
|
498
496
|
export type GetAgentTaskPartsFile =
|
|
499
|
-
|
|
|
500
|
-
|
|
|
497
|
+
| GetAgentTaskFileAgentsBinaryFormat
|
|
498
|
+
| GetAgentTaskFileAgentsFileInURIFormat;
|
|
501
499
|
|
|
502
500
|
/**
|
|
503
501
|
* A file content part that can contain either base64-encoded bytes or a URI reference. Used for images, documents, and other binary content in agent communications.
|
|
504
502
|
*/
|
|
505
503
|
export type GetAgentTaskPartsFilePart = {
|
|
506
504
|
kind: GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyKind;
|
|
507
|
-
file:
|
|
505
|
+
file:
|
|
506
|
+
| GetAgentTaskFileAgentsBinaryFormat
|
|
507
|
+
| GetAgentTaskFileAgentsFileInURIFormat;
|
|
508
508
|
metadata?: { [k: string]: any } | undefined;
|
|
509
509
|
};
|
|
510
510
|
|
|
@@ -1507,8 +1507,8 @@ export const GetAgentTaskPartsAgentsKind$outboundSchema: z.ZodNativeEnum<
|
|
|
1507
1507
|
> = GetAgentTaskPartsAgentsKind$inboundSchema;
|
|
1508
1508
|
|
|
1509
1509
|
/** @internal */
|
|
1510
|
-
export const
|
|
1511
|
-
|
|
1510
|
+
export const GetAgentTaskFileFileInURIFormat$inboundSchema: z.ZodType<
|
|
1511
|
+
GetAgentTaskFileFileInURIFormat,
|
|
1512
1512
|
z.ZodTypeDef,
|
|
1513
1513
|
unknown
|
|
1514
1514
|
> = z.object({
|
|
@@ -1517,46 +1517,45 @@ export const GetAgentTaskFileAgentsFileInURIFormat$inboundSchema: z.ZodType<
|
|
|
1517
1517
|
name: z.string().optional(),
|
|
1518
1518
|
});
|
|
1519
1519
|
/** @internal */
|
|
1520
|
-
export type
|
|
1520
|
+
export type GetAgentTaskFileFileInURIFormat$Outbound = {
|
|
1521
1521
|
uri: string;
|
|
1522
1522
|
mimeType?: string | undefined;
|
|
1523
1523
|
name?: string | undefined;
|
|
1524
1524
|
};
|
|
1525
1525
|
|
|
1526
1526
|
/** @internal */
|
|
1527
|
-
export const
|
|
1528
|
-
|
|
1527
|
+
export const GetAgentTaskFileFileInURIFormat$outboundSchema: z.ZodType<
|
|
1528
|
+
GetAgentTaskFileFileInURIFormat$Outbound,
|
|
1529
1529
|
z.ZodTypeDef,
|
|
1530
|
-
|
|
1530
|
+
GetAgentTaskFileFileInURIFormat
|
|
1531
1531
|
> = z.object({
|
|
1532
1532
|
uri: z.string(),
|
|
1533
1533
|
mimeType: z.string().optional(),
|
|
1534
1534
|
name: z.string().optional(),
|
|
1535
1535
|
});
|
|
1536
1536
|
|
|
1537
|
-
export function
|
|
1538
|
-
|
|
1537
|
+
export function getAgentTaskFileFileInURIFormatToJSON(
|
|
1538
|
+
getAgentTaskFileFileInURIFormat: GetAgentTaskFileFileInURIFormat,
|
|
1539
1539
|
): string {
|
|
1540
1540
|
return JSON.stringify(
|
|
1541
|
-
|
|
1542
|
-
|
|
1541
|
+
GetAgentTaskFileFileInURIFormat$outboundSchema.parse(
|
|
1542
|
+
getAgentTaskFileFileInURIFormat,
|
|
1543
1543
|
),
|
|
1544
1544
|
);
|
|
1545
1545
|
}
|
|
1546
|
-
export function
|
|
1546
|
+
export function getAgentTaskFileFileInURIFormatFromJSON(
|
|
1547
1547
|
jsonString: string,
|
|
1548
|
-
): SafeParseResult<
|
|
1548
|
+
): SafeParseResult<GetAgentTaskFileFileInURIFormat, SDKValidationError> {
|
|
1549
1549
|
return safeParse(
|
|
1550
1550
|
jsonString,
|
|
1551
|
-
(x) =>
|
|
1552
|
-
|
|
1553
|
-
`Failed to parse 'GetAgentTaskFileAgentsFileInURIFormat' from JSON`,
|
|
1551
|
+
(x) => GetAgentTaskFileFileInURIFormat$inboundSchema.parse(JSON.parse(x)),
|
|
1552
|
+
`Failed to parse 'GetAgentTaskFileFileInURIFormat' from JSON`,
|
|
1554
1553
|
);
|
|
1555
1554
|
}
|
|
1556
1555
|
|
|
1557
1556
|
/** @internal */
|
|
1558
|
-
export const
|
|
1559
|
-
|
|
1557
|
+
export const GetAgentTaskFileBinaryFormat$inboundSchema: z.ZodType<
|
|
1558
|
+
GetAgentTaskFileBinaryFormat,
|
|
1560
1559
|
z.ZodTypeDef,
|
|
1561
1560
|
unknown
|
|
1562
1561
|
> = z.object({
|
|
@@ -1565,40 +1564,39 @@ export const GetAgentTaskFileAgentsBinaryFormat$inboundSchema: z.ZodType<
|
|
|
1565
1564
|
name: z.string().optional(),
|
|
1566
1565
|
});
|
|
1567
1566
|
/** @internal */
|
|
1568
|
-
export type
|
|
1567
|
+
export type GetAgentTaskFileBinaryFormat$Outbound = {
|
|
1569
1568
|
bytes: string;
|
|
1570
1569
|
mimeType?: string | undefined;
|
|
1571
1570
|
name?: string | undefined;
|
|
1572
1571
|
};
|
|
1573
1572
|
|
|
1574
1573
|
/** @internal */
|
|
1575
|
-
export const
|
|
1576
|
-
|
|
1574
|
+
export const GetAgentTaskFileBinaryFormat$outboundSchema: z.ZodType<
|
|
1575
|
+
GetAgentTaskFileBinaryFormat$Outbound,
|
|
1577
1576
|
z.ZodTypeDef,
|
|
1578
|
-
|
|
1577
|
+
GetAgentTaskFileBinaryFormat
|
|
1579
1578
|
> = z.object({
|
|
1580
1579
|
bytes: z.string(),
|
|
1581
1580
|
mimeType: z.string().optional(),
|
|
1582
1581
|
name: z.string().optional(),
|
|
1583
1582
|
});
|
|
1584
1583
|
|
|
1585
|
-
export function
|
|
1586
|
-
|
|
1584
|
+
export function getAgentTaskFileBinaryFormatToJSON(
|
|
1585
|
+
getAgentTaskFileBinaryFormat: GetAgentTaskFileBinaryFormat,
|
|
1587
1586
|
): string {
|
|
1588
1587
|
return JSON.stringify(
|
|
1589
|
-
|
|
1590
|
-
|
|
1588
|
+
GetAgentTaskFileBinaryFormat$outboundSchema.parse(
|
|
1589
|
+
getAgentTaskFileBinaryFormat,
|
|
1591
1590
|
),
|
|
1592
1591
|
);
|
|
1593
1592
|
}
|
|
1594
|
-
export function
|
|
1593
|
+
export function getAgentTaskFileBinaryFormatFromJSON(
|
|
1595
1594
|
jsonString: string,
|
|
1596
|
-
): SafeParseResult<
|
|
1595
|
+
): SafeParseResult<GetAgentTaskFileBinaryFormat, SDKValidationError> {
|
|
1597
1596
|
return safeParse(
|
|
1598
1597
|
jsonString,
|
|
1599
|
-
(x) =>
|
|
1600
|
-
|
|
1601
|
-
`Failed to parse 'GetAgentTaskFileAgentsBinaryFormat' from JSON`,
|
|
1598
|
+
(x) => GetAgentTaskFileBinaryFormat$inboundSchema.parse(JSON.parse(x)),
|
|
1599
|
+
`Failed to parse 'GetAgentTaskFileBinaryFormat' from JSON`,
|
|
1602
1600
|
);
|
|
1603
1601
|
}
|
|
1604
1602
|
|
|
@@ -1608,13 +1606,13 @@ export const PartsFile$inboundSchema: z.ZodType<
|
|
|
1608
1606
|
z.ZodTypeDef,
|
|
1609
1607
|
unknown
|
|
1610
1608
|
> = z.union([
|
|
1611
|
-
z.lazy(() =>
|
|
1612
|
-
z.lazy(() =>
|
|
1609
|
+
z.lazy(() => GetAgentTaskFileBinaryFormat$inboundSchema),
|
|
1610
|
+
z.lazy(() => GetAgentTaskFileFileInURIFormat$inboundSchema),
|
|
1613
1611
|
]);
|
|
1614
1612
|
/** @internal */
|
|
1615
1613
|
export type PartsFile$Outbound =
|
|
1616
|
-
|
|
|
1617
|
-
|
|
|
1614
|
+
| GetAgentTaskFileBinaryFormat$Outbound
|
|
1615
|
+
| GetAgentTaskFileFileInURIFormat$Outbound;
|
|
1618
1616
|
|
|
1619
1617
|
/** @internal */
|
|
1620
1618
|
export const PartsFile$outboundSchema: z.ZodType<
|
|
@@ -1622,8 +1620,8 @@ export const PartsFile$outboundSchema: z.ZodType<
|
|
|
1622
1620
|
z.ZodTypeDef,
|
|
1623
1621
|
PartsFile
|
|
1624
1622
|
> = z.union([
|
|
1625
|
-
z.lazy(() =>
|
|
1626
|
-
z.lazy(() =>
|
|
1623
|
+
z.lazy(() => GetAgentTaskFileBinaryFormat$outboundSchema),
|
|
1624
|
+
z.lazy(() => GetAgentTaskFileFileInURIFormat$outboundSchema),
|
|
1627
1625
|
]);
|
|
1628
1626
|
|
|
1629
1627
|
export function partsFileToJSON(partsFile: PartsFile): string {
|
|
@@ -1647,8 +1645,8 @@ export const PartsFilePart$inboundSchema: z.ZodType<
|
|
|
1647
1645
|
> = z.object({
|
|
1648
1646
|
kind: GetAgentTaskPartsAgentsKind$inboundSchema,
|
|
1649
1647
|
file: z.union([
|
|
1650
|
-
z.lazy(() =>
|
|
1651
|
-
z.lazy(() =>
|
|
1648
|
+
z.lazy(() => GetAgentTaskFileBinaryFormat$inboundSchema),
|
|
1649
|
+
z.lazy(() => GetAgentTaskFileFileInURIFormat$inboundSchema),
|
|
1652
1650
|
]),
|
|
1653
1651
|
metadata: z.record(z.any()).optional(),
|
|
1654
1652
|
});
|
|
@@ -1656,8 +1654,8 @@ export const PartsFilePart$inboundSchema: z.ZodType<
|
|
|
1656
1654
|
export type PartsFilePart$Outbound = {
|
|
1657
1655
|
kind: string;
|
|
1658
1656
|
file:
|
|
1659
|
-
|
|
|
1660
|
-
|
|
|
1657
|
+
| GetAgentTaskFileBinaryFormat$Outbound
|
|
1658
|
+
| GetAgentTaskFileFileInURIFormat$Outbound;
|
|
1661
1659
|
metadata?: { [k: string]: any } | undefined;
|
|
1662
1660
|
};
|
|
1663
1661
|
|
|
@@ -1669,8 +1667,8 @@ export const PartsFilePart$outboundSchema: z.ZodType<
|
|
|
1669
1667
|
> = z.object({
|
|
1670
1668
|
kind: GetAgentTaskPartsAgentsKind$outboundSchema,
|
|
1671
1669
|
file: z.union([
|
|
1672
|
-
z.lazy(() =>
|
|
1673
|
-
z.lazy(() =>
|
|
1670
|
+
z.lazy(() => GetAgentTaskFileBinaryFormat$outboundSchema),
|
|
1671
|
+
z.lazy(() => GetAgentTaskFileFileInURIFormat$outboundSchema),
|
|
1674
1672
|
]),
|
|
1675
1673
|
metadata: z.record(z.any()).optional(),
|
|
1676
1674
|
});
|
|
@@ -1977,8 +1975,8 @@ export const GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyKind$o
|
|
|
1977
1975
|
GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyKind$inboundSchema;
|
|
1978
1976
|
|
|
1979
1977
|
/** @internal */
|
|
1980
|
-
export const
|
|
1981
|
-
|
|
1978
|
+
export const GetAgentTaskFileAgentsFileInURIFormat$inboundSchema: z.ZodType<
|
|
1979
|
+
GetAgentTaskFileAgentsFileInURIFormat,
|
|
1982
1980
|
z.ZodTypeDef,
|
|
1983
1981
|
unknown
|
|
1984
1982
|
> = z.object({
|
|
@@ -1987,45 +1985,46 @@ export const GetAgentTaskFileFileInURIFormat$inboundSchema: z.ZodType<
|
|
|
1987
1985
|
name: z.string().optional(),
|
|
1988
1986
|
});
|
|
1989
1987
|
/** @internal */
|
|
1990
|
-
export type
|
|
1988
|
+
export type GetAgentTaskFileAgentsFileInURIFormat$Outbound = {
|
|
1991
1989
|
uri: string;
|
|
1992
1990
|
mimeType?: string | undefined;
|
|
1993
1991
|
name?: string | undefined;
|
|
1994
1992
|
};
|
|
1995
1993
|
|
|
1996
1994
|
/** @internal */
|
|
1997
|
-
export const
|
|
1998
|
-
|
|
1995
|
+
export const GetAgentTaskFileAgentsFileInURIFormat$outboundSchema: z.ZodType<
|
|
1996
|
+
GetAgentTaskFileAgentsFileInURIFormat$Outbound,
|
|
1999
1997
|
z.ZodTypeDef,
|
|
2000
|
-
|
|
1998
|
+
GetAgentTaskFileAgentsFileInURIFormat
|
|
2001
1999
|
> = z.object({
|
|
2002
2000
|
uri: z.string(),
|
|
2003
2001
|
mimeType: z.string().optional(),
|
|
2004
2002
|
name: z.string().optional(),
|
|
2005
2003
|
});
|
|
2006
2004
|
|
|
2007
|
-
export function
|
|
2008
|
-
|
|
2005
|
+
export function getAgentTaskFileAgentsFileInURIFormatToJSON(
|
|
2006
|
+
getAgentTaskFileAgentsFileInURIFormat: GetAgentTaskFileAgentsFileInURIFormat,
|
|
2009
2007
|
): string {
|
|
2010
2008
|
return JSON.stringify(
|
|
2011
|
-
|
|
2012
|
-
|
|
2009
|
+
GetAgentTaskFileAgentsFileInURIFormat$outboundSchema.parse(
|
|
2010
|
+
getAgentTaskFileAgentsFileInURIFormat,
|
|
2013
2011
|
),
|
|
2014
2012
|
);
|
|
2015
2013
|
}
|
|
2016
|
-
export function
|
|
2014
|
+
export function getAgentTaskFileAgentsFileInURIFormatFromJSON(
|
|
2017
2015
|
jsonString: string,
|
|
2018
|
-
): SafeParseResult<
|
|
2016
|
+
): SafeParseResult<GetAgentTaskFileAgentsFileInURIFormat, SDKValidationError> {
|
|
2019
2017
|
return safeParse(
|
|
2020
2018
|
jsonString,
|
|
2021
|
-
(x) =>
|
|
2022
|
-
|
|
2019
|
+
(x) =>
|
|
2020
|
+
GetAgentTaskFileAgentsFileInURIFormat$inboundSchema.parse(JSON.parse(x)),
|
|
2021
|
+
`Failed to parse 'GetAgentTaskFileAgentsFileInURIFormat' from JSON`,
|
|
2023
2022
|
);
|
|
2024
2023
|
}
|
|
2025
2024
|
|
|
2026
2025
|
/** @internal */
|
|
2027
|
-
export const
|
|
2028
|
-
|
|
2026
|
+
export const GetAgentTaskFileAgentsBinaryFormat$inboundSchema: z.ZodType<
|
|
2027
|
+
GetAgentTaskFileAgentsBinaryFormat,
|
|
2029
2028
|
z.ZodTypeDef,
|
|
2030
2029
|
unknown
|
|
2031
2030
|
> = z.object({
|
|
@@ -2034,39 +2033,40 @@ export const GetAgentTaskFileBinaryFormat$inboundSchema: z.ZodType<
|
|
|
2034
2033
|
name: z.string().optional(),
|
|
2035
2034
|
});
|
|
2036
2035
|
/** @internal */
|
|
2037
|
-
export type
|
|
2036
|
+
export type GetAgentTaskFileAgentsBinaryFormat$Outbound = {
|
|
2038
2037
|
bytes: string;
|
|
2039
2038
|
mimeType?: string | undefined;
|
|
2040
2039
|
name?: string | undefined;
|
|
2041
2040
|
};
|
|
2042
2041
|
|
|
2043
2042
|
/** @internal */
|
|
2044
|
-
export const
|
|
2045
|
-
|
|
2043
|
+
export const GetAgentTaskFileAgentsBinaryFormat$outboundSchema: z.ZodType<
|
|
2044
|
+
GetAgentTaskFileAgentsBinaryFormat$Outbound,
|
|
2046
2045
|
z.ZodTypeDef,
|
|
2047
|
-
|
|
2046
|
+
GetAgentTaskFileAgentsBinaryFormat
|
|
2048
2047
|
> = z.object({
|
|
2049
2048
|
bytes: z.string(),
|
|
2050
2049
|
mimeType: z.string().optional(),
|
|
2051
2050
|
name: z.string().optional(),
|
|
2052
2051
|
});
|
|
2053
2052
|
|
|
2054
|
-
export function
|
|
2055
|
-
|
|
2053
|
+
export function getAgentTaskFileAgentsBinaryFormatToJSON(
|
|
2054
|
+
getAgentTaskFileAgentsBinaryFormat: GetAgentTaskFileAgentsBinaryFormat,
|
|
2056
2055
|
): string {
|
|
2057
2056
|
return JSON.stringify(
|
|
2058
|
-
|
|
2059
|
-
|
|
2057
|
+
GetAgentTaskFileAgentsBinaryFormat$outboundSchema.parse(
|
|
2058
|
+
getAgentTaskFileAgentsBinaryFormat,
|
|
2060
2059
|
),
|
|
2061
2060
|
);
|
|
2062
2061
|
}
|
|
2063
|
-
export function
|
|
2062
|
+
export function getAgentTaskFileAgentsBinaryFormatFromJSON(
|
|
2064
2063
|
jsonString: string,
|
|
2065
|
-
): SafeParseResult<
|
|
2064
|
+
): SafeParseResult<GetAgentTaskFileAgentsBinaryFormat, SDKValidationError> {
|
|
2066
2065
|
return safeParse(
|
|
2067
2066
|
jsonString,
|
|
2068
|
-
(x) =>
|
|
2069
|
-
|
|
2067
|
+
(x) =>
|
|
2068
|
+
GetAgentTaskFileAgentsBinaryFormat$inboundSchema.parse(JSON.parse(x)),
|
|
2069
|
+
`Failed to parse 'GetAgentTaskFileAgentsBinaryFormat' from JSON`,
|
|
2070
2070
|
);
|
|
2071
2071
|
}
|
|
2072
2072
|
|
|
@@ -2076,13 +2076,13 @@ export const GetAgentTaskPartsFile$inboundSchema: z.ZodType<
|
|
|
2076
2076
|
z.ZodTypeDef,
|
|
2077
2077
|
unknown
|
|
2078
2078
|
> = z.union([
|
|
2079
|
-
z.lazy(() =>
|
|
2080
|
-
z.lazy(() =>
|
|
2079
|
+
z.lazy(() => GetAgentTaskFileAgentsBinaryFormat$inboundSchema),
|
|
2080
|
+
z.lazy(() => GetAgentTaskFileAgentsFileInURIFormat$inboundSchema),
|
|
2081
2081
|
]);
|
|
2082
2082
|
/** @internal */
|
|
2083
2083
|
export type GetAgentTaskPartsFile$Outbound =
|
|
2084
|
-
|
|
|
2085
|
-
|
|
|
2084
|
+
| GetAgentTaskFileAgentsBinaryFormat$Outbound
|
|
2085
|
+
| GetAgentTaskFileAgentsFileInURIFormat$Outbound;
|
|
2086
2086
|
|
|
2087
2087
|
/** @internal */
|
|
2088
2088
|
export const GetAgentTaskPartsFile$outboundSchema: z.ZodType<
|
|
@@ -2090,8 +2090,8 @@ export const GetAgentTaskPartsFile$outboundSchema: z.ZodType<
|
|
|
2090
2090
|
z.ZodTypeDef,
|
|
2091
2091
|
GetAgentTaskPartsFile
|
|
2092
2092
|
> = z.union([
|
|
2093
|
-
z.lazy(() =>
|
|
2094
|
-
z.lazy(() =>
|
|
2093
|
+
z.lazy(() => GetAgentTaskFileAgentsBinaryFormat$outboundSchema),
|
|
2094
|
+
z.lazy(() => GetAgentTaskFileAgentsFileInURIFormat$outboundSchema),
|
|
2095
2095
|
]);
|
|
2096
2096
|
|
|
2097
2097
|
export function getAgentTaskPartsFileToJSON(
|
|
@@ -2120,8 +2120,8 @@ export const GetAgentTaskPartsFilePart$inboundSchema: z.ZodType<
|
|
|
2120
2120
|
kind:
|
|
2121
2121
|
GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyKind$inboundSchema,
|
|
2122
2122
|
file: z.union([
|
|
2123
|
-
z.lazy(() =>
|
|
2124
|
-
z.lazy(() =>
|
|
2123
|
+
z.lazy(() => GetAgentTaskFileAgentsBinaryFormat$inboundSchema),
|
|
2124
|
+
z.lazy(() => GetAgentTaskFileAgentsFileInURIFormat$inboundSchema),
|
|
2125
2125
|
]),
|
|
2126
2126
|
metadata: z.record(z.any()).optional(),
|
|
2127
2127
|
});
|
|
@@ -2129,8 +2129,8 @@ export const GetAgentTaskPartsFilePart$inboundSchema: z.ZodType<
|
|
|
2129
2129
|
export type GetAgentTaskPartsFilePart$Outbound = {
|
|
2130
2130
|
kind: string;
|
|
2131
2131
|
file:
|
|
2132
|
-
|
|
|
2133
|
-
|
|
|
2132
|
+
| GetAgentTaskFileAgentsBinaryFormat$Outbound
|
|
2133
|
+
| GetAgentTaskFileAgentsFileInURIFormat$Outbound;
|
|
2134
2134
|
metadata?: { [k: string]: any } | undefined;
|
|
2135
2135
|
};
|
|
2136
2136
|
|
|
@@ -2143,8 +2143,8 @@ export const GetAgentTaskPartsFilePart$outboundSchema: z.ZodType<
|
|
|
2143
2143
|
kind:
|
|
2144
2144
|
GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyKind$outboundSchema,
|
|
2145
2145
|
file: z.union([
|
|
2146
|
-
z.lazy(() =>
|
|
2147
|
-
z.lazy(() =>
|
|
2146
|
+
z.lazy(() => GetAgentTaskFileAgentsBinaryFormat$outboundSchema),
|
|
2147
|
+
z.lazy(() => GetAgentTaskFileAgentsFileInURIFormat$outboundSchema),
|
|
2148
2148
|
]),
|
|
2149
2149
|
metadata: z.record(z.any()).optional(),
|
|
2150
2150
|
});
|
|
@@ -905,7 +905,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
905
905
|
z.ZodTypeDef,
|
|
906
906
|
unknown
|
|
907
907
|
> = z.object({
|
|
908
|
-
_id: z.string().default("
|
|
908
|
+
_id: z.string().default("tool_01KAPPHKFVDHE3MW5HFQRT8XYB"),
|
|
909
909
|
path: z.string(),
|
|
910
910
|
key: z.string(),
|
|
911
911
|
display_name: z.string().optional(),
|
|
@@ -957,7 +957,7 @@ export const DataCodeExecutionTool$outboundSchema: z.ZodType<
|
|
|
957
957
|
z.ZodTypeDef,
|
|
958
958
|
DataCodeExecutionTool
|
|
959
959
|
> = z.object({
|
|
960
|
-
id: z.string().default("
|
|
960
|
+
id: z.string().default("tool_01KAPPHKFVDHE3MW5HFQRT8XYB"),
|
|
961
961
|
path: z.string(),
|
|
962
962
|
key: z.string(),
|
|
963
963
|
displayName: z.string().optional(),
|
|
@@ -1125,7 +1125,7 @@ export const DataTools$inboundSchema: z.ZodType<
|
|
|
1125
1125
|
z.ZodTypeDef,
|
|
1126
1126
|
unknown
|
|
1127
1127
|
> = z.object({
|
|
1128
|
-
id: z.string().default("
|
|
1128
|
+
id: z.string().default("01KAPPHKFT138ZPEF6VXT3MNVQ"),
|
|
1129
1129
|
name: z.string(),
|
|
1130
1130
|
description: z.string().optional(),
|
|
1131
1131
|
schema: z.lazy(() => GetAllToolsDataSchema$inboundSchema),
|
|
@@ -1144,7 +1144,7 @@ export const DataTools$outboundSchema: z.ZodType<
|
|
|
1144
1144
|
z.ZodTypeDef,
|
|
1145
1145
|
DataTools
|
|
1146
1146
|
> = z.object({
|
|
1147
|
-
id: z.string().default("
|
|
1147
|
+
id: z.string().default("01KAPPHKFT138ZPEF6VXT3MNVQ"),
|
|
1148
1148
|
name: z.string(),
|
|
1149
1149
|
description: z.string().optional(),
|
|
1150
1150
|
schema: z.lazy(() => GetAllToolsDataSchema$outboundSchema),
|
|
@@ -1229,7 +1229,7 @@ export const DataMCPTool$inboundSchema: z.ZodType<
|
|
|
1229
1229
|
z.ZodTypeDef,
|
|
1230
1230
|
unknown
|
|
1231
1231
|
> = z.object({
|
|
1232
|
-
_id: z.string().default("
|
|
1232
|
+
_id: z.string().default("tool_01KAPPHKFS35YT2CXTYM000DFV"),
|
|
1233
1233
|
path: z.string(),
|
|
1234
1234
|
key: z.string(),
|
|
1235
1235
|
display_name: z.string().optional(),
|
|
@@ -1280,7 +1280,7 @@ export const DataMCPTool$outboundSchema: z.ZodType<
|
|
|
1280
1280
|
z.ZodTypeDef,
|
|
1281
1281
|
DataMCPTool
|
|
1282
1282
|
> = z.object({
|
|
1283
|
-
id: z.string().default("
|
|
1283
|
+
id: z.string().default("tool_01KAPPHKFS35YT2CXTYM000DFV"),
|
|
1284
1284
|
path: z.string(),
|
|
1285
1285
|
key: z.string(),
|
|
1286
1286
|
displayName: z.string().optional(),
|
|
@@ -1623,7 +1623,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
|
|
|
1623
1623
|
z.ZodTypeDef,
|
|
1624
1624
|
unknown
|
|
1625
1625
|
> = z.object({
|
|
1626
|
-
_id: z.string().default("
|
|
1626
|
+
_id: z.string().default("tool_01KAPPHKFRWGBFFDGX08HFQ7G9"),
|
|
1627
1627
|
path: z.string(),
|
|
1628
1628
|
key: z.string(),
|
|
1629
1629
|
display_name: z.string().optional(),
|
|
@@ -1674,7 +1674,7 @@ export const DataHTTPTool$outboundSchema: z.ZodType<
|
|
|
1674
1674
|
z.ZodTypeDef,
|
|
1675
1675
|
DataHTTPTool
|
|
1676
1676
|
> = z.object({
|
|
1677
|
-
id: z.string().default("
|
|
1677
|
+
id: z.string().default("tool_01KAPPHKFRWGBFFDGX08HFQ7G9"),
|
|
1678
1678
|
path: z.string(),
|
|
1679
1679
|
key: z.string(),
|
|
1680
1680
|
displayName: z.string().optional(),
|
|
@@ -1836,7 +1836,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1836
1836
|
z.ZodTypeDef,
|
|
1837
1837
|
unknown
|
|
1838
1838
|
> = z.object({
|
|
1839
|
-
_id: z.string().default("
|
|
1839
|
+
_id: z.string().default("tool_01KAPPHKFP4MS7C2NCBM8T8PG4"),
|
|
1840
1840
|
path: z.string(),
|
|
1841
1841
|
key: z.string(),
|
|
1842
1842
|
display_name: z.string().optional(),
|
|
@@ -1888,7 +1888,7 @@ export const DataJSONSchemaTool$outboundSchema: z.ZodType<
|
|
|
1888
1888
|
z.ZodTypeDef,
|
|
1889
1889
|
DataJSONSchemaTool
|
|
1890
1890
|
> = z.object({
|
|
1891
|
-
id: z.string().default("
|
|
1891
|
+
id: z.string().default("tool_01KAPPHKFP4MS7C2NCBM8T8PG4"),
|
|
1892
1892
|
path: z.string(),
|
|
1893
1893
|
key: z.string(),
|
|
1894
1894
|
displayName: z.string().optional(),
|
|
@@ -2073,7 +2073,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
|
|
|
2073
2073
|
z.ZodTypeDef,
|
|
2074
2074
|
unknown
|
|
2075
2075
|
> = z.object({
|
|
2076
|
-
_id: z.string().default("
|
|
2076
|
+
_id: z.string().default("tool_01KAPPHKFDWTD9TCRT60R01BT7"),
|
|
2077
2077
|
path: z.string(),
|
|
2078
2078
|
key: z.string(),
|
|
2079
2079
|
display_name: z.string().optional(),
|
|
@@ -2124,7 +2124,7 @@ export const DataFunctionTool$outboundSchema: z.ZodType<
|
|
|
2124
2124
|
z.ZodTypeDef,
|
|
2125
2125
|
DataFunctionTool
|
|
2126
2126
|
> = z.object({
|
|
2127
|
-
id: z.string().default("
|
|
2127
|
+
id: z.string().default("tool_01KAPPHKFDWTD9TCRT60R01BT7"),
|
|
2128
2128
|
path: z.string(),
|
|
2129
2129
|
key: z.string(),
|
|
2130
2130
|
displayName: z.string().optional(),
|
|
@@ -291,7 +291,7 @@ export const GetBudgetResponseBody$inboundSchema: z.ZodType<
|
|
|
291
291
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
292
292
|
.optional(),
|
|
293
293
|
updated: z.string().datetime({ offset: true }).default(
|
|
294
|
-
"2025-11-
|
|
294
|
+
"2025-11-22T21:11:48.742Z",
|
|
295
295
|
).transform(v => new Date(v)),
|
|
296
296
|
}).transform((v) => {
|
|
297
297
|
return remap$(v, {
|
|
@@ -328,7 +328,7 @@ export const GetBudgetResponseBody$outboundSchema: z.ZodType<
|
|
|
328
328
|
isActive: z.boolean(),
|
|
329
329
|
consumption: z.lazy(() => GetBudgetConsumption$outboundSchema).optional(),
|
|
330
330
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
331
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
331
|
+
updated: z.date().default(() => new Date("2025-11-22T21:11:48.742Z"))
|
|
332
332
|
.transform(v => v.toISOString()),
|
|
333
333
|
}).transform((v) => {
|
|
334
334
|
return remap$(v, {
|