@qawolf/api-contracts 0.1.0 → 0.11.0
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/README.md +1 -1
- package/dist/v1/automate/index.d.ts +17 -0
- package/dist/v1/automate/index.d.ts.map +1 -0
- package/dist/v1/automate/index.js +29 -0
- package/dist/v1/automate/index.js.map +1 -0
- package/dist/v1/environment/index.d.ts +78 -0
- package/dist/v1/environment/index.d.ts.map +1 -0
- package/dist/v1/environment/index.js +100 -0
- package/dist/v1/environment/index.js.map +1 -0
- package/dist/v1/flow/index.d.ts +25 -0
- package/dist/v1/flow/index.d.ts.map +1 -0
- package/dist/v1/flow/index.js +35 -0
- package/dist/v1/flow/index.js.map +1 -0
- package/dist/v1/ids.d.ts +5 -2
- package/dist/v1/ids.d.ts.map +1 -1
- package/dist/v1/ids.js +3 -0
- package/dist/v1/ids.js.map +1 -1
- package/dist/v1/index.d.ts +774 -9
- package/dist/v1/index.d.ts.map +1 -1
- package/dist/v1/index.js +38 -5
- package/dist/v1/index.js.map +1 -1
- package/dist/v1/issue/create.d.ts +74 -0
- package/dist/v1/issue/create.d.ts.map +1 -0
- package/dist/v1/issue/create.js +41 -0
- package/dist/v1/issue/create.js.map +1 -0
- package/dist/v1/issue/index.d.ts +165 -0
- package/dist/v1/issue/index.d.ts.map +1 -0
- package/dist/v1/issue/index.js +79 -0
- package/dist/v1/issue/index.js.map +1 -0
- package/dist/v1/pagination.d.ts +26 -0
- package/dist/v1/pagination.d.ts.map +1 -0
- package/dist/v1/pagination.js +37 -0
- package/dist/v1/pagination.js.map +1 -0
- package/dist/v1/resource.d.ts +20 -0
- package/dist/v1/resource.d.ts.map +1 -0
- package/dist/v1/resource.js +19 -0
- package/dist/v1/resource.js.map +1 -0
- package/dist/v1/run/find.d.ts +40 -0
- package/dist/v1/run/find.d.ts.map +1 -0
- package/dist/v1/run/find.js +35 -0
- package/dist/v1/run/find.js.map +1 -0
- package/dist/v1/run/flowSelection.d.ts +9 -0
- package/dist/v1/run/flowSelection.d.ts.map +1 -0
- package/dist/v1/run/flowSelection.js +12 -0
- package/dist/v1/run/flowSelection.js.map +1 -0
- package/dist/v1/run/get.d.ts +51 -0
- package/dist/v1/run/get.d.ts.map +1 -0
- package/dist/v1/run/get.js +55 -0
- package/dist/v1/run/get.js.map +1 -0
- package/dist/v1/run/index.d.ts +17 -6
- package/dist/v1/run/index.d.ts.map +1 -1
- package/dist/v1/run/index.js +24 -5
- package/dist/v1/run/index.js.map +1 -1
- package/dist/v1/run/summary.d.ts +23 -0
- package/dist/v1/run/summary.d.ts.map +1 -0
- package/dist/v1/run/summary.js +31 -0
- package/dist/v1/run/summary.js.map +1 -0
- package/dist/v1/tag/index.d.ts +24 -0
- package/dist/v1/tag/index.d.ts.map +1 -0
- package/dist/v1/tag/index.js +41 -0
- package/dist/v1/tag/index.js.map +1 -0
- package/package.json +3 -3
package/dist/v1/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { z } from "zod";
|
|
2
2
|
export type { AnyPublicApiContract, PublicApiContract, PublicApiContractKind, } from "./definition.js";
|
|
3
3
|
export { type PublicIdSchema, type PublicIdSchemas, defaultIdSchemas, } from "./ids.js";
|
|
4
|
+
export { makeFlowSelectionSchema } from "./run/index.js";
|
|
4
5
|
import type { AnyPublicApiContract } from "./definition.js";
|
|
5
6
|
import { type PublicIdSchema, type PublicIdSchemasOf } from "./ids.js";
|
|
6
7
|
export type PublicApiInput<Api extends AnyPublicApiContract> = z.input<Api["input"]>;
|
|
@@ -12,38 +13,802 @@ export type PublicApiOutput<Api extends AnyPublicApiContract> = z.infer<Api["out
|
|
|
12
13
|
* the same factory with its own strict id schemas, so the contract shape can
|
|
13
14
|
* never drift between the two while validation strictness stays server-owned.
|
|
14
15
|
*/
|
|
15
|
-
export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, FlowId extends PublicIdSchema, RunId extends PublicIdSchema>(ids: PublicIdSchemasOf<EnvironmentId, FlowId, RunId>) => {
|
|
16
|
-
|
|
16
|
+
export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, FlowId extends PublicIdSchema, RunId extends PublicIdSchema, AutomationId extends PublicIdSchema = PublicIdSchema, IssueId extends PublicIdSchema = PublicIdSchema, WorkspaceId extends PublicIdSchema = PublicIdSchema>(ids: PublicIdSchemasOf<EnvironmentId, FlowId, RunId, AutomationId, IssueId, WorkspaceId>) => {
|
|
17
|
+
automate: {
|
|
18
|
+
readonly description: "Request an automation that builds the selected draft flows in an environment.";
|
|
19
|
+
readonly input: z.ZodObject<{
|
|
20
|
+
environmentId: EnvironmentId;
|
|
21
|
+
flowIds: z.ZodArray<FlowId>;
|
|
22
|
+
patch: z.ZodOptional<z.ZodString>;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
readonly kind: "write";
|
|
25
|
+
readonly name: "automate";
|
|
26
|
+
readonly output: z.ZodObject<{
|
|
27
|
+
automationId: AutomationId;
|
|
28
|
+
url: z.ZodURL;
|
|
29
|
+
}, z.core.$strip>;
|
|
30
|
+
};
|
|
31
|
+
environment: {
|
|
17
32
|
create: {
|
|
18
|
-
readonly description: "Create
|
|
33
|
+
readonly description: "Create an environment on the caller's team and return it in the environment.get shape.";
|
|
34
|
+
readonly input: z.ZodObject<{
|
|
35
|
+
name: z.ZodString;
|
|
36
|
+
}, z.core.$strip>;
|
|
37
|
+
readonly kind: "write";
|
|
38
|
+
readonly name: "environment.create";
|
|
39
|
+
readonly output: z.ZodObject<{
|
|
40
|
+
environmentId: EnvironmentId;
|
|
41
|
+
flowCodeBranch: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
42
|
+
lastSyncedCommitHash: z.ZodString;
|
|
43
|
+
name: z.ZodString;
|
|
44
|
+
syncStatus: z.ZodLiteral<"reconciled">;
|
|
45
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
+
name: z.ZodString;
|
|
47
|
+
syncStatus: z.ZodLiteral<"not-reconciled">;
|
|
48
|
+
}, z.core.$strip>], "syncStatus">>;
|
|
49
|
+
kind: z.ZodEnum<{
|
|
50
|
+
static: "static";
|
|
51
|
+
preview: "preview";
|
|
52
|
+
}>;
|
|
53
|
+
name: z.ZodString;
|
|
54
|
+
status: z.ZodEnum<{
|
|
55
|
+
blocked: "blocked";
|
|
56
|
+
"needs-investigation": "needs-investigation";
|
|
57
|
+
ready: "ready";
|
|
58
|
+
running: "running";
|
|
59
|
+
}>;
|
|
60
|
+
terminatedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
61
|
+
url: z.ZodURL;
|
|
62
|
+
}, z.core.$strip>;
|
|
63
|
+
};
|
|
64
|
+
get: {
|
|
65
|
+
readonly description: "Read a single environment's name, kind, health status, and termination state.";
|
|
19
66
|
readonly input: z.ZodObject<{
|
|
20
67
|
environmentId: EnvironmentId;
|
|
68
|
+
}, z.core.$strip>;
|
|
69
|
+
readonly kind: "read";
|
|
70
|
+
readonly name: "environment.get";
|
|
71
|
+
readonly output: z.ZodObject<{
|
|
72
|
+
environmentId: EnvironmentId;
|
|
73
|
+
flowCodeBranch: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
74
|
+
lastSyncedCommitHash: z.ZodString;
|
|
75
|
+
name: z.ZodString;
|
|
76
|
+
syncStatus: z.ZodLiteral<"reconciled">;
|
|
77
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
78
|
+
name: z.ZodString;
|
|
79
|
+
syncStatus: z.ZodLiteral<"not-reconciled">;
|
|
80
|
+
}, z.core.$strip>], "syncStatus">>;
|
|
81
|
+
kind: z.ZodEnum<{
|
|
82
|
+
static: "static";
|
|
83
|
+
preview: "preview";
|
|
84
|
+
}>;
|
|
85
|
+
name: z.ZodString;
|
|
86
|
+
status: z.ZodEnum<{
|
|
87
|
+
blocked: "blocked";
|
|
88
|
+
"needs-investigation": "needs-investigation";
|
|
89
|
+
ready: "ready";
|
|
90
|
+
running: "running";
|
|
91
|
+
}>;
|
|
92
|
+
terminatedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
93
|
+
url: z.ZodURL;
|
|
94
|
+
}, z.core.$strip>;
|
|
95
|
+
};
|
|
96
|
+
listVariableNames: {
|
|
97
|
+
readonly description: "List the names of an environment's variables, sorted. Names only — values never leave the server.";
|
|
98
|
+
readonly input: z.ZodObject<{
|
|
99
|
+
environmentId: EnvironmentId;
|
|
100
|
+
}, z.core.$strip>;
|
|
101
|
+
readonly kind: "read";
|
|
102
|
+
readonly name: "environment.listVariableNames";
|
|
103
|
+
readonly output: z.ZodObject<{
|
|
104
|
+
variableNames: z.ZodArray<z.ZodString>;
|
|
105
|
+
}, z.core.$strip>;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
flow: {
|
|
109
|
+
list: {
|
|
110
|
+
readonly description: "List the flows of an environment at its latest reconciled commit.";
|
|
111
|
+
readonly input: z.ZodObject<{
|
|
112
|
+
environmentId: EnvironmentId;
|
|
113
|
+
includeDrafts: z.ZodDefault<z.ZodBoolean>;
|
|
114
|
+
}, z.core.$strip>;
|
|
115
|
+
readonly kind: "read";
|
|
116
|
+
readonly name: "flow.list";
|
|
117
|
+
readonly output: z.ZodObject<{
|
|
118
|
+
flows: z.ZodArray<z.ZodObject<{
|
|
119
|
+
executionTarget: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
|
|
120
|
+
flowId: FlowId;
|
|
121
|
+
name: z.ZodString;
|
|
122
|
+
path: z.ZodString;
|
|
123
|
+
tags: z.ZodArray<z.ZodString>;
|
|
124
|
+
url: z.ZodURL;
|
|
125
|
+
}, z.core.$strip>>;
|
|
126
|
+
}, z.core.$strip>;
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
issue: {
|
|
130
|
+
create: {
|
|
131
|
+
readonly description: string;
|
|
132
|
+
readonly input: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
133
|
+
type: z.ZodLiteral<"bug">;
|
|
134
|
+
description: z.ZodOptional<z.ZodString>;
|
|
135
|
+
name: z.ZodString;
|
|
136
|
+
priority: z.ZodOptional<z.ZodEnum<{
|
|
137
|
+
unprioritized: "unprioritized";
|
|
138
|
+
low: "low";
|
|
139
|
+
medium: "medium";
|
|
140
|
+
high: "high";
|
|
141
|
+
urgent: "urgent";
|
|
142
|
+
}>>;
|
|
143
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
144
|
+
estimatedDueDate: z.ZodOptional<z.ZodISODate>;
|
|
145
|
+
type: z.ZodLiteral<"coverageRequest">;
|
|
146
|
+
description: z.ZodOptional<z.ZodString>;
|
|
147
|
+
name: z.ZodString;
|
|
148
|
+
priority: z.ZodOptional<z.ZodEnum<{
|
|
149
|
+
unprioritized: "unprioritized";
|
|
150
|
+
low: "low";
|
|
151
|
+
medium: "medium";
|
|
152
|
+
high: "high";
|
|
153
|
+
urgent: "urgent";
|
|
154
|
+
}>>;
|
|
155
|
+
}, z.core.$strip>], "type">;
|
|
156
|
+
readonly kind: "write";
|
|
157
|
+
readonly name: "issue.create";
|
|
158
|
+
readonly output: z.ZodObject<{
|
|
159
|
+
issue: z.ZodObject<{
|
|
160
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
161
|
+
description: z.ZodString;
|
|
162
|
+
issueId: IssueId;
|
|
163
|
+
name: z.ZodString;
|
|
164
|
+
number: z.ZodNumber;
|
|
165
|
+
priority: z.ZodEnum<{
|
|
166
|
+
unprioritized: "unprioritized";
|
|
167
|
+
low: "low";
|
|
168
|
+
medium: "medium";
|
|
169
|
+
high: "high";
|
|
170
|
+
urgent: "urgent";
|
|
171
|
+
}>;
|
|
172
|
+
reproductions: z.ZodArray<z.ZodObject<{
|
|
173
|
+
environmentId: EnvironmentId;
|
|
174
|
+
firstReproducedInRunId: RunId;
|
|
175
|
+
flowId: FlowId;
|
|
176
|
+
isActive: z.ZodBoolean;
|
|
177
|
+
lastReproducedInRunId: RunId;
|
|
178
|
+
}, z.core.$strip>>;
|
|
179
|
+
status: z.ZodEnum<{
|
|
180
|
+
pending: "pending";
|
|
181
|
+
inProgress: "inProgress";
|
|
182
|
+
paused: "paused";
|
|
183
|
+
resolved: "resolved";
|
|
184
|
+
canceled: "canceled";
|
|
185
|
+
archived: "archived";
|
|
186
|
+
}>;
|
|
187
|
+
type: z.ZodEnum<{
|
|
188
|
+
bug: "bug";
|
|
189
|
+
coverageRequest: "coverageRequest";
|
|
190
|
+
maintenance: "maintenance";
|
|
191
|
+
}>;
|
|
192
|
+
url: z.ZodURL;
|
|
193
|
+
}, z.core.$strip>;
|
|
194
|
+
}, z.core.$strip>;
|
|
195
|
+
};
|
|
196
|
+
find: {
|
|
197
|
+
readonly description: "List the team's bug reports, maintenance reports, or coverage requests, newest first.";
|
|
198
|
+
readonly input: z.ZodObject<{
|
|
199
|
+
statuses: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
200
|
+
pending: "pending";
|
|
201
|
+
inProgress: "inProgress";
|
|
202
|
+
paused: "paused";
|
|
203
|
+
resolved: "resolved";
|
|
204
|
+
canceled: "canceled";
|
|
205
|
+
archived: "archived";
|
|
206
|
+
}>>>;
|
|
207
|
+
type: z.ZodEnum<{
|
|
208
|
+
bug: "bug";
|
|
209
|
+
coverageRequest: "coverageRequest";
|
|
210
|
+
maintenance: "maintenance";
|
|
211
|
+
}>;
|
|
212
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
213
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
214
|
+
}, z.core.$strip>;
|
|
215
|
+
readonly kind: "read";
|
|
216
|
+
readonly name: "issue.find";
|
|
217
|
+
readonly output: z.ZodObject<{
|
|
218
|
+
issues: z.ZodArray<z.ZodObject<{
|
|
219
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
220
|
+
description: z.ZodString;
|
|
221
|
+
issueId: IssueId;
|
|
222
|
+
name: z.ZodString;
|
|
223
|
+
number: z.ZodNumber;
|
|
224
|
+
priority: z.ZodEnum<{
|
|
225
|
+
unprioritized: "unprioritized";
|
|
226
|
+
low: "low";
|
|
227
|
+
medium: "medium";
|
|
228
|
+
high: "high";
|
|
229
|
+
urgent: "urgent";
|
|
230
|
+
}>;
|
|
231
|
+
reproductions: z.ZodArray<z.ZodObject<{
|
|
232
|
+
environmentId: EnvironmentId;
|
|
233
|
+
firstReproducedInRunId: RunId;
|
|
234
|
+
flowId: FlowId;
|
|
235
|
+
isActive: z.ZodBoolean;
|
|
236
|
+
lastReproducedInRunId: RunId;
|
|
237
|
+
}, z.core.$strip>>;
|
|
238
|
+
status: z.ZodEnum<{
|
|
239
|
+
pending: "pending";
|
|
240
|
+
inProgress: "inProgress";
|
|
241
|
+
paused: "paused";
|
|
242
|
+
resolved: "resolved";
|
|
243
|
+
canceled: "canceled";
|
|
244
|
+
archived: "archived";
|
|
245
|
+
}>;
|
|
246
|
+
type: z.ZodEnum<{
|
|
247
|
+
bug: "bug";
|
|
248
|
+
coverageRequest: "coverageRequest";
|
|
249
|
+
maintenance: "maintenance";
|
|
250
|
+
}>;
|
|
251
|
+
url: z.ZodURL;
|
|
252
|
+
}, z.core.$strip>>;
|
|
253
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
254
|
+
}, z.core.$strip>;
|
|
255
|
+
};
|
|
256
|
+
get: {
|
|
257
|
+
readonly description: "Get an issue by id.";
|
|
258
|
+
readonly input: z.ZodObject<{
|
|
259
|
+
issueId: IssueId;
|
|
260
|
+
}, z.core.$strip>;
|
|
261
|
+
readonly kind: "read";
|
|
262
|
+
readonly name: "issue.get";
|
|
263
|
+
readonly output: z.ZodObject<{
|
|
264
|
+
issue: z.ZodObject<{
|
|
265
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
266
|
+
description: z.ZodString;
|
|
267
|
+
issueId: IssueId;
|
|
268
|
+
name: z.ZodString;
|
|
269
|
+
number: z.ZodNumber;
|
|
270
|
+
priority: z.ZodEnum<{
|
|
271
|
+
unprioritized: "unprioritized";
|
|
272
|
+
low: "low";
|
|
273
|
+
medium: "medium";
|
|
274
|
+
high: "high";
|
|
275
|
+
urgent: "urgent";
|
|
276
|
+
}>;
|
|
277
|
+
reproductions: z.ZodArray<z.ZodObject<{
|
|
278
|
+
environmentId: EnvironmentId;
|
|
279
|
+
firstReproducedInRunId: RunId;
|
|
280
|
+
flowId: FlowId;
|
|
281
|
+
isActive: z.ZodBoolean;
|
|
282
|
+
lastReproducedInRunId: RunId;
|
|
283
|
+
}, z.core.$strip>>;
|
|
284
|
+
status: z.ZodEnum<{
|
|
285
|
+
pending: "pending";
|
|
286
|
+
inProgress: "inProgress";
|
|
287
|
+
paused: "paused";
|
|
288
|
+
resolved: "resolved";
|
|
289
|
+
canceled: "canceled";
|
|
290
|
+
archived: "archived";
|
|
291
|
+
}>;
|
|
292
|
+
type: z.ZodEnum<{
|
|
293
|
+
bug: "bug";
|
|
294
|
+
coverageRequest: "coverageRequest";
|
|
295
|
+
maintenance: "maintenance";
|
|
296
|
+
}>;
|
|
297
|
+
url: z.ZodURL;
|
|
298
|
+
}, z.core.$strip>;
|
|
299
|
+
}, z.core.$strip>;
|
|
300
|
+
};
|
|
301
|
+
};
|
|
302
|
+
run: {
|
|
303
|
+
create: {
|
|
304
|
+
readonly description: "Create a run for the selected flows and/or tags in an environment.";
|
|
305
|
+
readonly input: z.ZodIntersection<z.ZodObject<{
|
|
306
|
+
environmentId: EnvironmentId;
|
|
21
307
|
environmentVariables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
22
|
-
flowIds: z.ZodArray<FlowId>;
|
|
23
308
|
ignoreRules: z.ZodDefault<z.ZodBoolean>;
|
|
24
|
-
|
|
309
|
+
pullRequestNumber: z.ZodOptional<z.ZodNumber>;
|
|
310
|
+
repository: z.ZodOptional<z.ZodString>;
|
|
311
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
312
|
+
flowIds: z.ZodDefault<z.ZodArray<FlowId>>;
|
|
313
|
+
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
314
|
+
}, z.core.$strip>>;
|
|
25
315
|
readonly kind: "write";
|
|
26
316
|
readonly name: "run.create";
|
|
27
317
|
readonly output: z.ZodObject<{
|
|
28
318
|
runId: RunId;
|
|
319
|
+
url: z.ZodURL;
|
|
320
|
+
}, z.core.$strip>;
|
|
321
|
+
};
|
|
322
|
+
find: {
|
|
323
|
+
readonly description: "List an environment's recent runs, newest first.";
|
|
324
|
+
readonly input: z.ZodObject<{
|
|
325
|
+
environmentId: EnvironmentId;
|
|
326
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
327
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
328
|
+
createdAfter: z.ZodOptional<z.ZodISODateTime>;
|
|
329
|
+
}, z.core.$strip>;
|
|
330
|
+
readonly kind: "read";
|
|
331
|
+
readonly name: "run.find";
|
|
332
|
+
readonly output: z.ZodObject<{
|
|
333
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
334
|
+
runs: z.ZodArray<z.ZodObject<{
|
|
335
|
+
completedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
336
|
+
createdAt: z.ZodISODateTime;
|
|
337
|
+
git: z.ZodObject<{
|
|
338
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
339
|
+
commitMessage: z.ZodOptional<z.ZodString>;
|
|
340
|
+
commitSha: z.ZodOptional<z.ZodString>;
|
|
341
|
+
commitUrl: z.ZodOptional<z.ZodString>;
|
|
342
|
+
}, z.core.$strip>;
|
|
343
|
+
runId: RunId;
|
|
344
|
+
status: z.ZodEnum<{
|
|
345
|
+
running: "running";
|
|
346
|
+
canceled: "canceled";
|
|
347
|
+
queued: "queued";
|
|
348
|
+
passed: "passed";
|
|
349
|
+
failed: "failed";
|
|
350
|
+
}>;
|
|
351
|
+
url: z.ZodURL;
|
|
352
|
+
}, z.core.$strip>>;
|
|
353
|
+
}, z.core.$strip>;
|
|
354
|
+
};
|
|
355
|
+
get: {
|
|
356
|
+
readonly description: "Get a run's status, per-flow results, and links.";
|
|
357
|
+
readonly input: z.ZodObject<{
|
|
358
|
+
runId: RunId;
|
|
359
|
+
}, z.core.$strip>;
|
|
360
|
+
readonly kind: "read";
|
|
361
|
+
readonly name: "run.get";
|
|
362
|
+
readonly output: z.ZodObject<{
|
|
363
|
+
flows: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
364
|
+
failure: z.ZodObject<{
|
|
365
|
+
error: z.ZodString;
|
|
366
|
+
}, z.core.$strip>;
|
|
367
|
+
flowId: FlowId;
|
|
368
|
+
name: z.ZodString;
|
|
369
|
+
status: z.ZodLiteral<"failed">;
|
|
370
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
371
|
+
flowId: FlowId;
|
|
372
|
+
name: z.ZodString;
|
|
373
|
+
status: z.ZodEnum<{
|
|
374
|
+
running: "running";
|
|
375
|
+
canceled: "canceled";
|
|
376
|
+
queued: "queued";
|
|
377
|
+
passed: "passed";
|
|
378
|
+
}>;
|
|
379
|
+
}, z.core.$strip>], "status">>;
|
|
380
|
+
completedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
381
|
+
createdAt: z.ZodISODateTime;
|
|
382
|
+
git: z.ZodObject<{
|
|
383
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
384
|
+
commitMessage: z.ZodOptional<z.ZodString>;
|
|
385
|
+
commitSha: z.ZodOptional<z.ZodString>;
|
|
386
|
+
commitUrl: z.ZodOptional<z.ZodString>;
|
|
387
|
+
}, z.core.$strip>;
|
|
388
|
+
runId: RunId;
|
|
389
|
+
status: z.ZodEnum<{
|
|
390
|
+
running: "running";
|
|
391
|
+
canceled: "canceled";
|
|
392
|
+
queued: "queued";
|
|
393
|
+
passed: "passed";
|
|
394
|
+
failed: "failed";
|
|
395
|
+
}>;
|
|
396
|
+
url: z.ZodURL;
|
|
397
|
+
}, z.core.$strip>;
|
|
398
|
+
};
|
|
399
|
+
};
|
|
400
|
+
tag: {
|
|
401
|
+
create: {
|
|
402
|
+
readonly description: "Create a tag on the caller's team. Tags select flows in run.create.";
|
|
403
|
+
readonly input: z.ZodObject<{
|
|
404
|
+
name: z.ZodString;
|
|
405
|
+
}, z.core.$strip>;
|
|
406
|
+
readonly kind: "write";
|
|
407
|
+
readonly name: "tag.create";
|
|
408
|
+
readonly output: z.ZodObject<{
|
|
409
|
+
color: z.ZodString;
|
|
410
|
+
name: z.ZodString;
|
|
411
|
+
url: z.ZodURL;
|
|
29
412
|
}, z.core.$strip>;
|
|
30
413
|
};
|
|
31
414
|
};
|
|
32
415
|
};
|
|
33
416
|
export declare const publicContractsV1: {
|
|
34
|
-
|
|
417
|
+
automate: {
|
|
418
|
+
readonly description: "Request an automation that builds the selected draft flows in an environment.";
|
|
419
|
+
readonly input: z.ZodObject<{
|
|
420
|
+
environmentId: PublicIdSchema;
|
|
421
|
+
flowIds: z.ZodArray<PublicIdSchema>;
|
|
422
|
+
patch: z.ZodOptional<z.ZodString>;
|
|
423
|
+
}, z.core.$strip>;
|
|
424
|
+
readonly kind: "write";
|
|
425
|
+
readonly name: "automate";
|
|
426
|
+
readonly output: z.ZodObject<{
|
|
427
|
+
automationId: PublicIdSchema;
|
|
428
|
+
url: z.ZodURL;
|
|
429
|
+
}, z.core.$strip>;
|
|
430
|
+
};
|
|
431
|
+
environment: {
|
|
35
432
|
create: {
|
|
36
|
-
readonly description: "Create
|
|
433
|
+
readonly description: "Create an environment on the caller's team and return it in the environment.get shape.";
|
|
434
|
+
readonly input: z.ZodObject<{
|
|
435
|
+
name: z.ZodString;
|
|
436
|
+
}, z.core.$strip>;
|
|
437
|
+
readonly kind: "write";
|
|
438
|
+
readonly name: "environment.create";
|
|
439
|
+
readonly output: z.ZodObject<{
|
|
440
|
+
environmentId: PublicIdSchema;
|
|
441
|
+
flowCodeBranch: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
442
|
+
lastSyncedCommitHash: z.ZodString;
|
|
443
|
+
name: z.ZodString;
|
|
444
|
+
syncStatus: z.ZodLiteral<"reconciled">;
|
|
445
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
446
|
+
name: z.ZodString;
|
|
447
|
+
syncStatus: z.ZodLiteral<"not-reconciled">;
|
|
448
|
+
}, z.core.$strip>], "syncStatus">>;
|
|
449
|
+
kind: z.ZodEnum<{
|
|
450
|
+
static: "static";
|
|
451
|
+
preview: "preview";
|
|
452
|
+
}>;
|
|
453
|
+
name: z.ZodString;
|
|
454
|
+
status: z.ZodEnum<{
|
|
455
|
+
blocked: "blocked";
|
|
456
|
+
"needs-investigation": "needs-investigation";
|
|
457
|
+
ready: "ready";
|
|
458
|
+
running: "running";
|
|
459
|
+
}>;
|
|
460
|
+
terminatedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
461
|
+
url: z.ZodURL;
|
|
462
|
+
}, z.core.$strip>;
|
|
463
|
+
};
|
|
464
|
+
get: {
|
|
465
|
+
readonly description: "Read a single environment's name, kind, health status, and termination state.";
|
|
37
466
|
readonly input: z.ZodObject<{
|
|
38
467
|
environmentId: PublicIdSchema;
|
|
468
|
+
}, z.core.$strip>;
|
|
469
|
+
readonly kind: "read";
|
|
470
|
+
readonly name: "environment.get";
|
|
471
|
+
readonly output: z.ZodObject<{
|
|
472
|
+
environmentId: PublicIdSchema;
|
|
473
|
+
flowCodeBranch: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
474
|
+
lastSyncedCommitHash: z.ZodString;
|
|
475
|
+
name: z.ZodString;
|
|
476
|
+
syncStatus: z.ZodLiteral<"reconciled">;
|
|
477
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
478
|
+
name: z.ZodString;
|
|
479
|
+
syncStatus: z.ZodLiteral<"not-reconciled">;
|
|
480
|
+
}, z.core.$strip>], "syncStatus">>;
|
|
481
|
+
kind: z.ZodEnum<{
|
|
482
|
+
static: "static";
|
|
483
|
+
preview: "preview";
|
|
484
|
+
}>;
|
|
485
|
+
name: z.ZodString;
|
|
486
|
+
status: z.ZodEnum<{
|
|
487
|
+
blocked: "blocked";
|
|
488
|
+
"needs-investigation": "needs-investigation";
|
|
489
|
+
ready: "ready";
|
|
490
|
+
running: "running";
|
|
491
|
+
}>;
|
|
492
|
+
terminatedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
493
|
+
url: z.ZodURL;
|
|
494
|
+
}, z.core.$strip>;
|
|
495
|
+
};
|
|
496
|
+
listVariableNames: {
|
|
497
|
+
readonly description: "List the names of an environment's variables, sorted. Names only — values never leave the server.";
|
|
498
|
+
readonly input: z.ZodObject<{
|
|
499
|
+
environmentId: PublicIdSchema;
|
|
500
|
+
}, z.core.$strip>;
|
|
501
|
+
readonly kind: "read";
|
|
502
|
+
readonly name: "environment.listVariableNames";
|
|
503
|
+
readonly output: z.ZodObject<{
|
|
504
|
+
variableNames: z.ZodArray<z.ZodString>;
|
|
505
|
+
}, z.core.$strip>;
|
|
506
|
+
};
|
|
507
|
+
};
|
|
508
|
+
flow: {
|
|
509
|
+
list: {
|
|
510
|
+
readonly description: "List the flows of an environment at its latest reconciled commit.";
|
|
511
|
+
readonly input: z.ZodObject<{
|
|
512
|
+
environmentId: PublicIdSchema;
|
|
513
|
+
includeDrafts: z.ZodDefault<z.ZodBoolean>;
|
|
514
|
+
}, z.core.$strip>;
|
|
515
|
+
readonly kind: "read";
|
|
516
|
+
readonly name: "flow.list";
|
|
517
|
+
readonly output: z.ZodObject<{
|
|
518
|
+
flows: z.ZodArray<z.ZodObject<{
|
|
519
|
+
executionTarget: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
|
|
520
|
+
flowId: PublicIdSchema;
|
|
521
|
+
name: z.ZodString;
|
|
522
|
+
path: z.ZodString;
|
|
523
|
+
tags: z.ZodArray<z.ZodString>;
|
|
524
|
+
url: z.ZodURL;
|
|
525
|
+
}, z.core.$strip>>;
|
|
526
|
+
}, z.core.$strip>;
|
|
527
|
+
};
|
|
528
|
+
};
|
|
529
|
+
issue: {
|
|
530
|
+
create: {
|
|
531
|
+
readonly description: string;
|
|
532
|
+
readonly input: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
533
|
+
type: z.ZodLiteral<"bug">;
|
|
534
|
+
description: z.ZodOptional<z.ZodString>;
|
|
535
|
+
name: z.ZodString;
|
|
536
|
+
priority: z.ZodOptional<z.ZodEnum<{
|
|
537
|
+
unprioritized: "unprioritized";
|
|
538
|
+
low: "low";
|
|
539
|
+
medium: "medium";
|
|
540
|
+
high: "high";
|
|
541
|
+
urgent: "urgent";
|
|
542
|
+
}>>;
|
|
543
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
544
|
+
estimatedDueDate: z.ZodOptional<z.ZodISODate>;
|
|
545
|
+
type: z.ZodLiteral<"coverageRequest">;
|
|
546
|
+
description: z.ZodOptional<z.ZodString>;
|
|
547
|
+
name: z.ZodString;
|
|
548
|
+
priority: z.ZodOptional<z.ZodEnum<{
|
|
549
|
+
unprioritized: "unprioritized";
|
|
550
|
+
low: "low";
|
|
551
|
+
medium: "medium";
|
|
552
|
+
high: "high";
|
|
553
|
+
urgent: "urgent";
|
|
554
|
+
}>>;
|
|
555
|
+
}, z.core.$strip>], "type">;
|
|
556
|
+
readonly kind: "write";
|
|
557
|
+
readonly name: "issue.create";
|
|
558
|
+
readonly output: z.ZodObject<{
|
|
559
|
+
issue: z.ZodObject<{
|
|
560
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
561
|
+
description: z.ZodString;
|
|
562
|
+
issueId: PublicIdSchema;
|
|
563
|
+
name: z.ZodString;
|
|
564
|
+
number: z.ZodNumber;
|
|
565
|
+
priority: z.ZodEnum<{
|
|
566
|
+
unprioritized: "unprioritized";
|
|
567
|
+
low: "low";
|
|
568
|
+
medium: "medium";
|
|
569
|
+
high: "high";
|
|
570
|
+
urgent: "urgent";
|
|
571
|
+
}>;
|
|
572
|
+
reproductions: z.ZodArray<z.ZodObject<{
|
|
573
|
+
environmentId: PublicIdSchema;
|
|
574
|
+
firstReproducedInRunId: PublicIdSchema;
|
|
575
|
+
flowId: PublicIdSchema;
|
|
576
|
+
isActive: z.ZodBoolean;
|
|
577
|
+
lastReproducedInRunId: PublicIdSchema;
|
|
578
|
+
}, z.core.$strip>>;
|
|
579
|
+
status: z.ZodEnum<{
|
|
580
|
+
pending: "pending";
|
|
581
|
+
inProgress: "inProgress";
|
|
582
|
+
paused: "paused";
|
|
583
|
+
resolved: "resolved";
|
|
584
|
+
canceled: "canceled";
|
|
585
|
+
archived: "archived";
|
|
586
|
+
}>;
|
|
587
|
+
type: z.ZodEnum<{
|
|
588
|
+
bug: "bug";
|
|
589
|
+
coverageRequest: "coverageRequest";
|
|
590
|
+
maintenance: "maintenance";
|
|
591
|
+
}>;
|
|
592
|
+
url: z.ZodURL;
|
|
593
|
+
}, z.core.$strip>;
|
|
594
|
+
}, z.core.$strip>;
|
|
595
|
+
};
|
|
596
|
+
find: {
|
|
597
|
+
readonly description: "List the team's bug reports, maintenance reports, or coverage requests, newest first.";
|
|
598
|
+
readonly input: z.ZodObject<{
|
|
599
|
+
statuses: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
600
|
+
pending: "pending";
|
|
601
|
+
inProgress: "inProgress";
|
|
602
|
+
paused: "paused";
|
|
603
|
+
resolved: "resolved";
|
|
604
|
+
canceled: "canceled";
|
|
605
|
+
archived: "archived";
|
|
606
|
+
}>>>;
|
|
607
|
+
type: z.ZodEnum<{
|
|
608
|
+
bug: "bug";
|
|
609
|
+
coverageRequest: "coverageRequest";
|
|
610
|
+
maintenance: "maintenance";
|
|
611
|
+
}>;
|
|
612
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
613
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
614
|
+
}, z.core.$strip>;
|
|
615
|
+
readonly kind: "read";
|
|
616
|
+
readonly name: "issue.find";
|
|
617
|
+
readonly output: z.ZodObject<{
|
|
618
|
+
issues: z.ZodArray<z.ZodObject<{
|
|
619
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
620
|
+
description: z.ZodString;
|
|
621
|
+
issueId: PublicIdSchema;
|
|
622
|
+
name: z.ZodString;
|
|
623
|
+
number: z.ZodNumber;
|
|
624
|
+
priority: z.ZodEnum<{
|
|
625
|
+
unprioritized: "unprioritized";
|
|
626
|
+
low: "low";
|
|
627
|
+
medium: "medium";
|
|
628
|
+
high: "high";
|
|
629
|
+
urgent: "urgent";
|
|
630
|
+
}>;
|
|
631
|
+
reproductions: z.ZodArray<z.ZodObject<{
|
|
632
|
+
environmentId: PublicIdSchema;
|
|
633
|
+
firstReproducedInRunId: PublicIdSchema;
|
|
634
|
+
flowId: PublicIdSchema;
|
|
635
|
+
isActive: z.ZodBoolean;
|
|
636
|
+
lastReproducedInRunId: PublicIdSchema;
|
|
637
|
+
}, z.core.$strip>>;
|
|
638
|
+
status: z.ZodEnum<{
|
|
639
|
+
pending: "pending";
|
|
640
|
+
inProgress: "inProgress";
|
|
641
|
+
paused: "paused";
|
|
642
|
+
resolved: "resolved";
|
|
643
|
+
canceled: "canceled";
|
|
644
|
+
archived: "archived";
|
|
645
|
+
}>;
|
|
646
|
+
type: z.ZodEnum<{
|
|
647
|
+
bug: "bug";
|
|
648
|
+
coverageRequest: "coverageRequest";
|
|
649
|
+
maintenance: "maintenance";
|
|
650
|
+
}>;
|
|
651
|
+
url: z.ZodURL;
|
|
652
|
+
}, z.core.$strip>>;
|
|
653
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
654
|
+
}, z.core.$strip>;
|
|
655
|
+
};
|
|
656
|
+
get: {
|
|
657
|
+
readonly description: "Get an issue by id.";
|
|
658
|
+
readonly input: z.ZodObject<{
|
|
659
|
+
issueId: PublicIdSchema;
|
|
660
|
+
}, z.core.$strip>;
|
|
661
|
+
readonly kind: "read";
|
|
662
|
+
readonly name: "issue.get";
|
|
663
|
+
readonly output: z.ZodObject<{
|
|
664
|
+
issue: z.ZodObject<{
|
|
665
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
666
|
+
description: z.ZodString;
|
|
667
|
+
issueId: PublicIdSchema;
|
|
668
|
+
name: z.ZodString;
|
|
669
|
+
number: z.ZodNumber;
|
|
670
|
+
priority: z.ZodEnum<{
|
|
671
|
+
unprioritized: "unprioritized";
|
|
672
|
+
low: "low";
|
|
673
|
+
medium: "medium";
|
|
674
|
+
high: "high";
|
|
675
|
+
urgent: "urgent";
|
|
676
|
+
}>;
|
|
677
|
+
reproductions: z.ZodArray<z.ZodObject<{
|
|
678
|
+
environmentId: PublicIdSchema;
|
|
679
|
+
firstReproducedInRunId: PublicIdSchema;
|
|
680
|
+
flowId: PublicIdSchema;
|
|
681
|
+
isActive: z.ZodBoolean;
|
|
682
|
+
lastReproducedInRunId: PublicIdSchema;
|
|
683
|
+
}, z.core.$strip>>;
|
|
684
|
+
status: z.ZodEnum<{
|
|
685
|
+
pending: "pending";
|
|
686
|
+
inProgress: "inProgress";
|
|
687
|
+
paused: "paused";
|
|
688
|
+
resolved: "resolved";
|
|
689
|
+
canceled: "canceled";
|
|
690
|
+
archived: "archived";
|
|
691
|
+
}>;
|
|
692
|
+
type: z.ZodEnum<{
|
|
693
|
+
bug: "bug";
|
|
694
|
+
coverageRequest: "coverageRequest";
|
|
695
|
+
maintenance: "maintenance";
|
|
696
|
+
}>;
|
|
697
|
+
url: z.ZodURL;
|
|
698
|
+
}, z.core.$strip>;
|
|
699
|
+
}, z.core.$strip>;
|
|
700
|
+
};
|
|
701
|
+
};
|
|
702
|
+
run: {
|
|
703
|
+
create: {
|
|
704
|
+
readonly description: "Create a run for the selected flows and/or tags in an environment.";
|
|
705
|
+
readonly input: z.ZodIntersection<z.ZodObject<{
|
|
706
|
+
environmentId: PublicIdSchema;
|
|
39
707
|
environmentVariables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
40
|
-
flowIds: z.ZodArray<PublicIdSchema>;
|
|
41
708
|
ignoreRules: z.ZodDefault<z.ZodBoolean>;
|
|
42
|
-
|
|
709
|
+
pullRequestNumber: z.ZodOptional<z.ZodNumber>;
|
|
710
|
+
repository: z.ZodOptional<z.ZodString>;
|
|
711
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
712
|
+
flowIds: z.ZodDefault<z.ZodArray<PublicIdSchema>>;
|
|
713
|
+
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
714
|
+
}, z.core.$strip>>;
|
|
43
715
|
readonly kind: "write";
|
|
44
716
|
readonly name: "run.create";
|
|
45
717
|
readonly output: z.ZodObject<{
|
|
46
718
|
runId: PublicIdSchema;
|
|
719
|
+
url: z.ZodURL;
|
|
720
|
+
}, z.core.$strip>;
|
|
721
|
+
};
|
|
722
|
+
find: {
|
|
723
|
+
readonly description: "List an environment's recent runs, newest first.";
|
|
724
|
+
readonly input: z.ZodObject<{
|
|
725
|
+
environmentId: PublicIdSchema;
|
|
726
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
727
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
728
|
+
createdAfter: z.ZodOptional<z.ZodISODateTime>;
|
|
729
|
+
}, z.core.$strip>;
|
|
730
|
+
readonly kind: "read";
|
|
731
|
+
readonly name: "run.find";
|
|
732
|
+
readonly output: z.ZodObject<{
|
|
733
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
734
|
+
runs: z.ZodArray<z.ZodObject<{
|
|
735
|
+
completedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
736
|
+
createdAt: z.ZodISODateTime;
|
|
737
|
+
git: z.ZodObject<{
|
|
738
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
739
|
+
commitMessage: z.ZodOptional<z.ZodString>;
|
|
740
|
+
commitSha: z.ZodOptional<z.ZodString>;
|
|
741
|
+
commitUrl: z.ZodOptional<z.ZodString>;
|
|
742
|
+
}, z.core.$strip>;
|
|
743
|
+
runId: PublicIdSchema;
|
|
744
|
+
status: z.ZodEnum<{
|
|
745
|
+
running: "running";
|
|
746
|
+
canceled: "canceled";
|
|
747
|
+
queued: "queued";
|
|
748
|
+
passed: "passed";
|
|
749
|
+
failed: "failed";
|
|
750
|
+
}>;
|
|
751
|
+
url: z.ZodURL;
|
|
752
|
+
}, z.core.$strip>>;
|
|
753
|
+
}, z.core.$strip>;
|
|
754
|
+
};
|
|
755
|
+
get: {
|
|
756
|
+
readonly description: "Get a run's status, per-flow results, and links.";
|
|
757
|
+
readonly input: z.ZodObject<{
|
|
758
|
+
runId: PublicIdSchema;
|
|
759
|
+
}, z.core.$strip>;
|
|
760
|
+
readonly kind: "read";
|
|
761
|
+
readonly name: "run.get";
|
|
762
|
+
readonly output: z.ZodObject<{
|
|
763
|
+
flows: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
764
|
+
failure: z.ZodObject<{
|
|
765
|
+
error: z.ZodString;
|
|
766
|
+
}, z.core.$strip>;
|
|
767
|
+
flowId: PublicIdSchema;
|
|
768
|
+
name: z.ZodString;
|
|
769
|
+
status: z.ZodLiteral<"failed">;
|
|
770
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
771
|
+
flowId: PublicIdSchema;
|
|
772
|
+
name: z.ZodString;
|
|
773
|
+
status: z.ZodEnum<{
|
|
774
|
+
running: "running";
|
|
775
|
+
canceled: "canceled";
|
|
776
|
+
queued: "queued";
|
|
777
|
+
passed: "passed";
|
|
778
|
+
}>;
|
|
779
|
+
}, z.core.$strip>], "status">>;
|
|
780
|
+
completedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
781
|
+
createdAt: z.ZodISODateTime;
|
|
782
|
+
git: z.ZodObject<{
|
|
783
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
784
|
+
commitMessage: z.ZodOptional<z.ZodString>;
|
|
785
|
+
commitSha: z.ZodOptional<z.ZodString>;
|
|
786
|
+
commitUrl: z.ZodOptional<z.ZodString>;
|
|
787
|
+
}, z.core.$strip>;
|
|
788
|
+
runId: PublicIdSchema;
|
|
789
|
+
status: z.ZodEnum<{
|
|
790
|
+
running: "running";
|
|
791
|
+
canceled: "canceled";
|
|
792
|
+
queued: "queued";
|
|
793
|
+
passed: "passed";
|
|
794
|
+
failed: "failed";
|
|
795
|
+
}>;
|
|
796
|
+
url: z.ZodURL;
|
|
797
|
+
}, z.core.$strip>;
|
|
798
|
+
};
|
|
799
|
+
};
|
|
800
|
+
tag: {
|
|
801
|
+
create: {
|
|
802
|
+
readonly description: "Create a tag on the caller's team. Tags select flows in run.create.";
|
|
803
|
+
readonly input: z.ZodObject<{
|
|
804
|
+
name: z.ZodString;
|
|
805
|
+
}, z.core.$strip>;
|
|
806
|
+
readonly kind: "write";
|
|
807
|
+
readonly name: "tag.create";
|
|
808
|
+
readonly output: z.ZodObject<{
|
|
809
|
+
color: z.ZodString;
|
|
810
|
+
name: z.ZodString;
|
|
811
|
+
url: z.ZodURL;
|
|
47
812
|
}, z.core.$strip>;
|
|
48
813
|
};
|
|
49
814
|
};
|