@paperclipai/shared 2026.817.0 → 2026.818.0-beta.1
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/dist/adapter-auth-session.d.ts +16 -0
- package/dist/adapter-auth-session.d.ts.map +1 -0
- package/dist/adapter-auth-session.js +37 -0
- package/dist/adapter-auth-session.js.map +1 -0
- package/dist/company-import-transfer.d.ts +97 -0
- package/dist/company-import-transfer.d.ts.map +1 -0
- package/dist/company-import-transfer.js +50 -0
- package/dist/company-import-transfer.js.map +1 -0
- package/dist/constants.d.ts +19 -3
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +50 -3
- package/dist/constants.js.map +1 -1
- package/dist/environment-support.d.ts +16 -1
- package/dist/environment-support.d.ts.map +1 -1
- package/dist/environment-support.js +25 -2
- package/dist/environment-support.js.map +1 -1
- package/dist/environment-support.test.js +20 -0
- package/dist/environment-support.test.js.map +1 -1
- package/dist/feature-catalog.d.ts.map +1 -1
- package/dist/feature-catalog.js +10 -3
- package/dist/feature-catalog.js.map +1 -1
- package/dist/index.d.ts +13 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -3
- package/dist/index.js.map +1 -1
- package/dist/issue-thread-interactions.test.js +45 -1
- package/dist/issue-thread-interactions.test.js.map +1 -1
- package/dist/runtime-exposure/loopback-bind.d.ts +52 -0
- package/dist/runtime-exposure/loopback-bind.d.ts.map +1 -0
- package/dist/runtime-exposure/loopback-bind.js +93 -0
- package/dist/runtime-exposure/loopback-bind.js.map +1 -0
- package/dist/runtime-exposure/loopback-bind.test.d.ts +2 -0
- package/dist/runtime-exposure/loopback-bind.test.d.ts.map +1 -0
- package/dist/runtime-exposure/loopback-bind.test.js +93 -0
- package/dist/runtime-exposure/loopback-bind.test.js.map +1 -0
- package/dist/runtime-exposure/ports.d.ts +61 -0
- package/dist/runtime-exposure/ports.d.ts.map +1 -0
- package/dist/runtime-exposure/ports.js +96 -0
- package/dist/runtime-exposure/ports.js.map +1 -0
- package/dist/runtime-exposure/ports.test.d.ts +2 -0
- package/dist/runtime-exposure/ports.test.d.ts.map +1 -0
- package/dist/runtime-exposure/ports.test.js +46 -0
- package/dist/runtime-exposure/ports.test.js.map +1 -0
- package/dist/summary-slot.test.js +10 -1
- package/dist/summary-slot.test.js.map +1 -1
- package/dist/telemetry/events.d.ts +5 -0
- package/dist/telemetry/events.d.ts.map +1 -1
- package/dist/telemetry/events.js +7 -0
- package/dist/telemetry/events.js.map +1 -1
- package/dist/telemetry/generated/paperclip-telemetry.d.ts +20 -2
- package/dist/telemetry/generated/paperclip-telemetry.d.ts.map +1 -1
- package/dist/telemetry/generated/paperclip-telemetry.js +12 -0
- package/dist/telemetry/generated/paperclip-telemetry.js.map +1 -1
- package/dist/telemetry/index.d.ts +1 -1
- package/dist/telemetry/index.d.ts.map +1 -1
- package/dist/telemetry/index.js +1 -1
- package/dist/telemetry/index.js.map +1 -1
- package/dist/telemetry/retention.d.ts.map +1 -1
- package/dist/telemetry/retention.js +2 -0
- package/dist/telemetry/retention.js.map +1 -1
- package/dist/telemetry/retention.test.js +4 -0
- package/dist/telemetry/retention.test.js.map +1 -1
- package/dist/types/agent.adapter-auth-session.test.d.ts +2 -0
- package/dist/types/agent.adapter-auth-session.test.d.ts.map +1 -0
- package/dist/types/agent.adapter-auth-session.test.js +103 -0
- package/dist/types/agent.adapter-auth-session.test.js.map +1 -0
- package/dist/types/agent.d.ts +56 -0
- package/dist/types/agent.d.ts.map +1 -1
- package/dist/types/agent.js +50 -1
- package/dist/types/agent.js.map +1 -1
- package/dist/types/attention.d.ts +35 -0
- package/dist/types/attention.d.ts.map +1 -1
- package/dist/types/attention.js.map +1 -1
- package/dist/types/company-portability.d.ts +8 -0
- package/dist/types/company-portability.d.ts.map +1 -1
- package/dist/types/document-annotation.d.ts +17 -0
- package/dist/types/document-annotation.d.ts.map +1 -1
- package/dist/types/environment.d.ts +15 -12
- package/dist/types/environment.d.ts.map +1 -1
- package/dist/types/index.d.ts +7 -6
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +1 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/instance.d.ts +6 -1
- package/dist/types/instance.d.ts.map +1 -1
- package/dist/types/instance.js.map +1 -1
- package/dist/types/issue.d.ts +35 -7
- package/dist/types/issue.d.ts.map +1 -1
- package/dist/types/plugin.d.ts +46 -0
- package/dist/types/plugin.d.ts.map +1 -1
- package/dist/types/runtime-exposure.d.ts +74 -0
- package/dist/types/runtime-exposure.d.ts.map +1 -0
- package/dist/types/runtime-exposure.js +12 -0
- package/dist/types/runtime-exposure.js.map +1 -0
- package/dist/types/workspace-file-resource.d.ts +25 -0
- package/dist/types/workspace-file-resource.d.ts.map +1 -1
- package/dist/types/workspace-runtime.d.ts +9 -0
- package/dist/types/workspace-runtime.d.ts.map +1 -1
- package/dist/validators/access.d.ts +6 -6
- package/dist/validators/adapter-auth-session.d.ts +129 -0
- package/dist/validators/adapter-auth-session.d.ts.map +1 -0
- package/dist/validators/adapter-auth-session.js +34 -0
- package/dist/validators/adapter-auth-session.js.map +1 -0
- package/dist/validators/adapter-registry.d.ts +2 -2
- package/dist/validators/adapter-skills.d.ts +22 -22
- package/dist/validators/agent.d.ts +316 -298
- package/dist/validators/agent.d.ts.map +1 -1
- package/dist/validators/agent.js +9 -0
- package/dist/validators/agent.js.map +1 -1
- package/dist/validators/app-definition.d.ts +156 -156
- package/dist/validators/artifact.d.ts +64 -64
- package/dist/validators/claude-setup-token-session.d.ts +244 -0
- package/dist/validators/claude-setup-token-session.d.ts.map +1 -0
- package/dist/validators/claude-setup-token-session.js +128 -0
- package/dist/validators/claude-setup-token-session.js.map +1 -0
- package/dist/validators/claude-setup-token-session.test.d.ts +2 -0
- package/dist/validators/claude-setup-token-session.test.d.ts.map +1 -0
- package/dist/validators/claude-setup-token-session.test.js +107 -0
- package/dist/validators/claude-setup-token-session.test.js.map +1 -0
- package/dist/validators/company-portability.d.ts +342 -294
- package/dist/validators/company-portability.d.ts.map +1 -1
- package/dist/validators/company-portability.js +6 -0
- package/dist/validators/company-portability.js.map +1 -1
- package/dist/validators/company-skill.d.ts +386 -386
- package/dist/validators/company.d.ts +120 -120
- package/dist/validators/cost.d.ts +8 -8
- package/dist/validators/decision-queue.d.ts +6 -6
- package/dist/validators/decision.d.ts +124 -124
- package/dist/validators/environment-custom-images.d.ts +8 -8
- package/dist/validators/environment.d.ts +16 -16
- package/dist/validators/execution-workspace.d.ts +38 -38
- package/dist/validators/finance.d.ts +12 -12
- package/dist/validators/folder.d.ts +38 -38
- package/dist/validators/index.d.ts +4 -3
- package/dist/validators/index.d.ts.map +1 -1
- package/dist/validators/index.js +4 -3
- package/dist/validators/index.js.map +1 -1
- package/dist/validators/instance.d.ts +30 -16
- package/dist/validators/instance.d.ts.map +1 -1
- package/dist/validators/instance.js +2 -1
- package/dist/validators/instance.js.map +1 -1
- package/dist/validators/issue-tree-control.d.ts +4 -4
- package/dist/validators/issue.d.ts +1254 -1156
- package/dist/validators/issue.d.ts.map +1 -1
- package/dist/validators/issue.js +59 -5
- package/dist/validators/issue.js.map +1 -1
- package/dist/validators/onboarding-seed.d.ts +64 -0
- package/dist/validators/onboarding-seed.d.ts.map +1 -0
- package/dist/validators/onboarding-seed.js +33 -0
- package/dist/validators/onboarding-seed.js.map +1 -0
- package/dist/validators/pipeline.d.ts +96 -96
- package/dist/validators/plugin.d.ts +325 -184
- package/dist/validators/plugin.d.ts.map +1 -1
- package/dist/validators/plugin.js +14 -0
- package/dist/validators/plugin.js.map +1 -1
- package/dist/validators/plugin.test.js +80 -0
- package/dist/validators/plugin.test.js.map +1 -1
- package/dist/validators/project.d.ts +216 -216
- package/dist/validators/routine.d.ts +148 -148
- package/dist/validators/runtime-exposure.d.ts +149 -0
- package/dist/validators/runtime-exposure.d.ts.map +1 -0
- package/dist/validators/runtime-exposure.js +138 -0
- package/dist/validators/runtime-exposure.js.map +1 -0
- package/dist/validators/runtime-exposure.test.d.ts +2 -0
- package/dist/validators/runtime-exposure.test.d.ts.map +1 -0
- package/dist/validators/runtime-exposure.test.js +112 -0
- package/dist/validators/runtime-exposure.test.js.map +1 -0
- package/dist/validators/search.d.ts +13 -13
- package/dist/validators/secret.d.ts +53 -53
- package/dist/validators/status-card.d.ts +34 -34
- package/dist/validators/summary-slot.d.ts +6 -6
- package/dist/validators/summary-slot.d.ts.map +1 -1
- package/dist/validators/teams-catalog.d.ts +30 -30
- package/dist/validators/tool-access.d.ts +179 -179
- package/dist/validators/trust-policy.d.ts +18 -18
- package/dist/validators/work-product.d.ts +21 -21
- package/dist/validators/workspace-file-resource.d.ts +430 -16
- package/dist/validators/workspace-file-resource.d.ts.map +1 -1
- package/dist/validators/workspace-file-resource.js +19 -0
- package/dist/validators/workspace-file-resource.js.map +1 -1
- package/dist/workspace-file-resource.test.d.ts +2 -0
- package/dist/workspace-file-resource.test.d.ts.map +1 -0
- package/dist/workspace-file-resource.test.js +52 -0
- package/dist/workspace-file-resource.test.js.map +1 -0
- package/package.json +1 -1
|
@@ -48,21 +48,21 @@ export declare const toolCredentialSecretRefSchema: z.ZodObject<{
|
|
|
48
48
|
secretId: string;
|
|
49
49
|
configPath: string;
|
|
50
50
|
required?: boolean | undefined;
|
|
51
|
-
label?: string | null | undefined;
|
|
52
|
-
expiresAt?: string | undefined;
|
|
53
51
|
projectionClass?: "unclassified" | "class_3_static_lease" | undefined;
|
|
54
52
|
projectionAllowlistKey?: string | null | undefined;
|
|
55
53
|
versionSelector?: number | "latest" | undefined;
|
|
54
|
+
label?: string | null | undefined;
|
|
55
|
+
expiresAt?: string | undefined;
|
|
56
56
|
keyScope?: string | undefined;
|
|
57
57
|
}, {
|
|
58
58
|
secretId: string;
|
|
59
59
|
configPath: string;
|
|
60
60
|
required?: boolean | undefined;
|
|
61
|
-
label?: string | null | undefined;
|
|
62
|
-
expiresAt?: string | undefined;
|
|
63
61
|
projectionClass?: "unclassified" | "class_3_static_lease" | undefined;
|
|
64
62
|
projectionAllowlistKey?: string | null | undefined;
|
|
65
63
|
versionSelector?: number | "latest" | undefined;
|
|
64
|
+
label?: string | null | undefined;
|
|
65
|
+
expiresAt?: string | undefined;
|
|
66
66
|
keyScope?: string | undefined;
|
|
67
67
|
}>;
|
|
68
68
|
export declare const mcpConnectionCredentialRefSchema: z.ZodObject<{
|
|
@@ -74,15 +74,15 @@ export declare const mcpConnectionCredentialRefSchema: z.ZodObject<{
|
|
|
74
74
|
prefix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
75
75
|
}, "strip", z.ZodTypeAny, {
|
|
76
76
|
key: string;
|
|
77
|
-
name: string;
|
|
78
77
|
secretId: string;
|
|
78
|
+
name: string;
|
|
79
79
|
placement: "env" | "header";
|
|
80
80
|
version?: number | "latest" | undefined;
|
|
81
81
|
prefix?: string | null | undefined;
|
|
82
82
|
}, {
|
|
83
83
|
key: string;
|
|
84
|
-
name: string;
|
|
85
84
|
secretId: string;
|
|
85
|
+
name: string;
|
|
86
86
|
placement: "env" | "header";
|
|
87
87
|
version?: number | "latest" | undefined;
|
|
88
88
|
prefix?: string | null | undefined;
|
|
@@ -151,8 +151,8 @@ export declare const updateToolApplicationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
151
151
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
152
152
|
}, "strip", z.ZodTypeAny, {
|
|
153
153
|
description?: string | null | undefined;
|
|
154
|
-
type?: "mcp_http" | "mcp_stdio" | "paperclip_plugin" | "a2a" | undefined;
|
|
155
154
|
status?: "active" | "archived" | "disabled" | "draft" | undefined;
|
|
155
|
+
type?: "mcp_http" | "mcp_stdio" | "paperclip_plugin" | "a2a" | undefined;
|
|
156
156
|
name?: string | undefined;
|
|
157
157
|
metadata?: Record<string, unknown> | null | undefined;
|
|
158
158
|
ownerAgentId?: string | null | undefined;
|
|
@@ -161,8 +161,8 @@ export declare const updateToolApplicationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
161
161
|
pluginId?: string | null | undefined;
|
|
162
162
|
}, {
|
|
163
163
|
description?: string | null | undefined;
|
|
164
|
-
type?: "mcp_http" | "mcp_stdio" | "paperclip_plugin" | "a2a" | undefined;
|
|
165
164
|
status?: "active" | "archived" | "disabled" | "draft" | undefined;
|
|
165
|
+
type?: "mcp_http" | "mcp_stdio" | "paperclip_plugin" | "a2a" | undefined;
|
|
166
166
|
name?: string | undefined;
|
|
167
167
|
metadata?: Record<string, unknown> | null | undefined;
|
|
168
168
|
ownerAgentId?: string | null | undefined;
|
|
@@ -171,8 +171,8 @@ export declare const updateToolApplicationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
171
171
|
pluginId?: string | null | undefined;
|
|
172
172
|
}>, {
|
|
173
173
|
description?: string | null | undefined;
|
|
174
|
-
type?: "mcp_http" | "mcp_stdio" | "paperclip_plugin" | "a2a" | undefined;
|
|
175
174
|
status?: "active" | "archived" | "disabled" | "draft" | undefined;
|
|
175
|
+
type?: "mcp_http" | "mcp_stdio" | "paperclip_plugin" | "a2a" | undefined;
|
|
176
176
|
name?: string | undefined;
|
|
177
177
|
metadata?: Record<string, unknown> | null | undefined;
|
|
178
178
|
ownerAgentId?: string | null | undefined;
|
|
@@ -181,8 +181,8 @@ export declare const updateToolApplicationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
181
181
|
pluginId?: string | null | undefined;
|
|
182
182
|
}, {
|
|
183
183
|
description?: string | null | undefined;
|
|
184
|
-
type?: "mcp_http" | "mcp_stdio" | "paperclip_plugin" | "a2a" | undefined;
|
|
185
184
|
status?: "active" | "archived" | "disabled" | "draft" | undefined;
|
|
185
|
+
type?: "mcp_http" | "mcp_stdio" | "paperclip_plugin" | "a2a" | undefined;
|
|
186
186
|
name?: string | undefined;
|
|
187
187
|
metadata?: Record<string, unknown> | null | undefined;
|
|
188
188
|
ownerAgentId?: string | null | undefined;
|
|
@@ -211,15 +211,15 @@ export declare const createToolConnectionSchema: z.ZodObject<{
|
|
|
211
211
|
prefix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
212
212
|
}, "strip", z.ZodTypeAny, {
|
|
213
213
|
key: string;
|
|
214
|
-
name: string;
|
|
215
214
|
secretId: string;
|
|
215
|
+
name: string;
|
|
216
216
|
placement: "env" | "header";
|
|
217
217
|
version?: number | "latest" | undefined;
|
|
218
218
|
prefix?: string | null | undefined;
|
|
219
219
|
}, {
|
|
220
220
|
key: string;
|
|
221
|
-
name: string;
|
|
222
221
|
secretId: string;
|
|
222
|
+
name: string;
|
|
223
223
|
placement: "env" | "header";
|
|
224
224
|
version?: number | "latest" | undefined;
|
|
225
225
|
prefix?: string | null | undefined;
|
|
@@ -238,21 +238,21 @@ export declare const createToolConnectionSchema: z.ZodObject<{
|
|
|
238
238
|
secretId: string;
|
|
239
239
|
configPath: string;
|
|
240
240
|
required?: boolean | undefined;
|
|
241
|
-
label?: string | null | undefined;
|
|
242
|
-
expiresAt?: string | undefined;
|
|
243
241
|
projectionClass?: "unclassified" | "class_3_static_lease" | undefined;
|
|
244
242
|
projectionAllowlistKey?: string | null | undefined;
|
|
245
243
|
versionSelector?: number | "latest" | undefined;
|
|
244
|
+
label?: string | null | undefined;
|
|
245
|
+
expiresAt?: string | undefined;
|
|
246
246
|
keyScope?: string | undefined;
|
|
247
247
|
}, {
|
|
248
248
|
secretId: string;
|
|
249
249
|
configPath: string;
|
|
250
250
|
required?: boolean | undefined;
|
|
251
|
-
label?: string | null | undefined;
|
|
252
|
-
expiresAt?: string | undefined;
|
|
253
251
|
projectionClass?: "unclassified" | "class_3_static_lease" | undefined;
|
|
254
252
|
projectionAllowlistKey?: string | null | undefined;
|
|
255
253
|
versionSelector?: number | "latest" | undefined;
|
|
254
|
+
label?: string | null | undefined;
|
|
255
|
+
expiresAt?: string | undefined;
|
|
256
256
|
keyScope?: string | undefined;
|
|
257
257
|
}>, "many">>;
|
|
258
258
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -266,11 +266,11 @@ export declare const createToolConnectionSchema: z.ZodObject<{
|
|
|
266
266
|
secretId: string;
|
|
267
267
|
configPath: string;
|
|
268
268
|
required?: boolean | undefined;
|
|
269
|
-
label?: string | null | undefined;
|
|
270
|
-
expiresAt?: string | undefined;
|
|
271
269
|
projectionClass?: "unclassified" | "class_3_static_lease" | undefined;
|
|
272
270
|
projectionAllowlistKey?: string | null | undefined;
|
|
273
271
|
versionSelector?: number | "latest" | undefined;
|
|
272
|
+
label?: string | null | undefined;
|
|
273
|
+
expiresAt?: string | undefined;
|
|
274
274
|
keyScope?: string | undefined;
|
|
275
275
|
}[];
|
|
276
276
|
status?: "active" | "archived" | "disabled" | "draft" | undefined;
|
|
@@ -281,8 +281,8 @@ export declare const createToolConnectionSchema: z.ZodObject<{
|
|
|
281
281
|
transport?: "local_stdio" | "mcp_remote" | "rest_api" | undefined;
|
|
282
282
|
credentialRefs?: {
|
|
283
283
|
key: string;
|
|
284
|
-
name: string;
|
|
285
284
|
secretId: string;
|
|
285
|
+
name: string;
|
|
286
286
|
placement: "env" | "header";
|
|
287
287
|
version?: number | "latest" | undefined;
|
|
288
288
|
prefix?: string | null | undefined;
|
|
@@ -301,8 +301,8 @@ export declare const createToolConnectionSchema: z.ZodObject<{
|
|
|
301
301
|
transportConfig?: Record<string, unknown> | undefined;
|
|
302
302
|
credentialRefs?: {
|
|
303
303
|
key: string;
|
|
304
|
-
name: string;
|
|
305
304
|
secretId: string;
|
|
305
|
+
name: string;
|
|
306
306
|
placement: "env" | "header";
|
|
307
307
|
version?: number | "latest" | undefined;
|
|
308
308
|
prefix?: string | null | undefined;
|
|
@@ -311,19 +311,19 @@ export declare const createToolConnectionSchema: z.ZodObject<{
|
|
|
311
311
|
secretId: string;
|
|
312
312
|
configPath: string;
|
|
313
313
|
required?: boolean | undefined;
|
|
314
|
-
label?: string | null | undefined;
|
|
315
|
-
expiresAt?: string | undefined;
|
|
316
314
|
projectionClass?: "unclassified" | "class_3_static_lease" | undefined;
|
|
317
315
|
projectionAllowlistKey?: string | null | undefined;
|
|
318
316
|
versionSelector?: number | "latest" | undefined;
|
|
317
|
+
label?: string | null | undefined;
|
|
318
|
+
expiresAt?: string | undefined;
|
|
319
319
|
keyScope?: string | undefined;
|
|
320
320
|
}[] | undefined;
|
|
321
321
|
}>;
|
|
322
322
|
export type CreateToolConnection = z.infer<typeof createToolConnectionSchema>;
|
|
323
323
|
export declare const updateToolConnectionSchema: z.ZodEffects<z.ZodObject<{
|
|
324
324
|
status: z.ZodOptional<z.ZodOptional<z.ZodEnum<["draft", "active", "disabled", "archived"]>>>;
|
|
325
|
-
config: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnknown>, Record<string, unknown>, Record<string, unknown>>>>;
|
|
326
325
|
name: z.ZodOptional<z.ZodString>;
|
|
326
|
+
config: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnknown>, Record<string, unknown>, Record<string, unknown>>>>;
|
|
327
327
|
enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
328
328
|
applicationName: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
329
329
|
transport: z.ZodOptional<z.ZodOptional<z.ZodEnum<["mcp_remote", "rest_api", "local_stdio"]>>>;
|
|
@@ -340,15 +340,15 @@ export declare const updateToolConnectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
340
340
|
prefix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
341
341
|
}, "strip", z.ZodTypeAny, {
|
|
342
342
|
key: string;
|
|
343
|
-
name: string;
|
|
344
343
|
secretId: string;
|
|
344
|
+
name: string;
|
|
345
345
|
placement: "env" | "header";
|
|
346
346
|
version?: number | "latest" | undefined;
|
|
347
347
|
prefix?: string | null | undefined;
|
|
348
348
|
}, {
|
|
349
349
|
key: string;
|
|
350
|
-
name: string;
|
|
351
350
|
secretId: string;
|
|
351
|
+
name: string;
|
|
352
352
|
placement: "env" | "header";
|
|
353
353
|
version?: number | "latest" | undefined;
|
|
354
354
|
prefix?: string | null | undefined;
|
|
@@ -367,27 +367,27 @@ export declare const updateToolConnectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
367
367
|
secretId: string;
|
|
368
368
|
configPath: string;
|
|
369
369
|
required?: boolean | undefined;
|
|
370
|
-
label?: string | null | undefined;
|
|
371
|
-
expiresAt?: string | undefined;
|
|
372
370
|
projectionClass?: "unclassified" | "class_3_static_lease" | undefined;
|
|
373
371
|
projectionAllowlistKey?: string | null | undefined;
|
|
374
372
|
versionSelector?: number | "latest" | undefined;
|
|
373
|
+
label?: string | null | undefined;
|
|
374
|
+
expiresAt?: string | undefined;
|
|
375
375
|
keyScope?: string | undefined;
|
|
376
376
|
}, {
|
|
377
377
|
secretId: string;
|
|
378
378
|
configPath: string;
|
|
379
379
|
required?: boolean | undefined;
|
|
380
|
-
label?: string | null | undefined;
|
|
381
|
-
expiresAt?: string | undefined;
|
|
382
380
|
projectionClass?: "unclassified" | "class_3_static_lease" | undefined;
|
|
383
381
|
projectionAllowlistKey?: string | null | undefined;
|
|
384
382
|
versionSelector?: number | "latest" | undefined;
|
|
383
|
+
label?: string | null | undefined;
|
|
384
|
+
expiresAt?: string | undefined;
|
|
385
385
|
keyScope?: string | undefined;
|
|
386
386
|
}>, "many">>>;
|
|
387
387
|
}, "strip", z.ZodTypeAny, {
|
|
388
388
|
status?: "active" | "archived" | "disabled" | "draft" | undefined;
|
|
389
|
-
config?: Record<string, unknown> | undefined;
|
|
390
389
|
name?: string | undefined;
|
|
390
|
+
config?: Record<string, unknown> | undefined;
|
|
391
391
|
enabled?: boolean | undefined;
|
|
392
392
|
applicationName?: string | undefined;
|
|
393
393
|
transport?: "local_stdio" | "mcp_remote" | "rest_api" | undefined;
|
|
@@ -397,8 +397,8 @@ export declare const updateToolConnectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
397
397
|
transportConfig?: Record<string, unknown> | undefined;
|
|
398
398
|
credentialRefs?: {
|
|
399
399
|
key: string;
|
|
400
|
-
name: string;
|
|
401
400
|
secretId: string;
|
|
401
|
+
name: string;
|
|
402
402
|
placement: "env" | "header";
|
|
403
403
|
version?: number | "latest" | undefined;
|
|
404
404
|
prefix?: string | null | undefined;
|
|
@@ -407,17 +407,17 @@ export declare const updateToolConnectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
407
407
|
secretId: string;
|
|
408
408
|
configPath: string;
|
|
409
409
|
required?: boolean | undefined;
|
|
410
|
-
label?: string | null | undefined;
|
|
411
|
-
expiresAt?: string | undefined;
|
|
412
410
|
projectionClass?: "unclassified" | "class_3_static_lease" | undefined;
|
|
413
411
|
projectionAllowlistKey?: string | null | undefined;
|
|
414
412
|
versionSelector?: number | "latest" | undefined;
|
|
413
|
+
label?: string | null | undefined;
|
|
414
|
+
expiresAt?: string | undefined;
|
|
415
415
|
keyScope?: string | undefined;
|
|
416
416
|
}[] | undefined;
|
|
417
417
|
}, {
|
|
418
418
|
status?: "active" | "archived" | "disabled" | "draft" | undefined;
|
|
419
|
-
config?: Record<string, unknown> | undefined;
|
|
420
419
|
name?: string | undefined;
|
|
420
|
+
config?: Record<string, unknown> | undefined;
|
|
421
421
|
enabled?: boolean | undefined;
|
|
422
422
|
applicationName?: string | undefined;
|
|
423
423
|
transport?: "local_stdio" | "mcp_remote" | "rest_api" | undefined;
|
|
@@ -427,8 +427,8 @@ export declare const updateToolConnectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
427
427
|
transportConfig?: Record<string, unknown> | undefined;
|
|
428
428
|
credentialRefs?: {
|
|
429
429
|
key: string;
|
|
430
|
-
name: string;
|
|
431
430
|
secretId: string;
|
|
431
|
+
name: string;
|
|
432
432
|
placement: "env" | "header";
|
|
433
433
|
version?: number | "latest" | undefined;
|
|
434
434
|
prefix?: string | null | undefined;
|
|
@@ -437,17 +437,17 @@ export declare const updateToolConnectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
437
437
|
secretId: string;
|
|
438
438
|
configPath: string;
|
|
439
439
|
required?: boolean | undefined;
|
|
440
|
-
label?: string | null | undefined;
|
|
441
|
-
expiresAt?: string | undefined;
|
|
442
440
|
projectionClass?: "unclassified" | "class_3_static_lease" | undefined;
|
|
443
441
|
projectionAllowlistKey?: string | null | undefined;
|
|
444
442
|
versionSelector?: number | "latest" | undefined;
|
|
443
|
+
label?: string | null | undefined;
|
|
444
|
+
expiresAt?: string | undefined;
|
|
445
445
|
keyScope?: string | undefined;
|
|
446
446
|
}[] | undefined;
|
|
447
447
|
}>, {
|
|
448
448
|
status?: "active" | "archived" | "disabled" | "draft" | undefined;
|
|
449
|
-
config?: Record<string, unknown> | undefined;
|
|
450
449
|
name?: string | undefined;
|
|
450
|
+
config?: Record<string, unknown> | undefined;
|
|
451
451
|
enabled?: boolean | undefined;
|
|
452
452
|
applicationName?: string | undefined;
|
|
453
453
|
transport?: "local_stdio" | "mcp_remote" | "rest_api" | undefined;
|
|
@@ -457,8 +457,8 @@ export declare const updateToolConnectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
457
457
|
transportConfig?: Record<string, unknown> | undefined;
|
|
458
458
|
credentialRefs?: {
|
|
459
459
|
key: string;
|
|
460
|
-
name: string;
|
|
461
460
|
secretId: string;
|
|
461
|
+
name: string;
|
|
462
462
|
placement: "env" | "header";
|
|
463
463
|
version?: number | "latest" | undefined;
|
|
464
464
|
prefix?: string | null | undefined;
|
|
@@ -467,17 +467,17 @@ export declare const updateToolConnectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
467
467
|
secretId: string;
|
|
468
468
|
configPath: string;
|
|
469
469
|
required?: boolean | undefined;
|
|
470
|
-
label?: string | null | undefined;
|
|
471
|
-
expiresAt?: string | undefined;
|
|
472
470
|
projectionClass?: "unclassified" | "class_3_static_lease" | undefined;
|
|
473
471
|
projectionAllowlistKey?: string | null | undefined;
|
|
474
472
|
versionSelector?: number | "latest" | undefined;
|
|
473
|
+
label?: string | null | undefined;
|
|
474
|
+
expiresAt?: string | undefined;
|
|
475
475
|
keyScope?: string | undefined;
|
|
476
476
|
}[] | undefined;
|
|
477
477
|
}, {
|
|
478
478
|
status?: "active" | "archived" | "disabled" | "draft" | undefined;
|
|
479
|
-
config?: Record<string, unknown> | undefined;
|
|
480
479
|
name?: string | undefined;
|
|
480
|
+
config?: Record<string, unknown> | undefined;
|
|
481
481
|
enabled?: boolean | undefined;
|
|
482
482
|
applicationName?: string | undefined;
|
|
483
483
|
transport?: "local_stdio" | "mcp_remote" | "rest_api" | undefined;
|
|
@@ -487,8 +487,8 @@ export declare const updateToolConnectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
487
487
|
transportConfig?: Record<string, unknown> | undefined;
|
|
488
488
|
credentialRefs?: {
|
|
489
489
|
key: string;
|
|
490
|
-
name: string;
|
|
491
490
|
secretId: string;
|
|
491
|
+
name: string;
|
|
492
492
|
placement: "env" | "header";
|
|
493
493
|
version?: number | "latest" | undefined;
|
|
494
494
|
prefix?: string | null | undefined;
|
|
@@ -497,11 +497,11 @@ export declare const updateToolConnectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
497
497
|
secretId: string;
|
|
498
498
|
configPath: string;
|
|
499
499
|
required?: boolean | undefined;
|
|
500
|
-
label?: string | null | undefined;
|
|
501
|
-
expiresAt?: string | undefined;
|
|
502
500
|
projectionClass?: "unclassified" | "class_3_static_lease" | undefined;
|
|
503
501
|
projectionAllowlistKey?: string | null | undefined;
|
|
504
502
|
versionSelector?: number | "latest" | undefined;
|
|
503
|
+
label?: string | null | undefined;
|
|
504
|
+
expiresAt?: string | undefined;
|
|
505
505
|
keyScope?: string | undefined;
|
|
506
506
|
}[] | undefined;
|
|
507
507
|
}>;
|
|
@@ -536,21 +536,21 @@ export declare const connectionGrantSchema: z.ZodEffects<z.ZodObject<{
|
|
|
536
536
|
secretId: string;
|
|
537
537
|
configPath: string;
|
|
538
538
|
required?: boolean | undefined;
|
|
539
|
-
label?: string | null | undefined;
|
|
540
|
-
expiresAt?: string | undefined;
|
|
541
539
|
projectionClass?: "unclassified" | "class_3_static_lease" | undefined;
|
|
542
540
|
projectionAllowlistKey?: string | null | undefined;
|
|
543
541
|
versionSelector?: number | "latest" | undefined;
|
|
542
|
+
label?: string | null | undefined;
|
|
543
|
+
expiresAt?: string | undefined;
|
|
544
544
|
keyScope?: string | undefined;
|
|
545
545
|
}, {
|
|
546
546
|
secretId: string;
|
|
547
547
|
configPath: string;
|
|
548
548
|
required?: boolean | undefined;
|
|
549
|
-
label?: string | null | undefined;
|
|
550
|
-
expiresAt?: string | undefined;
|
|
551
549
|
projectionClass?: "unclassified" | "class_3_static_lease" | undefined;
|
|
552
550
|
projectionAllowlistKey?: string | null | undefined;
|
|
553
551
|
versionSelector?: number | "latest" | undefined;
|
|
552
|
+
label?: string | null | undefined;
|
|
553
|
+
expiresAt?: string | undefined;
|
|
554
554
|
keyScope?: string | undefined;
|
|
555
555
|
}>, "many">;
|
|
556
556
|
status: z.ZodEnum<["active", "revoked", "expired", "needs_reauthorization"]>;
|
|
@@ -564,25 +564,25 @@ export declare const connectionGrantSchema: z.ZodEffects<z.ZodObject<{
|
|
|
564
564
|
createdAt: z.ZodDate;
|
|
565
565
|
updatedAt: z.ZodDate;
|
|
566
566
|
}, "strip", z.ZodTypeAny, {
|
|
567
|
+
companyId: string;
|
|
567
568
|
status: "active" | "expired" | "revoked" | "needs_reauthorization";
|
|
569
|
+
isDefault: boolean;
|
|
568
570
|
id: string;
|
|
569
|
-
companyId: string;
|
|
570
571
|
kind: "user" | "workspace";
|
|
571
572
|
createdByAgentId: string | null;
|
|
572
573
|
createdByUserId: string | null;
|
|
573
574
|
createdAt: Date;
|
|
574
575
|
updatedAt: Date;
|
|
575
576
|
connectionId: string;
|
|
576
|
-
isDefault: boolean;
|
|
577
577
|
credentialSecretRefs: {
|
|
578
578
|
secretId: string;
|
|
579
579
|
configPath: string;
|
|
580
580
|
required?: boolean | undefined;
|
|
581
|
-
label?: string | null | undefined;
|
|
582
|
-
expiresAt?: string | undefined;
|
|
583
581
|
projectionClass?: "unclassified" | "class_3_static_lease" | undefined;
|
|
584
582
|
projectionAllowlistKey?: string | null | undefined;
|
|
585
583
|
versionSelector?: number | "latest" | undefined;
|
|
584
|
+
label?: string | null | undefined;
|
|
585
|
+
expiresAt?: string | undefined;
|
|
586
586
|
keyScope?: string | undefined;
|
|
587
587
|
}[];
|
|
588
588
|
subjectUserId: string | null;
|
|
@@ -595,25 +595,25 @@ export declare const connectionGrantSchema: z.ZodEffects<z.ZodObject<{
|
|
|
595
595
|
revokedByUserId: string | null;
|
|
596
596
|
lastUsedAt: Date | null;
|
|
597
597
|
}, {
|
|
598
|
+
companyId: string;
|
|
598
599
|
status: "active" | "expired" | "revoked" | "needs_reauthorization";
|
|
600
|
+
isDefault: boolean;
|
|
599
601
|
id: string;
|
|
600
|
-
companyId: string;
|
|
601
602
|
kind: "user" | "workspace";
|
|
602
603
|
createdByAgentId: string | null;
|
|
603
604
|
createdByUserId: string | null;
|
|
604
605
|
createdAt: Date;
|
|
605
606
|
updatedAt: Date;
|
|
606
607
|
connectionId: string;
|
|
607
|
-
isDefault: boolean;
|
|
608
608
|
credentialSecretRefs: {
|
|
609
609
|
secretId: string;
|
|
610
610
|
configPath: string;
|
|
611
611
|
required?: boolean | undefined;
|
|
612
|
-
label?: string | null | undefined;
|
|
613
|
-
expiresAt?: string | undefined;
|
|
614
612
|
projectionClass?: "unclassified" | "class_3_static_lease" | undefined;
|
|
615
613
|
projectionAllowlistKey?: string | null | undefined;
|
|
616
614
|
versionSelector?: number | "latest" | undefined;
|
|
615
|
+
label?: string | null | undefined;
|
|
616
|
+
expiresAt?: string | undefined;
|
|
617
617
|
keyScope?: string | undefined;
|
|
618
618
|
}[];
|
|
619
619
|
subjectUserId: string | null;
|
|
@@ -626,25 +626,25 @@ export declare const connectionGrantSchema: z.ZodEffects<z.ZodObject<{
|
|
|
626
626
|
revokedByUserId: string | null;
|
|
627
627
|
lastUsedAt: Date | null;
|
|
628
628
|
}>, {
|
|
629
|
+
companyId: string;
|
|
629
630
|
status: "active" | "expired" | "revoked" | "needs_reauthorization";
|
|
631
|
+
isDefault: boolean;
|
|
630
632
|
id: string;
|
|
631
|
-
companyId: string;
|
|
632
633
|
kind: "user" | "workspace";
|
|
633
634
|
createdByAgentId: string | null;
|
|
634
635
|
createdByUserId: string | null;
|
|
635
636
|
createdAt: Date;
|
|
636
637
|
updatedAt: Date;
|
|
637
638
|
connectionId: string;
|
|
638
|
-
isDefault: boolean;
|
|
639
639
|
credentialSecretRefs: {
|
|
640
640
|
secretId: string;
|
|
641
641
|
configPath: string;
|
|
642
642
|
required?: boolean | undefined;
|
|
643
|
-
label?: string | null | undefined;
|
|
644
|
-
expiresAt?: string | undefined;
|
|
645
643
|
projectionClass?: "unclassified" | "class_3_static_lease" | undefined;
|
|
646
644
|
projectionAllowlistKey?: string | null | undefined;
|
|
647
645
|
versionSelector?: number | "latest" | undefined;
|
|
646
|
+
label?: string | null | undefined;
|
|
647
|
+
expiresAt?: string | undefined;
|
|
648
648
|
keyScope?: string | undefined;
|
|
649
649
|
}[];
|
|
650
650
|
subjectUserId: string | null;
|
|
@@ -657,25 +657,25 @@ export declare const connectionGrantSchema: z.ZodEffects<z.ZodObject<{
|
|
|
657
657
|
revokedByUserId: string | null;
|
|
658
658
|
lastUsedAt: Date | null;
|
|
659
659
|
}, {
|
|
660
|
+
companyId: string;
|
|
660
661
|
status: "active" | "expired" | "revoked" | "needs_reauthorization";
|
|
662
|
+
isDefault: boolean;
|
|
661
663
|
id: string;
|
|
662
|
-
companyId: string;
|
|
663
664
|
kind: "user" | "workspace";
|
|
664
665
|
createdByAgentId: string | null;
|
|
665
666
|
createdByUserId: string | null;
|
|
666
667
|
createdAt: Date;
|
|
667
668
|
updatedAt: Date;
|
|
668
669
|
connectionId: string;
|
|
669
|
-
isDefault: boolean;
|
|
670
670
|
credentialSecretRefs: {
|
|
671
671
|
secretId: string;
|
|
672
672
|
configPath: string;
|
|
673
673
|
required?: boolean | undefined;
|
|
674
|
-
label?: string | null | undefined;
|
|
675
|
-
expiresAt?: string | undefined;
|
|
676
674
|
projectionClass?: "unclassified" | "class_3_static_lease" | undefined;
|
|
677
675
|
projectionAllowlistKey?: string | null | undefined;
|
|
678
676
|
versionSelector?: number | "latest" | undefined;
|
|
677
|
+
label?: string | null | undefined;
|
|
678
|
+
expiresAt?: string | undefined;
|
|
679
679
|
keyScope?: string | undefined;
|
|
680
680
|
}[];
|
|
681
681
|
subjectUserId: string | null;
|
|
@@ -980,8 +980,8 @@ export declare const upsertToolCatalogEntrySchema: z.ZodObject<{
|
|
|
980
980
|
title?: string | null | undefined;
|
|
981
981
|
description?: string | null | undefined;
|
|
982
982
|
status?: "active" | "disabled" | "quarantined" | "removed" | undefined;
|
|
983
|
-
riskLevel?: "critical" | "high" | "medium" | "low" | "read" | "write" | "destructive" | undefined;
|
|
984
983
|
version?: string | null | undefined;
|
|
984
|
+
riskLevel?: "critical" | "high" | "medium" | "low" | "read" | "write" | "destructive" | undefined;
|
|
985
985
|
inputSchema?: Record<string, unknown> | null | undefined;
|
|
986
986
|
annotations?: Record<string, unknown> | null | undefined;
|
|
987
987
|
entryKind?: "tool" | "resource" | "prompt" | undefined;
|
|
@@ -1393,17 +1393,17 @@ export declare const createToolProfileBindingSchema: z.ZodObject<{
|
|
|
1393
1393
|
priority: z.ZodDefault<z.ZodNumber>;
|
|
1394
1394
|
metadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1395
1395
|
}, "strip", z.ZodTypeAny, {
|
|
1396
|
-
priority: number;
|
|
1397
1396
|
targetType: "project" | "agent" | "company" | "routine" | "issue" | "gateway";
|
|
1398
1397
|
targetId: string;
|
|
1398
|
+
priority: number;
|
|
1399
1399
|
profileId: string;
|
|
1400
1400
|
metadata?: Record<string, unknown> | null | undefined;
|
|
1401
1401
|
}, {
|
|
1402
1402
|
targetType: "project" | "agent" | "company" | "routine" | "issue" | "gateway";
|
|
1403
1403
|
targetId: string;
|
|
1404
1404
|
profileId: string;
|
|
1405
|
-
priority?: number | undefined;
|
|
1406
1405
|
metadata?: Record<string, unknown> | null | undefined;
|
|
1406
|
+
priority?: number | undefined;
|
|
1407
1407
|
}>;
|
|
1408
1408
|
export type CreateToolProfileBinding = z.infer<typeof createToolProfileBindingSchema>;
|
|
1409
1409
|
export declare const createToolProfileBindingForProfileSchema: z.ZodObject<Omit<{
|
|
@@ -1413,15 +1413,15 @@ export declare const createToolProfileBindingForProfileSchema: z.ZodObject<Omit<
|
|
|
1413
1413
|
priority: z.ZodDefault<z.ZodNumber>;
|
|
1414
1414
|
metadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1415
1415
|
}, "profileId">, "strip", z.ZodTypeAny, {
|
|
1416
|
-
priority: number;
|
|
1417
1416
|
targetType: "project" | "agent" | "company" | "routine" | "issue" | "gateway";
|
|
1418
1417
|
targetId: string;
|
|
1418
|
+
priority: number;
|
|
1419
1419
|
metadata?: Record<string, unknown> | null | undefined;
|
|
1420
1420
|
}, {
|
|
1421
1421
|
targetType: "project" | "agent" | "company" | "routine" | "issue" | "gateway";
|
|
1422
1422
|
targetId: string;
|
|
1423
|
-
priority?: number | undefined;
|
|
1424
1423
|
metadata?: Record<string, unknown> | null | undefined;
|
|
1424
|
+
priority?: number | undefined;
|
|
1425
1425
|
}>;
|
|
1426
1426
|
export type CreateToolProfileBindingForProfile = z.infer<typeof createToolProfileBindingForProfileSchema>;
|
|
1427
1427
|
export declare const unbindToolProfileBindingSchema: z.ZodObject<Pick<Omit<{
|
|
@@ -1486,6 +1486,7 @@ export declare const toolMcpGatewayAuthConfigSchema: z.ZodObject<{
|
|
|
1486
1486
|
requireFiniteExpiry: boolean;
|
|
1487
1487
|
longLivedTokenRequiresOverride: boolean;
|
|
1488
1488
|
};
|
|
1489
|
+
version: 1;
|
|
1489
1490
|
oauth: {
|
|
1490
1491
|
enabled: false;
|
|
1491
1492
|
reservedFor: "v1_5";
|
|
@@ -1493,7 +1494,6 @@ export declare const toolMcpGatewayAuthConfigSchema: z.ZodObject<{
|
|
|
1493
1494
|
dynamicClientRegistration?: false | undefined;
|
|
1494
1495
|
authorizationCodePkce?: false | undefined;
|
|
1495
1496
|
};
|
|
1496
|
-
version: 1;
|
|
1497
1497
|
}, {
|
|
1498
1498
|
bearer?: {
|
|
1499
1499
|
enabled?: boolean | undefined;
|
|
@@ -1502,6 +1502,7 @@ export declare const toolMcpGatewayAuthConfigSchema: z.ZodObject<{
|
|
|
1502
1502
|
requireFiniteExpiry?: boolean | undefined;
|
|
1503
1503
|
longLivedTokenRequiresOverride?: boolean | undefined;
|
|
1504
1504
|
} | undefined;
|
|
1505
|
+
version?: 1 | undefined;
|
|
1505
1506
|
oauth?: {
|
|
1506
1507
|
enabled?: false | undefined;
|
|
1507
1508
|
reservedFor?: "v1_5" | undefined;
|
|
@@ -1509,7 +1510,6 @@ export declare const toolMcpGatewayAuthConfigSchema: z.ZodObject<{
|
|
|
1509
1510
|
dynamicClientRegistration?: false | undefined;
|
|
1510
1511
|
authorizationCodePkce?: false | undefined;
|
|
1511
1512
|
} | undefined;
|
|
1512
|
-
version?: 1 | undefined;
|
|
1513
1513
|
}>;
|
|
1514
1514
|
export declare const toolMcpGatewayHeaderPolicySchema: z.ZodObject<{
|
|
1515
1515
|
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
@@ -1697,6 +1697,7 @@ export declare const createToolMcpGatewaySchema: z.ZodObject<{
|
|
|
1697
1697
|
requireFiniteExpiry: boolean;
|
|
1698
1698
|
longLivedTokenRequiresOverride: boolean;
|
|
1699
1699
|
};
|
|
1700
|
+
version: 1;
|
|
1700
1701
|
oauth: {
|
|
1701
1702
|
enabled: false;
|
|
1702
1703
|
reservedFor: "v1_5";
|
|
@@ -1704,7 +1705,6 @@ export declare const createToolMcpGatewaySchema: z.ZodObject<{
|
|
|
1704
1705
|
dynamicClientRegistration?: false | undefined;
|
|
1705
1706
|
authorizationCodePkce?: false | undefined;
|
|
1706
1707
|
};
|
|
1707
|
-
version: 1;
|
|
1708
1708
|
}, {
|
|
1709
1709
|
bearer?: {
|
|
1710
1710
|
enabled?: boolean | undefined;
|
|
@@ -1713,6 +1713,7 @@ export declare const createToolMcpGatewaySchema: z.ZodObject<{
|
|
|
1713
1713
|
requireFiniteExpiry?: boolean | undefined;
|
|
1714
1714
|
longLivedTokenRequiresOverride?: boolean | undefined;
|
|
1715
1715
|
} | undefined;
|
|
1716
|
+
version?: 1 | undefined;
|
|
1716
1717
|
oauth?: {
|
|
1717
1718
|
enabled?: false | undefined;
|
|
1718
1719
|
reservedFor?: "v1_5" | undefined;
|
|
@@ -1720,7 +1721,6 @@ export declare const createToolMcpGatewaySchema: z.ZodObject<{
|
|
|
1720
1721
|
dynamicClientRegistration?: false | undefined;
|
|
1721
1722
|
authorizationCodePkce?: false | undefined;
|
|
1722
1723
|
} | undefined;
|
|
1723
|
-
version?: 1 | undefined;
|
|
1724
1724
|
}>>;
|
|
1725
1725
|
headerPolicy: z.ZodOptional<z.ZodObject<{
|
|
1726
1726
|
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
@@ -1853,10 +1853,10 @@ export declare const createToolMcpGatewaySchema: z.ZodObject<{
|
|
|
1853
1853
|
profileId: string;
|
|
1854
1854
|
description?: string | null | undefined;
|
|
1855
1855
|
projectId?: string | null | undefined;
|
|
1856
|
-
agentId?: string | null | undefined;
|
|
1857
|
-
slug?: string | undefined;
|
|
1858
1856
|
issueId?: string | null | undefined;
|
|
1859
1857
|
metadata?: Record<string, unknown> | null | undefined;
|
|
1858
|
+
agentId?: string | null | undefined;
|
|
1859
|
+
slug?: string | undefined;
|
|
1860
1860
|
displaySlug?: string | undefined;
|
|
1861
1861
|
defaultProfileMode?: "gateway_only" | "inherit_context_then_gateway" | "gateway_then_context" | undefined;
|
|
1862
1862
|
contextScopeType?: "project" | "agent" | "none" | "company" | "routine" | "issue" | undefined;
|
|
@@ -1870,6 +1870,7 @@ export declare const createToolMcpGatewaySchema: z.ZodObject<{
|
|
|
1870
1870
|
requireFiniteExpiry: boolean;
|
|
1871
1871
|
longLivedTokenRequiresOverride: boolean;
|
|
1872
1872
|
};
|
|
1873
|
+
version: 1;
|
|
1873
1874
|
oauth: {
|
|
1874
1875
|
enabled: false;
|
|
1875
1876
|
reservedFor: "v1_5";
|
|
@@ -1877,7 +1878,6 @@ export declare const createToolMcpGatewaySchema: z.ZodObject<{
|
|
|
1877
1878
|
dynamicClientRegistration?: false | undefined;
|
|
1878
1879
|
authorizationCodePkce?: false | undefined;
|
|
1879
1880
|
};
|
|
1880
|
-
version: 1;
|
|
1881
1881
|
} | undefined;
|
|
1882
1882
|
headerPolicy?: {
|
|
1883
1883
|
version: 1;
|
|
@@ -1919,10 +1919,10 @@ export declare const createToolMcpGatewaySchema: z.ZodObject<{
|
|
|
1919
1919
|
profileId: string;
|
|
1920
1920
|
description?: string | null | undefined;
|
|
1921
1921
|
projectId?: string | null | undefined;
|
|
1922
|
-
agentId?: string | null | undefined;
|
|
1923
|
-
slug?: string | undefined;
|
|
1924
1922
|
issueId?: string | null | undefined;
|
|
1925
1923
|
metadata?: Record<string, unknown> | null | undefined;
|
|
1924
|
+
agentId?: string | null | undefined;
|
|
1925
|
+
slug?: string | undefined;
|
|
1926
1926
|
displaySlug?: string | undefined;
|
|
1927
1927
|
defaultProfileMode?: "gateway_only" | "inherit_context_then_gateway" | "gateway_then_context" | undefined;
|
|
1928
1928
|
contextScopeType?: "project" | "agent" | "none" | "company" | "routine" | "issue" | undefined;
|
|
@@ -1936,6 +1936,7 @@ export declare const createToolMcpGatewaySchema: z.ZodObject<{
|
|
|
1936
1936
|
requireFiniteExpiry?: boolean | undefined;
|
|
1937
1937
|
longLivedTokenRequiresOverride?: boolean | undefined;
|
|
1938
1938
|
} | undefined;
|
|
1939
|
+
version?: 1 | undefined;
|
|
1939
1940
|
oauth?: {
|
|
1940
1941
|
enabled?: false | undefined;
|
|
1941
1942
|
reservedFor?: "v1_5" | undefined;
|
|
@@ -1943,7 +1944,6 @@ export declare const createToolMcpGatewaySchema: z.ZodObject<{
|
|
|
1943
1944
|
dynamicClientRegistration?: false | undefined;
|
|
1944
1945
|
authorizationCodePkce?: false | undefined;
|
|
1945
1946
|
} | undefined;
|
|
1946
|
-
version?: 1 | undefined;
|
|
1947
1947
|
} | undefined;
|
|
1948
1948
|
headerPolicy?: {
|
|
1949
1949
|
version?: 1 | undefined;
|
|
@@ -2043,6 +2043,7 @@ export declare const updateToolMcpGatewaySchema: z.ZodEffects<z.ZodObject<{
|
|
|
2043
2043
|
requireFiniteExpiry: boolean;
|
|
2044
2044
|
longLivedTokenRequiresOverride: boolean;
|
|
2045
2045
|
};
|
|
2046
|
+
version: 1;
|
|
2046
2047
|
oauth: {
|
|
2047
2048
|
enabled: false;
|
|
2048
2049
|
reservedFor: "v1_5";
|
|
@@ -2050,7 +2051,6 @@ export declare const updateToolMcpGatewaySchema: z.ZodEffects<z.ZodObject<{
|
|
|
2050
2051
|
dynamicClientRegistration?: false | undefined;
|
|
2051
2052
|
authorizationCodePkce?: false | undefined;
|
|
2052
2053
|
};
|
|
2053
|
-
version: 1;
|
|
2054
2054
|
}, {
|
|
2055
2055
|
bearer?: {
|
|
2056
2056
|
enabled?: boolean | undefined;
|
|
@@ -2059,6 +2059,7 @@ export declare const updateToolMcpGatewaySchema: z.ZodEffects<z.ZodObject<{
|
|
|
2059
2059
|
requireFiniteExpiry?: boolean | undefined;
|
|
2060
2060
|
longLivedTokenRequiresOverride?: boolean | undefined;
|
|
2061
2061
|
} | undefined;
|
|
2062
|
+
version?: 1 | undefined;
|
|
2062
2063
|
oauth?: {
|
|
2063
2064
|
enabled?: false | undefined;
|
|
2064
2065
|
reservedFor?: "v1_5" | undefined;
|
|
@@ -2066,7 +2067,6 @@ export declare const updateToolMcpGatewaySchema: z.ZodEffects<z.ZodObject<{
|
|
|
2066
2067
|
dynamicClientRegistration?: false | undefined;
|
|
2067
2068
|
authorizationCodePkce?: false | undefined;
|
|
2068
2069
|
} | undefined;
|
|
2069
|
-
version?: 1 | undefined;
|
|
2070
2070
|
}>>>;
|
|
2071
2071
|
headerPolicy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2072
2072
|
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
@@ -2199,12 +2199,12 @@ export declare const updateToolMcpGatewaySchema: z.ZodEffects<z.ZodObject<{
|
|
|
2199
2199
|
}, "strip", z.ZodTypeAny, {
|
|
2200
2200
|
description?: string | null | undefined;
|
|
2201
2201
|
status?: "active" | "archived" | "disabled" | "draft" | undefined;
|
|
2202
|
-
projectId?: string | null | undefined;
|
|
2203
|
-
agentId?: string | null | undefined;
|
|
2204
|
-
slug?: string | undefined;
|
|
2205
2202
|
name?: string | undefined;
|
|
2203
|
+
projectId?: string | null | undefined;
|
|
2206
2204
|
issueId?: string | null | undefined;
|
|
2207
2205
|
metadata?: Record<string, unknown> | null | undefined;
|
|
2206
|
+
agentId?: string | null | undefined;
|
|
2207
|
+
slug?: string | undefined;
|
|
2208
2208
|
profileId?: string | undefined;
|
|
2209
2209
|
displaySlug?: string | undefined;
|
|
2210
2210
|
defaultProfileMode?: "gateway_only" | "inherit_context_then_gateway" | "gateway_then_context" | undefined;
|
|
@@ -2219,6 +2219,7 @@ export declare const updateToolMcpGatewaySchema: z.ZodEffects<z.ZodObject<{
|
|
|
2219
2219
|
requireFiniteExpiry: boolean;
|
|
2220
2220
|
longLivedTokenRequiresOverride: boolean;
|
|
2221
2221
|
};
|
|
2222
|
+
version: 1;
|
|
2222
2223
|
oauth: {
|
|
2223
2224
|
enabled: false;
|
|
2224
2225
|
reservedFor: "v1_5";
|
|
@@ -2226,7 +2227,6 @@ export declare const updateToolMcpGatewaySchema: z.ZodEffects<z.ZodObject<{
|
|
|
2226
2227
|
dynamicClientRegistration?: false | undefined;
|
|
2227
2228
|
authorizationCodePkce?: false | undefined;
|
|
2228
2229
|
};
|
|
2229
|
-
version: 1;
|
|
2230
2230
|
} | undefined;
|
|
2231
2231
|
headerPolicy?: {
|
|
2232
2232
|
version: 1;
|
|
@@ -2266,12 +2266,12 @@ export declare const updateToolMcpGatewaySchema: z.ZodEffects<z.ZodObject<{
|
|
|
2266
2266
|
}, {
|
|
2267
2267
|
description?: string | null | undefined;
|
|
2268
2268
|
status?: "active" | "archived" | "disabled" | "draft" | undefined;
|
|
2269
|
-
projectId?: string | null | undefined;
|
|
2270
|
-
agentId?: string | null | undefined;
|
|
2271
|
-
slug?: string | undefined;
|
|
2272
2269
|
name?: string | undefined;
|
|
2270
|
+
projectId?: string | null | undefined;
|
|
2273
2271
|
issueId?: string | null | undefined;
|
|
2274
2272
|
metadata?: Record<string, unknown> | null | undefined;
|
|
2273
|
+
agentId?: string | null | undefined;
|
|
2274
|
+
slug?: string | undefined;
|
|
2275
2275
|
profileId?: string | undefined;
|
|
2276
2276
|
displaySlug?: string | undefined;
|
|
2277
2277
|
defaultProfileMode?: "gateway_only" | "inherit_context_then_gateway" | "gateway_then_context" | undefined;
|
|
@@ -2286,6 +2286,7 @@ export declare const updateToolMcpGatewaySchema: z.ZodEffects<z.ZodObject<{
|
|
|
2286
2286
|
requireFiniteExpiry?: boolean | undefined;
|
|
2287
2287
|
longLivedTokenRequiresOverride?: boolean | undefined;
|
|
2288
2288
|
} | undefined;
|
|
2289
|
+
version?: 1 | undefined;
|
|
2289
2290
|
oauth?: {
|
|
2290
2291
|
enabled?: false | undefined;
|
|
2291
2292
|
reservedFor?: "v1_5" | undefined;
|
|
@@ -2293,7 +2294,6 @@ export declare const updateToolMcpGatewaySchema: z.ZodEffects<z.ZodObject<{
|
|
|
2293
2294
|
dynamicClientRegistration?: false | undefined;
|
|
2294
2295
|
authorizationCodePkce?: false | undefined;
|
|
2295
2296
|
} | undefined;
|
|
2296
|
-
version?: 1 | undefined;
|
|
2297
2297
|
} | undefined;
|
|
2298
2298
|
headerPolicy?: {
|
|
2299
2299
|
version?: 1 | undefined;
|
|
@@ -2333,12 +2333,12 @@ export declare const updateToolMcpGatewaySchema: z.ZodEffects<z.ZodObject<{
|
|
|
2333
2333
|
}>, {
|
|
2334
2334
|
description?: string | null | undefined;
|
|
2335
2335
|
status?: "active" | "archived" | "disabled" | "draft" | undefined;
|
|
2336
|
-
projectId?: string | null | undefined;
|
|
2337
|
-
agentId?: string | null | undefined;
|
|
2338
|
-
slug?: string | undefined;
|
|
2339
2336
|
name?: string | undefined;
|
|
2337
|
+
projectId?: string | null | undefined;
|
|
2340
2338
|
issueId?: string | null | undefined;
|
|
2341
2339
|
metadata?: Record<string, unknown> | null | undefined;
|
|
2340
|
+
agentId?: string | null | undefined;
|
|
2341
|
+
slug?: string | undefined;
|
|
2342
2342
|
profileId?: string | undefined;
|
|
2343
2343
|
displaySlug?: string | undefined;
|
|
2344
2344
|
defaultProfileMode?: "gateway_only" | "inherit_context_then_gateway" | "gateway_then_context" | undefined;
|
|
@@ -2353,6 +2353,7 @@ export declare const updateToolMcpGatewaySchema: z.ZodEffects<z.ZodObject<{
|
|
|
2353
2353
|
requireFiniteExpiry: boolean;
|
|
2354
2354
|
longLivedTokenRequiresOverride: boolean;
|
|
2355
2355
|
};
|
|
2356
|
+
version: 1;
|
|
2356
2357
|
oauth: {
|
|
2357
2358
|
enabled: false;
|
|
2358
2359
|
reservedFor: "v1_5";
|
|
@@ -2360,7 +2361,6 @@ export declare const updateToolMcpGatewaySchema: z.ZodEffects<z.ZodObject<{
|
|
|
2360
2361
|
dynamicClientRegistration?: false | undefined;
|
|
2361
2362
|
authorizationCodePkce?: false | undefined;
|
|
2362
2363
|
};
|
|
2363
|
-
version: 1;
|
|
2364
2364
|
} | undefined;
|
|
2365
2365
|
headerPolicy?: {
|
|
2366
2366
|
version: 1;
|
|
@@ -2400,12 +2400,12 @@ export declare const updateToolMcpGatewaySchema: z.ZodEffects<z.ZodObject<{
|
|
|
2400
2400
|
}, {
|
|
2401
2401
|
description?: string | null | undefined;
|
|
2402
2402
|
status?: "active" | "archived" | "disabled" | "draft" | undefined;
|
|
2403
|
-
projectId?: string | null | undefined;
|
|
2404
|
-
agentId?: string | null | undefined;
|
|
2405
|
-
slug?: string | undefined;
|
|
2406
2403
|
name?: string | undefined;
|
|
2404
|
+
projectId?: string | null | undefined;
|
|
2407
2405
|
issueId?: string | null | undefined;
|
|
2408
2406
|
metadata?: Record<string, unknown> | null | undefined;
|
|
2407
|
+
agentId?: string | null | undefined;
|
|
2408
|
+
slug?: string | undefined;
|
|
2409
2409
|
profileId?: string | undefined;
|
|
2410
2410
|
displaySlug?: string | undefined;
|
|
2411
2411
|
defaultProfileMode?: "gateway_only" | "inherit_context_then_gateway" | "gateway_then_context" | undefined;
|
|
@@ -2420,6 +2420,7 @@ export declare const updateToolMcpGatewaySchema: z.ZodEffects<z.ZodObject<{
|
|
|
2420
2420
|
requireFiniteExpiry?: boolean | undefined;
|
|
2421
2421
|
longLivedTokenRequiresOverride?: boolean | undefined;
|
|
2422
2422
|
} | undefined;
|
|
2423
|
+
version?: 1 | undefined;
|
|
2423
2424
|
oauth?: {
|
|
2424
2425
|
enabled?: false | undefined;
|
|
2425
2426
|
reservedFor?: "v1_5" | undefined;
|
|
@@ -2427,7 +2428,6 @@ export declare const updateToolMcpGatewaySchema: z.ZodEffects<z.ZodObject<{
|
|
|
2427
2428
|
dynamicClientRegistration?: false | undefined;
|
|
2428
2429
|
authorizationCodePkce?: false | undefined;
|
|
2429
2430
|
} | undefined;
|
|
2430
|
-
version?: 1 | undefined;
|
|
2431
2431
|
} | undefined;
|
|
2432
2432
|
headerPolicy?: {
|
|
2433
2433
|
version?: 1 | undefined;
|
|
@@ -2614,21 +2614,21 @@ export declare const toolPolicyConditionsSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2614
2614
|
requireRoutine: z.ZodOptional<z.ZodBoolean>;
|
|
2615
2615
|
}, "strict", z.ZodTypeAny, {
|
|
2616
2616
|
projectId?: string | undefined;
|
|
2617
|
-
routineId?: string | undefined;
|
|
2618
2617
|
issueId?: string | undefined;
|
|
2619
2618
|
projectIds?: string[] | undefined;
|
|
2620
|
-
routineIds?: string[] | undefined;
|
|
2621
2619
|
issueIds?: string[] | undefined;
|
|
2620
|
+
routineId?: string | undefined;
|
|
2621
|
+
routineIds?: string[] | undefined;
|
|
2622
2622
|
requireIssue?: boolean | undefined;
|
|
2623
2623
|
requireProject?: boolean | undefined;
|
|
2624
2624
|
requireRoutine?: boolean | undefined;
|
|
2625
2625
|
}, {
|
|
2626
2626
|
projectId?: string | undefined;
|
|
2627
|
-
routineId?: string | undefined;
|
|
2628
2627
|
issueId?: string | undefined;
|
|
2629
2628
|
projectIds?: string[] | undefined;
|
|
2630
|
-
routineIds?: string[] | undefined;
|
|
2631
2629
|
issueIds?: string[] | undefined;
|
|
2630
|
+
routineId?: string | undefined;
|
|
2631
|
+
routineIds?: string[] | undefined;
|
|
2632
2632
|
requireIssue?: boolean | undefined;
|
|
2633
2633
|
requireProject?: boolean | undefined;
|
|
2634
2634
|
requireRoutine?: boolean | undefined;
|
|
@@ -2775,11 +2775,11 @@ export declare const toolPolicyConditionsSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2775
2775
|
} | undefined;
|
|
2776
2776
|
context?: {
|
|
2777
2777
|
projectId?: string | undefined;
|
|
2778
|
-
routineId?: string | undefined;
|
|
2779
2778
|
issueId?: string | undefined;
|
|
2780
2779
|
projectIds?: string[] | undefined;
|
|
2781
|
-
routineIds?: string[] | undefined;
|
|
2782
2780
|
issueIds?: string[] | undefined;
|
|
2781
|
+
routineId?: string | undefined;
|
|
2782
|
+
routineIds?: string[] | undefined;
|
|
2783
2783
|
requireIssue?: boolean | undefined;
|
|
2784
2784
|
requireProject?: boolean | undefined;
|
|
2785
2785
|
requireRoutine?: boolean | undefined;
|
|
@@ -2842,11 +2842,11 @@ export declare const toolPolicyConditionsSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2842
2842
|
} | undefined;
|
|
2843
2843
|
context?: {
|
|
2844
2844
|
projectId?: string | undefined;
|
|
2845
|
-
routineId?: string | undefined;
|
|
2846
2845
|
issueId?: string | undefined;
|
|
2847
2846
|
projectIds?: string[] | undefined;
|
|
2848
|
-
routineIds?: string[] | undefined;
|
|
2849
2847
|
issueIds?: string[] | undefined;
|
|
2848
|
+
routineId?: string | undefined;
|
|
2849
|
+
routineIds?: string[] | undefined;
|
|
2850
2850
|
requireIssue?: boolean | undefined;
|
|
2851
2851
|
requireProject?: boolean | undefined;
|
|
2852
2852
|
requireRoutine?: boolean | undefined;
|
|
@@ -2909,11 +2909,11 @@ export declare const toolPolicyConditionsSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2909
2909
|
} | undefined;
|
|
2910
2910
|
context?: {
|
|
2911
2911
|
projectId?: string | undefined;
|
|
2912
|
-
routineId?: string | undefined;
|
|
2913
2912
|
issueId?: string | undefined;
|
|
2914
2913
|
projectIds?: string[] | undefined;
|
|
2915
|
-
routineIds?: string[] | undefined;
|
|
2916
2914
|
issueIds?: string[] | undefined;
|
|
2915
|
+
routineId?: string | undefined;
|
|
2916
|
+
routineIds?: string[] | undefined;
|
|
2917
2917
|
requireIssue?: boolean | undefined;
|
|
2918
2918
|
requireProject?: boolean | undefined;
|
|
2919
2919
|
requireRoutine?: boolean | undefined;
|
|
@@ -2976,11 +2976,11 @@ export declare const toolPolicyConditionsSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2976
2976
|
} | undefined;
|
|
2977
2977
|
context?: {
|
|
2978
2978
|
projectId?: string | undefined;
|
|
2979
|
-
routineId?: string | undefined;
|
|
2980
2979
|
issueId?: string | undefined;
|
|
2981
2980
|
projectIds?: string[] | undefined;
|
|
2982
|
-
routineIds?: string[] | undefined;
|
|
2983
2981
|
issueIds?: string[] | undefined;
|
|
2982
|
+
routineId?: string | undefined;
|
|
2983
|
+
routineIds?: string[] | undefined;
|
|
2984
2984
|
requireIssue?: boolean | undefined;
|
|
2985
2985
|
requireProject?: boolean | undefined;
|
|
2986
2986
|
requireRoutine?: boolean | undefined;
|
|
@@ -3113,21 +3113,21 @@ export declare const createToolPolicySchema: z.ZodObject<{
|
|
|
3113
3113
|
requireRoutine: z.ZodOptional<z.ZodBoolean>;
|
|
3114
3114
|
}, "strict", z.ZodTypeAny, {
|
|
3115
3115
|
projectId?: string | undefined;
|
|
3116
|
-
routineId?: string | undefined;
|
|
3117
3116
|
issueId?: string | undefined;
|
|
3118
3117
|
projectIds?: string[] | undefined;
|
|
3119
|
-
routineIds?: string[] | undefined;
|
|
3120
3118
|
issueIds?: string[] | undefined;
|
|
3119
|
+
routineId?: string | undefined;
|
|
3120
|
+
routineIds?: string[] | undefined;
|
|
3121
3121
|
requireIssue?: boolean | undefined;
|
|
3122
3122
|
requireProject?: boolean | undefined;
|
|
3123
3123
|
requireRoutine?: boolean | undefined;
|
|
3124
3124
|
}, {
|
|
3125
3125
|
projectId?: string | undefined;
|
|
3126
|
-
routineId?: string | undefined;
|
|
3127
3126
|
issueId?: string | undefined;
|
|
3128
3127
|
projectIds?: string[] | undefined;
|
|
3129
|
-
routineIds?: string[] | undefined;
|
|
3130
3128
|
issueIds?: string[] | undefined;
|
|
3129
|
+
routineId?: string | undefined;
|
|
3130
|
+
routineIds?: string[] | undefined;
|
|
3131
3131
|
requireIssue?: boolean | undefined;
|
|
3132
3132
|
requireProject?: boolean | undefined;
|
|
3133
3133
|
requireRoutine?: boolean | undefined;
|
|
@@ -3274,11 +3274,11 @@ export declare const createToolPolicySchema: z.ZodObject<{
|
|
|
3274
3274
|
} | undefined;
|
|
3275
3275
|
context?: {
|
|
3276
3276
|
projectId?: string | undefined;
|
|
3277
|
-
routineId?: string | undefined;
|
|
3278
3277
|
issueId?: string | undefined;
|
|
3279
3278
|
projectIds?: string[] | undefined;
|
|
3280
|
-
routineIds?: string[] | undefined;
|
|
3281
3279
|
issueIds?: string[] | undefined;
|
|
3280
|
+
routineId?: string | undefined;
|
|
3281
|
+
routineIds?: string[] | undefined;
|
|
3282
3282
|
requireIssue?: boolean | undefined;
|
|
3283
3283
|
requireProject?: boolean | undefined;
|
|
3284
3284
|
requireRoutine?: boolean | undefined;
|
|
@@ -3341,11 +3341,11 @@ export declare const createToolPolicySchema: z.ZodObject<{
|
|
|
3341
3341
|
} | undefined;
|
|
3342
3342
|
context?: {
|
|
3343
3343
|
projectId?: string | undefined;
|
|
3344
|
-
routineId?: string | undefined;
|
|
3345
3344
|
issueId?: string | undefined;
|
|
3346
3345
|
projectIds?: string[] | undefined;
|
|
3347
|
-
routineIds?: string[] | undefined;
|
|
3348
3346
|
issueIds?: string[] | undefined;
|
|
3347
|
+
routineId?: string | undefined;
|
|
3348
|
+
routineIds?: string[] | undefined;
|
|
3349
3349
|
requireIssue?: boolean | undefined;
|
|
3350
3350
|
requireProject?: boolean | undefined;
|
|
3351
3351
|
requireRoutine?: boolean | undefined;
|
|
@@ -3408,11 +3408,11 @@ export declare const createToolPolicySchema: z.ZodObject<{
|
|
|
3408
3408
|
} | undefined;
|
|
3409
3409
|
context?: {
|
|
3410
3410
|
projectId?: string | undefined;
|
|
3411
|
-
routineId?: string | undefined;
|
|
3412
3411
|
issueId?: string | undefined;
|
|
3413
3412
|
projectIds?: string[] | undefined;
|
|
3414
|
-
routineIds?: string[] | undefined;
|
|
3415
3413
|
issueIds?: string[] | undefined;
|
|
3414
|
+
routineId?: string | undefined;
|
|
3415
|
+
routineIds?: string[] | undefined;
|
|
3416
3416
|
requireIssue?: boolean | undefined;
|
|
3417
3417
|
requireProject?: boolean | undefined;
|
|
3418
3418
|
requireRoutine?: boolean | undefined;
|
|
@@ -3475,11 +3475,11 @@ export declare const createToolPolicySchema: z.ZodObject<{
|
|
|
3475
3475
|
} | undefined;
|
|
3476
3476
|
context?: {
|
|
3477
3477
|
projectId?: string | undefined;
|
|
3478
|
-
routineId?: string | undefined;
|
|
3479
3478
|
issueId?: string | undefined;
|
|
3480
3479
|
projectIds?: string[] | undefined;
|
|
3481
|
-
routineIds?: string[] | undefined;
|
|
3482
3480
|
issueIds?: string[] | undefined;
|
|
3481
|
+
routineId?: string | undefined;
|
|
3482
|
+
routineIds?: string[] | undefined;
|
|
3483
3483
|
requireIssue?: boolean | undefined;
|
|
3484
3484
|
requireProject?: boolean | undefined;
|
|
3485
3485
|
requireRoutine?: boolean | undefined;
|
|
@@ -3507,8 +3507,8 @@ export declare const createToolPolicySchema: z.ZodObject<{
|
|
|
3507
3507
|
config: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
3508
3508
|
}, "strip", z.ZodTypeAny, {
|
|
3509
3509
|
name: string;
|
|
3510
|
-
priority: number;
|
|
3511
3510
|
enabled: boolean;
|
|
3511
|
+
priority: number;
|
|
3512
3512
|
policyType: "allow" | "block" | "require_approval" | "trust_rule" | "rate_limit";
|
|
3513
3513
|
selectors: Record<string, unknown>;
|
|
3514
3514
|
description?: string | null | undefined;
|
|
@@ -3552,11 +3552,11 @@ export declare const createToolPolicySchema: z.ZodObject<{
|
|
|
3552
3552
|
} | undefined;
|
|
3553
3553
|
context?: {
|
|
3554
3554
|
projectId?: string | undefined;
|
|
3555
|
-
routineId?: string | undefined;
|
|
3556
3555
|
issueId?: string | undefined;
|
|
3557
3556
|
projectIds?: string[] | undefined;
|
|
3558
|
-
routineIds?: string[] | undefined;
|
|
3559
3557
|
issueIds?: string[] | undefined;
|
|
3558
|
+
routineId?: string | undefined;
|
|
3559
|
+
routineIds?: string[] | undefined;
|
|
3560
3560
|
requireIssue?: boolean | undefined;
|
|
3561
3561
|
requireProject?: boolean | undefined;
|
|
3562
3562
|
requireRoutine?: boolean | undefined;
|
|
@@ -3586,8 +3586,8 @@ export declare const createToolPolicySchema: z.ZodObject<{
|
|
|
3586
3586
|
policyType: "allow" | "block" | "require_approval" | "trust_rule" | "rate_limit";
|
|
3587
3587
|
description?: string | null | undefined;
|
|
3588
3588
|
config?: Record<string, unknown> | null | undefined;
|
|
3589
|
-
priority?: number | undefined;
|
|
3590
3589
|
enabled?: boolean | undefined;
|
|
3590
|
+
priority?: number | undefined;
|
|
3591
3591
|
conditions?: {
|
|
3592
3592
|
arguments?: {
|
|
3593
3593
|
fieldEquals?: Record<string, unknown> | undefined;
|
|
@@ -3627,11 +3627,11 @@ export declare const createToolPolicySchema: z.ZodObject<{
|
|
|
3627
3627
|
} | undefined;
|
|
3628
3628
|
context?: {
|
|
3629
3629
|
projectId?: string | undefined;
|
|
3630
|
-
routineId?: string | undefined;
|
|
3631
3630
|
issueId?: string | undefined;
|
|
3632
3631
|
projectIds?: string[] | undefined;
|
|
3633
|
-
routineIds?: string[] | undefined;
|
|
3634
3632
|
issueIds?: string[] | undefined;
|
|
3633
|
+
routineId?: string | undefined;
|
|
3634
|
+
routineIds?: string[] | undefined;
|
|
3635
3635
|
requireIssue?: boolean | undefined;
|
|
3636
3636
|
requireProject?: boolean | undefined;
|
|
3637
3637
|
requireRoutine?: boolean | undefined;
|
|
@@ -3767,21 +3767,21 @@ export declare const updateToolPolicySchema: z.ZodEffects<z.ZodObject<{
|
|
|
3767
3767
|
requireRoutine: z.ZodOptional<z.ZodBoolean>;
|
|
3768
3768
|
}, "strict", z.ZodTypeAny, {
|
|
3769
3769
|
projectId?: string | undefined;
|
|
3770
|
-
routineId?: string | undefined;
|
|
3771
3770
|
issueId?: string | undefined;
|
|
3772
3771
|
projectIds?: string[] | undefined;
|
|
3773
|
-
routineIds?: string[] | undefined;
|
|
3774
3772
|
issueIds?: string[] | undefined;
|
|
3773
|
+
routineId?: string | undefined;
|
|
3774
|
+
routineIds?: string[] | undefined;
|
|
3775
3775
|
requireIssue?: boolean | undefined;
|
|
3776
3776
|
requireProject?: boolean | undefined;
|
|
3777
3777
|
requireRoutine?: boolean | undefined;
|
|
3778
3778
|
}, {
|
|
3779
3779
|
projectId?: string | undefined;
|
|
3780
|
-
routineId?: string | undefined;
|
|
3781
3780
|
issueId?: string | undefined;
|
|
3782
3781
|
projectIds?: string[] | undefined;
|
|
3783
|
-
routineIds?: string[] | undefined;
|
|
3784
3782
|
issueIds?: string[] | undefined;
|
|
3783
|
+
routineId?: string | undefined;
|
|
3784
|
+
routineIds?: string[] | undefined;
|
|
3785
3785
|
requireIssue?: boolean | undefined;
|
|
3786
3786
|
requireProject?: boolean | undefined;
|
|
3787
3787
|
requireRoutine?: boolean | undefined;
|
|
@@ -3928,11 +3928,11 @@ export declare const updateToolPolicySchema: z.ZodEffects<z.ZodObject<{
|
|
|
3928
3928
|
} | undefined;
|
|
3929
3929
|
context?: {
|
|
3930
3930
|
projectId?: string | undefined;
|
|
3931
|
-
routineId?: string | undefined;
|
|
3932
3931
|
issueId?: string | undefined;
|
|
3933
3932
|
projectIds?: string[] | undefined;
|
|
3934
|
-
routineIds?: string[] | undefined;
|
|
3935
3933
|
issueIds?: string[] | undefined;
|
|
3934
|
+
routineId?: string | undefined;
|
|
3935
|
+
routineIds?: string[] | undefined;
|
|
3936
3936
|
requireIssue?: boolean | undefined;
|
|
3937
3937
|
requireProject?: boolean | undefined;
|
|
3938
3938
|
requireRoutine?: boolean | undefined;
|
|
@@ -3995,11 +3995,11 @@ export declare const updateToolPolicySchema: z.ZodEffects<z.ZodObject<{
|
|
|
3995
3995
|
} | undefined;
|
|
3996
3996
|
context?: {
|
|
3997
3997
|
projectId?: string | undefined;
|
|
3998
|
-
routineId?: string | undefined;
|
|
3999
3998
|
issueId?: string | undefined;
|
|
4000
3999
|
projectIds?: string[] | undefined;
|
|
4001
|
-
routineIds?: string[] | undefined;
|
|
4002
4000
|
issueIds?: string[] | undefined;
|
|
4001
|
+
routineId?: string | undefined;
|
|
4002
|
+
routineIds?: string[] | undefined;
|
|
4003
4003
|
requireIssue?: boolean | undefined;
|
|
4004
4004
|
requireProject?: boolean | undefined;
|
|
4005
4005
|
requireRoutine?: boolean | undefined;
|
|
@@ -4062,11 +4062,11 @@ export declare const updateToolPolicySchema: z.ZodEffects<z.ZodObject<{
|
|
|
4062
4062
|
} | undefined;
|
|
4063
4063
|
context?: {
|
|
4064
4064
|
projectId?: string | undefined;
|
|
4065
|
-
routineId?: string | undefined;
|
|
4066
4065
|
issueId?: string | undefined;
|
|
4067
4066
|
projectIds?: string[] | undefined;
|
|
4068
|
-
routineIds?: string[] | undefined;
|
|
4069
4067
|
issueIds?: string[] | undefined;
|
|
4068
|
+
routineId?: string | undefined;
|
|
4069
|
+
routineIds?: string[] | undefined;
|
|
4070
4070
|
requireIssue?: boolean | undefined;
|
|
4071
4071
|
requireProject?: boolean | undefined;
|
|
4072
4072
|
requireRoutine?: boolean | undefined;
|
|
@@ -4129,11 +4129,11 @@ export declare const updateToolPolicySchema: z.ZodEffects<z.ZodObject<{
|
|
|
4129
4129
|
} | undefined;
|
|
4130
4130
|
context?: {
|
|
4131
4131
|
projectId?: string | undefined;
|
|
4132
|
-
routineId?: string | undefined;
|
|
4133
4132
|
issueId?: string | undefined;
|
|
4134
4133
|
projectIds?: string[] | undefined;
|
|
4135
|
-
routineIds?: string[] | undefined;
|
|
4136
4134
|
issueIds?: string[] | undefined;
|
|
4135
|
+
routineId?: string | undefined;
|
|
4136
|
+
routineIds?: string[] | undefined;
|
|
4137
4137
|
requireIssue?: boolean | undefined;
|
|
4138
4138
|
requireProject?: boolean | undefined;
|
|
4139
4139
|
requireRoutine?: boolean | undefined;
|
|
@@ -4161,10 +4161,10 @@ export declare const updateToolPolicySchema: z.ZodEffects<z.ZodObject<{
|
|
|
4161
4161
|
config: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
4162
4162
|
}, "strip", z.ZodTypeAny, {
|
|
4163
4163
|
description?: string | null | undefined;
|
|
4164
|
-
config?: Record<string, unknown> | null | undefined;
|
|
4165
4164
|
name?: string | undefined;
|
|
4166
|
-
|
|
4165
|
+
config?: Record<string, unknown> | null | undefined;
|
|
4167
4166
|
enabled?: boolean | undefined;
|
|
4167
|
+
priority?: number | undefined;
|
|
4168
4168
|
conditions?: {
|
|
4169
4169
|
arguments?: {
|
|
4170
4170
|
fieldEquals?: Record<string, unknown> | undefined;
|
|
@@ -4204,11 +4204,11 @@ export declare const updateToolPolicySchema: z.ZodEffects<z.ZodObject<{
|
|
|
4204
4204
|
} | undefined;
|
|
4205
4205
|
context?: {
|
|
4206
4206
|
projectId?: string | undefined;
|
|
4207
|
-
routineId?: string | undefined;
|
|
4208
4207
|
issueId?: string | undefined;
|
|
4209
4208
|
projectIds?: string[] | undefined;
|
|
4210
|
-
routineIds?: string[] | undefined;
|
|
4211
4209
|
issueIds?: string[] | undefined;
|
|
4210
|
+
routineId?: string | undefined;
|
|
4211
|
+
routineIds?: string[] | undefined;
|
|
4212
4212
|
requireIssue?: boolean | undefined;
|
|
4213
4213
|
requireProject?: boolean | undefined;
|
|
4214
4214
|
requireRoutine?: boolean | undefined;
|
|
@@ -4237,10 +4237,10 @@ export declare const updateToolPolicySchema: z.ZodEffects<z.ZodObject<{
|
|
|
4237
4237
|
selectors?: Record<string, unknown> | undefined;
|
|
4238
4238
|
}, {
|
|
4239
4239
|
description?: string | null | undefined;
|
|
4240
|
-
config?: Record<string, unknown> | null | undefined;
|
|
4241
4240
|
name?: string | undefined;
|
|
4242
|
-
|
|
4241
|
+
config?: Record<string, unknown> | null | undefined;
|
|
4243
4242
|
enabled?: boolean | undefined;
|
|
4243
|
+
priority?: number | undefined;
|
|
4244
4244
|
conditions?: {
|
|
4245
4245
|
arguments?: {
|
|
4246
4246
|
fieldEquals?: Record<string, unknown> | undefined;
|
|
@@ -4280,11 +4280,11 @@ export declare const updateToolPolicySchema: z.ZodEffects<z.ZodObject<{
|
|
|
4280
4280
|
} | undefined;
|
|
4281
4281
|
context?: {
|
|
4282
4282
|
projectId?: string | undefined;
|
|
4283
|
-
routineId?: string | undefined;
|
|
4284
4283
|
issueId?: string | undefined;
|
|
4285
4284
|
projectIds?: string[] | undefined;
|
|
4286
|
-
routineIds?: string[] | undefined;
|
|
4287
4285
|
issueIds?: string[] | undefined;
|
|
4286
|
+
routineId?: string | undefined;
|
|
4287
|
+
routineIds?: string[] | undefined;
|
|
4288
4288
|
requireIssue?: boolean | undefined;
|
|
4289
4289
|
requireProject?: boolean | undefined;
|
|
4290
4290
|
requireRoutine?: boolean | undefined;
|
|
@@ -4313,10 +4313,10 @@ export declare const updateToolPolicySchema: z.ZodEffects<z.ZodObject<{
|
|
|
4313
4313
|
selectors?: Record<string, unknown> | undefined;
|
|
4314
4314
|
}>, {
|
|
4315
4315
|
description?: string | null | undefined;
|
|
4316
|
-
config?: Record<string, unknown> | null | undefined;
|
|
4317
4316
|
name?: string | undefined;
|
|
4318
|
-
|
|
4317
|
+
config?: Record<string, unknown> | null | undefined;
|
|
4319
4318
|
enabled?: boolean | undefined;
|
|
4319
|
+
priority?: number | undefined;
|
|
4320
4320
|
conditions?: {
|
|
4321
4321
|
arguments?: {
|
|
4322
4322
|
fieldEquals?: Record<string, unknown> | undefined;
|
|
@@ -4356,11 +4356,11 @@ export declare const updateToolPolicySchema: z.ZodEffects<z.ZodObject<{
|
|
|
4356
4356
|
} | undefined;
|
|
4357
4357
|
context?: {
|
|
4358
4358
|
projectId?: string | undefined;
|
|
4359
|
-
routineId?: string | undefined;
|
|
4360
4359
|
issueId?: string | undefined;
|
|
4361
4360
|
projectIds?: string[] | undefined;
|
|
4362
|
-
routineIds?: string[] | undefined;
|
|
4363
4361
|
issueIds?: string[] | undefined;
|
|
4362
|
+
routineId?: string | undefined;
|
|
4363
|
+
routineIds?: string[] | undefined;
|
|
4364
4364
|
requireIssue?: boolean | undefined;
|
|
4365
4365
|
requireProject?: boolean | undefined;
|
|
4366
4366
|
requireRoutine?: boolean | undefined;
|
|
@@ -4389,10 +4389,10 @@ export declare const updateToolPolicySchema: z.ZodEffects<z.ZodObject<{
|
|
|
4389
4389
|
selectors?: Record<string, unknown> | undefined;
|
|
4390
4390
|
}, {
|
|
4391
4391
|
description?: string | null | undefined;
|
|
4392
|
-
config?: Record<string, unknown> | null | undefined;
|
|
4393
4392
|
name?: string | undefined;
|
|
4394
|
-
|
|
4393
|
+
config?: Record<string, unknown> | null | undefined;
|
|
4395
4394
|
enabled?: boolean | undefined;
|
|
4395
|
+
priority?: number | undefined;
|
|
4396
4396
|
conditions?: {
|
|
4397
4397
|
arguments?: {
|
|
4398
4398
|
fieldEquals?: Record<string, unknown> | undefined;
|
|
@@ -4432,11 +4432,11 @@ export declare const updateToolPolicySchema: z.ZodEffects<z.ZodObject<{
|
|
|
4432
4432
|
} | undefined;
|
|
4433
4433
|
context?: {
|
|
4434
4434
|
projectId?: string | undefined;
|
|
4435
|
-
routineId?: string | undefined;
|
|
4436
4435
|
issueId?: string | undefined;
|
|
4437
4436
|
projectIds?: string[] | undefined;
|
|
4438
|
-
routineIds?: string[] | undefined;
|
|
4439
4437
|
issueIds?: string[] | undefined;
|
|
4438
|
+
routineId?: string | undefined;
|
|
4439
|
+
routineIds?: string[] | undefined;
|
|
4440
4440
|
requireIssue?: boolean | undefined;
|
|
4441
4441
|
requireProject?: boolean | undefined;
|
|
4442
4442
|
requireRoutine?: boolean | undefined;
|
|
@@ -4654,9 +4654,11 @@ export declare const toolAccessSelectorSchema: z.ZodObject<{
|
|
|
4654
4654
|
riskLevels: z.ZodOptional<z.ZodArray<z.ZodEnum<["low", "medium", "high", "critical", "read", "write", "destructive"]>, "many">>;
|
|
4655
4655
|
}, "strip", z.ZodTypeAny, {
|
|
4656
4656
|
projectId?: string | undefined;
|
|
4657
|
+
issueId?: string | undefined;
|
|
4658
|
+
projectIds?: string[] | undefined;
|
|
4659
|
+
issueIds?: string[] | undefined;
|
|
4657
4660
|
agentId?: string | undefined;
|
|
4658
4661
|
routineId?: string | undefined;
|
|
4659
|
-
issueId?: string | undefined;
|
|
4660
4662
|
applicationId?: string | undefined;
|
|
4661
4663
|
applicationIds?: string[] | undefined;
|
|
4662
4664
|
connectionId?: string | undefined;
|
|
@@ -4665,9 +4667,7 @@ export declare const toolAccessSelectorSchema: z.ZodObject<{
|
|
|
4665
4667
|
catalogEntryIds?: string[] | undefined;
|
|
4666
4668
|
actorType?: "user" | "agent" | "system" | "plugin" | undefined;
|
|
4667
4669
|
agentIds?: string[] | undefined;
|
|
4668
|
-
projectIds?: string[] | undefined;
|
|
4669
4670
|
routineIds?: string[] | undefined;
|
|
4670
|
-
issueIds?: string[] | undefined;
|
|
4671
4671
|
gatewayId?: string | undefined;
|
|
4672
4672
|
gatewayIds?: string[] | undefined;
|
|
4673
4673
|
gatewayPublicId?: string | undefined;
|
|
@@ -4685,9 +4685,11 @@ export declare const toolAccessSelectorSchema: z.ZodObject<{
|
|
|
4685
4685
|
riskLevels?: ("critical" | "high" | "medium" | "low" | "read" | "write" | "destructive")[] | undefined;
|
|
4686
4686
|
}, {
|
|
4687
4687
|
projectId?: string | undefined;
|
|
4688
|
+
issueId?: string | undefined;
|
|
4689
|
+
projectIds?: string[] | undefined;
|
|
4690
|
+
issueIds?: string[] | undefined;
|
|
4688
4691
|
agentId?: string | undefined;
|
|
4689
4692
|
routineId?: string | undefined;
|
|
4690
|
-
issueId?: string | undefined;
|
|
4691
4693
|
applicationId?: string | undefined;
|
|
4692
4694
|
applicationIds?: string[] | undefined;
|
|
4693
4695
|
connectionId?: string | undefined;
|
|
@@ -4696,9 +4698,7 @@ export declare const toolAccessSelectorSchema: z.ZodObject<{
|
|
|
4696
4698
|
catalogEntryIds?: string[] | undefined;
|
|
4697
4699
|
actorType?: "user" | "agent" | "system" | "plugin" | undefined;
|
|
4698
4700
|
agentIds?: string[] | undefined;
|
|
4699
|
-
projectIds?: string[] | undefined;
|
|
4700
4701
|
routineIds?: string[] | undefined;
|
|
4701
|
-
issueIds?: string[] | undefined;
|
|
4702
4702
|
gatewayId?: string | undefined;
|
|
4703
4703
|
gatewayIds?: string[] | undefined;
|
|
4704
4704
|
gatewayPublicId?: string | undefined;
|
|
@@ -4855,9 +4855,11 @@ export declare const createToolTrustRuleFromActionRequestSchema: z.ZodObject<{
|
|
|
4855
4855
|
riskLevels: z.ZodOptional<z.ZodArray<z.ZodEnum<["low", "medium", "high", "critical", "read", "write", "destructive"]>, "many">>;
|
|
4856
4856
|
}, "strip", z.ZodTypeAny, {
|
|
4857
4857
|
projectId?: string | undefined;
|
|
4858
|
+
issueId?: string | undefined;
|
|
4859
|
+
projectIds?: string[] | undefined;
|
|
4860
|
+
issueIds?: string[] | undefined;
|
|
4858
4861
|
agentId?: string | undefined;
|
|
4859
4862
|
routineId?: string | undefined;
|
|
4860
|
-
issueId?: string | undefined;
|
|
4861
4863
|
applicationId?: string | undefined;
|
|
4862
4864
|
applicationIds?: string[] | undefined;
|
|
4863
4865
|
connectionId?: string | undefined;
|
|
@@ -4866,9 +4868,7 @@ export declare const createToolTrustRuleFromActionRequestSchema: z.ZodObject<{
|
|
|
4866
4868
|
catalogEntryIds?: string[] | undefined;
|
|
4867
4869
|
actorType?: "user" | "agent" | "system" | "plugin" | undefined;
|
|
4868
4870
|
agentIds?: string[] | undefined;
|
|
4869
|
-
projectIds?: string[] | undefined;
|
|
4870
4871
|
routineIds?: string[] | undefined;
|
|
4871
|
-
issueIds?: string[] | undefined;
|
|
4872
4872
|
gatewayId?: string | undefined;
|
|
4873
4873
|
gatewayIds?: string[] | undefined;
|
|
4874
4874
|
gatewayPublicId?: string | undefined;
|
|
@@ -4886,9 +4886,11 @@ export declare const createToolTrustRuleFromActionRequestSchema: z.ZodObject<{
|
|
|
4886
4886
|
riskLevels?: ("critical" | "high" | "medium" | "low" | "read" | "write" | "destructive")[] | undefined;
|
|
4887
4887
|
}, {
|
|
4888
4888
|
projectId?: string | undefined;
|
|
4889
|
+
issueId?: string | undefined;
|
|
4890
|
+
projectIds?: string[] | undefined;
|
|
4891
|
+
issueIds?: string[] | undefined;
|
|
4889
4892
|
agentId?: string | undefined;
|
|
4890
4893
|
routineId?: string | undefined;
|
|
4891
|
-
issueId?: string | undefined;
|
|
4892
4894
|
applicationId?: string | undefined;
|
|
4893
4895
|
applicationIds?: string[] | undefined;
|
|
4894
4896
|
connectionId?: string | undefined;
|
|
@@ -4897,9 +4899,7 @@ export declare const createToolTrustRuleFromActionRequestSchema: z.ZodObject<{
|
|
|
4897
4899
|
catalogEntryIds?: string[] | undefined;
|
|
4898
4900
|
actorType?: "user" | "agent" | "system" | "plugin" | undefined;
|
|
4899
4901
|
agentIds?: string[] | undefined;
|
|
4900
|
-
projectIds?: string[] | undefined;
|
|
4901
4902
|
routineIds?: string[] | undefined;
|
|
4902
|
-
issueIds?: string[] | undefined;
|
|
4903
4903
|
gatewayId?: string | undefined;
|
|
4904
4904
|
gatewayIds?: string[] | undefined;
|
|
4905
4905
|
gatewayPublicId?: string | undefined;
|
|
@@ -5023,9 +5023,11 @@ export declare const createToolTrustRuleFromActionRequestSchema: z.ZodObject<{
|
|
|
5023
5023
|
expiresAt?: Date | null | undefined;
|
|
5024
5024
|
selectors?: {
|
|
5025
5025
|
projectId?: string | undefined;
|
|
5026
|
+
issueId?: string | undefined;
|
|
5027
|
+
projectIds?: string[] | undefined;
|
|
5028
|
+
issueIds?: string[] | undefined;
|
|
5026
5029
|
agentId?: string | undefined;
|
|
5027
5030
|
routineId?: string | undefined;
|
|
5028
|
-
issueId?: string | undefined;
|
|
5029
5031
|
applicationId?: string | undefined;
|
|
5030
5032
|
applicationIds?: string[] | undefined;
|
|
5031
5033
|
connectionId?: string | undefined;
|
|
@@ -5034,9 +5036,7 @@ export declare const createToolTrustRuleFromActionRequestSchema: z.ZodObject<{
|
|
|
5034
5036
|
catalogEntryIds?: string[] | undefined;
|
|
5035
5037
|
actorType?: "user" | "agent" | "system" | "plugin" | undefined;
|
|
5036
5038
|
agentIds?: string[] | undefined;
|
|
5037
|
-
projectIds?: string[] | undefined;
|
|
5038
5039
|
routineIds?: string[] | undefined;
|
|
5039
|
-
issueIds?: string[] | undefined;
|
|
5040
5040
|
gatewayId?: string | undefined;
|
|
5041
5041
|
gatewayIds?: string[] | undefined;
|
|
5042
5042
|
gatewayPublicId?: string | undefined;
|
|
@@ -5072,7 +5072,6 @@ export declare const createToolTrustRuleFromActionRequestSchema: z.ZodObject<{
|
|
|
5072
5072
|
}, {
|
|
5073
5073
|
description?: string | null | undefined;
|
|
5074
5074
|
name?: string | undefined;
|
|
5075
|
-
priority?: number | undefined;
|
|
5076
5075
|
scope?: {
|
|
5077
5076
|
includeAgent?: boolean | undefined;
|
|
5078
5077
|
includeProject?: boolean | undefined;
|
|
@@ -5082,12 +5081,15 @@ export declare const createToolTrustRuleFromActionRequestSchema: z.ZodObject<{
|
|
|
5082
5081
|
includeCatalogEntry?: boolean | undefined;
|
|
5083
5082
|
includeTool?: boolean | undefined;
|
|
5084
5083
|
} | undefined;
|
|
5084
|
+
priority?: number | undefined;
|
|
5085
5085
|
expiresAt?: Date | null | undefined;
|
|
5086
5086
|
selectors?: {
|
|
5087
5087
|
projectId?: string | undefined;
|
|
5088
|
+
issueId?: string | undefined;
|
|
5089
|
+
projectIds?: string[] | undefined;
|
|
5090
|
+
issueIds?: string[] | undefined;
|
|
5088
5091
|
agentId?: string | undefined;
|
|
5089
5092
|
routineId?: string | undefined;
|
|
5090
|
-
issueId?: string | undefined;
|
|
5091
5093
|
applicationId?: string | undefined;
|
|
5092
5094
|
applicationIds?: string[] | undefined;
|
|
5093
5095
|
connectionId?: string | undefined;
|
|
@@ -5096,9 +5098,7 @@ export declare const createToolTrustRuleFromActionRequestSchema: z.ZodObject<{
|
|
|
5096
5098
|
catalogEntryIds?: string[] | undefined;
|
|
5097
5099
|
actorType?: "user" | "agent" | "system" | "plugin" | undefined;
|
|
5098
5100
|
agentIds?: string[] | undefined;
|
|
5099
|
-
projectIds?: string[] | undefined;
|
|
5100
5101
|
routineIds?: string[] | undefined;
|
|
5101
|
-
issueIds?: string[] | undefined;
|
|
5102
5102
|
gatewayId?: string | undefined;
|
|
5103
5103
|
gatewayIds?: string[] | undefined;
|
|
5104
5104
|
gatewayPublicId?: string | undefined;
|
|
@@ -5171,8 +5171,8 @@ export declare const toolPolicyTestRequestSchema: z.ZodObject<{
|
|
|
5171
5171
|
externalClient: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
5172
5172
|
}, "strip", z.ZodTypeAny, {
|
|
5173
5173
|
projectId?: string | null | undefined;
|
|
5174
|
-
routineId?: string | null | undefined;
|
|
5175
5174
|
issueId?: string | null | undefined;
|
|
5175
|
+
routineId?: string | null | undefined;
|
|
5176
5176
|
gatewayId?: string | null | undefined;
|
|
5177
5177
|
gatewayPublicId?: string | null | undefined;
|
|
5178
5178
|
gatewayTokenId?: string | null | undefined;
|
|
@@ -5183,8 +5183,8 @@ export declare const toolPolicyTestRequestSchema: z.ZodObject<{
|
|
|
5183
5183
|
clientSubjectId?: string | null | undefined;
|
|
5184
5184
|
}, {
|
|
5185
5185
|
projectId?: string | null | undefined;
|
|
5186
|
-
routineId?: string | null | undefined;
|
|
5187
5186
|
issueId?: string | null | undefined;
|
|
5187
|
+
routineId?: string | null | undefined;
|
|
5188
5188
|
gatewayId?: string | null | undefined;
|
|
5189
5189
|
gatewayPublicId?: string | null | undefined;
|
|
5190
5190
|
gatewayTokenId?: string | null | undefined;
|
|
@@ -5239,8 +5239,8 @@ export declare const toolPolicyTestRequestSchema: z.ZodObject<{
|
|
|
5239
5239
|
};
|
|
5240
5240
|
runContext?: {
|
|
5241
5241
|
projectId?: string | null | undefined;
|
|
5242
|
-
routineId?: string | null | undefined;
|
|
5243
5242
|
issueId?: string | null | undefined;
|
|
5243
|
+
routineId?: string | null | undefined;
|
|
5244
5244
|
gatewayId?: string | null | undefined;
|
|
5245
5245
|
gatewayPublicId?: string | null | undefined;
|
|
5246
5246
|
gatewayTokenId?: string | null | undefined;
|
|
@@ -5270,8 +5270,8 @@ export declare const toolPolicyTestRequestSchema: z.ZodObject<{
|
|
|
5270
5270
|
};
|
|
5271
5271
|
runContext?: {
|
|
5272
5272
|
projectId?: string | null | undefined;
|
|
5273
|
-
routineId?: string | null | undefined;
|
|
5274
5273
|
issueId?: string | null | undefined;
|
|
5274
|
+
routineId?: string | null | undefined;
|
|
5275
5275
|
gatewayId?: string | null | undefined;
|
|
5276
5276
|
gatewayPublicId?: string | null | undefined;
|
|
5277
5277
|
gatewayTokenId?: string | null | undefined;
|