@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
|
@@ -6,7 +6,6 @@ import * as z from "zod/v3";
|
|
|
6
6
|
import { ClosedEnum } from "../../types/enums.js";
|
|
7
7
|
|
|
8
8
|
export const BudgetAlertDimension = {
|
|
9
|
-
BudgetAlertDimensionUnspecified: "BUDGET_ALERT_DIMENSION_UNSPECIFIED",
|
|
10
9
|
BudgetAlertDimensionCost: "BUDGET_ALERT_DIMENSION_COST",
|
|
11
10
|
BudgetAlertDimensionTokens: "BUDGET_ALERT_DIMENSION_TOKENS",
|
|
12
11
|
} as const;
|
|
@@ -6,7 +6,6 @@ import * as z from "zod/v3";
|
|
|
6
6
|
import { ClosedEnum } from "../../types/enums.js";
|
|
7
7
|
|
|
8
8
|
export const BudgetPeriod = {
|
|
9
|
-
BudgetPeriodUnspecified: "BUDGET_PERIOD_UNSPECIFIED",
|
|
10
9
|
BudgetPeriodDaily: "BUDGET_PERIOD_DAILY",
|
|
11
10
|
BudgetPeriodWeekly: "BUDGET_PERIOD_WEEKLY",
|
|
12
11
|
BudgetPeriodMonthly: "BUDGET_PERIOD_MONTHLY",
|
|
@@ -6,7 +6,6 @@ import * as z from "zod/v3";
|
|
|
6
6
|
import { ClosedEnum } from "../../types/enums.js";
|
|
7
7
|
|
|
8
8
|
export const BudgetScopeKind = {
|
|
9
|
-
BudgetScopeKindUnspecified: "BUDGET_SCOPE_KIND_UNSPECIFIED",
|
|
10
9
|
BudgetScopeKindWorkspace: "BUDGET_SCOPE_KIND_WORKSPACE",
|
|
11
10
|
BudgetScopeKindProject: "BUDGET_SCOPE_KIND_PROJECT",
|
|
12
11
|
BudgetScopeKindIdentity: "BUDGET_SCOPE_KIND_IDENTITY",
|
|
@@ -6,7 +6,6 @@ import * as z from "zod/v3";
|
|
|
6
6
|
import { ClosedEnum } from "../../types/enums.js";
|
|
7
7
|
|
|
8
8
|
export const BudgetSortField = {
|
|
9
|
-
BudgetSortFieldUnspecified: "BUDGET_SORT_FIELD_UNSPECIFIED",
|
|
10
9
|
BudgetSortFieldExpiresAt: "BUDGET_SORT_FIELD_EXPIRES_AT",
|
|
11
10
|
BudgetSortFieldCreatedAt: "BUDGET_SORT_FIELD_CREATED_AT",
|
|
12
11
|
BudgetSortFieldUpdatedAt: "BUDGET_SORT_FIELD_UPDATED_AT",
|
|
@@ -0,0 +1,53 @@
|
|
|
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 CreateAuditLogDestinationRequest = {
|
|
9
|
+
/**
|
|
10
|
+
* Required. Human-readable destination name, unique within the workspace.
|
|
11
|
+
*/
|
|
12
|
+
displayName: string;
|
|
13
|
+
/**
|
|
14
|
+
* Optional. Description of the receiving system.
|
|
15
|
+
*/
|
|
16
|
+
description?: string | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* Required. Absolute HTTPS URL. Private and loopback addresses are rejected.
|
|
19
|
+
*/
|
|
20
|
+
url: string;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
/** @internal */
|
|
24
|
+
export type CreateAuditLogDestinationRequest$Outbound = {
|
|
25
|
+
display_name: string;
|
|
26
|
+
description?: string | undefined;
|
|
27
|
+
url: string;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
/** @internal */
|
|
31
|
+
export const CreateAuditLogDestinationRequest$outboundSchema: z.ZodType<
|
|
32
|
+
CreateAuditLogDestinationRequest$Outbound,
|
|
33
|
+
z.ZodTypeDef,
|
|
34
|
+
CreateAuditLogDestinationRequest
|
|
35
|
+
> = z.object({
|
|
36
|
+
displayName: z.string(),
|
|
37
|
+
description: z.string().optional(),
|
|
38
|
+
url: z.string(),
|
|
39
|
+
}).transform((v) => {
|
|
40
|
+
return remap$(v, {
|
|
41
|
+
displayName: "display_name",
|
|
42
|
+
});
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
export function createAuditLogDestinationRequestToJSON(
|
|
46
|
+
createAuditLogDestinationRequest: CreateAuditLogDestinationRequest,
|
|
47
|
+
): string {
|
|
48
|
+
return JSON.stringify(
|
|
49
|
+
CreateAuditLogDestinationRequest$outboundSchema.parse(
|
|
50
|
+
createAuditLogDestinationRequest,
|
|
51
|
+
),
|
|
52
|
+
);
|
|
53
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
AuditLogDestination,
|
|
12
|
+
AuditLogDestination$inboundSchema,
|
|
13
|
+
} from "./auditlogdestination.js";
|
|
14
|
+
|
|
15
|
+
export type CreateAuditLogDestinationResponse = {
|
|
16
|
+
destination: AuditLogDestination;
|
|
17
|
+
/**
|
|
18
|
+
* Signing secret for verifying deliveries. Shown only in this response; store it securely.
|
|
19
|
+
*/
|
|
20
|
+
signingSecret: string;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
/** @internal */
|
|
24
|
+
export const CreateAuditLogDestinationResponse$inboundSchema: z.ZodType<
|
|
25
|
+
CreateAuditLogDestinationResponse,
|
|
26
|
+
z.ZodTypeDef,
|
|
27
|
+
unknown
|
|
28
|
+
> = z.object({
|
|
29
|
+
destination: AuditLogDestination$inboundSchema,
|
|
30
|
+
signing_secret: z.string(),
|
|
31
|
+
}).transform((v) => {
|
|
32
|
+
return remap$(v, {
|
|
33
|
+
"signing_secret": "signingSecret",
|
|
34
|
+
});
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
export function createAuditLogDestinationResponseFromJSON(
|
|
38
|
+
jsonString: string,
|
|
39
|
+
): SafeParseResult<CreateAuditLogDestinationResponse, SDKValidationError> {
|
|
40
|
+
return safeParse(
|
|
41
|
+
jsonString,
|
|
42
|
+
(x) => CreateAuditLogDestinationResponse$inboundSchema.parse(JSON.parse(x)),
|
|
43
|
+
`Failed to parse 'CreateAuditLogDestinationResponse' from JSON`,
|
|
44
|
+
);
|
|
45
|
+
}
|
|
@@ -27,11 +27,10 @@ export type CreateManagementKeyRequest = {
|
|
|
27
27
|
*/
|
|
28
28
|
access?: { [k: string]: AccessLevel } | undefined;
|
|
29
29
|
/**
|
|
30
|
-
* Optional expiration.
|
|
30
|
+
* Optional expiration. The key is rejected once `expires_at` is in the
|
|
31
31
|
*
|
|
32
32
|
* @remarks
|
|
33
|
-
*
|
|
34
|
-
* never expires.
|
|
33
|
+
* past. Unset means the key never expires.
|
|
35
34
|
*/
|
|
36
35
|
expiresAt?: Date | undefined;
|
|
37
36
|
};
|
|
@@ -55,6 +55,10 @@ export type CreateMcpGatewayRequest = {
|
|
|
55
55
|
* Plugins run on every tool call this gateway serves.
|
|
56
56
|
*/
|
|
57
57
|
plugins?: Array<McpGatewayPlugin> | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* Workspace skills this gateway serves to MCP clients through the MCP Skills extension.
|
|
60
|
+
*/
|
|
61
|
+
skillIds?: Array<string> | undefined;
|
|
58
62
|
};
|
|
59
63
|
|
|
60
64
|
/** @internal */
|
|
@@ -67,6 +71,7 @@ export type CreateMcpGatewayRequest$Outbound = {
|
|
|
67
71
|
mode?: string | undefined;
|
|
68
72
|
sharing?: Sharing$Outbound | undefined;
|
|
69
73
|
plugins?: Array<McpGatewayPlugin$Outbound> | undefined;
|
|
74
|
+
skill_ids?: Array<string> | undefined;
|
|
70
75
|
};
|
|
71
76
|
|
|
72
77
|
/** @internal */
|
|
@@ -83,11 +88,13 @@ export const CreateMcpGatewayRequest$outboundSchema: z.ZodType<
|
|
|
83
88
|
mode: McpGatewayMode$outboundSchema.optional(),
|
|
84
89
|
sharing: Sharing$outboundSchema.optional(),
|
|
85
90
|
plugins: z.array(McpGatewayPlugin$outboundSchema).optional(),
|
|
91
|
+
skillIds: z.array(z.string()).optional(),
|
|
86
92
|
}).transform((v) => {
|
|
87
93
|
return remap$(v, {
|
|
88
94
|
displayName: "display_name",
|
|
89
95
|
serverLinks: "server_links",
|
|
90
96
|
toolNaming: "tool_naming",
|
|
97
|
+
skillIds: "skill_ids",
|
|
91
98
|
});
|
|
92
99
|
});
|
|
93
100
|
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
export type DeleteAuditLogDestinationResponse = {};
|
|
11
|
+
|
|
12
|
+
/** @internal */
|
|
13
|
+
export const DeleteAuditLogDestinationResponse$inboundSchema: z.ZodType<
|
|
14
|
+
DeleteAuditLogDestinationResponse,
|
|
15
|
+
z.ZodTypeDef,
|
|
16
|
+
unknown
|
|
17
|
+
> = z.object({});
|
|
18
|
+
|
|
19
|
+
export function deleteAuditLogDestinationResponseFromJSON(
|
|
20
|
+
jsonString: string,
|
|
21
|
+
): SafeParseResult<DeleteAuditLogDestinationResponse, SDKValidationError> {
|
|
22
|
+
return safeParse(
|
|
23
|
+
jsonString,
|
|
24
|
+
(x) => DeleteAuditLogDestinationResponse$inboundSchema.parse(JSON.parse(x)),
|
|
25
|
+
`Failed to parse 'DeleteAuditLogDestinationResponse' from JSON`,
|
|
26
|
+
);
|
|
27
|
+
}
|
|
@@ -6,7 +6,6 @@ import * as z from "zod/v3";
|
|
|
6
6
|
import { ClosedEnum } from "../../types/enums.js";
|
|
7
7
|
|
|
8
8
|
export const DomainVerificationStatus = {
|
|
9
|
-
DomainVerificationStatusUnspecified: "DOMAIN_VERIFICATION_STATUS_UNSPECIFIED",
|
|
10
9
|
DomainVerificationStatusPending: "DOMAIN_VERIFICATION_STATUS_PENDING",
|
|
11
10
|
DomainVerificationStatusVerified: "DOMAIN_VERIFICATION_STATUS_VERIFIED",
|
|
12
11
|
} as const;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
export type EffectiveUserPermissions = {
|
|
11
|
+
permissions?: Array<string> | undefined;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
/** @internal */
|
|
15
|
+
export const EffectiveUserPermissions$inboundSchema: z.ZodType<
|
|
16
|
+
EffectiveUserPermissions,
|
|
17
|
+
z.ZodTypeDef,
|
|
18
|
+
unknown
|
|
19
|
+
> = z.object({
|
|
20
|
+
permissions: z.array(z.string()).optional(),
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
export function effectiveUserPermissionsFromJSON(
|
|
24
|
+
jsonString: string,
|
|
25
|
+
): SafeParseResult<EffectiveUserPermissions, SDKValidationError> {
|
|
26
|
+
return safeParse(
|
|
27
|
+
jsonString,
|
|
28
|
+
(x) => EffectiveUserPermissions$inboundSchema.parse(JSON.parse(x)),
|
|
29
|
+
`Failed to parse 'EffectiveUserPermissions' from JSON`,
|
|
30
|
+
);
|
|
31
|
+
}
|
|
@@ -6,7 +6,6 @@ import * as z from "zod/v3";
|
|
|
6
6
|
import { ClosedEnum } from "../../types/enums.js";
|
|
7
7
|
|
|
8
8
|
export const FilePurpose = {
|
|
9
|
-
FilePurposeUnspecified: "FILE_PURPOSE_UNSPECIFIED",
|
|
10
9
|
FilePurposeRetrieval: "FILE_PURPOSE_RETRIEVAL",
|
|
11
10
|
FilePurposeKnowledgeDatasource: "FILE_PURPOSE_KNOWLEDGE_DATASOURCE",
|
|
12
11
|
FilePurposeBatch: "FILE_PURPOSE_BATCH",
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import {
|
|
10
|
+
AuditLogDestination,
|
|
11
|
+
AuditLogDestination$inboundSchema,
|
|
12
|
+
} from "./auditlogdestination.js";
|
|
13
|
+
|
|
14
|
+
export type GetAuditLogDestinationResponse = {
|
|
15
|
+
destination: AuditLogDestination;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export const GetAuditLogDestinationResponse$inboundSchema: z.ZodType<
|
|
20
|
+
GetAuditLogDestinationResponse,
|
|
21
|
+
z.ZodTypeDef,
|
|
22
|
+
unknown
|
|
23
|
+
> = z.object({
|
|
24
|
+
destination: AuditLogDestination$inboundSchema,
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
export function getAuditLogDestinationResponseFromJSON(
|
|
28
|
+
jsonString: string,
|
|
29
|
+
): SafeParseResult<GetAuditLogDestinationResponse, SDKValidationError> {
|
|
30
|
+
return safeParse(
|
|
31
|
+
jsonString,
|
|
32
|
+
(x) => GetAuditLogDestinationResponse$inboundSchema.parse(JSON.parse(x)),
|
|
33
|
+
`Failed to parse 'GetAuditLogDestinationResponse' from JSON`,
|
|
34
|
+
);
|
|
35
|
+
}
|
|
@@ -6,7 +6,6 @@ import * as z from "zod/v3";
|
|
|
6
6
|
import { ClosedEnum } from "../../types/enums.js";
|
|
7
7
|
|
|
8
8
|
export const IdentitySortField = {
|
|
9
|
-
IdentitySortFieldUnspecified: "IDENTITY_SORT_FIELD_UNSPECIFIED",
|
|
10
9
|
IdentitySortFieldDisplayName: "IDENTITY_SORT_FIELD_DISPLAY_NAME",
|
|
11
10
|
IdentitySortFieldUpdated: "IDENTITY_SORT_FIELD_UPDATED",
|
|
12
11
|
} as const;
|
|
@@ -46,6 +46,11 @@ export * from "./apikeybudgetscope.js";
|
|
|
46
46
|
export * from "./apikeybudgetscoperestresponse.js";
|
|
47
47
|
export * from "./apikeyrestresponse.js";
|
|
48
48
|
export * from "./audiocontentpartschema.js";
|
|
49
|
+
export * from "./auditlogdelivery.js";
|
|
50
|
+
export * from "./auditlogdeliverykind.js";
|
|
51
|
+
export * from "./auditlogdeliverystatus.js";
|
|
52
|
+
export * from "./auditlogdestination.js";
|
|
53
|
+
export * from "./auditlogdestinationstatus.js";
|
|
49
54
|
export * from "./autorouterconfig.js";
|
|
50
55
|
export * from "./autorouterv2config.js";
|
|
51
56
|
export * from "./autorouterv2creatorconfig.js";
|
|
@@ -109,6 +114,8 @@ export * from "./createagentresponse.js";
|
|
|
109
114
|
export * from "./createalertrequest.js";
|
|
110
115
|
export * from "./createalertresponse.js";
|
|
111
116
|
export * from "./createannotationqueuerequest.js";
|
|
117
|
+
export * from "./createauditlogdestinationrequest.js";
|
|
118
|
+
export * from "./createauditlogdestinationresponse.js";
|
|
112
119
|
export * from "./createbudgetrequest.js";
|
|
113
120
|
export * from "./createbudgetresponse.js";
|
|
114
121
|
export * from "./createdatasetrequest.js";
|
|
@@ -175,6 +182,7 @@ export * from "./datasourcesservicepreviewchunksrequest.js";
|
|
|
175
182
|
export * from "./datasourcesservicepreviewchunksresponse.js";
|
|
176
183
|
export * from "./datasourcesserviceupdaterequest.js";
|
|
177
184
|
export * from "./deletealertresponse.js";
|
|
185
|
+
export * from "./deleteauditlogdestinationresponse.js";
|
|
178
186
|
export * from "./deletebudgetresponse.js";
|
|
179
187
|
export * from "./deletedatapointsrequest.js";
|
|
180
188
|
export * from "./deleteenvironmentresponse.js";
|
|
@@ -203,6 +211,7 @@ export * from "./detectresponse.js";
|
|
|
203
211
|
export * from "./domain.js";
|
|
204
212
|
export * from "./domainverification.js";
|
|
205
213
|
export * from "./domainverificationstatus.js";
|
|
214
|
+
export * from "./effectiveuserpermissions.js";
|
|
206
215
|
export * from "./embeddingcacheconfig.js";
|
|
207
216
|
export * from "./embeddingcontactparams.js";
|
|
208
217
|
export * from "./embeddingdimensionsupport.js";
|
|
@@ -255,6 +264,7 @@ export * from "./functiontoolinput.js";
|
|
|
255
264
|
export * from "./generatewebhooksecretresponse.js";
|
|
256
265
|
export * from "./getagentresponse.js";
|
|
257
266
|
export * from "./getalertresponse.js";
|
|
267
|
+
export * from "./getauditlogdestinationresponse.js";
|
|
258
268
|
export * from "./getbudgetresponse.js";
|
|
259
269
|
export * from "./getenvironmentresponse.js";
|
|
260
270
|
export * from "./getexternalagentresponse.js";
|
|
@@ -327,6 +337,8 @@ export * from "./listalerttriggereventsresponse.js";
|
|
|
327
337
|
export * from "./listalerttriggersresponse.js";
|
|
328
338
|
export * from "./listannotationqueueitemsresponse.js";
|
|
329
339
|
export * from "./listannotationqueuesresponse.js";
|
|
340
|
+
export * from "./listauditlogdeliveriesresponse.js";
|
|
341
|
+
export * from "./listauditlogdestinationsresponse.js";
|
|
330
342
|
export * from "./listbudgetsresponse.js";
|
|
331
343
|
export * from "./listdatapointsresponse.js";
|
|
332
344
|
export * from "./listdatasetsresponse.js";
|
|
@@ -411,6 +423,9 @@ export * from "./mcpheadersecretoutput.js";
|
|
|
411
423
|
export * from "./mcpoauthconfig.js";
|
|
412
424
|
export * from "./mcpoauthconfigoutput.js";
|
|
413
425
|
export * from "./mcpserver.js";
|
|
426
|
+
export * from "./mcpskill.js";
|
|
427
|
+
export * from "./mcpskillexposure.js";
|
|
428
|
+
export * from "./mcpskillfile.js";
|
|
414
429
|
export * from "./mcpsyncstate.js";
|
|
415
430
|
export * from "./mcptool.js";
|
|
416
431
|
export * from "./mcptoolannotations.js";
|
|
@@ -521,6 +536,8 @@ export * from "./refreshwikirequest.js";
|
|
|
521
536
|
export * from "./refreshwikiresponse.js";
|
|
522
537
|
export * from "./refusalpartschema.js";
|
|
523
538
|
export * from "./removeannotationqueueitemsrequest.js";
|
|
539
|
+
export * from "./replayauditlogdeliveriesrequest.js";
|
|
540
|
+
export * from "./replayauditlogdeliveriesresponse.js";
|
|
524
541
|
export * from "./requestlimit.js";
|
|
525
542
|
export * from "./requestprojectscope.js";
|
|
526
543
|
export * from "./rerankconfig.js";
|
|
@@ -604,6 +621,7 @@ export * from "./retrieveidentityresponse.js";
|
|
|
604
621
|
export * from "./retrieveknowledgebasestoolinput.js";
|
|
605
622
|
export * from "./retrievememorystorestoolinput.js";
|
|
606
623
|
export * from "./reviewoutcome.js";
|
|
624
|
+
export * from "./rotateauditlogdestinationsecretresponse.js";
|
|
607
625
|
export * from "./routingrule.js";
|
|
608
626
|
export * from "./routingrulecacheconfig.js";
|
|
609
627
|
export * from "./routingruleexpression.js";
|
|
@@ -663,6 +681,7 @@ export * from "./telemetryrow.js";
|
|
|
663
681
|
export * from "./telemetrysource.js";
|
|
664
682
|
export * from "./telemetrysourcecapability.js";
|
|
665
683
|
export * from "./telemetryvaluecardinality.js";
|
|
684
|
+
export * from "./testauditlogdestinationresponse.js";
|
|
666
685
|
export * from "./testexternalagentconnectionrequest.js";
|
|
667
686
|
export * from "./testexternalagentconnectionresponse.js";
|
|
668
687
|
export * from "./testmcpservertoolrequest.js";
|
|
@@ -709,6 +728,8 @@ export * from "./traceusage.js";
|
|
|
709
728
|
export * from "./updatealertrequest.js";
|
|
710
729
|
export * from "./updatealertresponse.js";
|
|
711
730
|
export * from "./updateannotationqueuerequest.js";
|
|
731
|
+
export * from "./updateauditlogdestinationrequest.js";
|
|
732
|
+
export * from "./updateauditlogdestinationresponse.js";
|
|
712
733
|
export * from "./updatebudgetrequest.js";
|
|
713
734
|
export * from "./updatebudgetresponse.js";
|
|
714
735
|
export * from "./updatedatapointrequest.js";
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
AuditLogDelivery,
|
|
12
|
+
AuditLogDelivery$inboundSchema,
|
|
13
|
+
} from "./auditlogdelivery.js";
|
|
14
|
+
|
|
15
|
+
export type ListAuditLogDeliveriesResponse = {
|
|
16
|
+
object: string;
|
|
17
|
+
data: Array<AuditLogDelivery>;
|
|
18
|
+
hasMore: boolean;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
/** @internal */
|
|
22
|
+
export const ListAuditLogDeliveriesResponse$inboundSchema: z.ZodType<
|
|
23
|
+
ListAuditLogDeliveriesResponse,
|
|
24
|
+
z.ZodTypeDef,
|
|
25
|
+
unknown
|
|
26
|
+
> = z.object({
|
|
27
|
+
object: z.string(),
|
|
28
|
+
data: z.array(AuditLogDelivery$inboundSchema),
|
|
29
|
+
has_more: z.boolean(),
|
|
30
|
+
}).transform((v) => {
|
|
31
|
+
return remap$(v, {
|
|
32
|
+
"has_more": "hasMore",
|
|
33
|
+
});
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
export function listAuditLogDeliveriesResponseFromJSON(
|
|
37
|
+
jsonString: string,
|
|
38
|
+
): SafeParseResult<ListAuditLogDeliveriesResponse, SDKValidationError> {
|
|
39
|
+
return safeParse(
|
|
40
|
+
jsonString,
|
|
41
|
+
(x) => ListAuditLogDeliveriesResponse$inboundSchema.parse(JSON.parse(x)),
|
|
42
|
+
`Failed to parse 'ListAuditLogDeliveriesResponse' from JSON`,
|
|
43
|
+
);
|
|
44
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
AuditLogDestination,
|
|
12
|
+
AuditLogDestination$inboundSchema,
|
|
13
|
+
} from "./auditlogdestination.js";
|
|
14
|
+
|
|
15
|
+
export type ListAuditLogDestinationsResponse = {
|
|
16
|
+
object: string;
|
|
17
|
+
data: Array<AuditLogDestination>;
|
|
18
|
+
hasMore: boolean;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
/** @internal */
|
|
22
|
+
export const ListAuditLogDestinationsResponse$inboundSchema: z.ZodType<
|
|
23
|
+
ListAuditLogDestinationsResponse,
|
|
24
|
+
z.ZodTypeDef,
|
|
25
|
+
unknown
|
|
26
|
+
> = z.object({
|
|
27
|
+
object: z.string(),
|
|
28
|
+
data: z.array(AuditLogDestination$inboundSchema),
|
|
29
|
+
has_more: z.boolean(),
|
|
30
|
+
}).transform((v) => {
|
|
31
|
+
return remap$(v, {
|
|
32
|
+
"has_more": "hasMore",
|
|
33
|
+
});
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
export function listAuditLogDestinationsResponseFromJSON(
|
|
37
|
+
jsonString: string,
|
|
38
|
+
): SafeParseResult<ListAuditLogDestinationsResponse, SDKValidationError> {
|
|
39
|
+
return safeParse(
|
|
40
|
+
jsonString,
|
|
41
|
+
(x) => ListAuditLogDestinationsResponse$inboundSchema.parse(JSON.parse(x)),
|
|
42
|
+
`Failed to parse 'ListAuditLogDestinationsResponse' from JSON`,
|
|
43
|
+
);
|
|
44
|
+
}
|
|
@@ -9,7 +9,7 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* Log is
|
|
12
|
+
* Log is a log record returned by the log endpoints.
|
|
13
13
|
*/
|
|
14
14
|
export type Log = {
|
|
15
15
|
id?: string | undefined;
|
|
@@ -77,10 +77,10 @@ export type ManagementKey = {
|
|
|
77
77
|
*/
|
|
78
78
|
lastUsedAt?: Date | undefined;
|
|
79
79
|
/**
|
|
80
|
-
* Optional expiration.
|
|
80
|
+
* Optional expiration. Keys whose `expires_at` is in the past are
|
|
81
81
|
*
|
|
82
82
|
* @remarks
|
|
83
|
-
*
|
|
83
|
+
* rejected when used. Unset means the key never expires.
|
|
84
84
|
*/
|
|
85
85
|
expiresAt?: Date | undefined;
|
|
86
86
|
};
|
|
@@ -6,7 +6,6 @@ import * as z from "zod/v3";
|
|
|
6
6
|
import { ClosedEnum } from "../../types/enums.js";
|
|
7
7
|
|
|
8
8
|
export const ManagementKeyStatus = {
|
|
9
|
-
ManagementKeyStatusUnspecified: "MANAGEMENT_KEY_STATUS_UNSPECIFIED",
|
|
10
9
|
ManagementKeyStatusActive: "MANAGEMENT_KEY_STATUS_ACTIVE",
|
|
11
10
|
ManagementKeyStatusDisabled: "MANAGEMENT_KEY_STATUS_DISABLED",
|
|
12
11
|
ManagementKeyStatusRevoked: "MANAGEMENT_KEY_STATUS_REVOKED",
|
|
@@ -6,7 +6,6 @@ import * as z from "zod/v3";
|
|
|
6
6
|
import { ClosedEnum } from "../../types/enums.js";
|
|
7
7
|
|
|
8
8
|
export const ManagementPermissionMode = {
|
|
9
|
-
ManagementPermissionModeUnspecified: "MANAGEMENT_PERMISSION_MODE_UNSPECIFIED",
|
|
10
9
|
ManagementPermissionModeAll: "MANAGEMENT_PERMISSION_MODE_ALL",
|
|
11
10
|
ManagementPermissionModeRestricted: "MANAGEMENT_PERMISSION_MODE_RESTRICTED",
|
|
12
11
|
ManagementPermissionModeReadOnly: "MANAGEMENT_PERMISSION_MODE_READ_ONLY",
|
|
@@ -6,7 +6,6 @@ import * as z from "zod/v3";
|
|
|
6
6
|
import { ClosedEnum } from "../../types/enums.js";
|
|
7
7
|
|
|
8
8
|
export const McpAuthType = {
|
|
9
|
-
McpAuthTypeUnspecified: "MCP_AUTH_TYPE_UNSPECIFIED",
|
|
10
9
|
McpAuthTypeNone: "MCP_AUTH_TYPE_NONE",
|
|
11
10
|
McpAuthTypeStaticHeaders: "MCP_AUTH_TYPE_STATIC_HEADERS",
|
|
12
11
|
McpAuthTypeOauthClientCredentials: "MCP_AUTH_TYPE_OAUTH_CLIENT_CREDENTIALS",
|
|
@@ -6,7 +6,6 @@ import * as z from "zod/v3";
|
|
|
6
6
|
import { ClosedEnum } from "../../types/enums.js";
|
|
7
7
|
|
|
8
8
|
export const McpConnectionType = {
|
|
9
|
-
McpConnectionTypeUnspecified: "MCP_CONNECTION_TYPE_UNSPECIFIED",
|
|
10
9
|
McpConnectionTypeHttp: "MCP_CONNECTION_TYPE_HTTP",
|
|
11
10
|
McpConnectionTypeSse: "MCP_CONNECTION_TYPE_SSE",
|
|
12
11
|
McpConnectionTypeStdio: "MCP_CONNECTION_TYPE_STDIO",
|
|
@@ -74,6 +74,10 @@ export type McpGateway = {
|
|
|
74
74
|
* Plugins run on every tool call this gateway serves.
|
|
75
75
|
*/
|
|
76
76
|
plugins?: Array<McpGatewayPlugin> | undefined;
|
|
77
|
+
/**
|
|
78
|
+
* Workspace skills this gateway serves to MCP clients through the MCP Skills extension.
|
|
79
|
+
*/
|
|
80
|
+
skillIds?: Array<string> | undefined;
|
|
77
81
|
};
|
|
78
82
|
|
|
79
83
|
/** @internal */
|
|
@@ -96,6 +100,7 @@ export const McpGateway$inboundSchema: z.ZodType<
|
|
|
96
100
|
mode: McpGatewayMode$inboundSchema.optional(),
|
|
97
101
|
sharing: Sharing$inboundSchema.optional(),
|
|
98
102
|
plugins: z.array(McpGatewayPlugin$inboundSchema).optional(),
|
|
103
|
+
skill_ids: z.array(z.string()).optional(),
|
|
99
104
|
}).transform((v) => {
|
|
100
105
|
return remap$(v, {
|
|
101
106
|
"display_name": "displayName",
|
|
@@ -103,6 +108,7 @@ export const McpGateway$inboundSchema: z.ZodType<
|
|
|
103
108
|
"tool_naming": "toolNaming",
|
|
104
109
|
"public_url": "publicUrl",
|
|
105
110
|
"exposed_tools_count": "exposedToolsCount",
|
|
111
|
+
"skill_ids": "skillIds",
|
|
106
112
|
});
|
|
107
113
|
});
|
|
108
114
|
|
|
@@ -6,7 +6,6 @@ import * as z from "zod/v3";
|
|
|
6
6
|
import { ClosedEnum } from "../../types/enums.js";
|
|
7
7
|
|
|
8
8
|
export const McpGatewayMode = {
|
|
9
|
-
McpGatewayModeUnspecified: "MCP_GATEWAY_MODE_UNSPECIFIED",
|
|
10
9
|
McpGatewayModeCode: "MCP_GATEWAY_MODE_CODE",
|
|
11
10
|
McpGatewayModeDirect: "MCP_GATEWAY_MODE_DIRECT",
|
|
12
11
|
} as const;
|