@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
|
@@ -8,30 +8,30 @@ export declare const routineVariableSchema: z.ZodEffects<z.ZodObject<{
|
|
|
8
8
|
options: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
10
|
required: boolean;
|
|
11
|
-
type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
|
|
12
11
|
options: string[];
|
|
12
|
+
type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
|
|
13
13
|
name: string;
|
|
14
14
|
label?: string | null | undefined;
|
|
15
15
|
defaultValue?: string | number | boolean | null | undefined;
|
|
16
16
|
}, {
|
|
17
17
|
name: string;
|
|
18
18
|
required?: boolean | undefined;
|
|
19
|
-
type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
|
|
20
19
|
options?: string[] | undefined;
|
|
20
|
+
type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
|
|
21
21
|
label?: string | null | undefined;
|
|
22
22
|
defaultValue?: string | number | boolean | null | undefined;
|
|
23
23
|
}>, {
|
|
24
24
|
required: boolean;
|
|
25
|
-
type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
|
|
26
25
|
options: string[];
|
|
26
|
+
type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
|
|
27
27
|
name: string;
|
|
28
28
|
label?: string | null | undefined;
|
|
29
29
|
defaultValue?: string | number | boolean | null | undefined;
|
|
30
30
|
}, {
|
|
31
31
|
name: string;
|
|
32
32
|
required?: boolean | undefined;
|
|
33
|
-
type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
|
|
34
33
|
options?: string[] | undefined;
|
|
34
|
+
type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
|
|
35
35
|
label?: string | null | undefined;
|
|
36
36
|
defaultValue?: string | number | boolean | null | undefined;
|
|
37
37
|
}>;
|
|
@@ -58,30 +58,30 @@ export declare const createRoutineSchema: z.ZodObject<{
|
|
|
58
58
|
options: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
59
59
|
}, "strip", z.ZodTypeAny, {
|
|
60
60
|
required: boolean;
|
|
61
|
-
type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
|
|
62
61
|
options: string[];
|
|
62
|
+
type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
|
|
63
63
|
name: string;
|
|
64
64
|
label?: string | null | undefined;
|
|
65
65
|
defaultValue?: string | number | boolean | null | undefined;
|
|
66
66
|
}, {
|
|
67
67
|
name: string;
|
|
68
68
|
required?: boolean | undefined;
|
|
69
|
-
type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
|
|
70
69
|
options?: string[] | undefined;
|
|
70
|
+
type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
|
|
71
71
|
label?: string | null | undefined;
|
|
72
72
|
defaultValue?: string | number | boolean | null | undefined;
|
|
73
73
|
}>, {
|
|
74
74
|
required: boolean;
|
|
75
|
-
type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
|
|
76
75
|
options: string[];
|
|
76
|
+
type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
|
|
77
77
|
name: string;
|
|
78
78
|
label?: string | null | undefined;
|
|
79
79
|
defaultValue?: string | number | boolean | null | undefined;
|
|
80
80
|
}, {
|
|
81
81
|
name: string;
|
|
82
82
|
required?: boolean | undefined;
|
|
83
|
-
type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
|
|
84
83
|
options?: string[] | undefined;
|
|
84
|
+
type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
|
|
85
85
|
label?: string | null | undefined;
|
|
86
86
|
defaultValue?: string | number | boolean | null | undefined;
|
|
87
87
|
}>, "many">>>;
|
|
@@ -89,11 +89,11 @@ export declare const createRoutineSchema: z.ZodObject<{
|
|
|
89
89
|
type: z.ZodLiteral<"plain">;
|
|
90
90
|
value: z.ZodString;
|
|
91
91
|
}, "strip", z.ZodTypeAny, {
|
|
92
|
-
type: "plain";
|
|
93
92
|
value: string;
|
|
94
|
-
}, {
|
|
95
93
|
type: "plain";
|
|
94
|
+
}, {
|
|
96
95
|
value: string;
|
|
96
|
+
type: "plain";
|
|
97
97
|
}>, z.ZodObject<{
|
|
98
98
|
type: z.ZodLiteral<"secret_ref">;
|
|
99
99
|
secretId: z.ZodString;
|
|
@@ -136,8 +136,8 @@ export declare const createRoutineSchema: z.ZodObject<{
|
|
|
136
136
|
status: "active" | "paused" | "archived";
|
|
137
137
|
variables: {
|
|
138
138
|
required: boolean;
|
|
139
|
-
type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
|
|
140
139
|
options: string[];
|
|
140
|
+
type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
|
|
141
141
|
name: string;
|
|
142
142
|
label?: string | null | undefined;
|
|
143
143
|
defaultValue?: string | number | boolean | null | undefined;
|
|
@@ -146,8 +146,8 @@ export declare const createRoutineSchema: z.ZodObject<{
|
|
|
146
146
|
concurrencyPolicy: "coalesce_if_active" | "always_enqueue" | "skip_if_active";
|
|
147
147
|
catchUpPolicy: "skip_missed" | "enqueue_missed_with_cap";
|
|
148
148
|
env?: Record<string, string | {
|
|
149
|
-
type: "plain";
|
|
150
149
|
value: string;
|
|
150
|
+
type: "plain";
|
|
151
151
|
} | {
|
|
152
152
|
type: "secret_ref";
|
|
153
153
|
secretId: string;
|
|
@@ -162,18 +162,18 @@ export declare const createRoutineSchema: z.ZodObject<{
|
|
|
162
162
|
version?: number | "latest" | undefined;
|
|
163
163
|
}> | null | undefined;
|
|
164
164
|
description?: string | null | undefined;
|
|
165
|
-
assigneeAgentId?: string | null | undefined;
|
|
166
165
|
projectId?: string | null | undefined;
|
|
167
|
-
goalId?: string | null | undefined;
|
|
168
166
|
parentIssueId?: string | null | undefined;
|
|
167
|
+
assigneeAgentId?: string | null | undefined;
|
|
168
|
+
goalId?: string | null | undefined;
|
|
169
169
|
folderId?: string | null | undefined;
|
|
170
170
|
activityGatePolicy?: "always" | "require_external_activity" | undefined;
|
|
171
171
|
activityGateScope?: "project" | "company" | undefined;
|
|
172
172
|
}, {
|
|
173
173
|
title: string;
|
|
174
174
|
env?: Record<string, string | {
|
|
175
|
-
type: "plain";
|
|
176
175
|
value: string;
|
|
176
|
+
type: "plain";
|
|
177
177
|
} | {
|
|
178
178
|
type: "secret_ref";
|
|
179
179
|
secretId: string;
|
|
@@ -189,19 +189,19 @@ export declare const createRoutineSchema: z.ZodObject<{
|
|
|
189
189
|
}> | null | undefined;
|
|
190
190
|
description?: string | null | undefined;
|
|
191
191
|
status?: "active" | "paused" | "archived" | undefined;
|
|
192
|
-
assigneeAgentId?: string | null | undefined;
|
|
193
192
|
projectId?: string | null | undefined;
|
|
193
|
+
parentIssueId?: string | null | undefined;
|
|
194
|
+
assigneeAgentId?: string | null | undefined;
|
|
194
195
|
goalId?: string | null | undefined;
|
|
195
196
|
variables?: {
|
|
196
197
|
name: string;
|
|
197
198
|
required?: boolean | undefined;
|
|
198
|
-
type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
|
|
199
199
|
options?: string[] | undefined;
|
|
200
|
+
type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
|
|
200
201
|
label?: string | null | undefined;
|
|
201
202
|
defaultValue?: string | number | boolean | null | undefined;
|
|
202
203
|
}[] | undefined;
|
|
203
204
|
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
204
|
-
parentIssueId?: string | null | undefined;
|
|
205
205
|
folderId?: string | null | undefined;
|
|
206
206
|
concurrencyPolicy?: "coalesce_if_active" | "always_enqueue" | "skip_if_active" | undefined;
|
|
207
207
|
catchUpPolicy?: "skip_missed" | "enqueue_missed_with_cap" | undefined;
|
|
@@ -232,30 +232,30 @@ export declare const updateRoutineSchema: z.ZodObject<{
|
|
|
232
232
|
options: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
233
233
|
}, "strip", z.ZodTypeAny, {
|
|
234
234
|
required: boolean;
|
|
235
|
-
type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
|
|
236
235
|
options: string[];
|
|
236
|
+
type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
|
|
237
237
|
name: string;
|
|
238
238
|
label?: string | null | undefined;
|
|
239
239
|
defaultValue?: string | number | boolean | null | undefined;
|
|
240
240
|
}, {
|
|
241
241
|
name: string;
|
|
242
242
|
required?: boolean | undefined;
|
|
243
|
-
type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
|
|
244
243
|
options?: string[] | undefined;
|
|
244
|
+
type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
|
|
245
245
|
label?: string | null | undefined;
|
|
246
246
|
defaultValue?: string | number | boolean | null | undefined;
|
|
247
247
|
}>, {
|
|
248
248
|
required: boolean;
|
|
249
|
-
type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
|
|
250
249
|
options: string[];
|
|
250
|
+
type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
|
|
251
251
|
name: string;
|
|
252
252
|
label?: string | null | undefined;
|
|
253
253
|
defaultValue?: string | number | boolean | null | undefined;
|
|
254
254
|
}, {
|
|
255
255
|
name: string;
|
|
256
256
|
required?: boolean | undefined;
|
|
257
|
-
type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
|
|
258
257
|
options?: string[] | undefined;
|
|
258
|
+
type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
|
|
259
259
|
label?: string | null | undefined;
|
|
260
260
|
defaultValue?: string | number | boolean | null | undefined;
|
|
261
261
|
}>, "many">>>>;
|
|
@@ -263,11 +263,11 @@ export declare const updateRoutineSchema: z.ZodObject<{
|
|
|
263
263
|
type: z.ZodLiteral<"plain">;
|
|
264
264
|
value: z.ZodString;
|
|
265
265
|
}, "strip", z.ZodTypeAny, {
|
|
266
|
-
type: "plain";
|
|
267
266
|
value: string;
|
|
268
|
-
}, {
|
|
269
267
|
type: "plain";
|
|
268
|
+
}, {
|
|
270
269
|
value: string;
|
|
270
|
+
type: "plain";
|
|
271
271
|
}>, z.ZodObject<{
|
|
272
272
|
type: z.ZodLiteral<"secret_ref">;
|
|
273
273
|
secretId: z.ZodString;
|
|
@@ -309,8 +309,8 @@ export declare const updateRoutineSchema: z.ZodObject<{
|
|
|
309
309
|
baseRevisionId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
310
310
|
}, "strip", z.ZodTypeAny, {
|
|
311
311
|
env?: Record<string, string | {
|
|
312
|
-
type: "plain";
|
|
313
312
|
value: string;
|
|
313
|
+
type: "plain";
|
|
314
314
|
} | {
|
|
315
315
|
type: "secret_ref";
|
|
316
316
|
secretId: string;
|
|
@@ -327,19 +327,19 @@ export declare const updateRoutineSchema: z.ZodObject<{
|
|
|
327
327
|
title?: string | undefined;
|
|
328
328
|
description?: string | null | undefined;
|
|
329
329
|
status?: "active" | "paused" | "archived" | undefined;
|
|
330
|
-
assigneeAgentId?: string | null | undefined;
|
|
331
330
|
projectId?: string | null | undefined;
|
|
331
|
+
parentIssueId?: string | null | undefined;
|
|
332
|
+
assigneeAgentId?: string | null | undefined;
|
|
332
333
|
goalId?: string | null | undefined;
|
|
333
334
|
variables?: {
|
|
334
335
|
required: boolean;
|
|
335
|
-
type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
|
|
336
336
|
options: string[];
|
|
337
|
+
type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
|
|
337
338
|
name: string;
|
|
338
339
|
label?: string | null | undefined;
|
|
339
340
|
defaultValue?: string | number | boolean | null | undefined;
|
|
340
341
|
}[] | undefined;
|
|
341
342
|
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
342
|
-
parentIssueId?: string | null | undefined;
|
|
343
343
|
baseRevisionId?: string | null | undefined;
|
|
344
344
|
folderId?: string | null | undefined;
|
|
345
345
|
concurrencyPolicy?: "coalesce_if_active" | "always_enqueue" | "skip_if_active" | undefined;
|
|
@@ -348,8 +348,8 @@ export declare const updateRoutineSchema: z.ZodObject<{
|
|
|
348
348
|
activityGateScope?: "project" | "company" | undefined;
|
|
349
349
|
}, {
|
|
350
350
|
env?: Record<string, string | {
|
|
351
|
-
type: "plain";
|
|
352
351
|
value: string;
|
|
352
|
+
type: "plain";
|
|
353
353
|
} | {
|
|
354
354
|
type: "secret_ref";
|
|
355
355
|
secretId: string;
|
|
@@ -366,19 +366,19 @@ export declare const updateRoutineSchema: z.ZodObject<{
|
|
|
366
366
|
title?: string | undefined;
|
|
367
367
|
description?: string | null | undefined;
|
|
368
368
|
status?: "active" | "paused" | "archived" | undefined;
|
|
369
|
-
assigneeAgentId?: string | null | undefined;
|
|
370
369
|
projectId?: string | null | undefined;
|
|
370
|
+
parentIssueId?: string | null | undefined;
|
|
371
|
+
assigneeAgentId?: string | null | undefined;
|
|
371
372
|
goalId?: string | null | undefined;
|
|
372
373
|
variables?: {
|
|
373
374
|
name: string;
|
|
374
375
|
required?: boolean | undefined;
|
|
375
|
-
type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
|
|
376
376
|
options?: string[] | undefined;
|
|
377
|
+
type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
|
|
377
378
|
label?: string | null | undefined;
|
|
378
379
|
defaultValue?: string | number | boolean | null | undefined;
|
|
379
380
|
}[] | undefined;
|
|
380
381
|
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
381
|
-
parentIssueId?: string | null | undefined;
|
|
382
382
|
baseRevisionId?: string | null | undefined;
|
|
383
383
|
folderId?: string | null | undefined;
|
|
384
384
|
concurrencyPolicy?: "coalesce_if_active" | "always_enqueue" | "skip_if_active" | undefined;
|
|
@@ -412,30 +412,30 @@ export declare const routineRevisionSnapshotRoutineV1Schema: z.ZodObject<{
|
|
|
412
412
|
options: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
413
413
|
}, "strip", z.ZodTypeAny, {
|
|
414
414
|
required: boolean;
|
|
415
|
-
type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
|
|
416
415
|
options: string[];
|
|
416
|
+
type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
|
|
417
417
|
name: string;
|
|
418
418
|
label?: string | null | undefined;
|
|
419
419
|
defaultValue?: string | number | boolean | null | undefined;
|
|
420
420
|
}, {
|
|
421
421
|
name: string;
|
|
422
422
|
required?: boolean | undefined;
|
|
423
|
-
type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
|
|
424
423
|
options?: string[] | undefined;
|
|
424
|
+
type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
|
|
425
425
|
label?: string | null | undefined;
|
|
426
426
|
defaultValue?: string | number | boolean | null | undefined;
|
|
427
427
|
}>, {
|
|
428
428
|
required: boolean;
|
|
429
|
-
type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
|
|
430
429
|
options: string[];
|
|
430
|
+
type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
|
|
431
431
|
name: string;
|
|
432
432
|
label?: string | null | undefined;
|
|
433
433
|
defaultValue?: string | number | boolean | null | undefined;
|
|
434
434
|
}, {
|
|
435
435
|
name: string;
|
|
436
436
|
required?: boolean | undefined;
|
|
437
|
-
type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
|
|
438
437
|
options?: string[] | undefined;
|
|
438
|
+
type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
|
|
439
439
|
label?: string | null | undefined;
|
|
440
440
|
defaultValue?: string | number | boolean | null | undefined;
|
|
441
441
|
}>, "many">;
|
|
@@ -443,11 +443,11 @@ export declare const routineRevisionSnapshotRoutineV1Schema: z.ZodObject<{
|
|
|
443
443
|
type: z.ZodLiteral<"plain">;
|
|
444
444
|
value: z.ZodString;
|
|
445
445
|
}, "strip", z.ZodTypeAny, {
|
|
446
|
-
type: "plain";
|
|
447
446
|
value: string;
|
|
448
|
-
}, {
|
|
449
447
|
type: "plain";
|
|
448
|
+
}, {
|
|
450
449
|
value: string;
|
|
450
|
+
type: "plain";
|
|
451
451
|
}>, z.ZodObject<{
|
|
452
452
|
type: z.ZodLiteral<"secret_ref">;
|
|
453
453
|
secretId: z.ZodString;
|
|
@@ -488,8 +488,8 @@ export declare const routineRevisionSnapshotRoutineV1Schema: z.ZodObject<{
|
|
|
488
488
|
responsibleUserId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
489
489
|
}, "strict", z.ZodTypeAny, {
|
|
490
490
|
env: Record<string, string | {
|
|
491
|
-
type: "plain";
|
|
492
491
|
value: string;
|
|
492
|
+
type: "plain";
|
|
493
493
|
} | {
|
|
494
494
|
type: "secret_ref";
|
|
495
495
|
secretId: string;
|
|
@@ -505,23 +505,23 @@ export declare const routineRevisionSnapshotRoutineV1Schema: z.ZodObject<{
|
|
|
505
505
|
}> | null;
|
|
506
506
|
title: string;
|
|
507
507
|
description: string | null;
|
|
508
|
+
companyId: string;
|
|
508
509
|
status: "active" | "paused" | "archived";
|
|
509
|
-
assigneeAgentId: string | null;
|
|
510
510
|
projectId: string | null;
|
|
511
|
-
goalId: string | null;
|
|
512
511
|
id: string;
|
|
513
|
-
|
|
512
|
+
parentIssueId: string | null;
|
|
513
|
+
assigneeAgentId: string | null;
|
|
514
|
+
goalId: string | null;
|
|
514
515
|
variables: {
|
|
515
516
|
required: boolean;
|
|
516
|
-
type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
|
|
517
517
|
options: string[];
|
|
518
|
+
type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
|
|
518
519
|
name: string;
|
|
519
520
|
label?: string | null | undefined;
|
|
520
521
|
defaultValue?: string | number | boolean | null | undefined;
|
|
521
522
|
}[];
|
|
522
523
|
priority: "critical" | "high" | "medium" | "low";
|
|
523
524
|
responsibleUserId: string | null;
|
|
524
|
-
parentIssueId: string | null;
|
|
525
525
|
concurrencyPolicy: "coalesce_if_active" | "always_enqueue" | "skip_if_active";
|
|
526
526
|
catchUpPolicy: "skip_missed" | "enqueue_missed_with_cap";
|
|
527
527
|
activityGatePolicy: "always" | "require_external_activity";
|
|
@@ -530,27 +530,27 @@ export declare const routineRevisionSnapshotRoutineV1Schema: z.ZodObject<{
|
|
|
530
530
|
}, {
|
|
531
531
|
title: string;
|
|
532
532
|
description: string | null;
|
|
533
|
+
companyId: string;
|
|
533
534
|
status: "active" | "paused" | "archived";
|
|
534
|
-
assigneeAgentId: string | null;
|
|
535
535
|
projectId: string | null;
|
|
536
|
-
goalId: string | null;
|
|
537
536
|
id: string;
|
|
538
|
-
|
|
537
|
+
parentIssueId: string | null;
|
|
538
|
+
assigneeAgentId: string | null;
|
|
539
|
+
goalId: string | null;
|
|
539
540
|
variables: {
|
|
540
541
|
name: string;
|
|
541
542
|
required?: boolean | undefined;
|
|
542
|
-
type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
|
|
543
543
|
options?: string[] | undefined;
|
|
544
|
+
type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
|
|
544
545
|
label?: string | null | undefined;
|
|
545
546
|
defaultValue?: string | number | boolean | null | undefined;
|
|
546
547
|
}[];
|
|
547
548
|
priority: "critical" | "high" | "medium" | "low";
|
|
548
|
-
parentIssueId: string | null;
|
|
549
549
|
concurrencyPolicy: "coalesce_if_active" | "always_enqueue" | "skip_if_active";
|
|
550
550
|
catchUpPolicy: "skip_missed" | "enqueue_missed_with_cap";
|
|
551
551
|
env?: Record<string, string | {
|
|
552
|
-
type: "plain";
|
|
553
552
|
value: string;
|
|
553
|
+
type: "plain";
|
|
554
554
|
} | {
|
|
555
555
|
type: "secret_ref";
|
|
556
556
|
secretId: string;
|
|
@@ -580,20 +580,20 @@ export declare const routineRevisionSnapshotTriggerV1Schema: z.ZodObject<{
|
|
|
580
580
|
signingMode: z.ZodNullable<z.ZodEnum<["bearer", "hmac_sha256", "github_hmac", "none"]>>;
|
|
581
581
|
replayWindowSec: z.ZodNullable<z.ZodNumber>;
|
|
582
582
|
}, "strict", z.ZodTypeAny, {
|
|
583
|
-
id: string;
|
|
584
583
|
label: string | null;
|
|
585
|
-
|
|
584
|
+
id: string;
|
|
586
585
|
enabled: boolean;
|
|
586
|
+
kind: "schedule" | "webhook" | "api";
|
|
587
587
|
cronExpression: string | null;
|
|
588
588
|
timezone: string | null;
|
|
589
589
|
publicId: string | null;
|
|
590
590
|
signingMode: "none" | "bearer" | "hmac_sha256" | "github_hmac" | null;
|
|
591
591
|
replayWindowSec: number | null;
|
|
592
592
|
}, {
|
|
593
|
-
id: string;
|
|
594
593
|
label: string | null;
|
|
595
|
-
|
|
594
|
+
id: string;
|
|
596
595
|
enabled: boolean;
|
|
596
|
+
kind: "schedule" | "webhook" | "api";
|
|
597
597
|
cronExpression: string | null;
|
|
598
598
|
timezone: string | null;
|
|
599
599
|
publicId: string | null;
|
|
@@ -627,30 +627,30 @@ export declare const routineRevisionSnapshotV1Schema: z.ZodObject<{
|
|
|
627
627
|
options: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
628
628
|
}, "strip", z.ZodTypeAny, {
|
|
629
629
|
required: boolean;
|
|
630
|
-
type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
|
|
631
630
|
options: string[];
|
|
631
|
+
type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
|
|
632
632
|
name: string;
|
|
633
633
|
label?: string | null | undefined;
|
|
634
634
|
defaultValue?: string | number | boolean | null | undefined;
|
|
635
635
|
}, {
|
|
636
636
|
name: string;
|
|
637
637
|
required?: boolean | undefined;
|
|
638
|
-
type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
|
|
639
638
|
options?: string[] | undefined;
|
|
639
|
+
type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
|
|
640
640
|
label?: string | null | undefined;
|
|
641
641
|
defaultValue?: string | number | boolean | null | undefined;
|
|
642
642
|
}>, {
|
|
643
643
|
required: boolean;
|
|
644
|
-
type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
|
|
645
644
|
options: string[];
|
|
645
|
+
type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
|
|
646
646
|
name: string;
|
|
647
647
|
label?: string | null | undefined;
|
|
648
648
|
defaultValue?: string | number | boolean | null | undefined;
|
|
649
649
|
}, {
|
|
650
650
|
name: string;
|
|
651
651
|
required?: boolean | undefined;
|
|
652
|
-
type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
|
|
653
652
|
options?: string[] | undefined;
|
|
653
|
+
type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
|
|
654
654
|
label?: string | null | undefined;
|
|
655
655
|
defaultValue?: string | number | boolean | null | undefined;
|
|
656
656
|
}>, "many">;
|
|
@@ -658,11 +658,11 @@ export declare const routineRevisionSnapshotV1Schema: z.ZodObject<{
|
|
|
658
658
|
type: z.ZodLiteral<"plain">;
|
|
659
659
|
value: z.ZodString;
|
|
660
660
|
}, "strip", z.ZodTypeAny, {
|
|
661
|
-
type: "plain";
|
|
662
661
|
value: string;
|
|
663
|
-
}, {
|
|
664
662
|
type: "plain";
|
|
663
|
+
}, {
|
|
665
664
|
value: string;
|
|
665
|
+
type: "plain";
|
|
666
666
|
}>, z.ZodObject<{
|
|
667
667
|
type: z.ZodLiteral<"secret_ref">;
|
|
668
668
|
secretId: z.ZodString;
|
|
@@ -703,8 +703,8 @@ export declare const routineRevisionSnapshotV1Schema: z.ZodObject<{
|
|
|
703
703
|
responsibleUserId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
704
704
|
}, "strict", z.ZodTypeAny, {
|
|
705
705
|
env: Record<string, string | {
|
|
706
|
-
type: "plain";
|
|
707
706
|
value: string;
|
|
707
|
+
type: "plain";
|
|
708
708
|
} | {
|
|
709
709
|
type: "secret_ref";
|
|
710
710
|
secretId: string;
|
|
@@ -720,23 +720,23 @@ export declare const routineRevisionSnapshotV1Schema: z.ZodObject<{
|
|
|
720
720
|
}> | null;
|
|
721
721
|
title: string;
|
|
722
722
|
description: string | null;
|
|
723
|
+
companyId: string;
|
|
723
724
|
status: "active" | "paused" | "archived";
|
|
724
|
-
assigneeAgentId: string | null;
|
|
725
725
|
projectId: string | null;
|
|
726
|
-
goalId: string | null;
|
|
727
726
|
id: string;
|
|
728
|
-
|
|
727
|
+
parentIssueId: string | null;
|
|
728
|
+
assigneeAgentId: string | null;
|
|
729
|
+
goalId: string | null;
|
|
729
730
|
variables: {
|
|
730
731
|
required: boolean;
|
|
731
|
-
type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
|
|
732
732
|
options: string[];
|
|
733
|
+
type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
|
|
733
734
|
name: string;
|
|
734
735
|
label?: string | null | undefined;
|
|
735
736
|
defaultValue?: string | number | boolean | null | undefined;
|
|
736
737
|
}[];
|
|
737
738
|
priority: "critical" | "high" | "medium" | "low";
|
|
738
739
|
responsibleUserId: string | null;
|
|
739
|
-
parentIssueId: string | null;
|
|
740
740
|
concurrencyPolicy: "coalesce_if_active" | "always_enqueue" | "skip_if_active";
|
|
741
741
|
catchUpPolicy: "skip_missed" | "enqueue_missed_with_cap";
|
|
742
742
|
activityGatePolicy: "always" | "require_external_activity";
|
|
@@ -745,27 +745,27 @@ export declare const routineRevisionSnapshotV1Schema: z.ZodObject<{
|
|
|
745
745
|
}, {
|
|
746
746
|
title: string;
|
|
747
747
|
description: string | null;
|
|
748
|
+
companyId: string;
|
|
748
749
|
status: "active" | "paused" | "archived";
|
|
749
|
-
assigneeAgentId: string | null;
|
|
750
750
|
projectId: string | null;
|
|
751
|
-
goalId: string | null;
|
|
752
751
|
id: string;
|
|
753
|
-
|
|
752
|
+
parentIssueId: string | null;
|
|
753
|
+
assigneeAgentId: string | null;
|
|
754
|
+
goalId: string | null;
|
|
754
755
|
variables: {
|
|
755
756
|
name: string;
|
|
756
757
|
required?: boolean | undefined;
|
|
757
|
-
type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
|
|
758
758
|
options?: string[] | undefined;
|
|
759
|
+
type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
|
|
759
760
|
label?: string | null | undefined;
|
|
760
761
|
defaultValue?: string | number | boolean | null | undefined;
|
|
761
762
|
}[];
|
|
762
763
|
priority: "critical" | "high" | "medium" | "low";
|
|
763
|
-
parentIssueId: string | null;
|
|
764
764
|
concurrencyPolicy: "coalesce_if_active" | "always_enqueue" | "skip_if_active";
|
|
765
765
|
catchUpPolicy: "skip_missed" | "enqueue_missed_with_cap";
|
|
766
766
|
env?: Record<string, string | {
|
|
767
|
-
type: "plain";
|
|
768
767
|
value: string;
|
|
768
|
+
type: "plain";
|
|
769
769
|
} | {
|
|
770
770
|
type: "secret_ref";
|
|
771
771
|
secretId: string;
|
|
@@ -795,20 +795,20 @@ export declare const routineRevisionSnapshotV1Schema: z.ZodObject<{
|
|
|
795
795
|
signingMode: z.ZodNullable<z.ZodEnum<["bearer", "hmac_sha256", "github_hmac", "none"]>>;
|
|
796
796
|
replayWindowSec: z.ZodNullable<z.ZodNumber>;
|
|
797
797
|
}, "strict", z.ZodTypeAny, {
|
|
798
|
-
id: string;
|
|
799
798
|
label: string | null;
|
|
800
|
-
|
|
799
|
+
id: string;
|
|
801
800
|
enabled: boolean;
|
|
801
|
+
kind: "schedule" | "webhook" | "api";
|
|
802
802
|
cronExpression: string | null;
|
|
803
803
|
timezone: string | null;
|
|
804
804
|
publicId: string | null;
|
|
805
805
|
signingMode: "none" | "bearer" | "hmac_sha256" | "github_hmac" | null;
|
|
806
806
|
replayWindowSec: number | null;
|
|
807
807
|
}, {
|
|
808
|
-
id: string;
|
|
809
808
|
label: string | null;
|
|
810
|
-
|
|
809
|
+
id: string;
|
|
811
810
|
enabled: boolean;
|
|
811
|
+
kind: "schedule" | "webhook" | "api";
|
|
812
812
|
cronExpression: string | null;
|
|
813
813
|
timezone: string | null;
|
|
814
814
|
publicId: string | null;
|
|
@@ -818,8 +818,8 @@ export declare const routineRevisionSnapshotV1Schema: z.ZodObject<{
|
|
|
818
818
|
}, "strict", z.ZodTypeAny, {
|
|
819
819
|
routine: {
|
|
820
820
|
env: Record<string, string | {
|
|
821
|
-
type: "plain";
|
|
822
821
|
value: string;
|
|
822
|
+
type: "plain";
|
|
823
823
|
} | {
|
|
824
824
|
type: "secret_ref";
|
|
825
825
|
secretId: string;
|
|
@@ -835,66 +835,66 @@ export declare const routineRevisionSnapshotV1Schema: z.ZodObject<{
|
|
|
835
835
|
}> | null;
|
|
836
836
|
title: string;
|
|
837
837
|
description: string | null;
|
|
838
|
+
companyId: string;
|
|
838
839
|
status: "active" | "paused" | "archived";
|
|
839
|
-
assigneeAgentId: string | null;
|
|
840
840
|
projectId: string | null;
|
|
841
|
-
goalId: string | null;
|
|
842
841
|
id: string;
|
|
843
|
-
|
|
842
|
+
parentIssueId: string | null;
|
|
843
|
+
assigneeAgentId: string | null;
|
|
844
|
+
goalId: string | null;
|
|
844
845
|
variables: {
|
|
845
846
|
required: boolean;
|
|
846
|
-
type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
|
|
847
847
|
options: string[];
|
|
848
|
+
type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
|
|
848
849
|
name: string;
|
|
849
850
|
label?: string | null | undefined;
|
|
850
851
|
defaultValue?: string | number | boolean | null | undefined;
|
|
851
852
|
}[];
|
|
852
853
|
priority: "critical" | "high" | "medium" | "low";
|
|
853
854
|
responsibleUserId: string | null;
|
|
854
|
-
parentIssueId: string | null;
|
|
855
855
|
concurrencyPolicy: "coalesce_if_active" | "always_enqueue" | "skip_if_active";
|
|
856
856
|
catchUpPolicy: "skip_missed" | "enqueue_missed_with_cap";
|
|
857
857
|
activityGatePolicy: "always" | "require_external_activity";
|
|
858
858
|
activityGateScope: "project" | "company";
|
|
859
859
|
folderId?: string | null | undefined;
|
|
860
860
|
};
|
|
861
|
+
version: 1;
|
|
861
862
|
triggers: {
|
|
862
|
-
id: string;
|
|
863
863
|
label: string | null;
|
|
864
|
-
|
|
864
|
+
id: string;
|
|
865
865
|
enabled: boolean;
|
|
866
|
+
kind: "schedule" | "webhook" | "api";
|
|
866
867
|
cronExpression: string | null;
|
|
867
868
|
timezone: string | null;
|
|
868
869
|
publicId: string | null;
|
|
869
870
|
signingMode: "none" | "bearer" | "hmac_sha256" | "github_hmac" | null;
|
|
870
871
|
replayWindowSec: number | null;
|
|
871
872
|
}[];
|
|
872
|
-
version: 1;
|
|
873
873
|
}, {
|
|
874
874
|
routine: {
|
|
875
875
|
title: string;
|
|
876
876
|
description: string | null;
|
|
877
|
+
companyId: string;
|
|
877
878
|
status: "active" | "paused" | "archived";
|
|
878
|
-
assigneeAgentId: string | null;
|
|
879
879
|
projectId: string | null;
|
|
880
|
-
goalId: string | null;
|
|
881
880
|
id: string;
|
|
882
|
-
|
|
881
|
+
parentIssueId: string | null;
|
|
882
|
+
assigneeAgentId: string | null;
|
|
883
|
+
goalId: string | null;
|
|
883
884
|
variables: {
|
|
884
885
|
name: string;
|
|
885
886
|
required?: boolean | undefined;
|
|
886
|
-
type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
|
|
887
887
|
options?: string[] | undefined;
|
|
888
|
+
type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
|
|
888
889
|
label?: string | null | undefined;
|
|
889
890
|
defaultValue?: string | number | boolean | null | undefined;
|
|
890
891
|
}[];
|
|
891
892
|
priority: "critical" | "high" | "medium" | "low";
|
|
892
|
-
parentIssueId: string | null;
|
|
893
893
|
concurrencyPolicy: "coalesce_if_active" | "always_enqueue" | "skip_if_active";
|
|
894
894
|
catchUpPolicy: "skip_missed" | "enqueue_missed_with_cap";
|
|
895
895
|
env?: Record<string, string | {
|
|
896
|
-
type: "plain";
|
|
897
896
|
value: string;
|
|
897
|
+
type: "plain";
|
|
898
898
|
} | {
|
|
899
899
|
type: "secret_ref";
|
|
900
900
|
secretId: string;
|
|
@@ -913,18 +913,18 @@ export declare const routineRevisionSnapshotV1Schema: z.ZodObject<{
|
|
|
913
913
|
activityGatePolicy?: "always" | "require_external_activity" | undefined;
|
|
914
914
|
activityGateScope?: "project" | "company" | undefined;
|
|
915
915
|
};
|
|
916
|
+
version: 1;
|
|
916
917
|
triggers: {
|
|
917
|
-
id: string;
|
|
918
918
|
label: string | null;
|
|
919
|
-
|
|
919
|
+
id: string;
|
|
920
920
|
enabled: boolean;
|
|
921
|
+
kind: "schedule" | "webhook" | "api";
|
|
921
922
|
cronExpression: string | null;
|
|
922
923
|
timezone: string | null;
|
|
923
924
|
publicId: string | null;
|
|
924
925
|
signingMode: "none" | "bearer" | "hmac_sha256" | "github_hmac" | null;
|
|
925
926
|
replayWindowSec: number | null;
|
|
926
927
|
}[];
|
|
927
|
-
version: 1;
|
|
928
928
|
}>;
|
|
929
929
|
export declare const routineRevisionSnapshotSchema: z.ZodObject<{
|
|
930
930
|
version: z.ZodLiteral<1>;
|
|
@@ -953,30 +953,30 @@ export declare const routineRevisionSnapshotSchema: z.ZodObject<{
|
|
|
953
953
|
options: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
954
954
|
}, "strip", z.ZodTypeAny, {
|
|
955
955
|
required: boolean;
|
|
956
|
-
type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
|
|
957
956
|
options: string[];
|
|
957
|
+
type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
|
|
958
958
|
name: string;
|
|
959
959
|
label?: string | null | undefined;
|
|
960
960
|
defaultValue?: string | number | boolean | null | undefined;
|
|
961
961
|
}, {
|
|
962
962
|
name: string;
|
|
963
963
|
required?: boolean | undefined;
|
|
964
|
-
type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
|
|
965
964
|
options?: string[] | undefined;
|
|
965
|
+
type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
|
|
966
966
|
label?: string | null | undefined;
|
|
967
967
|
defaultValue?: string | number | boolean | null | undefined;
|
|
968
968
|
}>, {
|
|
969
969
|
required: boolean;
|
|
970
|
-
type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
|
|
971
970
|
options: string[];
|
|
971
|
+
type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
|
|
972
972
|
name: string;
|
|
973
973
|
label?: string | null | undefined;
|
|
974
974
|
defaultValue?: string | number | boolean | null | undefined;
|
|
975
975
|
}, {
|
|
976
976
|
name: string;
|
|
977
977
|
required?: boolean | undefined;
|
|
978
|
-
type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
|
|
979
978
|
options?: string[] | undefined;
|
|
979
|
+
type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
|
|
980
980
|
label?: string | null | undefined;
|
|
981
981
|
defaultValue?: string | number | boolean | null | undefined;
|
|
982
982
|
}>, "many">;
|
|
@@ -984,11 +984,11 @@ export declare const routineRevisionSnapshotSchema: z.ZodObject<{
|
|
|
984
984
|
type: z.ZodLiteral<"plain">;
|
|
985
985
|
value: z.ZodString;
|
|
986
986
|
}, "strip", z.ZodTypeAny, {
|
|
987
|
-
type: "plain";
|
|
988
987
|
value: string;
|
|
989
|
-
}, {
|
|
990
988
|
type: "plain";
|
|
989
|
+
}, {
|
|
991
990
|
value: string;
|
|
991
|
+
type: "plain";
|
|
992
992
|
}>, z.ZodObject<{
|
|
993
993
|
type: z.ZodLiteral<"secret_ref">;
|
|
994
994
|
secretId: z.ZodString;
|
|
@@ -1029,8 +1029,8 @@ export declare const routineRevisionSnapshotSchema: z.ZodObject<{
|
|
|
1029
1029
|
responsibleUserId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1030
1030
|
}, "strict", z.ZodTypeAny, {
|
|
1031
1031
|
env: Record<string, string | {
|
|
1032
|
-
type: "plain";
|
|
1033
1032
|
value: string;
|
|
1033
|
+
type: "plain";
|
|
1034
1034
|
} | {
|
|
1035
1035
|
type: "secret_ref";
|
|
1036
1036
|
secretId: string;
|
|
@@ -1046,23 +1046,23 @@ export declare const routineRevisionSnapshotSchema: z.ZodObject<{
|
|
|
1046
1046
|
}> | null;
|
|
1047
1047
|
title: string;
|
|
1048
1048
|
description: string | null;
|
|
1049
|
+
companyId: string;
|
|
1049
1050
|
status: "active" | "paused" | "archived";
|
|
1050
|
-
assigneeAgentId: string | null;
|
|
1051
1051
|
projectId: string | null;
|
|
1052
|
-
goalId: string | null;
|
|
1053
1052
|
id: string;
|
|
1054
|
-
|
|
1053
|
+
parentIssueId: string | null;
|
|
1054
|
+
assigneeAgentId: string | null;
|
|
1055
|
+
goalId: string | null;
|
|
1055
1056
|
variables: {
|
|
1056
1057
|
required: boolean;
|
|
1057
|
-
type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
|
|
1058
1058
|
options: string[];
|
|
1059
|
+
type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
|
|
1059
1060
|
name: string;
|
|
1060
1061
|
label?: string | null | undefined;
|
|
1061
1062
|
defaultValue?: string | number | boolean | null | undefined;
|
|
1062
1063
|
}[];
|
|
1063
1064
|
priority: "critical" | "high" | "medium" | "low";
|
|
1064
1065
|
responsibleUserId: string | null;
|
|
1065
|
-
parentIssueId: string | null;
|
|
1066
1066
|
concurrencyPolicy: "coalesce_if_active" | "always_enqueue" | "skip_if_active";
|
|
1067
1067
|
catchUpPolicy: "skip_missed" | "enqueue_missed_with_cap";
|
|
1068
1068
|
activityGatePolicy: "always" | "require_external_activity";
|
|
@@ -1071,27 +1071,27 @@ export declare const routineRevisionSnapshotSchema: z.ZodObject<{
|
|
|
1071
1071
|
}, {
|
|
1072
1072
|
title: string;
|
|
1073
1073
|
description: string | null;
|
|
1074
|
+
companyId: string;
|
|
1074
1075
|
status: "active" | "paused" | "archived";
|
|
1075
|
-
assigneeAgentId: string | null;
|
|
1076
1076
|
projectId: string | null;
|
|
1077
|
-
goalId: string | null;
|
|
1078
1077
|
id: string;
|
|
1079
|
-
|
|
1078
|
+
parentIssueId: string | null;
|
|
1079
|
+
assigneeAgentId: string | null;
|
|
1080
|
+
goalId: string | null;
|
|
1080
1081
|
variables: {
|
|
1081
1082
|
name: string;
|
|
1082
1083
|
required?: boolean | undefined;
|
|
1083
|
-
type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
|
|
1084
1084
|
options?: string[] | undefined;
|
|
1085
|
+
type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
|
|
1085
1086
|
label?: string | null | undefined;
|
|
1086
1087
|
defaultValue?: string | number | boolean | null | undefined;
|
|
1087
1088
|
}[];
|
|
1088
1089
|
priority: "critical" | "high" | "medium" | "low";
|
|
1089
|
-
parentIssueId: string | null;
|
|
1090
1090
|
concurrencyPolicy: "coalesce_if_active" | "always_enqueue" | "skip_if_active";
|
|
1091
1091
|
catchUpPolicy: "skip_missed" | "enqueue_missed_with_cap";
|
|
1092
1092
|
env?: Record<string, string | {
|
|
1093
|
-
type: "plain";
|
|
1094
1093
|
value: string;
|
|
1094
|
+
type: "plain";
|
|
1095
1095
|
} | {
|
|
1096
1096
|
type: "secret_ref";
|
|
1097
1097
|
secretId: string;
|
|
@@ -1121,20 +1121,20 @@ export declare const routineRevisionSnapshotSchema: z.ZodObject<{
|
|
|
1121
1121
|
signingMode: z.ZodNullable<z.ZodEnum<["bearer", "hmac_sha256", "github_hmac", "none"]>>;
|
|
1122
1122
|
replayWindowSec: z.ZodNullable<z.ZodNumber>;
|
|
1123
1123
|
}, "strict", z.ZodTypeAny, {
|
|
1124
|
-
id: string;
|
|
1125
1124
|
label: string | null;
|
|
1126
|
-
|
|
1125
|
+
id: string;
|
|
1127
1126
|
enabled: boolean;
|
|
1127
|
+
kind: "schedule" | "webhook" | "api";
|
|
1128
1128
|
cronExpression: string | null;
|
|
1129
1129
|
timezone: string | null;
|
|
1130
1130
|
publicId: string | null;
|
|
1131
1131
|
signingMode: "none" | "bearer" | "hmac_sha256" | "github_hmac" | null;
|
|
1132
1132
|
replayWindowSec: number | null;
|
|
1133
1133
|
}, {
|
|
1134
|
-
id: string;
|
|
1135
1134
|
label: string | null;
|
|
1136
|
-
|
|
1135
|
+
id: string;
|
|
1137
1136
|
enabled: boolean;
|
|
1137
|
+
kind: "schedule" | "webhook" | "api";
|
|
1138
1138
|
cronExpression: string | null;
|
|
1139
1139
|
timezone: string | null;
|
|
1140
1140
|
publicId: string | null;
|
|
@@ -1144,8 +1144,8 @@ export declare const routineRevisionSnapshotSchema: z.ZodObject<{
|
|
|
1144
1144
|
}, "strict", z.ZodTypeAny, {
|
|
1145
1145
|
routine: {
|
|
1146
1146
|
env: Record<string, string | {
|
|
1147
|
-
type: "plain";
|
|
1148
1147
|
value: string;
|
|
1148
|
+
type: "plain";
|
|
1149
1149
|
} | {
|
|
1150
1150
|
type: "secret_ref";
|
|
1151
1151
|
secretId: string;
|
|
@@ -1161,66 +1161,66 @@ export declare const routineRevisionSnapshotSchema: z.ZodObject<{
|
|
|
1161
1161
|
}> | null;
|
|
1162
1162
|
title: string;
|
|
1163
1163
|
description: string | null;
|
|
1164
|
+
companyId: string;
|
|
1164
1165
|
status: "active" | "paused" | "archived";
|
|
1165
|
-
assigneeAgentId: string | null;
|
|
1166
1166
|
projectId: string | null;
|
|
1167
|
-
goalId: string | null;
|
|
1168
1167
|
id: string;
|
|
1169
|
-
|
|
1168
|
+
parentIssueId: string | null;
|
|
1169
|
+
assigneeAgentId: string | null;
|
|
1170
|
+
goalId: string | null;
|
|
1170
1171
|
variables: {
|
|
1171
1172
|
required: boolean;
|
|
1172
|
-
type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
|
|
1173
1173
|
options: string[];
|
|
1174
|
+
type: "number" | "boolean" | "text" | "textarea" | "select" | "date";
|
|
1174
1175
|
name: string;
|
|
1175
1176
|
label?: string | null | undefined;
|
|
1176
1177
|
defaultValue?: string | number | boolean | null | undefined;
|
|
1177
1178
|
}[];
|
|
1178
1179
|
priority: "critical" | "high" | "medium" | "low";
|
|
1179
1180
|
responsibleUserId: string | null;
|
|
1180
|
-
parentIssueId: string | null;
|
|
1181
1181
|
concurrencyPolicy: "coalesce_if_active" | "always_enqueue" | "skip_if_active";
|
|
1182
1182
|
catchUpPolicy: "skip_missed" | "enqueue_missed_with_cap";
|
|
1183
1183
|
activityGatePolicy: "always" | "require_external_activity";
|
|
1184
1184
|
activityGateScope: "project" | "company";
|
|
1185
1185
|
folderId?: string | null | undefined;
|
|
1186
1186
|
};
|
|
1187
|
+
version: 1;
|
|
1187
1188
|
triggers: {
|
|
1188
|
-
id: string;
|
|
1189
1189
|
label: string | null;
|
|
1190
|
-
|
|
1190
|
+
id: string;
|
|
1191
1191
|
enabled: boolean;
|
|
1192
|
+
kind: "schedule" | "webhook" | "api";
|
|
1192
1193
|
cronExpression: string | null;
|
|
1193
1194
|
timezone: string | null;
|
|
1194
1195
|
publicId: string | null;
|
|
1195
1196
|
signingMode: "none" | "bearer" | "hmac_sha256" | "github_hmac" | null;
|
|
1196
1197
|
replayWindowSec: number | null;
|
|
1197
1198
|
}[];
|
|
1198
|
-
version: 1;
|
|
1199
1199
|
}, {
|
|
1200
1200
|
routine: {
|
|
1201
1201
|
title: string;
|
|
1202
1202
|
description: string | null;
|
|
1203
|
+
companyId: string;
|
|
1203
1204
|
status: "active" | "paused" | "archived";
|
|
1204
|
-
assigneeAgentId: string | null;
|
|
1205
1205
|
projectId: string | null;
|
|
1206
|
-
goalId: string | null;
|
|
1207
1206
|
id: string;
|
|
1208
|
-
|
|
1207
|
+
parentIssueId: string | null;
|
|
1208
|
+
assigneeAgentId: string | null;
|
|
1209
|
+
goalId: string | null;
|
|
1209
1210
|
variables: {
|
|
1210
1211
|
name: string;
|
|
1211
1212
|
required?: boolean | undefined;
|
|
1212
|
-
type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
|
|
1213
1213
|
options?: string[] | undefined;
|
|
1214
|
+
type?: "number" | "boolean" | "text" | "textarea" | "select" | "date" | undefined;
|
|
1214
1215
|
label?: string | null | undefined;
|
|
1215
1216
|
defaultValue?: string | number | boolean | null | undefined;
|
|
1216
1217
|
}[];
|
|
1217
1218
|
priority: "critical" | "high" | "medium" | "low";
|
|
1218
|
-
parentIssueId: string | null;
|
|
1219
1219
|
concurrencyPolicy: "coalesce_if_active" | "always_enqueue" | "skip_if_active";
|
|
1220
1220
|
catchUpPolicy: "skip_missed" | "enqueue_missed_with_cap";
|
|
1221
1221
|
env?: Record<string, string | {
|
|
1222
|
-
type: "plain";
|
|
1223
1222
|
value: string;
|
|
1223
|
+
type: "plain";
|
|
1224
1224
|
} | {
|
|
1225
1225
|
type: "secret_ref";
|
|
1226
1226
|
secretId: string;
|
|
@@ -1239,18 +1239,18 @@ export declare const routineRevisionSnapshotSchema: z.ZodObject<{
|
|
|
1239
1239
|
activityGatePolicy?: "always" | "require_external_activity" | undefined;
|
|
1240
1240
|
activityGateScope?: "project" | "company" | undefined;
|
|
1241
1241
|
};
|
|
1242
|
+
version: 1;
|
|
1242
1243
|
triggers: {
|
|
1243
|
-
id: string;
|
|
1244
1244
|
label: string | null;
|
|
1245
|
-
|
|
1245
|
+
id: string;
|
|
1246
1246
|
enabled: boolean;
|
|
1247
|
+
kind: "schedule" | "webhook" | "api";
|
|
1247
1248
|
cronExpression: string | null;
|
|
1248
1249
|
timezone: string | null;
|
|
1249
1250
|
publicId: string | null;
|
|
1250
1251
|
signingMode: "none" | "bearer" | "hmac_sha256" | "github_hmac" | null;
|
|
1251
1252
|
replayWindowSec: number | null;
|
|
1252
1253
|
}[];
|
|
1253
|
-
version: 1;
|
|
1254
1254
|
}>;
|
|
1255
1255
|
export type RoutineRevisionSnapshotV1 = z.infer<typeof routineRevisionSnapshotV1Schema>;
|
|
1256
1256
|
export type RoutineRevisionSnapshot = z.infer<typeof routineRevisionSnapshotSchema>;
|
|
@@ -1262,8 +1262,8 @@ export declare const createRoutineTriggerSchema: z.ZodDiscriminatedUnion<"kind",
|
|
|
1262
1262
|
cronExpression: z.ZodString;
|
|
1263
1263
|
timezone: z.ZodDefault<z.ZodString>;
|
|
1264
1264
|
}, "strip", z.ZodTypeAny, {
|
|
1265
|
-
kind: "schedule";
|
|
1266
1265
|
enabled: boolean;
|
|
1266
|
+
kind: "schedule";
|
|
1267
1267
|
cronExpression: string;
|
|
1268
1268
|
timezone: string;
|
|
1269
1269
|
label?: string | null | undefined;
|
|
@@ -1281,8 +1281,8 @@ export declare const createRoutineTriggerSchema: z.ZodDiscriminatedUnion<"kind",
|
|
|
1281
1281
|
signingMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["bearer", "hmac_sha256", "github_hmac", "none"]>>>;
|
|
1282
1282
|
replayWindowSec: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1283
1283
|
}, "strip", z.ZodTypeAny, {
|
|
1284
|
-
kind: "webhook";
|
|
1285
1284
|
enabled: boolean;
|
|
1285
|
+
kind: "webhook";
|
|
1286
1286
|
signingMode: "none" | "bearer" | "hmac_sha256" | "github_hmac";
|
|
1287
1287
|
replayWindowSec: number;
|
|
1288
1288
|
label?: string | null | undefined;
|
|
@@ -1298,8 +1298,8 @@ export declare const createRoutineTriggerSchema: z.ZodDiscriminatedUnion<"kind",
|
|
|
1298
1298
|
} & {
|
|
1299
1299
|
kind: z.ZodLiteral<"api">;
|
|
1300
1300
|
}, "strip", z.ZodTypeAny, {
|
|
1301
|
-
kind: "api";
|
|
1302
1301
|
enabled: boolean;
|
|
1302
|
+
kind: "api";
|
|
1303
1303
|
label?: string | null | undefined;
|
|
1304
1304
|
}, {
|
|
1305
1305
|
kind: "api";
|
|
@@ -1383,8 +1383,8 @@ export declare const runRoutineSchema: z.ZodObject<{
|
|
|
1383
1383
|
}>>>;
|
|
1384
1384
|
}, "strict", z.ZodTypeAny, {
|
|
1385
1385
|
mode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | undefined;
|
|
1386
|
-
sharedWorkspaceConcurrency?: "auto" | "allow" | "serialize" | undefined;
|
|
1387
1386
|
environmentId?: string | null | undefined;
|
|
1387
|
+
sharedWorkspaceConcurrency?: "auto" | "allow" | "serialize" | undefined;
|
|
1388
1388
|
workspaceStrategy?: {
|
|
1389
1389
|
type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined;
|
|
1390
1390
|
baseRef?: string | null | undefined;
|
|
@@ -1401,8 +1401,8 @@ export declare const runRoutineSchema: z.ZodObject<{
|
|
|
1401
1401
|
} | null | undefined;
|
|
1402
1402
|
}, {
|
|
1403
1403
|
mode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | undefined;
|
|
1404
|
-
sharedWorkspaceConcurrency?: "auto" | "allow" | "serialize" | undefined;
|
|
1405
1404
|
environmentId?: string | null | undefined;
|
|
1405
|
+
sharedWorkspaceConcurrency?: "auto" | "allow" | "serialize" | undefined;
|
|
1406
1406
|
workspaceStrategy?: {
|
|
1407
1407
|
type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined;
|
|
1408
1408
|
baseRef?: string | null | undefined;
|
|
@@ -1420,16 +1420,18 @@ export declare const runRoutineSchema: z.ZodObject<{
|
|
|
1420
1420
|
}>>>;
|
|
1421
1421
|
}, "strip", z.ZodTypeAny, {
|
|
1422
1422
|
source: "manual" | "api";
|
|
1423
|
-
assigneeAgentId?: string | null | undefined;
|
|
1424
1423
|
projectId?: string | null | undefined;
|
|
1424
|
+
payload?: Record<string, unknown> | null | undefined;
|
|
1425
|
+
idempotencyKey?: string | null | undefined;
|
|
1426
|
+
assigneeAgentId?: string | null | undefined;
|
|
1425
1427
|
variables?: Record<string, string | number | boolean> | null | undefined;
|
|
1426
1428
|
projectWorkspaceId?: string | null | undefined;
|
|
1427
1429
|
executionWorkspaceId?: string | null | undefined;
|
|
1428
1430
|
executionWorkspacePreference?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | null | undefined;
|
|
1429
1431
|
executionWorkspaceSettings?: {
|
|
1430
1432
|
mode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | undefined;
|
|
1431
|
-
sharedWorkspaceConcurrency?: "auto" | "allow" | "serialize" | undefined;
|
|
1432
1433
|
environmentId?: string | null | undefined;
|
|
1434
|
+
sharedWorkspaceConcurrency?: "auto" | "allow" | "serialize" | undefined;
|
|
1433
1435
|
workspaceStrategy?: {
|
|
1434
1436
|
type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined;
|
|
1435
1437
|
baseRef?: string | null | undefined;
|
|
@@ -1445,21 +1447,21 @@ export declare const runRoutineSchema: z.ZodObject<{
|
|
|
1445
1447
|
allowCidrs?: string[] | undefined;
|
|
1446
1448
|
} | null | undefined;
|
|
1447
1449
|
} | null | undefined;
|
|
1448
|
-
idempotencyKey?: string | null | undefined;
|
|
1449
|
-
payload?: Record<string, unknown> | null | undefined;
|
|
1450
1450
|
triggerId?: string | null | undefined;
|
|
1451
1451
|
}, {
|
|
1452
|
-
assigneeAgentId?: string | null | undefined;
|
|
1453
1452
|
projectId?: string | null | undefined;
|
|
1454
|
-
variables?: Record<string, string | number | boolean> | null | undefined;
|
|
1455
1453
|
source?: "manual" | "api" | undefined;
|
|
1454
|
+
payload?: Record<string, unknown> | null | undefined;
|
|
1455
|
+
idempotencyKey?: string | null | undefined;
|
|
1456
|
+
assigneeAgentId?: string | null | undefined;
|
|
1457
|
+
variables?: Record<string, string | number | boolean> | null | undefined;
|
|
1456
1458
|
projectWorkspaceId?: string | null | undefined;
|
|
1457
1459
|
executionWorkspaceId?: string | null | undefined;
|
|
1458
1460
|
executionWorkspacePreference?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | null | undefined;
|
|
1459
1461
|
executionWorkspaceSettings?: {
|
|
1460
1462
|
mode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | undefined;
|
|
1461
|
-
sharedWorkspaceConcurrency?: "auto" | "allow" | "serialize" | undefined;
|
|
1462
1463
|
environmentId?: string | null | undefined;
|
|
1464
|
+
sharedWorkspaceConcurrency?: "auto" | "allow" | "serialize" | undefined;
|
|
1463
1465
|
workspaceStrategy?: {
|
|
1464
1466
|
type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined;
|
|
1465
1467
|
baseRef?: string | null | undefined;
|
|
@@ -1475,8 +1477,6 @@ export declare const runRoutineSchema: z.ZodObject<{
|
|
|
1475
1477
|
allowCidrs?: string[] | undefined;
|
|
1476
1478
|
} | null | undefined;
|
|
1477
1479
|
} | null | undefined;
|
|
1478
|
-
idempotencyKey?: string | null | undefined;
|
|
1479
|
-
payload?: Record<string, unknown> | null | undefined;
|
|
1480
1480
|
triggerId?: string | null | undefined;
|
|
1481
1481
|
}>;
|
|
1482
1482
|
export type RunRoutine = z.infer<typeof runRoutineSchema>;
|