@orq-ai/node 4.11.0 → 4.11.3
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/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/evaluatorresponsefunction.js +2 -2
- package/models/components/evaluatorresponsehttp.js +2 -2
- package/models/components/evaluatorresponsejsonschema.js +2 -2
- package/models/components/evaluatorresponsellm.js +2 -2
- package/models/components/evaluatorresponsepython.js +2 -2
- package/models/components/evaluatorresponseragas.js +2 -2
- package/models/components/evaluatorresponsetypescript.js +2 -2
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +4 -4
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +3 -3
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievedatapoint.js +4 -4
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatedatapoint.js +4 -4
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +3 -3
- package/packages/orq-rc/src/funcs/notifiersCreate.ts +162 -0
- package/packages/orq-rc/src/funcs/notifiersDelete.ts +168 -0
- package/packages/orq-rc/src/funcs/notifiersGet.ts +168 -0
- package/packages/orq-rc/src/funcs/notifiersList.ts +171 -0
- package/packages/orq-rc/src/funcs/notifiersUpdate.ts +171 -0
- package/packages/orq-rc/src/funcs/tracesAggregate.ts +162 -0
- package/packages/orq-rc/src/funcs/tracesGet.ts +168 -0
- package/packages/orq-rc/src/funcs/tracesGetSpan.ts +172 -0
- package/packages/orq-rc/src/funcs/tracesListFacetValues.ts +177 -0
- package/packages/orq-rc/src/funcs/tracesListFacets.ts +144 -0
- package/packages/orq-rc/src/funcs/tracesListFields.ts +144 -0
- package/packages/orq-rc/src/funcs/tracesListSpans.ts +174 -0
- package/packages/orq-rc/src/funcs/tracesQuery.ts +162 -0
- package/packages/orq-rc/src/funcs/tracesSearch.ts +162 -0
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/models/components/actionreviewrequestedstreamingevent.ts +5 -0
- package/packages/orq-rc/src/models/components/agentstartedstreamingevent.ts +5 -0
- package/packages/orq-rc/src/models/components/aggregatetracesrequest.ts +65 -0
- package/packages/orq-rc/src/models/components/aggregatetracesresponse.ts +37 -0
- package/packages/orq-rc/src/models/components/createnotifierrequest.ts +433 -0
- package/packages/orq-rc/src/models/components/createnotifierresponse.ts +35 -0
- package/packages/orq-rc/src/models/components/deletenotifierresponse.ts +27 -0
- package/packages/orq-rc/src/models/components/evaluatorresponsefunction.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsehttp.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsejsonschema.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsellm.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsepython.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponseragas.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsetypescript.ts +2 -2
- package/packages/orq-rc/src/models/components/getnotifierresponse.ts +35 -0
- package/packages/orq-rc/src/models/components/gettraceresponse.ts +32 -0
- package/packages/orq-rc/src/models/components/gettracespanresponse.ts +32 -0
- package/packages/orq-rc/src/models/components/index.ts +36 -0
- package/packages/orq-rc/src/models/components/listnotifiersresponse.ts +50 -0
- package/packages/orq-rc/src/models/components/listtracefacetsresponse.ts +32 -0
- package/packages/orq-rc/src/models/components/listtracefacetvaluesresponse.ts +44 -0
- package/packages/orq-rc/src/models/components/listtracefieldsresponse.ts +32 -0
- package/packages/orq-rc/src/models/components/listtracespansresponse.ts +44 -0
- package/packages/orq-rc/src/models/components/notifier.ts +465 -0
- package/packages/orq-rc/src/models/components/notifiertype.ts +21 -0
- package/packages/orq-rc/src/models/components/querytracesrequest.ts +48 -0
- package/packages/orq-rc/src/models/components/querytracesresponse.ts +37 -0
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/components/searchtracesrequest.ts +68 -0
- package/packages/orq-rc/src/models/components/searchtracesresponse.ts +72 -0
- package/packages/orq-rc/src/models/components/spandetail.ts +53 -0
- package/packages/orq-rc/src/models/components/spansummary.ts +76 -0
- package/packages/orq-rc/src/models/components/traceagent.ts +33 -0
- package/packages/orq-rc/src/models/components/traceaggregaterow.ts +33 -0
- package/packages/orq-rc/src/models/components/tracecompute.ts +30 -0
- package/packages/orq-rc/src/models/components/tracecontext.ts +39 -0
- package/packages/orq-rc/src/models/components/tracecost.ts +77 -0
- package/packages/orq-rc/src/models/components/tracefacet.ts +35 -0
- package/packages/orq-rc/src/models/components/tracefacetvalue.ts +33 -0
- package/packages/orq-rc/src/models/components/tracefield.ts +56 -0
- package/packages/orq-rc/src/models/components/tracefilter.ts +33 -0
- package/packages/orq-rc/src/models/components/tracesearchmeta.ts +45 -0
- package/packages/orq-rc/src/models/components/tracesort.ts +30 -0
- package/packages/orq-rc/src/models/components/tracesummary.ts +152 -0
- package/packages/orq-rc/src/models/components/traceusage.ts +62 -0
- package/packages/orq-rc/src/models/components/updatenotifierrequest.ts +130 -0
- package/packages/orq-rc/src/models/components/updatenotifierresponse.ts +35 -0
- package/packages/orq-rc/src/models/operations/createagentrequest.ts +77 -0
- package/packages/orq-rc/src/models/operations/createdataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +4 -4
- package/packages/orq-rc/src/models/operations/createdatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/createprompt.ts +2 -0
- package/packages/orq-rc/src/models/operations/createtool.ts +6 -6
- package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +2 -0
- package/packages/orq-rc/src/models/operations/deployments.ts +2 -0
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +2 -0
- package/packages/orq-rc/src/models/operations/getallprompts.ts +2 -0
- package/packages/orq-rc/src/models/operations/getalltools.ts +6 -6
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +2 -0
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +2 -0
- package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/index.ts +8 -0
- package/packages/orq-rc/src/models/operations/listagents.ts +5 -0
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/packages/orq-rc/src/models/operations/listdatasets.ts +1 -1
- package/packages/orq-rc/src/models/operations/listdatasources.ts +1 -1
- package/packages/orq-rc/src/models/operations/listpromptversions.ts +2 -0
- package/packages/orq-rc/src/models/operations/notifierdelete.ts +36 -0
- package/packages/orq-rc/src/models/operations/notifierget.ts +36 -0
- package/packages/orq-rc/src/models/operations/notifierlist.ts +59 -0
- package/packages/orq-rc/src/models/operations/notifierupdate.ts +41 -0
- package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +5 -0
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +4 -4
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievetool.ts +6 -6
- package/packages/orq-rc/src/models/operations/runagent.ts +67 -1
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +67 -1
- package/packages/orq-rc/src/models/operations/tracesget.ts +36 -0
- package/packages/orq-rc/src/models/operations/tracesgetspan.ts +40 -0
- package/packages/orq-rc/src/models/operations/traceslistfacetvalues.ts +50 -0
- package/packages/orq-rc/src/models/operations/traceslistspans.ts +43 -0
- package/packages/orq-rc/src/models/operations/updateagent.ts +77 -0
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +4 -4
- package/packages/orq-rc/src/models/operations/updatedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/updateprompt.ts +2 -0
- package/packages/orq-rc/src/models/operations/updatetool.ts +7 -7
- package/packages/orq-rc/src/sdk/feedback.ts +2 -2
- package/packages/orq-rc/src/sdk/notifiers.ts +100 -0
- package/packages/orq-rc/src/sdk/sdk.ts +12 -0
- package/packages/orq-rc/src/sdk/traces.ts +168 -0
- package/sdk/feedback.d.ts +2 -2
- package/sdk/feedback.js +2 -2
- package/src/lib/config.ts +2 -2
- package/src/models/components/evaluatorresponsefunction.ts +2 -2
- package/src/models/components/evaluatorresponsehttp.ts +2 -2
- package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
- package/src/models/components/evaluatorresponsellm.ts +2 -2
- package/src/models/components/evaluatorresponsepython.ts +2 -2
- package/src/models/components/evaluatorresponseragas.ts +2 -2
- package/src/models/components/evaluatorresponsetypescript.ts +2 -2
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +4 -4
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +4 -4
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +4 -4
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/feedback.ts +2 -2
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
|
|
8
|
+
export type TracesListFacetValuesRequest = {
|
|
9
|
+
field: string;
|
|
10
|
+
from?: Date | undefined;
|
|
11
|
+
to?: Date | undefined;
|
|
12
|
+
limit?: number | undefined;
|
|
13
|
+
filterOperator?: string | undefined;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/** @internal */
|
|
17
|
+
export type TracesListFacetValuesRequest$Outbound = {
|
|
18
|
+
field: string;
|
|
19
|
+
from?: string | undefined;
|
|
20
|
+
to?: string | undefined;
|
|
21
|
+
limit?: number | undefined;
|
|
22
|
+
filter_operator?: string | undefined;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
/** @internal */
|
|
26
|
+
export const TracesListFacetValuesRequest$outboundSchema: z.ZodType<
|
|
27
|
+
TracesListFacetValuesRequest$Outbound,
|
|
28
|
+
z.ZodTypeDef,
|
|
29
|
+
TracesListFacetValuesRequest
|
|
30
|
+
> = z.object({
|
|
31
|
+
field: z.string(),
|
|
32
|
+
from: z.date().transform(v => v.toISOString()).optional(),
|
|
33
|
+
to: z.date().transform(v => v.toISOString()).optional(),
|
|
34
|
+
limit: z.number().int().optional(),
|
|
35
|
+
filterOperator: z.string().optional(),
|
|
36
|
+
}).transform((v) => {
|
|
37
|
+
return remap$(v, {
|
|
38
|
+
filterOperator: "filter_operator",
|
|
39
|
+
});
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
export function tracesListFacetValuesRequestToJSON(
|
|
43
|
+
tracesListFacetValuesRequest: TracesListFacetValuesRequest,
|
|
44
|
+
): string {
|
|
45
|
+
return JSON.stringify(
|
|
46
|
+
TracesListFacetValuesRequest$outboundSchema.parse(
|
|
47
|
+
tracesListFacetValuesRequest,
|
|
48
|
+
),
|
|
49
|
+
);
|
|
50
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
|
|
8
|
+
export type TracesListSpansRequest = {
|
|
9
|
+
traceId: string;
|
|
10
|
+
limit?: number | undefined;
|
|
11
|
+
pageToken?: string | undefined;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
/** @internal */
|
|
15
|
+
export type TracesListSpansRequest$Outbound = {
|
|
16
|
+
trace_id: string;
|
|
17
|
+
limit?: number | undefined;
|
|
18
|
+
page_token?: string | undefined;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
/** @internal */
|
|
22
|
+
export const TracesListSpansRequest$outboundSchema: z.ZodType<
|
|
23
|
+
TracesListSpansRequest$Outbound,
|
|
24
|
+
z.ZodTypeDef,
|
|
25
|
+
TracesListSpansRequest
|
|
26
|
+
> = z.object({
|
|
27
|
+
traceId: z.string(),
|
|
28
|
+
limit: z.number().int().optional(),
|
|
29
|
+
pageToken: z.string().optional(),
|
|
30
|
+
}).transform((v) => {
|
|
31
|
+
return remap$(v, {
|
|
32
|
+
traceId: "trace_id",
|
|
33
|
+
pageToken: "page_token",
|
|
34
|
+
});
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
export function tracesListSpansRequestToJSON(
|
|
38
|
+
tracesListSpansRequest: TracesListSpansRequest,
|
|
39
|
+
): string {
|
|
40
|
+
return JSON.stringify(
|
|
41
|
+
TracesListSpansRequest$outboundSchema.parse(tracesListSpansRequest),
|
|
42
|
+
);
|
|
43
|
+
}
|
|
@@ -1022,6 +1022,10 @@ export type AgentToolInputCRUDProviderBuiltInTool = {
|
|
|
1022
1022
|
* Whether this tool requires approval before execution
|
|
1023
1023
|
*/
|
|
1024
1024
|
requiresApproval?: boolean | undefined;
|
|
1025
|
+
/**
|
|
1026
|
+
* Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
|
|
1027
|
+
*/
|
|
1028
|
+
configuration?: { [k: string]: any } | undefined;
|
|
1025
1029
|
};
|
|
1026
1030
|
|
|
1027
1031
|
/**
|
|
@@ -1242,6 +1246,10 @@ export type AgentToolInputCRUDCurrentDateTool = {
|
|
|
1242
1246
|
* Whether this tool requires approval before execution
|
|
1243
1247
|
*/
|
|
1244
1248
|
requiresApproval?: boolean | undefined;
|
|
1249
|
+
/**
|
|
1250
|
+
* Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
|
|
1251
|
+
*/
|
|
1252
|
+
configuration?: { [k: string]: any } | undefined;
|
|
1245
1253
|
};
|
|
1246
1254
|
|
|
1247
1255
|
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type =
|
|
@@ -1263,6 +1271,10 @@ export type AgentToolInputCRUDQueryKnowledgeBaseTool = {
|
|
|
1263
1271
|
* Whether this tool requires approval before execution
|
|
1264
1272
|
*/
|
|
1265
1273
|
requiresApproval?: boolean | undefined;
|
|
1274
|
+
/**
|
|
1275
|
+
* Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
|
|
1276
|
+
*/
|
|
1277
|
+
configuration?: { [k: string]: any } | undefined;
|
|
1266
1278
|
};
|
|
1267
1279
|
|
|
1268
1280
|
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type =
|
|
@@ -1283,6 +1295,10 @@ export type AgentToolInputCRUDRetrieveKnowledgeBasesTool = {
|
|
|
1283
1295
|
* Whether this tool requires approval before execution
|
|
1284
1296
|
*/
|
|
1285
1297
|
requiresApproval?: boolean | undefined;
|
|
1298
|
+
/**
|
|
1299
|
+
* Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
|
|
1300
|
+
*/
|
|
1301
|
+
configuration?: { [k: string]: any } | undefined;
|
|
1286
1302
|
};
|
|
1287
1303
|
|
|
1288
1304
|
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type =
|
|
@@ -1303,6 +1319,10 @@ export type AgentToolInputCRUDDeleteMemoryDocumentTool = {
|
|
|
1303
1319
|
* Whether this tool requires approval before execution
|
|
1304
1320
|
*/
|
|
1305
1321
|
requiresApproval?: boolean | undefined;
|
|
1322
|
+
/**
|
|
1323
|
+
* Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
|
|
1324
|
+
*/
|
|
1325
|
+
configuration?: { [k: string]: any } | undefined;
|
|
1306
1326
|
};
|
|
1307
1327
|
|
|
1308
1328
|
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type =
|
|
@@ -1323,6 +1343,10 @@ export type AgentToolInputCRUDRetrieveMemoryStoresTool = {
|
|
|
1323
1343
|
* Whether this tool requires approval before execution
|
|
1324
1344
|
*/
|
|
1325
1345
|
requiresApproval?: boolean | undefined;
|
|
1346
|
+
/**
|
|
1347
|
+
* Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
|
|
1348
|
+
*/
|
|
1349
|
+
configuration?: { [k: string]: any } | undefined;
|
|
1326
1350
|
};
|
|
1327
1351
|
|
|
1328
1352
|
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType =
|
|
@@ -1343,6 +1367,10 @@ export type AgentToolInputCRUDWriteMemoryStoreTool = {
|
|
|
1343
1367
|
* Whether this tool requires approval before execution
|
|
1344
1368
|
*/
|
|
1345
1369
|
requiresApproval?: boolean | undefined;
|
|
1370
|
+
/**
|
|
1371
|
+
* Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
|
|
1372
|
+
*/
|
|
1373
|
+
configuration?: { [k: string]: any } | undefined;
|
|
1346
1374
|
};
|
|
1347
1375
|
|
|
1348
1376
|
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType =
|
|
@@ -1363,6 +1391,10 @@ export type AgentToolInputCRUDQueryMemoryStoreTool = {
|
|
|
1363
1391
|
* Whether this tool requires approval before execution
|
|
1364
1392
|
*/
|
|
1365
1393
|
requiresApproval?: boolean | undefined;
|
|
1394
|
+
/**
|
|
1395
|
+
* Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
|
|
1396
|
+
*/
|
|
1397
|
+
configuration?: { [k: string]: any } | undefined;
|
|
1366
1398
|
};
|
|
1367
1399
|
|
|
1368
1400
|
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType = {
|
|
@@ -1380,6 +1412,10 @@ export type AgentToolInputCRUDRetrieveAgentsTool = {
|
|
|
1380
1412
|
* Whether this tool requires approval before execution
|
|
1381
1413
|
*/
|
|
1382
1414
|
requiresApproval?: boolean | undefined;
|
|
1415
|
+
/**
|
|
1416
|
+
* Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
|
|
1417
|
+
*/
|
|
1418
|
+
configuration?: { [k: string]: any } | undefined;
|
|
1383
1419
|
};
|
|
1384
1420
|
|
|
1385
1421
|
export const UpdateAgentAgentToolInputCRUDAgentsRequestType = {
|
|
@@ -1398,6 +1434,10 @@ export type AgentToolInputCRUDCallSubAgentTool = {
|
|
|
1398
1434
|
* Whether this tool requires approval before execution
|
|
1399
1435
|
*/
|
|
1400
1436
|
requiresApproval?: boolean | undefined;
|
|
1437
|
+
/**
|
|
1438
|
+
* Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
|
|
1439
|
+
*/
|
|
1440
|
+
configuration?: { [k: string]: any } | undefined;
|
|
1401
1441
|
};
|
|
1402
1442
|
|
|
1403
1443
|
export const UpdateAgentAgentToolInputCRUDAgentsType = {
|
|
@@ -1416,6 +1456,10 @@ export type AgentToolInputCRUDWebScraperTool = {
|
|
|
1416
1456
|
* Whether this tool requires approval before execution
|
|
1417
1457
|
*/
|
|
1418
1458
|
requiresApproval?: boolean | undefined;
|
|
1459
|
+
/**
|
|
1460
|
+
* Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
|
|
1461
|
+
*/
|
|
1462
|
+
configuration?: { [k: string]: any } | undefined;
|
|
1419
1463
|
};
|
|
1420
1464
|
|
|
1421
1465
|
export const UpdateAgentAgentToolInputCRUDType = {
|
|
@@ -1434,6 +1478,10 @@ export type AgentToolInputCRUDGoogleSearchTool = {
|
|
|
1434
1478
|
* Whether this tool requires approval before execution
|
|
1435
1479
|
*/
|
|
1436
1480
|
requiresApproval?: boolean | undefined;
|
|
1481
|
+
/**
|
|
1482
|
+
* Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
|
|
1483
|
+
*/
|
|
1484
|
+
configuration?: { [k: string]: any } | undefined;
|
|
1437
1485
|
};
|
|
1438
1486
|
|
|
1439
1487
|
/**
|
|
@@ -1770,6 +1818,10 @@ export type UpdateAgentTools = {
|
|
|
1770
1818
|
* Optional tool description
|
|
1771
1819
|
*/
|
|
1772
1820
|
description?: string | undefined;
|
|
1821
|
+
/**
|
|
1822
|
+
* Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
|
|
1823
|
+
*/
|
|
1824
|
+
configuration?: { [k: string]: any } | undefined;
|
|
1773
1825
|
requiresApproval: boolean;
|
|
1774
1826
|
/**
|
|
1775
1827
|
* Nested tool ID for MCP tools (identifies specific tool within MCP server)
|
|
@@ -4551,6 +4603,7 @@ export const UpdateAgentToolApprovalRequired$outboundSchema: z.ZodNativeEnum<
|
|
|
4551
4603
|
export type AgentToolInputCRUDProviderBuiltInTool$Outbound = {
|
|
4552
4604
|
type: string;
|
|
4553
4605
|
requires_approval?: boolean | undefined;
|
|
4606
|
+
configuration?: { [k: string]: any } | undefined;
|
|
4554
4607
|
};
|
|
4555
4608
|
|
|
4556
4609
|
/** @internal */
|
|
@@ -4561,6 +4614,7 @@ export const AgentToolInputCRUDProviderBuiltInTool$outboundSchema: z.ZodType<
|
|
|
4561
4614
|
> = z.object({
|
|
4562
4615
|
type: z.string(),
|
|
4563
4616
|
requiresApproval: z.boolean().optional(),
|
|
4617
|
+
configuration: z.record(z.any()).optional(),
|
|
4564
4618
|
}).transform((v) => {
|
|
4565
4619
|
return remap$(v, {
|
|
4566
4620
|
requiresApproval: "requires_approval",
|
|
@@ -4808,6 +4862,7 @@ export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools1
|
|
|
4808
4862
|
export type AgentToolInputCRUDCurrentDateTool$Outbound = {
|
|
4809
4863
|
type: string;
|
|
4810
4864
|
requires_approval?: boolean | undefined;
|
|
4865
|
+
configuration?: { [k: string]: any } | undefined;
|
|
4811
4866
|
};
|
|
4812
4867
|
|
|
4813
4868
|
/** @internal */
|
|
@@ -4819,6 +4874,7 @@ export const AgentToolInputCRUDCurrentDateTool$outboundSchema: z.ZodType<
|
|
|
4819
4874
|
type:
|
|
4820
4875
|
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$outboundSchema,
|
|
4821
4876
|
requiresApproval: z.boolean().optional(),
|
|
4877
|
+
configuration: z.record(z.any()).optional(),
|
|
4822
4878
|
}).transform((v) => {
|
|
4823
4879
|
return remap$(v, {
|
|
4824
4880
|
requiresApproval: "requires_approval",
|
|
@@ -4847,6 +4903,7 @@ export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools1
|
|
|
4847
4903
|
export type AgentToolInputCRUDQueryKnowledgeBaseTool$Outbound = {
|
|
4848
4904
|
type: string;
|
|
4849
4905
|
requires_approval?: boolean | undefined;
|
|
4906
|
+
configuration?: { [k: string]: any } | undefined;
|
|
4850
4907
|
};
|
|
4851
4908
|
|
|
4852
4909
|
/** @internal */
|
|
@@ -4858,6 +4915,7 @@ export const AgentToolInputCRUDQueryKnowledgeBaseTool$outboundSchema: z.ZodType<
|
|
|
4858
4915
|
type:
|
|
4859
4916
|
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$outboundSchema,
|
|
4860
4917
|
requiresApproval: z.boolean().optional(),
|
|
4918
|
+
configuration: z.record(z.any()).optional(),
|
|
4861
4919
|
}).transform((v) => {
|
|
4862
4920
|
return remap$(v, {
|
|
4863
4921
|
requiresApproval: "requires_approval",
|
|
@@ -4887,6 +4945,7 @@ export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9
|
|
|
4887
4945
|
export type AgentToolInputCRUDRetrieveKnowledgeBasesTool$Outbound = {
|
|
4888
4946
|
type: string;
|
|
4889
4947
|
requires_approval?: boolean | undefined;
|
|
4948
|
+
configuration?: { [k: string]: any } | undefined;
|
|
4890
4949
|
};
|
|
4891
4950
|
|
|
4892
4951
|
/** @internal */
|
|
@@ -4899,6 +4958,7 @@ export const AgentToolInputCRUDRetrieveKnowledgeBasesTool$outboundSchema:
|
|
|
4899
4958
|
type:
|
|
4900
4959
|
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$outboundSchema,
|
|
4901
4960
|
requiresApproval: z.boolean().optional(),
|
|
4961
|
+
configuration: z.record(z.any()).optional(),
|
|
4902
4962
|
}).transform((v) => {
|
|
4903
4963
|
return remap$(v, {
|
|
4904
4964
|
requiresApproval: "requires_approval",
|
|
@@ -4928,6 +4988,7 @@ export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8
|
|
|
4928
4988
|
export type AgentToolInputCRUDDeleteMemoryDocumentTool$Outbound = {
|
|
4929
4989
|
type: string;
|
|
4930
4990
|
requires_approval?: boolean | undefined;
|
|
4991
|
+
configuration?: { [k: string]: any } | undefined;
|
|
4931
4992
|
};
|
|
4932
4993
|
|
|
4933
4994
|
/** @internal */
|
|
@@ -4940,6 +5001,7 @@ export const AgentToolInputCRUDDeleteMemoryDocumentTool$outboundSchema:
|
|
|
4940
5001
|
type:
|
|
4941
5002
|
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$outboundSchema,
|
|
4942
5003
|
requiresApproval: z.boolean().optional(),
|
|
5004
|
+
configuration: z.record(z.any()).optional(),
|
|
4943
5005
|
}).transform((v) => {
|
|
4944
5006
|
return remap$(v, {
|
|
4945
5007
|
requiresApproval: "requires_approval",
|
|
@@ -4969,6 +5031,7 @@ export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7
|
|
|
4969
5031
|
export type AgentToolInputCRUDRetrieveMemoryStoresTool$Outbound = {
|
|
4970
5032
|
type: string;
|
|
4971
5033
|
requires_approval?: boolean | undefined;
|
|
5034
|
+
configuration?: { [k: string]: any } | undefined;
|
|
4972
5035
|
};
|
|
4973
5036
|
|
|
4974
5037
|
/** @internal */
|
|
@@ -4981,6 +5044,7 @@ export const AgentToolInputCRUDRetrieveMemoryStoresTool$outboundSchema:
|
|
|
4981
5044
|
type:
|
|
4982
5045
|
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type$outboundSchema,
|
|
4983
5046
|
requiresApproval: z.boolean().optional(),
|
|
5047
|
+
configuration: z.record(z.any()).optional(),
|
|
4984
5048
|
}).transform((v) => {
|
|
4985
5049
|
return remap$(v, {
|
|
4986
5050
|
requiresApproval: "requires_approval",
|
|
@@ -5010,6 +5074,7 @@ export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsT
|
|
|
5010
5074
|
export type AgentToolInputCRUDWriteMemoryStoreTool$Outbound = {
|
|
5011
5075
|
type: string;
|
|
5012
5076
|
requires_approval?: boolean | undefined;
|
|
5077
|
+
configuration?: { [k: string]: any } | undefined;
|
|
5013
5078
|
};
|
|
5014
5079
|
|
|
5015
5080
|
/** @internal */
|
|
@@ -5021,6 +5086,7 @@ export const AgentToolInputCRUDWriteMemoryStoreTool$outboundSchema: z.ZodType<
|
|
|
5021
5086
|
type:
|
|
5022
5087
|
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$outboundSchema,
|
|
5023
5088
|
requiresApproval: z.boolean().optional(),
|
|
5089
|
+
configuration: z.record(z.any()).optional(),
|
|
5024
5090
|
}).transform((v) => {
|
|
5025
5091
|
return remap$(v, {
|
|
5026
5092
|
requiresApproval: "requires_approval",
|
|
@@ -5050,6 +5116,7 @@ export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$o
|
|
|
5050
5116
|
export type AgentToolInputCRUDQueryMemoryStoreTool$Outbound = {
|
|
5051
5117
|
type: string;
|
|
5052
5118
|
requires_approval?: boolean | undefined;
|
|
5119
|
+
configuration?: { [k: string]: any } | undefined;
|
|
5053
5120
|
};
|
|
5054
5121
|
|
|
5055
5122
|
/** @internal */
|
|
@@ -5061,6 +5128,7 @@ export const AgentToolInputCRUDQueryMemoryStoreTool$outboundSchema: z.ZodType<
|
|
|
5061
5128
|
type:
|
|
5062
5129
|
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$outboundSchema,
|
|
5063
5130
|
requiresApproval: z.boolean().optional(),
|
|
5131
|
+
configuration: z.record(z.any()).optional(),
|
|
5064
5132
|
}).transform((v) => {
|
|
5065
5133
|
return remap$(v, {
|
|
5066
5134
|
requiresApproval: "requires_approval",
|
|
@@ -5088,6 +5156,7 @@ export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$outboundS
|
|
|
5088
5156
|
export type AgentToolInputCRUDRetrieveAgentsTool$Outbound = {
|
|
5089
5157
|
type: string;
|
|
5090
5158
|
requires_approval?: boolean | undefined;
|
|
5159
|
+
configuration?: { [k: string]: any } | undefined;
|
|
5091
5160
|
};
|
|
5092
5161
|
|
|
5093
5162
|
/** @internal */
|
|
@@ -5099,6 +5168,7 @@ export const AgentToolInputCRUDRetrieveAgentsTool$outboundSchema: z.ZodType<
|
|
|
5099
5168
|
type:
|
|
5100
5169
|
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$outboundSchema,
|
|
5101
5170
|
requiresApproval: z.boolean().optional(),
|
|
5171
|
+
configuration: z.record(z.any()).optional(),
|
|
5102
5172
|
}).transform((v) => {
|
|
5103
5173
|
return remap$(v, {
|
|
5104
5174
|
requiresApproval: "requires_approval",
|
|
@@ -5124,6 +5194,7 @@ export const UpdateAgentAgentToolInputCRUDAgentsRequestType$outboundSchema:
|
|
|
5124
5194
|
export type AgentToolInputCRUDCallSubAgentTool$Outbound = {
|
|
5125
5195
|
type: string;
|
|
5126
5196
|
requires_approval?: boolean | undefined;
|
|
5197
|
+
configuration?: { [k: string]: any } | undefined;
|
|
5127
5198
|
};
|
|
5128
5199
|
|
|
5129
5200
|
/** @internal */
|
|
@@ -5134,6 +5205,7 @@ export const AgentToolInputCRUDCallSubAgentTool$outboundSchema: z.ZodType<
|
|
|
5134
5205
|
> = z.object({
|
|
5135
5206
|
type: UpdateAgentAgentToolInputCRUDAgentsRequestType$outboundSchema,
|
|
5136
5207
|
requiresApproval: z.boolean().optional(),
|
|
5208
|
+
configuration: z.record(z.any()).optional(),
|
|
5137
5209
|
}).transform((v) => {
|
|
5138
5210
|
return remap$(v, {
|
|
5139
5211
|
requiresApproval: "requires_approval",
|
|
@@ -5159,6 +5231,7 @@ export const UpdateAgentAgentToolInputCRUDAgentsType$outboundSchema:
|
|
|
5159
5231
|
export type AgentToolInputCRUDWebScraperTool$Outbound = {
|
|
5160
5232
|
type: string;
|
|
5161
5233
|
requires_approval?: boolean | undefined;
|
|
5234
|
+
configuration?: { [k: string]: any } | undefined;
|
|
5162
5235
|
};
|
|
5163
5236
|
|
|
5164
5237
|
/** @internal */
|
|
@@ -5169,6 +5242,7 @@ export const AgentToolInputCRUDWebScraperTool$outboundSchema: z.ZodType<
|
|
|
5169
5242
|
> = z.object({
|
|
5170
5243
|
type: UpdateAgentAgentToolInputCRUDAgentsType$outboundSchema,
|
|
5171
5244
|
requiresApproval: z.boolean().optional(),
|
|
5245
|
+
configuration: z.record(z.any()).optional(),
|
|
5172
5246
|
}).transform((v) => {
|
|
5173
5247
|
return remap$(v, {
|
|
5174
5248
|
requiresApproval: "requires_approval",
|
|
@@ -5194,6 +5268,7 @@ export const UpdateAgentAgentToolInputCRUDType$outboundSchema: z.ZodNativeEnum<
|
|
|
5194
5268
|
export type AgentToolInputCRUDGoogleSearchTool$Outbound = {
|
|
5195
5269
|
type: string;
|
|
5196
5270
|
requires_approval?: boolean | undefined;
|
|
5271
|
+
configuration?: { [k: string]: any } | undefined;
|
|
5197
5272
|
};
|
|
5198
5273
|
|
|
5199
5274
|
/** @internal */
|
|
@@ -5204,6 +5279,7 @@ export const AgentToolInputCRUDGoogleSearchTool$outboundSchema: z.ZodType<
|
|
|
5204
5279
|
> = z.object({
|
|
5205
5280
|
type: UpdateAgentAgentToolInputCRUDType$outboundSchema,
|
|
5206
5281
|
requiresApproval: z.boolean().optional(),
|
|
5282
|
+
configuration: z.record(z.any()).optional(),
|
|
5207
5283
|
}).transform((v) => {
|
|
5208
5284
|
return remap$(v, {
|
|
5209
5285
|
requiresApproval: "requires_approval",
|
|
@@ -5725,6 +5801,7 @@ export const UpdateAgentTools$inboundSchema: z.ZodType<
|
|
|
5725
5801
|
action_type: z.string(),
|
|
5726
5802
|
display_name: z.string().optional(),
|
|
5727
5803
|
description: z.string().optional(),
|
|
5804
|
+
configuration: z.record(z.any()).optional(),
|
|
5728
5805
|
requires_approval: z.boolean().default(false),
|
|
5729
5806
|
tool_id: z.string().optional(),
|
|
5730
5807
|
conditions: z.array(z.lazy(() => UpdateAgentConditions$inboundSchema))
|
|
@@ -2629,7 +2629,7 @@ export const UpdateDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
2629
2629
|
explanation: z.string().optional(),
|
|
2630
2630
|
reviewed_by_id: z.string(),
|
|
2631
2631
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2632
|
-
"2026-07-
|
|
2632
|
+
"2026-07-06T07:44:15.855Z",
|
|
2633
2633
|
).transform(v => new Date(v)),
|
|
2634
2634
|
type: z.literal("string_array"),
|
|
2635
2635
|
values: z.array(z.string()),
|
|
@@ -2726,7 +2726,7 @@ export const UpdateDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
2726
2726
|
explanation: z.string().optional(),
|
|
2727
2727
|
reviewed_by_id: z.string(),
|
|
2728
2728
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2729
|
-
"2026-07-
|
|
2729
|
+
"2026-07-06T07:44:15.854Z",
|
|
2730
2730
|
).transform(v => new Date(v)),
|
|
2731
2731
|
type: z.literal("number"),
|
|
2732
2732
|
value: z.number(),
|
|
@@ -2815,7 +2815,7 @@ export const UpdateDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
2815
2815
|
explanation: z.string().optional(),
|
|
2816
2816
|
reviewed_by_id: z.string(),
|
|
2817
2817
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2818
|
-
"2026-07-
|
|
2818
|
+
"2026-07-06T07:44:15.853Z",
|
|
2819
2819
|
).transform(v => new Date(v)),
|
|
2820
2820
|
type: z.literal("string"),
|
|
2821
2821
|
value: z.string(),
|
|
@@ -2898,7 +2898,7 @@ export const UpdateDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
2898
2898
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2899
2899
|
.optional(),
|
|
2900
2900
|
updated: z.string().datetime({ offset: true }).default(
|
|
2901
|
-
"2026-07-
|
|
2901
|
+
"2026-07-06T07:43:53.778Z",
|
|
2902
2902
|
).transform(v => new Date(v)),
|
|
2903
2903
|
}).transform((v) => {
|
|
2904
2904
|
return remap$(v, {
|
|
@@ -182,7 +182,7 @@ export const UpdateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
182
182
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
183
183
|
.optional(),
|
|
184
184
|
updated: z.string().datetime({ offset: true }).default(
|
|
185
|
-
"2026-07-
|
|
185
|
+
"2026-07-06T07:43:53.778Z",
|
|
186
186
|
).transform(v => new Date(v)),
|
|
187
187
|
}).transform((v) => {
|
|
188
188
|
return remap$(v, {
|
|
@@ -152,7 +152,7 @@ export const UpdateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
152
152
|
z.ZodTypeDef,
|
|
153
153
|
unknown
|
|
154
154
|
> = z.object({
|
|
155
|
-
_id: z.string().default("
|
|
155
|
+
_id: z.string().default("01KWV652W0JAPVR32R18JG5YT1"),
|
|
156
156
|
display_name: z.string(),
|
|
157
157
|
description: z.nullable(z.string()).optional(),
|
|
158
158
|
status: UpdateDatasourceStatus$inboundSchema,
|
|
@@ -1472,7 +1472,7 @@ export const RequestBodyTools$outboundSchema: z.ZodType<
|
|
|
1472
1472
|
z.ZodTypeDef,
|
|
1473
1473
|
RequestBodyTools
|
|
1474
1474
|
> = z.object({
|
|
1475
|
-
id: z.string().default("
|
|
1475
|
+
id: z.string().default("01KWV652Q7HRYEYEMW5P7YPC8S"),
|
|
1476
1476
|
name: z.string(),
|
|
1477
1477
|
description: z.string().optional(),
|
|
1478
1478
|
schema: z.lazy(() => UpdateToolRequestBodyToolsSchema$outboundSchema),
|
|
@@ -2193,7 +2193,7 @@ export const UpdateToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
2193
2193
|
z.ZodTypeDef,
|
|
2194
2194
|
unknown
|
|
2195
2195
|
> = z.object({
|
|
2196
|
-
_id: z.string().default("
|
|
2196
|
+
_id: z.string().default("tool_01KWV652PYCJZH9XFJVFM2FZFD"),
|
|
2197
2197
|
path: z.string(),
|
|
2198
2198
|
key: z.string(),
|
|
2199
2199
|
display_name: z.string().optional(),
|
|
@@ -2296,7 +2296,7 @@ export const UpdateToolResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
2296
2296
|
z.ZodTypeDef,
|
|
2297
2297
|
unknown
|
|
2298
2298
|
> = z.object({
|
|
2299
|
-
id: z.string().default("
|
|
2299
|
+
id: z.string().default("01KWV652PWD4V1MNSB0TR18Z18"),
|
|
2300
2300
|
name: z.string(),
|
|
2301
2301
|
description: z.string().optional(),
|
|
2302
2302
|
schema: z.lazy(() => UpdateToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -2354,7 +2354,7 @@ export const UpdateToolResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
2354
2354
|
z.ZodTypeDef,
|
|
2355
2355
|
unknown
|
|
2356
2356
|
> = z.object({
|
|
2357
|
-
_id: z.string().default("
|
|
2357
|
+
_id: z.string().default("tool_01KWV652PSEJE11PXQP2AWJPCZ"),
|
|
2358
2358
|
path: z.string(),
|
|
2359
2359
|
key: z.string(),
|
|
2360
2360
|
display_name: z.string().optional(),
|
|
@@ -2543,7 +2543,7 @@ export const UpdateToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
2543
2543
|
z.ZodTypeDef,
|
|
2544
2544
|
unknown
|
|
2545
2545
|
> = z.object({
|
|
2546
|
-
_id: z.string().default("
|
|
2546
|
+
_id: z.string().default("tool_01KWV652PN20NMJXXNWAMKYGWP"),
|
|
2547
2547
|
path: z.string(),
|
|
2548
2548
|
key: z.string(),
|
|
2549
2549
|
display_name: z.string().optional(),
|
|
@@ -2638,7 +2638,7 @@ export const UpdateToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2638
2638
|
z.ZodTypeDef,
|
|
2639
2639
|
unknown
|
|
2640
2640
|
> = z.object({
|
|
2641
|
-
_id: z.string().default("
|
|
2641
|
+
_id: z.string().default("tool_01KWV652PK41MSWQ441PWE3HV1"),
|
|
2642
2642
|
path: z.string(),
|
|
2643
2643
|
key: z.string(),
|
|
2644
2644
|
display_name: z.string().optional(),
|
|
@@ -2741,7 +2741,7 @@ export const UpdateToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2741
2741
|
z.ZodTypeDef,
|
|
2742
2742
|
unknown
|
|
2743
2743
|
> = z.object({
|
|
2744
|
-
_id: z.string().default("
|
|
2744
|
+
_id: z.string().default("tool_01KWV652PHSE0171E096FE6Y7H"),
|
|
2745
2745
|
path: z.string(),
|
|
2746
2746
|
key: z.string(),
|
|
2747
2747
|
display_name: z.string().optional(),
|
|
@@ -45,10 +45,10 @@ export class Feedback extends ClientSDK {
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
* Create
|
|
48
|
+
* Create image edit
|
|
49
49
|
*
|
|
50
50
|
* @remarks
|
|
51
|
-
*
|
|
51
|
+
* Edit an Image
|
|
52
52
|
*/
|
|
53
53
|
async create(
|
|
54
54
|
request?: operations.PostV2FeedbackRequestBody | undefined,
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { notifiersCreate } from "../funcs/notifiersCreate.js";
|
|
6
|
+
import { notifiersDelete } from "../funcs/notifiersDelete.js";
|
|
7
|
+
import { notifiersGet } from "../funcs/notifiersGet.js";
|
|
8
|
+
import { notifiersList } from "../funcs/notifiersList.js";
|
|
9
|
+
import { notifiersUpdate } from "../funcs/notifiersUpdate.js";
|
|
10
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
11
|
+
import * as components from "../models/components/index.js";
|
|
12
|
+
import * as operations from "../models/operations/index.js";
|
|
13
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
14
|
+
|
|
15
|
+
export class Notifiers extends ClientSDK {
|
|
16
|
+
/**
|
|
17
|
+
* List notifiers
|
|
18
|
+
*
|
|
19
|
+
* @remarks
|
|
20
|
+
* Returns notifier destinations visible to the caller, ordered by creation time with the newest notifier first.
|
|
21
|
+
*/
|
|
22
|
+
async list(
|
|
23
|
+
request?: operations.NotifierListRequest | undefined,
|
|
24
|
+
options?: RequestOptions,
|
|
25
|
+
): Promise<components.ListNotifiersResponse> {
|
|
26
|
+
return unwrapAsync(notifiersList(
|
|
27
|
+
this,
|
|
28
|
+
request,
|
|
29
|
+
options,
|
|
30
|
+
));
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Create a notifier
|
|
35
|
+
*
|
|
36
|
+
* @remarks
|
|
37
|
+
* Creates a notifier destination in a project. Choose `NOTIFIER_TYPE_EMAIL`, `NOTIFIER_TYPE_SLACK_WEBHOOK`, or `NOTIFIER_TYPE_WEBHOOK` and provide the matching destination fields.
|
|
38
|
+
*/
|
|
39
|
+
async create(
|
|
40
|
+
request: components.CreateNotifierRequest,
|
|
41
|
+
options?: RequestOptions,
|
|
42
|
+
): Promise<components.CreateNotifierResponse> {
|
|
43
|
+
return unwrapAsync(notifiersCreate(
|
|
44
|
+
this,
|
|
45
|
+
request,
|
|
46
|
+
options,
|
|
47
|
+
));
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Retrieve a notifier
|
|
52
|
+
*
|
|
53
|
+
* @remarks
|
|
54
|
+
* Retrieves an existing notifier by ID.
|
|
55
|
+
*/
|
|
56
|
+
async get(
|
|
57
|
+
request: operations.NotifierGetRequest,
|
|
58
|
+
options?: RequestOptions,
|
|
59
|
+
): Promise<components.GetNotifierResponse> {
|
|
60
|
+
return unwrapAsync(notifiersGet(
|
|
61
|
+
this,
|
|
62
|
+
request,
|
|
63
|
+
options,
|
|
64
|
+
));
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Delete a notifier
|
|
69
|
+
*
|
|
70
|
+
* @remarks
|
|
71
|
+
* Deletes an existing notifier by ID.
|
|
72
|
+
*/
|
|
73
|
+
async delete(
|
|
74
|
+
request: operations.NotifierDeleteRequest,
|
|
75
|
+
options?: RequestOptions,
|
|
76
|
+
): Promise<components.DeleteNotifierResponse> {
|
|
77
|
+
return unwrapAsync(notifiersDelete(
|
|
78
|
+
this,
|
|
79
|
+
request,
|
|
80
|
+
options,
|
|
81
|
+
));
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Update a notifier
|
|
86
|
+
*
|
|
87
|
+
* @remarks
|
|
88
|
+
* Partially updates an existing notifier. When changing `type`, provide the destination fields required by the new notifier type.
|
|
89
|
+
*/
|
|
90
|
+
async update(
|
|
91
|
+
request: operations.NotifierUpdateRequest,
|
|
92
|
+
options?: RequestOptions,
|
|
93
|
+
): Promise<components.UpdateNotifierResponse> {
|
|
94
|
+
return unwrapAsync(notifiersUpdate(
|
|
95
|
+
this,
|
|
96
|
+
request,
|
|
97
|
+
options,
|
|
98
|
+
));
|
|
99
|
+
}
|
|
100
|
+
}
|