@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
|
@@ -7,6 +7,12 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
McpSkillExposure,
|
|
12
|
+
McpSkillExposure$inboundSchema,
|
|
13
|
+
McpSkillExposure$Outbound,
|
|
14
|
+
McpSkillExposure$outboundSchema,
|
|
15
|
+
} from "./mcpskillexposure.js";
|
|
10
16
|
import {
|
|
11
17
|
McpToolExposure,
|
|
12
18
|
McpToolExposure$inboundSchema,
|
|
@@ -31,6 +37,10 @@ export type McpGatewayServerLink = {
|
|
|
31
37
|
* Narrows which of the server's tools this gateway exposes.
|
|
32
38
|
*/
|
|
33
39
|
toolExposure: McpToolExposure;
|
|
40
|
+
/**
|
|
41
|
+
* Which of the server's skills this gateway serves. Unset serves none.
|
|
42
|
+
*/
|
|
43
|
+
skillExposure?: McpSkillExposure | undefined;
|
|
34
44
|
};
|
|
35
45
|
|
|
36
46
|
/** @internal */
|
|
@@ -43,10 +53,12 @@ export const McpGatewayServerLink$inboundSchema: z.ZodType<
|
|
|
43
53
|
alias: z.string(),
|
|
44
54
|
enabled: z.boolean().optional(),
|
|
45
55
|
tool_exposure: McpToolExposure$inboundSchema,
|
|
56
|
+
skill_exposure: McpSkillExposure$inboundSchema.optional(),
|
|
46
57
|
}).transform((v) => {
|
|
47
58
|
return remap$(v, {
|
|
48
59
|
"mcp_server_id": "mcpServerId",
|
|
49
60
|
"tool_exposure": "toolExposure",
|
|
61
|
+
"skill_exposure": "skillExposure",
|
|
50
62
|
});
|
|
51
63
|
});
|
|
52
64
|
/** @internal */
|
|
@@ -55,6 +67,7 @@ export type McpGatewayServerLink$Outbound = {
|
|
|
55
67
|
alias: string;
|
|
56
68
|
enabled?: boolean | undefined;
|
|
57
69
|
tool_exposure: McpToolExposure$Outbound;
|
|
70
|
+
skill_exposure?: McpSkillExposure$Outbound | undefined;
|
|
58
71
|
};
|
|
59
72
|
|
|
60
73
|
/** @internal */
|
|
@@ -67,10 +80,12 @@ export const McpGatewayServerLink$outboundSchema: z.ZodType<
|
|
|
67
80
|
alias: z.string(),
|
|
68
81
|
enabled: z.boolean().optional(),
|
|
69
82
|
toolExposure: McpToolExposure$outboundSchema,
|
|
83
|
+
skillExposure: McpSkillExposure$outboundSchema.optional(),
|
|
70
84
|
}).transform((v) => {
|
|
71
85
|
return remap$(v, {
|
|
72
86
|
mcpServerId: "mcp_server_id",
|
|
73
87
|
toolExposure: "tool_exposure",
|
|
88
|
+
skillExposure: "skill_exposure",
|
|
74
89
|
});
|
|
75
90
|
});
|
|
76
91
|
|
|
@@ -6,7 +6,6 @@ import * as z from "zod/v3";
|
|
|
6
6
|
import { ClosedEnum } from "../../types/enums.js";
|
|
7
7
|
|
|
8
8
|
export const McpGatewayStatus = {
|
|
9
|
-
McpGatewayStatusUnspecified: "MCP_GATEWAY_STATUS_UNSPECIFIED",
|
|
10
9
|
McpGatewayStatusActive: "MCP_GATEWAY_STATUS_ACTIVE",
|
|
11
10
|
McpGatewayStatusDisabled: "MCP_GATEWAY_STATUS_DISABLED",
|
|
12
11
|
} as const;
|
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
McpAuthConfigOutput$inboundSchema,
|
|
13
13
|
} from "./mcpauthconfigoutput.js";
|
|
14
14
|
import { McpConnection, McpConnection$inboundSchema } from "./mcpconnection.js";
|
|
15
|
+
import { McpSkill, McpSkill$inboundSchema } from "./mcpskill.js";
|
|
15
16
|
import { McpSyncState, McpSyncState$inboundSchema } from "./mcpsyncstate.js";
|
|
16
17
|
import { McpTool, McpTool$inboundSchema } from "./mcptool.js";
|
|
17
18
|
import {
|
|
@@ -73,6 +74,10 @@ export type McpServer = {
|
|
|
73
74
|
* Account that created the server.
|
|
74
75
|
*/
|
|
75
76
|
createdById?: string | undefined;
|
|
77
|
+
/**
|
|
78
|
+
* Skills the upstream publishes through the MCP Skills extension, discovered by the last successful `:sync`.
|
|
79
|
+
*/
|
|
80
|
+
skills?: Array<McpSkill> | undefined;
|
|
76
81
|
};
|
|
77
82
|
|
|
78
83
|
/** @internal */
|
|
@@ -94,6 +99,7 @@ export const McpServer$inboundSchema: z.ZodType<
|
|
|
94
99
|
updated: z.string().optional(),
|
|
95
100
|
sharing: Sharing$inboundSchema.optional(),
|
|
96
101
|
created_by_id: z.string().optional(),
|
|
102
|
+
skills: z.array(McpSkill$inboundSchema).optional(),
|
|
97
103
|
}).transform((v) => {
|
|
98
104
|
return remap$(v, {
|
|
99
105
|
"display_name": "displayName",
|
|
@@ -0,0 +1,85 @@
|
|
|
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 { McpSkillFile, McpSkillFile$inboundSchema } from "./mcpskillfile.js";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Full `SKILL.md` frontmatter as published upstream.
|
|
13
|
+
*/
|
|
14
|
+
export type Frontmatter = {};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* A skill an upstream server publishes through the MCP Skills extension (`io.modelcontextprotocol/skills`).
|
|
18
|
+
*/
|
|
19
|
+
export type McpSkill = {
|
|
20
|
+
/**
|
|
21
|
+
* Resource URI of the skill's `SKILL.md` on the upstream server.
|
|
22
|
+
*/
|
|
23
|
+
uri?: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* Skill name from the `SKILL.md` frontmatter.
|
|
26
|
+
*/
|
|
27
|
+
name?: string | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* Skill description from the `SKILL.md` frontmatter.
|
|
30
|
+
*/
|
|
31
|
+
description?: string | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* Full `SKILL.md` frontmatter as published upstream.
|
|
34
|
+
*/
|
|
35
|
+
frontmatter?: Frontmatter | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* Manifest of the skill's files; empty when the skill is dynamic.
|
|
38
|
+
*/
|
|
39
|
+
files?: Array<McpSkillFile> | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* Upstream generates the skill's content and publishes no manifest.
|
|
42
|
+
*/
|
|
43
|
+
dynamic?: boolean | undefined;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
/** @internal */
|
|
47
|
+
export const Frontmatter$inboundSchema: z.ZodType<
|
|
48
|
+
Frontmatter,
|
|
49
|
+
z.ZodTypeDef,
|
|
50
|
+
unknown
|
|
51
|
+
> = z.object({});
|
|
52
|
+
|
|
53
|
+
export function frontmatterFromJSON(
|
|
54
|
+
jsonString: string,
|
|
55
|
+
): SafeParseResult<Frontmatter, SDKValidationError> {
|
|
56
|
+
return safeParse(
|
|
57
|
+
jsonString,
|
|
58
|
+
(x) => Frontmatter$inboundSchema.parse(JSON.parse(x)),
|
|
59
|
+
`Failed to parse 'Frontmatter' from JSON`,
|
|
60
|
+
);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/** @internal */
|
|
64
|
+
export const McpSkill$inboundSchema: z.ZodType<
|
|
65
|
+
McpSkill,
|
|
66
|
+
z.ZodTypeDef,
|
|
67
|
+
unknown
|
|
68
|
+
> = z.object({
|
|
69
|
+
uri: z.string().optional(),
|
|
70
|
+
name: z.string().optional(),
|
|
71
|
+
description: z.string().optional(),
|
|
72
|
+
frontmatter: z.lazy(() => Frontmatter$inboundSchema).optional(),
|
|
73
|
+
files: z.array(McpSkillFile$inboundSchema).optional(),
|
|
74
|
+
dynamic: z.boolean().optional(),
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
export function mcpSkillFromJSON(
|
|
78
|
+
jsonString: string,
|
|
79
|
+
): SafeParseResult<McpSkill, SDKValidationError> {
|
|
80
|
+
return safeParse(
|
|
81
|
+
jsonString,
|
|
82
|
+
(x) => McpSkill$inboundSchema.parse(JSON.parse(x)),
|
|
83
|
+
`Failed to parse 'McpSkill' from JSON`,
|
|
84
|
+
);
|
|
85
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
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
|
+
McpToolExposureMode,
|
|
12
|
+
McpToolExposureMode$inboundSchema,
|
|
13
|
+
McpToolExposureMode$outboundSchema,
|
|
14
|
+
} from "./mcptoolexposuremode.js";
|
|
15
|
+
|
|
16
|
+
export type McpSkillExposure = {
|
|
17
|
+
mode: McpToolExposureMode;
|
|
18
|
+
/**
|
|
19
|
+
* `McpSkill.uri` values to expose when mode is SELECTED.
|
|
20
|
+
*/
|
|
21
|
+
skillUris?: Array<string> | undefined;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const McpSkillExposure$inboundSchema: z.ZodType<
|
|
26
|
+
McpSkillExposure,
|
|
27
|
+
z.ZodTypeDef,
|
|
28
|
+
unknown
|
|
29
|
+
> = z.object({
|
|
30
|
+
mode: McpToolExposureMode$inboundSchema,
|
|
31
|
+
skill_uris: z.array(z.string()).optional(),
|
|
32
|
+
}).transform((v) => {
|
|
33
|
+
return remap$(v, {
|
|
34
|
+
"skill_uris": "skillUris",
|
|
35
|
+
});
|
|
36
|
+
});
|
|
37
|
+
/** @internal */
|
|
38
|
+
export type McpSkillExposure$Outbound = {
|
|
39
|
+
mode: string;
|
|
40
|
+
skill_uris?: Array<string> | undefined;
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
/** @internal */
|
|
44
|
+
export const McpSkillExposure$outboundSchema: z.ZodType<
|
|
45
|
+
McpSkillExposure$Outbound,
|
|
46
|
+
z.ZodTypeDef,
|
|
47
|
+
McpSkillExposure
|
|
48
|
+
> = z.object({
|
|
49
|
+
mode: McpToolExposureMode$outboundSchema,
|
|
50
|
+
skillUris: z.array(z.string()).optional(),
|
|
51
|
+
}).transform((v) => {
|
|
52
|
+
return remap$(v, {
|
|
53
|
+
skillUris: "skill_uris",
|
|
54
|
+
});
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
export function mcpSkillExposureToJSON(
|
|
58
|
+
mcpSkillExposure: McpSkillExposure,
|
|
59
|
+
): string {
|
|
60
|
+
return JSON.stringify(
|
|
61
|
+
McpSkillExposure$outboundSchema.parse(mcpSkillExposure),
|
|
62
|
+
);
|
|
63
|
+
}
|
|
64
|
+
export function mcpSkillExposureFromJSON(
|
|
65
|
+
jsonString: string,
|
|
66
|
+
): SafeParseResult<McpSkillExposure, SDKValidationError> {
|
|
67
|
+
return safeParse(
|
|
68
|
+
jsonString,
|
|
69
|
+
(x) => McpSkillExposure$inboundSchema.parse(JSON.parse(x)),
|
|
70
|
+
`Failed to parse 'McpSkillExposure' from JSON`,
|
|
71
|
+
);
|
|
72
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
/**
|
|
11
|
+
* A file of an upstream skill, as listed in the skill's manifest.
|
|
12
|
+
*/
|
|
13
|
+
export type McpSkillFile = {
|
|
14
|
+
/**
|
|
15
|
+
* Resource URI of the file on the upstream server.
|
|
16
|
+
*/
|
|
17
|
+
uri?: string | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* SHA-256 digest of the file's raw bytes, formatted as `sha256:{hex}`.
|
|
20
|
+
*/
|
|
21
|
+
digest?: string | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* Length in bytes of the file's raw content.
|
|
24
|
+
*/
|
|
25
|
+
size?: string | undefined;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export const McpSkillFile$inboundSchema: z.ZodType<
|
|
30
|
+
McpSkillFile,
|
|
31
|
+
z.ZodTypeDef,
|
|
32
|
+
unknown
|
|
33
|
+
> = z.object({
|
|
34
|
+
uri: z.string().optional(),
|
|
35
|
+
digest: z.string().optional(),
|
|
36
|
+
size: z.string().optional(),
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
export function mcpSkillFileFromJSON(
|
|
40
|
+
jsonString: string,
|
|
41
|
+
): SafeParseResult<McpSkillFile, SDKValidationError> {
|
|
42
|
+
return safeParse(
|
|
43
|
+
jsonString,
|
|
44
|
+
(x) => McpSkillFile$inboundSchema.parse(JSON.parse(x)),
|
|
45
|
+
`Failed to parse 'McpSkillFile' from JSON`,
|
|
46
|
+
);
|
|
47
|
+
}
|
|
@@ -31,6 +31,10 @@ export type McpSyncState = {
|
|
|
31
31
|
* Failures reported by the last sync.
|
|
32
32
|
*/
|
|
33
33
|
errors?: Array<string> | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* Skills in the catalog after the last sync.
|
|
36
|
+
*/
|
|
37
|
+
skillsTotal?: number | undefined;
|
|
34
38
|
};
|
|
35
39
|
|
|
36
40
|
/** @internal */
|
|
@@ -45,12 +49,14 @@ export const McpSyncState$inboundSchema: z.ZodType<
|
|
|
45
49
|
tools_removed: z.number().int().optional(),
|
|
46
50
|
last_synced_at: z.string().optional(),
|
|
47
51
|
errors: z.array(z.string()).optional(),
|
|
52
|
+
skills_total: z.number().int().optional(),
|
|
48
53
|
}).transform((v) => {
|
|
49
54
|
return remap$(v, {
|
|
50
55
|
"tools_total": "toolsTotal",
|
|
51
56
|
"tools_added": "toolsAdded",
|
|
52
57
|
"tools_removed": "toolsRemoved",
|
|
53
58
|
"last_synced_at": "lastSyncedAt",
|
|
59
|
+
"skills_total": "skillsTotal",
|
|
54
60
|
});
|
|
55
61
|
});
|
|
56
62
|
|
|
@@ -6,7 +6,6 @@ import * as z from "zod/v3";
|
|
|
6
6
|
import { ClosedEnum } from "../../types/enums.js";
|
|
7
7
|
|
|
8
8
|
export const McpToolExposureMode = {
|
|
9
|
-
McpToolExposureModeUnspecified: "MCP_TOOL_EXPOSURE_MODE_UNSPECIFIED",
|
|
10
9
|
McpToolExposureModeAll: "MCP_TOOL_EXPOSURE_MODE_ALL",
|
|
11
10
|
McpToolExposureModeSelected: "MCP_TOOL_EXPOSURE_MODE_SELECTED",
|
|
12
11
|
McpToolExposureModeNone: "MCP_TOOL_EXPOSURE_MODE_NONE",
|
|
@@ -6,7 +6,6 @@ import * as z from "zod/v3";
|
|
|
6
6
|
import { ClosedEnum } from "../../types/enums.js";
|
|
7
7
|
|
|
8
8
|
export const McpToolNaming = {
|
|
9
|
-
McpToolNamingUnspecified: "MCP_TOOL_NAMING_UNSPECIFIED",
|
|
10
9
|
McpToolNamingPrefixWithServerKey: "MCP_TOOL_NAMING_PREFIX_WITH_SERVER_KEY",
|
|
11
10
|
McpToolNamingPrefixOnCollision: "MCP_TOOL_NAMING_PREFIX_ON_COLLISION",
|
|
12
11
|
} as const;
|
|
@@ -36,6 +36,9 @@ export type ModelDocument = {
|
|
|
36
36
|
inputCost: number | null;
|
|
37
37
|
inputCurrency: string;
|
|
38
38
|
isActive: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
41
|
+
*/
|
|
39
42
|
legacyUuid?: string | undefined;
|
|
40
43
|
metadata: ModelMetadata;
|
|
41
44
|
modelDeveloper?: string | undefined;
|
|
@@ -6,7 +6,6 @@ import * as z from "zod/v3";
|
|
|
6
6
|
import { ClosedEnum } from "../../types/enums.js";
|
|
7
7
|
|
|
8
8
|
export const ModelFusionPreset = {
|
|
9
|
-
ModelFusionPresetUnspecified: "MODEL_FUSION_PRESET_UNSPECIFIED",
|
|
10
9
|
ModelFusionPresetGeneral: "MODEL_FUSION_PRESET_GENERAL",
|
|
11
10
|
ModelFusionPresetQuality: "MODEL_FUSION_PRESET_QUALITY",
|
|
12
11
|
ModelFusionPresetBudget: "MODEL_FUSION_PRESET_BUDGET",
|
|
@@ -6,8 +6,6 @@ import * as z from "zod/v3";
|
|
|
6
6
|
import { ClosedEnum } from "../../types/enums.js";
|
|
7
7
|
|
|
8
8
|
export const ModelFusionSynthesisMode = {
|
|
9
|
-
ModelFusionSynthesisModeUnspecified:
|
|
10
|
-
"MODEL_FUSION_SYNTHESIS_MODE_UNSPECIFIED",
|
|
11
9
|
ModelFusionSynthesisModeAnalysis: "MODEL_FUSION_SYNTHESIS_MODE_ANALYSIS",
|
|
12
10
|
ModelFusionSynthesisModeJudgeWritesFinal:
|
|
13
11
|
"MODEL_FUSION_SYNTHESIS_MODE_JUDGE_WRITES_FINAL",
|
|
@@ -6,7 +6,6 @@ import * as z from "zod/v3";
|
|
|
6
6
|
import { ClosedEnum } from "../../types/enums.js";
|
|
7
7
|
|
|
8
8
|
export const MonitorTelemetrySource = {
|
|
9
|
-
MonitorTelemetrySourceUnspecified: "MONITOR_TELEMETRY_SOURCE_UNSPECIFIED",
|
|
10
9
|
MonitorTelemetrySourceTraces: "MONITOR_TELEMETRY_SOURCE_TRACES",
|
|
11
10
|
MonitorTelemetrySourceMetrics: "MONITOR_TELEMETRY_SOURCE_METRICS",
|
|
12
11
|
MonitorTelemetrySourceLogs: "MONITOR_TELEMETRY_SOURCE_LOGS",
|
|
@@ -6,7 +6,6 @@ import * as z from "zod/v3";
|
|
|
6
6
|
import { ClosedEnum } from "../../types/enums.js";
|
|
7
7
|
|
|
8
8
|
export const NotifierType = {
|
|
9
|
-
NotifierTypeUnspecified: "NOTIFIER_TYPE_UNSPECIFIED",
|
|
10
9
|
NotifierTypeEmail: "NOTIFIER_TYPE_EMAIL",
|
|
11
10
|
NotifierTypeSlackWebhook: "NOTIFIER_TYPE_SLACK_WEBHOOK",
|
|
12
11
|
NotifierTypeWebhook: "NOTIFIER_TYPE_WEBHOOK",
|
|
@@ -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_01m57ntt13n9k451sa9nhqmb4n"),
|
|
44
44
|
metadata: z.record(z.any()).optional(),
|
|
45
45
|
kind: z.literal("reasoning"),
|
|
46
46
|
reasoning: z.string(),
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
|
|
7
|
+
export type ReplayAuditLogDeliveriesRequest = {
|
|
8
|
+
/**
|
|
9
|
+
* Required. Start of the window (inclusive).
|
|
10
|
+
*/
|
|
11
|
+
from: Date;
|
|
12
|
+
/**
|
|
13
|
+
* Required. End of the window (exclusive). The window may span at most 31 days.
|
|
14
|
+
*/
|
|
15
|
+
to: Date;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export type ReplayAuditLogDeliveriesRequest$Outbound = {
|
|
20
|
+
from: string;
|
|
21
|
+
to: string;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const ReplayAuditLogDeliveriesRequest$outboundSchema: z.ZodType<
|
|
26
|
+
ReplayAuditLogDeliveriesRequest$Outbound,
|
|
27
|
+
z.ZodTypeDef,
|
|
28
|
+
ReplayAuditLogDeliveriesRequest
|
|
29
|
+
> = z.object({
|
|
30
|
+
from: z.date().transform(v => v.toISOString()),
|
|
31
|
+
to: z.date().transform(v => v.toISOString()),
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
export function replayAuditLogDeliveriesRequestToJSON(
|
|
35
|
+
replayAuditLogDeliveriesRequest: ReplayAuditLogDeliveriesRequest,
|
|
36
|
+
): string {
|
|
37
|
+
return JSON.stringify(
|
|
38
|
+
ReplayAuditLogDeliveriesRequest$outboundSchema.parse(
|
|
39
|
+
replayAuditLogDeliveriesRequest,
|
|
40
|
+
),
|
|
41
|
+
);
|
|
42
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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
|
+
|
|
11
|
+
export type ReplayAuditLogDeliveriesResponse = {
|
|
12
|
+
replayId: string;
|
|
13
|
+
/**
|
|
14
|
+
* Number of deliveries queued by this replay.
|
|
15
|
+
*/
|
|
16
|
+
queued: number;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
/** @internal */
|
|
20
|
+
export const ReplayAuditLogDeliveriesResponse$inboundSchema: z.ZodType<
|
|
21
|
+
ReplayAuditLogDeliveriesResponse,
|
|
22
|
+
z.ZodTypeDef,
|
|
23
|
+
unknown
|
|
24
|
+
> = z.object({
|
|
25
|
+
replay_id: z.string(),
|
|
26
|
+
queued: z.number().int(),
|
|
27
|
+
}).transform((v) => {
|
|
28
|
+
return remap$(v, {
|
|
29
|
+
"replay_id": "replayId",
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
export function replayAuditLogDeliveriesResponseFromJSON(
|
|
34
|
+
jsonString: string,
|
|
35
|
+
): SafeParseResult<ReplayAuditLogDeliveriesResponse, SDKValidationError> {
|
|
36
|
+
return safeParse(
|
|
37
|
+
jsonString,
|
|
38
|
+
(x) => ReplayAuditLogDeliveriesResponse$inboundSchema.parse(JSON.parse(x)),
|
|
39
|
+
`Failed to parse 'ReplayAuditLogDeliveriesResponse' from JSON`,
|
|
40
|
+
);
|
|
41
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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 RotateAuditLogDestinationSecretResponse = {
|
|
16
|
+
destination: AuditLogDestination;
|
|
17
|
+
/**
|
|
18
|
+
* New signing secret. Shown only in this response; store it securely.
|
|
19
|
+
*/
|
|
20
|
+
signingSecret: string;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
/** @internal */
|
|
24
|
+
export const RotateAuditLogDestinationSecretResponse$inboundSchema: z.ZodType<
|
|
25
|
+
RotateAuditLogDestinationSecretResponse,
|
|
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 rotateAuditLogDestinationSecretResponseFromJSON(
|
|
38
|
+
jsonString: string,
|
|
39
|
+
): SafeParseResult<
|
|
40
|
+
RotateAuditLogDestinationSecretResponse,
|
|
41
|
+
SDKValidationError
|
|
42
|
+
> {
|
|
43
|
+
return safeParse(
|
|
44
|
+
jsonString,
|
|
45
|
+
(x) =>
|
|
46
|
+
RotateAuditLogDestinationSecretResponse$inboundSchema.parse(
|
|
47
|
+
JSON.parse(x),
|
|
48
|
+
),
|
|
49
|
+
`Failed to parse 'RotateAuditLogDestinationSecretResponse' from JSON`,
|
|
50
|
+
);
|
|
51
|
+
}
|
|
@@ -6,7 +6,6 @@ import * as z from "zod/v3";
|
|
|
6
6
|
import { ClosedEnum } from "../../types/enums.js";
|
|
7
7
|
|
|
8
8
|
export const SessionInterval = {
|
|
9
|
-
SessionIntervalUnspecified: "SESSION_INTERVAL_UNSPECIFIED",
|
|
10
9
|
SessionIntervalAllTime: "SESSION_INTERVAL_ALL_TIME",
|
|
11
10
|
SessionIntervalLast30Minutes: "SESSION_INTERVAL_LAST_30_MINUTES",
|
|
12
11
|
SessionIntervalLast1Hour: "SESSION_INTERVAL_LAST_1_HOUR",
|
|
@@ -6,7 +6,6 @@ import * as z from "zod/v3";
|
|
|
6
6
|
import { ClosedEnum } from "../../types/enums.js";
|
|
7
7
|
|
|
8
8
|
export const SmartRouterProfile = {
|
|
9
|
-
SmartRouterProfileUnspecified: "SMART_ROUTER_PROFILE_UNSPECIFIED",
|
|
10
9
|
SmartRouterProfileQuality: "SMART_ROUTER_PROFILE_QUALITY",
|
|
11
10
|
SmartRouterProfileBalanced: "SMART_ROUTER_PROFILE_BALANCED",
|
|
12
11
|
SmartRouterProfileCost: "SMART_ROUTER_PROFILE_COST",
|
|
@@ -6,7 +6,6 @@ import * as z from "zod/v3";
|
|
|
6
6
|
import { ClosedEnum } from "../../types/enums.js";
|
|
7
7
|
|
|
8
8
|
export const SyncStatus = {
|
|
9
|
-
SyncStatusUnspecified: "SYNC_STATUS_UNSPECIFIED",
|
|
10
9
|
SyncStatusSynced: "SYNC_STATUS_SYNCED",
|
|
11
10
|
SyncStatusFailed: "SYNC_STATUS_FAILED",
|
|
12
11
|
SyncStatusPending: "SYNC_STATUS_PENDING",
|
|
@@ -6,7 +6,6 @@ import * as z from "zod/v3";
|
|
|
6
6
|
import { ClosedEnum } from "../../types/enums.js";
|
|
7
7
|
|
|
8
8
|
export const TelemetryQueryMode = {
|
|
9
|
-
TelemetryQueryModeUnspecified: "TELEMETRY_QUERY_MODE_UNSPECIFIED",
|
|
10
9
|
TelemetryQueryModeScalar: "TELEMETRY_QUERY_MODE_SCALAR",
|
|
11
10
|
TelemetryQueryModeTimeSeries: "TELEMETRY_QUERY_MODE_TIME_SERIES",
|
|
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 TelemetryResultKind = {
|
|
9
|
-
TelemetryResultKindUnspecified: "TELEMETRY_RESULT_KIND_UNSPECIFIED",
|
|
10
9
|
TelemetryResultKindScalar: "TELEMETRY_RESULT_KIND_SCALAR",
|
|
11
10
|
TelemetryResultKindGroupedScalar: "TELEMETRY_RESULT_KIND_GROUPED_SCALAR",
|
|
12
11
|
TelemetryResultKindTimeSeries: "TELEMETRY_RESULT_KIND_TIME_SERIES",
|
|
@@ -6,7 +6,6 @@ import * as z from "zod/v3";
|
|
|
6
6
|
import { ClosedEnum } from "../../types/enums.js";
|
|
7
7
|
|
|
8
8
|
export const TelemetrySource = {
|
|
9
|
-
TelemetrySourceUnspecified: "TELEMETRY_SOURCE_UNSPECIFIED",
|
|
10
9
|
TelemetrySourceTraces: "TELEMETRY_SOURCE_TRACES",
|
|
11
10
|
TelemetrySourceMetrics: "TELEMETRY_SOURCE_METRICS",
|
|
12
11
|
TelemetrySourceLogs: "TELEMETRY_SOURCE_LOGS",
|
|
@@ -6,8 +6,6 @@ import * as z from "zod/v3";
|
|
|
6
6
|
import { ClosedEnum } from "../../types/enums.js";
|
|
7
7
|
|
|
8
8
|
export const TelemetryValueCardinality = {
|
|
9
|
-
TelemetryValueCardinalityUnspecified:
|
|
10
|
-
"TELEMETRY_VALUE_CARDINALITY_UNSPECIFIED",
|
|
11
9
|
TelemetryValueCardinalitySingle: "TELEMETRY_VALUE_CARDINALITY_SINGLE",
|
|
12
10
|
TelemetryValueCardinalityMultiple: "TELEMETRY_VALUE_CARDINALITY_MULTIPLE",
|
|
13
11
|
} as const;
|
|
@@ -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
|
+
AuditLogDelivery,
|
|
11
|
+
AuditLogDelivery$inboundSchema,
|
|
12
|
+
} from "./auditlogdelivery.js";
|
|
13
|
+
|
|
14
|
+
export type TestAuditLogDestinationResponse = {
|
|
15
|
+
delivery: AuditLogDelivery;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export const TestAuditLogDestinationResponse$inboundSchema: z.ZodType<
|
|
20
|
+
TestAuditLogDestinationResponse,
|
|
21
|
+
z.ZodTypeDef,
|
|
22
|
+
unknown
|
|
23
|
+
> = z.object({
|
|
24
|
+
delivery: AuditLogDelivery$inboundSchema,
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
export function testAuditLogDestinationResponseFromJSON(
|
|
28
|
+
jsonString: string,
|
|
29
|
+
): SafeParseResult<TestAuditLogDestinationResponse, SDKValidationError> {
|
|
30
|
+
return safeParse(
|
|
31
|
+
jsonString,
|
|
32
|
+
(x) => TestAuditLogDestinationResponse$inboundSchema.parse(JSON.parse(x)),
|
|
33
|
+
`Failed to parse 'TestAuditLogDestinationResponse' 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 ThreadKind = {
|
|
9
|
-
ThreadKindUnspecified: "THREAD_KIND_UNSPECIFIED",
|
|
10
9
|
ThreadKindConversation: "THREAD_KIND_CONVERSATION",
|
|
11
10
|
ThreadKindCodingAgent: "THREAD_KIND_CODING_AGENT",
|
|
12
11
|
} as const;
|