@orq-ai/node 4.16.11 → 4.16.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/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createtool.js +4 -4
- package/models/operations/getalltools.js +4 -4
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listdeploymentversions.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +4 -4
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievetool.js +4 -4
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatetool.js +4 -4
- package/package.json +8 -8
- package/packages/orq-rc/src/funcs/auditLogDestinationsCreate.ts +172 -0
- package/packages/orq-rc/src/funcs/auditLogDestinationsDelete.ts +180 -0
- package/packages/orq-rc/src/funcs/auditLogDestinationsGet.ts +180 -0
- package/packages/orq-rc/src/funcs/auditLogDestinationsList.ts +181 -0
- package/packages/orq-rc/src/funcs/auditLogDestinationsListDeliveries.ts +190 -0
- package/packages/orq-rc/src/funcs/auditLogDestinationsReplay.ts +183 -0
- package/packages/orq-rc/src/funcs/auditLogDestinationsRotateSecret.ts +185 -0
- package/packages/orq-rc/src/funcs/auditLogDestinationsTest.ts +180 -0
- package/packages/orq-rc/src/funcs/auditLogDestinationsUpdate.ts +183 -0
- package/packages/orq-rc/src/funcs/websearchSearch.ts +3 -3
- package/packages/orq-rc/src/lib/config.ts +2 -2
- package/packages/orq-rc/src/models/components/auditlogdelivery.ts +100 -0
- package/packages/orq-rc/src/models/components/auditlogdeliverykind.ts +18 -0
- package/packages/orq-rc/src/models/components/auditlogdeliverystatus.ts +24 -0
- package/packages/orq-rc/src/models/components/auditlogdestination.ts +83 -0
- package/packages/orq-rc/src/models/components/auditlogdestinationstatus.ts +23 -0
- package/packages/orq-rc/src/models/components/budgetalert.ts +1 -0
- package/packages/orq-rc/src/models/components/budgetalertrestresponse.ts +1 -0
- package/packages/orq-rc/src/models/components/budgetscope.ts +1 -1
- package/packages/orq-rc/src/models/components/budgetscoperestresponse.ts +1 -1
- package/packages/orq-rc/src/models/components/createauditlogdestinationrequest.ts +53 -0
- package/packages/orq-rc/src/models/components/createauditlogdestinationresponse.ts +45 -0
- package/packages/orq-rc/src/models/components/createbudgetrequest.ts +3 -3
- package/packages/orq-rc/src/models/components/deleteauditlogdestinationresponse.ts +27 -0
- package/packages/orq-rc/src/models/components/effectiveuserpermissions.ts +31 -0
- package/packages/orq-rc/src/models/components/getauditlogdestinationresponse.ts +35 -0
- package/packages/orq-rc/src/models/components/guardrailruleplugin.ts +1 -1
- package/packages/orq-rc/src/models/components/index.ts +18 -0
- package/packages/orq-rc/src/models/components/listauditlogdeliveriesresponse.ts +44 -0
- package/packages/orq-rc/src/models/components/listauditlogdestinationsresponse.ts +44 -0
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/components/replayauditlogdeliveriesrequest.ts +42 -0
- package/packages/orq-rc/src/models/components/replayauditlogdeliveriesresponse.ts +41 -0
- package/packages/orq-rc/src/models/components/rotateauditlogdestinationsecretresponse.ts +51 -0
- package/packages/orq-rc/src/models/components/routingruleplugin.ts +1 -1
- package/packages/orq-rc/src/models/components/spansummary.ts +6 -0
- package/packages/orq-rc/src/models/components/testauditlogdestinationresponse.ts +35 -0
- package/packages/orq-rc/src/models/components/updateauditlogdestinationrequest.ts +60 -0
- package/packages/orq-rc/src/models/components/updateauditlogdestinationresponse.ts +35 -0
- package/packages/orq-rc/src/models/components/workspacecapabilities.ts +11 -0
- package/packages/orq-rc/src/models/operations/auditlogdestinationdelete.ts +38 -0
- package/packages/orq-rc/src/models/operations/auditlogdestinationget.ts +38 -0
- package/packages/orq-rc/src/models/operations/auditlogdestinationlist.ts +45 -0
- package/packages/orq-rc/src/models/operations/auditlogdestinationlistdeliveries.ts +54 -0
- package/packages/orq-rc/src/models/operations/auditlogdestinationreplay.ts +45 -0
- package/packages/orq-rc/src/models/operations/auditlogdestinationrotatesecret.ts +39 -0
- package/packages/orq-rc/src/models/operations/auditlogdestinationtest.ts +38 -0
- package/packages/orq-rc/src/models/operations/auditlogdestinationupdate.ts +45 -0
- package/packages/orq-rc/src/models/operations/createagentrequest.ts +4 -4
- package/packages/orq-rc/src/models/operations/createchatcompletion.ts +2 -2
- package/packages/orq-rc/src/models/operations/createcompletion.ts +2 -2
- package/packages/orq-rc/src/models/operations/createimage.ts +2 -2
- package/packages/orq-rc/src/models/operations/createimageedit.ts +2 -2
- package/packages/orq-rc/src/models/operations/createimagevariation.ts +2 -2
- package/packages/orq-rc/src/models/operations/createprompt.ts +2 -2
- package/packages/orq-rc/src/models/operations/creatererank.ts +2 -2
- package/packages/orq-rc/src/models/operations/createtool.ts +4 -4
- package/packages/orq-rc/src/models/operations/getallprompts.ts +1 -1
- package/packages/orq-rc/src/models/operations/getalltools.ts +4 -4
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +1 -1
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +1 -1
- 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 +2 -2
- package/packages/orq-rc/src/models/operations/listdeploymentversions.ts +1 -1
- package/packages/orq-rc/src/models/operations/listpromptversions.ts +1 -1
- package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +4 -4
- package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievetool.ts +4 -4
- package/packages/orq-rc/src/models/operations/runagent.ts +3 -3
- package/packages/orq-rc/src/models/operations/searchweb.ts +3 -1
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +3 -3
- package/packages/orq-rc/src/models/operations/updateagent.ts +4 -4
- package/packages/orq-rc/src/models/operations/updateprompt.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatetool.ts +4 -4
- package/packages/orq-rc/src/sdk/auditlogdestinations.ts +172 -0
- package/packages/orq-rc/src/sdk/sdk.ts +8 -0
- package/packages/orq-rc/src/sdk/websearch.ts +3 -3
- package/src/lib/config.ts +2 -2
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createtool.ts +4 -4
- package/src/models/operations/getalltools.ts +4 -4
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listdeploymentversions.ts +1 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +4 -4
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrievetool.ts +4 -4
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatetool.ts +4 -4
|
@@ -2635,7 +2635,7 @@ export const GetAllPromptsCache$inboundSchema: z.ZodType<
|
|
|
2635
2635
|
z.ZodTypeDef,
|
|
2636
2636
|
unknown
|
|
2637
2637
|
> = z.object({
|
|
2638
|
-
ttl: z.number().default(
|
|
2638
|
+
ttl: z.number().default(3600),
|
|
2639
2639
|
type: GetAllPromptsPromptsType$inboundSchema,
|
|
2640
2640
|
});
|
|
2641
2641
|
|
|
@@ -639,7 +639,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
639
639
|
z.ZodTypeDef,
|
|
640
640
|
unknown
|
|
641
641
|
> = z.object({
|
|
642
|
-
_id: z.string().default("
|
|
642
|
+
_id: z.string().default("tool_01M5BW40F30A2BFBQ2KSVAYVV7"),
|
|
643
643
|
path: z.string(),
|
|
644
644
|
key: z.string(),
|
|
645
645
|
display_name: z.string().optional(),
|
|
@@ -821,7 +821,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
|
|
|
821
821
|
z.ZodTypeDef,
|
|
822
822
|
unknown
|
|
823
823
|
> = z.object({
|
|
824
|
-
_id: z.string().default("
|
|
824
|
+
_id: z.string().default("tool_01M5BW40F2XVBCS9RM8KK5PGZK"),
|
|
825
825
|
path: z.string(),
|
|
826
826
|
key: z.string(),
|
|
827
827
|
display_name: z.string().optional(),
|
|
@@ -914,7 +914,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
914
914
|
z.ZodTypeDef,
|
|
915
915
|
unknown
|
|
916
916
|
> = z.object({
|
|
917
|
-
_id: z.string().default("
|
|
917
|
+
_id: z.string().default("tool_01M5BW40F04SQ3AWQK58GMCJKW"),
|
|
918
918
|
path: z.string(),
|
|
919
919
|
key: z.string(),
|
|
920
920
|
display_name: z.string().optional(),
|
|
@@ -1012,7 +1012,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
|
|
|
1012
1012
|
z.ZodTypeDef,
|
|
1013
1013
|
unknown
|
|
1014
1014
|
> = z.object({
|
|
1015
|
-
_id: z.string().default("
|
|
1015
|
+
_id: z.string().default("tool_01M5BW40F0X77HAVET97026TXG"),
|
|
1016
1016
|
path: z.string(),
|
|
1017
1017
|
key: z.string(),
|
|
1018
1018
|
display_name: z.string().optional(),
|
|
@@ -2593,7 +2593,7 @@ export const GetOnePromptCache$inboundSchema: z.ZodType<
|
|
|
2593
2593
|
z.ZodTypeDef,
|
|
2594
2594
|
unknown
|
|
2595
2595
|
> = z.object({
|
|
2596
|
-
ttl: z.number().default(
|
|
2596
|
+
ttl: z.number().default(3600),
|
|
2597
2597
|
type: GetOnePromptPromptsType$inboundSchema,
|
|
2598
2598
|
});
|
|
2599
2599
|
|
|
@@ -2622,7 +2622,7 @@ export const GetPromptVersionCache$inboundSchema: z.ZodType<
|
|
|
2622
2622
|
z.ZodTypeDef,
|
|
2623
2623
|
unknown
|
|
2624
2624
|
> = z.object({
|
|
2625
|
-
ttl: z.number().default(
|
|
2625
|
+
ttl: z.number().default(3600),
|
|
2626
2626
|
type: GetPromptVersionType$inboundSchema,
|
|
2627
2627
|
});
|
|
2628
2628
|
|
|
@@ -140,7 +140,7 @@ export const GetV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
|
|
|
140
140
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
141
141
|
.optional(),
|
|
142
142
|
updated: z.string().datetime({ offset: true }).default(
|
|
143
|
-
"2026-10-
|
|
143
|
+
"2026-10-20T05:21:28.288Z",
|
|
144
144
|
).transform(v => new Date(v)),
|
|
145
145
|
filter_type: z.literal("name"),
|
|
146
146
|
filter_value: z.string(),
|
|
@@ -185,7 +185,7 @@ export const GetV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
|
|
|
185
185
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
186
186
|
.optional(),
|
|
187
187
|
updated: z.string().datetime({ offset: true }).default(
|
|
188
|
-
"2026-10-
|
|
188
|
+
"2026-10-20T05:21:28.288Z",
|
|
189
189
|
).transform(v => new Date(v)),
|
|
190
190
|
filter_type: z.literal("span_type"),
|
|
191
191
|
filter_values: z.array(z.string()),
|
|
@@ -141,7 +141,7 @@ export const GetV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
|
|
|
141
141
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
142
142
|
.optional(),
|
|
143
143
|
updated: z.string().datetime({ offset: true }).default(
|
|
144
|
-
"2026-10-
|
|
144
|
+
"2026-10-20T05:21:28.288Z",
|
|
145
145
|
).transform(v => new Date(v)),
|
|
146
146
|
filter_type: z.literal("name"),
|
|
147
147
|
filter_value: z.string(),
|
|
@@ -186,7 +186,7 @@ export const GetV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
|
|
|
186
186
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
187
187
|
.optional(),
|
|
188
188
|
updated: z.string().datetime({ offset: true }).default(
|
|
189
|
-
"2026-10-
|
|
189
|
+
"2026-10-20T05:21:28.288Z",
|
|
190
190
|
).transform(v => new Date(v)),
|
|
191
191
|
filter_type: z.literal("span_type"),
|
|
192
192
|
filter_values: z.array(z.string()),
|
|
@@ -15,6 +15,14 @@ export * from "./apikeyget.js";
|
|
|
15
15
|
export * from "./apikeylist.js";
|
|
16
16
|
export * from "./apikeylistcapabilities.js";
|
|
17
17
|
export * from "./apikeyupdate.js";
|
|
18
|
+
export * from "./auditlogdestinationdelete.js";
|
|
19
|
+
export * from "./auditlogdestinationget.js";
|
|
20
|
+
export * from "./auditlogdestinationlist.js";
|
|
21
|
+
export * from "./auditlogdestinationlistdeliveries.js";
|
|
22
|
+
export * from "./auditlogdestinationreplay.js";
|
|
23
|
+
export * from "./auditlogdestinationrotatesecret.js";
|
|
24
|
+
export * from "./auditlogdestinationtest.js";
|
|
25
|
+
export * from "./auditlogdestinationupdate.js";
|
|
18
26
|
export * from "./budgetdelete.js";
|
|
19
27
|
export * from "./budgetget.js";
|
|
20
28
|
export * from "./budgetlist.js";
|
|
@@ -1986,7 +1986,7 @@ export const ListAgentsCache$inboundSchema: z.ZodType<
|
|
|
1986
1986
|
z.ZodTypeDef,
|
|
1987
1987
|
unknown
|
|
1988
1988
|
> = z.object({
|
|
1989
|
-
ttl: z.number().default(
|
|
1989
|
+
ttl: z.number().default(3600),
|
|
1990
1990
|
type: ListAgentsAgentsType$inboundSchema,
|
|
1991
1991
|
});
|
|
1992
1992
|
|
|
@@ -2623,7 +2623,7 @@ export const ListAgentsFallbackModelConfigurationCache$inboundSchema: z.ZodType<
|
|
|
2623
2623
|
z.ZodTypeDef,
|
|
2624
2624
|
unknown
|
|
2625
2625
|
> = z.object({
|
|
2626
|
-
ttl: z.number().default(
|
|
2626
|
+
ttl: z.number().default(3600),
|
|
2627
2627
|
type: ListAgentsFallbackModelConfigurationType$inboundSchema,
|
|
2628
2628
|
});
|
|
2629
2629
|
|
|
@@ -2525,7 +2525,7 @@ export const ListDeploymentVersionsKnowledgeBases$inboundSchema: z.ZodType<
|
|
|
2525
2525
|
z.ZodTypeDef,
|
|
2526
2526
|
unknown
|
|
2527
2527
|
> = z.object({
|
|
2528
|
-
id: z.string().default("
|
|
2528
|
+
id: z.string().default("01M5BW40AG93W9C541ZMTG5GKC"),
|
|
2529
2529
|
knowledge_id: z.string(),
|
|
2530
2530
|
configuration: z.union([
|
|
2531
2531
|
z.lazy(() => KnowledgeBaseLastUserMessage$inboundSchema),
|
|
@@ -2655,7 +2655,7 @@ export const ListPromptVersionsCache$inboundSchema: z.ZodType<
|
|
|
2655
2655
|
z.ZodTypeDef,
|
|
2656
2656
|
unknown
|
|
2657
2657
|
> = z.object({
|
|
2658
|
-
ttl: z.number().default(
|
|
2658
|
+
ttl: z.number().default(3600),
|
|
2659
2659
|
type: ListPromptVersionsType$inboundSchema,
|
|
2660
2660
|
});
|
|
2661
2661
|
|
|
@@ -318,7 +318,7 @@ export const PatchV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
|
|
|
318
318
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
319
319
|
.optional(),
|
|
320
320
|
updated: z.string().datetime({ offset: true }).default(
|
|
321
|
-
"2026-10-
|
|
321
|
+
"2026-10-20T05:21:28.288Z",
|
|
322
322
|
).transform(v => new Date(v)),
|
|
323
323
|
filter_type: z.literal("name"),
|
|
324
324
|
filter_value: z.string(),
|
|
@@ -364,7 +364,7 @@ export const PatchV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
|
|
|
364
364
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
365
365
|
.optional(),
|
|
366
366
|
updated: z.string().datetime({ offset: true }).default(
|
|
367
|
-
"2026-10-
|
|
367
|
+
"2026-10-20T05:21:28.288Z",
|
|
368
368
|
).transform(v => new Date(v)),
|
|
369
369
|
filter_type: z.literal("span_type"),
|
|
370
370
|
filter_values: z.array(z.string()),
|
|
@@ -245,7 +245,7 @@ export const RequestBody4$outboundSchema: z.ZodType<
|
|
|
245
245
|
PostV2FeedbackEvaluationRequestBodyFeedbackRequestSource$outboundSchema
|
|
246
246
|
.default("orq"),
|
|
247
247
|
explanation: z.string().optional(),
|
|
248
|
-
reviewedAt: z.date().default(() => new Date("2026-10-
|
|
248
|
+
reviewedAt: z.date().default(() => new Date("2026-10-20T05:21:34.751Z"))
|
|
249
249
|
.transform(v => v.toISOString()),
|
|
250
250
|
type: z.literal("string_array"),
|
|
251
251
|
values: z.array(z.string()),
|
|
@@ -299,7 +299,7 @@ export const Three$outboundSchema: z.ZodType<
|
|
|
299
299
|
source: PostV2FeedbackEvaluationRequestBodyFeedbackSource$outboundSchema
|
|
300
300
|
.default("orq"),
|
|
301
301
|
explanation: z.string().optional(),
|
|
302
|
-
reviewedAt: z.date().default(() => new Date("2026-10-
|
|
302
|
+
reviewedAt: z.date().default(() => new Date("2026-10-20T05:21:34.751Z"))
|
|
303
303
|
.transform(v => v.toISOString()),
|
|
304
304
|
type: z.literal("boolean"),
|
|
305
305
|
value: z.boolean(),
|
|
@@ -353,7 +353,7 @@ export const RequestBody2$outboundSchema: z.ZodType<
|
|
|
353
353
|
"orq",
|
|
354
354
|
),
|
|
355
355
|
explanation: z.string().optional(),
|
|
356
|
-
reviewedAt: z.date().default(() => new Date("2026-10-
|
|
356
|
+
reviewedAt: z.date().default(() => new Date("2026-10-20T05:21:34.751Z"))
|
|
357
357
|
.transform(v => v.toISOString()),
|
|
358
358
|
type: z.literal("number"),
|
|
359
359
|
value: z.number(),
|
|
@@ -405,7 +405,7 @@ export const RequestBody1$outboundSchema: z.ZodType<
|
|
|
405
405
|
humanReviewId: z.string().optional(),
|
|
406
406
|
source: RequestBodySource$outboundSchema.default("orq"),
|
|
407
407
|
explanation: z.string().optional(),
|
|
408
|
-
reviewedAt: z.date().default(() => new Date("2026-10-
|
|
408
|
+
reviewedAt: z.date().default(() => new Date("2026-10-20T05:21:34.750Z"))
|
|
409
409
|
.transform(v => v.toISOString()),
|
|
410
410
|
type: z.literal("string"),
|
|
411
411
|
value: z.string(),
|
|
@@ -271,7 +271,7 @@ export const PostV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
|
|
|
271
271
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
272
272
|
.optional(),
|
|
273
273
|
updated: z.string().datetime({ offset: true }).default(
|
|
274
|
-
"2026-10-
|
|
274
|
+
"2026-10-20T05:21:28.288Z",
|
|
275
275
|
).transform(v => new Date(v)),
|
|
276
276
|
filter_type: z.literal("name"),
|
|
277
277
|
filter_value: z.string(),
|
|
@@ -316,7 +316,7 @@ export const PostV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
|
|
|
316
316
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
317
317
|
.optional(),
|
|
318
318
|
updated: z.string().datetime({ offset: true }).default(
|
|
319
|
-
"2026-10-
|
|
319
|
+
"2026-10-20T05:21:28.288Z",
|
|
320
320
|
).transform(v => new Date(v)),
|
|
321
321
|
filter_type: z.literal("span_type"),
|
|
322
322
|
filter_values: z.array(z.string()),
|
|
@@ -1995,7 +1995,7 @@ export const RetrieveAgentRequestCache$inboundSchema: z.ZodType<
|
|
|
1995
1995
|
z.ZodTypeDef,
|
|
1996
1996
|
unknown
|
|
1997
1997
|
> = z.object({
|
|
1998
|
-
ttl: z.number().default(
|
|
1998
|
+
ttl: z.number().default(3600),
|
|
1999
1999
|
type: RetrieveAgentRequestAgentsType$inboundSchema,
|
|
2000
2000
|
});
|
|
2001
2001
|
|
|
@@ -2669,7 +2669,7 @@ export const RetrieveAgentRequestFallbackModelConfigurationCache$inboundSchema:
|
|
|
2669
2669
|
z.ZodTypeDef,
|
|
2670
2670
|
unknown
|
|
2671
2671
|
> = z.object({
|
|
2672
|
-
ttl: z.number().default(
|
|
2672
|
+
ttl: z.number().default(3600),
|
|
2673
2673
|
type: RetrieveAgentRequestFallbackModelConfigurationType$inboundSchema,
|
|
2674
2674
|
});
|
|
2675
2675
|
|
|
@@ -624,7 +624,7 @@ export const RetrieveToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
624
624
|
z.ZodTypeDef,
|
|
625
625
|
unknown
|
|
626
626
|
> = z.object({
|
|
627
|
-
_id: z.string().default("
|
|
627
|
+
_id: z.string().default("tool_01M5BW40FQFT7KR83V71YQ2NN9"),
|
|
628
628
|
path: z.string(),
|
|
629
629
|
key: z.string(),
|
|
630
630
|
display_name: z.string().optional(),
|
|
@@ -820,7 +820,7 @@ export const RetrieveToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
820
820
|
z.ZodTypeDef,
|
|
821
821
|
unknown
|
|
822
822
|
> = z.object({
|
|
823
|
-
_id: z.string().default("
|
|
823
|
+
_id: z.string().default("tool_01M5BW40FPNN621EF65NNX65PH"),
|
|
824
824
|
path: z.string(),
|
|
825
825
|
key: z.string(),
|
|
826
826
|
display_name: z.string().optional(),
|
|
@@ -916,7 +916,7 @@ export const RetrieveToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
916
916
|
z.ZodTypeDef,
|
|
917
917
|
unknown
|
|
918
918
|
> = z.object({
|
|
919
|
-
_id: z.string().default("
|
|
919
|
+
_id: z.string().default("tool_01M5BW40FN6NMD0AXN2D68VB0T"),
|
|
920
920
|
path: z.string(),
|
|
921
921
|
key: z.string(),
|
|
922
922
|
display_name: z.string().optional(),
|
|
@@ -1022,7 +1022,7 @@ export const RetrieveToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
1022
1022
|
z.ZodTypeDef,
|
|
1023
1023
|
unknown
|
|
1024
1024
|
> = z.object({
|
|
1025
|
-
_id: z.string().default("
|
|
1025
|
+
_id: z.string().default("tool_01M5BW40FNZE0EPX2JHDR6E02S"),
|
|
1026
1026
|
path: z.string(),
|
|
1027
1027
|
key: z.string(),
|
|
1028
1028
|
display_name: z.string().optional(),
|
|
@@ -2367,7 +2367,7 @@ export const RunAgentModelConfigurationCache$outboundSchema: z.ZodType<
|
|
|
2367
2367
|
z.ZodTypeDef,
|
|
2368
2368
|
RunAgentModelConfigurationCache
|
|
2369
2369
|
> = z.object({
|
|
2370
|
-
ttl: z.number().default(
|
|
2370
|
+
ttl: z.number().default(3600),
|
|
2371
2371
|
type: RunAgentModelConfigurationType$outboundSchema,
|
|
2372
2372
|
});
|
|
2373
2373
|
|
|
@@ -3169,7 +3169,7 @@ export const RunAgentFallbackModelConfigurationCache$outboundSchema: z.ZodType<
|
|
|
3169
3169
|
z.ZodTypeDef,
|
|
3170
3170
|
RunAgentFallbackModelConfigurationCache
|
|
3171
3171
|
> = z.object({
|
|
3172
|
-
ttl: z.number().default(
|
|
3172
|
+
ttl: z.number().default(3600),
|
|
3173
3173
|
type: RunAgentFallbackModelConfigurationType$outboundSchema,
|
|
3174
3174
|
});
|
|
3175
3175
|
|
|
@@ -3904,7 +3904,7 @@ export const Tools$outboundSchema: z.ZodType<
|
|
|
3904
3904
|
z.ZodTypeDef,
|
|
3905
3905
|
Tools
|
|
3906
3906
|
> = z.object({
|
|
3907
|
-
id: z.string().default("
|
|
3907
|
+
id: z.string().default("01M5BW40D672NY10T2ZYBCB4DR"),
|
|
3908
3908
|
name: z.string(),
|
|
3909
3909
|
description: z.string().optional(),
|
|
3910
3910
|
schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
|
|
@@ -75,6 +75,7 @@ export const Provider = {
|
|
|
75
75
|
Serper: "serper",
|
|
76
76
|
Openai: "openai",
|
|
77
77
|
Perplexity: "perplexity",
|
|
78
|
+
Deepseek: "deepseek",
|
|
78
79
|
} as const;
|
|
79
80
|
/**
|
|
80
81
|
* Provider to run this search. Exa uses auto, Linkup uses standard depth, Tavily uses basic depth, and OpenAI runs one web_search tool call on gpt-5.6-luna. Workspace credentials are selected automatically for this provider.
|
|
@@ -102,7 +103,7 @@ export type SearchWebRequestBody = {
|
|
|
102
103
|
*/
|
|
103
104
|
provider: Provider;
|
|
104
105
|
/**
|
|
105
|
-
* Search text. Must not be blank or exceed 10,000 characters. Ceramic accepts at most 50 words.
|
|
106
|
+
* Search text. Must not be blank or exceed 10,000 characters. Ceramic accepts at most 50 words and DeepSeek at most 128 characters.
|
|
106
107
|
*/
|
|
107
108
|
query: string;
|
|
108
109
|
};
|
|
@@ -133,6 +134,7 @@ export const SearchWebProvider = {
|
|
|
133
134
|
Serper: "serper",
|
|
134
135
|
Openai: "openai",
|
|
135
136
|
Perplexity: "perplexity",
|
|
137
|
+
Deepseek: "deepseek",
|
|
136
138
|
} as const;
|
|
137
139
|
/**
|
|
138
140
|
* Provider that executed the search.
|
|
@@ -2348,7 +2348,7 @@ export const StreamRunAgentModelConfigurationCache$outboundSchema: z.ZodType<
|
|
|
2348
2348
|
z.ZodTypeDef,
|
|
2349
2349
|
StreamRunAgentModelConfigurationCache
|
|
2350
2350
|
> = z.object({
|
|
2351
|
-
ttl: z.number().default(
|
|
2351
|
+
ttl: z.number().default(3600),
|
|
2352
2352
|
type: StreamRunAgentModelConfigurationType$outboundSchema,
|
|
2353
2353
|
});
|
|
2354
2354
|
|
|
@@ -3185,7 +3185,7 @@ export const StreamRunAgentFallbackModelConfigurationCache$outboundSchema:
|
|
|
3185
3185
|
z.ZodTypeDef,
|
|
3186
3186
|
StreamRunAgentFallbackModelConfigurationCache
|
|
3187
3187
|
> = z.object({
|
|
3188
|
-
ttl: z.number().default(
|
|
3188
|
+
ttl: z.number().default(3600),
|
|
3189
3189
|
type: StreamRunAgentFallbackModelConfigurationType$outboundSchema,
|
|
3190
3190
|
});
|
|
3191
3191
|
|
|
@@ -3963,7 +3963,7 @@ export const AgentToolInputRunTools$outboundSchema: z.ZodType<
|
|
|
3963
3963
|
z.ZodTypeDef,
|
|
3964
3964
|
AgentToolInputRunTools
|
|
3965
3965
|
> = z.object({
|
|
3966
|
-
id: z.string().default("
|
|
3966
|
+
id: z.string().default("01M5BW40DPNXDRF86J37PECPQ1"),
|
|
3967
3967
|
name: z.string(),
|
|
3968
3968
|
description: z.string().optional(),
|
|
3969
3969
|
schema: z.lazy(() =>
|
|
@@ -2935,7 +2935,7 @@ export const ModelConfigurationCache$outboundSchema: z.ZodType<
|
|
|
2935
2935
|
z.ZodTypeDef,
|
|
2936
2936
|
ModelConfigurationCache
|
|
2937
2937
|
> = z.object({
|
|
2938
|
-
ttl: z.number().default(
|
|
2938
|
+
ttl: z.number().default(3600),
|
|
2939
2939
|
type: UpdateAgentModelConfigurationType$outboundSchema,
|
|
2940
2940
|
});
|
|
2941
2941
|
|
|
@@ -3737,7 +3737,7 @@ export const UpdateAgentFallbackModelConfigurationCache$outboundSchema:
|
|
|
3737
3737
|
z.ZodTypeDef,
|
|
3738
3738
|
UpdateAgentFallbackModelConfigurationCache
|
|
3739
3739
|
> = z.object({
|
|
3740
|
-
ttl: z.number().default(
|
|
3740
|
+
ttl: z.number().default(3600),
|
|
3741
3741
|
type: UpdateAgentFallbackModelConfigurationType$outboundSchema,
|
|
3742
3742
|
});
|
|
3743
3743
|
|
|
@@ -5112,7 +5112,7 @@ export const UpdateAgentCache$inboundSchema: z.ZodType<
|
|
|
5112
5112
|
z.ZodTypeDef,
|
|
5113
5113
|
unknown
|
|
5114
5114
|
> = z.object({
|
|
5115
|
-
ttl: z.number().default(
|
|
5115
|
+
ttl: z.number().default(3600),
|
|
5116
5116
|
type: UpdateAgentAgentsType$inboundSchema,
|
|
5117
5117
|
});
|
|
5118
5118
|
|
|
@@ -5798,7 +5798,7 @@ export const UpdateAgentFallbackModelConfigurationAgentsCache$inboundSchema:
|
|
|
5798
5798
|
z.ZodTypeDef,
|
|
5799
5799
|
unknown
|
|
5800
5800
|
> = z.object({
|
|
5801
|
-
ttl: z.number().default(
|
|
5801
|
+
ttl: z.number().default(3600),
|
|
5802
5802
|
type: UpdateAgentFallbackModelConfigurationAgentsResponseType$inboundSchema,
|
|
5803
5803
|
});
|
|
5804
5804
|
|
|
@@ -3759,7 +3759,7 @@ export const UpdatePromptCache$outboundSchema: z.ZodType<
|
|
|
3759
3759
|
z.ZodTypeDef,
|
|
3760
3760
|
UpdatePromptCache
|
|
3761
3761
|
> = z.object({
|
|
3762
|
-
ttl: z.number().default(
|
|
3762
|
+
ttl: z.number().default(3600),
|
|
3763
3763
|
type: UpdatePromptType$outboundSchema,
|
|
3764
3764
|
});
|
|
3765
3765
|
|
|
@@ -5204,7 +5204,7 @@ export const UpdatePromptPromptsCache$inboundSchema: z.ZodType<
|
|
|
5204
5204
|
z.ZodTypeDef,
|
|
5205
5205
|
unknown
|
|
5206
5206
|
> = z.object({
|
|
5207
|
-
ttl: z.number().default(
|
|
5207
|
+
ttl: z.number().default(3600),
|
|
5208
5208
|
type: UpdatePromptPromptsResponse200Type$inboundSchema,
|
|
5209
5209
|
});
|
|
5210
5210
|
|
|
@@ -1764,7 +1764,7 @@ export const UpdateToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1764
1764
|
z.ZodTypeDef,
|
|
1765
1765
|
unknown
|
|
1766
1766
|
> = z.object({
|
|
1767
|
-
_id: z.string().default("
|
|
1767
|
+
_id: z.string().default("tool_01M5BW40FE870JS2MWKQE8Y7H0"),
|
|
1768
1768
|
path: z.string(),
|
|
1769
1769
|
key: z.string(),
|
|
1770
1770
|
display_name: z.string().optional(),
|
|
@@ -1959,7 +1959,7 @@ export const UpdateToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
1959
1959
|
z.ZodTypeDef,
|
|
1960
1960
|
unknown
|
|
1961
1961
|
> = z.object({
|
|
1962
|
-
_id: z.string().default("
|
|
1962
|
+
_id: z.string().default("tool_01M5BW40FDGF2BHVQW6VWBS4ZV"),
|
|
1963
1963
|
path: z.string(),
|
|
1964
1964
|
key: z.string(),
|
|
1965
1965
|
display_name: z.string().optional(),
|
|
@@ -2054,7 +2054,7 @@ export const UpdateToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2054
2054
|
z.ZodTypeDef,
|
|
2055
2055
|
unknown
|
|
2056
2056
|
> = z.object({
|
|
2057
|
-
_id: z.string().default("
|
|
2057
|
+
_id: z.string().default("tool_01M5BW40FC8Q16YNA2B8CC771B"),
|
|
2058
2058
|
path: z.string(),
|
|
2059
2059
|
key: z.string(),
|
|
2060
2060
|
display_name: z.string().optional(),
|
|
@@ -2157,7 +2157,7 @@ export const UpdateToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2157
2157
|
z.ZodTypeDef,
|
|
2158
2158
|
unknown
|
|
2159
2159
|
> = z.object({
|
|
2160
|
-
_id: z.string().default("
|
|
2160
|
+
_id: z.string().default("tool_01M5BW40FB2SH3V1818K54836W"),
|
|
2161
2161
|
path: z.string(),
|
|
2162
2162
|
key: z.string(),
|
|
2163
2163
|
display_name: z.string().optional(),
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { auditLogDestinationsCreate } from "../funcs/auditLogDestinationsCreate.js";
|
|
6
|
+
import { auditLogDestinationsDelete } from "../funcs/auditLogDestinationsDelete.js";
|
|
7
|
+
import { auditLogDestinationsGet } from "../funcs/auditLogDestinationsGet.js";
|
|
8
|
+
import { auditLogDestinationsList } from "../funcs/auditLogDestinationsList.js";
|
|
9
|
+
import { auditLogDestinationsListDeliveries } from "../funcs/auditLogDestinationsListDeliveries.js";
|
|
10
|
+
import { auditLogDestinationsReplay } from "../funcs/auditLogDestinationsReplay.js";
|
|
11
|
+
import { auditLogDestinationsRotateSecret } from "../funcs/auditLogDestinationsRotateSecret.js";
|
|
12
|
+
import { auditLogDestinationsTest } from "../funcs/auditLogDestinationsTest.js";
|
|
13
|
+
import { auditLogDestinationsUpdate } from "../funcs/auditLogDestinationsUpdate.js";
|
|
14
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
15
|
+
import * as components from "../models/components/index.js";
|
|
16
|
+
import * as operations from "../models/operations/index.js";
|
|
17
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
18
|
+
|
|
19
|
+
export class AuditLogDestinations extends ClientSDK {
|
|
20
|
+
/**
|
|
21
|
+
* List audit log destinations
|
|
22
|
+
*
|
|
23
|
+
* @remarks
|
|
24
|
+
* Returns the audit log destinations of the workspace, newest first, with cursor pagination.
|
|
25
|
+
*/
|
|
26
|
+
async list(
|
|
27
|
+
request?: operations.AuditLogDestinationListRequest | undefined,
|
|
28
|
+
options?: RequestOptions,
|
|
29
|
+
): Promise<components.ListAuditLogDestinationsResponse> {
|
|
30
|
+
return unwrapAsync(auditLogDestinationsList(
|
|
31
|
+
this,
|
|
32
|
+
request,
|
|
33
|
+
options,
|
|
34
|
+
));
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Create an audit log destination
|
|
39
|
+
*
|
|
40
|
+
* @remarks
|
|
41
|
+
* Creates a signed webhook destination that receives every audit log event recorded in the workspace from this point on. The signing secret is returned once in this response and never again.
|
|
42
|
+
*/
|
|
43
|
+
async create(
|
|
44
|
+
request: components.CreateAuditLogDestinationRequest,
|
|
45
|
+
options?: RequestOptions,
|
|
46
|
+
): Promise<components.CreateAuditLogDestinationResponse> {
|
|
47
|
+
return unwrapAsync(auditLogDestinationsCreate(
|
|
48
|
+
this,
|
|
49
|
+
request,
|
|
50
|
+
options,
|
|
51
|
+
));
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Retrieve an audit log destination
|
|
56
|
+
*
|
|
57
|
+
* @remarks
|
|
58
|
+
* Retrieves an audit log destination by ID. The signing secret is never returned.
|
|
59
|
+
*/
|
|
60
|
+
async get(
|
|
61
|
+
request: operations.AuditLogDestinationGetRequest,
|
|
62
|
+
options?: RequestOptions,
|
|
63
|
+
): Promise<components.GetAuditLogDestinationResponse> {
|
|
64
|
+
return unwrapAsync(auditLogDestinationsGet(
|
|
65
|
+
this,
|
|
66
|
+
request,
|
|
67
|
+
options,
|
|
68
|
+
));
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Delete an audit log destination
|
|
73
|
+
*
|
|
74
|
+
* @remarks
|
|
75
|
+
* Deletes a destination and cancels its pending deliveries.
|
|
76
|
+
*/
|
|
77
|
+
async delete(
|
|
78
|
+
request: operations.AuditLogDestinationDeleteRequest,
|
|
79
|
+
options?: RequestOptions,
|
|
80
|
+
): Promise<components.DeleteAuditLogDestinationResponse> {
|
|
81
|
+
return unwrapAsync(auditLogDestinationsDelete(
|
|
82
|
+
this,
|
|
83
|
+
request,
|
|
84
|
+
options,
|
|
85
|
+
));
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Update an audit log destination
|
|
90
|
+
*
|
|
91
|
+
* @remarks
|
|
92
|
+
* Partially updates a destination. Set `status` to `AUDIT_LOG_DESTINATION_STATUS_PAUSED` to stop deliveries while retaining the backlog, and back to `AUDIT_LOG_DESTINATION_STATUS_ACTIVE` to drain it. The URL can only change while the destination is paused.
|
|
93
|
+
*/
|
|
94
|
+
async update(
|
|
95
|
+
request: operations.AuditLogDestinationUpdateRequest,
|
|
96
|
+
options?: RequestOptions,
|
|
97
|
+
): Promise<components.UpdateAuditLogDestinationResponse> {
|
|
98
|
+
return unwrapAsync(auditLogDestinationsUpdate(
|
|
99
|
+
this,
|
|
100
|
+
request,
|
|
101
|
+
options,
|
|
102
|
+
));
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* List deliveries
|
|
107
|
+
*
|
|
108
|
+
* @remarks
|
|
109
|
+
* Returns the delivery history of a destination, newest first, optionally filtered by status.
|
|
110
|
+
*/
|
|
111
|
+
async listDeliveries(
|
|
112
|
+
request: operations.AuditLogDestinationListDeliveriesRequest,
|
|
113
|
+
options?: RequestOptions,
|
|
114
|
+
): Promise<components.ListAuditLogDeliveriesResponse> {
|
|
115
|
+
return unwrapAsync(auditLogDestinationsListDeliveries(
|
|
116
|
+
this,
|
|
117
|
+
request,
|
|
118
|
+
options,
|
|
119
|
+
));
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Replay audit events
|
|
124
|
+
*
|
|
125
|
+
* @remarks
|
|
126
|
+
* Queues a new delivery for every retained audit event recorded in the time window, up to 10,000 events per request. Replays keep the original event IDs and never extend event retention.
|
|
127
|
+
*/
|
|
128
|
+
async replay(
|
|
129
|
+
request: operations.AuditLogDestinationReplayRequest,
|
|
130
|
+
options?: RequestOptions,
|
|
131
|
+
): Promise<components.ReplayAuditLogDeliveriesResponse> {
|
|
132
|
+
return unwrapAsync(auditLogDestinationsReplay(
|
|
133
|
+
this,
|
|
134
|
+
request,
|
|
135
|
+
options,
|
|
136
|
+
));
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Rotate the signing secret
|
|
141
|
+
*
|
|
142
|
+
* @remarks
|
|
143
|
+
* Generates a new signing secret for the destination. Deliveries attempted after the rotation are signed with the new secret. The new secret is returned once in this response and never again.
|
|
144
|
+
*/
|
|
145
|
+
async rotateSecret(
|
|
146
|
+
request: operations.AuditLogDestinationRotateSecretRequest,
|
|
147
|
+
options?: RequestOptions,
|
|
148
|
+
): Promise<components.RotateAuditLogDestinationSecretResponse> {
|
|
149
|
+
return unwrapAsync(auditLogDestinationsRotateSecret(
|
|
150
|
+
this,
|
|
151
|
+
request,
|
|
152
|
+
options,
|
|
153
|
+
));
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* Send a test event
|
|
158
|
+
*
|
|
159
|
+
* @remarks
|
|
160
|
+
* Sends a signed synthetic `audit_log.test` event to the destination synchronously and returns the receiver outcome. Test deliveries appear in the delivery history.
|
|
161
|
+
*/
|
|
162
|
+
async test(
|
|
163
|
+
request: operations.AuditLogDestinationTestRequest,
|
|
164
|
+
options?: RequestOptions,
|
|
165
|
+
): Promise<components.TestAuditLogDestinationResponse> {
|
|
166
|
+
return unwrapAsync(auditLogDestinationsTest(
|
|
167
|
+
this,
|
|
168
|
+
request,
|
|
169
|
+
options,
|
|
170
|
+
));
|
|
171
|
+
}
|
|
172
|
+
}
|
|
@@ -8,6 +8,7 @@ import { Alerts } from "./alerts.js";
|
|
|
8
8
|
import { AnnotationQueues } from "./annotationqueues.js";
|
|
9
9
|
import { Annotations } from "./annotations.js";
|
|
10
10
|
import { ApiKeys } from "./apikeys.js";
|
|
11
|
+
import { AuditLogDestinations } from "./auditlogdestinations.js";
|
|
11
12
|
import { Budgets } from "./budgets.js";
|
|
12
13
|
import { Chunking } from "./chunking.js";
|
|
13
14
|
import { Datasets } from "./datasets.js";
|
|
@@ -182,6 +183,13 @@ export class Orq extends ClientSDK {
|
|
|
182
183
|
return (this._annotationQueues ??= new AnnotationQueues(this._options));
|
|
183
184
|
}
|
|
184
185
|
|
|
186
|
+
private _auditLogDestinations?: AuditLogDestinations;
|
|
187
|
+
get auditLogDestinations(): AuditLogDestinations {
|
|
188
|
+
return (this._auditLogDestinations ??= new AuditLogDestinations(
|
|
189
|
+
this._options,
|
|
190
|
+
));
|
|
191
|
+
}
|
|
192
|
+
|
|
185
193
|
private _budgets?: Budgets;
|
|
186
194
|
get budgets(): Budgets {
|
|
187
195
|
return (this._budgets ??= new Budgets(this._options));
|