@orq-ai/node 4.16.10 → 4.16.12
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/funcs/websearchSearch.d.ts +3 -3
- package/funcs/websearchSearch.js +3 -3
- 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/searchweb.d.ts +3 -1
- package/models/operations/searchweb.d.ts.map +1 -1
- package/models/operations/searchweb.js +2 -0
- package/models/operations/searchweb.js.map +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatetool.js +4 -4
- package/package.json +1 -1
- 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/modelsAzureFoundryDeployments.ts +1 -1
- package/packages/orq-rc/src/funcs/modelsUpdate.ts +1 -1
- 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/alertscope.ts +0 -1
- package/packages/orq-rc/src/models/components/alerttelemetrysource.ts +0 -1
- 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/budgetalertdimension.ts +0 -1
- package/packages/orq-rc/src/models/components/budgetperiod.ts +0 -1
- package/packages/orq-rc/src/models/components/budgetscopekind.ts +0 -1
- package/packages/orq-rc/src/models/components/budgetsortfield.ts +0 -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/createmanagementkeyrequest.ts +2 -3
- package/packages/orq-rc/src/models/components/createmcpgatewayrequest.ts +7 -0
- package/packages/orq-rc/src/models/components/deleteauditlogdestinationresponse.ts +27 -0
- package/packages/orq-rc/src/models/components/domainverificationstatus.ts +0 -1
- package/packages/orq-rc/src/models/components/effectiveuserpermissions.ts +31 -0
- package/packages/orq-rc/src/models/components/filepurpose.ts +0 -1
- package/packages/orq-rc/src/models/components/getauditlogdestinationresponse.ts +35 -0
- package/packages/orq-rc/src/models/components/getlogcontextresponse.ts +1 -1
- package/packages/orq-rc/src/models/components/getlogresponse.ts +1 -1
- package/packages/orq-rc/src/models/components/identitysortfield.ts +0 -1
- package/packages/orq-rc/src/models/components/index.ts +21 -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/log.ts +1 -1
- package/packages/orq-rc/src/models/components/managementkey.ts +2 -2
- package/packages/orq-rc/src/models/components/managementkeystatus.ts +0 -1
- package/packages/orq-rc/src/models/components/managementpermissionmode.ts +0 -1
- package/packages/orq-rc/src/models/components/mcpauthtype.ts +0 -1
- package/packages/orq-rc/src/models/components/mcpconnectiontype.ts +0 -1
- package/packages/orq-rc/src/models/components/mcpgateway.ts +6 -0
- package/packages/orq-rc/src/models/components/mcpgatewaymode.ts +0 -1
- package/packages/orq-rc/src/models/components/mcpgatewayserverlink.ts +15 -0
- package/packages/orq-rc/src/models/components/mcpgatewaystatus.ts +0 -1
- package/packages/orq-rc/src/models/components/mcpserver.ts +6 -0
- package/packages/orq-rc/src/models/components/mcpskill.ts +85 -0
- package/packages/orq-rc/src/models/components/mcpskillexposure.ts +72 -0
- package/packages/orq-rc/src/models/components/mcpskillfile.ts +47 -0
- package/packages/orq-rc/src/models/components/mcpsyncstate.ts +6 -0
- package/packages/orq-rc/src/models/components/mcptoolexposuremode.ts +0 -1
- package/packages/orq-rc/src/models/components/mcptoolnaming.ts +0 -1
- package/packages/orq-rc/src/models/components/modeldocument.ts +3 -0
- package/packages/orq-rc/src/models/components/modelfusionpreset.ts +0 -1
- package/packages/orq-rc/src/models/components/modelfusionsynthesismode.ts +0 -2
- package/packages/orq-rc/src/models/components/monitortelemetrysource.ts +0 -1
- package/packages/orq-rc/src/models/components/notifiertype.ts +0 -1
- 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/sessioninterval.ts +0 -1
- package/packages/orq-rc/src/models/components/smartrouterprofile.ts +0 -1
- package/packages/orq-rc/src/models/components/syncstatus.ts +0 -1
- package/packages/orq-rc/src/models/components/telemetryquerymode.ts +0 -1
- package/packages/orq-rc/src/models/components/telemetryresultkind.ts +0 -1
- package/packages/orq-rc/src/models/components/telemetrysource.ts +0 -1
- package/packages/orq-rc/src/models/components/telemetryvaluecardinality.ts +0 -2
- package/packages/orq-rc/src/models/components/testauditlogdestinationresponse.ts +35 -0
- package/packages/orq-rc/src/models/components/threadkind.ts +0 -1
- 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/updateidentityrequest.ts +1 -1
- package/packages/orq-rc/src/models/components/updatemcpgatewayrequest.ts +14 -0
- package/packages/orq-rc/src/models/components/updateworkspacesettingsrequest.ts +2 -4
- 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/createtool.ts +4 -4
- package/packages/orq-rc/src/models/operations/getalltools.ts +4 -4
- 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/listdeploymentversions.ts +1 -1
- package/packages/orq-rc/src/models/operations/modelcreate.ts +3 -0
- package/packages/orq-rc/src/models/operations/modelcreateawsbedrock.ts +3 -0
- package/packages/orq-rc/src/models/operations/modelcreateopenailike.ts +3 -0
- package/packages/orq-rc/src/models/operations/modelcreatevertex.ts +3 -0
- package/packages/orq-rc/src/models/operations/modelupdate.ts +3 -0
- package/packages/orq-rc/src/models/operations/modelupdateawsbedrock.ts +3 -0
- package/packages/orq-rc/src/models/operations/modelupdateopenailike.ts +3 -0
- 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/retrievetool.ts +4 -4
- package/packages/orq-rc/src/models/operations/runagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/searchweb.ts +3 -1
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -1
- 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/models.ts +2 -2
- package/packages/orq-rc/src/sdk/sdk.ts +8 -0
- package/packages/orq-rc/src/sdk/websearch.ts +3 -3
- package/sdk/websearch.d.ts +3 -3
- package/sdk/websearch.js +3 -3
- package/src/funcs/websearchSearch.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/searchweb.ts +3 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatetool.ts +4 -4
- package/src/sdk/websearch.ts +3 -3
|
@@ -44,6 +44,9 @@ export type ModelCreateResponseBody = {
|
|
|
44
44
|
inputCost: number | null;
|
|
45
45
|
inputCurrency: string;
|
|
46
46
|
isActive: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
49
|
+
*/
|
|
47
50
|
legacyUuid?: string | undefined;
|
|
48
51
|
metadata: components.ModelMetadata;
|
|
49
52
|
modelDeveloper?: string | undefined;
|
|
@@ -58,6 +58,9 @@ export type ModelCreateAwsBedrockResponseBody = {
|
|
|
58
58
|
inputCost: number | null;
|
|
59
59
|
inputCurrency: string;
|
|
60
60
|
isActive: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
63
|
+
*/
|
|
61
64
|
legacyUuid?: string | undefined;
|
|
62
65
|
metadata: components.ModelMetadata;
|
|
63
66
|
modelDeveloper?: string | undefined;
|
|
@@ -50,6 +50,9 @@ export type ModelCreateOpenAILikeResponseBody = {
|
|
|
50
50
|
inputCost: number | null;
|
|
51
51
|
inputCurrency: string;
|
|
52
52
|
isActive: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
55
|
+
*/
|
|
53
56
|
legacyUuid?: string | undefined;
|
|
54
57
|
metadata: components.ModelMetadata;
|
|
55
58
|
modelDeveloper?: string | undefined;
|
|
@@ -33,6 +33,9 @@ export type ModelCreateVertexResponseBody = {
|
|
|
33
33
|
inputCost: number | null;
|
|
34
34
|
inputCurrency: string;
|
|
35
35
|
isActive: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
38
|
+
*/
|
|
36
39
|
legacyUuid?: string | undefined;
|
|
37
40
|
metadata: components.ModelMetadata;
|
|
38
41
|
modelDeveloper?: string | undefined;
|
|
@@ -46,6 +46,9 @@ export type ModelUpdateResponseBody = {
|
|
|
46
46
|
inputCost: number | null;
|
|
47
47
|
inputCurrency: string;
|
|
48
48
|
isActive: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
51
|
+
*/
|
|
49
52
|
legacyUuid?: string | undefined;
|
|
50
53
|
metadata: components.ModelMetadata;
|
|
51
54
|
modelDeveloper?: string | undefined;
|
|
@@ -63,6 +63,9 @@ export type ModelUpdateAwsBedrockResponseBody = {
|
|
|
63
63
|
inputCost: number | null;
|
|
64
64
|
inputCurrency: string;
|
|
65
65
|
isActive: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
68
|
+
*/
|
|
66
69
|
legacyUuid?: string | undefined;
|
|
67
70
|
metadata: components.ModelMetadata;
|
|
68
71
|
modelDeveloper?: string | undefined;
|
|
@@ -57,6 +57,9 @@ export type ModelUpdateOpenAILikeResponseBody = {
|
|
|
57
57
|
inputCost: number | null;
|
|
58
58
|
inputCurrency: string;
|
|
59
59
|
isActive: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
62
|
+
*/
|
|
60
63
|
legacyUuid?: string | undefined;
|
|
61
64
|
metadata: components.ModelMetadata;
|
|
62
65
|
modelDeveloper?: string | undefined;
|
|
@@ -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-18T14:14:36.441Z",
|
|
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-18T14:14:36.441Z",
|
|
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-18T14:14:44.199Z"))
|
|
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-18T14:14:44.199Z"))
|
|
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-18T14:14:44.199Z"))
|
|
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-18T14:14:44.198Z"))
|
|
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-18T14:14:36.441Z",
|
|
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-18T14:14:36.441Z",
|
|
320
320
|
).transform(v => new Date(v)),
|
|
321
321
|
filter_type: z.literal("span_type"),
|
|
322
322
|
filter_values: z.array(z.string()),
|
|
@@ -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_01M57NTT5TM3ZF6ZBB8SQVJ4TM"),
|
|
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_01M57NTT5S43GHX3ZQ0SXW7MTZ"),
|
|
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_01M57NTT5RRX6KMDEYVSEF5BMN"),
|
|
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_01M57NTT5RMXP86RKGW6WG7CKK"),
|
|
1026
1026
|
path: z.string(),
|
|
1027
1027
|
key: z.string(),
|
|
1028
1028
|
display_name: z.string().optional(),
|
|
@@ -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("01M57NTT2VMC8RH1GNQNHFJXTG"),
|
|
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.
|
|
@@ -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("01M57NTT3GY4G1XDCTKCYDPYD9"),
|
|
3967
3967
|
name: z.string(),
|
|
3968
3968
|
description: z.string().optional(),
|
|
3969
3969
|
schema: z.lazy(() =>
|
|
@@ -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_01M57NTT5J51CZDR9PFWFSZJZ8"),
|
|
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_01M57NTT5HJJZE391DA0AH965X"),
|
|
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_01M57NTT5G9J34MT0DPMEVG9KP"),
|
|
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_01M57NTT5FY92JC4V951MPTZW7"),
|
|
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
|
+
}
|
|
@@ -96,7 +96,7 @@ export class Models extends ClientSDK {
|
|
|
96
96
|
* List Azure Foundry deployments under a resource
|
|
97
97
|
*
|
|
98
98
|
* @remarks
|
|
99
|
-
* Lists Azure Foundry deployments under the given base_url and
|
|
99
|
+
* Lists Azure Foundry deployments under the given base_url and merges each entry with the matching Orq model catalog entry. Only OpenAI-developed deployments in succeeded state with chat/completion/embedding/vision model types are returned.
|
|
100
100
|
*/
|
|
101
101
|
async azureFoundryDeployments(
|
|
102
102
|
request: operations.ModelAzureFoundryDeploymentsRequestBody,
|
|
@@ -230,7 +230,7 @@ export class Models extends ClientSDK {
|
|
|
230
230
|
* Update custom model
|
|
231
231
|
*
|
|
232
232
|
* @remarks
|
|
233
|
-
* Updates a custom model. Only fields present in the request body are modified, except for `metadata` and `parameters`, which are fully replaced when present
|
|
233
|
+
* Updates a custom model. Only fields present in the request body are modified, except for `metadata` and `parameters`, which are fully replaced when present.
|
|
234
234
|
*/
|
|
235
235
|
async update(
|
|
236
236
|
request: operations.ModelUpdateRequest,
|
|
@@ -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));
|
|
@@ -12,11 +12,11 @@ export class Websearch extends ClientSDK {
|
|
|
12
12
|
* Search the web with a selected provider
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Search with Exa, Ceramic, Linkup, Tavily, Serper, OpenAI, or
|
|
15
|
+
* Search with Exa, Ceramic, Linkup, Tavily, Serper, OpenAI, Perplexity, or DeepSeek and return page URLs, titles, and descriptions in one response format. Authenticate with an API key that grants **websearch.execute** and send **Content-Type: application/json**.
|
|
16
16
|
*
|
|
17
17
|
* ### Provider and credentials
|
|
18
18
|
*
|
|
19
|
-
* Each request uses the selected provider. Exa uses **auto** search, Linkup uses **standard** depth, Tavily uses **basic** depth, and Perplexity
|
|
19
|
+
* Each request uses the selected provider. Exa uses **auto** search, Linkup uses **standard** depth, Tavily uses **basic** depth, and Perplexity and DeepSeek use their standard Search APIs. DeepSeek accepts queries of at most 128 characters. OpenAI runs one forced **web_search** tool call on gpt-5.6-luna through the Responses API and returns the raw search results.
|
|
20
20
|
*
|
|
21
21
|
* Credentials are selected from the authenticated workspace. A configured provider integration takes precedence over ORQ-managed credentials: the default integration is used, or the first configured integration if no default is set. Configure BYOK in the workspace integrations settings. Invalid integration credentials cause an error.
|
|
22
22
|
*
|
|
@@ -26,7 +26,7 @@ export class Websearch extends ClientSDK {
|
|
|
26
26
|
*
|
|
27
27
|
* Exa's published auto rate is **US$7 per 1,000 requests** for up to 10 results, or **US$8 per 1,000** including the ORQ markup. Exa charges use the actual cost reported by the provider.
|
|
28
28
|
*
|
|
29
|
-
* Perplexity's published Search API rate is **US$5 per 1,000 requests**. OpenAI web search costs **US$10 per 1,000 tool calls** plus the gpt-5.6-luna tokens of the Responses call, computed from the usage reported by OpenAI, so each search is typically US$0.012 to US$0.015 before the ORQ markup.
|
|
29
|
+
* Perplexity's published Search API rate is **US$5 per 1,000 requests** and DeepSeek's is **US$0.75 per 1,000 requests**. OpenAI web search costs **US$10 per 1,000 tool calls** plus the gpt-5.6-luna tokens of the Responses call, computed from the usage reported by OpenAI, so each search is typically US$0.012 to US$0.015 before the ORQ markup.
|
|
30
30
|
*
|
|
31
31
|
* A successful managed search is billable even if an output guardrail or output redaction failure prevents the results from being returned.
|
|
32
32
|
*
|
package/sdk/websearch.d.ts
CHANGED
|
@@ -5,11 +5,11 @@ export declare class Websearch extends ClientSDK {
|
|
|
5
5
|
* Search the web with a selected provider
|
|
6
6
|
*
|
|
7
7
|
* @remarks
|
|
8
|
-
* Search with Exa, Ceramic, Linkup, Tavily, Serper, OpenAI, or
|
|
8
|
+
* Search with Exa, Ceramic, Linkup, Tavily, Serper, OpenAI, Perplexity, or DeepSeek and return page URLs, titles, and descriptions in one response format. Authenticate with an API key that grants **websearch.execute** and send **Content-Type: application/json**.
|
|
9
9
|
*
|
|
10
10
|
* ### Provider and credentials
|
|
11
11
|
*
|
|
12
|
-
* Each request uses the selected provider. Exa uses **auto** search, Linkup uses **standard** depth, Tavily uses **basic** depth, and Perplexity
|
|
12
|
+
* Each request uses the selected provider. Exa uses **auto** search, Linkup uses **standard** depth, Tavily uses **basic** depth, and Perplexity and DeepSeek use their standard Search APIs. DeepSeek accepts queries of at most 128 characters. OpenAI runs one forced **web_search** tool call on gpt-5.6-luna through the Responses API and returns the raw search results.
|
|
13
13
|
*
|
|
14
14
|
* Credentials are selected from the authenticated workspace. A configured provider integration takes precedence over ORQ-managed credentials: the default integration is used, or the first configured integration if no default is set. Configure BYOK in the workspace integrations settings. Invalid integration credentials cause an error.
|
|
15
15
|
*
|
|
@@ -19,7 +19,7 @@ export declare class Websearch extends ClientSDK {
|
|
|
19
19
|
*
|
|
20
20
|
* Exa's published auto rate is **US$7 per 1,000 requests** for up to 10 results, or **US$8 per 1,000** including the ORQ markup. Exa charges use the actual cost reported by the provider.
|
|
21
21
|
*
|
|
22
|
-
* Perplexity's published Search API rate is **US$5 per 1,000 requests**. OpenAI web search costs **US$10 per 1,000 tool calls** plus the gpt-5.6-luna tokens of the Responses call, computed from the usage reported by OpenAI, so each search is typically US$0.012 to US$0.015 before the ORQ markup.
|
|
22
|
+
* Perplexity's published Search API rate is **US$5 per 1,000 requests** and DeepSeek's is **US$0.75 per 1,000 requests**. OpenAI web search costs **US$10 per 1,000 tool calls** plus the gpt-5.6-luna tokens of the Responses call, computed from the usage reported by OpenAI, so each search is typically US$0.012 to US$0.015 before the ORQ markup.
|
|
23
23
|
*
|
|
24
24
|
* A successful managed search is billable even if an output guardrail or output redaction failure prevents the results from being returned.
|
|
25
25
|
*
|
package/sdk/websearch.js
CHANGED
|
@@ -12,11 +12,11 @@ class Websearch extends sdks_js_1.ClientSDK {
|
|
|
12
12
|
* Search the web with a selected provider
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Search with Exa, Ceramic, Linkup, Tavily, Serper, OpenAI, or
|
|
15
|
+
* Search with Exa, Ceramic, Linkup, Tavily, Serper, OpenAI, Perplexity, or DeepSeek and return page URLs, titles, and descriptions in one response format. Authenticate with an API key that grants **websearch.execute** and send **Content-Type: application/json**.
|
|
16
16
|
*
|
|
17
17
|
* ### Provider and credentials
|
|
18
18
|
*
|
|
19
|
-
* Each request uses the selected provider. Exa uses **auto** search, Linkup uses **standard** depth, Tavily uses **basic** depth, and Perplexity
|
|
19
|
+
* Each request uses the selected provider. Exa uses **auto** search, Linkup uses **standard** depth, Tavily uses **basic** depth, and Perplexity and DeepSeek use their standard Search APIs. DeepSeek accepts queries of at most 128 characters. OpenAI runs one forced **web_search** tool call on gpt-5.6-luna through the Responses API and returns the raw search results.
|
|
20
20
|
*
|
|
21
21
|
* Credentials are selected from the authenticated workspace. A configured provider integration takes precedence over ORQ-managed credentials: the default integration is used, or the first configured integration if no default is set. Configure BYOK in the workspace integrations settings. Invalid integration credentials cause an error.
|
|
22
22
|
*
|
|
@@ -26,7 +26,7 @@ class Websearch extends sdks_js_1.ClientSDK {
|
|
|
26
26
|
*
|
|
27
27
|
* Exa's published auto rate is **US$7 per 1,000 requests** for up to 10 results, or **US$8 per 1,000** including the ORQ markup. Exa charges use the actual cost reported by the provider.
|
|
28
28
|
*
|
|
29
|
-
* Perplexity's published Search API rate is **US$5 per 1,000 requests**. OpenAI web search costs **US$10 per 1,000 tool calls** plus the gpt-5.6-luna tokens of the Responses call, computed from the usage reported by OpenAI, so each search is typically US$0.012 to US$0.015 before the ORQ markup.
|
|
29
|
+
* Perplexity's published Search API rate is **US$5 per 1,000 requests** and DeepSeek's is **US$0.75 per 1,000 requests**. OpenAI web search costs **US$10 per 1,000 tool calls** plus the gpt-5.6-luna tokens of the Responses call, computed from the usage reported by OpenAI, so each search is typically US$0.012 to US$0.015 before the ORQ markup.
|
|
30
30
|
*
|
|
31
31
|
* A successful managed search is billable even if an output guardrail or output redaction failure prevents the results from being returned.
|
|
32
32
|
*
|
|
@@ -30,11 +30,11 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* Search the web with a selected provider
|
|
31
31
|
*
|
|
32
32
|
* @remarks
|
|
33
|
-
* Search with Exa, Ceramic, Linkup, Tavily, Serper, OpenAI, or
|
|
33
|
+
* Search with Exa, Ceramic, Linkup, Tavily, Serper, OpenAI, Perplexity, or DeepSeek and return page URLs, titles, and descriptions in one response format. Authenticate with an API key that grants **websearch.execute** and send **Content-Type: application/json**.
|
|
34
34
|
*
|
|
35
35
|
* ### Provider and credentials
|
|
36
36
|
*
|
|
37
|
-
* Each request uses the selected provider. Exa uses **auto** search, Linkup uses **standard** depth, Tavily uses **basic** depth, and Perplexity
|
|
37
|
+
* Each request uses the selected provider. Exa uses **auto** search, Linkup uses **standard** depth, Tavily uses **basic** depth, and Perplexity and DeepSeek use their standard Search APIs. DeepSeek accepts queries of at most 128 characters. OpenAI runs one forced **web_search** tool call on gpt-5.6-luna through the Responses API and returns the raw search results.
|
|
38
38
|
*
|
|
39
39
|
* Credentials are selected from the authenticated workspace. A configured provider integration takes precedence over ORQ-managed credentials: the default integration is used, or the first configured integration if no default is set. Configure BYOK in the workspace integrations settings. Invalid integration credentials cause an error.
|
|
40
40
|
*
|
|
@@ -44,7 +44,7 @@ import { Result } from "../types/fp.js";
|
|
|
44
44
|
*
|
|
45
45
|
* Exa's published auto rate is **US$7 per 1,000 requests** for up to 10 results, or **US$8 per 1,000** including the ORQ markup. Exa charges use the actual cost reported by the provider.
|
|
46
46
|
*
|
|
47
|
-
* Perplexity's published Search API rate is **US$5 per 1,000 requests**. OpenAI web search costs **US$10 per 1,000 tool calls** plus the gpt-5.6-luna tokens of the Responses call, computed from the usage reported by OpenAI, so each search is typically US$0.012 to US$0.015 before the ORQ markup.
|
|
47
|
+
* Perplexity's published Search API rate is **US$5 per 1,000 requests** and DeepSeek's is **US$0.75 per 1,000 requests**. OpenAI web search costs **US$10 per 1,000 tool calls** plus the gpt-5.6-luna tokens of the Responses call, computed from the usage reported by OpenAI, so each search is typically US$0.012 to US$0.015 before the ORQ markup.
|
|
48
48
|
*
|
|
49
49
|
* A successful managed search is billable even if an output guardrail or output redaction failure prevents the results from being returned.
|
|
50
50
|
*
|
package/src/lib/config.ts
CHANGED
|
@@ -58,7 +58,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
58
58
|
export const SDK_METADATA = {
|
|
59
59
|
language: "typescript",
|
|
60
60
|
openapiDocVersion: "2.0",
|
|
61
|
-
sdkVersion: "4.16.
|
|
61
|
+
sdkVersion: "4.16.12",
|
|
62
62
|
genVersion: "2.948.4",
|
|
63
|
-
userAgent: "speakeasy-sdk/typescript 4.16.
|
|
63
|
+
userAgent: "speakeasy-sdk/typescript 4.16.12 2.948.4 2.0 @orq-ai/node",
|
|
64
64
|
} as const;
|
|
@@ -40,7 +40,7 @@ export const ReasoningPart$inboundSchema: z.ZodType<
|
|
|
40
40
|
z.ZodTypeDef,
|
|
41
41
|
unknown
|
|
42
42
|
> = z.object({
|
|
43
|
-
_id: z.string().default("
|
|
43
|
+
_id: z.string().default("reasoning_01m57sw3e4vgb6d1hztcjvdqcn"),
|
|
44
44
|
metadata: z.record(z.any()).optional(),
|
|
45
45
|
kind: z.literal("reasoning"),
|
|
46
46
|
reasoning: z.string(),
|
|
@@ -1575,7 +1575,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1575
1575
|
z.ZodTypeDef,
|
|
1576
1576
|
unknown
|
|
1577
1577
|
> = z.object({
|
|
1578
|
-
_id: z.string().default("
|
|
1578
|
+
_id: z.string().default("tool_01M57SW3GGP28B8XQW4VRPGVG8"),
|
|
1579
1579
|
path: z.string(),
|
|
1580
1580
|
key: z.string(),
|
|
1581
1581
|
display_name: z.string().optional(),
|
|
@@ -1761,7 +1761,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
1761
1761
|
z.ZodTypeDef,
|
|
1762
1762
|
unknown
|
|
1763
1763
|
> = z.object({
|
|
1764
|
-
_id: z.string().default("
|
|
1764
|
+
_id: z.string().default("tool_01M57SW3GG58A0SXCKDSBEBPA8"),
|
|
1765
1765
|
path: z.string(),
|
|
1766
1766
|
key: z.string(),
|
|
1767
1767
|
display_name: z.string().optional(),
|
|
@@ -1854,7 +1854,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1854
1854
|
z.ZodTypeDef,
|
|
1855
1855
|
unknown
|
|
1856
1856
|
> = z.object({
|
|
1857
|
-
_id: z.string().default("
|
|
1857
|
+
_id: z.string().default("tool_01M57SW3GEM0F0Y29Z2Q3ZPJ4E"),
|
|
1858
1858
|
path: z.string(),
|
|
1859
1859
|
key: z.string(),
|
|
1860
1860
|
display_name: z.string().optional(),
|
|
@@ -1955,7 +1955,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
1955
1955
|
z.ZodTypeDef,
|
|
1956
1956
|
unknown
|
|
1957
1957
|
> = z.object({
|
|
1958
|
-
_id: z.string().default("
|
|
1958
|
+
_id: z.string().default("tool_01M57SW3GEYWYN7WS3ZS6SM13B"),
|
|
1959
1959
|
path: z.string(),
|
|
1960
1960
|
key: z.string(),
|
|
1961
1961
|
display_name: z.string().optional(),
|