@lessly/sdk-app 0.4.0 → 1.0.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/dist/client.gen-B9FjzHej.d.cts +3314 -0
- package/dist/client.gen-B9FjzHej.d.ts +3314 -0
- package/dist/deployment/index.d.cts +107 -108
- package/dist/deployment/index.d.ts +107 -108
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/organization/index.d.cts +1 -1
- package/dist/organization/index.d.ts +1 -1
- package/dist/playground/index.d.cts +1 -1
- package/dist/playground/index.d.ts +1 -1
- package/package.json +2 -2
- package/src/gen/types.gen.ts +1794 -188
- package/dist/client.gen-DH0z4Tfa.d.cts +0 -1711
- package/dist/client.gen-DH0z4Tfa.d.ts +0 -1711
|
@@ -0,0 +1,3314 @@
|
|
|
1
|
+
interface DeploymentAlertCreateInput {
|
|
2
|
+
metric: ("cpu" | "memory" | "net_in" | "net_out" | "disk");
|
|
3
|
+
enabled?: boolean;
|
|
4
|
+
targetId: string;
|
|
5
|
+
threshold: number;
|
|
6
|
+
comparator: ("gt" | "lt");
|
|
7
|
+
targetKind: ("service" | "managed-service");
|
|
8
|
+
}
|
|
9
|
+
interface DeploymentAlertCreateOutput {
|
|
10
|
+
id: string;
|
|
11
|
+
state: ("ok" | "firing");
|
|
12
|
+
metric: ("cpu" | "memory" | "net_in" | "net_out" | "disk");
|
|
13
|
+
enabled: boolean;
|
|
14
|
+
targetId: string;
|
|
15
|
+
createdAt: string;
|
|
16
|
+
productId: string;
|
|
17
|
+
threshold: number;
|
|
18
|
+
updatedAt: string;
|
|
19
|
+
comparator: ("gt" | "lt");
|
|
20
|
+
targetKind: ("service" | "managed-service");
|
|
21
|
+
environmentId: string;
|
|
22
|
+
lastEvaluatedAt: (string | null);
|
|
23
|
+
lastStateChangeAt: (string | null);
|
|
24
|
+
}
|
|
25
|
+
interface DeploymentAlertDeleteInput {
|
|
26
|
+
id: string;
|
|
27
|
+
}
|
|
28
|
+
interface DeploymentAlertDeleteOutput {
|
|
29
|
+
deleted: boolean;
|
|
30
|
+
}
|
|
31
|
+
interface DeploymentAlertEventsListInput {
|
|
32
|
+
limit?: number;
|
|
33
|
+
environmentId: string;
|
|
34
|
+
}
|
|
35
|
+
type DeploymentAlertEventsListOutput = {
|
|
36
|
+
id: string;
|
|
37
|
+
type: ("firing" | "resolved");
|
|
38
|
+
value: number;
|
|
39
|
+
metric: ("cpu" | "memory" | "net_in" | "net_out" | "disk");
|
|
40
|
+
ruleId: string;
|
|
41
|
+
targetId: string;
|
|
42
|
+
createdAt: string;
|
|
43
|
+
productId: string;
|
|
44
|
+
threshold: number;
|
|
45
|
+
targetKind: ("service" | "managed-service");
|
|
46
|
+
}[];
|
|
47
|
+
interface DeploymentAlertListInput {
|
|
48
|
+
environmentId: string;
|
|
49
|
+
}
|
|
50
|
+
type DeploymentAlertListOutput = {
|
|
51
|
+
id: string;
|
|
52
|
+
state: ("ok" | "firing");
|
|
53
|
+
metric: ("cpu" | "memory" | "net_in" | "net_out" | "disk");
|
|
54
|
+
enabled: boolean;
|
|
55
|
+
targetId: string;
|
|
56
|
+
createdAt: string;
|
|
57
|
+
productId: string;
|
|
58
|
+
threshold: number;
|
|
59
|
+
updatedAt: string;
|
|
60
|
+
comparator: ("gt" | "lt");
|
|
61
|
+
targetKind: ("service" | "managed-service");
|
|
62
|
+
environmentId: string;
|
|
63
|
+
lastEvaluatedAt: (string | null);
|
|
64
|
+
lastStateChangeAt: (string | null);
|
|
65
|
+
}[];
|
|
66
|
+
interface DeploymentAlertUpdateInput {
|
|
67
|
+
id: string;
|
|
68
|
+
enabled?: boolean;
|
|
69
|
+
threshold?: number;
|
|
70
|
+
comparator?: ("gt" | "lt");
|
|
71
|
+
}
|
|
72
|
+
interface DeploymentAlertUpdateOutput {
|
|
73
|
+
id: string;
|
|
74
|
+
state: ("ok" | "firing");
|
|
75
|
+
metric: ("cpu" | "memory" | "net_in" | "net_out" | "disk");
|
|
76
|
+
enabled: boolean;
|
|
77
|
+
targetId: string;
|
|
78
|
+
createdAt: string;
|
|
79
|
+
productId: string;
|
|
80
|
+
threshold: number;
|
|
81
|
+
updatedAt: string;
|
|
82
|
+
comparator: ("gt" | "lt");
|
|
83
|
+
targetKind: ("service" | "managed-service");
|
|
84
|
+
environmentId: string;
|
|
85
|
+
lastEvaluatedAt: (string | null);
|
|
86
|
+
lastStateChangeAt: (string | null);
|
|
87
|
+
}
|
|
88
|
+
interface DeploymentAnalyticsQueryInput {
|
|
89
|
+
q: string;
|
|
90
|
+
}
|
|
91
|
+
interface DeploymentAnalyticsQueryOutput {
|
|
92
|
+
sql: string;
|
|
93
|
+
rows: {
|
|
94
|
+
[k: string]: unknown;
|
|
95
|
+
}[];
|
|
96
|
+
answer: string;
|
|
97
|
+
truncated: boolean;
|
|
98
|
+
explanation: string;
|
|
99
|
+
}
|
|
100
|
+
interface DeploymentAuditListInput {
|
|
101
|
+
limit?: number;
|
|
102
|
+
action?: string;
|
|
103
|
+
actorId?: string;
|
|
104
|
+
serviceId?: string;
|
|
105
|
+
entityType?: ("variable" | "domain" | "service" | "environment" | "deployment" | "managed_service" | "volume" | "cloud-sql-instance" | "cloud-sql-database" | "cloud-sql-attachment" | "ssh_key" | "ssh_session");
|
|
106
|
+
environmentId: string;
|
|
107
|
+
}
|
|
108
|
+
type DeploymentAuditListOutput = {
|
|
109
|
+
id: string;
|
|
110
|
+
action: string;
|
|
111
|
+
actorId: string;
|
|
112
|
+
entityId: (string | null);
|
|
113
|
+
metadata: {
|
|
114
|
+
[k: string]: unknown;
|
|
115
|
+
};
|
|
116
|
+
createdAt: string;
|
|
117
|
+
productId: string;
|
|
118
|
+
serviceId: (string | null);
|
|
119
|
+
actorEmail: string;
|
|
120
|
+
entityType: ("variable" | "domain" | "service" | "environment" | "deployment" | "managed_service" | "volume" | "cloud-sql-instance" | "cloud-sql-database" | "cloud-sql-attachment" | "ssh_key" | "ssh_session");
|
|
121
|
+
environmentId: (string | null);
|
|
122
|
+
}[];
|
|
123
|
+
interface DeploymentBuildGetInput {
|
|
124
|
+
id: string;
|
|
125
|
+
}
|
|
126
|
+
interface DeploymentBuildGetOutput {
|
|
127
|
+
id: string;
|
|
128
|
+
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed");
|
|
129
|
+
builtAt: (string | null);
|
|
130
|
+
imageRef: (string | null);
|
|
131
|
+
commitSha: (string | null);
|
|
132
|
+
createdAt: string;
|
|
133
|
+
serviceId: string;
|
|
134
|
+
startedAt: (string | null);
|
|
135
|
+
finishedAt: (string | null);
|
|
136
|
+
cloudBuildId: (string | null);
|
|
137
|
+
lastErrorMessage: (string | null);
|
|
138
|
+
}
|
|
139
|
+
interface DeploymentBuildListInput {
|
|
140
|
+
serviceId: string;
|
|
141
|
+
}
|
|
142
|
+
type DeploymentBuildListOutput = {
|
|
143
|
+
id: string;
|
|
144
|
+
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed");
|
|
145
|
+
builtAt: (string | null);
|
|
146
|
+
imageRef: (string | null);
|
|
147
|
+
commitSha: (string | null);
|
|
148
|
+
createdAt: string;
|
|
149
|
+
serviceId: string;
|
|
150
|
+
startedAt: (string | null);
|
|
151
|
+
finishedAt: (string | null);
|
|
152
|
+
cloudBuildId: (string | null);
|
|
153
|
+
lastErrorMessage: (string | null);
|
|
154
|
+
}[];
|
|
155
|
+
interface DeploymentBuildLogsInput {
|
|
156
|
+
tail?: number;
|
|
157
|
+
since?: string;
|
|
158
|
+
serviceId: string;
|
|
159
|
+
deploymentId: string;
|
|
160
|
+
}
|
|
161
|
+
interface DeploymentBuildLogsOutput {
|
|
162
|
+
lines: {
|
|
163
|
+
ts: string;
|
|
164
|
+
text: string;
|
|
165
|
+
}[];
|
|
166
|
+
cursor: (string | null);
|
|
167
|
+
complete: boolean;
|
|
168
|
+
}
|
|
169
|
+
interface DeploymentCanvasGetInput {
|
|
170
|
+
environmentId: string;
|
|
171
|
+
}
|
|
172
|
+
interface DeploymentCanvasGetOutput {
|
|
173
|
+
edges: {
|
|
174
|
+
id: string;
|
|
175
|
+
kind: ("cloud-sql" | "reference" | "host");
|
|
176
|
+
label: string;
|
|
177
|
+
toKind: ("service" | "managed-service" | "cloud-sql");
|
|
178
|
+
fromKind: "service";
|
|
179
|
+
toNodeId: string;
|
|
180
|
+
fromNodeId: string;
|
|
181
|
+
}[];
|
|
182
|
+
nodes: {
|
|
183
|
+
x: number;
|
|
184
|
+
y: number;
|
|
185
|
+
id: string;
|
|
186
|
+
width: (number | null);
|
|
187
|
+
height: (number | null);
|
|
188
|
+
nodeId: string;
|
|
189
|
+
nodeKind: ("service" | "volume" | "managed-service" | "cloud-sql");
|
|
190
|
+
createdAt: string;
|
|
191
|
+
updatedAt: string;
|
|
192
|
+
}[];
|
|
193
|
+
services: {
|
|
194
|
+
id: string;
|
|
195
|
+
name: string;
|
|
196
|
+
slug: string;
|
|
197
|
+
probes: {
|
|
198
|
+
liveness?: Readiness;
|
|
199
|
+
readiness?: Readiness;
|
|
200
|
+
};
|
|
201
|
+
source: ({
|
|
202
|
+
url?: string;
|
|
203
|
+
path?: string;
|
|
204
|
+
type: "git";
|
|
205
|
+
branch: string;
|
|
206
|
+
connectorId?: string;
|
|
207
|
+
repoFullName?: string;
|
|
208
|
+
} | {
|
|
209
|
+
tag: string;
|
|
210
|
+
type: "image";
|
|
211
|
+
registry: string;
|
|
212
|
+
} | {
|
|
213
|
+
spa?: boolean;
|
|
214
|
+
repo?: {
|
|
215
|
+
url?: string;
|
|
216
|
+
path?: string;
|
|
217
|
+
branch: string;
|
|
218
|
+
connectorId?: string;
|
|
219
|
+
repoFullName?: string;
|
|
220
|
+
};
|
|
221
|
+
type: "static";
|
|
222
|
+
build?: {
|
|
223
|
+
command?: string;
|
|
224
|
+
outputDir?: string;
|
|
225
|
+
};
|
|
226
|
+
});
|
|
227
|
+
replicas: number;
|
|
228
|
+
createdAt: string;
|
|
229
|
+
dependsOn: string[];
|
|
230
|
+
resources?: {
|
|
231
|
+
limits?: {
|
|
232
|
+
cpu?: string;
|
|
233
|
+
memory?: string;
|
|
234
|
+
};
|
|
235
|
+
};
|
|
236
|
+
updatedAt: string;
|
|
237
|
+
containerPort: number;
|
|
238
|
+
environmentId: string;
|
|
239
|
+
lastReplicasRunning: number;
|
|
240
|
+
}[];
|
|
241
|
+
environmentId: string;
|
|
242
|
+
}
|
|
243
|
+
interface DeploymentCanvasMoveNodeInput {
|
|
244
|
+
x?: number;
|
|
245
|
+
y?: number;
|
|
246
|
+
width?: number;
|
|
247
|
+
height?: number;
|
|
248
|
+
nodeId: string;
|
|
249
|
+
environmentId: string;
|
|
250
|
+
}
|
|
251
|
+
interface DeploymentCanvasMoveNodeOutput {
|
|
252
|
+
x: number;
|
|
253
|
+
y: number;
|
|
254
|
+
id: string;
|
|
255
|
+
width: (number | null);
|
|
256
|
+
height: (number | null);
|
|
257
|
+
nodeId: string;
|
|
258
|
+
nodeKind: ("service" | "volume" | "managed-service" | "cloud-sql");
|
|
259
|
+
createdAt: string;
|
|
260
|
+
updatedAt: string;
|
|
261
|
+
}
|
|
262
|
+
interface DeploymentCloudSqlBackfillLogFlagsInput {
|
|
263
|
+
instanceId?: string;
|
|
264
|
+
}
|
|
265
|
+
interface DeploymentCloudSqlBackfillLogFlagsOutput {
|
|
266
|
+
failed: {
|
|
267
|
+
id: string;
|
|
268
|
+
name: string;
|
|
269
|
+
error: string;
|
|
270
|
+
}[];
|
|
271
|
+
patched: number;
|
|
272
|
+
scanned: number;
|
|
273
|
+
skippedNoDrift: number;
|
|
274
|
+
restartRequired: {
|
|
275
|
+
id: string;
|
|
276
|
+
name: string;
|
|
277
|
+
flags: string[];
|
|
278
|
+
}[];
|
|
279
|
+
skippedNotReady: number;
|
|
280
|
+
skippedRestartRequired: number;
|
|
281
|
+
}
|
|
282
|
+
interface DeploymentCloudSqlDatabaseAttachInput {
|
|
283
|
+
serviceId: string;
|
|
284
|
+
databaseId: string;
|
|
285
|
+
environmentId: string;
|
|
286
|
+
}
|
|
287
|
+
interface DeploymentCloudSqlDatabaseAttachOutput {
|
|
288
|
+
id: string;
|
|
289
|
+
status: string;
|
|
290
|
+
serviceId: string;
|
|
291
|
+
databaseId: string;
|
|
292
|
+
environmentId: string;
|
|
293
|
+
}
|
|
294
|
+
interface DeploymentCloudSqlDatabaseCreateInput {
|
|
295
|
+
label?: string;
|
|
296
|
+
instanceId: string;
|
|
297
|
+
}
|
|
298
|
+
interface DeploymentCloudSqlDatabaseCreateOutput {
|
|
299
|
+
id: string;
|
|
300
|
+
dbName: string;
|
|
301
|
+
status: string;
|
|
302
|
+
roleName: string;
|
|
303
|
+
createdAt: string;
|
|
304
|
+
productId: string;
|
|
305
|
+
updatedAt: string;
|
|
306
|
+
instanceId: string;
|
|
307
|
+
lastErrorMessage: (string | null);
|
|
308
|
+
}
|
|
309
|
+
interface DeploymentCloudSqlDatabaseDeleteInput {
|
|
310
|
+
databaseId: string;
|
|
311
|
+
}
|
|
312
|
+
interface DeploymentCloudSqlDatabaseDeleteOutput {
|
|
313
|
+
[k: string]: unknown;
|
|
314
|
+
}
|
|
315
|
+
interface DeploymentCloudSqlDatabaseDetachInput {
|
|
316
|
+
attachmentId: string;
|
|
317
|
+
}
|
|
318
|
+
interface DeploymentCloudSqlDatabaseDetachOutput {
|
|
319
|
+
[k: string]: unknown;
|
|
320
|
+
}
|
|
321
|
+
interface DeploymentCloudSqlDatabaseGetInput {
|
|
322
|
+
databaseId: string;
|
|
323
|
+
}
|
|
324
|
+
interface DeploymentCloudSqlDatabaseGetOutput {
|
|
325
|
+
id: string;
|
|
326
|
+
dbName: string;
|
|
327
|
+
status: string;
|
|
328
|
+
roleName: string;
|
|
329
|
+
createdAt: string;
|
|
330
|
+
productId: string;
|
|
331
|
+
updatedAt: string;
|
|
332
|
+
instanceId: string;
|
|
333
|
+
lastErrorMessage: (string | null);
|
|
334
|
+
}
|
|
335
|
+
interface DeploymentCloudSqlDatabaseListInput {
|
|
336
|
+
instanceId: string;
|
|
337
|
+
}
|
|
338
|
+
type DeploymentCloudSqlDatabaseListOutput = {
|
|
339
|
+
id: string;
|
|
340
|
+
dbName: string;
|
|
341
|
+
status: string;
|
|
342
|
+
roleName: string;
|
|
343
|
+
createdAt: string;
|
|
344
|
+
productId: string;
|
|
345
|
+
updatedAt: string;
|
|
346
|
+
instanceId: string;
|
|
347
|
+
lastErrorMessage: (string | null);
|
|
348
|
+
}[];
|
|
349
|
+
interface DeploymentCloudSqlInstanceBackupInput {
|
|
350
|
+
instanceId: string;
|
|
351
|
+
}
|
|
352
|
+
interface DeploymentCloudSqlInstanceBackupOutput {
|
|
353
|
+
id: string;
|
|
354
|
+
name: string;
|
|
355
|
+
tier: string;
|
|
356
|
+
label: string;
|
|
357
|
+
region: string;
|
|
358
|
+
status: string;
|
|
359
|
+
createdAt: string;
|
|
360
|
+
pgVersion: string;
|
|
361
|
+
privateIp: (string | null);
|
|
362
|
+
productId: string;
|
|
363
|
+
updatedAt: string;
|
|
364
|
+
pitrEnabled: boolean;
|
|
365
|
+
backupsEnabled: boolean;
|
|
366
|
+
connectionName: (string | null);
|
|
367
|
+
lastErrorMessage: (string | null);
|
|
368
|
+
}
|
|
369
|
+
interface DeploymentCloudSqlInstanceBackupListInput {
|
|
370
|
+
instanceId: string;
|
|
371
|
+
}
|
|
372
|
+
type DeploymentCloudSqlInstanceBackupListOutput = {
|
|
373
|
+
id: string;
|
|
374
|
+
type: string;
|
|
375
|
+
error: (string | null);
|
|
376
|
+
status: string;
|
|
377
|
+
endTime: (string | null);
|
|
378
|
+
startTime: (string | null);
|
|
379
|
+
description: (string | null);
|
|
380
|
+
}[];
|
|
381
|
+
interface DeploymentCloudSqlInstanceCreateInput {
|
|
382
|
+
tier?: ("db-custom-1-3840" | "db-custom-2-7680" | "db-custom-4-15360");
|
|
383
|
+
label: string;
|
|
384
|
+
pgVersion?: ("16" | "17" | "18");
|
|
385
|
+
}
|
|
386
|
+
interface DeploymentCloudSqlInstanceCreateOutput {
|
|
387
|
+
id: string;
|
|
388
|
+
name: string;
|
|
389
|
+
tier: string;
|
|
390
|
+
label: string;
|
|
391
|
+
region: string;
|
|
392
|
+
status: string;
|
|
393
|
+
createdAt: string;
|
|
394
|
+
pgVersion: string;
|
|
395
|
+
privateIp: (string | null);
|
|
396
|
+
productId: string;
|
|
397
|
+
updatedAt: string;
|
|
398
|
+
pitrEnabled: boolean;
|
|
399
|
+
backupsEnabled: boolean;
|
|
400
|
+
connectionName: (string | null);
|
|
401
|
+
lastErrorMessage: (string | null);
|
|
402
|
+
}
|
|
403
|
+
interface DeploymentCloudSqlInstanceDeleteInput {
|
|
404
|
+
instanceId: string;
|
|
405
|
+
}
|
|
406
|
+
interface DeploymentCloudSqlInstanceDeleteOutput {
|
|
407
|
+
[k: string]: unknown;
|
|
408
|
+
}
|
|
409
|
+
interface DeploymentCloudSqlInstanceGetInput {
|
|
410
|
+
instanceId: string;
|
|
411
|
+
}
|
|
412
|
+
interface DeploymentCloudSqlInstanceGetOutput {
|
|
413
|
+
id: string;
|
|
414
|
+
name: string;
|
|
415
|
+
tier: string;
|
|
416
|
+
label: string;
|
|
417
|
+
region: string;
|
|
418
|
+
status: string;
|
|
419
|
+
createdAt: string;
|
|
420
|
+
pgVersion: string;
|
|
421
|
+
privateIp: (string | null);
|
|
422
|
+
productId: string;
|
|
423
|
+
updatedAt: string;
|
|
424
|
+
pitrEnabled: boolean;
|
|
425
|
+
backupsEnabled: boolean;
|
|
426
|
+
connectionName: (string | null);
|
|
427
|
+
lastErrorMessage: (string | null);
|
|
428
|
+
}
|
|
429
|
+
interface DeploymentCloudSqlInstanceListInput {
|
|
430
|
+
}
|
|
431
|
+
type DeploymentCloudSqlInstanceListOutput = {
|
|
432
|
+
id: string;
|
|
433
|
+
name: string;
|
|
434
|
+
tier: string;
|
|
435
|
+
label: string;
|
|
436
|
+
region: string;
|
|
437
|
+
status: string;
|
|
438
|
+
createdAt: string;
|
|
439
|
+
pgVersion: string;
|
|
440
|
+
privateIp: (string | null);
|
|
441
|
+
productId: string;
|
|
442
|
+
updatedAt: string;
|
|
443
|
+
pitrEnabled: boolean;
|
|
444
|
+
backupsEnabled: boolean;
|
|
445
|
+
connectionName: (string | null);
|
|
446
|
+
lastErrorMessage: (string | null);
|
|
447
|
+
}[];
|
|
448
|
+
interface DeploymentCloudSqlInstanceResizeInput {
|
|
449
|
+
tier: ("db-custom-1-3840" | "db-custom-2-7680" | "db-custom-4-15360");
|
|
450
|
+
instanceId: string;
|
|
451
|
+
}
|
|
452
|
+
interface DeploymentCloudSqlInstanceResizeOutput {
|
|
453
|
+
id: string;
|
|
454
|
+
name: string;
|
|
455
|
+
tier: string;
|
|
456
|
+
label: string;
|
|
457
|
+
region: string;
|
|
458
|
+
status: string;
|
|
459
|
+
createdAt: string;
|
|
460
|
+
pgVersion: string;
|
|
461
|
+
privateIp: (string | null);
|
|
462
|
+
productId: string;
|
|
463
|
+
updatedAt: string;
|
|
464
|
+
pitrEnabled: boolean;
|
|
465
|
+
backupsEnabled: boolean;
|
|
466
|
+
connectionName: (string | null);
|
|
467
|
+
lastErrorMessage: (string | null);
|
|
468
|
+
}
|
|
469
|
+
interface DeploymentCloudSqlInstanceRestoreInput {
|
|
470
|
+
instanceId: string;
|
|
471
|
+
backupRunId: string;
|
|
472
|
+
}
|
|
473
|
+
interface DeploymentCloudSqlInstanceRestoreOutput {
|
|
474
|
+
id: string;
|
|
475
|
+
name: string;
|
|
476
|
+
tier: string;
|
|
477
|
+
label: string;
|
|
478
|
+
region: string;
|
|
479
|
+
status: string;
|
|
480
|
+
createdAt: string;
|
|
481
|
+
pgVersion: string;
|
|
482
|
+
privateIp: (string | null);
|
|
483
|
+
productId: string;
|
|
484
|
+
updatedAt: string;
|
|
485
|
+
pitrEnabled: boolean;
|
|
486
|
+
backupsEnabled: boolean;
|
|
487
|
+
connectionName: (string | null);
|
|
488
|
+
lastErrorMessage: (string | null);
|
|
489
|
+
}
|
|
490
|
+
interface DeploymentCloudSqlLogsInput {
|
|
491
|
+
tail?: number;
|
|
492
|
+
instanceId: string;
|
|
493
|
+
}
|
|
494
|
+
interface DeploymentCloudSqlLogsOutput {
|
|
495
|
+
lines: string[];
|
|
496
|
+
}
|
|
497
|
+
interface DeploymentDeploymentCancelInput {
|
|
498
|
+
serviceId: string;
|
|
499
|
+
deploymentId: string;
|
|
500
|
+
}
|
|
501
|
+
interface DeploymentDeploymentCancelOutput {
|
|
502
|
+
id: string;
|
|
503
|
+
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed");
|
|
504
|
+
builtAt: (string | null);
|
|
505
|
+
imageRef: (string | null);
|
|
506
|
+
commitSha: (string | null);
|
|
507
|
+
createdAt: string;
|
|
508
|
+
serviceId: string;
|
|
509
|
+
startedAt: (string | null);
|
|
510
|
+
updatedAt: string;
|
|
511
|
+
deployedAt: (string | null);
|
|
512
|
+
finishedAt: (string | null);
|
|
513
|
+
cloudBuildId: (string | null);
|
|
514
|
+
configSnapshot: {
|
|
515
|
+
source?: unknown;
|
|
516
|
+
variables: {
|
|
517
|
+
key: string;
|
|
518
|
+
value: string;
|
|
519
|
+
}[];
|
|
520
|
+
};
|
|
521
|
+
lastErrorMessage: (string | null);
|
|
522
|
+
rolledBackFromDeploymentId: (string | null);
|
|
523
|
+
}
|
|
524
|
+
interface DeploymentDeploymentGetInput {
|
|
525
|
+
id: string;
|
|
526
|
+
}
|
|
527
|
+
interface DeploymentDeploymentGetOutput {
|
|
528
|
+
id: string;
|
|
529
|
+
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed");
|
|
530
|
+
builtAt: (string | null);
|
|
531
|
+
imageRef: (string | null);
|
|
532
|
+
commitSha: (string | null);
|
|
533
|
+
createdAt: string;
|
|
534
|
+
serviceId: string;
|
|
535
|
+
startedAt: (string | null);
|
|
536
|
+
updatedAt: string;
|
|
537
|
+
deployedAt: (string | null);
|
|
538
|
+
finishedAt: (string | null);
|
|
539
|
+
cloudBuildId: (string | null);
|
|
540
|
+
configSnapshot: {
|
|
541
|
+
source?: unknown;
|
|
542
|
+
variables: {
|
|
543
|
+
key: string;
|
|
544
|
+
value: string;
|
|
545
|
+
}[];
|
|
546
|
+
};
|
|
547
|
+
lastErrorMessage: (string | null);
|
|
548
|
+
rolledBackFromDeploymentId: (string | null);
|
|
549
|
+
}
|
|
550
|
+
interface DeploymentDeploymentListInput {
|
|
551
|
+
serviceId: string;
|
|
552
|
+
}
|
|
553
|
+
type DeploymentDeploymentListOutput = {
|
|
554
|
+
id: string;
|
|
555
|
+
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed");
|
|
556
|
+
builtAt: (string | null);
|
|
557
|
+
imageRef: (string | null);
|
|
558
|
+
commitSha: (string | null);
|
|
559
|
+
createdAt: string;
|
|
560
|
+
serviceId: string;
|
|
561
|
+
startedAt: (string | null);
|
|
562
|
+
updatedAt: string;
|
|
563
|
+
deployedAt: (string | null);
|
|
564
|
+
finishedAt: (string | null);
|
|
565
|
+
cloudBuildId: (string | null);
|
|
566
|
+
configSnapshot: {
|
|
567
|
+
source?: unknown;
|
|
568
|
+
variables: {
|
|
569
|
+
key: string;
|
|
570
|
+
value: string;
|
|
571
|
+
}[];
|
|
572
|
+
};
|
|
573
|
+
lastErrorMessage: (string | null);
|
|
574
|
+
rolledBackFromDeploymentId: (string | null);
|
|
575
|
+
}[];
|
|
576
|
+
interface DeploymentDomainAddInput {
|
|
577
|
+
hostname: string;
|
|
578
|
+
pathPrefix?: string;
|
|
579
|
+
redirectWww?: boolean;
|
|
580
|
+
environmentId: string;
|
|
581
|
+
defaultServiceId: string;
|
|
582
|
+
}
|
|
583
|
+
interface DeploymentDomainAddOutput {
|
|
584
|
+
id: string;
|
|
585
|
+
kind: ("auto" | "custom");
|
|
586
|
+
routes: {
|
|
587
|
+
id: string;
|
|
588
|
+
domainId: string;
|
|
589
|
+
priority: number;
|
|
590
|
+
createdAt: string;
|
|
591
|
+
isDefault: boolean;
|
|
592
|
+
serviceId: string;
|
|
593
|
+
updatedAt: string;
|
|
594
|
+
pathPrefix: string;
|
|
595
|
+
}[];
|
|
596
|
+
hostname: string;
|
|
597
|
+
createdAt: string;
|
|
598
|
+
tlsStatus: ("none" | "pending" | "issuing" | "active" | "failed");
|
|
599
|
+
updatedAt: string;
|
|
600
|
+
lastProbeAt: (string | null);
|
|
601
|
+
redirectWww: boolean;
|
|
602
|
+
environmentId: string;
|
|
603
|
+
routingStatus: ("provisioning" | "propagating" | "active" | "failed");
|
|
604
|
+
lastProbeError: (string | null);
|
|
605
|
+
dnsInstructions: ({
|
|
606
|
+
txt: {
|
|
607
|
+
name: string;
|
|
608
|
+
value: string;
|
|
609
|
+
};
|
|
610
|
+
routing: Items[];
|
|
611
|
+
acmeChallenge?: Items;
|
|
612
|
+
} | null);
|
|
613
|
+
routingRecordType: ("A" | "CNAME");
|
|
614
|
+
verificationToken: (string | null);
|
|
615
|
+
verificationStatus: ("pending_dns" | "verified" | "dns_failed");
|
|
616
|
+
lastVerificationError: (({
|
|
617
|
+
code: (string | null);
|
|
618
|
+
reason: "transient";
|
|
619
|
+
checkedAt: string;
|
|
620
|
+
} | {
|
|
621
|
+
txt?: {
|
|
622
|
+
got: string[];
|
|
623
|
+
want: string;
|
|
624
|
+
};
|
|
625
|
+
host?: {
|
|
626
|
+
got: string[];
|
|
627
|
+
want: string[];
|
|
628
|
+
};
|
|
629
|
+
reason: "mismatch";
|
|
630
|
+
checkedAt: string;
|
|
631
|
+
}) | null);
|
|
632
|
+
lastVerificationCheckAt: (string | null);
|
|
633
|
+
tlsCertificateExpiresAt: (string | null);
|
|
634
|
+
}
|
|
635
|
+
interface DeploymentDomainAllowedListInput {
|
|
636
|
+
}
|
|
637
|
+
interface DeploymentDomainAllowedListOutput {
|
|
638
|
+
domains: {
|
|
639
|
+
mode: ("external" | "managed");
|
|
640
|
+
domain: string;
|
|
641
|
+
domainId: string;
|
|
642
|
+
}[];
|
|
643
|
+
}
|
|
644
|
+
interface DeploymentDomainGetInput {
|
|
645
|
+
id: string;
|
|
646
|
+
}
|
|
647
|
+
interface DeploymentDomainGetOutput {
|
|
648
|
+
id: string;
|
|
649
|
+
kind: ("auto" | "custom");
|
|
650
|
+
hostname: string;
|
|
651
|
+
createdAt: string;
|
|
652
|
+
tlsStatus: ("none" | "pending" | "issuing" | "active" | "failed");
|
|
653
|
+
updatedAt: string;
|
|
654
|
+
lastProbeAt: (string | null);
|
|
655
|
+
redirectWww: boolean;
|
|
656
|
+
environmentId: string;
|
|
657
|
+
routingStatus: ("provisioning" | "propagating" | "active" | "failed");
|
|
658
|
+
lastProbeError: (string | null);
|
|
659
|
+
dnsInstructions: ({
|
|
660
|
+
txt: {
|
|
661
|
+
name: string;
|
|
662
|
+
value: string;
|
|
663
|
+
};
|
|
664
|
+
routing: Items[];
|
|
665
|
+
acmeChallenge?: Items;
|
|
666
|
+
} | null);
|
|
667
|
+
routingRecordType: ("A" | "CNAME");
|
|
668
|
+
verificationToken: (string | null);
|
|
669
|
+
verificationStatus: ("pending_dns" | "verified" | "dns_failed");
|
|
670
|
+
lastVerificationError: (({
|
|
671
|
+
code: (string | null);
|
|
672
|
+
reason: "transient";
|
|
673
|
+
checkedAt: string;
|
|
674
|
+
} | {
|
|
675
|
+
txt?: {
|
|
676
|
+
got: string[];
|
|
677
|
+
want: string;
|
|
678
|
+
};
|
|
679
|
+
host?: {
|
|
680
|
+
got: string[];
|
|
681
|
+
want: string[];
|
|
682
|
+
};
|
|
683
|
+
reason: "mismatch";
|
|
684
|
+
checkedAt: string;
|
|
685
|
+
}) | null);
|
|
686
|
+
lastVerificationCheckAt: (string | null);
|
|
687
|
+
tlsCertificateExpiresAt: (string | null);
|
|
688
|
+
}
|
|
689
|
+
interface DeploymentDomainListInput {
|
|
690
|
+
environmentId: string;
|
|
691
|
+
}
|
|
692
|
+
type DeploymentDomainListOutput = {
|
|
693
|
+
id: string;
|
|
694
|
+
kind: ("auto" | "custom");
|
|
695
|
+
hostname: string;
|
|
696
|
+
createdAt: string;
|
|
697
|
+
tlsStatus: ("none" | "pending" | "issuing" | "active" | "failed");
|
|
698
|
+
updatedAt: string;
|
|
699
|
+
lastProbeAt: (string | null);
|
|
700
|
+
redirectWww: boolean;
|
|
701
|
+
environmentId: string;
|
|
702
|
+
routingStatus: ("provisioning" | "propagating" | "active" | "failed");
|
|
703
|
+
lastProbeError: (string | null);
|
|
704
|
+
dnsInstructions: ({
|
|
705
|
+
txt: {
|
|
706
|
+
name: string;
|
|
707
|
+
value: string;
|
|
708
|
+
};
|
|
709
|
+
routing: Items[];
|
|
710
|
+
acmeChallenge?: Items;
|
|
711
|
+
} | null);
|
|
712
|
+
routingRecordType: ("A" | "CNAME");
|
|
713
|
+
verificationToken: (string | null);
|
|
714
|
+
verificationStatus: ("pending_dns" | "verified" | "dns_failed");
|
|
715
|
+
lastVerificationError: (({
|
|
716
|
+
code: (string | null);
|
|
717
|
+
reason: "transient";
|
|
718
|
+
checkedAt: string;
|
|
719
|
+
} | {
|
|
720
|
+
txt?: {
|
|
721
|
+
got: string[];
|
|
722
|
+
want: string;
|
|
723
|
+
};
|
|
724
|
+
host?: {
|
|
725
|
+
got: string[];
|
|
726
|
+
want: string[];
|
|
727
|
+
};
|
|
728
|
+
reason: "mismatch";
|
|
729
|
+
checkedAt: string;
|
|
730
|
+
}) | null);
|
|
731
|
+
lastVerificationCheckAt: (string | null);
|
|
732
|
+
tlsCertificateExpiresAt: (string | null);
|
|
733
|
+
}[];
|
|
734
|
+
interface DeploymentDomainListByServiceInput {
|
|
735
|
+
serviceId: string;
|
|
736
|
+
}
|
|
737
|
+
type DeploymentDomainListByServiceOutput = {
|
|
738
|
+
id: string;
|
|
739
|
+
kind: ("auto" | "custom");
|
|
740
|
+
hostname: string;
|
|
741
|
+
createdAt: string;
|
|
742
|
+
tlsStatus: ("none" | "pending" | "issuing" | "active" | "failed");
|
|
743
|
+
updatedAt: string;
|
|
744
|
+
lastProbeAt: (string | null);
|
|
745
|
+
redirectWww: boolean;
|
|
746
|
+
environmentId: string;
|
|
747
|
+
routingStatus: ("provisioning" | "propagating" | "active" | "failed");
|
|
748
|
+
lastProbeError: (string | null);
|
|
749
|
+
dnsInstructions: ({
|
|
750
|
+
txt: {
|
|
751
|
+
name: string;
|
|
752
|
+
value: string;
|
|
753
|
+
};
|
|
754
|
+
routing: Items[];
|
|
755
|
+
acmeChallenge?: Items;
|
|
756
|
+
} | null);
|
|
757
|
+
routingRecordType: ("A" | "CNAME");
|
|
758
|
+
verificationToken: (string | null);
|
|
759
|
+
verificationStatus: ("pending_dns" | "verified" | "dns_failed");
|
|
760
|
+
lastVerificationError: (({
|
|
761
|
+
code: (string | null);
|
|
762
|
+
reason: "transient";
|
|
763
|
+
checkedAt: string;
|
|
764
|
+
} | {
|
|
765
|
+
txt?: {
|
|
766
|
+
got: string[];
|
|
767
|
+
want: string;
|
|
768
|
+
};
|
|
769
|
+
host?: {
|
|
770
|
+
got: string[];
|
|
771
|
+
want: string[];
|
|
772
|
+
};
|
|
773
|
+
reason: "mismatch";
|
|
774
|
+
checkedAt: string;
|
|
775
|
+
}) | null);
|
|
776
|
+
lastVerificationCheckAt: (string | null);
|
|
777
|
+
tlsCertificateExpiresAt: (string | null);
|
|
778
|
+
}[];
|
|
779
|
+
interface DeploymentDomainRedirectWwwInput {
|
|
780
|
+
id: string;
|
|
781
|
+
enabled: boolean;
|
|
782
|
+
}
|
|
783
|
+
interface DeploymentDomainRedirectWwwOutput {
|
|
784
|
+
id: string;
|
|
785
|
+
kind: ("auto" | "custom");
|
|
786
|
+
hostname: string;
|
|
787
|
+
createdAt: string;
|
|
788
|
+
tlsStatus: ("none" | "pending" | "issuing" | "active" | "failed");
|
|
789
|
+
updatedAt: string;
|
|
790
|
+
lastProbeAt: (string | null);
|
|
791
|
+
redirectWww: boolean;
|
|
792
|
+
environmentId: string;
|
|
793
|
+
routingStatus: ("provisioning" | "propagating" | "active" | "failed");
|
|
794
|
+
lastProbeError: (string | null);
|
|
795
|
+
dnsInstructions: ({
|
|
796
|
+
txt: {
|
|
797
|
+
name: string;
|
|
798
|
+
value: string;
|
|
799
|
+
};
|
|
800
|
+
routing: Items[];
|
|
801
|
+
acmeChallenge?: Items;
|
|
802
|
+
} | null);
|
|
803
|
+
routingRecordType: ("A" | "CNAME");
|
|
804
|
+
verificationToken: (string | null);
|
|
805
|
+
verificationStatus: ("pending_dns" | "verified" | "dns_failed");
|
|
806
|
+
lastVerificationError: (({
|
|
807
|
+
code: (string | null);
|
|
808
|
+
reason: "transient";
|
|
809
|
+
checkedAt: string;
|
|
810
|
+
} | {
|
|
811
|
+
txt?: {
|
|
812
|
+
got: string[];
|
|
813
|
+
want: string;
|
|
814
|
+
};
|
|
815
|
+
host?: {
|
|
816
|
+
got: string[];
|
|
817
|
+
want: string[];
|
|
818
|
+
};
|
|
819
|
+
reason: "mismatch";
|
|
820
|
+
checkedAt: string;
|
|
821
|
+
}) | null);
|
|
822
|
+
lastVerificationCheckAt: (string | null);
|
|
823
|
+
tlsCertificateExpiresAt: (string | null);
|
|
824
|
+
}
|
|
825
|
+
interface DeploymentDomainRemoveInput {
|
|
826
|
+
id: string;
|
|
827
|
+
}
|
|
828
|
+
interface DeploymentDomainRemoveOutput {
|
|
829
|
+
[k: string]: unknown;
|
|
830
|
+
}
|
|
831
|
+
interface DeploymentDomainRoutesAddInput {
|
|
832
|
+
domainId: string;
|
|
833
|
+
priority?: number;
|
|
834
|
+
isDefault?: boolean;
|
|
835
|
+
serviceId: string;
|
|
836
|
+
pathPrefix: string;
|
|
837
|
+
}
|
|
838
|
+
interface DeploymentDomainRoutesAddOutput {
|
|
839
|
+
id: string;
|
|
840
|
+
domainId: string;
|
|
841
|
+
priority: number;
|
|
842
|
+
createdAt: string;
|
|
843
|
+
isDefault: boolean;
|
|
844
|
+
serviceId: string;
|
|
845
|
+
updatedAt: string;
|
|
846
|
+
pathPrefix: string;
|
|
847
|
+
}
|
|
848
|
+
interface DeploymentDomainRoutesListInput {
|
|
849
|
+
domainId: string;
|
|
850
|
+
}
|
|
851
|
+
type DeploymentDomainRoutesListOutput = {
|
|
852
|
+
id: string;
|
|
853
|
+
domainId: string;
|
|
854
|
+
priority: number;
|
|
855
|
+
createdAt: string;
|
|
856
|
+
isDefault: boolean;
|
|
857
|
+
serviceId: string;
|
|
858
|
+
updatedAt: string;
|
|
859
|
+
pathPrefix: string;
|
|
860
|
+
}[];
|
|
861
|
+
interface DeploymentDomainRoutesRemoveInput {
|
|
862
|
+
routeId: string;
|
|
863
|
+
domainId: string;
|
|
864
|
+
}
|
|
865
|
+
interface DeploymentDomainRoutesRemoveOutput {
|
|
866
|
+
[k: string]: unknown;
|
|
867
|
+
}
|
|
868
|
+
interface DeploymentDomainRoutesUpdateInput {
|
|
869
|
+
routeId: string;
|
|
870
|
+
domainId: string;
|
|
871
|
+
priority?: number;
|
|
872
|
+
serviceId?: string;
|
|
873
|
+
pathPrefix?: string;
|
|
874
|
+
}
|
|
875
|
+
interface DeploymentDomainRoutesUpdateOutput {
|
|
876
|
+
id: string;
|
|
877
|
+
domainId: string;
|
|
878
|
+
priority: number;
|
|
879
|
+
createdAt: string;
|
|
880
|
+
isDefault: boolean;
|
|
881
|
+
serviceId: string;
|
|
882
|
+
updatedAt: string;
|
|
883
|
+
pathPrefix: string;
|
|
884
|
+
}
|
|
885
|
+
interface DeploymentDomainVerifyInput {
|
|
886
|
+
id: string;
|
|
887
|
+
}
|
|
888
|
+
interface DeploymentDomainVerifyOutput {
|
|
889
|
+
id: string;
|
|
890
|
+
kind: ("auto" | "custom");
|
|
891
|
+
hostname: string;
|
|
892
|
+
createdAt: string;
|
|
893
|
+
tlsStatus: ("none" | "pending" | "issuing" | "active" | "failed");
|
|
894
|
+
updatedAt: string;
|
|
895
|
+
lastProbeAt: (string | null);
|
|
896
|
+
redirectWww: boolean;
|
|
897
|
+
environmentId: string;
|
|
898
|
+
routingStatus: ("provisioning" | "propagating" | "active" | "failed");
|
|
899
|
+
lastProbeError: (string | null);
|
|
900
|
+
dnsInstructions: ({
|
|
901
|
+
txt: {
|
|
902
|
+
name: string;
|
|
903
|
+
value: string;
|
|
904
|
+
};
|
|
905
|
+
routing: Items[];
|
|
906
|
+
acmeChallenge?: Items;
|
|
907
|
+
} | null);
|
|
908
|
+
routingRecordType: ("A" | "CNAME");
|
|
909
|
+
verificationToken: (string | null);
|
|
910
|
+
verificationStatus: ("pending_dns" | "verified" | "dns_failed");
|
|
911
|
+
lastVerificationError: (({
|
|
912
|
+
code: (string | null);
|
|
913
|
+
reason: "transient";
|
|
914
|
+
checkedAt: string;
|
|
915
|
+
} | {
|
|
916
|
+
txt?: {
|
|
917
|
+
got: string[];
|
|
918
|
+
want: string;
|
|
919
|
+
};
|
|
920
|
+
host?: {
|
|
921
|
+
got: string[];
|
|
922
|
+
want: string[];
|
|
923
|
+
};
|
|
924
|
+
reason: "mismatch";
|
|
925
|
+
checkedAt: string;
|
|
926
|
+
}) | null);
|
|
927
|
+
lastVerificationCheckAt: (string | null);
|
|
928
|
+
tlsCertificateExpiresAt: (string | null);
|
|
929
|
+
}
|
|
930
|
+
interface DeploymentEnvironmentCreateInput {
|
|
931
|
+
name: string;
|
|
932
|
+
slug?: string;
|
|
933
|
+
}
|
|
934
|
+
interface DeploymentEnvironmentCreateOutput {
|
|
935
|
+
id: string;
|
|
936
|
+
name: string;
|
|
937
|
+
slug: string;
|
|
938
|
+
type: ("persistent" | "pr-preview");
|
|
939
|
+
status: ("provisioning" | "ready" | "provisioning_failed" | "deprovisioning" | "deprovisioning_failed");
|
|
940
|
+
prBranch: (string | null);
|
|
941
|
+
prNumber: (number | null);
|
|
942
|
+
createdAt: string;
|
|
943
|
+
expiresAt: (string | null);
|
|
944
|
+
updatedAt: string;
|
|
945
|
+
isProduction: boolean;
|
|
946
|
+
lastErrorMessage: (string | null);
|
|
947
|
+
baseEnvironmentId: (string | null);
|
|
948
|
+
}
|
|
949
|
+
interface DeploymentEnvironmentDeleteInput {
|
|
950
|
+
id: string;
|
|
951
|
+
}
|
|
952
|
+
interface DeploymentEnvironmentDeleteOutput {
|
|
953
|
+
[k: string]: unknown;
|
|
954
|
+
}
|
|
955
|
+
interface DeploymentEnvironmentForkInput {
|
|
956
|
+
name: string;
|
|
957
|
+
slug?: string;
|
|
958
|
+
baseEnvironmentId: string;
|
|
959
|
+
}
|
|
960
|
+
interface DeploymentEnvironmentForkOutput {
|
|
961
|
+
id: string;
|
|
962
|
+
name: string;
|
|
963
|
+
slug: string;
|
|
964
|
+
type: ("persistent" | "pr-preview");
|
|
965
|
+
status: ("provisioning" | "ready" | "provisioning_failed" | "deprovisioning" | "deprovisioning_failed");
|
|
966
|
+
prBranch: (string | null);
|
|
967
|
+
prNumber: (number | null);
|
|
968
|
+
createdAt: string;
|
|
969
|
+
expiresAt: (string | null);
|
|
970
|
+
updatedAt: string;
|
|
971
|
+
isProduction: boolean;
|
|
972
|
+
lastErrorMessage: (string | null);
|
|
973
|
+
baseEnvironmentId: (string | null);
|
|
974
|
+
}
|
|
975
|
+
interface DeploymentEnvironmentGetInput {
|
|
976
|
+
id: string;
|
|
977
|
+
}
|
|
978
|
+
interface DeploymentEnvironmentGetOutput {
|
|
979
|
+
id: string;
|
|
980
|
+
name: string;
|
|
981
|
+
slug: string;
|
|
982
|
+
type: ("persistent" | "pr-preview");
|
|
983
|
+
status: ("provisioning" | "ready" | "provisioning_failed" | "deprovisioning" | "deprovisioning_failed");
|
|
984
|
+
prBranch: (string | null);
|
|
985
|
+
prNumber: (number | null);
|
|
986
|
+
createdAt: string;
|
|
987
|
+
expiresAt: (string | null);
|
|
988
|
+
updatedAt: string;
|
|
989
|
+
isProduction: boolean;
|
|
990
|
+
lastErrorMessage: (string | null);
|
|
991
|
+
baseEnvironmentId: (string | null);
|
|
992
|
+
}
|
|
993
|
+
interface DeploymentEnvironmentListInput {
|
|
994
|
+
type?: ("persistent" | "pr-preview");
|
|
995
|
+
}
|
|
996
|
+
type DeploymentEnvironmentListOutput = {
|
|
997
|
+
id: string;
|
|
998
|
+
name: string;
|
|
999
|
+
slug: string;
|
|
1000
|
+
type: ("persistent" | "pr-preview");
|
|
1001
|
+
status: ("provisioning" | "ready" | "provisioning_failed" | "deprovisioning" | "deprovisioning_failed");
|
|
1002
|
+
prBranch: (string | null);
|
|
1003
|
+
prNumber: (number | null);
|
|
1004
|
+
createdAt: string;
|
|
1005
|
+
expiresAt: (string | null);
|
|
1006
|
+
updatedAt: string;
|
|
1007
|
+
isProduction: boolean;
|
|
1008
|
+
lastErrorMessage: (string | null);
|
|
1009
|
+
baseEnvironmentId: (string | null);
|
|
1010
|
+
}[];
|
|
1011
|
+
interface DeploymentEnvironmentReconcileInput {
|
|
1012
|
+
id: string;
|
|
1013
|
+
force?: boolean;
|
|
1014
|
+
}
|
|
1015
|
+
interface DeploymentEnvironmentReconcileOutput {
|
|
1016
|
+
id: string;
|
|
1017
|
+
name: string;
|
|
1018
|
+
slug: string;
|
|
1019
|
+
type: ("persistent" | "pr-preview");
|
|
1020
|
+
status: ("provisioning" | "ready" | "provisioning_failed" | "deprovisioning" | "deprovisioning_failed");
|
|
1021
|
+
prBranch: (string | null);
|
|
1022
|
+
prNumber: (number | null);
|
|
1023
|
+
createdAt: string;
|
|
1024
|
+
expiresAt: (string | null);
|
|
1025
|
+
updatedAt: string;
|
|
1026
|
+
isProduction: boolean;
|
|
1027
|
+
lastErrorMessage: (string | null);
|
|
1028
|
+
baseEnvironmentId: (string | null);
|
|
1029
|
+
}
|
|
1030
|
+
interface DeploymentEnvironmentUpdateInput {
|
|
1031
|
+
id: string;
|
|
1032
|
+
name?: string;
|
|
1033
|
+
}
|
|
1034
|
+
interface DeploymentEnvironmentUpdateOutput {
|
|
1035
|
+
id: string;
|
|
1036
|
+
name: string;
|
|
1037
|
+
slug: string;
|
|
1038
|
+
type: ("persistent" | "pr-preview");
|
|
1039
|
+
status: ("provisioning" | "ready" | "provisioning_failed" | "deprovisioning" | "deprovisioning_failed");
|
|
1040
|
+
prBranch: (string | null);
|
|
1041
|
+
prNumber: (number | null);
|
|
1042
|
+
createdAt: string;
|
|
1043
|
+
expiresAt: (string | null);
|
|
1044
|
+
updatedAt: string;
|
|
1045
|
+
isProduction: boolean;
|
|
1046
|
+
lastErrorMessage: (string | null);
|
|
1047
|
+
baseEnvironmentId: (string | null);
|
|
1048
|
+
}
|
|
1049
|
+
interface DeploymentEventsListByEnvironmentInput {
|
|
1050
|
+
type?: ("deployment.queued" | "deployment.build.started" | "deployment.build.succeeded" | "deployment.build.failed" | "deployment.deploying" | "deployment.healthcheck.passed" | "deployment.healthcheck.failed" | "deployment.healthy" | "deployment.failed" | "deployment.replaced" | "deployment.release.started" | "deployment.release.log" | "deployment.release.succeeded" | "deployment.release.failed" | "replica.restarted" | "service.scaled" | "service.restarted" | "domain.verified" | "domain.tls.issued" | "domain.tls.failed" | "domain.routing.active" | "domain.routing.failed" | "domain.removed" | "domain.governance.mirror-failed");
|
|
1051
|
+
limit?: number;
|
|
1052
|
+
since?: string;
|
|
1053
|
+
until?: string;
|
|
1054
|
+
environmentId: string;
|
|
1055
|
+
}
|
|
1056
|
+
type DeploymentEventsListByEnvironmentOutput = {
|
|
1057
|
+
id: string;
|
|
1058
|
+
type: ("deployment.queued" | "deployment.build.started" | "deployment.build.succeeded" | "deployment.build.failed" | "deployment.deploying" | "deployment.healthcheck.passed" | "deployment.healthcheck.failed" | "deployment.healthy" | "deployment.failed" | "deployment.replaced" | "deployment.release.started" | "deployment.release.log" | "deployment.release.succeeded" | "deployment.release.failed" | "replica.restarted" | "service.scaled" | "service.restarted" | "domain.verified" | "domain.tls.issued" | "domain.tls.failed" | "domain.routing.active" | "domain.routing.failed" | "domain.removed" | "domain.governance.mirror-failed");
|
|
1059
|
+
payload: {
|
|
1060
|
+
[k: string]: unknown;
|
|
1061
|
+
};
|
|
1062
|
+
domainId: (string | null);
|
|
1063
|
+
createdAt: string;
|
|
1064
|
+
productId: string;
|
|
1065
|
+
serviceId: (string | null);
|
|
1066
|
+
deploymentId: (string | null);
|
|
1067
|
+
environmentId: (string | null);
|
|
1068
|
+
}[];
|
|
1069
|
+
interface DeploymentEventsListByServiceInput {
|
|
1070
|
+
type?: ("deployment.queued" | "deployment.build.started" | "deployment.build.succeeded" | "deployment.build.failed" | "deployment.deploying" | "deployment.healthcheck.passed" | "deployment.healthcheck.failed" | "deployment.healthy" | "deployment.failed" | "deployment.replaced" | "deployment.release.started" | "deployment.release.log" | "deployment.release.succeeded" | "deployment.release.failed" | "replica.restarted" | "service.scaled" | "service.restarted" | "domain.verified" | "domain.tls.issued" | "domain.tls.failed" | "domain.routing.active" | "domain.routing.failed" | "domain.removed" | "domain.governance.mirror-failed");
|
|
1071
|
+
limit?: number;
|
|
1072
|
+
since?: string;
|
|
1073
|
+
until?: string;
|
|
1074
|
+
serviceId: string;
|
|
1075
|
+
deploymentId?: string;
|
|
1076
|
+
}
|
|
1077
|
+
type DeploymentEventsListByServiceOutput = {
|
|
1078
|
+
id: string;
|
|
1079
|
+
type: ("deployment.queued" | "deployment.build.started" | "deployment.build.succeeded" | "deployment.build.failed" | "deployment.deploying" | "deployment.healthcheck.passed" | "deployment.healthcheck.failed" | "deployment.healthy" | "deployment.failed" | "deployment.replaced" | "deployment.release.started" | "deployment.release.log" | "deployment.release.succeeded" | "deployment.release.failed" | "replica.restarted" | "service.scaled" | "service.restarted" | "domain.verified" | "domain.tls.issued" | "domain.tls.failed" | "domain.routing.active" | "domain.routing.failed" | "domain.removed" | "domain.governance.mirror-failed");
|
|
1080
|
+
payload: {
|
|
1081
|
+
[k: string]: unknown;
|
|
1082
|
+
};
|
|
1083
|
+
domainId: (string | null);
|
|
1084
|
+
createdAt: string;
|
|
1085
|
+
productId: string;
|
|
1086
|
+
serviceId: (string | null);
|
|
1087
|
+
deploymentId: (string | null);
|
|
1088
|
+
environmentId: (string | null);
|
|
1089
|
+
}[];
|
|
1090
|
+
interface DeploymentManagedServiceBackupInput {
|
|
1091
|
+
id: string;
|
|
1092
|
+
}
|
|
1093
|
+
interface DeploymentManagedServiceBackupOutput {
|
|
1094
|
+
id: string;
|
|
1095
|
+
name: string;
|
|
1096
|
+
slug: string;
|
|
1097
|
+
engine: ("postgres" | "redis" | "mysql" | "mongodb");
|
|
1098
|
+
status: string;
|
|
1099
|
+
version: string;
|
|
1100
|
+
createdAt: string;
|
|
1101
|
+
productId: string;
|
|
1102
|
+
updatedAt: string;
|
|
1103
|
+
storageGiB: number;
|
|
1104
|
+
databaseName: (string | null);
|
|
1105
|
+
environmentId: string;
|
|
1106
|
+
lastErrorMessage: (string | null);
|
|
1107
|
+
}
|
|
1108
|
+
interface DeploymentManagedServiceBackupListInput {
|
|
1109
|
+
id: string;
|
|
1110
|
+
}
|
|
1111
|
+
type DeploymentManagedServiceBackupListOutput = {
|
|
1112
|
+
name: string;
|
|
1113
|
+
pvcName: string;
|
|
1114
|
+
createdAt: string;
|
|
1115
|
+
readyToUse: boolean;
|
|
1116
|
+
restoreSize: (string | null);
|
|
1117
|
+
}[];
|
|
1118
|
+
interface DeploymentManagedServiceConnectInfoInput {
|
|
1119
|
+
id: string;
|
|
1120
|
+
}
|
|
1121
|
+
interface DeploymentManagedServiceConnectInfoOutput {
|
|
1122
|
+
id: string;
|
|
1123
|
+
slug: string;
|
|
1124
|
+
vars: {
|
|
1125
|
+
key: string;
|
|
1126
|
+
isSecret: boolean;
|
|
1127
|
+
refSyntax: string;
|
|
1128
|
+
}[];
|
|
1129
|
+
engine: ("postgres" | "redis" | "mysql" | "mongodb");
|
|
1130
|
+
}
|
|
1131
|
+
interface DeploymentManagedServiceDeleteInput {
|
|
1132
|
+
id: string;
|
|
1133
|
+
}
|
|
1134
|
+
interface DeploymentManagedServiceDeleteOutput {
|
|
1135
|
+
id: string;
|
|
1136
|
+
name: string;
|
|
1137
|
+
slug: string;
|
|
1138
|
+
engine: ("postgres" | "redis" | "mysql" | "mongodb");
|
|
1139
|
+
status: string;
|
|
1140
|
+
version: string;
|
|
1141
|
+
createdAt: string;
|
|
1142
|
+
productId: string;
|
|
1143
|
+
updatedAt: string;
|
|
1144
|
+
storageGiB: number;
|
|
1145
|
+
databaseName: (string | null);
|
|
1146
|
+
environmentId: string;
|
|
1147
|
+
lastErrorMessage: (string | null);
|
|
1148
|
+
}
|
|
1149
|
+
interface DeploymentManagedServiceGetInput {
|
|
1150
|
+
id: string;
|
|
1151
|
+
}
|
|
1152
|
+
interface DeploymentManagedServiceGetOutput {
|
|
1153
|
+
id: string;
|
|
1154
|
+
name: string;
|
|
1155
|
+
slug: string;
|
|
1156
|
+
engine: ("postgres" | "redis" | "mysql" | "mongodb");
|
|
1157
|
+
status: string;
|
|
1158
|
+
version: string;
|
|
1159
|
+
createdAt: string;
|
|
1160
|
+
productId: string;
|
|
1161
|
+
updatedAt: string;
|
|
1162
|
+
storageGiB: number;
|
|
1163
|
+
databaseName: (string | null);
|
|
1164
|
+
environmentId: string;
|
|
1165
|
+
lastErrorMessage: (string | null);
|
|
1166
|
+
}
|
|
1167
|
+
interface DeploymentManagedServiceListInput {
|
|
1168
|
+
environmentId: string;
|
|
1169
|
+
}
|
|
1170
|
+
type DeploymentManagedServiceListOutput = {
|
|
1171
|
+
id: string;
|
|
1172
|
+
name: string;
|
|
1173
|
+
slug: string;
|
|
1174
|
+
engine: ("postgres" | "redis" | "mysql" | "mongodb");
|
|
1175
|
+
status: string;
|
|
1176
|
+
version: string;
|
|
1177
|
+
createdAt: string;
|
|
1178
|
+
productId: string;
|
|
1179
|
+
updatedAt: string;
|
|
1180
|
+
storageGiB: number;
|
|
1181
|
+
databaseName: (string | null);
|
|
1182
|
+
environmentId: string;
|
|
1183
|
+
lastErrorMessage: (string | null);
|
|
1184
|
+
}[];
|
|
1185
|
+
interface DeploymentManagedServiceLogsInput {
|
|
1186
|
+
id: string;
|
|
1187
|
+
tail?: number;
|
|
1188
|
+
}
|
|
1189
|
+
interface DeploymentManagedServiceLogsOutput {
|
|
1190
|
+
lines: string[];
|
|
1191
|
+
}
|
|
1192
|
+
interface DeploymentManagedServiceProvisionInput {
|
|
1193
|
+
name: string;
|
|
1194
|
+
slug?: string;
|
|
1195
|
+
engine: ("postgres" | "redis" | "mysql" | "mongodb");
|
|
1196
|
+
version?: string;
|
|
1197
|
+
storageGiB?: number;
|
|
1198
|
+
databaseName?: string;
|
|
1199
|
+
environmentId: string;
|
|
1200
|
+
}
|
|
1201
|
+
interface DeploymentManagedServiceProvisionOutput {
|
|
1202
|
+
id: string;
|
|
1203
|
+
name: string;
|
|
1204
|
+
slug: string;
|
|
1205
|
+
engine: ("postgres" | "redis" | "mysql" | "mongodb");
|
|
1206
|
+
status: string;
|
|
1207
|
+
version: string;
|
|
1208
|
+
createdAt: string;
|
|
1209
|
+
productId: string;
|
|
1210
|
+
updatedAt: string;
|
|
1211
|
+
storageGiB: number;
|
|
1212
|
+
databaseName: (string | null);
|
|
1213
|
+
environmentId: string;
|
|
1214
|
+
lastErrorMessage: (string | null);
|
|
1215
|
+
}
|
|
1216
|
+
interface DeploymentManagedServiceReconcileInput {
|
|
1217
|
+
id: string;
|
|
1218
|
+
}
|
|
1219
|
+
interface DeploymentManagedServiceReconcileOutput {
|
|
1220
|
+
id: string;
|
|
1221
|
+
name: string;
|
|
1222
|
+
slug: string;
|
|
1223
|
+
engine: ("postgres" | "redis" | "mysql" | "mongodb");
|
|
1224
|
+
status: string;
|
|
1225
|
+
version: string;
|
|
1226
|
+
createdAt: string;
|
|
1227
|
+
productId: string;
|
|
1228
|
+
updatedAt: string;
|
|
1229
|
+
storageGiB: number;
|
|
1230
|
+
databaseName: (string | null);
|
|
1231
|
+
environmentId: string;
|
|
1232
|
+
lastErrorMessage: (string | null);
|
|
1233
|
+
}
|
|
1234
|
+
interface DeploymentManagedServiceResizeInput {
|
|
1235
|
+
id: string;
|
|
1236
|
+
storageGiB: number;
|
|
1237
|
+
}
|
|
1238
|
+
interface DeploymentManagedServiceResizeOutput {
|
|
1239
|
+
id: string;
|
|
1240
|
+
name: string;
|
|
1241
|
+
slug: string;
|
|
1242
|
+
engine: ("postgres" | "redis" | "mysql" | "mongodb");
|
|
1243
|
+
status: string;
|
|
1244
|
+
version: string;
|
|
1245
|
+
createdAt: string;
|
|
1246
|
+
productId: string;
|
|
1247
|
+
updatedAt: string;
|
|
1248
|
+
storageGiB: number;
|
|
1249
|
+
databaseName: (string | null);
|
|
1250
|
+
environmentId: string;
|
|
1251
|
+
lastErrorMessage: (string | null);
|
|
1252
|
+
}
|
|
1253
|
+
interface DeploymentManagedServiceRestoreInput {
|
|
1254
|
+
id: string;
|
|
1255
|
+
snapshotName: string;
|
|
1256
|
+
}
|
|
1257
|
+
interface DeploymentManagedServiceRestoreOutput {
|
|
1258
|
+
id: string;
|
|
1259
|
+
name: string;
|
|
1260
|
+
slug: string;
|
|
1261
|
+
engine: ("postgres" | "redis" | "mysql" | "mongodb");
|
|
1262
|
+
status: string;
|
|
1263
|
+
version: string;
|
|
1264
|
+
createdAt: string;
|
|
1265
|
+
productId: string;
|
|
1266
|
+
updatedAt: string;
|
|
1267
|
+
storageGiB: number;
|
|
1268
|
+
databaseName: (string | null);
|
|
1269
|
+
environmentId: string;
|
|
1270
|
+
lastErrorMessage: (string | null);
|
|
1271
|
+
}
|
|
1272
|
+
interface DeploymentManagedServiceStartInput {
|
|
1273
|
+
id: string;
|
|
1274
|
+
}
|
|
1275
|
+
interface DeploymentManagedServiceStartOutput {
|
|
1276
|
+
id: string;
|
|
1277
|
+
name: string;
|
|
1278
|
+
slug: string;
|
|
1279
|
+
engine: ("postgres" | "redis" | "mysql" | "mongodb");
|
|
1280
|
+
status: string;
|
|
1281
|
+
version: string;
|
|
1282
|
+
createdAt: string;
|
|
1283
|
+
productId: string;
|
|
1284
|
+
updatedAt: string;
|
|
1285
|
+
storageGiB: number;
|
|
1286
|
+
databaseName: (string | null);
|
|
1287
|
+
environmentId: string;
|
|
1288
|
+
lastErrorMessage: (string | null);
|
|
1289
|
+
}
|
|
1290
|
+
interface DeploymentManagedServiceStopInput {
|
|
1291
|
+
id: string;
|
|
1292
|
+
}
|
|
1293
|
+
interface DeploymentManagedServiceStopOutput {
|
|
1294
|
+
id: string;
|
|
1295
|
+
name: string;
|
|
1296
|
+
slug: string;
|
|
1297
|
+
engine: ("postgres" | "redis" | "mysql" | "mongodb");
|
|
1298
|
+
status: string;
|
|
1299
|
+
version: string;
|
|
1300
|
+
createdAt: string;
|
|
1301
|
+
productId: string;
|
|
1302
|
+
updatedAt: string;
|
|
1303
|
+
storageGiB: number;
|
|
1304
|
+
databaseName: (string | null);
|
|
1305
|
+
environmentId: string;
|
|
1306
|
+
lastErrorMessage: (string | null);
|
|
1307
|
+
}
|
|
1308
|
+
interface DeploymentManagedServiceTypesInput {
|
|
1309
|
+
}
|
|
1310
|
+
interface DeploymentManagedServiceTypesOutput {
|
|
1311
|
+
engines: {
|
|
1312
|
+
engine: ("postgres" | "redis" | "mysql" | "mongodb");
|
|
1313
|
+
versions: string[];
|
|
1314
|
+
displayName: string;
|
|
1315
|
+
defaultVersion: string;
|
|
1316
|
+
managedVarKeys: string[];
|
|
1317
|
+
}[];
|
|
1318
|
+
}
|
|
1319
|
+
interface DeploymentMetricsGetInput {
|
|
1320
|
+
window?: ("15m" | "1h" | "6h" | "24h" | "7d");
|
|
1321
|
+
targetId: string;
|
|
1322
|
+
targetKind: ("service" | "managed-service");
|
|
1323
|
+
}
|
|
1324
|
+
interface DeploymentMetricsGetOutput {
|
|
1325
|
+
series: {
|
|
1326
|
+
unit: ("cores" | "bytes" | "bytes_per_s" | "requests_per_s" | "milliseconds" | "percent");
|
|
1327
|
+
metric: ("cpu" | "memory" | "net_in" | "net_out" | "disk" | "rps" | "p50" | "p95" | "p99" | "error_rate");
|
|
1328
|
+
points: {
|
|
1329
|
+
t: number;
|
|
1330
|
+
v: number;
|
|
1331
|
+
}[];
|
|
1332
|
+
}[];
|
|
1333
|
+
window: ("15m" | "1h" | "6h" | "24h" | "7d");
|
|
1334
|
+
capacity: {
|
|
1335
|
+
cpuCores: (number | null);
|
|
1336
|
+
memoryBytes: (number | null);
|
|
1337
|
+
};
|
|
1338
|
+
targetId: string;
|
|
1339
|
+
targetKind: ("service" | "managed-service");
|
|
1340
|
+
stepSeconds: number;
|
|
1341
|
+
}
|
|
1342
|
+
interface DeploymentPreviewEnvironmentCreateInput {
|
|
1343
|
+
prBranch?: string;
|
|
1344
|
+
prNumber: number;
|
|
1345
|
+
baseEnvironmentId: string;
|
|
1346
|
+
}
|
|
1347
|
+
interface DeploymentPreviewEnvironmentCreateOutput {
|
|
1348
|
+
id: string;
|
|
1349
|
+
name: string;
|
|
1350
|
+
slug: string;
|
|
1351
|
+
type: ("persistent" | "pr-preview");
|
|
1352
|
+
status: ("provisioning" | "ready" | "provisioning_failed" | "deprovisioning" | "deprovisioning_failed");
|
|
1353
|
+
prBranch: (string | null);
|
|
1354
|
+
prNumber: (number | null);
|
|
1355
|
+
createdAt: string;
|
|
1356
|
+
expiresAt: (string | null);
|
|
1357
|
+
updatedAt: string;
|
|
1358
|
+
isProduction: boolean;
|
|
1359
|
+
lastErrorMessage: (string | null);
|
|
1360
|
+
baseEnvironmentId: (string | null);
|
|
1361
|
+
}
|
|
1362
|
+
interface DeploymentPreviewEnvironmentDeleteInput {
|
|
1363
|
+
id: string;
|
|
1364
|
+
}
|
|
1365
|
+
interface DeploymentPreviewEnvironmentDeleteOutput {
|
|
1366
|
+
[k: string]: unknown;
|
|
1367
|
+
}
|
|
1368
|
+
interface DeploymentPreviewEnvironmentListInput {
|
|
1369
|
+
}
|
|
1370
|
+
type DeploymentPreviewEnvironmentListOutput = {
|
|
1371
|
+
id: string;
|
|
1372
|
+
name: string;
|
|
1373
|
+
slug: string;
|
|
1374
|
+
type: ("persistent" | "pr-preview");
|
|
1375
|
+
status: ("provisioning" | "ready" | "provisioning_failed" | "deprovisioning" | "deprovisioning_failed");
|
|
1376
|
+
prBranch: (string | null);
|
|
1377
|
+
prNumber: (number | null);
|
|
1378
|
+
createdAt: string;
|
|
1379
|
+
expiresAt: (string | null);
|
|
1380
|
+
updatedAt: string;
|
|
1381
|
+
isProduction: boolean;
|
|
1382
|
+
lastErrorMessage: (string | null);
|
|
1383
|
+
baseEnvironmentId: (string | null);
|
|
1384
|
+
}[];
|
|
1385
|
+
interface DeploymentPreviewPolicyGetInput {
|
|
1386
|
+
baseEnvironmentId: string;
|
|
1387
|
+
}
|
|
1388
|
+
interface DeploymentPreviewPolicyGetOutput {
|
|
1389
|
+
id: string;
|
|
1390
|
+
enabled: boolean;
|
|
1391
|
+
ttlHours: number;
|
|
1392
|
+
createdAt: string;
|
|
1393
|
+
updatedAt: string;
|
|
1394
|
+
maxPreviews: number;
|
|
1395
|
+
baseEnvironmentId: string;
|
|
1396
|
+
}
|
|
1397
|
+
interface DeploymentPreviewPolicySetInput {
|
|
1398
|
+
enabled?: boolean;
|
|
1399
|
+
ttlHours?: number;
|
|
1400
|
+
maxPreviews?: number;
|
|
1401
|
+
baseEnvironmentId: string;
|
|
1402
|
+
}
|
|
1403
|
+
interface DeploymentPreviewPolicySetOutput {
|
|
1404
|
+
id: string;
|
|
1405
|
+
enabled: boolean;
|
|
1406
|
+
ttlHours: number;
|
|
1407
|
+
createdAt: string;
|
|
1408
|
+
updatedAt: string;
|
|
1409
|
+
maxPreviews: number;
|
|
1410
|
+
baseEnvironmentId: string;
|
|
1411
|
+
}
|
|
1412
|
+
interface DeploymentServiceCreateInput {
|
|
1413
|
+
name: string;
|
|
1414
|
+
slug?: string;
|
|
1415
|
+
canvas?: {
|
|
1416
|
+
x: number;
|
|
1417
|
+
y: number;
|
|
1418
|
+
};
|
|
1419
|
+
probes?: {
|
|
1420
|
+
liveness?: Readiness;
|
|
1421
|
+
readiness?: Readiness;
|
|
1422
|
+
};
|
|
1423
|
+
source: ({
|
|
1424
|
+
url?: string;
|
|
1425
|
+
path?: string;
|
|
1426
|
+
type: "git";
|
|
1427
|
+
branch: string;
|
|
1428
|
+
connectorId?: string;
|
|
1429
|
+
repoFullName?: string;
|
|
1430
|
+
} | {
|
|
1431
|
+
tag: string;
|
|
1432
|
+
type: "image";
|
|
1433
|
+
registry: string;
|
|
1434
|
+
} | {
|
|
1435
|
+
spa?: boolean;
|
|
1436
|
+
repo?: {
|
|
1437
|
+
url?: string;
|
|
1438
|
+
path?: string;
|
|
1439
|
+
branch: string;
|
|
1440
|
+
connectorId?: string;
|
|
1441
|
+
repoFullName?: string;
|
|
1442
|
+
};
|
|
1443
|
+
type: "static";
|
|
1444
|
+
build?: {
|
|
1445
|
+
command?: string;
|
|
1446
|
+
outputDir?: string;
|
|
1447
|
+
};
|
|
1448
|
+
});
|
|
1449
|
+
replicas?: number;
|
|
1450
|
+
resources?: {
|
|
1451
|
+
limits?: {
|
|
1452
|
+
cpu?: string;
|
|
1453
|
+
memory?: string;
|
|
1454
|
+
};
|
|
1455
|
+
};
|
|
1456
|
+
containerPort?: number;
|
|
1457
|
+
environmentId: string;
|
|
1458
|
+
}
|
|
1459
|
+
interface DeploymentServiceCreateOutput {
|
|
1460
|
+
id: string;
|
|
1461
|
+
name: string;
|
|
1462
|
+
slug: string;
|
|
1463
|
+
probes: {
|
|
1464
|
+
liveness?: Readiness;
|
|
1465
|
+
readiness?: Readiness;
|
|
1466
|
+
};
|
|
1467
|
+
source: ({
|
|
1468
|
+
url?: string;
|
|
1469
|
+
path?: string;
|
|
1470
|
+
type: "git";
|
|
1471
|
+
branch: string;
|
|
1472
|
+
connectorId?: string;
|
|
1473
|
+
repoFullName?: string;
|
|
1474
|
+
} | {
|
|
1475
|
+
tag: string;
|
|
1476
|
+
type: "image";
|
|
1477
|
+
registry: string;
|
|
1478
|
+
} | {
|
|
1479
|
+
spa?: boolean;
|
|
1480
|
+
repo?: {
|
|
1481
|
+
url?: string;
|
|
1482
|
+
path?: string;
|
|
1483
|
+
branch: string;
|
|
1484
|
+
connectorId?: string;
|
|
1485
|
+
repoFullName?: string;
|
|
1486
|
+
};
|
|
1487
|
+
type: "static";
|
|
1488
|
+
build?: {
|
|
1489
|
+
command?: string;
|
|
1490
|
+
outputDir?: string;
|
|
1491
|
+
};
|
|
1492
|
+
});
|
|
1493
|
+
replicas: number;
|
|
1494
|
+
createdAt: string;
|
|
1495
|
+
dependsOn: string[];
|
|
1496
|
+
resources?: {
|
|
1497
|
+
limits?: {
|
|
1498
|
+
cpu?: string;
|
|
1499
|
+
memory?: string;
|
|
1500
|
+
};
|
|
1501
|
+
};
|
|
1502
|
+
updatedAt: string;
|
|
1503
|
+
containerPort: number;
|
|
1504
|
+
environmentId: string;
|
|
1505
|
+
lastReplicasRunning: number;
|
|
1506
|
+
}
|
|
1507
|
+
interface DeploymentServiceDeleteInput {
|
|
1508
|
+
id: string;
|
|
1509
|
+
}
|
|
1510
|
+
interface DeploymentServiceDeleteOutput {
|
|
1511
|
+
[k: string]: unknown;
|
|
1512
|
+
}
|
|
1513
|
+
interface DeploymentServiceExecInput {
|
|
1514
|
+
mode?: ("exec" | "job");
|
|
1515
|
+
command: string;
|
|
1516
|
+
serviceId: string;
|
|
1517
|
+
timeoutSec?: number;
|
|
1518
|
+
}
|
|
1519
|
+
interface DeploymentServiceExecOutput {
|
|
1520
|
+
mode: ("exec" | "job");
|
|
1521
|
+
output: string;
|
|
1522
|
+
stderr: string;
|
|
1523
|
+
stdout: string;
|
|
1524
|
+
target: ({
|
|
1525
|
+
kind: "pod";
|
|
1526
|
+
podName: string;
|
|
1527
|
+
container: string;
|
|
1528
|
+
} | {
|
|
1529
|
+
kind: "job";
|
|
1530
|
+
jobName: string;
|
|
1531
|
+
});
|
|
1532
|
+
exitCode: number;
|
|
1533
|
+
timedOut: boolean;
|
|
1534
|
+
truncated: boolean;
|
|
1535
|
+
}
|
|
1536
|
+
interface DeploymentServiceGetInput {
|
|
1537
|
+
id: string;
|
|
1538
|
+
}
|
|
1539
|
+
interface DeploymentServiceGetOutput {
|
|
1540
|
+
id: string;
|
|
1541
|
+
name: string;
|
|
1542
|
+
slug: string;
|
|
1543
|
+
probes: {
|
|
1544
|
+
liveness?: Readiness;
|
|
1545
|
+
readiness?: Readiness;
|
|
1546
|
+
};
|
|
1547
|
+
source: ({
|
|
1548
|
+
url?: string;
|
|
1549
|
+
path?: string;
|
|
1550
|
+
type: "git";
|
|
1551
|
+
branch: string;
|
|
1552
|
+
connectorId?: string;
|
|
1553
|
+
repoFullName?: string;
|
|
1554
|
+
} | {
|
|
1555
|
+
tag: string;
|
|
1556
|
+
type: "image";
|
|
1557
|
+
registry: string;
|
|
1558
|
+
} | {
|
|
1559
|
+
spa?: boolean;
|
|
1560
|
+
repo?: {
|
|
1561
|
+
url?: string;
|
|
1562
|
+
path?: string;
|
|
1563
|
+
branch: string;
|
|
1564
|
+
connectorId?: string;
|
|
1565
|
+
repoFullName?: string;
|
|
1566
|
+
};
|
|
1567
|
+
type: "static";
|
|
1568
|
+
build?: {
|
|
1569
|
+
command?: string;
|
|
1570
|
+
outputDir?: string;
|
|
1571
|
+
};
|
|
1572
|
+
});
|
|
1573
|
+
replicas: number;
|
|
1574
|
+
createdAt: string;
|
|
1575
|
+
dependsOn: string[];
|
|
1576
|
+
resources?: {
|
|
1577
|
+
limits?: {
|
|
1578
|
+
cpu?: string;
|
|
1579
|
+
memory?: string;
|
|
1580
|
+
};
|
|
1581
|
+
};
|
|
1582
|
+
updatedAt: string;
|
|
1583
|
+
containerPort: number;
|
|
1584
|
+
environmentId: string;
|
|
1585
|
+
lastReplicasRunning: number;
|
|
1586
|
+
}
|
|
1587
|
+
interface DeploymentServiceListInput {
|
|
1588
|
+
environmentId: string;
|
|
1589
|
+
}
|
|
1590
|
+
type DeploymentServiceListOutput = {
|
|
1591
|
+
id: string;
|
|
1592
|
+
name: string;
|
|
1593
|
+
slug: string;
|
|
1594
|
+
probes: {
|
|
1595
|
+
liveness?: Readiness;
|
|
1596
|
+
readiness?: Readiness;
|
|
1597
|
+
};
|
|
1598
|
+
source: ({
|
|
1599
|
+
url?: string;
|
|
1600
|
+
path?: string;
|
|
1601
|
+
type: "git";
|
|
1602
|
+
branch: string;
|
|
1603
|
+
connectorId?: string;
|
|
1604
|
+
repoFullName?: string;
|
|
1605
|
+
} | {
|
|
1606
|
+
tag: string;
|
|
1607
|
+
type: "image";
|
|
1608
|
+
registry: string;
|
|
1609
|
+
} | {
|
|
1610
|
+
spa?: boolean;
|
|
1611
|
+
repo?: {
|
|
1612
|
+
url?: string;
|
|
1613
|
+
path?: string;
|
|
1614
|
+
branch: string;
|
|
1615
|
+
connectorId?: string;
|
|
1616
|
+
repoFullName?: string;
|
|
1617
|
+
};
|
|
1618
|
+
type: "static";
|
|
1619
|
+
build?: {
|
|
1620
|
+
command?: string;
|
|
1621
|
+
outputDir?: string;
|
|
1622
|
+
};
|
|
1623
|
+
});
|
|
1624
|
+
replicas: number;
|
|
1625
|
+
createdAt: string;
|
|
1626
|
+
dependsOn: string[];
|
|
1627
|
+
resources?: {
|
|
1628
|
+
limits?: {
|
|
1629
|
+
cpu?: string;
|
|
1630
|
+
memory?: string;
|
|
1631
|
+
};
|
|
1632
|
+
};
|
|
1633
|
+
updatedAt: string;
|
|
1634
|
+
containerPort: number;
|
|
1635
|
+
environmentId: string;
|
|
1636
|
+
lastReplicasRunning: number;
|
|
1637
|
+
}[];
|
|
1638
|
+
interface DeploymentServiceLogsInput {
|
|
1639
|
+
tail?: number;
|
|
1640
|
+
serviceId: string;
|
|
1641
|
+
}
|
|
1642
|
+
interface DeploymentServiceLogsOutput {
|
|
1643
|
+
lines: string[];
|
|
1644
|
+
}
|
|
1645
|
+
interface DeploymentServiceRedeployInput {
|
|
1646
|
+
serviceId: string;
|
|
1647
|
+
}
|
|
1648
|
+
interface DeploymentServiceRedeployOutput {
|
|
1649
|
+
id: string;
|
|
1650
|
+
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed");
|
|
1651
|
+
builtAt: (string | null);
|
|
1652
|
+
imageRef: (string | null);
|
|
1653
|
+
commitSha: (string | null);
|
|
1654
|
+
createdAt: string;
|
|
1655
|
+
serviceId: string;
|
|
1656
|
+
startedAt: (string | null);
|
|
1657
|
+
updatedAt: string;
|
|
1658
|
+
deployedAt: (string | null);
|
|
1659
|
+
finishedAt: (string | null);
|
|
1660
|
+
cloudBuildId: (string | null);
|
|
1661
|
+
configSnapshot: {
|
|
1662
|
+
source?: unknown;
|
|
1663
|
+
variables: {
|
|
1664
|
+
key: string;
|
|
1665
|
+
value: string;
|
|
1666
|
+
}[];
|
|
1667
|
+
};
|
|
1668
|
+
lastErrorMessage: (string | null);
|
|
1669
|
+
rolledBackFromDeploymentId: (string | null);
|
|
1670
|
+
}
|
|
1671
|
+
interface DeploymentServiceRestartInput {
|
|
1672
|
+
id: string;
|
|
1673
|
+
}
|
|
1674
|
+
interface DeploymentServiceRestartOutput {
|
|
1675
|
+
[k: string]: unknown;
|
|
1676
|
+
}
|
|
1677
|
+
interface DeploymentServiceRollbackInput {
|
|
1678
|
+
serviceId: string;
|
|
1679
|
+
deploymentId: string;
|
|
1680
|
+
}
|
|
1681
|
+
interface DeploymentServiceRollbackOutput {
|
|
1682
|
+
id: string;
|
|
1683
|
+
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed");
|
|
1684
|
+
builtAt: (string | null);
|
|
1685
|
+
imageRef: (string | null);
|
|
1686
|
+
commitSha: (string | null);
|
|
1687
|
+
createdAt: string;
|
|
1688
|
+
serviceId: string;
|
|
1689
|
+
startedAt: (string | null);
|
|
1690
|
+
updatedAt: string;
|
|
1691
|
+
deployedAt: (string | null);
|
|
1692
|
+
finishedAt: (string | null);
|
|
1693
|
+
cloudBuildId: (string | null);
|
|
1694
|
+
configSnapshot: {
|
|
1695
|
+
source?: unknown;
|
|
1696
|
+
variables: {
|
|
1697
|
+
key: string;
|
|
1698
|
+
value: string;
|
|
1699
|
+
}[];
|
|
1700
|
+
};
|
|
1701
|
+
lastErrorMessage: (string | null);
|
|
1702
|
+
rolledBackFromDeploymentId: (string | null);
|
|
1703
|
+
}
|
|
1704
|
+
interface DeploymentServiceScaleInput {
|
|
1705
|
+
id: string;
|
|
1706
|
+
replicas: number;
|
|
1707
|
+
}
|
|
1708
|
+
interface DeploymentServiceScaleOutput {
|
|
1709
|
+
id: string;
|
|
1710
|
+
name: string;
|
|
1711
|
+
slug: string;
|
|
1712
|
+
probes: {
|
|
1713
|
+
liveness?: Readiness;
|
|
1714
|
+
readiness?: Readiness;
|
|
1715
|
+
};
|
|
1716
|
+
source: ({
|
|
1717
|
+
url?: string;
|
|
1718
|
+
path?: string;
|
|
1719
|
+
type: "git";
|
|
1720
|
+
branch: string;
|
|
1721
|
+
connectorId?: string;
|
|
1722
|
+
repoFullName?: string;
|
|
1723
|
+
} | {
|
|
1724
|
+
tag: string;
|
|
1725
|
+
type: "image";
|
|
1726
|
+
registry: string;
|
|
1727
|
+
} | {
|
|
1728
|
+
spa?: boolean;
|
|
1729
|
+
repo?: {
|
|
1730
|
+
url?: string;
|
|
1731
|
+
path?: string;
|
|
1732
|
+
branch: string;
|
|
1733
|
+
connectorId?: string;
|
|
1734
|
+
repoFullName?: string;
|
|
1735
|
+
};
|
|
1736
|
+
type: "static";
|
|
1737
|
+
build?: {
|
|
1738
|
+
command?: string;
|
|
1739
|
+
outputDir?: string;
|
|
1740
|
+
};
|
|
1741
|
+
});
|
|
1742
|
+
replicas: number;
|
|
1743
|
+
createdAt: string;
|
|
1744
|
+
dependsOn: string[];
|
|
1745
|
+
resources?: {
|
|
1746
|
+
limits?: {
|
|
1747
|
+
cpu?: string;
|
|
1748
|
+
memory?: string;
|
|
1749
|
+
};
|
|
1750
|
+
};
|
|
1751
|
+
updatedAt: string;
|
|
1752
|
+
containerPort: number;
|
|
1753
|
+
environmentId: string;
|
|
1754
|
+
lastReplicasRunning: number;
|
|
1755
|
+
}
|
|
1756
|
+
interface DeploymentServiceUpdateInput {
|
|
1757
|
+
id: string;
|
|
1758
|
+
name?: string;
|
|
1759
|
+
probes?: {
|
|
1760
|
+
liveness?: Readiness;
|
|
1761
|
+
readiness?: Readiness;
|
|
1762
|
+
};
|
|
1763
|
+
source?: ({
|
|
1764
|
+
url?: string;
|
|
1765
|
+
path?: string;
|
|
1766
|
+
type: "git";
|
|
1767
|
+
branch: string;
|
|
1768
|
+
connectorId?: string;
|
|
1769
|
+
repoFullName?: string;
|
|
1770
|
+
} | {
|
|
1771
|
+
tag: string;
|
|
1772
|
+
type: "image";
|
|
1773
|
+
registry: string;
|
|
1774
|
+
} | {
|
|
1775
|
+
spa?: boolean;
|
|
1776
|
+
repo?: {
|
|
1777
|
+
url?: string;
|
|
1778
|
+
path?: string;
|
|
1779
|
+
branch: string;
|
|
1780
|
+
connectorId?: string;
|
|
1781
|
+
repoFullName?: string;
|
|
1782
|
+
};
|
|
1783
|
+
type: "static";
|
|
1784
|
+
build?: {
|
|
1785
|
+
command?: string;
|
|
1786
|
+
outputDir?: string;
|
|
1787
|
+
};
|
|
1788
|
+
});
|
|
1789
|
+
replicas?: number;
|
|
1790
|
+
resources?: {
|
|
1791
|
+
limits?: {
|
|
1792
|
+
cpu?: string;
|
|
1793
|
+
memory?: string;
|
|
1794
|
+
};
|
|
1795
|
+
};
|
|
1796
|
+
containerPort?: number;
|
|
1797
|
+
}
|
|
1798
|
+
interface DeploymentServiceUpdateOutput {
|
|
1799
|
+
id: string;
|
|
1800
|
+
name: string;
|
|
1801
|
+
slug: string;
|
|
1802
|
+
probes: {
|
|
1803
|
+
liveness?: Readiness;
|
|
1804
|
+
readiness?: Readiness;
|
|
1805
|
+
};
|
|
1806
|
+
source: ({
|
|
1807
|
+
url?: string;
|
|
1808
|
+
path?: string;
|
|
1809
|
+
type: "git";
|
|
1810
|
+
branch: string;
|
|
1811
|
+
connectorId?: string;
|
|
1812
|
+
repoFullName?: string;
|
|
1813
|
+
} | {
|
|
1814
|
+
tag: string;
|
|
1815
|
+
type: "image";
|
|
1816
|
+
registry: string;
|
|
1817
|
+
} | {
|
|
1818
|
+
spa?: boolean;
|
|
1819
|
+
repo?: {
|
|
1820
|
+
url?: string;
|
|
1821
|
+
path?: string;
|
|
1822
|
+
branch: string;
|
|
1823
|
+
connectorId?: string;
|
|
1824
|
+
repoFullName?: string;
|
|
1825
|
+
};
|
|
1826
|
+
type: "static";
|
|
1827
|
+
build?: {
|
|
1828
|
+
command?: string;
|
|
1829
|
+
outputDir?: string;
|
|
1830
|
+
};
|
|
1831
|
+
});
|
|
1832
|
+
replicas: number;
|
|
1833
|
+
createdAt: string;
|
|
1834
|
+
dependsOn: string[];
|
|
1835
|
+
resources?: {
|
|
1836
|
+
limits?: {
|
|
1837
|
+
cpu?: string;
|
|
1838
|
+
memory?: string;
|
|
1839
|
+
};
|
|
1840
|
+
};
|
|
1841
|
+
updatedAt: string;
|
|
1842
|
+
containerPort: number;
|
|
1843
|
+
environmentId: string;
|
|
1844
|
+
lastReplicasRunning: number;
|
|
1845
|
+
}
|
|
1846
|
+
interface Readiness {
|
|
1847
|
+
path: string;
|
|
1848
|
+
port?: number;
|
|
1849
|
+
periodSeconds?: number;
|
|
1850
|
+
timeoutSeconds?: number;
|
|
1851
|
+
failureThreshold?: number;
|
|
1852
|
+
successThreshold?: number;
|
|
1853
|
+
initialDelaySeconds?: number;
|
|
1854
|
+
}
|
|
1855
|
+
interface Readiness {
|
|
1856
|
+
path: string;
|
|
1857
|
+
port?: number;
|
|
1858
|
+
periodSeconds?: number;
|
|
1859
|
+
timeoutSeconds?: number;
|
|
1860
|
+
failureThreshold?: number;
|
|
1861
|
+
successThreshold?: number;
|
|
1862
|
+
initialDelaySeconds?: number;
|
|
1863
|
+
}
|
|
1864
|
+
interface Readiness {
|
|
1865
|
+
path: string;
|
|
1866
|
+
port?: number;
|
|
1867
|
+
periodSeconds?: number;
|
|
1868
|
+
timeoutSeconds?: number;
|
|
1869
|
+
failureThreshold?: number;
|
|
1870
|
+
successThreshold?: number;
|
|
1871
|
+
initialDelaySeconds?: number;
|
|
1872
|
+
}
|
|
1873
|
+
interface Readiness {
|
|
1874
|
+
path: string;
|
|
1875
|
+
port?: number;
|
|
1876
|
+
periodSeconds?: number;
|
|
1877
|
+
timeoutSeconds?: number;
|
|
1878
|
+
failureThreshold?: number;
|
|
1879
|
+
successThreshold?: number;
|
|
1880
|
+
initialDelaySeconds?: number;
|
|
1881
|
+
}
|
|
1882
|
+
interface Readiness {
|
|
1883
|
+
path: string;
|
|
1884
|
+
port?: number;
|
|
1885
|
+
periodSeconds?: number;
|
|
1886
|
+
timeoutSeconds?: number;
|
|
1887
|
+
failureThreshold?: number;
|
|
1888
|
+
successThreshold?: number;
|
|
1889
|
+
initialDelaySeconds?: number;
|
|
1890
|
+
}
|
|
1891
|
+
interface Readiness {
|
|
1892
|
+
path: string;
|
|
1893
|
+
port?: number;
|
|
1894
|
+
periodSeconds?: number;
|
|
1895
|
+
timeoutSeconds?: number;
|
|
1896
|
+
failureThreshold?: number;
|
|
1897
|
+
successThreshold?: number;
|
|
1898
|
+
initialDelaySeconds?: number;
|
|
1899
|
+
}
|
|
1900
|
+
interface Readiness {
|
|
1901
|
+
path: string;
|
|
1902
|
+
port?: number;
|
|
1903
|
+
periodSeconds?: number;
|
|
1904
|
+
timeoutSeconds?: number;
|
|
1905
|
+
failureThreshold?: number;
|
|
1906
|
+
successThreshold?: number;
|
|
1907
|
+
initialDelaySeconds?: number;
|
|
1908
|
+
}
|
|
1909
|
+
interface Readiness {
|
|
1910
|
+
path: string;
|
|
1911
|
+
port?: number;
|
|
1912
|
+
periodSeconds?: number;
|
|
1913
|
+
timeoutSeconds?: number;
|
|
1914
|
+
failureThreshold?: number;
|
|
1915
|
+
successThreshold?: number;
|
|
1916
|
+
initialDelaySeconds?: number;
|
|
1917
|
+
}
|
|
1918
|
+
interface DeploymentSshCommandInput {
|
|
1919
|
+
serviceId: string;
|
|
1920
|
+
}
|
|
1921
|
+
interface DeploymentSshCommandOutput {
|
|
1922
|
+
host: string;
|
|
1923
|
+
command: string;
|
|
1924
|
+
username: string;
|
|
1925
|
+
}
|
|
1926
|
+
interface DeploymentSshKeyDeleteInput {
|
|
1927
|
+
id: string;
|
|
1928
|
+
}
|
|
1929
|
+
interface DeploymentSshKeyDeleteOutput {
|
|
1930
|
+
deleted: boolean;
|
|
1931
|
+
}
|
|
1932
|
+
interface DeploymentSshKeyListInput {
|
|
1933
|
+
}
|
|
1934
|
+
type DeploymentSshKeyListOutput = {
|
|
1935
|
+
id: string;
|
|
1936
|
+
algo: string;
|
|
1937
|
+
name: string;
|
|
1938
|
+
scope: ("workspace" | "personal");
|
|
1939
|
+
createdAt: string;
|
|
1940
|
+
productId: string;
|
|
1941
|
+
lastUsedAt: (string | null);
|
|
1942
|
+
ownerIdentityId: string;
|
|
1943
|
+
fingerprintSha256: string;
|
|
1944
|
+
}[];
|
|
1945
|
+
interface DeploymentSshKeyRegisterInput {
|
|
1946
|
+
/**
|
|
1947
|
+
* Human label for the key, e.g. "my-laptop"
|
|
1948
|
+
*/
|
|
1949
|
+
name: string;
|
|
1950
|
+
/**
|
|
1951
|
+
* OpenSSH public key line (ssh-ed25519 / ssh-rsa ...)
|
|
1952
|
+
*/
|
|
1953
|
+
publicKey: string;
|
|
1954
|
+
}
|
|
1955
|
+
interface DeploymentSshKeyRegisterOutput {
|
|
1956
|
+
id: string;
|
|
1957
|
+
algo: string;
|
|
1958
|
+
name: string;
|
|
1959
|
+
scope: ("workspace" | "personal");
|
|
1960
|
+
createdAt: string;
|
|
1961
|
+
productId: string;
|
|
1962
|
+
lastUsedAt: (string | null);
|
|
1963
|
+
ownerIdentityId: string;
|
|
1964
|
+
fingerprintSha256: string;
|
|
1965
|
+
}
|
|
1966
|
+
interface DeploymentVariableListInput {
|
|
1967
|
+
serviceId: string;
|
|
1968
|
+
}
|
|
1969
|
+
type DeploymentVariableListOutput = {
|
|
1970
|
+
id: string;
|
|
1971
|
+
key: string;
|
|
1972
|
+
scope: ("service" | "environment" | "product");
|
|
1973
|
+
value: (string | null);
|
|
1974
|
+
isSecret: boolean;
|
|
1975
|
+
createdAt: string;
|
|
1976
|
+
serviceId: (string | null);
|
|
1977
|
+
updatedAt: string;
|
|
1978
|
+
environmentId: (string | null);
|
|
1979
|
+
}[];
|
|
1980
|
+
interface DeploymentVariableListEnvInput {
|
|
1981
|
+
environmentId: string;
|
|
1982
|
+
}
|
|
1983
|
+
type DeploymentVariableListEnvOutput = {
|
|
1984
|
+
id: string;
|
|
1985
|
+
key: string;
|
|
1986
|
+
scope: ("service" | "environment" | "product");
|
|
1987
|
+
value: (string | null);
|
|
1988
|
+
isSecret: boolean;
|
|
1989
|
+
createdAt: string;
|
|
1990
|
+
serviceId: (string | null);
|
|
1991
|
+
updatedAt: string;
|
|
1992
|
+
environmentId: (string | null);
|
|
1993
|
+
}[];
|
|
1994
|
+
interface DeploymentVariableListProductInput {
|
|
1995
|
+
}
|
|
1996
|
+
type DeploymentVariableListProductOutput = {
|
|
1997
|
+
id: string;
|
|
1998
|
+
key: string;
|
|
1999
|
+
scope: ("service" | "environment" | "product");
|
|
2000
|
+
value: (string | null);
|
|
2001
|
+
isSecret: boolean;
|
|
2002
|
+
createdAt: string;
|
|
2003
|
+
serviceId: (string | null);
|
|
2004
|
+
updatedAt: string;
|
|
2005
|
+
environmentId: (string | null);
|
|
2006
|
+
}[];
|
|
2007
|
+
interface DeploymentVariableSetInput {
|
|
2008
|
+
key: string;
|
|
2009
|
+
value: string;
|
|
2010
|
+
isSecret?: boolean;
|
|
2011
|
+
serviceId: string;
|
|
2012
|
+
}
|
|
2013
|
+
interface DeploymentVariableSetOutput {
|
|
2014
|
+
id: string;
|
|
2015
|
+
key: string;
|
|
2016
|
+
scope: ("service" | "environment" | "product");
|
|
2017
|
+
value: (string | null);
|
|
2018
|
+
isSecret: boolean;
|
|
2019
|
+
createdAt: string;
|
|
2020
|
+
serviceId: (string | null);
|
|
2021
|
+
updatedAt: string;
|
|
2022
|
+
environmentId: (string | null);
|
|
2023
|
+
}
|
|
2024
|
+
interface DeploymentVariableSetEnvInput {
|
|
2025
|
+
key: string;
|
|
2026
|
+
value: string;
|
|
2027
|
+
isSecret?: boolean;
|
|
2028
|
+
environmentId: string;
|
|
2029
|
+
}
|
|
2030
|
+
interface DeploymentVariableSetEnvOutput {
|
|
2031
|
+
id: string;
|
|
2032
|
+
key: string;
|
|
2033
|
+
scope: ("service" | "environment" | "product");
|
|
2034
|
+
value: (string | null);
|
|
2035
|
+
isSecret: boolean;
|
|
2036
|
+
createdAt: string;
|
|
2037
|
+
serviceId: (string | null);
|
|
2038
|
+
updatedAt: string;
|
|
2039
|
+
environmentId: (string | null);
|
|
2040
|
+
}
|
|
2041
|
+
interface DeploymentVariableSetProductInput {
|
|
2042
|
+
key: string;
|
|
2043
|
+
value: string;
|
|
2044
|
+
isSecret?: boolean;
|
|
2045
|
+
}
|
|
2046
|
+
interface DeploymentVariableSetProductOutput {
|
|
2047
|
+
id: string;
|
|
2048
|
+
key: string;
|
|
2049
|
+
scope: ("service" | "environment" | "product");
|
|
2050
|
+
value: (string | null);
|
|
2051
|
+
isSecret: boolean;
|
|
2052
|
+
createdAt: string;
|
|
2053
|
+
serviceId: (string | null);
|
|
2054
|
+
updatedAt: string;
|
|
2055
|
+
environmentId: (string | null);
|
|
2056
|
+
}
|
|
2057
|
+
interface DeploymentVariableUnsetInput {
|
|
2058
|
+
key: string;
|
|
2059
|
+
serviceId: string;
|
|
2060
|
+
}
|
|
2061
|
+
interface DeploymentVariableUnsetOutput {
|
|
2062
|
+
[k: string]: unknown;
|
|
2063
|
+
}
|
|
2064
|
+
interface DeploymentVariableUnsetEnvInput {
|
|
2065
|
+
key: string;
|
|
2066
|
+
environmentId: string;
|
|
2067
|
+
}
|
|
2068
|
+
interface DeploymentVariableUnsetEnvOutput {
|
|
2069
|
+
[k: string]: unknown;
|
|
2070
|
+
}
|
|
2071
|
+
interface DeploymentVariableUnsetProductInput {
|
|
2072
|
+
key: string;
|
|
2073
|
+
}
|
|
2074
|
+
interface DeploymentVariableUnsetProductOutput {
|
|
2075
|
+
[k: string]: unknown;
|
|
2076
|
+
}
|
|
2077
|
+
interface DeploymentVcsBranchListInput {
|
|
2078
|
+
connectorId: string;
|
|
2079
|
+
repoFullName: string;
|
|
2080
|
+
}
|
|
2081
|
+
type DeploymentVcsBranchListOutput = {
|
|
2082
|
+
name: string;
|
|
2083
|
+
commitSha: string;
|
|
2084
|
+
}[];
|
|
2085
|
+
interface DeploymentVcsConnectionListInput {
|
|
2086
|
+
}
|
|
2087
|
+
type DeploymentVcsConnectionListOutput = {
|
|
2088
|
+
status: string;
|
|
2089
|
+
connectorId: string;
|
|
2090
|
+
accountLogin: string;
|
|
2091
|
+
installationId: string;
|
|
2092
|
+
}[];
|
|
2093
|
+
interface DeploymentVcsRepoListInput {
|
|
2094
|
+
page?: number;
|
|
2095
|
+
search?: string;
|
|
2096
|
+
connectorId: string;
|
|
2097
|
+
}
|
|
2098
|
+
type DeploymentVcsRepoListOutput = {
|
|
2099
|
+
private: boolean;
|
|
2100
|
+
fullName: string;
|
|
2101
|
+
defaultBranch: string;
|
|
2102
|
+
}[];
|
|
2103
|
+
interface DeploymentVolumeCreateInput {
|
|
2104
|
+
name: string;
|
|
2105
|
+
slug?: string;
|
|
2106
|
+
sizeGb: number;
|
|
2107
|
+
mountPath: string;
|
|
2108
|
+
environmentId: string;
|
|
2109
|
+
attachedServiceId?: string;
|
|
2110
|
+
}
|
|
2111
|
+
interface DeploymentVolumeCreateOutput {
|
|
2112
|
+
id: string;
|
|
2113
|
+
name: string;
|
|
2114
|
+
slug: string;
|
|
2115
|
+
sizeGb: number;
|
|
2116
|
+
status: ("provisioning" | "ready" | "detached" | "failed");
|
|
2117
|
+
createdAt: string;
|
|
2118
|
+
mountPath: string;
|
|
2119
|
+
updatedAt: string;
|
|
2120
|
+
environmentId: string;
|
|
2121
|
+
lastErrorMessage: (string | null);
|
|
2122
|
+
attachedServiceId: (string | null);
|
|
2123
|
+
}
|
|
2124
|
+
interface DeploymentVolumeDeleteInput {
|
|
2125
|
+
id: string;
|
|
2126
|
+
}
|
|
2127
|
+
interface DeploymentVolumeDeleteOutput {
|
|
2128
|
+
[k: string]: unknown;
|
|
2129
|
+
}
|
|
2130
|
+
interface DeploymentVolumeDetachInput {
|
|
2131
|
+
id: string;
|
|
2132
|
+
}
|
|
2133
|
+
interface DeploymentVolumeDetachOutput {
|
|
2134
|
+
id: string;
|
|
2135
|
+
name: string;
|
|
2136
|
+
slug: string;
|
|
2137
|
+
sizeGb: number;
|
|
2138
|
+
status: ("provisioning" | "ready" | "detached" | "failed");
|
|
2139
|
+
createdAt: string;
|
|
2140
|
+
mountPath: string;
|
|
2141
|
+
updatedAt: string;
|
|
2142
|
+
environmentId: string;
|
|
2143
|
+
lastErrorMessage: (string | null);
|
|
2144
|
+
attachedServiceId: (string | null);
|
|
2145
|
+
}
|
|
2146
|
+
interface DeploymentVolumeGetInput {
|
|
2147
|
+
id: string;
|
|
2148
|
+
}
|
|
2149
|
+
interface DeploymentVolumeGetOutput {
|
|
2150
|
+
id: string;
|
|
2151
|
+
name: string;
|
|
2152
|
+
slug: string;
|
|
2153
|
+
sizeGb: number;
|
|
2154
|
+
status: ("provisioning" | "ready" | "detached" | "failed");
|
|
2155
|
+
createdAt: string;
|
|
2156
|
+
mountPath: string;
|
|
2157
|
+
updatedAt: string;
|
|
2158
|
+
environmentId: string;
|
|
2159
|
+
lastErrorMessage: (string | null);
|
|
2160
|
+
attachedServiceId: (string | null);
|
|
2161
|
+
}
|
|
2162
|
+
interface DeploymentVolumeListInput {
|
|
2163
|
+
environmentId: string;
|
|
2164
|
+
}
|
|
2165
|
+
type DeploymentVolumeListOutput = {
|
|
2166
|
+
id: string;
|
|
2167
|
+
name: string;
|
|
2168
|
+
slug: string;
|
|
2169
|
+
sizeGb: number;
|
|
2170
|
+
status: ("provisioning" | "ready" | "detached" | "failed");
|
|
2171
|
+
createdAt: string;
|
|
2172
|
+
mountPath: string;
|
|
2173
|
+
updatedAt: string;
|
|
2174
|
+
environmentId: string;
|
|
2175
|
+
lastErrorMessage: (string | null);
|
|
2176
|
+
attachedServiceId: (string | null);
|
|
2177
|
+
}[];
|
|
2178
|
+
interface DeploymentVolumeResizeInput {
|
|
2179
|
+
id: string;
|
|
2180
|
+
sizeGb: number;
|
|
2181
|
+
}
|
|
2182
|
+
interface DeploymentVolumeResizeOutput {
|
|
2183
|
+
id: string;
|
|
2184
|
+
name: string;
|
|
2185
|
+
slug: string;
|
|
2186
|
+
sizeGb: number;
|
|
2187
|
+
status: ("provisioning" | "ready" | "detached" | "failed");
|
|
2188
|
+
createdAt: string;
|
|
2189
|
+
mountPath: string;
|
|
2190
|
+
updatedAt: string;
|
|
2191
|
+
environmentId: string;
|
|
2192
|
+
lastErrorMessage: (string | null);
|
|
2193
|
+
attachedServiceId: (string | null);
|
|
2194
|
+
}
|
|
2195
|
+
interface OrganizationAuthMeInput {
|
|
2196
|
+
}
|
|
2197
|
+
interface OrganizationAuthMeOutput {
|
|
2198
|
+
email: string;
|
|
2199
|
+
identityId: string;
|
|
2200
|
+
displayName: string;
|
|
2201
|
+
}
|
|
2202
|
+
interface OrganizationBindingsListInput {
|
|
2203
|
+
domainId: string;
|
|
2204
|
+
productId: string;
|
|
2205
|
+
}
|
|
2206
|
+
type OrganizationBindingsListOutput = {
|
|
2207
|
+
host: string;
|
|
2208
|
+
status: ("pending" | "active" | "failed");
|
|
2209
|
+
records: {
|
|
2210
|
+
ttl?: number;
|
|
2211
|
+
name?: string;
|
|
2212
|
+
target: string;
|
|
2213
|
+
proxied?: boolean;
|
|
2214
|
+
priority?: number;
|
|
2215
|
+
recordType: string;
|
|
2216
|
+
}[];
|
|
2217
|
+
domainId: string;
|
|
2218
|
+
bindingId: string;
|
|
2219
|
+
instruction: (string | null);
|
|
2220
|
+
statusDetail: (string | null);
|
|
2221
|
+
ownerExtension: string;
|
|
2222
|
+
}[];
|
|
2223
|
+
interface OrganizationClickupInstallInput {
|
|
2224
|
+
}
|
|
2225
|
+
interface OrganizationClickupInstallOutput {
|
|
2226
|
+
url: string;
|
|
2227
|
+
}
|
|
2228
|
+
interface OrganizationClickupListInstallationsInput {
|
|
2229
|
+
}
|
|
2230
|
+
type OrganizationClickupListInstallationsOutput = {
|
|
2231
|
+
status: string;
|
|
2232
|
+
teamId: string;
|
|
2233
|
+
teamName: string;
|
|
2234
|
+
}[];
|
|
2235
|
+
interface OrganizationCloudflareInstallInput {
|
|
2236
|
+
}
|
|
2237
|
+
interface OrganizationCloudflareInstallOutput {
|
|
2238
|
+
url: string;
|
|
2239
|
+
}
|
|
2240
|
+
interface OrganizationConnectorsAttachInput {
|
|
2241
|
+
id: string;
|
|
2242
|
+
productIds: string[];
|
|
2243
|
+
organizationId: string;
|
|
2244
|
+
}
|
|
2245
|
+
interface OrganizationConnectorsAttachOutput {
|
|
2246
|
+
attachments: {
|
|
2247
|
+
createdAt: string;
|
|
2248
|
+
createdBy: (string | null);
|
|
2249
|
+
productId: string;
|
|
2250
|
+
customerId: (string | null);
|
|
2251
|
+
descriptiveName: (string | null);
|
|
2252
|
+
}[];
|
|
2253
|
+
connectorId: string;
|
|
2254
|
+
}
|
|
2255
|
+
interface OrganizationConnectorsDeleteInput {
|
|
2256
|
+
id: string;
|
|
2257
|
+
organizationId: string;
|
|
2258
|
+
}
|
|
2259
|
+
interface OrganizationConnectorsDeleteOutput {
|
|
2260
|
+
success: boolean;
|
|
2261
|
+
}
|
|
2262
|
+
interface OrganizationConnectorsDetachInput {
|
|
2263
|
+
id: string;
|
|
2264
|
+
productId: string;
|
|
2265
|
+
organizationId: string;
|
|
2266
|
+
}
|
|
2267
|
+
interface OrganizationConnectorsDetachOutput {
|
|
2268
|
+
success: boolean;
|
|
2269
|
+
}
|
|
2270
|
+
interface OrganizationConnectorsListInput {
|
|
2271
|
+
productId: string;
|
|
2272
|
+
}
|
|
2273
|
+
type OrganizationConnectorsListOutput = {
|
|
2274
|
+
id: string;
|
|
2275
|
+
config: {
|
|
2276
|
+
[k: string]: unknown;
|
|
2277
|
+
};
|
|
2278
|
+
status: string;
|
|
2279
|
+
provider: string;
|
|
2280
|
+
createdAt: string;
|
|
2281
|
+
externalId: string;
|
|
2282
|
+
displayName: string;
|
|
2283
|
+
}[];
|
|
2284
|
+
interface OrganizationConnectorsListAttachmentsInput {
|
|
2285
|
+
id: string;
|
|
2286
|
+
organizationId: string;
|
|
2287
|
+
}
|
|
2288
|
+
interface OrganizationConnectorsListAttachmentsOutput {
|
|
2289
|
+
attachments: {
|
|
2290
|
+
createdAt: string;
|
|
2291
|
+
createdBy: (string | null);
|
|
2292
|
+
productId: string;
|
|
2293
|
+
customerId: (string | null);
|
|
2294
|
+
descriptiveName: (string | null);
|
|
2295
|
+
}[];
|
|
2296
|
+
connectorId: string;
|
|
2297
|
+
}
|
|
2298
|
+
interface OrganizationConnectorsListOrgInput {
|
|
2299
|
+
organizationId: string;
|
|
2300
|
+
}
|
|
2301
|
+
type OrganizationConnectorsListOrgOutput = {
|
|
2302
|
+
id: string;
|
|
2303
|
+
config: {
|
|
2304
|
+
[k: string]: unknown;
|
|
2305
|
+
};
|
|
2306
|
+
status: string;
|
|
2307
|
+
provider: string;
|
|
2308
|
+
createdAt: string;
|
|
2309
|
+
externalId: string;
|
|
2310
|
+
displayName: string;
|
|
2311
|
+
organizationId: string;
|
|
2312
|
+
attachedProducts: {
|
|
2313
|
+
createdAt: string;
|
|
2314
|
+
createdBy: (string | null);
|
|
2315
|
+
productId: string;
|
|
2316
|
+
customerId: (string | null);
|
|
2317
|
+
descriptiveName: (string | null);
|
|
2318
|
+
}[];
|
|
2319
|
+
}[];
|
|
2320
|
+
interface OrganizationConnectorsRemoveInput {
|
|
2321
|
+
id: string;
|
|
2322
|
+
}
|
|
2323
|
+
interface OrganizationConnectorsRemoveOutput {
|
|
2324
|
+
success: boolean;
|
|
2325
|
+
}
|
|
2326
|
+
interface OrganizationDomainsAddInput {
|
|
2327
|
+
domain: string;
|
|
2328
|
+
productId: string;
|
|
2329
|
+
}
|
|
2330
|
+
interface OrganizationDomainsAddOutput {
|
|
2331
|
+
id: string;
|
|
2332
|
+
mode: ("external" | "managed");
|
|
2333
|
+
domain: string;
|
|
2334
|
+
createdAt: string;
|
|
2335
|
+
createdBy: string;
|
|
2336
|
+
productId: string;
|
|
2337
|
+
providerConnectorId: (string | null);
|
|
2338
|
+
}
|
|
2339
|
+
interface OrganizationDomainsGetInput {
|
|
2340
|
+
domainId: string;
|
|
2341
|
+
productId: string;
|
|
2342
|
+
}
|
|
2343
|
+
interface OrganizationDomainsGetOutput {
|
|
2344
|
+
id: string;
|
|
2345
|
+
mode: ("external" | "managed");
|
|
2346
|
+
domain: string;
|
|
2347
|
+
createdAt: string;
|
|
2348
|
+
createdBy: string;
|
|
2349
|
+
productId: string;
|
|
2350
|
+
providerConnectorId: (string | null);
|
|
2351
|
+
}
|
|
2352
|
+
interface OrganizationDomainsListInput {
|
|
2353
|
+
productId: string;
|
|
2354
|
+
}
|
|
2355
|
+
interface OrganizationDomainsListOutput {
|
|
2356
|
+
domains: {
|
|
2357
|
+
id: string;
|
|
2358
|
+
mode: ("external" | "managed");
|
|
2359
|
+
domain: string;
|
|
2360
|
+
createdAt: string;
|
|
2361
|
+
createdBy: string;
|
|
2362
|
+
productId: string;
|
|
2363
|
+
extensionCount: number;
|
|
2364
|
+
providerConnectorId: (string | null);
|
|
2365
|
+
}[];
|
|
2366
|
+
}
|
|
2367
|
+
interface OrganizationDomainsRemoveInput {
|
|
2368
|
+
domainId: string;
|
|
2369
|
+
productId: string;
|
|
2370
|
+
}
|
|
2371
|
+
interface OrganizationDomainsRemoveOutput {
|
|
2372
|
+
[k: string]: unknown;
|
|
2373
|
+
}
|
|
2374
|
+
interface OrganizationExtensionsInstallInput {
|
|
2375
|
+
productId: string;
|
|
2376
|
+
extensionId: string;
|
|
2377
|
+
}
|
|
2378
|
+
interface OrganizationExtensionsInstallOutput {
|
|
2379
|
+
message: string;
|
|
2380
|
+
}
|
|
2381
|
+
interface OrganizationExtensionsListInput {
|
|
2382
|
+
}
|
|
2383
|
+
interface OrganizationExtensionsListOutput {
|
|
2384
|
+
extensions: {
|
|
2385
|
+
id: string;
|
|
2386
|
+
name: string;
|
|
2387
|
+
status: string;
|
|
2388
|
+
uiMode: ("federation" | "standalone");
|
|
2389
|
+
version: string;
|
|
2390
|
+
manifest: {
|
|
2391
|
+
[k: string]: unknown;
|
|
2392
|
+
};
|
|
2393
|
+
}[];
|
|
2394
|
+
}
|
|
2395
|
+
interface OrganizationExtensionsListInstalledInput {
|
|
2396
|
+
productId: string;
|
|
2397
|
+
}
|
|
2398
|
+
interface OrganizationExtensionsListInstalledOutput {
|
|
2399
|
+
extensions: {
|
|
2400
|
+
id: string;
|
|
2401
|
+
name: string;
|
|
2402
|
+
status: string;
|
|
2403
|
+
uiMode: ("federation" | "standalone");
|
|
2404
|
+
version: string;
|
|
2405
|
+
manifest: {
|
|
2406
|
+
[k: string]: unknown;
|
|
2407
|
+
};
|
|
2408
|
+
installedAt: string;
|
|
2409
|
+
}[];
|
|
2410
|
+
}
|
|
2411
|
+
interface OrganizationExtensionsUninstallInput {
|
|
2412
|
+
productId: string;
|
|
2413
|
+
extensionId: string;
|
|
2414
|
+
}
|
|
2415
|
+
interface OrganizationExtensionsUninstallOutput {
|
|
2416
|
+
message: string;
|
|
2417
|
+
}
|
|
2418
|
+
interface OrganizationGdriveInstallInput {
|
|
2419
|
+
}
|
|
2420
|
+
interface OrganizationGdriveInstallOutput {
|
|
2421
|
+
url: string;
|
|
2422
|
+
}
|
|
2423
|
+
interface OrganizationGithubInstallInput {
|
|
2424
|
+
}
|
|
2425
|
+
interface OrganizationGithubInstallOutput {
|
|
2426
|
+
url: string;
|
|
2427
|
+
}
|
|
2428
|
+
interface OrganizationGithubListInstallationsInput {
|
|
2429
|
+
}
|
|
2430
|
+
type OrganizationGithubListInstallationsOutput = {
|
|
2431
|
+
status: string;
|
|
2432
|
+
accountType: string;
|
|
2433
|
+
accountLogin: string;
|
|
2434
|
+
installationId: number;
|
|
2435
|
+
}[];
|
|
2436
|
+
interface OrganizationGoogleadsInstallInput {
|
|
2437
|
+
organizationId: string;
|
|
2438
|
+
}
|
|
2439
|
+
interface OrganizationGoogleadsInstallOutput {
|
|
2440
|
+
url: string;
|
|
2441
|
+
}
|
|
2442
|
+
interface OrganizationMemberAcceptInviteInput {
|
|
2443
|
+
token: string;
|
|
2444
|
+
}
|
|
2445
|
+
interface OrganizationMemberAcceptInviteOutput {
|
|
2446
|
+
name: string;
|
|
2447
|
+
role: string;
|
|
2448
|
+
products: {
|
|
2449
|
+
id: string;
|
|
2450
|
+
name: string;
|
|
2451
|
+
role: string;
|
|
2452
|
+
slug: string;
|
|
2453
|
+
}[];
|
|
2454
|
+
organizationId: string;
|
|
2455
|
+
}
|
|
2456
|
+
interface OrganizationMemberInviteInput {
|
|
2457
|
+
role: ("owner" | "admin" | "member");
|
|
2458
|
+
email: string;
|
|
2459
|
+
productShares?: {
|
|
2460
|
+
role?: string;
|
|
2461
|
+
roleId?: string;
|
|
2462
|
+
expiresAt?: (string | null);
|
|
2463
|
+
productId: string;
|
|
2464
|
+
permissions?: {
|
|
2465
|
+
deny?: string[];
|
|
2466
|
+
allow?: string[];
|
|
2467
|
+
};
|
|
2468
|
+
}[];
|
|
2469
|
+
organizationId: string;
|
|
2470
|
+
}
|
|
2471
|
+
type OrganizationMemberInviteOutput = ({
|
|
2472
|
+
id: string;
|
|
2473
|
+
role: string;
|
|
2474
|
+
email: string;
|
|
2475
|
+
status: string;
|
|
2476
|
+
outcome: "invited";
|
|
2477
|
+
createdAt: string;
|
|
2478
|
+
expiresAt: string;
|
|
2479
|
+
} | {
|
|
2480
|
+
name: string;
|
|
2481
|
+
role: string;
|
|
2482
|
+
userId: string;
|
|
2483
|
+
outcome: "added";
|
|
2484
|
+
products: {
|
|
2485
|
+
id: string;
|
|
2486
|
+
name: string;
|
|
2487
|
+
role: string;
|
|
2488
|
+
slug: string;
|
|
2489
|
+
}[];
|
|
2490
|
+
organizationId: string;
|
|
2491
|
+
});
|
|
2492
|
+
interface OrganizationMemberListInput {
|
|
2493
|
+
organizationId: string;
|
|
2494
|
+
}
|
|
2495
|
+
interface OrganizationMemberListOutput {
|
|
2496
|
+
members: {
|
|
2497
|
+
id: string;
|
|
2498
|
+
role: string;
|
|
2499
|
+
status: string;
|
|
2500
|
+
userId: string;
|
|
2501
|
+
products: {
|
|
2502
|
+
role: string;
|
|
2503
|
+
expiresAt: (string | null);
|
|
2504
|
+
productId: string;
|
|
2505
|
+
grantSource: string;
|
|
2506
|
+
}[];
|
|
2507
|
+
createdAt: string;
|
|
2508
|
+
displayName: (string | null);
|
|
2509
|
+
}[];
|
|
2510
|
+
}
|
|
2511
|
+
interface OrganizationMemberListInvitationsInput {
|
|
2512
|
+
organizationId: string;
|
|
2513
|
+
}
|
|
2514
|
+
interface OrganizationMemberListInvitationsOutput {
|
|
2515
|
+
invitations: {
|
|
2516
|
+
id: string;
|
|
2517
|
+
role: string;
|
|
2518
|
+
email: string;
|
|
2519
|
+
status: string;
|
|
2520
|
+
createdAt: string;
|
|
2521
|
+
expiresAt: string;
|
|
2522
|
+
invitedByDisplayName: string;
|
|
2523
|
+
}[];
|
|
2524
|
+
}
|
|
2525
|
+
interface OrganizationMemberListProductAccessInput {
|
|
2526
|
+
userId: string;
|
|
2527
|
+
organizationId: string;
|
|
2528
|
+
}
|
|
2529
|
+
interface OrganizationMemberListProductAccessOutput {
|
|
2530
|
+
products: {
|
|
2531
|
+
name: string;
|
|
2532
|
+
role: string;
|
|
2533
|
+
slug: string;
|
|
2534
|
+
isCustom: boolean;
|
|
2535
|
+
expiresAt: (string | null);
|
|
2536
|
+
productId: string;
|
|
2537
|
+
sourceRole: ({
|
|
2538
|
+
id: string;
|
|
2539
|
+
name: string;
|
|
2540
|
+
} | null);
|
|
2541
|
+
grantSource: string;
|
|
2542
|
+
permissions: ({
|
|
2543
|
+
deny: string[];
|
|
2544
|
+
allow: string[];
|
|
2545
|
+
} | null);
|
|
2546
|
+
effectivePermissions: {
|
|
2547
|
+
deny: string[];
|
|
2548
|
+
allow: string[];
|
|
2549
|
+
};
|
|
2550
|
+
}[];
|
|
2551
|
+
}
|
|
2552
|
+
interface OrganizationMemberRemoveInput {
|
|
2553
|
+
userId: string;
|
|
2554
|
+
organizationId: string;
|
|
2555
|
+
}
|
|
2556
|
+
interface OrganizationMemberRemoveOutput {
|
|
2557
|
+
[k: string]: unknown;
|
|
2558
|
+
}
|
|
2559
|
+
interface OrganizationMemberRevokeInvitationInput {
|
|
2560
|
+
invitationId: string;
|
|
2561
|
+
organizationId: string;
|
|
2562
|
+
}
|
|
2563
|
+
interface OrganizationMemberRevokeInvitationOutput {
|
|
2564
|
+
[k: string]: unknown;
|
|
2565
|
+
}
|
|
2566
|
+
interface OrganizationMemberSetRoleInput {
|
|
2567
|
+
role: ("admin" | "member");
|
|
2568
|
+
userId: string;
|
|
2569
|
+
organizationId: string;
|
|
2570
|
+
}
|
|
2571
|
+
interface OrganizationMemberSetRoleOutput {
|
|
2572
|
+
role: string;
|
|
2573
|
+
userId: string;
|
|
2574
|
+
}
|
|
2575
|
+
interface OrganizationMemberShareProductInput {
|
|
2576
|
+
role?: string;
|
|
2577
|
+
roleId?: string;
|
|
2578
|
+
userId: string;
|
|
2579
|
+
expiresAt?: (string | null);
|
|
2580
|
+
productId: string;
|
|
2581
|
+
permissions?: {
|
|
2582
|
+
deny?: string[];
|
|
2583
|
+
allow?: string[];
|
|
2584
|
+
};
|
|
2585
|
+
organizationId: string;
|
|
2586
|
+
}
|
|
2587
|
+
interface OrganizationMemberShareProductOutput {
|
|
2588
|
+
role: string;
|
|
2589
|
+
userId: string;
|
|
2590
|
+
expiresAt: (string | null);
|
|
2591
|
+
productId: string;
|
|
2592
|
+
}
|
|
2593
|
+
interface OrganizationMemberUnshareProductInput {
|
|
2594
|
+
userId: string;
|
|
2595
|
+
productId: string;
|
|
2596
|
+
organizationId: string;
|
|
2597
|
+
}
|
|
2598
|
+
interface OrganizationMemberUnshareProductOutput {
|
|
2599
|
+
[k: string]: unknown;
|
|
2600
|
+
}
|
|
2601
|
+
interface OrganizationMembersAssignRoleInput {
|
|
2602
|
+
roleId: string;
|
|
2603
|
+
memberId: string;
|
|
2604
|
+
productId: string;
|
|
2605
|
+
}
|
|
2606
|
+
interface OrganizationMembersAssignRoleOutput {
|
|
2607
|
+
id: string;
|
|
2608
|
+
role: string;
|
|
2609
|
+
roleId: (string | null);
|
|
2610
|
+
status: string;
|
|
2611
|
+
userId: (string | null);
|
|
2612
|
+
agentId: (string | null);
|
|
2613
|
+
joinedAt: (string | null);
|
|
2614
|
+
expiresAt: (string | null);
|
|
2615
|
+
invitedAt: string;
|
|
2616
|
+
invitedBy: (string | null);
|
|
2617
|
+
productId: string;
|
|
2618
|
+
grantSource: string;
|
|
2619
|
+
permissions: {
|
|
2620
|
+
[k: string]: unknown;
|
|
2621
|
+
};
|
|
2622
|
+
}
|
|
2623
|
+
interface OrganizationPermissionCatalogInput {
|
|
2624
|
+
}
|
|
2625
|
+
interface OrganizationPermissionCatalogOutput {
|
|
2626
|
+
catalog: {
|
|
2627
|
+
key: string;
|
|
2628
|
+
group: string;
|
|
2629
|
+
level: ("read" | "write" | "admin");
|
|
2630
|
+
scope: ("user" | "product");
|
|
2631
|
+
display_name: string;
|
|
2632
|
+
}[];
|
|
2633
|
+
}
|
|
2634
|
+
interface OrganizationProductAcceptInvitationInput {
|
|
2635
|
+
token: string;
|
|
2636
|
+
}
|
|
2637
|
+
interface OrganizationProductAcceptInvitationOutput {
|
|
2638
|
+
product: {
|
|
2639
|
+
id: string;
|
|
2640
|
+
name: string;
|
|
2641
|
+
role: string;
|
|
2642
|
+
slug: string;
|
|
2643
|
+
status: string;
|
|
2644
|
+
createdAt: string;
|
|
2645
|
+
};
|
|
2646
|
+
}
|
|
2647
|
+
interface OrganizationProductCreateInput {
|
|
2648
|
+
name: string;
|
|
2649
|
+
organizationName?: string;
|
|
2650
|
+
}
|
|
2651
|
+
interface OrganizationProductCreateOutput {
|
|
2652
|
+
id: string;
|
|
2653
|
+
name: string;
|
|
2654
|
+
role: string;
|
|
2655
|
+
slug: string;
|
|
2656
|
+
status: string;
|
|
2657
|
+
blockedAt: (string | null);
|
|
2658
|
+
createdAt: string;
|
|
2659
|
+
archivedAt: (string | null);
|
|
2660
|
+
}
|
|
2661
|
+
interface OrganizationProductInviteInput {
|
|
2662
|
+
email: string;
|
|
2663
|
+
productId: string;
|
|
2664
|
+
}
|
|
2665
|
+
interface OrganizationProductInviteOutput {
|
|
2666
|
+
id: string;
|
|
2667
|
+
role: string;
|
|
2668
|
+
email: (string | null);
|
|
2669
|
+
status: string;
|
|
2670
|
+
createdAt: string;
|
|
2671
|
+
expiresAt: string;
|
|
2672
|
+
}
|
|
2673
|
+
interface OrganizationProductListInput {
|
|
2674
|
+
}
|
|
2675
|
+
interface OrganizationProductListOutput {
|
|
2676
|
+
products: {
|
|
2677
|
+
id: string;
|
|
2678
|
+
name: string;
|
|
2679
|
+
role: string;
|
|
2680
|
+
slug: string;
|
|
2681
|
+
status: string;
|
|
2682
|
+
blockedAt: (string | null);
|
|
2683
|
+
createdAt: string;
|
|
2684
|
+
archivedAt: (string | null);
|
|
2685
|
+
}[];
|
|
2686
|
+
}
|
|
2687
|
+
interface OrganizationProductListInvitationsInput {
|
|
2688
|
+
productId: string;
|
|
2689
|
+
}
|
|
2690
|
+
interface OrganizationProductListInvitationsOutput {
|
|
2691
|
+
invitations: {
|
|
2692
|
+
id: string;
|
|
2693
|
+
role: string;
|
|
2694
|
+
email: (string | null);
|
|
2695
|
+
status: string;
|
|
2696
|
+
createdAt: string;
|
|
2697
|
+
expiresAt: string;
|
|
2698
|
+
invitedByDisplayName: string;
|
|
2699
|
+
}[];
|
|
2700
|
+
}
|
|
2701
|
+
interface OrganizationProductListMembersInput {
|
|
2702
|
+
productId: string;
|
|
2703
|
+
}
|
|
2704
|
+
interface OrganizationProductListMembersOutput {
|
|
2705
|
+
members: {
|
|
2706
|
+
id: string;
|
|
2707
|
+
role: string;
|
|
2708
|
+
email: (string | null);
|
|
2709
|
+
roleId: (string | null);
|
|
2710
|
+
userId: string;
|
|
2711
|
+
joinedAt: (string | null);
|
|
2712
|
+
roleName: (string | null);
|
|
2713
|
+
roleType: (("system" | "custom") | null);
|
|
2714
|
+
expiresAt: (string | null);
|
|
2715
|
+
displayName: (string | null);
|
|
2716
|
+
}[];
|
|
2717
|
+
}
|
|
2718
|
+
interface OrganizationProductRevokeInvitationInput {
|
|
2719
|
+
productId: string;
|
|
2720
|
+
invitationId: string;
|
|
2721
|
+
}
|
|
2722
|
+
interface OrganizationProductRevokeInvitationOutput {
|
|
2723
|
+
message: string;
|
|
2724
|
+
}
|
|
2725
|
+
interface OrganizationProductSelectInput {
|
|
2726
|
+
productId: string;
|
|
2727
|
+
}
|
|
2728
|
+
interface OrganizationProductSelectOutput {
|
|
2729
|
+
id: string;
|
|
2730
|
+
name: string;
|
|
2731
|
+
slug: string;
|
|
2732
|
+
}
|
|
2733
|
+
interface OrganizationRolesCreateInput {
|
|
2734
|
+
deny?: string[];
|
|
2735
|
+
name: string;
|
|
2736
|
+
allow?: string[];
|
|
2737
|
+
orgId: string;
|
|
2738
|
+
}
|
|
2739
|
+
interface OrganizationRolesCreateOutput {
|
|
2740
|
+
id: string;
|
|
2741
|
+
deny: string[];
|
|
2742
|
+
name: string;
|
|
2743
|
+
type: ("system" | "custom");
|
|
2744
|
+
allow: string[];
|
|
2745
|
+
createdAt: string;
|
|
2746
|
+
updatedAt: string;
|
|
2747
|
+
organizationId: string;
|
|
2748
|
+
}
|
|
2749
|
+
interface OrganizationRolesDeleteInput {
|
|
2750
|
+
orgId: string;
|
|
2751
|
+
roleId: string;
|
|
2752
|
+
}
|
|
2753
|
+
interface OrganizationRolesDeleteOutput {
|
|
2754
|
+
[k: string]: unknown;
|
|
2755
|
+
}
|
|
2756
|
+
interface OrganizationRolesGetInput {
|
|
2757
|
+
orgId: string;
|
|
2758
|
+
roleId: string;
|
|
2759
|
+
}
|
|
2760
|
+
interface OrganizationRolesGetOutput {
|
|
2761
|
+
id: string;
|
|
2762
|
+
deny: string[];
|
|
2763
|
+
name: string;
|
|
2764
|
+
type: ("system" | "custom");
|
|
2765
|
+
allow: string[];
|
|
2766
|
+
createdAt: string;
|
|
2767
|
+
updatedAt: string;
|
|
2768
|
+
organizationId: string;
|
|
2769
|
+
}
|
|
2770
|
+
interface OrganizationRolesListInput {
|
|
2771
|
+
orgId: string;
|
|
2772
|
+
}
|
|
2773
|
+
interface OrganizationRolesListOutput {
|
|
2774
|
+
roles: {
|
|
2775
|
+
id: string;
|
|
2776
|
+
deny: string[];
|
|
2777
|
+
name: string;
|
|
2778
|
+
type: ("system" | "custom");
|
|
2779
|
+
allow: string[];
|
|
2780
|
+
createdAt: string;
|
|
2781
|
+
updatedAt: string;
|
|
2782
|
+
organizationId: string;
|
|
2783
|
+
}[];
|
|
2784
|
+
}
|
|
2785
|
+
interface OrganizationRolesUpdateInput {
|
|
2786
|
+
deny?: string[];
|
|
2787
|
+
name?: string;
|
|
2788
|
+
allow?: string[];
|
|
2789
|
+
orgId: string;
|
|
2790
|
+
roleId: string;
|
|
2791
|
+
}
|
|
2792
|
+
interface OrganizationRolesUpdateOutput {
|
|
2793
|
+
id: string;
|
|
2794
|
+
deny: string[];
|
|
2795
|
+
name: string;
|
|
2796
|
+
type: ("system" | "custom");
|
|
2797
|
+
allow: string[];
|
|
2798
|
+
createdAt: string;
|
|
2799
|
+
updatedAt: string;
|
|
2800
|
+
organizationId: string;
|
|
2801
|
+
}
|
|
2802
|
+
interface PlaygroundAnalyticsOverviewInput {
|
|
2803
|
+
/**
|
|
2804
|
+
* Max records per entity in recent[]; omit for the endpoint default
|
|
2805
|
+
*/
|
|
2806
|
+
limit?: number;
|
|
2807
|
+
}
|
|
2808
|
+
interface PlaygroundAnalyticsOverviewOutput {
|
|
2809
|
+
ok: boolean;
|
|
2810
|
+
minted: boolean;
|
|
2811
|
+
overview?: unknown;
|
|
2812
|
+
http_status: number;
|
|
2813
|
+
}
|
|
2814
|
+
interface PlaygroundBillingEntitlementsInput {
|
|
2815
|
+
}
|
|
2816
|
+
interface PlaygroundBillingEntitlementsOutput {
|
|
2817
|
+
ok: boolean;
|
|
2818
|
+
minted: boolean;
|
|
2819
|
+
http_status: number;
|
|
2820
|
+
entitlements?: unknown;
|
|
2821
|
+
}
|
|
2822
|
+
interface PlaygroundBillingRecordUsageInput {
|
|
2823
|
+
/**
|
|
2824
|
+
* Quantity of events to record against playground-events (SUM); defaults to 1
|
|
2825
|
+
*/
|
|
2826
|
+
value?: number;
|
|
2827
|
+
}
|
|
2828
|
+
interface PlaygroundBillingRecordUsageOutput {
|
|
2829
|
+
minted: boolean;
|
|
2830
|
+
accepted: (number | null);
|
|
2831
|
+
recorded: boolean;
|
|
2832
|
+
duplicates: (number | null);
|
|
2833
|
+
http_status: number;
|
|
2834
|
+
}
|
|
2835
|
+
interface PlaygroundClickupCreateTaskInput {
|
|
2836
|
+
/**
|
|
2837
|
+
* Task title; defaults to a fixture label
|
|
2838
|
+
*/
|
|
2839
|
+
name?: string;
|
|
2840
|
+
/**
|
|
2841
|
+
* ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
|
|
2842
|
+
*/
|
|
2843
|
+
listId?: string;
|
|
2844
|
+
}
|
|
2845
|
+
interface PlaygroundClickupCreateTaskOutput {
|
|
2846
|
+
minted: boolean;
|
|
2847
|
+
task_id: (string | null);
|
|
2848
|
+
list_status: number;
|
|
2849
|
+
vend_status: number;
|
|
2850
|
+
clickup_status: number;
|
|
2851
|
+
installation_count: number;
|
|
2852
|
+
}
|
|
2853
|
+
interface PlaygroundClickupGetLastWebhookInput {
|
|
2854
|
+
}
|
|
2855
|
+
type PlaygroundClickupGetLastWebhookOutput = ({
|
|
2856
|
+
payload: string;
|
|
2857
|
+
event_id: string;
|
|
2858
|
+
provider: string;
|
|
2859
|
+
verified: boolean;
|
|
2860
|
+
product_id: string;
|
|
2861
|
+
occurred_at: string;
|
|
2862
|
+
connector_id: string;
|
|
2863
|
+
clickup_event: (string | null);
|
|
2864
|
+
receipt_count: number;
|
|
2865
|
+
} | {
|
|
2866
|
+
found: false;
|
|
2867
|
+
});
|
|
2868
|
+
interface PlaygroundClickupGetOverviewInput {
|
|
2869
|
+
}
|
|
2870
|
+
interface PlaygroundClickupGetOverviewOutput {
|
|
2871
|
+
team: ({
|
|
2872
|
+
teamId: string;
|
|
2873
|
+
teamName: string;
|
|
2874
|
+
} | null);
|
|
2875
|
+
lists: Items[];
|
|
2876
|
+
tasks: {
|
|
2877
|
+
id: string;
|
|
2878
|
+
name: string;
|
|
2879
|
+
status: (string | null);
|
|
2880
|
+
}[];
|
|
2881
|
+
minted: boolean;
|
|
2882
|
+
spaces: Items[];
|
|
2883
|
+
list_status: number;
|
|
2884
|
+
vend_status: number;
|
|
2885
|
+
lists_status: number;
|
|
2886
|
+
tasks_status: number;
|
|
2887
|
+
spaces_status: number;
|
|
2888
|
+
folders_status: number;
|
|
2889
|
+
installation_count: number;
|
|
2890
|
+
}
|
|
2891
|
+
interface Items {
|
|
2892
|
+
name: string;
|
|
2893
|
+
value: string;
|
|
2894
|
+
recordType: ("A" | "CNAME" | "ALIAS");
|
|
2895
|
+
}
|
|
2896
|
+
interface Items {
|
|
2897
|
+
name: string;
|
|
2898
|
+
value: string;
|
|
2899
|
+
recordType: ("A" | "CNAME" | "ALIAS");
|
|
2900
|
+
}
|
|
2901
|
+
interface Items {
|
|
2902
|
+
name: string;
|
|
2903
|
+
value: string;
|
|
2904
|
+
recordType: ("A" | "CNAME" | "ALIAS");
|
|
2905
|
+
}
|
|
2906
|
+
interface Items {
|
|
2907
|
+
name: string;
|
|
2908
|
+
value: string;
|
|
2909
|
+
recordType: ("A" | "CNAME" | "ALIAS");
|
|
2910
|
+
}
|
|
2911
|
+
interface Items {
|
|
2912
|
+
name: string;
|
|
2913
|
+
value: string;
|
|
2914
|
+
recordType: ("A" | "CNAME" | "ALIAS");
|
|
2915
|
+
}
|
|
2916
|
+
interface Items {
|
|
2917
|
+
name: string;
|
|
2918
|
+
value: string;
|
|
2919
|
+
recordType: ("A" | "CNAME" | "ALIAS");
|
|
2920
|
+
}
|
|
2921
|
+
interface Items {
|
|
2922
|
+
id: string;
|
|
2923
|
+
name: string;
|
|
2924
|
+
}
|
|
2925
|
+
interface PlaygroundGdriveGetLastChangeInput {
|
|
2926
|
+
}
|
|
2927
|
+
type PlaygroundGdriveGetLastChangeOutput = ({
|
|
2928
|
+
file_id: string;
|
|
2929
|
+
removed: boolean;
|
|
2930
|
+
file_name: (string | null);
|
|
2931
|
+
mime_type: (string | null);
|
|
2932
|
+
product_id: string;
|
|
2933
|
+
occurred_at: string;
|
|
2934
|
+
connector_id: string;
|
|
2935
|
+
resource_state: string;
|
|
2936
|
+
} | {
|
|
2937
|
+
found: false;
|
|
2938
|
+
});
|
|
2939
|
+
interface PlaygroundGdriveReadFileInput {
|
|
2940
|
+
/**
|
|
2941
|
+
* Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
|
|
2942
|
+
*/
|
|
2943
|
+
fileId?: string;
|
|
2944
|
+
}
|
|
2945
|
+
interface PlaygroundGdriveReadFileOutput {
|
|
2946
|
+
minted: boolean;
|
|
2947
|
+
file_id: (string | null);
|
|
2948
|
+
file_name: (string | null);
|
|
2949
|
+
mime_type: (string | null);
|
|
2950
|
+
file_count: number;
|
|
2951
|
+
get_status: number;
|
|
2952
|
+
list_status: number;
|
|
2953
|
+
vend_status: number;
|
|
2954
|
+
content_bytes: (number | null);
|
|
2955
|
+
}
|
|
2956
|
+
interface PlaygroundGoogleadsReadCustomerInput {
|
|
2957
|
+
}
|
|
2958
|
+
interface PlaygroundGoogleadsReadCustomerOutput {
|
|
2959
|
+
minted: boolean;
|
|
2960
|
+
vended: boolean;
|
|
2961
|
+
customer_id: (string | null);
|
|
2962
|
+
vend_status: number;
|
|
2963
|
+
result_count: number;
|
|
2964
|
+
search_status: number;
|
|
2965
|
+
login_customer_id: (string | null);
|
|
2966
|
+
}
|
|
2967
|
+
interface PlaygroundLifecycleGetStateInput {
|
|
2968
|
+
}
|
|
2969
|
+
interface PlaygroundLifecycleGetStateOutput {
|
|
2970
|
+
blocked: boolean;
|
|
2971
|
+
archived: boolean;
|
|
2972
|
+
productId: string;
|
|
2973
|
+
lastBlockTransition: ({
|
|
2974
|
+
eventId: string;
|
|
2975
|
+
eventName: string;
|
|
2976
|
+
productId: string;
|
|
2977
|
+
occurredAt: string;
|
|
2978
|
+
recordedAt: string;
|
|
2979
|
+
receiptCount: number;
|
|
2980
|
+
organizationId: string;
|
|
2981
|
+
cascadedFromOrg: boolean;
|
|
2982
|
+
} | null);
|
|
2983
|
+
lastArchiveTransition: ({
|
|
2984
|
+
eventId: string;
|
|
2985
|
+
eventName: string;
|
|
2986
|
+
productId: string;
|
|
2987
|
+
occurredAt: string;
|
|
2988
|
+
recordedAt: string;
|
|
2989
|
+
receiptCount: number;
|
|
2990
|
+
organizationId: string;
|
|
2991
|
+
cascadedFromOrg: boolean;
|
|
2992
|
+
} | null);
|
|
2993
|
+
}
|
|
2994
|
+
interface PlaygroundLifecycleListEventsInput {
|
|
2995
|
+
}
|
|
2996
|
+
type PlaygroundLifecycleListEventsOutput = {
|
|
2997
|
+
eventId: string;
|
|
2998
|
+
eventName: string;
|
|
2999
|
+
productId: string;
|
|
3000
|
+
occurredAt: string;
|
|
3001
|
+
recordedAt: string;
|
|
3002
|
+
receiptCount: number;
|
|
3003
|
+
organizationId: string;
|
|
3004
|
+
cascadedFromOrg: boolean;
|
|
3005
|
+
}[];
|
|
3006
|
+
interface PlaygroundWebhookGetLastInput {
|
|
3007
|
+
}
|
|
3008
|
+
type PlaygroundWebhookGetLastOutput = ({
|
|
3009
|
+
payload?: unknown;
|
|
3010
|
+
event_id: string;
|
|
3011
|
+
provider: string;
|
|
3012
|
+
verified: boolean;
|
|
3013
|
+
product_id: string;
|
|
3014
|
+
occurred_at: string;
|
|
3015
|
+
connector_id: string;
|
|
3016
|
+
delivery_count: number;
|
|
3017
|
+
} | {
|
|
3018
|
+
found: false;
|
|
3019
|
+
});
|
|
3020
|
+
|
|
3021
|
+
interface GeneratedClient {
|
|
3022
|
+
deployment: {
|
|
3023
|
+
alert: {
|
|
3024
|
+
create(input: DeploymentAlertCreateInput): Promise<DeploymentAlertCreateOutput>;
|
|
3025
|
+
delete(input: DeploymentAlertDeleteInput): Promise<DeploymentAlertDeleteOutput>;
|
|
3026
|
+
list(input: DeploymentAlertListInput): Promise<DeploymentAlertListOutput>;
|
|
3027
|
+
update(input: DeploymentAlertUpdateInput): Promise<DeploymentAlertUpdateOutput>;
|
|
3028
|
+
};
|
|
3029
|
+
'alert-events': {
|
|
3030
|
+
list(input: DeploymentAlertEventsListInput): Promise<DeploymentAlertEventsListOutput>;
|
|
3031
|
+
};
|
|
3032
|
+
analytics: {
|
|
3033
|
+
query(input: DeploymentAnalyticsQueryInput): Promise<DeploymentAnalyticsQueryOutput>;
|
|
3034
|
+
};
|
|
3035
|
+
audit: {
|
|
3036
|
+
list(input: DeploymentAuditListInput): Promise<DeploymentAuditListOutput>;
|
|
3037
|
+
};
|
|
3038
|
+
build: {
|
|
3039
|
+
get(input: DeploymentBuildGetInput): Promise<DeploymentBuildGetOutput>;
|
|
3040
|
+
list(input: DeploymentBuildListInput): Promise<DeploymentBuildListOutput>;
|
|
3041
|
+
logs(input: DeploymentBuildLogsInput): Promise<DeploymentBuildLogsOutput>;
|
|
3042
|
+
};
|
|
3043
|
+
canvas: {
|
|
3044
|
+
get(input: DeploymentCanvasGetInput): Promise<DeploymentCanvasGetOutput>;
|
|
3045
|
+
};
|
|
3046
|
+
'canvas-move': {
|
|
3047
|
+
node(input: DeploymentCanvasMoveNodeInput): Promise<DeploymentCanvasMoveNodeOutput>;
|
|
3048
|
+
};
|
|
3049
|
+
'cloud-sql': {
|
|
3050
|
+
logs(input: DeploymentCloudSqlLogsInput): Promise<DeploymentCloudSqlLogsOutput>;
|
|
3051
|
+
};
|
|
3052
|
+
'cloud-sql-backfill-log': {
|
|
3053
|
+
flags(input: DeploymentCloudSqlBackfillLogFlagsInput): Promise<DeploymentCloudSqlBackfillLogFlagsOutput>;
|
|
3054
|
+
};
|
|
3055
|
+
'cloud-sql-database': {
|
|
3056
|
+
attach(input: DeploymentCloudSqlDatabaseAttachInput): Promise<DeploymentCloudSqlDatabaseAttachOutput>;
|
|
3057
|
+
create(input: DeploymentCloudSqlDatabaseCreateInput): Promise<DeploymentCloudSqlDatabaseCreateOutput>;
|
|
3058
|
+
delete(input: DeploymentCloudSqlDatabaseDeleteInput): Promise<DeploymentCloudSqlDatabaseDeleteOutput>;
|
|
3059
|
+
detach(input: DeploymentCloudSqlDatabaseDetachInput): Promise<DeploymentCloudSqlDatabaseDetachOutput>;
|
|
3060
|
+
get(input: DeploymentCloudSqlDatabaseGetInput): Promise<DeploymentCloudSqlDatabaseGetOutput>;
|
|
3061
|
+
list(input: DeploymentCloudSqlDatabaseListInput): Promise<DeploymentCloudSqlDatabaseListOutput>;
|
|
3062
|
+
};
|
|
3063
|
+
'cloud-sql-instance': {
|
|
3064
|
+
backup(input: DeploymentCloudSqlInstanceBackupInput): Promise<DeploymentCloudSqlInstanceBackupOutput>;
|
|
3065
|
+
create(input: DeploymentCloudSqlInstanceCreateInput): Promise<DeploymentCloudSqlInstanceCreateOutput>;
|
|
3066
|
+
delete(input: DeploymentCloudSqlInstanceDeleteInput): Promise<DeploymentCloudSqlInstanceDeleteOutput>;
|
|
3067
|
+
get(input: DeploymentCloudSqlInstanceGetInput): Promise<DeploymentCloudSqlInstanceGetOutput>;
|
|
3068
|
+
list(input: DeploymentCloudSqlInstanceListInput): Promise<DeploymentCloudSqlInstanceListOutput>;
|
|
3069
|
+
resize(input: DeploymentCloudSqlInstanceResizeInput): Promise<DeploymentCloudSqlInstanceResizeOutput>;
|
|
3070
|
+
restore(input: DeploymentCloudSqlInstanceRestoreInput): Promise<DeploymentCloudSqlInstanceRestoreOutput>;
|
|
3071
|
+
};
|
|
3072
|
+
'cloud-sql-instance-backup': {
|
|
3073
|
+
list(input: DeploymentCloudSqlInstanceBackupListInput): Promise<DeploymentCloudSqlInstanceBackupListOutput>;
|
|
3074
|
+
};
|
|
3075
|
+
deployment: {
|
|
3076
|
+
cancel(input: DeploymentDeploymentCancelInput): Promise<DeploymentDeploymentCancelOutput>;
|
|
3077
|
+
get(input: DeploymentDeploymentGetInput): Promise<DeploymentDeploymentGetOutput>;
|
|
3078
|
+
list(input: DeploymentDeploymentListInput): Promise<DeploymentDeploymentListOutput>;
|
|
3079
|
+
};
|
|
3080
|
+
domain: {
|
|
3081
|
+
add(input: DeploymentDomainAddInput): Promise<DeploymentDomainAddOutput>;
|
|
3082
|
+
get(input: DeploymentDomainGetInput): Promise<DeploymentDomainGetOutput>;
|
|
3083
|
+
list(input: DeploymentDomainListInput): Promise<DeploymentDomainListOutput>;
|
|
3084
|
+
remove(input: DeploymentDomainRemoveInput): Promise<DeploymentDomainRemoveOutput>;
|
|
3085
|
+
verify(input: DeploymentDomainVerifyInput): Promise<DeploymentDomainVerifyOutput>;
|
|
3086
|
+
};
|
|
3087
|
+
'domain-allowed': {
|
|
3088
|
+
list(input: DeploymentDomainAllowedListInput): Promise<DeploymentDomainAllowedListOutput>;
|
|
3089
|
+
};
|
|
3090
|
+
'domain-list-by': {
|
|
3091
|
+
service(input: DeploymentDomainListByServiceInput): Promise<DeploymentDomainListByServiceOutput>;
|
|
3092
|
+
};
|
|
3093
|
+
'domain-redirect': {
|
|
3094
|
+
www(input: DeploymentDomainRedirectWwwInput): Promise<DeploymentDomainRedirectWwwOutput>;
|
|
3095
|
+
};
|
|
3096
|
+
'domain-routes': {
|
|
3097
|
+
add(input: DeploymentDomainRoutesAddInput): Promise<DeploymentDomainRoutesAddOutput>;
|
|
3098
|
+
list(input: DeploymentDomainRoutesListInput): Promise<DeploymentDomainRoutesListOutput>;
|
|
3099
|
+
remove(input: DeploymentDomainRoutesRemoveInput): Promise<DeploymentDomainRoutesRemoveOutput>;
|
|
3100
|
+
update(input: DeploymentDomainRoutesUpdateInput): Promise<DeploymentDomainRoutesUpdateOutput>;
|
|
3101
|
+
};
|
|
3102
|
+
environment: {
|
|
3103
|
+
create(input: DeploymentEnvironmentCreateInput): Promise<DeploymentEnvironmentCreateOutput>;
|
|
3104
|
+
delete(input: DeploymentEnvironmentDeleteInput): Promise<DeploymentEnvironmentDeleteOutput>;
|
|
3105
|
+
fork(input: DeploymentEnvironmentForkInput): Promise<DeploymentEnvironmentForkOutput>;
|
|
3106
|
+
get(input: DeploymentEnvironmentGetInput): Promise<DeploymentEnvironmentGetOutput>;
|
|
3107
|
+
list(input: DeploymentEnvironmentListInput): Promise<DeploymentEnvironmentListOutput>;
|
|
3108
|
+
reconcile(input: DeploymentEnvironmentReconcileInput): Promise<DeploymentEnvironmentReconcileOutput>;
|
|
3109
|
+
update(input: DeploymentEnvironmentUpdateInput): Promise<DeploymentEnvironmentUpdateOutput>;
|
|
3110
|
+
};
|
|
3111
|
+
'events-list-by': {
|
|
3112
|
+
environment(input: DeploymentEventsListByEnvironmentInput): Promise<DeploymentEventsListByEnvironmentOutput>;
|
|
3113
|
+
service(input: DeploymentEventsListByServiceInput): Promise<DeploymentEventsListByServiceOutput>;
|
|
3114
|
+
};
|
|
3115
|
+
'managed-service': {
|
|
3116
|
+
backup(input: DeploymentManagedServiceBackupInput): Promise<DeploymentManagedServiceBackupOutput>;
|
|
3117
|
+
delete(input: DeploymentManagedServiceDeleteInput): Promise<DeploymentManagedServiceDeleteOutput>;
|
|
3118
|
+
get(input: DeploymentManagedServiceGetInput): Promise<DeploymentManagedServiceGetOutput>;
|
|
3119
|
+
list(input: DeploymentManagedServiceListInput): Promise<DeploymentManagedServiceListOutput>;
|
|
3120
|
+
logs(input: DeploymentManagedServiceLogsInput): Promise<DeploymentManagedServiceLogsOutput>;
|
|
3121
|
+
provision(input: DeploymentManagedServiceProvisionInput): Promise<DeploymentManagedServiceProvisionOutput>;
|
|
3122
|
+
reconcile(input: DeploymentManagedServiceReconcileInput): Promise<DeploymentManagedServiceReconcileOutput>;
|
|
3123
|
+
resize(input: DeploymentManagedServiceResizeInput): Promise<DeploymentManagedServiceResizeOutput>;
|
|
3124
|
+
restore(input: DeploymentManagedServiceRestoreInput): Promise<DeploymentManagedServiceRestoreOutput>;
|
|
3125
|
+
start(input: DeploymentManagedServiceStartInput): Promise<DeploymentManagedServiceStartOutput>;
|
|
3126
|
+
stop(input: DeploymentManagedServiceStopInput): Promise<DeploymentManagedServiceStopOutput>;
|
|
3127
|
+
types(input: DeploymentManagedServiceTypesInput): Promise<DeploymentManagedServiceTypesOutput>;
|
|
3128
|
+
};
|
|
3129
|
+
'managed-service-backup': {
|
|
3130
|
+
list(input: DeploymentManagedServiceBackupListInput): Promise<DeploymentManagedServiceBackupListOutput>;
|
|
3131
|
+
};
|
|
3132
|
+
'managed-service-connect': {
|
|
3133
|
+
info(input: DeploymentManagedServiceConnectInfoInput): Promise<DeploymentManagedServiceConnectInfoOutput>;
|
|
3134
|
+
};
|
|
3135
|
+
metrics: {
|
|
3136
|
+
get(input: DeploymentMetricsGetInput): Promise<DeploymentMetricsGetOutput>;
|
|
3137
|
+
};
|
|
3138
|
+
'preview-environment': {
|
|
3139
|
+
create(input: DeploymentPreviewEnvironmentCreateInput): Promise<DeploymentPreviewEnvironmentCreateOutput>;
|
|
3140
|
+
delete(input: DeploymentPreviewEnvironmentDeleteInput): Promise<DeploymentPreviewEnvironmentDeleteOutput>;
|
|
3141
|
+
list(input: DeploymentPreviewEnvironmentListInput): Promise<DeploymentPreviewEnvironmentListOutput>;
|
|
3142
|
+
};
|
|
3143
|
+
'preview-policy': {
|
|
3144
|
+
get(input: DeploymentPreviewPolicyGetInput): Promise<DeploymentPreviewPolicyGetOutput>;
|
|
3145
|
+
set(input: DeploymentPreviewPolicySetInput): Promise<DeploymentPreviewPolicySetOutput>;
|
|
3146
|
+
};
|
|
3147
|
+
service: {
|
|
3148
|
+
create(input: DeploymentServiceCreateInput): Promise<DeploymentServiceCreateOutput>;
|
|
3149
|
+
delete(input: DeploymentServiceDeleteInput): Promise<DeploymentServiceDeleteOutput>;
|
|
3150
|
+
exec(input: DeploymentServiceExecInput): Promise<DeploymentServiceExecOutput>;
|
|
3151
|
+
get(input: DeploymentServiceGetInput): Promise<DeploymentServiceGetOutput>;
|
|
3152
|
+
list(input: DeploymentServiceListInput): Promise<DeploymentServiceListOutput>;
|
|
3153
|
+
logs(input: DeploymentServiceLogsInput): Promise<DeploymentServiceLogsOutput>;
|
|
3154
|
+
redeploy(input: DeploymentServiceRedeployInput): Promise<DeploymentServiceRedeployOutput>;
|
|
3155
|
+
restart(input: DeploymentServiceRestartInput): Promise<DeploymentServiceRestartOutput>;
|
|
3156
|
+
rollback(input: DeploymentServiceRollbackInput): Promise<DeploymentServiceRollbackOutput>;
|
|
3157
|
+
scale(input: DeploymentServiceScaleInput): Promise<DeploymentServiceScaleOutput>;
|
|
3158
|
+
update(input: DeploymentServiceUpdateInput): Promise<DeploymentServiceUpdateOutput>;
|
|
3159
|
+
};
|
|
3160
|
+
ssh: {
|
|
3161
|
+
command(input: DeploymentSshCommandInput): Promise<DeploymentSshCommandOutput>;
|
|
3162
|
+
};
|
|
3163
|
+
'ssh-key': {
|
|
3164
|
+
delete(input: DeploymentSshKeyDeleteInput): Promise<DeploymentSshKeyDeleteOutput>;
|
|
3165
|
+
list(input: DeploymentSshKeyListInput): Promise<DeploymentSshKeyListOutput>;
|
|
3166
|
+
register(input: DeploymentSshKeyRegisterInput): Promise<DeploymentSshKeyRegisterOutput>;
|
|
3167
|
+
};
|
|
3168
|
+
variable: {
|
|
3169
|
+
list(input: DeploymentVariableListInput): Promise<DeploymentVariableListOutput>;
|
|
3170
|
+
set(input: DeploymentVariableSetInput): Promise<DeploymentVariableSetOutput>;
|
|
3171
|
+
unset(input: DeploymentVariableUnsetInput): Promise<DeploymentVariableUnsetOutput>;
|
|
3172
|
+
};
|
|
3173
|
+
'variable-list': {
|
|
3174
|
+
env(input: DeploymentVariableListEnvInput): Promise<DeploymentVariableListEnvOutput>;
|
|
3175
|
+
product(input: DeploymentVariableListProductInput): Promise<DeploymentVariableListProductOutput>;
|
|
3176
|
+
};
|
|
3177
|
+
'variable-set': {
|
|
3178
|
+
env(input: DeploymentVariableSetEnvInput): Promise<DeploymentVariableSetEnvOutput>;
|
|
3179
|
+
product(input: DeploymentVariableSetProductInput): Promise<DeploymentVariableSetProductOutput>;
|
|
3180
|
+
};
|
|
3181
|
+
'variable-unset': {
|
|
3182
|
+
env(input: DeploymentVariableUnsetEnvInput): Promise<DeploymentVariableUnsetEnvOutput>;
|
|
3183
|
+
product(input: DeploymentVariableUnsetProductInput): Promise<DeploymentVariableUnsetProductOutput>;
|
|
3184
|
+
};
|
|
3185
|
+
'vcs-branch': {
|
|
3186
|
+
list(input: DeploymentVcsBranchListInput): Promise<DeploymentVcsBranchListOutput>;
|
|
3187
|
+
};
|
|
3188
|
+
'vcs-connection': {
|
|
3189
|
+
list(input: DeploymentVcsConnectionListInput): Promise<DeploymentVcsConnectionListOutput>;
|
|
3190
|
+
};
|
|
3191
|
+
'vcs-repo': {
|
|
3192
|
+
list(input: DeploymentVcsRepoListInput): Promise<DeploymentVcsRepoListOutput>;
|
|
3193
|
+
};
|
|
3194
|
+
volume: {
|
|
3195
|
+
create(input: DeploymentVolumeCreateInput): Promise<DeploymentVolumeCreateOutput>;
|
|
3196
|
+
delete(input: DeploymentVolumeDeleteInput): Promise<DeploymentVolumeDeleteOutput>;
|
|
3197
|
+
detach(input: DeploymentVolumeDetachInput): Promise<DeploymentVolumeDetachOutput>;
|
|
3198
|
+
get(input: DeploymentVolumeGetInput): Promise<DeploymentVolumeGetOutput>;
|
|
3199
|
+
list(input: DeploymentVolumeListInput): Promise<DeploymentVolumeListOutput>;
|
|
3200
|
+
resize(input: DeploymentVolumeResizeInput): Promise<DeploymentVolumeResizeOutput>;
|
|
3201
|
+
};
|
|
3202
|
+
};
|
|
3203
|
+
organization: {
|
|
3204
|
+
auth: {
|
|
3205
|
+
me(input: OrganizationAuthMeInput): Promise<OrganizationAuthMeOutput>;
|
|
3206
|
+
};
|
|
3207
|
+
bindings: {
|
|
3208
|
+
list(input: OrganizationBindingsListInput): Promise<OrganizationBindingsListOutput>;
|
|
3209
|
+
};
|
|
3210
|
+
clickup: {
|
|
3211
|
+
install(input: OrganizationClickupInstallInput): Promise<OrganizationClickupInstallOutput>;
|
|
3212
|
+
'list-installations'(input: OrganizationClickupListInstallationsInput): Promise<OrganizationClickupListInstallationsOutput>;
|
|
3213
|
+
};
|
|
3214
|
+
cloudflare: {
|
|
3215
|
+
install(input: OrganizationCloudflareInstallInput): Promise<OrganizationCloudflareInstallOutput>;
|
|
3216
|
+
};
|
|
3217
|
+
connectors: {
|
|
3218
|
+
attach(input: OrganizationConnectorsAttachInput): Promise<OrganizationConnectorsAttachOutput>;
|
|
3219
|
+
delete(input: OrganizationConnectorsDeleteInput): Promise<OrganizationConnectorsDeleteOutput>;
|
|
3220
|
+
detach(input: OrganizationConnectorsDetachInput): Promise<OrganizationConnectorsDetachOutput>;
|
|
3221
|
+
list(input: OrganizationConnectorsListInput): Promise<OrganizationConnectorsListOutput>;
|
|
3222
|
+
'list-attachments'(input: OrganizationConnectorsListAttachmentsInput): Promise<OrganizationConnectorsListAttachmentsOutput>;
|
|
3223
|
+
'list-org'(input: OrganizationConnectorsListOrgInput): Promise<OrganizationConnectorsListOrgOutput>;
|
|
3224
|
+
remove(input: OrganizationConnectorsRemoveInput): Promise<OrganizationConnectorsRemoveOutput>;
|
|
3225
|
+
};
|
|
3226
|
+
domains: {
|
|
3227
|
+
add(input: OrganizationDomainsAddInput): Promise<OrganizationDomainsAddOutput>;
|
|
3228
|
+
get(input: OrganizationDomainsGetInput): Promise<OrganizationDomainsGetOutput>;
|
|
3229
|
+
list(input: OrganizationDomainsListInput): Promise<OrganizationDomainsListOutput>;
|
|
3230
|
+
remove(input: OrganizationDomainsRemoveInput): Promise<OrganizationDomainsRemoveOutput>;
|
|
3231
|
+
};
|
|
3232
|
+
extensions: {
|
|
3233
|
+
install(input: OrganizationExtensionsInstallInput): Promise<OrganizationExtensionsInstallOutput>;
|
|
3234
|
+
list(input: OrganizationExtensionsListInput): Promise<OrganizationExtensionsListOutput>;
|
|
3235
|
+
'list-installed'(input: OrganizationExtensionsListInstalledInput): Promise<OrganizationExtensionsListInstalledOutput>;
|
|
3236
|
+
uninstall(input: OrganizationExtensionsUninstallInput): Promise<OrganizationExtensionsUninstallOutput>;
|
|
3237
|
+
};
|
|
3238
|
+
gdrive: {
|
|
3239
|
+
install(input: OrganizationGdriveInstallInput): Promise<OrganizationGdriveInstallOutput>;
|
|
3240
|
+
};
|
|
3241
|
+
github: {
|
|
3242
|
+
install(input: OrganizationGithubInstallInput): Promise<OrganizationGithubInstallOutput>;
|
|
3243
|
+
'list-installations'(input: OrganizationGithubListInstallationsInput): Promise<OrganizationGithubListInstallationsOutput>;
|
|
3244
|
+
};
|
|
3245
|
+
googleads: {
|
|
3246
|
+
install(input: OrganizationGoogleadsInstallInput): Promise<OrganizationGoogleadsInstallOutput>;
|
|
3247
|
+
};
|
|
3248
|
+
member: {
|
|
3249
|
+
'accept-invite'(input: OrganizationMemberAcceptInviteInput): Promise<OrganizationMemberAcceptInviteOutput>;
|
|
3250
|
+
invite(input: OrganizationMemberInviteInput): Promise<OrganizationMemberInviteOutput>;
|
|
3251
|
+
list(input: OrganizationMemberListInput): Promise<OrganizationMemberListOutput>;
|
|
3252
|
+
'list-invitations'(input: OrganizationMemberListInvitationsInput): Promise<OrganizationMemberListInvitationsOutput>;
|
|
3253
|
+
'list-product-access'(input: OrganizationMemberListProductAccessInput): Promise<OrganizationMemberListProductAccessOutput>;
|
|
3254
|
+
remove(input: OrganizationMemberRemoveInput): Promise<OrganizationMemberRemoveOutput>;
|
|
3255
|
+
'revoke-invitation'(input: OrganizationMemberRevokeInvitationInput): Promise<OrganizationMemberRevokeInvitationOutput>;
|
|
3256
|
+
'set-role'(input: OrganizationMemberSetRoleInput): Promise<OrganizationMemberSetRoleOutput>;
|
|
3257
|
+
'share-product'(input: OrganizationMemberShareProductInput): Promise<OrganizationMemberShareProductOutput>;
|
|
3258
|
+
'unshare-product'(input: OrganizationMemberUnshareProductInput): Promise<OrganizationMemberUnshareProductOutput>;
|
|
3259
|
+
};
|
|
3260
|
+
members: {
|
|
3261
|
+
'assign-role'(input: OrganizationMembersAssignRoleInput): Promise<OrganizationMembersAssignRoleOutput>;
|
|
3262
|
+
};
|
|
3263
|
+
permission: {
|
|
3264
|
+
catalog(input: OrganizationPermissionCatalogInput): Promise<OrganizationPermissionCatalogOutput>;
|
|
3265
|
+
};
|
|
3266
|
+
product: {
|
|
3267
|
+
'accept-invitation'(input: OrganizationProductAcceptInvitationInput): Promise<OrganizationProductAcceptInvitationOutput>;
|
|
3268
|
+
create(input: OrganizationProductCreateInput): Promise<OrganizationProductCreateOutput>;
|
|
3269
|
+
invite(input: OrganizationProductInviteInput): Promise<OrganizationProductInviteOutput>;
|
|
3270
|
+
list(input: OrganizationProductListInput): Promise<OrganizationProductListOutput>;
|
|
3271
|
+
'list-invitations'(input: OrganizationProductListInvitationsInput): Promise<OrganizationProductListInvitationsOutput>;
|
|
3272
|
+
'list-members'(input: OrganizationProductListMembersInput): Promise<OrganizationProductListMembersOutput>;
|
|
3273
|
+
'revoke-invitation'(input: OrganizationProductRevokeInvitationInput): Promise<OrganizationProductRevokeInvitationOutput>;
|
|
3274
|
+
select(input: OrganizationProductSelectInput): Promise<OrganizationProductSelectOutput>;
|
|
3275
|
+
};
|
|
3276
|
+
roles: {
|
|
3277
|
+
create(input: OrganizationRolesCreateInput): Promise<OrganizationRolesCreateOutput>;
|
|
3278
|
+
delete(input: OrganizationRolesDeleteInput): Promise<OrganizationRolesDeleteOutput>;
|
|
3279
|
+
get(input: OrganizationRolesGetInput): Promise<OrganizationRolesGetOutput>;
|
|
3280
|
+
list(input: OrganizationRolesListInput): Promise<OrganizationRolesListOutput>;
|
|
3281
|
+
update(input: OrganizationRolesUpdateInput): Promise<OrganizationRolesUpdateOutput>;
|
|
3282
|
+
};
|
|
3283
|
+
};
|
|
3284
|
+
playground: {
|
|
3285
|
+
analytics: {
|
|
3286
|
+
overview(input: PlaygroundAnalyticsOverviewInput): Promise<PlaygroundAnalyticsOverviewOutput>;
|
|
3287
|
+
};
|
|
3288
|
+
billing: {
|
|
3289
|
+
entitlements(input: PlaygroundBillingEntitlementsInput): Promise<PlaygroundBillingEntitlementsOutput>;
|
|
3290
|
+
'record-usage'(input: PlaygroundBillingRecordUsageInput): Promise<PlaygroundBillingRecordUsageOutput>;
|
|
3291
|
+
};
|
|
3292
|
+
clickup: {
|
|
3293
|
+
'create-task'(input: PlaygroundClickupCreateTaskInput): Promise<PlaygroundClickupCreateTaskOutput>;
|
|
3294
|
+
'get-last-webhook'(input: PlaygroundClickupGetLastWebhookInput): Promise<PlaygroundClickupGetLastWebhookOutput>;
|
|
3295
|
+
'get-overview'(input: PlaygroundClickupGetOverviewInput): Promise<PlaygroundClickupGetOverviewOutput>;
|
|
3296
|
+
};
|
|
3297
|
+
gdrive: {
|
|
3298
|
+
'get-last-change'(input: PlaygroundGdriveGetLastChangeInput): Promise<PlaygroundGdriveGetLastChangeOutput>;
|
|
3299
|
+
'read-file'(input: PlaygroundGdriveReadFileInput): Promise<PlaygroundGdriveReadFileOutput>;
|
|
3300
|
+
};
|
|
3301
|
+
googleads: {
|
|
3302
|
+
'read-customer'(input: PlaygroundGoogleadsReadCustomerInput): Promise<PlaygroundGoogleadsReadCustomerOutput>;
|
|
3303
|
+
};
|
|
3304
|
+
lifecycle: {
|
|
3305
|
+
'get-state'(input: PlaygroundLifecycleGetStateInput): Promise<PlaygroundLifecycleGetStateOutput>;
|
|
3306
|
+
'list-events'(input: PlaygroundLifecycleListEventsInput): Promise<PlaygroundLifecycleListEventsOutput>;
|
|
3307
|
+
};
|
|
3308
|
+
webhook: {
|
|
3309
|
+
'get-last'(input: PlaygroundWebhookGetLastInput): Promise<PlaygroundWebhookGetLastOutput>;
|
|
3310
|
+
};
|
|
3311
|
+
};
|
|
3312
|
+
}
|
|
3313
|
+
|
|
3314
|
+
export type { DeploymentCloudSqlInstanceRestoreInput as $, DeploymentCloudSqlDatabaseAttachOutput as A, DeploymentCloudSqlDatabaseCreateInput as B, DeploymentCloudSqlDatabaseCreateOutput as C, DeploymentAlertCreateInput as D, DeploymentCloudSqlDatabaseDeleteInput as E, DeploymentCloudSqlDatabaseDeleteOutput as F, GeneratedClient as G, DeploymentCloudSqlDatabaseDetachInput as H, DeploymentCloudSqlDatabaseDetachOutput as I, DeploymentCloudSqlDatabaseGetInput as J, DeploymentCloudSqlDatabaseGetOutput as K, DeploymentCloudSqlDatabaseListInput as L, DeploymentCloudSqlDatabaseListOutput as M, DeploymentCloudSqlInstanceBackupListInput as N, DeploymentCloudSqlInstanceBackupListOutput as O, DeploymentCloudSqlInstanceBackupInput as P, DeploymentCloudSqlInstanceBackupOutput as Q, DeploymentCloudSqlInstanceCreateInput as R, DeploymentCloudSqlInstanceCreateOutput as S, DeploymentCloudSqlInstanceDeleteInput as T, DeploymentCloudSqlInstanceDeleteOutput as U, DeploymentCloudSqlInstanceGetInput as V, DeploymentCloudSqlInstanceGetOutput as W, DeploymentCloudSqlInstanceListInput as X, DeploymentCloudSqlInstanceListOutput as Y, DeploymentCloudSqlInstanceResizeInput as Z, DeploymentCloudSqlInstanceResizeOutput as _, DeploymentAlertCreateOutput as a, DeploymentManagedServiceLogsInput as a$, DeploymentCloudSqlInstanceRestoreOutput as a0, DeploymentCloudSqlLogsInput as a1, DeploymentCloudSqlLogsOutput as a2, DeploymentDeploymentCancelInput as a3, DeploymentDeploymentCancelOutput as a4, DeploymentDeploymentGetInput as a5, DeploymentDeploymentGetOutput as a6, DeploymentDeploymentListInput as a7, DeploymentDeploymentListOutput as a8, DeploymentDomainAddInput as a9, DeploymentEnvironmentDeleteOutput as aA, DeploymentEnvironmentForkInput as aB, DeploymentEnvironmentForkOutput as aC, DeploymentEnvironmentGetInput as aD, DeploymentEnvironmentGetOutput as aE, DeploymentEnvironmentListInput as aF, DeploymentEnvironmentListOutput as aG, DeploymentEnvironmentReconcileInput as aH, DeploymentEnvironmentReconcileOutput as aI, DeploymentEnvironmentUpdateInput as aJ, DeploymentEnvironmentUpdateOutput as aK, DeploymentEventsListByEnvironmentInput as aL, DeploymentEventsListByEnvironmentOutput as aM, DeploymentEventsListByServiceInput as aN, DeploymentEventsListByServiceOutput as aO, DeploymentManagedServiceBackupListInput as aP, DeploymentManagedServiceBackupListOutput as aQ, DeploymentManagedServiceBackupInput as aR, DeploymentManagedServiceBackupOutput as aS, DeploymentManagedServiceConnectInfoInput as aT, DeploymentManagedServiceConnectInfoOutput as aU, DeploymentManagedServiceDeleteInput as aV, DeploymentManagedServiceDeleteOutput as aW, DeploymentManagedServiceGetInput as aX, DeploymentManagedServiceGetOutput as aY, DeploymentManagedServiceListInput as aZ, DeploymentManagedServiceListOutput as a_, DeploymentDomainAddOutput as aa, DeploymentDomainAllowedListInput as ab, DeploymentDomainAllowedListOutput as ac, DeploymentDomainGetInput as ad, DeploymentDomainGetOutput as ae, DeploymentDomainListByServiceInput as af, DeploymentDomainListByServiceOutput as ag, DeploymentDomainListInput as ah, DeploymentDomainListOutput as ai, DeploymentDomainRedirectWwwInput as aj, DeploymentDomainRedirectWwwOutput as ak, DeploymentDomainRemoveInput as al, DeploymentDomainRemoveOutput as am, DeploymentDomainRoutesAddInput as an, DeploymentDomainRoutesAddOutput as ao, DeploymentDomainRoutesListInput as ap, DeploymentDomainRoutesListOutput as aq, DeploymentDomainRoutesRemoveInput as ar, DeploymentDomainRoutesRemoveOutput as as, DeploymentDomainRoutesUpdateInput as at, DeploymentDomainRoutesUpdateOutput as au, DeploymentDomainVerifyInput as av, DeploymentDomainVerifyOutput as aw, DeploymentEnvironmentCreateInput as ax, DeploymentEnvironmentCreateOutput as ay, DeploymentEnvironmentDeleteInput as az, DeploymentAlertDeleteInput as b, DeploymentVariableSetEnvInput as b$, DeploymentManagedServiceLogsOutput as b0, DeploymentManagedServiceProvisionInput as b1, DeploymentManagedServiceProvisionOutput as b2, DeploymentManagedServiceReconcileInput as b3, DeploymentManagedServiceReconcileOutput as b4, DeploymentManagedServiceResizeInput as b5, DeploymentManagedServiceResizeOutput as b6, DeploymentManagedServiceRestoreInput as b7, DeploymentManagedServiceRestoreOutput as b8, DeploymentManagedServiceStartInput as b9, DeploymentServiceListOutput as bA, DeploymentServiceLogsInput as bB, DeploymentServiceLogsOutput as bC, DeploymentServiceRedeployInput as bD, DeploymentServiceRedeployOutput as bE, DeploymentServiceRestartInput as bF, DeploymentServiceRestartOutput as bG, DeploymentServiceRollbackInput as bH, DeploymentServiceRollbackOutput as bI, DeploymentServiceScaleInput as bJ, DeploymentServiceScaleOutput as bK, DeploymentServiceUpdateInput as bL, DeploymentServiceUpdateOutput as bM, DeploymentSshCommandInput as bN, DeploymentSshCommandOutput as bO, DeploymentSshKeyDeleteInput as bP, DeploymentSshKeyDeleteOutput as bQ, DeploymentSshKeyListInput as bR, DeploymentSshKeyListOutput as bS, DeploymentSshKeyRegisterInput as bT, DeploymentSshKeyRegisterOutput as bU, DeploymentVariableListEnvInput as bV, DeploymentVariableListEnvOutput as bW, DeploymentVariableListProductInput as bX, DeploymentVariableListProductOutput as bY, DeploymentVariableListInput as bZ, DeploymentVariableListOutput as b_, DeploymentManagedServiceStartOutput as ba, DeploymentManagedServiceStopInput as bb, DeploymentManagedServiceStopOutput as bc, DeploymentManagedServiceTypesInput as bd, DeploymentManagedServiceTypesOutput as be, DeploymentMetricsGetInput as bf, DeploymentMetricsGetOutput as bg, DeploymentPreviewEnvironmentCreateInput as bh, DeploymentPreviewEnvironmentCreateOutput as bi, DeploymentPreviewEnvironmentDeleteInput as bj, DeploymentPreviewEnvironmentDeleteOutput as bk, DeploymentPreviewEnvironmentListInput as bl, DeploymentPreviewEnvironmentListOutput as bm, DeploymentPreviewPolicyGetInput as bn, DeploymentPreviewPolicyGetOutput as bo, DeploymentPreviewPolicySetInput as bp, DeploymentPreviewPolicySetOutput as bq, DeploymentServiceCreateInput as br, DeploymentServiceCreateOutput as bs, DeploymentServiceDeleteInput as bt, DeploymentServiceDeleteOutput as bu, DeploymentServiceExecInput as bv, DeploymentServiceExecOutput as bw, DeploymentServiceGetInput as bx, DeploymentServiceGetOutput as by, DeploymentServiceListInput as bz, DeploymentAlertDeleteOutput as c, OrganizationExtensionsListInstalledInput as c$, DeploymentVariableSetEnvOutput as c0, DeploymentVariableSetInput as c1, DeploymentVariableSetOutput as c2, DeploymentVariableSetProductInput as c3, DeploymentVariableSetProductOutput as c4, DeploymentVariableUnsetEnvInput as c5, DeploymentVariableUnsetEnvOutput as c6, DeploymentVariableUnsetInput as c7, DeploymentVariableUnsetOutput as c8, DeploymentVariableUnsetProductInput as c9, OrganizationClickupListInstallationsOutput as cA, OrganizationCloudflareInstallInput as cB, OrganizationCloudflareInstallOutput as cC, OrganizationConnectorsAttachInput as cD, OrganizationConnectorsAttachOutput as cE, OrganizationConnectorsDeleteInput as cF, OrganizationConnectorsDeleteOutput as cG, OrganizationConnectorsDetachInput as cH, OrganizationConnectorsDetachOutput as cI, OrganizationConnectorsListAttachmentsInput as cJ, OrganizationConnectorsListAttachmentsOutput as cK, OrganizationConnectorsListOrgInput as cL, OrganizationConnectorsListOrgOutput as cM, OrganizationConnectorsListInput as cN, OrganizationConnectorsListOutput as cO, OrganizationConnectorsRemoveInput as cP, OrganizationConnectorsRemoveOutput as cQ, OrganizationDomainsAddInput as cR, OrganizationDomainsAddOutput as cS, OrganizationDomainsGetInput as cT, OrganizationDomainsGetOutput as cU, OrganizationDomainsListInput as cV, OrganizationDomainsListOutput as cW, OrganizationDomainsRemoveInput as cX, OrganizationDomainsRemoveOutput as cY, OrganizationExtensionsInstallInput as cZ, OrganizationExtensionsInstallOutput as c_, DeploymentVariableUnsetProductOutput as ca, DeploymentVcsBranchListInput as cb, DeploymentVcsBranchListOutput as cc, DeploymentVcsConnectionListInput as cd, DeploymentVcsConnectionListOutput as ce, DeploymentVcsRepoListInput as cf, DeploymentVcsRepoListOutput as cg, DeploymentVolumeCreateInput as ch, DeploymentVolumeCreateOutput as ci, DeploymentVolumeDeleteInput as cj, DeploymentVolumeDeleteOutput as ck, DeploymentVolumeDetachInput as cl, DeploymentVolumeDetachOutput as cm, DeploymentVolumeGetInput as cn, DeploymentVolumeGetOutput as co, DeploymentVolumeListInput as cp, DeploymentVolumeListOutput as cq, DeploymentVolumeResizeInput as cr, DeploymentVolumeResizeOutput as cs, OrganizationAuthMeInput as ct, OrganizationAuthMeOutput as cu, OrganizationBindingsListInput as cv, OrganizationBindingsListOutput as cw, OrganizationClickupInstallInput as cx, OrganizationClickupInstallOutput as cy, OrganizationClickupListInstallationsInput as cz, DeploymentAlertEventsListInput as d, OrganizationRolesUpdateOutput as d$, OrganizationExtensionsListInstalledOutput as d0, OrganizationExtensionsListInput as d1, OrganizationExtensionsListOutput as d2, OrganizationExtensionsUninstallInput as d3, OrganizationExtensionsUninstallOutput as d4, OrganizationGdriveInstallInput as d5, OrganizationGdriveInstallOutput as d6, OrganizationGithubInstallInput as d7, OrganizationGithubInstallOutput as d8, OrganizationGithubListInstallationsInput as d9, OrganizationPermissionCatalogInput as dA, OrganizationPermissionCatalogOutput as dB, OrganizationProductAcceptInvitationInput as dC, OrganizationProductAcceptInvitationOutput as dD, OrganizationProductCreateInput as dE, OrganizationProductCreateOutput as dF, OrganizationProductInviteInput as dG, OrganizationProductInviteOutput as dH, OrganizationProductListInvitationsInput as dI, OrganizationProductListInvitationsOutput as dJ, OrganizationProductListMembersInput as dK, OrganizationProductListMembersOutput as dL, OrganizationProductListInput as dM, OrganizationProductListOutput as dN, OrganizationProductRevokeInvitationInput as dO, OrganizationProductRevokeInvitationOutput as dP, OrganizationProductSelectInput as dQ, OrganizationProductSelectOutput as dR, OrganizationRolesCreateInput as dS, OrganizationRolesCreateOutput as dT, OrganizationRolesDeleteInput as dU, OrganizationRolesDeleteOutput as dV, OrganizationRolesGetInput as dW, OrganizationRolesGetOutput as dX, OrganizationRolesListInput as dY, OrganizationRolesListOutput as dZ, OrganizationRolesUpdateInput as d_, OrganizationGithubListInstallationsOutput as da, OrganizationGoogleadsInstallInput as db, OrganizationGoogleadsInstallOutput as dc, OrganizationMemberAcceptInviteInput as dd, OrganizationMemberAcceptInviteOutput as de, OrganizationMemberInviteInput as df, OrganizationMemberInviteOutput as dg, OrganizationMemberListInvitationsInput as dh, OrganizationMemberListInvitationsOutput as di, OrganizationMemberListProductAccessInput as dj, OrganizationMemberListProductAccessOutput as dk, OrganizationMemberListInput as dl, OrganizationMemberListOutput as dm, OrganizationMemberRemoveInput as dn, OrganizationMemberRemoveOutput as dp, OrganizationMemberRevokeInvitationInput as dq, OrganizationMemberRevokeInvitationOutput as dr, OrganizationMemberSetRoleInput as ds, OrganizationMemberSetRoleOutput as dt, OrganizationMemberShareProductInput as du, OrganizationMemberShareProductOutput as dv, OrganizationMemberUnshareProductInput as dw, OrganizationMemberUnshareProductOutput as dx, OrganizationMembersAssignRoleInput as dy, OrganizationMembersAssignRoleOutput as dz, DeploymentAlertEventsListOutput as e, PlaygroundAnalyticsOverviewInput as e0, PlaygroundAnalyticsOverviewOutput as e1, PlaygroundBillingEntitlementsInput as e2, PlaygroundBillingEntitlementsOutput as e3, PlaygroundBillingRecordUsageInput as e4, PlaygroundBillingRecordUsageOutput as e5, PlaygroundClickupCreateTaskInput as e6, PlaygroundClickupCreateTaskOutput as e7, PlaygroundClickupGetLastWebhookInput as e8, PlaygroundClickupGetLastWebhookOutput as e9, PlaygroundClickupGetOverviewInput as ea, PlaygroundClickupGetOverviewOutput as eb, PlaygroundGdriveGetLastChangeInput as ec, PlaygroundGdriveGetLastChangeOutput as ed, PlaygroundGdriveReadFileInput as ee, PlaygroundGdriveReadFileOutput as ef, PlaygroundGoogleadsReadCustomerInput as eg, PlaygroundGoogleadsReadCustomerOutput as eh, PlaygroundLifecycleGetStateInput as ei, PlaygroundLifecycleGetStateOutput as ej, PlaygroundLifecycleListEventsInput as ek, PlaygroundLifecycleListEventsOutput as el, PlaygroundWebhookGetLastInput as em, PlaygroundWebhookGetLastOutput as en, DeploymentAlertListInput as f, DeploymentAlertListOutput as g, DeploymentAlertUpdateInput as h, DeploymentAlertUpdateOutput as i, DeploymentAnalyticsQueryInput as j, DeploymentAnalyticsQueryOutput as k, DeploymentAuditListInput as l, DeploymentAuditListOutput as m, DeploymentBuildGetInput as n, DeploymentBuildGetOutput as o, DeploymentBuildListInput as p, DeploymentBuildListOutput as q, DeploymentBuildLogsInput as r, DeploymentBuildLogsOutput as s, DeploymentCanvasGetInput as t, DeploymentCanvasGetOutput as u, DeploymentCanvasMoveNodeInput as v, DeploymentCanvasMoveNodeOutput as w, DeploymentCloudSqlBackfillLogFlagsInput as x, DeploymentCloudSqlBackfillLogFlagsOutput as y, DeploymentCloudSqlDatabaseAttachInput as z };
|