@lessly/sdk-app 6.2.0 → 7.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/brain/index.cjs +10 -0
- package/dist/brain/index.cjs.map +1 -1
- package/dist/brain/index.d.cts +10 -2
- package/dist/brain/index.d.ts +10 -2
- package/dist/brain/index.js +9 -1
- package/dist/brain/index.js.map +1 -1
- package/dist/{client.gen-Q9n-n5S8.d.cts → client.gen-oPZGjxpS.d.cts} +249 -2801
- package/dist/{client.gen-Q9n-n5S8.d.ts → client.gen-oPZGjxpS.d.ts} +249 -2801
- package/dist/consent/index.d.cts +1 -1
- package/dist/consent/index.d.ts +1 -1
- package/dist/index.cjs +151 -1879
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +151 -1879
- package/dist/index.js.map +1 -1
- package/dist/mail/index.d.cts +2 -2
- package/dist/mail/index.d.ts +2 -2
- package/dist/organization/index.d.cts +1 -1
- package/dist/organization/index.d.ts +1 -1
- package/dist/tracking/index.d.cts +1 -1
- package/dist/tracking/index.d.ts +1 -1
- package/dist/waitlist/index.d.cts +1 -1
- package/dist/waitlist/index.d.ts +1 -1
- package/package.json +2 -17
- package/src/gen/bindings.gen.ts +151 -1879
- package/src/gen/brain/index.ts +1 -1
- package/src/gen/brain/queryOptions.gen.ts +14 -0
- package/src/gen/client.gen.ts +8 -450
- package/src/gen/manifest.gen.ts +1 -1
- package/src/gen/types.gen.ts +249 -2841
- package/dist/analytics/index.cjs +0 -11
- package/dist/analytics/index.cjs.map +0 -1
- package/dist/analytics/index.d.cts +0 -8
- package/dist/analytics/index.d.ts +0 -8
- package/dist/analytics/index.js +0 -9
- package/dist/analytics/index.js.map +0 -1
- package/dist/deployment/index.cjs +0 -531
- package/dist/deployment/index.cjs.map +0 -1
- package/dist/deployment/index.d.cts +0 -424
- package/dist/deployment/index.d.ts +0 -424
- package/dist/deployment/index.js +0 -425
- package/dist/deployment/index.js.map +0 -1
- package/dist/playground/index.cjs +0 -66
- package/dist/playground/index.cjs.map +0 -1
- package/dist/playground/index.d.cts +0 -52
- package/dist/playground/index.d.ts +0 -52
- package/dist/playground/index.js +0 -53
- package/dist/playground/index.js.map +0 -1
- package/src/gen/analytics/index.ts +0 -3
- package/src/gen/analytics/queryOptions.gen.ts +0 -11
- package/src/gen/deployment/index.ts +0 -3
- package/src/gen/deployment/queryOptions.gen.ts +0 -681
- package/src/gen/playground/index.ts +0 -3
- package/src/gen/playground/queryOptions.gen.ts +0 -86
package/src/gen/types.gen.ts
CHANGED
|
@@ -1,22 +1,5 @@
|
|
|
1
1
|
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
2
|
|
|
3
|
-
export interface AnalyticsQueryRunInput {
|
|
4
|
-
/**
|
|
5
|
-
* Natural-language analytics question
|
|
6
|
-
*/
|
|
7
|
-
q: string
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export interface AnalyticsQueryRunOutput {
|
|
11
|
-
sql: string
|
|
12
|
-
rows: {
|
|
13
|
-
[k: string]: unknown
|
|
14
|
-
}[]
|
|
15
|
-
answer: string
|
|
16
|
-
truncated: boolean
|
|
17
|
-
explanation: string
|
|
18
|
-
}
|
|
19
|
-
|
|
20
3
|
export interface BrainBackupCreateInput {
|
|
21
4
|
|
|
22
5
|
}
|
|
@@ -56,15 +39,9 @@ snapshotId?: string
|
|
|
56
39
|
export type BrainBackupStatusOutput = ({
|
|
57
40
|
id: string
|
|
58
41
|
error: (string | null)
|
|
59
|
-
|
|
60
|
-
* 'running' | 'completed' | 'failed'
|
|
61
|
-
*/
|
|
62
|
-
status: string
|
|
42
|
+
status: ("running" | "completed" | "failed")
|
|
63
43
|
gcsPath: string
|
|
64
|
-
|
|
65
|
-
* 'scheduled' | 'manual' | 'pre-restore'
|
|
66
|
-
*/
|
|
67
|
-
trigger: string
|
|
44
|
+
trigger: ("scheduled" | "manual" | "pre-restore")
|
|
68
45
|
createdAt: string
|
|
69
46
|
edgeCount: (number | null)
|
|
70
47
|
nodeCount: (number | null)
|
|
@@ -83,15 +60,9 @@ export interface BrainBackupsListInput {
|
|
|
83
60
|
export type BrainBackupsListOutput = {
|
|
84
61
|
id: string
|
|
85
62
|
error: (string | null)
|
|
86
|
-
|
|
87
|
-
* 'running' | 'completed' | 'failed'
|
|
88
|
-
*/
|
|
89
|
-
status: string
|
|
63
|
+
status: ("running" | "completed" | "failed")
|
|
90
64
|
gcsPath: string
|
|
91
|
-
|
|
92
|
-
* 'scheduled' | 'manual' | 'pre-restore'
|
|
93
|
-
*/
|
|
94
|
-
trigger: string
|
|
65
|
+
trigger: ("scheduled" | "manual" | "pre-restore")
|
|
95
66
|
createdAt: string
|
|
96
67
|
edgeCount: (number | null)
|
|
97
68
|
nodeCount: (number | null)
|
|
@@ -548,6 +519,107 @@ mimeType: string
|
|
|
548
519
|
}[]
|
|
549
520
|
}[]
|
|
550
521
|
|
|
522
|
+
export interface BrainKnowledgeEntityMemoriesInput {
|
|
523
|
+
/**
|
|
524
|
+
* Max memories (default 50)
|
|
525
|
+
*/
|
|
526
|
+
limit?: number
|
|
527
|
+
/**
|
|
528
|
+
* Read scope; 'both' (default) unions shared + your private
|
|
529
|
+
*/
|
|
530
|
+
scope?: ("shared" | "private" | "both")
|
|
531
|
+
/**
|
|
532
|
+
* Pagination offset
|
|
533
|
+
*/
|
|
534
|
+
offset?: number
|
|
535
|
+
/**
|
|
536
|
+
* Entity id, name, or alias to fetch backing memories for
|
|
537
|
+
*/
|
|
538
|
+
entity_ref: string
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
export interface BrainKnowledgeEntityMemoriesOutput {
|
|
542
|
+
total: number
|
|
543
|
+
entity: ({
|
|
544
|
+
score?: number
|
|
545
|
+
aliases: string[]
|
|
546
|
+
entity_id: string
|
|
547
|
+
description: (string | null)
|
|
548
|
+
entity_type: string
|
|
549
|
+
display_name: string
|
|
550
|
+
canonical_name: string
|
|
551
|
+
evidence_count: number
|
|
552
|
+
} | null)
|
|
553
|
+
memories: {
|
|
554
|
+
/**
|
|
555
|
+
* Consumer-facing label derived from the layer; 'unknown' for an unrecognised layer
|
|
556
|
+
*/
|
|
557
|
+
kind: ("schema" | "intention" | "identity" | "basic" | "fact" | "summary" | "knowledge" | "raw" | "unknown")
|
|
558
|
+
tags: string[]
|
|
559
|
+
/**
|
|
560
|
+
* Engine memory layer (l0_basic_info…l7_intention)
|
|
561
|
+
*/
|
|
562
|
+
layer: ("l6_schema" | "l7_intention" | "l4_identity" | "l0_basic_info" | "l2_fact" | "l3_summary" | "l5_knowledge" | "l1_raw")
|
|
563
|
+
custom: {
|
|
564
|
+
[k: string]: unknown
|
|
565
|
+
}
|
|
566
|
+
status: string
|
|
567
|
+
content: string
|
|
568
|
+
user_id: string
|
|
569
|
+
agent_id: string
|
|
570
|
+
memory_at: (number | null)
|
|
571
|
+
memory_id: string
|
|
572
|
+
speculate: (string | null)
|
|
573
|
+
session_id: string
|
|
574
|
+
gmt_created: number
|
|
575
|
+
/**
|
|
576
|
+
* Source authority (highest→lowest): policy > official > team > informal
|
|
577
|
+
*/
|
|
578
|
+
source_authority: ("policy" | "official" | "team" | "informal")
|
|
579
|
+
source_raw_memory_id: (string | null)
|
|
580
|
+
}[]
|
|
581
|
+
elapsed_ms: number
|
|
582
|
+
request_id: string
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
export interface BrainKnowledgeGraphInput {
|
|
586
|
+
/**
|
|
587
|
+
* Max nodes (default 5000). When the cap applies the HIGHEST-DEGREE nodes are kept, so a small limit (e.g. 100) returns the hub concepts — that is usually what you want
|
|
588
|
+
*/
|
|
589
|
+
limit?: number
|
|
590
|
+
/**
|
|
591
|
+
* Read scope; 'both' (default) unions shared + your private
|
|
592
|
+
*/
|
|
593
|
+
scope?: ("shared" | "private" | "both")
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
export interface BrainKnowledgeGraphOutput {
|
|
597
|
+
edges: {
|
|
598
|
+
reason: (string | null)
|
|
599
|
+
source: string
|
|
600
|
+
target: string
|
|
601
|
+
symmetric: boolean
|
|
602
|
+
relation_type: string
|
|
603
|
+
}[]
|
|
604
|
+
nodes: {
|
|
605
|
+
id: string
|
|
606
|
+
degree: number
|
|
607
|
+
aliases: string[]
|
|
608
|
+
description: (string | null)
|
|
609
|
+
entity_type: string
|
|
610
|
+
display_name: string
|
|
611
|
+
canonical_name: string
|
|
612
|
+
evidence_count: number
|
|
613
|
+
}[]
|
|
614
|
+
totals: {
|
|
615
|
+
edgeCount: number
|
|
616
|
+
nodeCount: number
|
|
617
|
+
}
|
|
618
|
+
truncated: boolean
|
|
619
|
+
elapsed_ms: number
|
|
620
|
+
request_id: string
|
|
621
|
+
}
|
|
622
|
+
|
|
551
623
|
export interface BrainKnowledgeNeighborhoodInput {
|
|
552
624
|
/**
|
|
553
625
|
* Hops to expand (engine clamps to 3)
|
|
@@ -928,10 +1000,7 @@ restoreId: string
|
|
|
928
1000
|
|
|
929
1001
|
export type BrainRestoreStatusOutput = ({
|
|
930
1002
|
error: (string | null)
|
|
931
|
-
|
|
932
|
-
* 'pending' | 'wiped' | 'importing' | 'completed' | 'failed'
|
|
933
|
-
*/
|
|
934
|
-
status: string
|
|
1003
|
+
status: ("pending" | "wiped" | "importing" | "completed" | "failed")
|
|
935
1004
|
edgeCount: (number | null)
|
|
936
1005
|
nodeCount: (number | null)
|
|
937
1006
|
productId: string
|
|
@@ -1151,2620 +1220,176 @@ purpose: string
|
|
|
1151
1220
|
storageDuration: string
|
|
1152
1221
|
}[]
|
|
1153
1222
|
category: ("necessary" | "preferences" | "statistics" | "marketing")
|
|
1154
|
-
isSystem?: boolean
|
|
1155
|
-
createdAt: string
|
|
1156
|
-
updatedAt: string
|
|
1157
|
-
catalogKey?: (string | null)
|
|
1158
|
-
orderIndex: number
|
|
1159
|
-
privacyUrl: (string | null)
|
|
1160
|
-
description: string
|
|
1161
|
-
}
|
|
1162
|
-
|
|
1163
|
-
export interface ConsentProvidersDeleteInput {
|
|
1164
|
-
/**
|
|
1165
|
-
* Provider id
|
|
1166
|
-
*/
|
|
1167
|
-
id: string
|
|
1168
|
-
}
|
|
1169
|
-
|
|
1170
|
-
export interface ConsentProvidersDeleteOutput {
|
|
1171
|
-
id: string
|
|
1172
|
-
deleted: true
|
|
1173
|
-
}
|
|
1174
|
-
|
|
1175
|
-
export interface ConsentProvidersListInput {
|
|
1176
|
-
|
|
1177
|
-
}
|
|
1178
|
-
|
|
1179
|
-
export type ConsentProvidersListOutput = {
|
|
1180
|
-
id: string
|
|
1181
|
-
name: string
|
|
1182
|
-
hosts: string[]
|
|
1183
|
-
cookies: {
|
|
1184
|
-
id: string
|
|
1185
|
-
name: string
|
|
1186
|
-
type: ("http_cookie" | "local_storage" | "session_storage")
|
|
1187
|
-
purpose: string
|
|
1188
|
-
storageDuration: string
|
|
1189
|
-
}[]
|
|
1190
|
-
category: ("necessary" | "preferences" | "statistics" | "marketing")
|
|
1191
|
-
isSystem?: boolean
|
|
1192
|
-
createdAt: string
|
|
1193
|
-
updatedAt: string
|
|
1194
|
-
catalogKey?: (string | null)
|
|
1195
|
-
orderIndex: number
|
|
1196
|
-
privacyUrl: (string | null)
|
|
1197
|
-
description: string
|
|
1198
|
-
}[]
|
|
1199
|
-
|
|
1200
|
-
export interface ConsentProvidersUpdateInput {
|
|
1201
|
-
/**
|
|
1202
|
-
* Provider id
|
|
1203
|
-
*/
|
|
1204
|
-
id: string
|
|
1205
|
-
name?: string
|
|
1206
|
-
/**
|
|
1207
|
-
* If provided, REPLACES the hosts list. Omit to leave unchanged.
|
|
1208
|
-
*
|
|
1209
|
-
* @maxItems 50
|
|
1210
|
-
*/
|
|
1211
|
-
hosts?: string[]
|
|
1212
|
-
/**
|
|
1213
|
-
* If provided, REPLACES the whole cookies set for this provider. Omit to leave unchanged.
|
|
1214
|
-
*
|
|
1215
|
-
* @maxItems 200
|
|
1216
|
-
*/
|
|
1217
|
-
cookies?: {
|
|
1218
|
-
/**
|
|
1219
|
-
* Cookie/storage key name, e.g. "_ga"
|
|
1220
|
-
*/
|
|
1221
|
-
name: string
|
|
1222
|
-
/**
|
|
1223
|
-
* Storage mechanism — matches CHECK constraint on consent_cookies.type
|
|
1224
|
-
*/
|
|
1225
|
-
type: ("http_cookie" | "local_storage" | "session_storage")
|
|
1226
|
-
/**
|
|
1227
|
-
* Human-readable description of why the cookie is set
|
|
1228
|
-
*/
|
|
1229
|
-
purpose?: string
|
|
1230
|
-
/**
|
|
1231
|
-
* Duration like "2 years", "session", "30 days"
|
|
1232
|
-
*/
|
|
1233
|
-
storageDuration?: string
|
|
1234
|
-
}[]
|
|
1235
|
-
/**
|
|
1236
|
-
* Consent category bucket — matches CHECK constraint on consent_providers.category
|
|
1237
|
-
*/
|
|
1238
|
-
category?: ("necessary" | "preferences" | "statistics" | "marketing")
|
|
1239
|
-
orderIndex?: number
|
|
1240
|
-
/**
|
|
1241
|
-
* null clears the field, undefined leaves it unchanged
|
|
1242
|
-
*/
|
|
1243
|
-
privacyUrl?: (string | null)
|
|
1244
|
-
/**
|
|
1245
|
-
* Pass empty string to clear; undefined leaves unchanged
|
|
1246
|
-
*/
|
|
1247
|
-
description?: string
|
|
1248
|
-
}
|
|
1249
|
-
|
|
1250
|
-
export interface ConsentProvidersUpdateOutput {
|
|
1251
|
-
id: string
|
|
1252
|
-
name: string
|
|
1253
|
-
hosts: string[]
|
|
1254
|
-
cookies: {
|
|
1255
|
-
id: string
|
|
1256
|
-
name: string
|
|
1257
|
-
type: ("http_cookie" | "local_storage" | "session_storage")
|
|
1258
|
-
purpose: string
|
|
1259
|
-
storageDuration: string
|
|
1260
|
-
}[]
|
|
1261
|
-
category: ("necessary" | "preferences" | "statistics" | "marketing")
|
|
1262
|
-
isSystem?: boolean
|
|
1263
|
-
createdAt: string
|
|
1264
|
-
updatedAt: string
|
|
1265
|
-
catalogKey?: (string | null)
|
|
1266
|
-
orderIndex: number
|
|
1267
|
-
privacyUrl: (string | null)
|
|
1268
|
-
description: string
|
|
1269
|
-
}
|
|
1270
|
-
|
|
1271
|
-
export interface ConsentRecordsExportInput {
|
|
1272
|
-
/**
|
|
1273
|
-
* Inclusive upper bound for created_at, ISO-8601. Example: "2026-01-01T00:00:00Z". Omit for "up to now".
|
|
1274
|
-
*/
|
|
1275
|
-
to?: string
|
|
1276
|
-
/**
|
|
1277
|
-
* Inclusive lower bound for created_at (server clock), ISO-8601. Example: "2025-01-01T00:00:00Z". Omit for "from the beginning".
|
|
1278
|
-
*/
|
|
1279
|
-
from?: string
|
|
1280
|
-
/**
|
|
1281
|
-
* Maximum rows to return inline. Default 1000, hard cap 10000. If more rows match, the response sets truncated=true and includes download_url for the full dataset via HTTP.
|
|
1282
|
-
*/
|
|
1283
|
-
limit?: number
|
|
1284
|
-
/**
|
|
1285
|
-
* DSAR (Art. 15) lookup: a visitor-presented record_id (the UUID from their consent cookie). When set, the export is filtered to that visitor's full decision chain (transitive closure over replaces_id), scoped to the current product. Omit for a product-wide admin export.
|
|
1286
|
-
*/
|
|
1287
|
-
record_id?: string
|
|
1288
|
-
}
|
|
1289
|
-
|
|
1290
|
-
export interface ConsentRecordsExportOutput {
|
|
1291
|
-
csv: string
|
|
1292
|
-
filters: {
|
|
1293
|
-
to: (string | null)
|
|
1294
|
-
from: (string | null)
|
|
1295
|
-
limit: number
|
|
1296
|
-
}
|
|
1297
|
-
truncated: boolean
|
|
1298
|
-
total_count: number
|
|
1299
|
-
download_url?: string
|
|
1300
|
-
returned_count: number
|
|
1301
|
-
}
|
|
1302
|
-
|
|
1303
|
-
export interface ConsentStatsGetInput {
|
|
1304
|
-
/**
|
|
1305
|
-
* Time window for aggregation in days, e.g. "30d". Omit to use the server default (30d). Maximum: 365d.
|
|
1306
|
-
*/
|
|
1307
|
-
range?: string
|
|
1308
|
-
}
|
|
1309
|
-
|
|
1310
|
-
export interface ConsentStatsGetOutput {
|
|
1311
|
-
range: {
|
|
1312
|
-
to: string
|
|
1313
|
-
from: string
|
|
1314
|
-
}
|
|
1315
|
-
total: number
|
|
1316
|
-
custom_pct: number
|
|
1317
|
-
by_category: {
|
|
1318
|
-
marketing_pct: number
|
|
1319
|
-
statistics_pct: number
|
|
1320
|
-
preferences_pct: number
|
|
1321
|
-
}
|
|
1322
|
-
deny_all_pct: number
|
|
1323
|
-
accept_all_pct: number
|
|
1324
|
-
}
|
|
1325
|
-
|
|
1326
|
-
export interface DeploymentAlertCreateInput {
|
|
1327
|
-
metric: ("cpu" | "memory" | "net_in" | "net_out" | "disk")
|
|
1328
|
-
enabled?: boolean
|
|
1329
|
-
targetId: string
|
|
1330
|
-
threshold: number
|
|
1331
|
-
comparator: ("gt" | "lt")
|
|
1332
|
-
targetKind: ("service" | "managed-service")
|
|
1333
|
-
}
|
|
1334
|
-
|
|
1335
|
-
export interface DeploymentAlertCreateOutput {
|
|
1336
|
-
id: string
|
|
1337
|
-
state: ("ok" | "firing")
|
|
1338
|
-
metric: ("cpu" | "memory" | "net_in" | "net_out" | "disk")
|
|
1339
|
-
enabled: boolean
|
|
1340
|
-
targetId: string
|
|
1341
|
-
createdAt: string
|
|
1342
|
-
productId: string
|
|
1343
|
-
threshold: number
|
|
1344
|
-
updatedAt: string
|
|
1345
|
-
comparator: ("gt" | "lt")
|
|
1346
|
-
targetKind: ("service" | "managed-service")
|
|
1347
|
-
environmentId: string
|
|
1348
|
-
lastEvaluatedAt: (string | null)
|
|
1349
|
-
lastStateChangeAt: (string | null)
|
|
1350
|
-
}
|
|
1351
|
-
|
|
1352
|
-
export interface DeploymentAlertDeleteInput {
|
|
1353
|
-
id: string
|
|
1354
|
-
}
|
|
1355
|
-
|
|
1356
|
-
export interface DeploymentAlertDeleteOutput {
|
|
1357
|
-
deleted: boolean
|
|
1358
|
-
}
|
|
1359
|
-
|
|
1360
|
-
export interface DeploymentAlertEventsListInput {
|
|
1361
|
-
limit?: number
|
|
1362
|
-
environmentId: string
|
|
1363
|
-
}
|
|
1364
|
-
|
|
1365
|
-
export type DeploymentAlertEventsListOutput = {
|
|
1366
|
-
id: string
|
|
1367
|
-
type: ("firing" | "resolved")
|
|
1368
|
-
value: number
|
|
1369
|
-
metric: ("cpu" | "memory" | "net_in" | "net_out" | "disk")
|
|
1370
|
-
ruleId: string
|
|
1371
|
-
targetId: string
|
|
1372
|
-
createdAt: string
|
|
1373
|
-
productId: string
|
|
1374
|
-
threshold: number
|
|
1375
|
-
targetKind: ("service" | "managed-service")
|
|
1376
|
-
}[]
|
|
1377
|
-
|
|
1378
|
-
export interface DeploymentAlertListInput {
|
|
1379
|
-
environmentId: string
|
|
1380
|
-
}
|
|
1381
|
-
|
|
1382
|
-
export type DeploymentAlertListOutput = {
|
|
1383
|
-
id: string
|
|
1384
|
-
state: ("ok" | "firing")
|
|
1385
|
-
metric: ("cpu" | "memory" | "net_in" | "net_out" | "disk")
|
|
1386
|
-
enabled: boolean
|
|
1387
|
-
targetId: string
|
|
1388
|
-
createdAt: string
|
|
1389
|
-
productId: string
|
|
1390
|
-
threshold: number
|
|
1391
|
-
updatedAt: string
|
|
1392
|
-
comparator: ("gt" | "lt")
|
|
1393
|
-
targetKind: ("service" | "managed-service")
|
|
1394
|
-
environmentId: string
|
|
1395
|
-
lastEvaluatedAt: (string | null)
|
|
1396
|
-
lastStateChangeAt: (string | null)
|
|
1397
|
-
}[]
|
|
1398
|
-
|
|
1399
|
-
export interface DeploymentAlertUpdateInput {
|
|
1400
|
-
id: string
|
|
1401
|
-
enabled?: boolean
|
|
1402
|
-
threshold?: number
|
|
1403
|
-
comparator?: ("gt" | "lt")
|
|
1404
|
-
}
|
|
1405
|
-
|
|
1406
|
-
export interface DeploymentAlertUpdateOutput {
|
|
1407
|
-
id: string
|
|
1408
|
-
state: ("ok" | "firing")
|
|
1409
|
-
metric: ("cpu" | "memory" | "net_in" | "net_out" | "disk")
|
|
1410
|
-
enabled: boolean
|
|
1411
|
-
targetId: string
|
|
1412
|
-
createdAt: string
|
|
1413
|
-
productId: string
|
|
1414
|
-
threshold: number
|
|
1415
|
-
updatedAt: string
|
|
1416
|
-
comparator: ("gt" | "lt")
|
|
1417
|
-
targetKind: ("service" | "managed-service")
|
|
1418
|
-
environmentId: string
|
|
1419
|
-
lastEvaluatedAt: (string | null)
|
|
1420
|
-
lastStateChangeAt: (string | null)
|
|
1421
|
-
}
|
|
1422
|
-
|
|
1423
|
-
export interface DeploymentAnalyticsQueryInput {
|
|
1424
|
-
q: string
|
|
1425
|
-
}
|
|
1426
|
-
|
|
1427
|
-
export interface DeploymentAnalyticsQueryOutput {
|
|
1428
|
-
sql: string
|
|
1429
|
-
rows: {
|
|
1430
|
-
[k: string]: unknown
|
|
1431
|
-
}[]
|
|
1432
|
-
answer: string
|
|
1433
|
-
truncated: boolean
|
|
1434
|
-
explanation: string
|
|
1435
|
-
}
|
|
1436
|
-
|
|
1437
|
-
export interface DeploymentAuditListInput {
|
|
1438
|
-
limit?: number
|
|
1439
|
-
action?: string
|
|
1440
|
-
actorId?: string
|
|
1441
|
-
serviceId?: string
|
|
1442
|
-
entityType?: ("variable" | "domain" | "service" | "environment" | "deployment" | "managed_service" | "volume" | "cloud-sql-instance" | "cloud-sql-database" | "cloud-sql-attachment" | "ssh_key" | "ssh_session")
|
|
1443
|
-
environmentId: string
|
|
1444
|
-
}
|
|
1445
|
-
|
|
1446
|
-
export type DeploymentAuditListOutput = {
|
|
1447
|
-
id: string
|
|
1448
|
-
action: string
|
|
1449
|
-
actorId: string
|
|
1450
|
-
entityId: (string | null)
|
|
1451
|
-
metadata: {
|
|
1452
|
-
[k: string]: unknown
|
|
1453
|
-
}
|
|
1454
|
-
createdAt: string
|
|
1455
|
-
productId: string
|
|
1456
|
-
serviceId: (string | null)
|
|
1457
|
-
actorEmail: string
|
|
1458
|
-
entityType: ("variable" | "domain" | "service" | "environment" | "deployment" | "managed_service" | "volume" | "cloud-sql-instance" | "cloud-sql-database" | "cloud-sql-attachment" | "ssh_key" | "ssh_session")
|
|
1459
|
-
environmentId: (string | null)
|
|
1460
|
-
}[]
|
|
1461
|
-
|
|
1462
|
-
export interface DeploymentBuildGetInput {
|
|
1463
|
-
id: string
|
|
1464
|
-
}
|
|
1465
|
-
|
|
1466
|
-
export interface DeploymentBuildGetOutput {
|
|
1467
|
-
id: string
|
|
1468
|
-
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed")
|
|
1469
|
-
builtAt: (string | null)
|
|
1470
|
-
imageRef: (string | null)
|
|
1471
|
-
commitSha: (string | null)
|
|
1472
|
-
createdAt: string
|
|
1473
|
-
serviceId: string
|
|
1474
|
-
startedAt: (string | null)
|
|
1475
|
-
finishedAt: (string | null)
|
|
1476
|
-
cloudBuildId: (string | null)
|
|
1477
|
-
lastErrorMessage: (string | null)
|
|
1478
|
-
}
|
|
1479
|
-
|
|
1480
|
-
export interface DeploymentBuildListInput {
|
|
1481
|
-
serviceId: string
|
|
1482
|
-
}
|
|
1483
|
-
|
|
1484
|
-
export type DeploymentBuildListOutput = {
|
|
1485
|
-
id: string
|
|
1486
|
-
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed")
|
|
1487
|
-
builtAt: (string | null)
|
|
1488
|
-
imageRef: (string | null)
|
|
1489
|
-
commitSha: (string | null)
|
|
1490
|
-
createdAt: string
|
|
1491
|
-
serviceId: string
|
|
1492
|
-
startedAt: (string | null)
|
|
1493
|
-
finishedAt: (string | null)
|
|
1494
|
-
cloudBuildId: (string | null)
|
|
1495
|
-
lastErrorMessage: (string | null)
|
|
1496
|
-
}[]
|
|
1497
|
-
|
|
1498
|
-
export interface DeploymentBuildLogsInput {
|
|
1499
|
-
tail?: number
|
|
1500
|
-
since?: string
|
|
1501
|
-
serviceId: string
|
|
1502
|
-
deploymentId: string
|
|
1503
|
-
}
|
|
1504
|
-
|
|
1505
|
-
export interface DeploymentBuildLogsOutput {
|
|
1506
|
-
lines: {
|
|
1507
|
-
ts: string
|
|
1508
|
-
text: string
|
|
1509
|
-
}[]
|
|
1510
|
-
cursor: (string | null)
|
|
1511
|
-
complete: boolean
|
|
1512
|
-
}
|
|
1513
|
-
|
|
1514
|
-
export interface DeploymentCanvasGetInput {
|
|
1515
|
-
environmentId: string
|
|
1516
|
-
}
|
|
1517
|
-
|
|
1518
|
-
export interface DeploymentCanvasGetOutput {
|
|
1519
|
-
edges: {
|
|
1520
|
-
id: string
|
|
1521
|
-
kind: ("cloud-sql" | "reference" | "host")
|
|
1522
|
-
label: string
|
|
1523
|
-
toKind: ("service" | "managed-service" | "cloud-sql")
|
|
1524
|
-
fromKind: "service"
|
|
1525
|
-
toNodeId: string
|
|
1526
|
-
fromNodeId: string
|
|
1527
|
-
}[]
|
|
1528
|
-
nodes: {
|
|
1529
|
-
x: number
|
|
1530
|
-
y: number
|
|
1531
|
-
id: string
|
|
1532
|
-
width: (number | null)
|
|
1533
|
-
height: (number | null)
|
|
1534
|
-
nodeId: string
|
|
1535
|
-
nodeKind: ("service" | "volume" | "managed-service" | "cloud-sql")
|
|
1536
|
-
createdAt: string
|
|
1537
|
-
updatedAt: string
|
|
1538
|
-
}[]
|
|
1539
|
-
services: {
|
|
1540
|
-
id: string
|
|
1541
|
-
name: string
|
|
1542
|
-
slug: string
|
|
1543
|
-
probes: {
|
|
1544
|
-
liveness?: DeploymentCanvasGetOutputReadiness
|
|
1545
|
-
readiness?: DeploymentCanvasGetOutputReadiness
|
|
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
|
-
environmentId: string
|
|
1588
|
-
}
|
|
1589
|
-
export interface DeploymentCanvasGetOutputReadiness {
|
|
1590
|
-
path: string
|
|
1591
|
-
port?: number
|
|
1592
|
-
periodSeconds?: number
|
|
1593
|
-
timeoutSeconds?: number
|
|
1594
|
-
failureThreshold?: number
|
|
1595
|
-
successThreshold?: number
|
|
1596
|
-
initialDelaySeconds?: number
|
|
1597
|
-
}
|
|
1598
|
-
|
|
1599
|
-
export interface DeploymentCanvasMoveNodeInput {
|
|
1600
|
-
x?: number
|
|
1601
|
-
y?: number
|
|
1602
|
-
width?: number
|
|
1603
|
-
height?: number
|
|
1604
|
-
nodeId: string
|
|
1605
|
-
environmentId: string
|
|
1606
|
-
}
|
|
1607
|
-
|
|
1608
|
-
export interface DeploymentCanvasMoveNodeOutput {
|
|
1609
|
-
x: number
|
|
1610
|
-
y: number
|
|
1611
|
-
id: string
|
|
1612
|
-
width: (number | null)
|
|
1613
|
-
height: (number | null)
|
|
1614
|
-
nodeId: string
|
|
1615
|
-
nodeKind: ("service" | "volume" | "managed-service" | "cloud-sql")
|
|
1616
|
-
createdAt: string
|
|
1617
|
-
updatedAt: string
|
|
1618
|
-
}
|
|
1619
|
-
|
|
1620
|
-
export interface DeploymentCloudSqlBackfillLogFlagsInput {
|
|
1621
|
-
instanceId?: string
|
|
1622
|
-
}
|
|
1623
|
-
|
|
1624
|
-
export interface DeploymentCloudSqlBackfillLogFlagsOutput {
|
|
1625
|
-
failed: {
|
|
1626
|
-
id: string
|
|
1627
|
-
name: string
|
|
1628
|
-
error: string
|
|
1629
|
-
}[]
|
|
1630
|
-
patched: number
|
|
1631
|
-
scanned: number
|
|
1632
|
-
skippedNoDrift: number
|
|
1633
|
-
restartRequired: {
|
|
1634
|
-
id: string
|
|
1635
|
-
name: string
|
|
1636
|
-
flags: string[]
|
|
1637
|
-
}[]
|
|
1638
|
-
skippedNotReady: number
|
|
1639
|
-
skippedRestartRequired: number
|
|
1640
|
-
}
|
|
1641
|
-
|
|
1642
|
-
export interface DeploymentCloudSqlDatabaseAttachInput {
|
|
1643
|
-
serviceId: string
|
|
1644
|
-
databaseId: string
|
|
1645
|
-
environmentId: string
|
|
1646
|
-
}
|
|
1647
|
-
|
|
1648
|
-
export interface DeploymentCloudSqlDatabaseAttachOutput {
|
|
1649
|
-
id: string
|
|
1650
|
-
status: string
|
|
1651
|
-
serviceId: string
|
|
1652
|
-
databaseId: string
|
|
1653
|
-
environmentId: string
|
|
1654
|
-
}
|
|
1655
|
-
|
|
1656
|
-
export interface DeploymentCloudSqlDatabaseCreateInput {
|
|
1657
|
-
label?: string
|
|
1658
|
-
instanceId: string
|
|
1659
|
-
}
|
|
1660
|
-
|
|
1661
|
-
export interface DeploymentCloudSqlDatabaseCreateOutput {
|
|
1662
|
-
id: string
|
|
1663
|
-
dbName: string
|
|
1664
|
-
status: string
|
|
1665
|
-
roleName: string
|
|
1666
|
-
createdAt: string
|
|
1667
|
-
productId: string
|
|
1668
|
-
updatedAt: string
|
|
1669
|
-
instanceId: string
|
|
1670
|
-
lastErrorMessage: (string | null)
|
|
1671
|
-
}
|
|
1672
|
-
|
|
1673
|
-
export interface DeploymentCloudSqlDatabaseDeleteInput {
|
|
1674
|
-
databaseId: string
|
|
1675
|
-
}
|
|
1676
|
-
|
|
1677
|
-
export interface DeploymentCloudSqlDatabaseDeleteOutput {
|
|
1678
|
-
[k: string]: unknown
|
|
1679
|
-
}
|
|
1680
|
-
|
|
1681
|
-
export interface DeploymentCloudSqlDatabaseDetachInput {
|
|
1682
|
-
attachmentId: string
|
|
1683
|
-
}
|
|
1684
|
-
|
|
1685
|
-
export interface DeploymentCloudSqlDatabaseDetachOutput {
|
|
1686
|
-
[k: string]: unknown
|
|
1687
|
-
}
|
|
1688
|
-
|
|
1689
|
-
export interface DeploymentCloudSqlDatabaseGetInput {
|
|
1690
|
-
databaseId: string
|
|
1691
|
-
}
|
|
1692
|
-
|
|
1693
|
-
export interface DeploymentCloudSqlDatabaseGetOutput {
|
|
1694
|
-
id: string
|
|
1695
|
-
dbName: string
|
|
1696
|
-
status: string
|
|
1697
|
-
roleName: string
|
|
1698
|
-
createdAt: string
|
|
1699
|
-
productId: string
|
|
1700
|
-
updatedAt: string
|
|
1701
|
-
instanceId: string
|
|
1702
|
-
lastErrorMessage: (string | null)
|
|
1703
|
-
}
|
|
1704
|
-
|
|
1705
|
-
export interface DeploymentCloudSqlDatabaseListInput {
|
|
1706
|
-
instanceId: string
|
|
1707
|
-
}
|
|
1708
|
-
|
|
1709
|
-
export type DeploymentCloudSqlDatabaseListOutput = {
|
|
1710
|
-
id: string
|
|
1711
|
-
dbName: string
|
|
1712
|
-
status: string
|
|
1713
|
-
roleName: string
|
|
1714
|
-
createdAt: string
|
|
1715
|
-
productId: string
|
|
1716
|
-
updatedAt: string
|
|
1717
|
-
instanceId: string
|
|
1718
|
-
lastErrorMessage: (string | null)
|
|
1719
|
-
}[]
|
|
1720
|
-
|
|
1721
|
-
export interface DeploymentCloudSqlInstanceBackupInput {
|
|
1722
|
-
instanceId: string
|
|
1723
|
-
}
|
|
1724
|
-
|
|
1725
|
-
export interface DeploymentCloudSqlInstanceBackupOutput {
|
|
1726
|
-
id: string
|
|
1727
|
-
name: string
|
|
1728
|
-
tier: string
|
|
1729
|
-
label: string
|
|
1730
|
-
region: string
|
|
1731
|
-
status: string
|
|
1732
|
-
createdAt: string
|
|
1733
|
-
pgVersion: string
|
|
1734
|
-
privateIp: (string | null)
|
|
1735
|
-
productId: string
|
|
1736
|
-
updatedAt: string
|
|
1737
|
-
pitrEnabled: boolean
|
|
1738
|
-
backupsEnabled: boolean
|
|
1739
|
-
connectionName: (string | null)
|
|
1740
|
-
lastErrorMessage: (string | null)
|
|
1741
|
-
}
|
|
1742
|
-
|
|
1743
|
-
export interface DeploymentCloudSqlInstanceBackupListInput {
|
|
1744
|
-
instanceId: string
|
|
1745
|
-
}
|
|
1746
|
-
|
|
1747
|
-
export type DeploymentCloudSqlInstanceBackupListOutput = {
|
|
1748
|
-
id: string
|
|
1749
|
-
type: string
|
|
1750
|
-
error: (string | null)
|
|
1751
|
-
status: string
|
|
1752
|
-
endTime: (string | null)
|
|
1753
|
-
startTime: (string | null)
|
|
1754
|
-
description: (string | null)
|
|
1755
|
-
}[]
|
|
1756
|
-
|
|
1757
|
-
export interface DeploymentCloudSqlInstanceCreateInput {
|
|
1758
|
-
tier?: ("db-custom-1-3840" | "db-custom-2-7680" | "db-custom-4-15360")
|
|
1759
|
-
label: string
|
|
1760
|
-
pgVersion?: ("16" | "17" | "18")
|
|
1761
|
-
}
|
|
1762
|
-
|
|
1763
|
-
export interface DeploymentCloudSqlInstanceCreateOutput {
|
|
1764
|
-
id: string
|
|
1765
|
-
name: string
|
|
1766
|
-
tier: string
|
|
1767
|
-
label: string
|
|
1768
|
-
region: string
|
|
1769
|
-
status: string
|
|
1770
|
-
createdAt: string
|
|
1771
|
-
pgVersion: string
|
|
1772
|
-
privateIp: (string | null)
|
|
1773
|
-
productId: string
|
|
1774
|
-
updatedAt: string
|
|
1775
|
-
pitrEnabled: boolean
|
|
1776
|
-
backupsEnabled: boolean
|
|
1777
|
-
connectionName: (string | null)
|
|
1778
|
-
lastErrorMessage: (string | null)
|
|
1779
|
-
}
|
|
1780
|
-
|
|
1781
|
-
export interface DeploymentCloudSqlInstanceDeleteInput {
|
|
1782
|
-
instanceId: string
|
|
1783
|
-
}
|
|
1784
|
-
|
|
1785
|
-
export interface DeploymentCloudSqlInstanceDeleteOutput {
|
|
1786
|
-
[k: string]: unknown
|
|
1787
|
-
}
|
|
1788
|
-
|
|
1789
|
-
export interface DeploymentCloudSqlInstanceGetInput {
|
|
1790
|
-
instanceId: string
|
|
1791
|
-
}
|
|
1792
|
-
|
|
1793
|
-
export interface DeploymentCloudSqlInstanceGetOutput {
|
|
1794
|
-
id: string
|
|
1795
|
-
name: string
|
|
1796
|
-
tier: string
|
|
1797
|
-
label: string
|
|
1798
|
-
region: string
|
|
1799
|
-
status: string
|
|
1800
|
-
createdAt: string
|
|
1801
|
-
pgVersion: string
|
|
1802
|
-
privateIp: (string | null)
|
|
1803
|
-
productId: string
|
|
1804
|
-
updatedAt: string
|
|
1805
|
-
pitrEnabled: boolean
|
|
1806
|
-
backupsEnabled: boolean
|
|
1807
|
-
connectionName: (string | null)
|
|
1808
|
-
lastErrorMessage: (string | null)
|
|
1809
|
-
}
|
|
1810
|
-
|
|
1811
|
-
export interface DeploymentCloudSqlInstanceListInput {
|
|
1812
|
-
|
|
1813
|
-
}
|
|
1814
|
-
|
|
1815
|
-
export type DeploymentCloudSqlInstanceListOutput = {
|
|
1816
|
-
id: string
|
|
1817
|
-
name: string
|
|
1818
|
-
tier: string
|
|
1819
|
-
label: string
|
|
1820
|
-
region: string
|
|
1821
|
-
status: string
|
|
1822
|
-
createdAt: string
|
|
1823
|
-
pgVersion: string
|
|
1824
|
-
privateIp: (string | null)
|
|
1825
|
-
productId: string
|
|
1826
|
-
updatedAt: string
|
|
1827
|
-
pitrEnabled: boolean
|
|
1828
|
-
backupsEnabled: boolean
|
|
1829
|
-
connectionName: (string | null)
|
|
1830
|
-
lastErrorMessage: (string | null)
|
|
1831
|
-
}[]
|
|
1832
|
-
|
|
1833
|
-
export interface DeploymentCloudSqlInstanceResizeInput {
|
|
1834
|
-
tier: ("db-custom-1-3840" | "db-custom-2-7680" | "db-custom-4-15360")
|
|
1835
|
-
instanceId: string
|
|
1836
|
-
}
|
|
1837
|
-
|
|
1838
|
-
export interface DeploymentCloudSqlInstanceResizeOutput {
|
|
1839
|
-
id: string
|
|
1840
|
-
name: string
|
|
1841
|
-
tier: string
|
|
1842
|
-
label: string
|
|
1843
|
-
region: string
|
|
1844
|
-
status: string
|
|
1845
|
-
createdAt: string
|
|
1846
|
-
pgVersion: string
|
|
1847
|
-
privateIp: (string | null)
|
|
1848
|
-
productId: string
|
|
1849
|
-
updatedAt: string
|
|
1850
|
-
pitrEnabled: boolean
|
|
1851
|
-
backupsEnabled: boolean
|
|
1852
|
-
connectionName: (string | null)
|
|
1853
|
-
lastErrorMessage: (string | null)
|
|
1854
|
-
}
|
|
1855
|
-
|
|
1856
|
-
export interface DeploymentCloudSqlInstanceRestoreInput {
|
|
1857
|
-
instanceId: string
|
|
1858
|
-
backupRunId: string
|
|
1859
|
-
}
|
|
1860
|
-
|
|
1861
|
-
export interface DeploymentCloudSqlInstanceRestoreOutput {
|
|
1862
|
-
id: string
|
|
1863
|
-
name: string
|
|
1864
|
-
tier: string
|
|
1865
|
-
label: string
|
|
1866
|
-
region: string
|
|
1867
|
-
status: string
|
|
1868
|
-
createdAt: string
|
|
1869
|
-
pgVersion: string
|
|
1870
|
-
privateIp: (string | null)
|
|
1871
|
-
productId: string
|
|
1872
|
-
updatedAt: string
|
|
1873
|
-
pitrEnabled: boolean
|
|
1874
|
-
backupsEnabled: boolean
|
|
1875
|
-
connectionName: (string | null)
|
|
1876
|
-
lastErrorMessage: (string | null)
|
|
1877
|
-
}
|
|
1878
|
-
|
|
1879
|
-
export interface DeploymentCloudSqlLogsInput {
|
|
1880
|
-
tail?: number
|
|
1881
|
-
instanceId: string
|
|
1882
|
-
}
|
|
1883
|
-
|
|
1884
|
-
export interface DeploymentCloudSqlLogsOutput {
|
|
1885
|
-
lines: string[]
|
|
1886
|
-
}
|
|
1887
|
-
|
|
1888
|
-
export interface DeploymentDeploymentCancelInput {
|
|
1889
|
-
serviceId: string
|
|
1890
|
-
deploymentId: string
|
|
1891
|
-
}
|
|
1892
|
-
|
|
1893
|
-
export interface DeploymentDeploymentCancelOutput {
|
|
1894
|
-
id: string
|
|
1895
|
-
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed")
|
|
1896
|
-
builtAt: (string | null)
|
|
1897
|
-
imageRef: (string | null)
|
|
1898
|
-
commitSha: (string | null)
|
|
1899
|
-
createdAt: string
|
|
1900
|
-
serviceId: string
|
|
1901
|
-
startedAt: (string | null)
|
|
1902
|
-
updatedAt: string
|
|
1903
|
-
deployedAt: (string | null)
|
|
1904
|
-
finishedAt: (string | null)
|
|
1905
|
-
cloudBuildId: (string | null)
|
|
1906
|
-
configSnapshot: {
|
|
1907
|
-
source?: unknown
|
|
1908
|
-
variables: {
|
|
1909
|
-
key: string
|
|
1910
|
-
value: string
|
|
1911
|
-
}[]
|
|
1912
|
-
}
|
|
1913
|
-
lastErrorMessage: (string | null)
|
|
1914
|
-
rolledBackFromDeploymentId: (string | null)
|
|
1915
|
-
}
|
|
1916
|
-
|
|
1917
|
-
export interface DeploymentDeploymentGetInput {
|
|
1918
|
-
id: string
|
|
1919
|
-
}
|
|
1920
|
-
|
|
1921
|
-
export interface DeploymentDeploymentGetOutput {
|
|
1922
|
-
id: string
|
|
1923
|
-
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed")
|
|
1924
|
-
builtAt: (string | null)
|
|
1925
|
-
imageRef: (string | null)
|
|
1926
|
-
commitSha: (string | null)
|
|
1927
|
-
createdAt: string
|
|
1928
|
-
serviceId: string
|
|
1929
|
-
startedAt: (string | null)
|
|
1930
|
-
updatedAt: string
|
|
1931
|
-
deployedAt: (string | null)
|
|
1932
|
-
finishedAt: (string | null)
|
|
1933
|
-
cloudBuildId: (string | null)
|
|
1934
|
-
configSnapshot: {
|
|
1935
|
-
source?: unknown
|
|
1936
|
-
variables: {
|
|
1937
|
-
key: string
|
|
1938
|
-
value: string
|
|
1939
|
-
}[]
|
|
1940
|
-
}
|
|
1941
|
-
lastErrorMessage: (string | null)
|
|
1942
|
-
rolledBackFromDeploymentId: (string | null)
|
|
1943
|
-
}
|
|
1944
|
-
|
|
1945
|
-
export interface DeploymentDeploymentListInput {
|
|
1946
|
-
serviceId: string
|
|
1947
|
-
}
|
|
1948
|
-
|
|
1949
|
-
export type DeploymentDeploymentListOutput = {
|
|
1950
|
-
id: string
|
|
1951
|
-
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed")
|
|
1952
|
-
builtAt: (string | null)
|
|
1953
|
-
imageRef: (string | null)
|
|
1954
|
-
commitSha: (string | null)
|
|
1955
|
-
createdAt: string
|
|
1956
|
-
serviceId: string
|
|
1957
|
-
startedAt: (string | null)
|
|
1958
|
-
updatedAt: string
|
|
1959
|
-
deployedAt: (string | null)
|
|
1960
|
-
finishedAt: (string | null)
|
|
1961
|
-
cloudBuildId: (string | null)
|
|
1962
|
-
configSnapshot: {
|
|
1963
|
-
source?: unknown
|
|
1964
|
-
variables: {
|
|
1965
|
-
key: string
|
|
1966
|
-
value: string
|
|
1967
|
-
}[]
|
|
1968
|
-
}
|
|
1969
|
-
lastErrorMessage: (string | null)
|
|
1970
|
-
rolledBackFromDeploymentId: (string | null)
|
|
1971
|
-
}[]
|
|
1972
|
-
|
|
1973
|
-
export interface DeploymentDomainAddInput {
|
|
1974
|
-
hostname: string
|
|
1975
|
-
pathPrefix?: string
|
|
1976
|
-
redirectWww?: boolean
|
|
1977
|
-
environmentId: string
|
|
1978
|
-
defaultServiceId: string
|
|
1979
|
-
}
|
|
1980
|
-
|
|
1981
|
-
export interface DeploymentDomainAddOutput {
|
|
1982
|
-
id: string
|
|
1983
|
-
kind: ("auto" | "custom")
|
|
1984
|
-
routes: {
|
|
1985
|
-
id: string
|
|
1986
|
-
domainId: string
|
|
1987
|
-
priority: number
|
|
1988
|
-
createdAt: string
|
|
1989
|
-
isDefault: boolean
|
|
1990
|
-
serviceId: string
|
|
1991
|
-
updatedAt: string
|
|
1992
|
-
pathPrefix: string
|
|
1993
|
-
}[]
|
|
1994
|
-
hostname: string
|
|
1995
|
-
createdAt: string
|
|
1996
|
-
tlsStatus: ("none" | "pending" | "issuing" | "active" | "failed")
|
|
1997
|
-
updatedAt: string
|
|
1998
|
-
lastProbeAt: (string | null)
|
|
1999
|
-
redirectWww: boolean
|
|
2000
|
-
environmentId: string
|
|
2001
|
-
routingStatus: ("provisioning" | "propagating" | "active" | "failed")
|
|
2002
|
-
lastProbeError: (string | null)
|
|
2003
|
-
dnsInstructions: ({
|
|
2004
|
-
txt: {
|
|
2005
|
-
name: string
|
|
2006
|
-
value: string
|
|
2007
|
-
}
|
|
2008
|
-
routing: DeploymentDomainAddOutputItems[]
|
|
2009
|
-
acmeChallenge?: DeploymentDomainAddOutputItems
|
|
2010
|
-
} | null)
|
|
2011
|
-
routingRecordType: ("A" | "CNAME")
|
|
2012
|
-
verificationToken: (string | null)
|
|
2013
|
-
verificationStatus: ("pending_dns" | "verified" | "dns_failed")
|
|
2014
|
-
lastVerificationError: (({
|
|
2015
|
-
code: (string | null)
|
|
2016
|
-
reason: "transient"
|
|
2017
|
-
checkedAt: string
|
|
2018
|
-
} | {
|
|
2019
|
-
txt?: {
|
|
2020
|
-
got: string[]
|
|
2021
|
-
want: string
|
|
2022
|
-
}
|
|
2023
|
-
host?: {
|
|
2024
|
-
got: string[]
|
|
2025
|
-
want: string[]
|
|
2026
|
-
}
|
|
2027
|
-
reason: "mismatch"
|
|
2028
|
-
checkedAt: string
|
|
2029
|
-
}) | null)
|
|
2030
|
-
lastVerificationCheckAt: (string | null)
|
|
2031
|
-
tlsCertificateExpiresAt: (string | null)
|
|
2032
|
-
}
|
|
2033
|
-
export interface DeploymentDomainAddOutputItems {
|
|
2034
|
-
name: string
|
|
2035
|
-
value: string
|
|
2036
|
-
recordType: ("A" | "CNAME" | "ALIAS")
|
|
2037
|
-
}
|
|
2038
|
-
|
|
2039
|
-
export interface DeploymentDomainAllowedListInput {
|
|
2040
|
-
|
|
2041
|
-
}
|
|
2042
|
-
|
|
2043
|
-
export interface DeploymentDomainAllowedListOutput {
|
|
2044
|
-
domains: {
|
|
2045
|
-
mode: ("external" | "managed")
|
|
2046
|
-
domain: string
|
|
2047
|
-
domainId: string
|
|
2048
|
-
}[]
|
|
2049
|
-
}
|
|
2050
|
-
|
|
2051
|
-
export interface DeploymentDomainGetInput {
|
|
2052
|
-
id: string
|
|
2053
|
-
}
|
|
2054
|
-
|
|
2055
|
-
export interface DeploymentDomainGetOutput {
|
|
2056
|
-
id: string
|
|
2057
|
-
kind: ("auto" | "custom")
|
|
2058
|
-
hostname: string
|
|
2059
|
-
createdAt: string
|
|
2060
|
-
tlsStatus: ("none" | "pending" | "issuing" | "active" | "failed")
|
|
2061
|
-
updatedAt: string
|
|
2062
|
-
lastProbeAt: (string | null)
|
|
2063
|
-
redirectWww: boolean
|
|
2064
|
-
environmentId: string
|
|
2065
|
-
routingStatus: ("provisioning" | "propagating" | "active" | "failed")
|
|
2066
|
-
lastProbeError: (string | null)
|
|
2067
|
-
dnsInstructions: ({
|
|
2068
|
-
txt: {
|
|
2069
|
-
name: string
|
|
2070
|
-
value: string
|
|
2071
|
-
}
|
|
2072
|
-
routing: DeploymentDomainGetOutputItems[]
|
|
2073
|
-
acmeChallenge?: DeploymentDomainGetOutputItems
|
|
2074
|
-
} | null)
|
|
2075
|
-
routingRecordType: ("A" | "CNAME")
|
|
2076
|
-
verificationToken: (string | null)
|
|
2077
|
-
verificationStatus: ("pending_dns" | "verified" | "dns_failed")
|
|
2078
|
-
lastVerificationError: (({
|
|
2079
|
-
code: (string | null)
|
|
2080
|
-
reason: "transient"
|
|
2081
|
-
checkedAt: string
|
|
2082
|
-
} | {
|
|
2083
|
-
txt?: {
|
|
2084
|
-
got: string[]
|
|
2085
|
-
want: string
|
|
2086
|
-
}
|
|
2087
|
-
host?: {
|
|
2088
|
-
got: string[]
|
|
2089
|
-
want: string[]
|
|
2090
|
-
}
|
|
2091
|
-
reason: "mismatch"
|
|
2092
|
-
checkedAt: string
|
|
2093
|
-
}) | null)
|
|
2094
|
-
lastVerificationCheckAt: (string | null)
|
|
2095
|
-
tlsCertificateExpiresAt: (string | null)
|
|
2096
|
-
}
|
|
2097
|
-
export interface DeploymentDomainGetOutputItems {
|
|
2098
|
-
name: string
|
|
2099
|
-
value: string
|
|
2100
|
-
recordType: ("A" | "CNAME" | "ALIAS")
|
|
2101
|
-
}
|
|
2102
|
-
|
|
2103
|
-
export interface DeploymentDomainListInput {
|
|
2104
|
-
environmentId: string
|
|
2105
|
-
}
|
|
2106
|
-
|
|
2107
|
-
export type DeploymentDomainListOutput = {
|
|
2108
|
-
id: string
|
|
2109
|
-
kind: ("auto" | "custom")
|
|
2110
|
-
hostname: string
|
|
2111
|
-
createdAt: string
|
|
2112
|
-
tlsStatus: ("none" | "pending" | "issuing" | "active" | "failed")
|
|
2113
|
-
updatedAt: string
|
|
2114
|
-
lastProbeAt: (string | null)
|
|
2115
|
-
redirectWww: boolean
|
|
2116
|
-
environmentId: string
|
|
2117
|
-
routingStatus: ("provisioning" | "propagating" | "active" | "failed")
|
|
2118
|
-
lastProbeError: (string | null)
|
|
2119
|
-
dnsInstructions: ({
|
|
2120
|
-
txt: {
|
|
2121
|
-
name: string
|
|
2122
|
-
value: string
|
|
2123
|
-
}
|
|
2124
|
-
routing: DeploymentDomainListOutputItems[]
|
|
2125
|
-
acmeChallenge?: DeploymentDomainListOutputItems
|
|
2126
|
-
} | null)
|
|
2127
|
-
routingRecordType: ("A" | "CNAME")
|
|
2128
|
-
verificationToken: (string | null)
|
|
2129
|
-
verificationStatus: ("pending_dns" | "verified" | "dns_failed")
|
|
2130
|
-
lastVerificationError: (({
|
|
2131
|
-
code: (string | null)
|
|
2132
|
-
reason: "transient"
|
|
2133
|
-
checkedAt: string
|
|
2134
|
-
} | {
|
|
2135
|
-
txt?: {
|
|
2136
|
-
got: string[]
|
|
2137
|
-
want: string
|
|
2138
|
-
}
|
|
2139
|
-
host?: {
|
|
2140
|
-
got: string[]
|
|
2141
|
-
want: string[]
|
|
2142
|
-
}
|
|
2143
|
-
reason: "mismatch"
|
|
2144
|
-
checkedAt: string
|
|
2145
|
-
}) | null)
|
|
2146
|
-
lastVerificationCheckAt: (string | null)
|
|
2147
|
-
tlsCertificateExpiresAt: (string | null)
|
|
2148
|
-
}[]
|
|
2149
|
-
|
|
2150
|
-
export interface DeploymentDomainListOutputItems {
|
|
2151
|
-
name: string
|
|
2152
|
-
value: string
|
|
2153
|
-
recordType: ("A" | "CNAME" | "ALIAS")
|
|
2154
|
-
}
|
|
2155
|
-
|
|
2156
|
-
export interface DeploymentDomainListByServiceInput {
|
|
2157
|
-
serviceId: string
|
|
2158
|
-
}
|
|
2159
|
-
|
|
2160
|
-
export type DeploymentDomainListByServiceOutput = {
|
|
2161
|
-
id: string
|
|
2162
|
-
kind: ("auto" | "custom")
|
|
2163
|
-
hostname: string
|
|
2164
|
-
createdAt: string
|
|
2165
|
-
tlsStatus: ("none" | "pending" | "issuing" | "active" | "failed")
|
|
2166
|
-
updatedAt: string
|
|
2167
|
-
lastProbeAt: (string | null)
|
|
2168
|
-
redirectWww: boolean
|
|
2169
|
-
environmentId: string
|
|
2170
|
-
routingStatus: ("provisioning" | "propagating" | "active" | "failed")
|
|
2171
|
-
lastProbeError: (string | null)
|
|
2172
|
-
dnsInstructions: ({
|
|
2173
|
-
txt: {
|
|
2174
|
-
name: string
|
|
2175
|
-
value: string
|
|
2176
|
-
}
|
|
2177
|
-
routing: DeploymentDomainListByServiceOutputItems[]
|
|
2178
|
-
acmeChallenge?: DeploymentDomainListByServiceOutputItems
|
|
2179
|
-
} | null)
|
|
2180
|
-
routingRecordType: ("A" | "CNAME")
|
|
2181
|
-
verificationToken: (string | null)
|
|
2182
|
-
verificationStatus: ("pending_dns" | "verified" | "dns_failed")
|
|
2183
|
-
lastVerificationError: (({
|
|
2184
|
-
code: (string | null)
|
|
2185
|
-
reason: "transient"
|
|
2186
|
-
checkedAt: string
|
|
2187
|
-
} | {
|
|
2188
|
-
txt?: {
|
|
2189
|
-
got: string[]
|
|
2190
|
-
want: string
|
|
2191
|
-
}
|
|
2192
|
-
host?: {
|
|
2193
|
-
got: string[]
|
|
2194
|
-
want: string[]
|
|
2195
|
-
}
|
|
2196
|
-
reason: "mismatch"
|
|
2197
|
-
checkedAt: string
|
|
2198
|
-
}) | null)
|
|
2199
|
-
lastVerificationCheckAt: (string | null)
|
|
2200
|
-
tlsCertificateExpiresAt: (string | null)
|
|
2201
|
-
}[]
|
|
2202
|
-
|
|
2203
|
-
export interface DeploymentDomainListByServiceOutputItems {
|
|
2204
|
-
name: string
|
|
2205
|
-
value: string
|
|
2206
|
-
recordType: ("A" | "CNAME" | "ALIAS")
|
|
2207
|
-
}
|
|
2208
|
-
|
|
2209
|
-
export interface DeploymentDomainRedirectWwwInput {
|
|
2210
|
-
id: string
|
|
2211
|
-
enabled: boolean
|
|
2212
|
-
}
|
|
2213
|
-
|
|
2214
|
-
export interface DeploymentDomainRedirectWwwOutput {
|
|
2215
|
-
id: string
|
|
2216
|
-
kind: ("auto" | "custom")
|
|
2217
|
-
hostname: string
|
|
2218
|
-
createdAt: string
|
|
2219
|
-
tlsStatus: ("none" | "pending" | "issuing" | "active" | "failed")
|
|
2220
|
-
updatedAt: string
|
|
2221
|
-
lastProbeAt: (string | null)
|
|
2222
|
-
redirectWww: boolean
|
|
2223
|
-
environmentId: string
|
|
2224
|
-
routingStatus: ("provisioning" | "propagating" | "active" | "failed")
|
|
2225
|
-
lastProbeError: (string | null)
|
|
2226
|
-
dnsInstructions: ({
|
|
2227
|
-
txt: {
|
|
2228
|
-
name: string
|
|
2229
|
-
value: string
|
|
2230
|
-
}
|
|
2231
|
-
routing: DeploymentDomainRedirectWwwOutputItems[]
|
|
2232
|
-
acmeChallenge?: DeploymentDomainRedirectWwwOutputItems
|
|
2233
|
-
} | null)
|
|
2234
|
-
routingRecordType: ("A" | "CNAME")
|
|
2235
|
-
verificationToken: (string | null)
|
|
2236
|
-
verificationStatus: ("pending_dns" | "verified" | "dns_failed")
|
|
2237
|
-
lastVerificationError: (({
|
|
2238
|
-
code: (string | null)
|
|
2239
|
-
reason: "transient"
|
|
2240
|
-
checkedAt: string
|
|
2241
|
-
} | {
|
|
2242
|
-
txt?: {
|
|
2243
|
-
got: string[]
|
|
2244
|
-
want: string
|
|
2245
|
-
}
|
|
2246
|
-
host?: {
|
|
2247
|
-
got: string[]
|
|
2248
|
-
want: string[]
|
|
2249
|
-
}
|
|
2250
|
-
reason: "mismatch"
|
|
2251
|
-
checkedAt: string
|
|
2252
|
-
}) | null)
|
|
2253
|
-
lastVerificationCheckAt: (string | null)
|
|
2254
|
-
tlsCertificateExpiresAt: (string | null)
|
|
2255
|
-
}
|
|
2256
|
-
export interface DeploymentDomainRedirectWwwOutputItems {
|
|
2257
|
-
name: string
|
|
2258
|
-
value: string
|
|
2259
|
-
recordType: ("A" | "CNAME" | "ALIAS")
|
|
2260
|
-
}
|
|
2261
|
-
|
|
2262
|
-
export interface DeploymentDomainRemoveInput {
|
|
2263
|
-
id: string
|
|
2264
|
-
}
|
|
2265
|
-
|
|
2266
|
-
export interface DeploymentDomainRemoveOutput {
|
|
2267
|
-
[k: string]: unknown
|
|
2268
|
-
}
|
|
2269
|
-
|
|
2270
|
-
export interface DeploymentDomainRoutesAddInput {
|
|
2271
|
-
domainId: string
|
|
2272
|
-
priority?: number
|
|
2273
|
-
isDefault?: boolean
|
|
2274
|
-
serviceId: string
|
|
2275
|
-
pathPrefix: string
|
|
2276
|
-
}
|
|
2277
|
-
|
|
2278
|
-
export interface DeploymentDomainRoutesAddOutput {
|
|
2279
|
-
id: string
|
|
2280
|
-
domainId: string
|
|
2281
|
-
priority: number
|
|
2282
|
-
createdAt: string
|
|
2283
|
-
isDefault: boolean
|
|
2284
|
-
serviceId: string
|
|
2285
|
-
updatedAt: string
|
|
2286
|
-
pathPrefix: string
|
|
2287
|
-
}
|
|
2288
|
-
|
|
2289
|
-
export interface DeploymentDomainRoutesListInput {
|
|
2290
|
-
domainId: string
|
|
2291
|
-
}
|
|
2292
|
-
|
|
2293
|
-
export type DeploymentDomainRoutesListOutput = {
|
|
2294
|
-
id: string
|
|
2295
|
-
domainId: string
|
|
2296
|
-
priority: number
|
|
2297
|
-
createdAt: string
|
|
2298
|
-
isDefault: boolean
|
|
2299
|
-
serviceId: string
|
|
2300
|
-
updatedAt: string
|
|
2301
|
-
pathPrefix: string
|
|
2302
|
-
}[]
|
|
2303
|
-
|
|
2304
|
-
export interface DeploymentDomainRoutesRemoveInput {
|
|
2305
|
-
routeId: string
|
|
2306
|
-
domainId: string
|
|
2307
|
-
}
|
|
2308
|
-
|
|
2309
|
-
export interface DeploymentDomainRoutesRemoveOutput {
|
|
2310
|
-
[k: string]: unknown
|
|
2311
|
-
}
|
|
2312
|
-
|
|
2313
|
-
export interface DeploymentDomainRoutesUpdateInput {
|
|
2314
|
-
routeId: string
|
|
2315
|
-
domainId: string
|
|
2316
|
-
priority?: number
|
|
2317
|
-
serviceId?: string
|
|
2318
|
-
pathPrefix?: string
|
|
2319
|
-
}
|
|
2320
|
-
|
|
2321
|
-
export interface DeploymentDomainRoutesUpdateOutput {
|
|
2322
|
-
id: string
|
|
2323
|
-
domainId: string
|
|
2324
|
-
priority: number
|
|
2325
|
-
createdAt: string
|
|
2326
|
-
isDefault: boolean
|
|
2327
|
-
serviceId: string
|
|
2328
|
-
updatedAt: string
|
|
2329
|
-
pathPrefix: string
|
|
2330
|
-
}
|
|
2331
|
-
|
|
2332
|
-
export interface DeploymentDomainVerifyInput {
|
|
2333
|
-
id: string
|
|
2334
|
-
}
|
|
2335
|
-
|
|
2336
|
-
export interface DeploymentDomainVerifyOutput {
|
|
2337
|
-
id: string
|
|
2338
|
-
kind: ("auto" | "custom")
|
|
2339
|
-
hostname: string
|
|
2340
|
-
createdAt: string
|
|
2341
|
-
tlsStatus: ("none" | "pending" | "issuing" | "active" | "failed")
|
|
2342
|
-
updatedAt: string
|
|
2343
|
-
lastProbeAt: (string | null)
|
|
2344
|
-
redirectWww: boolean
|
|
2345
|
-
environmentId: string
|
|
2346
|
-
routingStatus: ("provisioning" | "propagating" | "active" | "failed")
|
|
2347
|
-
lastProbeError: (string | null)
|
|
2348
|
-
dnsInstructions: ({
|
|
2349
|
-
txt: {
|
|
2350
|
-
name: string
|
|
2351
|
-
value: string
|
|
2352
|
-
}
|
|
2353
|
-
routing: DeploymentDomainVerifyOutputItems[]
|
|
2354
|
-
acmeChallenge?: DeploymentDomainVerifyOutputItems
|
|
2355
|
-
} | null)
|
|
2356
|
-
routingRecordType: ("A" | "CNAME")
|
|
2357
|
-
verificationToken: (string | null)
|
|
2358
|
-
verificationStatus: ("pending_dns" | "verified" | "dns_failed")
|
|
2359
|
-
lastVerificationError: (({
|
|
2360
|
-
code: (string | null)
|
|
2361
|
-
reason: "transient"
|
|
2362
|
-
checkedAt: string
|
|
2363
|
-
} | {
|
|
2364
|
-
txt?: {
|
|
2365
|
-
got: string[]
|
|
2366
|
-
want: string
|
|
2367
|
-
}
|
|
2368
|
-
host?: {
|
|
2369
|
-
got: string[]
|
|
2370
|
-
want: string[]
|
|
2371
|
-
}
|
|
2372
|
-
reason: "mismatch"
|
|
2373
|
-
checkedAt: string
|
|
2374
|
-
}) | null)
|
|
2375
|
-
lastVerificationCheckAt: (string | null)
|
|
2376
|
-
tlsCertificateExpiresAt: (string | null)
|
|
2377
|
-
}
|
|
2378
|
-
export interface DeploymentDomainVerifyOutputItems {
|
|
2379
|
-
name: string
|
|
2380
|
-
value: string
|
|
2381
|
-
recordType: ("A" | "CNAME" | "ALIAS")
|
|
2382
|
-
}
|
|
2383
|
-
|
|
2384
|
-
export interface DeploymentEnvironmentCreateInput {
|
|
2385
|
-
name: string
|
|
2386
|
-
slug?: string
|
|
2387
|
-
}
|
|
2388
|
-
|
|
2389
|
-
export interface DeploymentEnvironmentCreateOutput {
|
|
2390
|
-
id: string
|
|
2391
|
-
name: string
|
|
2392
|
-
slug: string
|
|
2393
|
-
type: ("persistent" | "pr-preview")
|
|
2394
|
-
status: ("provisioning" | "ready" | "provisioning_failed" | "deprovisioning" | "deprovisioning_failed")
|
|
2395
|
-
prBranch: (string | null)
|
|
2396
|
-
prNumber: (number | null)
|
|
2397
|
-
createdAt: string
|
|
2398
|
-
expiresAt: (string | null)
|
|
2399
|
-
updatedAt: string
|
|
2400
|
-
isProduction: boolean
|
|
2401
|
-
lastErrorMessage: (string | null)
|
|
2402
|
-
baseEnvironmentId: (string | null)
|
|
2403
|
-
}
|
|
2404
|
-
|
|
2405
|
-
export interface DeploymentEnvironmentDeleteInput {
|
|
2406
|
-
id: string
|
|
2407
|
-
}
|
|
2408
|
-
|
|
2409
|
-
export interface DeploymentEnvironmentDeleteOutput {
|
|
2410
|
-
[k: string]: unknown
|
|
2411
|
-
}
|
|
2412
|
-
|
|
2413
|
-
export interface DeploymentEnvironmentForkInput {
|
|
2414
|
-
name: string
|
|
2415
|
-
slug?: string
|
|
2416
|
-
baseEnvironmentId: string
|
|
2417
|
-
}
|
|
2418
|
-
|
|
2419
|
-
export interface DeploymentEnvironmentForkOutput {
|
|
2420
|
-
id: string
|
|
2421
|
-
name: string
|
|
2422
|
-
slug: string
|
|
2423
|
-
type: ("persistent" | "pr-preview")
|
|
2424
|
-
status: ("provisioning" | "ready" | "provisioning_failed" | "deprovisioning" | "deprovisioning_failed")
|
|
2425
|
-
prBranch: (string | null)
|
|
2426
|
-
prNumber: (number | null)
|
|
2427
|
-
createdAt: string
|
|
2428
|
-
expiresAt: (string | null)
|
|
2429
|
-
updatedAt: string
|
|
2430
|
-
isProduction: boolean
|
|
2431
|
-
lastErrorMessage: (string | null)
|
|
2432
|
-
baseEnvironmentId: (string | null)
|
|
2433
|
-
}
|
|
2434
|
-
|
|
2435
|
-
export interface DeploymentEnvironmentGetInput {
|
|
2436
|
-
id: string
|
|
2437
|
-
}
|
|
2438
|
-
|
|
2439
|
-
export interface DeploymentEnvironmentGetOutput {
|
|
2440
|
-
id: string
|
|
2441
|
-
name: string
|
|
2442
|
-
slug: string
|
|
2443
|
-
type: ("persistent" | "pr-preview")
|
|
2444
|
-
status: ("provisioning" | "ready" | "provisioning_failed" | "deprovisioning" | "deprovisioning_failed")
|
|
2445
|
-
prBranch: (string | null)
|
|
2446
|
-
prNumber: (number | null)
|
|
2447
|
-
createdAt: string
|
|
2448
|
-
expiresAt: (string | null)
|
|
2449
|
-
updatedAt: string
|
|
2450
|
-
isProduction: boolean
|
|
2451
|
-
lastErrorMessage: (string | null)
|
|
2452
|
-
baseEnvironmentId: (string | null)
|
|
2453
|
-
}
|
|
2454
|
-
|
|
2455
|
-
export interface DeploymentEnvironmentListInput {
|
|
2456
|
-
type?: ("persistent" | "pr-preview")
|
|
2457
|
-
}
|
|
2458
|
-
|
|
2459
|
-
export type DeploymentEnvironmentListOutput = {
|
|
2460
|
-
id: string
|
|
2461
|
-
name: string
|
|
2462
|
-
slug: string
|
|
2463
|
-
type: ("persistent" | "pr-preview")
|
|
2464
|
-
status: ("provisioning" | "ready" | "provisioning_failed" | "deprovisioning" | "deprovisioning_failed")
|
|
2465
|
-
prBranch: (string | null)
|
|
2466
|
-
prNumber: (number | null)
|
|
2467
|
-
createdAt: string
|
|
2468
|
-
expiresAt: (string | null)
|
|
2469
|
-
updatedAt: string
|
|
2470
|
-
isProduction: boolean
|
|
2471
|
-
lastErrorMessage: (string | null)
|
|
2472
|
-
baseEnvironmentId: (string | null)
|
|
2473
|
-
}[]
|
|
2474
|
-
|
|
2475
|
-
export interface DeploymentEnvironmentReconcileInput {
|
|
2476
|
-
id: string
|
|
2477
|
-
force?: boolean
|
|
2478
|
-
}
|
|
2479
|
-
|
|
2480
|
-
export interface DeploymentEnvironmentReconcileOutput {
|
|
2481
|
-
id: string
|
|
2482
|
-
name: string
|
|
2483
|
-
slug: string
|
|
2484
|
-
type: ("persistent" | "pr-preview")
|
|
2485
|
-
status: ("provisioning" | "ready" | "provisioning_failed" | "deprovisioning" | "deprovisioning_failed")
|
|
2486
|
-
prBranch: (string | null)
|
|
2487
|
-
prNumber: (number | null)
|
|
2488
|
-
createdAt: string
|
|
2489
|
-
expiresAt: (string | null)
|
|
2490
|
-
updatedAt: string
|
|
2491
|
-
isProduction: boolean
|
|
2492
|
-
lastErrorMessage: (string | null)
|
|
2493
|
-
baseEnvironmentId: (string | null)
|
|
2494
|
-
}
|
|
2495
|
-
|
|
2496
|
-
export interface DeploymentEnvironmentUpdateInput {
|
|
2497
|
-
id: string
|
|
2498
|
-
name?: string
|
|
2499
|
-
}
|
|
2500
|
-
|
|
2501
|
-
export interface DeploymentEnvironmentUpdateOutput {
|
|
2502
|
-
id: string
|
|
2503
|
-
name: string
|
|
2504
|
-
slug: string
|
|
2505
|
-
type: ("persistent" | "pr-preview")
|
|
2506
|
-
status: ("provisioning" | "ready" | "provisioning_failed" | "deprovisioning" | "deprovisioning_failed")
|
|
2507
|
-
prBranch: (string | null)
|
|
2508
|
-
prNumber: (number | null)
|
|
2509
|
-
createdAt: string
|
|
2510
|
-
expiresAt: (string | null)
|
|
2511
|
-
updatedAt: string
|
|
2512
|
-
isProduction: boolean
|
|
2513
|
-
lastErrorMessage: (string | null)
|
|
2514
|
-
baseEnvironmentId: (string | null)
|
|
2515
|
-
}
|
|
2516
|
-
|
|
2517
|
-
export interface DeploymentEventsListByEnvironmentInput {
|
|
2518
|
-
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")
|
|
2519
|
-
limit?: number
|
|
2520
|
-
since?: string
|
|
2521
|
-
until?: string
|
|
2522
|
-
environmentId: string
|
|
2523
|
-
}
|
|
2524
|
-
|
|
2525
|
-
export type DeploymentEventsListByEnvironmentOutput = {
|
|
2526
|
-
id: string
|
|
2527
|
-
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")
|
|
2528
|
-
payload: {
|
|
2529
|
-
[k: string]: unknown
|
|
2530
|
-
}
|
|
2531
|
-
domainId: (string | null)
|
|
2532
|
-
createdAt: string
|
|
2533
|
-
productId: string
|
|
2534
|
-
serviceId: (string | null)
|
|
2535
|
-
deploymentId: (string | null)
|
|
2536
|
-
environmentId: (string | null)
|
|
2537
|
-
}[]
|
|
2538
|
-
|
|
2539
|
-
export interface DeploymentEventsListByServiceInput {
|
|
2540
|
-
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")
|
|
2541
|
-
limit?: number
|
|
2542
|
-
since?: string
|
|
2543
|
-
until?: string
|
|
2544
|
-
serviceId: string
|
|
2545
|
-
deploymentId?: string
|
|
2546
|
-
}
|
|
2547
|
-
|
|
2548
|
-
export type DeploymentEventsListByServiceOutput = {
|
|
2549
|
-
id: string
|
|
2550
|
-
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")
|
|
2551
|
-
payload: {
|
|
2552
|
-
[k: string]: unknown
|
|
2553
|
-
}
|
|
2554
|
-
domainId: (string | null)
|
|
2555
|
-
createdAt: string
|
|
2556
|
-
productId: string
|
|
2557
|
-
serviceId: (string | null)
|
|
2558
|
-
deploymentId: (string | null)
|
|
2559
|
-
environmentId: (string | null)
|
|
2560
|
-
}[]
|
|
2561
|
-
|
|
2562
|
-
export interface DeploymentManagedServiceBackupInput {
|
|
2563
|
-
id: string
|
|
2564
|
-
}
|
|
2565
|
-
|
|
2566
|
-
export interface DeploymentManagedServiceBackupOutput {
|
|
2567
|
-
id: string
|
|
2568
|
-
name: string
|
|
2569
|
-
slug: string
|
|
2570
|
-
engine: ("postgres" | "redis" | "mysql" | "mongodb")
|
|
2571
|
-
status: string
|
|
2572
|
-
version: string
|
|
2573
|
-
createdAt: string
|
|
2574
|
-
productId: string
|
|
2575
|
-
updatedAt: string
|
|
2576
|
-
storageGiB: number
|
|
2577
|
-
databaseName: (string | null)
|
|
2578
|
-
environmentId: string
|
|
2579
|
-
lastErrorMessage: (string | null)
|
|
2580
|
-
}
|
|
2581
|
-
|
|
2582
|
-
export interface DeploymentManagedServiceBackupListInput {
|
|
2583
|
-
id: string
|
|
2584
|
-
}
|
|
2585
|
-
|
|
2586
|
-
export type DeploymentManagedServiceBackupListOutput = {
|
|
2587
|
-
name: string
|
|
2588
|
-
pvcName: string
|
|
2589
|
-
createdAt: string
|
|
2590
|
-
readyToUse: boolean
|
|
2591
|
-
restoreSize: (string | null)
|
|
2592
|
-
}[]
|
|
2593
|
-
|
|
2594
|
-
export interface DeploymentManagedServiceConnectInfoInput {
|
|
2595
|
-
id: string
|
|
2596
|
-
}
|
|
2597
|
-
|
|
2598
|
-
export interface DeploymentManagedServiceConnectInfoOutput {
|
|
2599
|
-
id: string
|
|
2600
|
-
slug: string
|
|
2601
|
-
vars: {
|
|
2602
|
-
key: string
|
|
2603
|
-
isSecret: boolean
|
|
2604
|
-
refSyntax: string
|
|
2605
|
-
}[]
|
|
2606
|
-
engine: ("postgres" | "redis" | "mysql" | "mongodb")
|
|
2607
|
-
}
|
|
2608
|
-
|
|
2609
|
-
export interface DeploymentManagedServiceDeleteInput {
|
|
2610
|
-
id: string
|
|
2611
|
-
}
|
|
2612
|
-
|
|
2613
|
-
export interface DeploymentManagedServiceDeleteOutput {
|
|
2614
|
-
id: string
|
|
2615
|
-
name: string
|
|
2616
|
-
slug: string
|
|
2617
|
-
engine: ("postgres" | "redis" | "mysql" | "mongodb")
|
|
2618
|
-
status: string
|
|
2619
|
-
version: string
|
|
2620
|
-
createdAt: string
|
|
2621
|
-
productId: string
|
|
2622
|
-
updatedAt: string
|
|
2623
|
-
storageGiB: number
|
|
2624
|
-
databaseName: (string | null)
|
|
2625
|
-
environmentId: string
|
|
2626
|
-
lastErrorMessage: (string | null)
|
|
2627
|
-
}
|
|
2628
|
-
|
|
2629
|
-
export interface DeploymentManagedServiceGetInput {
|
|
2630
|
-
id: string
|
|
2631
|
-
}
|
|
2632
|
-
|
|
2633
|
-
export interface DeploymentManagedServiceGetOutput {
|
|
2634
|
-
id: string
|
|
2635
|
-
name: string
|
|
2636
|
-
slug: string
|
|
2637
|
-
engine: ("postgres" | "redis" | "mysql" | "mongodb")
|
|
2638
|
-
status: string
|
|
2639
|
-
version: string
|
|
2640
|
-
createdAt: string
|
|
2641
|
-
productId: string
|
|
2642
|
-
updatedAt: string
|
|
2643
|
-
storageGiB: number
|
|
2644
|
-
databaseName: (string | null)
|
|
2645
|
-
environmentId: string
|
|
2646
|
-
lastErrorMessage: (string | null)
|
|
2647
|
-
}
|
|
2648
|
-
|
|
2649
|
-
export interface DeploymentManagedServiceListInput {
|
|
2650
|
-
environmentId: string
|
|
2651
|
-
}
|
|
2652
|
-
|
|
2653
|
-
export type DeploymentManagedServiceListOutput = {
|
|
2654
|
-
id: string
|
|
2655
|
-
name: string
|
|
2656
|
-
slug: string
|
|
2657
|
-
engine: ("postgres" | "redis" | "mysql" | "mongodb")
|
|
2658
|
-
status: string
|
|
2659
|
-
version: string
|
|
2660
|
-
createdAt: string
|
|
2661
|
-
productId: string
|
|
2662
|
-
updatedAt: string
|
|
2663
|
-
storageGiB: number
|
|
2664
|
-
databaseName: (string | null)
|
|
2665
|
-
environmentId: string
|
|
2666
|
-
lastErrorMessage: (string | null)
|
|
2667
|
-
}[]
|
|
2668
|
-
|
|
2669
|
-
export interface DeploymentManagedServiceLogsInput {
|
|
2670
|
-
id: string
|
|
2671
|
-
tail?: number
|
|
2672
|
-
}
|
|
2673
|
-
|
|
2674
|
-
export interface DeploymentManagedServiceLogsOutput {
|
|
2675
|
-
lines: string[]
|
|
2676
|
-
}
|
|
2677
|
-
|
|
2678
|
-
export interface DeploymentManagedServiceProvisionInput {
|
|
2679
|
-
name: string
|
|
2680
|
-
slug?: string
|
|
2681
|
-
engine: ("postgres" | "redis" | "mysql" | "mongodb")
|
|
2682
|
-
version?: string
|
|
2683
|
-
storageGiB?: number
|
|
2684
|
-
databaseName?: string
|
|
2685
|
-
environmentId: string
|
|
2686
|
-
}
|
|
2687
|
-
|
|
2688
|
-
export interface DeploymentManagedServiceProvisionOutput {
|
|
2689
|
-
id: string
|
|
2690
|
-
name: string
|
|
2691
|
-
slug: string
|
|
2692
|
-
engine: ("postgres" | "redis" | "mysql" | "mongodb")
|
|
2693
|
-
status: string
|
|
2694
|
-
version: string
|
|
2695
|
-
createdAt: string
|
|
2696
|
-
productId: string
|
|
2697
|
-
updatedAt: string
|
|
2698
|
-
storageGiB: number
|
|
2699
|
-
databaseName: (string | null)
|
|
2700
|
-
environmentId: string
|
|
2701
|
-
lastErrorMessage: (string | null)
|
|
2702
|
-
}
|
|
2703
|
-
|
|
2704
|
-
export interface DeploymentManagedServiceReconcileInput {
|
|
2705
|
-
id: string
|
|
2706
|
-
}
|
|
2707
|
-
|
|
2708
|
-
export interface DeploymentManagedServiceReconcileOutput {
|
|
2709
|
-
id: string
|
|
2710
|
-
name: string
|
|
2711
|
-
slug: string
|
|
2712
|
-
engine: ("postgres" | "redis" | "mysql" | "mongodb")
|
|
2713
|
-
status: string
|
|
2714
|
-
version: string
|
|
2715
|
-
createdAt: string
|
|
2716
|
-
productId: string
|
|
2717
|
-
updatedAt: string
|
|
2718
|
-
storageGiB: number
|
|
2719
|
-
databaseName: (string | null)
|
|
2720
|
-
environmentId: string
|
|
2721
|
-
lastErrorMessage: (string | null)
|
|
2722
|
-
}
|
|
2723
|
-
|
|
2724
|
-
export interface DeploymentManagedServiceResizeInput {
|
|
2725
|
-
id: string
|
|
2726
|
-
storageGiB: number
|
|
2727
|
-
}
|
|
2728
|
-
|
|
2729
|
-
export interface DeploymentManagedServiceResizeOutput {
|
|
2730
|
-
id: string
|
|
2731
|
-
name: string
|
|
2732
|
-
slug: string
|
|
2733
|
-
engine: ("postgres" | "redis" | "mysql" | "mongodb")
|
|
2734
|
-
status: string
|
|
2735
|
-
version: string
|
|
2736
|
-
createdAt: string
|
|
2737
|
-
productId: string
|
|
2738
|
-
updatedAt: string
|
|
2739
|
-
storageGiB: number
|
|
2740
|
-
databaseName: (string | null)
|
|
2741
|
-
environmentId: string
|
|
2742
|
-
lastErrorMessage: (string | null)
|
|
2743
|
-
}
|
|
2744
|
-
|
|
2745
|
-
export interface DeploymentManagedServiceRestoreInput {
|
|
2746
|
-
id: string
|
|
2747
|
-
snapshotName: string
|
|
2748
|
-
}
|
|
2749
|
-
|
|
2750
|
-
export interface DeploymentManagedServiceRestoreOutput {
|
|
2751
|
-
id: string
|
|
2752
|
-
name: string
|
|
2753
|
-
slug: string
|
|
2754
|
-
engine: ("postgres" | "redis" | "mysql" | "mongodb")
|
|
2755
|
-
status: string
|
|
2756
|
-
version: string
|
|
2757
|
-
createdAt: string
|
|
2758
|
-
productId: string
|
|
2759
|
-
updatedAt: string
|
|
2760
|
-
storageGiB: number
|
|
2761
|
-
databaseName: (string | null)
|
|
2762
|
-
environmentId: string
|
|
2763
|
-
lastErrorMessage: (string | null)
|
|
2764
|
-
}
|
|
2765
|
-
|
|
2766
|
-
export interface DeploymentManagedServiceStartInput {
|
|
2767
|
-
id: string
|
|
2768
|
-
}
|
|
2769
|
-
|
|
2770
|
-
export interface DeploymentManagedServiceStartOutput {
|
|
2771
|
-
id: string
|
|
2772
|
-
name: string
|
|
2773
|
-
slug: string
|
|
2774
|
-
engine: ("postgres" | "redis" | "mysql" | "mongodb")
|
|
2775
|
-
status: string
|
|
2776
|
-
version: string
|
|
2777
|
-
createdAt: string
|
|
2778
|
-
productId: string
|
|
2779
|
-
updatedAt: string
|
|
2780
|
-
storageGiB: number
|
|
2781
|
-
databaseName: (string | null)
|
|
2782
|
-
environmentId: string
|
|
2783
|
-
lastErrorMessage: (string | null)
|
|
2784
|
-
}
|
|
2785
|
-
|
|
2786
|
-
export interface DeploymentManagedServiceStopInput {
|
|
2787
|
-
id: string
|
|
2788
|
-
}
|
|
2789
|
-
|
|
2790
|
-
export interface DeploymentManagedServiceStopOutput {
|
|
2791
|
-
id: string
|
|
2792
|
-
name: string
|
|
2793
|
-
slug: string
|
|
2794
|
-
engine: ("postgres" | "redis" | "mysql" | "mongodb")
|
|
2795
|
-
status: string
|
|
2796
|
-
version: string
|
|
2797
|
-
createdAt: string
|
|
2798
|
-
productId: string
|
|
2799
|
-
updatedAt: string
|
|
2800
|
-
storageGiB: number
|
|
2801
|
-
databaseName: (string | null)
|
|
2802
|
-
environmentId: string
|
|
2803
|
-
lastErrorMessage: (string | null)
|
|
2804
|
-
}
|
|
2805
|
-
|
|
2806
|
-
export interface DeploymentManagedServiceTypesInput {
|
|
2807
|
-
|
|
2808
|
-
}
|
|
2809
|
-
|
|
2810
|
-
export interface DeploymentManagedServiceTypesOutput {
|
|
2811
|
-
engines: {
|
|
2812
|
-
engine: ("postgres" | "redis" | "mysql" | "mongodb")
|
|
2813
|
-
versions: string[]
|
|
2814
|
-
displayName: string
|
|
2815
|
-
defaultVersion: string
|
|
2816
|
-
managedVarKeys: string[]
|
|
2817
|
-
}[]
|
|
2818
|
-
}
|
|
2819
|
-
|
|
2820
|
-
export interface DeploymentMetricsGetInput {
|
|
2821
|
-
window?: ("15m" | "1h" | "6h" | "24h" | "7d")
|
|
2822
|
-
targetId: string
|
|
2823
|
-
targetKind: ("service" | "managed-service")
|
|
2824
|
-
}
|
|
2825
|
-
|
|
2826
|
-
export interface DeploymentMetricsGetOutput {
|
|
2827
|
-
series: {
|
|
2828
|
-
unit: ("cores" | "bytes" | "bytes_per_s" | "requests_per_s" | "milliseconds" | "percent")
|
|
2829
|
-
metric: ("cpu" | "memory" | "net_in" | "net_out" | "disk" | "rps" | "p50" | "p95" | "p99" | "error_rate")
|
|
2830
|
-
points: {
|
|
2831
|
-
t: number
|
|
2832
|
-
v: number
|
|
2833
|
-
}[]
|
|
2834
|
-
}[]
|
|
2835
|
-
window: ("15m" | "1h" | "6h" | "24h" | "7d")
|
|
2836
|
-
capacity: {
|
|
2837
|
-
cpuCores: (number | null)
|
|
2838
|
-
memoryBytes: (number | null)
|
|
2839
|
-
}
|
|
2840
|
-
targetId: string
|
|
2841
|
-
targetKind: ("service" | "managed-service")
|
|
2842
|
-
stepSeconds: number
|
|
2843
|
-
}
|
|
2844
|
-
|
|
2845
|
-
export interface DeploymentPreviewEnvironmentCreateInput {
|
|
2846
|
-
prBranch?: string
|
|
2847
|
-
prNumber: number
|
|
2848
|
-
baseEnvironmentId: string
|
|
2849
|
-
}
|
|
2850
|
-
|
|
2851
|
-
export interface DeploymentPreviewEnvironmentCreateOutput {
|
|
2852
|
-
id: string
|
|
2853
|
-
name: string
|
|
2854
|
-
slug: string
|
|
2855
|
-
type: ("persistent" | "pr-preview")
|
|
2856
|
-
status: ("provisioning" | "ready" | "provisioning_failed" | "deprovisioning" | "deprovisioning_failed")
|
|
2857
|
-
prBranch: (string | null)
|
|
2858
|
-
prNumber: (number | null)
|
|
2859
|
-
createdAt: string
|
|
2860
|
-
expiresAt: (string | null)
|
|
2861
|
-
updatedAt: string
|
|
2862
|
-
isProduction: boolean
|
|
2863
|
-
lastErrorMessage: (string | null)
|
|
2864
|
-
baseEnvironmentId: (string | null)
|
|
2865
|
-
}
|
|
2866
|
-
|
|
2867
|
-
export interface DeploymentPreviewEnvironmentDeleteInput {
|
|
2868
|
-
id: string
|
|
2869
|
-
}
|
|
2870
|
-
|
|
2871
|
-
export interface DeploymentPreviewEnvironmentDeleteOutput {
|
|
2872
|
-
[k: string]: unknown
|
|
2873
|
-
}
|
|
2874
|
-
|
|
2875
|
-
export interface DeploymentPreviewEnvironmentListInput {
|
|
2876
|
-
|
|
2877
|
-
}
|
|
2878
|
-
|
|
2879
|
-
export type DeploymentPreviewEnvironmentListOutput = {
|
|
2880
|
-
id: string
|
|
2881
|
-
name: string
|
|
2882
|
-
slug: string
|
|
2883
|
-
type: ("persistent" | "pr-preview")
|
|
2884
|
-
status: ("provisioning" | "ready" | "provisioning_failed" | "deprovisioning" | "deprovisioning_failed")
|
|
2885
|
-
prBranch: (string | null)
|
|
2886
|
-
prNumber: (number | null)
|
|
2887
|
-
createdAt: string
|
|
2888
|
-
expiresAt: (string | null)
|
|
2889
|
-
updatedAt: string
|
|
2890
|
-
isProduction: boolean
|
|
2891
|
-
lastErrorMessage: (string | null)
|
|
2892
|
-
baseEnvironmentId: (string | null)
|
|
2893
|
-
}[]
|
|
2894
|
-
|
|
2895
|
-
export interface DeploymentPreviewPolicyGetInput {
|
|
2896
|
-
baseEnvironmentId: string
|
|
2897
|
-
}
|
|
2898
|
-
|
|
2899
|
-
export interface DeploymentPreviewPolicyGetOutput {
|
|
2900
|
-
id: string
|
|
2901
|
-
enabled: boolean
|
|
2902
|
-
ttlHours: number
|
|
2903
|
-
createdAt: string
|
|
2904
|
-
updatedAt: string
|
|
2905
|
-
maxPreviews: number
|
|
2906
|
-
baseEnvironmentId: string
|
|
2907
|
-
}
|
|
2908
|
-
|
|
2909
|
-
export interface DeploymentPreviewPolicySetInput {
|
|
2910
|
-
enabled?: boolean
|
|
2911
|
-
ttlHours?: number
|
|
2912
|
-
maxPreviews?: number
|
|
2913
|
-
baseEnvironmentId: string
|
|
2914
|
-
}
|
|
2915
|
-
|
|
2916
|
-
export interface DeploymentPreviewPolicySetOutput {
|
|
2917
|
-
id: string
|
|
2918
|
-
enabled: boolean
|
|
2919
|
-
ttlHours: number
|
|
2920
|
-
createdAt: string
|
|
2921
|
-
updatedAt: string
|
|
2922
|
-
maxPreviews: number
|
|
2923
|
-
baseEnvironmentId: string
|
|
2924
|
-
}
|
|
2925
|
-
|
|
2926
|
-
export interface DeploymentServiceCreateInput {
|
|
2927
|
-
name: string
|
|
2928
|
-
slug?: string
|
|
2929
|
-
canvas?: {
|
|
2930
|
-
x: number
|
|
2931
|
-
y: number
|
|
2932
|
-
}
|
|
2933
|
-
probes?: {
|
|
2934
|
-
liveness?: DeploymentServiceCreateInputReadiness
|
|
2935
|
-
readiness?: DeploymentServiceCreateInputReadiness
|
|
2936
|
-
}
|
|
2937
|
-
source: ({
|
|
2938
|
-
url?: string
|
|
2939
|
-
path?: string
|
|
2940
|
-
type: "git"
|
|
2941
|
-
branch: string
|
|
2942
|
-
connectorId?: string
|
|
2943
|
-
repoFullName?: string
|
|
2944
|
-
} | {
|
|
2945
|
-
tag: string
|
|
2946
|
-
type: "image"
|
|
2947
|
-
registry: string
|
|
2948
|
-
} | {
|
|
2949
|
-
spa?: boolean
|
|
2950
|
-
repo?: {
|
|
2951
|
-
url?: string
|
|
2952
|
-
path?: string
|
|
2953
|
-
branch: string
|
|
2954
|
-
connectorId?: string
|
|
2955
|
-
repoFullName?: string
|
|
2956
|
-
}
|
|
2957
|
-
type: "static"
|
|
2958
|
-
build?: {
|
|
2959
|
-
command?: string
|
|
2960
|
-
outputDir?: string
|
|
2961
|
-
}
|
|
2962
|
-
})
|
|
2963
|
-
replicas?: number
|
|
2964
|
-
resources?: {
|
|
2965
|
-
limits?: {
|
|
2966
|
-
cpu?: string
|
|
2967
|
-
memory?: string
|
|
2968
|
-
}
|
|
2969
|
-
}
|
|
2970
|
-
containerPort?: number
|
|
2971
|
-
environmentId: string
|
|
2972
|
-
}
|
|
2973
|
-
export interface DeploymentServiceCreateInputReadiness {
|
|
2974
|
-
path: string
|
|
2975
|
-
port?: number
|
|
2976
|
-
periodSeconds?: number
|
|
2977
|
-
timeoutSeconds?: number
|
|
2978
|
-
failureThreshold?: number
|
|
2979
|
-
successThreshold?: number
|
|
2980
|
-
initialDelaySeconds?: number
|
|
2981
|
-
}
|
|
2982
|
-
|
|
2983
|
-
export interface DeploymentServiceCreateOutput {
|
|
2984
|
-
id: string
|
|
2985
|
-
name: string
|
|
2986
|
-
slug: string
|
|
2987
|
-
probes: {
|
|
2988
|
-
liveness?: DeploymentServiceCreateOutputReadiness
|
|
2989
|
-
readiness?: DeploymentServiceCreateOutputReadiness
|
|
2990
|
-
}
|
|
2991
|
-
source: ({
|
|
2992
|
-
url?: string
|
|
2993
|
-
path?: string
|
|
2994
|
-
type: "git"
|
|
2995
|
-
branch: string
|
|
2996
|
-
connectorId?: string
|
|
2997
|
-
repoFullName?: string
|
|
2998
|
-
} | {
|
|
2999
|
-
tag: string
|
|
3000
|
-
type: "image"
|
|
3001
|
-
registry: string
|
|
3002
|
-
} | {
|
|
3003
|
-
spa?: boolean
|
|
3004
|
-
repo?: {
|
|
3005
|
-
url?: string
|
|
3006
|
-
path?: string
|
|
3007
|
-
branch: string
|
|
3008
|
-
connectorId?: string
|
|
3009
|
-
repoFullName?: string
|
|
3010
|
-
}
|
|
3011
|
-
type: "static"
|
|
3012
|
-
build?: {
|
|
3013
|
-
command?: string
|
|
3014
|
-
outputDir?: string
|
|
3015
|
-
}
|
|
3016
|
-
})
|
|
3017
|
-
replicas: number
|
|
3018
|
-
createdAt: string
|
|
3019
|
-
dependsOn: string[]
|
|
3020
|
-
resources?: {
|
|
3021
|
-
limits?: {
|
|
3022
|
-
cpu?: string
|
|
3023
|
-
memory?: string
|
|
3024
|
-
}
|
|
3025
|
-
}
|
|
3026
|
-
updatedAt: string
|
|
3027
|
-
containerPort: number
|
|
3028
|
-
environmentId: string
|
|
3029
|
-
lastReplicasRunning: number
|
|
3030
|
-
}
|
|
3031
|
-
export interface DeploymentServiceCreateOutputReadiness {
|
|
3032
|
-
path: string
|
|
3033
|
-
port?: number
|
|
3034
|
-
periodSeconds?: number
|
|
3035
|
-
timeoutSeconds?: number
|
|
3036
|
-
failureThreshold?: number
|
|
3037
|
-
successThreshold?: number
|
|
3038
|
-
initialDelaySeconds?: number
|
|
3039
|
-
}
|
|
3040
|
-
|
|
3041
|
-
export interface DeploymentServiceDeleteInput {
|
|
3042
|
-
id: string
|
|
3043
|
-
}
|
|
3044
|
-
|
|
3045
|
-
export interface DeploymentServiceDeleteOutput {
|
|
3046
|
-
[k: string]: unknown
|
|
3047
|
-
}
|
|
3048
|
-
|
|
3049
|
-
export interface DeploymentServiceExecInput {
|
|
3050
|
-
mode?: ("exec" | "job")
|
|
3051
|
-
command: string
|
|
3052
|
-
serviceId: string
|
|
3053
|
-
timeoutSec?: number
|
|
3054
|
-
}
|
|
3055
|
-
|
|
3056
|
-
export interface DeploymentServiceExecOutput {
|
|
3057
|
-
mode: ("exec" | "job")
|
|
3058
|
-
output: string
|
|
3059
|
-
stderr: string
|
|
3060
|
-
stdout: string
|
|
3061
|
-
target: ({
|
|
3062
|
-
kind: "pod"
|
|
3063
|
-
podName: string
|
|
3064
|
-
container: string
|
|
3065
|
-
} | {
|
|
3066
|
-
kind: "job"
|
|
3067
|
-
jobName: string
|
|
3068
|
-
})
|
|
3069
|
-
exitCode: number
|
|
3070
|
-
timedOut: boolean
|
|
3071
|
-
truncated: boolean
|
|
3072
|
-
}
|
|
3073
|
-
|
|
3074
|
-
export interface DeploymentServiceGetInput {
|
|
3075
|
-
id: string
|
|
3076
|
-
}
|
|
3077
|
-
|
|
3078
|
-
export interface DeploymentServiceGetOutput {
|
|
3079
|
-
id: string
|
|
3080
|
-
name: string
|
|
3081
|
-
slug: string
|
|
3082
|
-
probes: {
|
|
3083
|
-
liveness?: DeploymentServiceGetOutputReadiness
|
|
3084
|
-
readiness?: DeploymentServiceGetOutputReadiness
|
|
3085
|
-
}
|
|
3086
|
-
source: ({
|
|
3087
|
-
url?: string
|
|
3088
|
-
path?: string
|
|
3089
|
-
type: "git"
|
|
3090
|
-
branch: string
|
|
3091
|
-
connectorId?: string
|
|
3092
|
-
repoFullName?: string
|
|
3093
|
-
} | {
|
|
3094
|
-
tag: string
|
|
3095
|
-
type: "image"
|
|
3096
|
-
registry: string
|
|
3097
|
-
} | {
|
|
3098
|
-
spa?: boolean
|
|
3099
|
-
repo?: {
|
|
3100
|
-
url?: string
|
|
3101
|
-
path?: string
|
|
3102
|
-
branch: string
|
|
3103
|
-
connectorId?: string
|
|
3104
|
-
repoFullName?: string
|
|
3105
|
-
}
|
|
3106
|
-
type: "static"
|
|
3107
|
-
build?: {
|
|
3108
|
-
command?: string
|
|
3109
|
-
outputDir?: string
|
|
3110
|
-
}
|
|
3111
|
-
})
|
|
3112
|
-
replicas: number
|
|
3113
|
-
createdAt: string
|
|
3114
|
-
dependsOn: string[]
|
|
3115
|
-
resources?: {
|
|
3116
|
-
limits?: {
|
|
3117
|
-
cpu?: string
|
|
3118
|
-
memory?: string
|
|
3119
|
-
}
|
|
3120
|
-
}
|
|
3121
|
-
updatedAt: string
|
|
3122
|
-
containerPort: number
|
|
3123
|
-
environmentId: string
|
|
3124
|
-
lastReplicasRunning: number
|
|
3125
|
-
}
|
|
3126
|
-
export interface DeploymentServiceGetOutputReadiness {
|
|
3127
|
-
path: string
|
|
3128
|
-
port?: number
|
|
3129
|
-
periodSeconds?: number
|
|
3130
|
-
timeoutSeconds?: number
|
|
3131
|
-
failureThreshold?: number
|
|
3132
|
-
successThreshold?: number
|
|
3133
|
-
initialDelaySeconds?: number
|
|
3134
|
-
}
|
|
3135
|
-
|
|
3136
|
-
export interface DeploymentServiceListInput {
|
|
3137
|
-
environmentId: string
|
|
3138
|
-
}
|
|
3139
|
-
|
|
3140
|
-
export type DeploymentServiceListOutput = {
|
|
3141
|
-
id: string
|
|
3142
|
-
name: string
|
|
3143
|
-
slug: string
|
|
3144
|
-
probes: {
|
|
3145
|
-
liveness?: DeploymentServiceListOutputReadiness
|
|
3146
|
-
readiness?: DeploymentServiceListOutputReadiness
|
|
3147
|
-
}
|
|
3148
|
-
source: ({
|
|
3149
|
-
url?: string
|
|
3150
|
-
path?: string
|
|
3151
|
-
type: "git"
|
|
3152
|
-
branch: string
|
|
3153
|
-
connectorId?: string
|
|
3154
|
-
repoFullName?: string
|
|
3155
|
-
} | {
|
|
3156
|
-
tag: string
|
|
3157
|
-
type: "image"
|
|
3158
|
-
registry: string
|
|
3159
|
-
} | {
|
|
3160
|
-
spa?: boolean
|
|
3161
|
-
repo?: {
|
|
3162
|
-
url?: string
|
|
3163
|
-
path?: string
|
|
3164
|
-
branch: string
|
|
3165
|
-
connectorId?: string
|
|
3166
|
-
repoFullName?: string
|
|
3167
|
-
}
|
|
3168
|
-
type: "static"
|
|
3169
|
-
build?: {
|
|
3170
|
-
command?: string
|
|
3171
|
-
outputDir?: string
|
|
3172
|
-
}
|
|
3173
|
-
})
|
|
3174
|
-
replicas: number
|
|
3175
|
-
createdAt: string
|
|
3176
|
-
dependsOn: string[]
|
|
3177
|
-
resources?: {
|
|
3178
|
-
limits?: {
|
|
3179
|
-
cpu?: string
|
|
3180
|
-
memory?: string
|
|
3181
|
-
}
|
|
3182
|
-
}
|
|
3183
|
-
updatedAt: string
|
|
3184
|
-
containerPort: number
|
|
3185
|
-
environmentId: string
|
|
3186
|
-
lastReplicasRunning: number
|
|
3187
|
-
}[]
|
|
3188
|
-
|
|
3189
|
-
export interface DeploymentServiceListOutputReadiness {
|
|
3190
|
-
path: string
|
|
3191
|
-
port?: number
|
|
3192
|
-
periodSeconds?: number
|
|
3193
|
-
timeoutSeconds?: number
|
|
3194
|
-
failureThreshold?: number
|
|
3195
|
-
successThreshold?: number
|
|
3196
|
-
initialDelaySeconds?: number
|
|
3197
|
-
}
|
|
3198
|
-
|
|
3199
|
-
export interface DeploymentServiceLogsInput {
|
|
3200
|
-
tail?: number
|
|
3201
|
-
serviceId: string
|
|
3202
|
-
}
|
|
3203
|
-
|
|
3204
|
-
export interface DeploymentServiceLogsOutput {
|
|
3205
|
-
lines: string[]
|
|
3206
|
-
}
|
|
3207
|
-
|
|
3208
|
-
export interface DeploymentServiceRedeployInput {
|
|
3209
|
-
serviceId: string
|
|
3210
|
-
}
|
|
3211
|
-
|
|
3212
|
-
export interface DeploymentServiceRedeployOutput {
|
|
3213
|
-
id: string
|
|
3214
|
-
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed")
|
|
3215
|
-
builtAt: (string | null)
|
|
3216
|
-
imageRef: (string | null)
|
|
3217
|
-
commitSha: (string | null)
|
|
3218
|
-
createdAt: string
|
|
3219
|
-
serviceId: string
|
|
3220
|
-
startedAt: (string | null)
|
|
3221
|
-
updatedAt: string
|
|
3222
|
-
deployedAt: (string | null)
|
|
3223
|
-
finishedAt: (string | null)
|
|
3224
|
-
cloudBuildId: (string | null)
|
|
3225
|
-
configSnapshot: {
|
|
3226
|
-
source?: unknown
|
|
3227
|
-
variables: {
|
|
3228
|
-
key: string
|
|
3229
|
-
value: string
|
|
3230
|
-
}[]
|
|
3231
|
-
}
|
|
3232
|
-
lastErrorMessage: (string | null)
|
|
3233
|
-
rolledBackFromDeploymentId: (string | null)
|
|
3234
|
-
}
|
|
3235
|
-
|
|
3236
|
-
export interface DeploymentServiceRestartInput {
|
|
3237
|
-
id: string
|
|
3238
|
-
}
|
|
3239
|
-
|
|
3240
|
-
export interface DeploymentServiceRestartOutput {
|
|
3241
|
-
[k: string]: unknown
|
|
3242
|
-
}
|
|
3243
|
-
|
|
3244
|
-
export interface DeploymentServiceRollbackInput {
|
|
3245
|
-
serviceId: string
|
|
3246
|
-
deploymentId: string
|
|
3247
|
-
}
|
|
3248
|
-
|
|
3249
|
-
export interface DeploymentServiceRollbackOutput {
|
|
3250
|
-
id: string
|
|
3251
|
-
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed")
|
|
3252
|
-
builtAt: (string | null)
|
|
3253
|
-
imageRef: (string | null)
|
|
3254
|
-
commitSha: (string | null)
|
|
3255
|
-
createdAt: string
|
|
3256
|
-
serviceId: string
|
|
3257
|
-
startedAt: (string | null)
|
|
3258
|
-
updatedAt: string
|
|
3259
|
-
deployedAt: (string | null)
|
|
3260
|
-
finishedAt: (string | null)
|
|
3261
|
-
cloudBuildId: (string | null)
|
|
3262
|
-
configSnapshot: {
|
|
3263
|
-
source?: unknown
|
|
3264
|
-
variables: {
|
|
3265
|
-
key: string
|
|
3266
|
-
value: string
|
|
3267
|
-
}[]
|
|
3268
|
-
}
|
|
3269
|
-
lastErrorMessage: (string | null)
|
|
3270
|
-
rolledBackFromDeploymentId: (string | null)
|
|
3271
|
-
}
|
|
3272
|
-
|
|
3273
|
-
export interface DeploymentServiceScaleInput {
|
|
3274
|
-
id: string
|
|
3275
|
-
replicas: number
|
|
3276
|
-
}
|
|
3277
|
-
|
|
3278
|
-
export interface DeploymentServiceScaleOutput {
|
|
3279
|
-
id: string
|
|
3280
|
-
name: string
|
|
3281
|
-
slug: string
|
|
3282
|
-
probes: {
|
|
3283
|
-
liveness?: DeploymentServiceScaleOutputReadiness
|
|
3284
|
-
readiness?: DeploymentServiceScaleOutputReadiness
|
|
3285
|
-
}
|
|
3286
|
-
source: ({
|
|
3287
|
-
url?: string
|
|
3288
|
-
path?: string
|
|
3289
|
-
type: "git"
|
|
3290
|
-
branch: string
|
|
3291
|
-
connectorId?: string
|
|
3292
|
-
repoFullName?: string
|
|
3293
|
-
} | {
|
|
3294
|
-
tag: string
|
|
3295
|
-
type: "image"
|
|
3296
|
-
registry: string
|
|
3297
|
-
} | {
|
|
3298
|
-
spa?: boolean
|
|
3299
|
-
repo?: {
|
|
3300
|
-
url?: string
|
|
3301
|
-
path?: string
|
|
3302
|
-
branch: string
|
|
3303
|
-
connectorId?: string
|
|
3304
|
-
repoFullName?: string
|
|
3305
|
-
}
|
|
3306
|
-
type: "static"
|
|
3307
|
-
build?: {
|
|
3308
|
-
command?: string
|
|
3309
|
-
outputDir?: string
|
|
3310
|
-
}
|
|
3311
|
-
})
|
|
3312
|
-
replicas: number
|
|
3313
|
-
createdAt: string
|
|
3314
|
-
dependsOn: string[]
|
|
3315
|
-
resources?: {
|
|
3316
|
-
limits?: {
|
|
3317
|
-
cpu?: string
|
|
3318
|
-
memory?: string
|
|
3319
|
-
}
|
|
3320
|
-
}
|
|
3321
|
-
updatedAt: string
|
|
3322
|
-
containerPort: number
|
|
3323
|
-
environmentId: string
|
|
3324
|
-
lastReplicasRunning: number
|
|
3325
|
-
}
|
|
3326
|
-
export interface DeploymentServiceScaleOutputReadiness {
|
|
3327
|
-
path: string
|
|
3328
|
-
port?: number
|
|
3329
|
-
periodSeconds?: number
|
|
3330
|
-
timeoutSeconds?: number
|
|
3331
|
-
failureThreshold?: number
|
|
3332
|
-
successThreshold?: number
|
|
3333
|
-
initialDelaySeconds?: number
|
|
3334
|
-
}
|
|
3335
|
-
|
|
3336
|
-
export interface DeploymentServiceUpdateInput {
|
|
3337
|
-
id: string
|
|
3338
|
-
name?: string
|
|
3339
|
-
probes?: {
|
|
3340
|
-
liveness?: DeploymentServiceUpdateInputReadiness
|
|
3341
|
-
readiness?: DeploymentServiceUpdateInputReadiness
|
|
3342
|
-
}
|
|
3343
|
-
source?: ({
|
|
3344
|
-
url?: string
|
|
3345
|
-
path?: string
|
|
3346
|
-
type: "git"
|
|
3347
|
-
branch: string
|
|
3348
|
-
connectorId?: string
|
|
3349
|
-
repoFullName?: string
|
|
3350
|
-
} | {
|
|
3351
|
-
tag: string
|
|
3352
|
-
type: "image"
|
|
3353
|
-
registry: string
|
|
3354
|
-
} | {
|
|
3355
|
-
spa?: boolean
|
|
3356
|
-
repo?: {
|
|
3357
|
-
url?: string
|
|
3358
|
-
path?: string
|
|
3359
|
-
branch: string
|
|
3360
|
-
connectorId?: string
|
|
3361
|
-
repoFullName?: string
|
|
3362
|
-
}
|
|
3363
|
-
type: "static"
|
|
3364
|
-
build?: {
|
|
3365
|
-
command?: string
|
|
3366
|
-
outputDir?: string
|
|
3367
|
-
}
|
|
3368
|
-
})
|
|
3369
|
-
replicas?: number
|
|
3370
|
-
resources?: {
|
|
3371
|
-
limits?: {
|
|
3372
|
-
cpu?: string
|
|
3373
|
-
memory?: string
|
|
3374
|
-
}
|
|
3375
|
-
}
|
|
3376
|
-
containerPort?: number
|
|
3377
|
-
}
|
|
3378
|
-
export interface DeploymentServiceUpdateInputReadiness {
|
|
3379
|
-
path: string
|
|
3380
|
-
port?: number
|
|
3381
|
-
periodSeconds?: number
|
|
3382
|
-
timeoutSeconds?: number
|
|
3383
|
-
failureThreshold?: number
|
|
3384
|
-
successThreshold?: number
|
|
3385
|
-
initialDelaySeconds?: number
|
|
3386
|
-
}
|
|
3387
|
-
|
|
3388
|
-
export interface DeploymentServiceUpdateOutput {
|
|
3389
|
-
id: string
|
|
3390
|
-
name: string
|
|
3391
|
-
slug: string
|
|
3392
|
-
probes: {
|
|
3393
|
-
liveness?: DeploymentServiceUpdateOutputReadiness
|
|
3394
|
-
readiness?: DeploymentServiceUpdateOutputReadiness
|
|
3395
|
-
}
|
|
3396
|
-
source: ({
|
|
3397
|
-
url?: string
|
|
3398
|
-
path?: string
|
|
3399
|
-
type: "git"
|
|
3400
|
-
branch: string
|
|
3401
|
-
connectorId?: string
|
|
3402
|
-
repoFullName?: string
|
|
3403
|
-
} | {
|
|
3404
|
-
tag: string
|
|
3405
|
-
type: "image"
|
|
3406
|
-
registry: string
|
|
3407
|
-
} | {
|
|
3408
|
-
spa?: boolean
|
|
3409
|
-
repo?: {
|
|
3410
|
-
url?: string
|
|
3411
|
-
path?: string
|
|
3412
|
-
branch: string
|
|
3413
|
-
connectorId?: string
|
|
3414
|
-
repoFullName?: string
|
|
3415
|
-
}
|
|
3416
|
-
type: "static"
|
|
3417
|
-
build?: {
|
|
3418
|
-
command?: string
|
|
3419
|
-
outputDir?: string
|
|
3420
|
-
}
|
|
3421
|
-
})
|
|
3422
|
-
replicas: number
|
|
3423
|
-
createdAt: string
|
|
3424
|
-
dependsOn: string[]
|
|
3425
|
-
resources?: {
|
|
3426
|
-
limits?: {
|
|
3427
|
-
cpu?: string
|
|
3428
|
-
memory?: string
|
|
3429
|
-
}
|
|
3430
|
-
}
|
|
3431
|
-
updatedAt: string
|
|
3432
|
-
containerPort: number
|
|
3433
|
-
environmentId: string
|
|
3434
|
-
lastReplicasRunning: number
|
|
3435
|
-
}
|
|
3436
|
-
export interface DeploymentServiceUpdateOutputReadiness {
|
|
3437
|
-
path: string
|
|
3438
|
-
port?: number
|
|
3439
|
-
periodSeconds?: number
|
|
3440
|
-
timeoutSeconds?: number
|
|
3441
|
-
failureThreshold?: number
|
|
3442
|
-
successThreshold?: number
|
|
3443
|
-
initialDelaySeconds?: number
|
|
3444
|
-
}
|
|
3445
|
-
|
|
3446
|
-
export interface DeploymentSshCommandInput {
|
|
3447
|
-
serviceId: string
|
|
3448
|
-
}
|
|
3449
|
-
|
|
3450
|
-
export interface DeploymentSshCommandOutput {
|
|
3451
|
-
host: string
|
|
3452
|
-
command: string
|
|
3453
|
-
username: string
|
|
3454
|
-
}
|
|
3455
|
-
|
|
3456
|
-
export interface DeploymentSshKeyDeleteInput {
|
|
3457
|
-
id: string
|
|
3458
|
-
}
|
|
3459
|
-
|
|
3460
|
-
export interface DeploymentSshKeyDeleteOutput {
|
|
3461
|
-
deleted: boolean
|
|
3462
|
-
}
|
|
3463
|
-
|
|
3464
|
-
export interface DeploymentSshKeyListInput {
|
|
3465
|
-
|
|
3466
|
-
}
|
|
3467
|
-
|
|
3468
|
-
export type DeploymentSshKeyListOutput = {
|
|
3469
|
-
id: string
|
|
3470
|
-
algo: string
|
|
3471
|
-
name: string
|
|
3472
|
-
scope: ("workspace" | "personal")
|
|
3473
|
-
createdAt: string
|
|
3474
|
-
productId: string
|
|
3475
|
-
lastUsedAt: (string | null)
|
|
3476
|
-
ownerIdentityId: string
|
|
3477
|
-
fingerprintSha256: string
|
|
3478
|
-
}[]
|
|
3479
|
-
|
|
3480
|
-
export interface DeploymentSshKeyRegisterInput {
|
|
3481
|
-
/**
|
|
3482
|
-
* Human label for the key, e.g. "my-laptop"
|
|
3483
|
-
*/
|
|
3484
|
-
name: string
|
|
3485
|
-
/**
|
|
3486
|
-
* OpenSSH public key line (ssh-ed25519 / ssh-rsa ...)
|
|
3487
|
-
*/
|
|
3488
|
-
publicKey: string
|
|
3489
|
-
}
|
|
3490
|
-
|
|
3491
|
-
export interface DeploymentSshKeyRegisterOutput {
|
|
3492
|
-
id: string
|
|
3493
|
-
algo: string
|
|
3494
|
-
name: string
|
|
3495
|
-
scope: ("workspace" | "personal")
|
|
3496
|
-
createdAt: string
|
|
3497
|
-
productId: string
|
|
3498
|
-
lastUsedAt: (string | null)
|
|
3499
|
-
ownerIdentityId: string
|
|
3500
|
-
fingerprintSha256: string
|
|
3501
|
-
}
|
|
3502
|
-
|
|
3503
|
-
export interface DeploymentVariableListInput {
|
|
3504
|
-
serviceId: string
|
|
3505
|
-
}
|
|
3506
|
-
|
|
3507
|
-
export type DeploymentVariableListOutput = {
|
|
3508
|
-
id: string
|
|
3509
|
-
key: string
|
|
3510
|
-
scope: ("service" | "environment" | "product")
|
|
3511
|
-
value: (string | null)
|
|
3512
|
-
isSecret: boolean
|
|
3513
|
-
createdAt: string
|
|
3514
|
-
serviceId: (string | null)
|
|
3515
|
-
updatedAt: string
|
|
3516
|
-
environmentId: (string | null)
|
|
3517
|
-
}[]
|
|
3518
|
-
|
|
3519
|
-
export interface DeploymentVariableListEnvInput {
|
|
3520
|
-
environmentId: string
|
|
3521
|
-
}
|
|
3522
|
-
|
|
3523
|
-
export type DeploymentVariableListEnvOutput = {
|
|
3524
|
-
id: string
|
|
3525
|
-
key: string
|
|
3526
|
-
scope: ("service" | "environment" | "product")
|
|
3527
|
-
value: (string | null)
|
|
3528
|
-
isSecret: boolean
|
|
3529
|
-
createdAt: string
|
|
3530
|
-
serviceId: (string | null)
|
|
3531
|
-
updatedAt: string
|
|
3532
|
-
environmentId: (string | null)
|
|
3533
|
-
}[]
|
|
3534
|
-
|
|
3535
|
-
export interface DeploymentVariableListProductInput {
|
|
3536
|
-
|
|
3537
|
-
}
|
|
3538
|
-
|
|
3539
|
-
export type DeploymentVariableListProductOutput = {
|
|
3540
|
-
id: string
|
|
3541
|
-
key: string
|
|
3542
|
-
scope: ("service" | "environment" | "product")
|
|
3543
|
-
value: (string | null)
|
|
3544
|
-
isSecret: boolean
|
|
3545
|
-
createdAt: string
|
|
3546
|
-
serviceId: (string | null)
|
|
3547
|
-
updatedAt: string
|
|
3548
|
-
environmentId: (string | null)
|
|
3549
|
-
}[]
|
|
3550
|
-
|
|
3551
|
-
export interface DeploymentVariableSetInput {
|
|
3552
|
-
key: string
|
|
3553
|
-
value: string
|
|
3554
|
-
isSecret?: boolean
|
|
3555
|
-
serviceId: string
|
|
3556
|
-
}
|
|
3557
|
-
|
|
3558
|
-
export interface DeploymentVariableSetOutput {
|
|
3559
|
-
id: string
|
|
3560
|
-
key: string
|
|
3561
|
-
scope: ("service" | "environment" | "product")
|
|
3562
|
-
value: (string | null)
|
|
3563
|
-
isSecret: boolean
|
|
3564
|
-
createdAt: string
|
|
3565
|
-
serviceId: (string | null)
|
|
3566
|
-
updatedAt: string
|
|
3567
|
-
environmentId: (string | null)
|
|
3568
|
-
}
|
|
3569
|
-
|
|
3570
|
-
export interface DeploymentVariableSetEnvInput {
|
|
3571
|
-
key: string
|
|
3572
|
-
value: string
|
|
3573
|
-
isSecret?: boolean
|
|
3574
|
-
environmentId: string
|
|
3575
|
-
}
|
|
3576
|
-
|
|
3577
|
-
export interface DeploymentVariableSetEnvOutput {
|
|
3578
|
-
id: string
|
|
3579
|
-
key: string
|
|
3580
|
-
scope: ("service" | "environment" | "product")
|
|
3581
|
-
value: (string | null)
|
|
3582
|
-
isSecret: boolean
|
|
3583
|
-
createdAt: string
|
|
3584
|
-
serviceId: (string | null)
|
|
3585
|
-
updatedAt: string
|
|
3586
|
-
environmentId: (string | null)
|
|
3587
|
-
}
|
|
3588
|
-
|
|
3589
|
-
export interface DeploymentVariableSetProductInput {
|
|
3590
|
-
key: string
|
|
3591
|
-
value: string
|
|
3592
|
-
isSecret?: boolean
|
|
3593
|
-
}
|
|
3594
|
-
|
|
3595
|
-
export interface DeploymentVariableSetProductOutput {
|
|
3596
|
-
id: string
|
|
3597
|
-
key: string
|
|
3598
|
-
scope: ("service" | "environment" | "product")
|
|
3599
|
-
value: (string | null)
|
|
3600
|
-
isSecret: boolean
|
|
3601
|
-
createdAt: string
|
|
3602
|
-
serviceId: (string | null)
|
|
3603
|
-
updatedAt: string
|
|
3604
|
-
environmentId: (string | null)
|
|
3605
|
-
}
|
|
3606
|
-
|
|
3607
|
-
export interface DeploymentVariableUnsetInput {
|
|
3608
|
-
key: string
|
|
3609
|
-
serviceId: string
|
|
3610
|
-
}
|
|
3611
|
-
|
|
3612
|
-
export interface DeploymentVariableUnsetOutput {
|
|
3613
|
-
[k: string]: unknown
|
|
3614
|
-
}
|
|
3615
|
-
|
|
3616
|
-
export interface DeploymentVariableUnsetEnvInput {
|
|
3617
|
-
key: string
|
|
3618
|
-
environmentId: string
|
|
3619
|
-
}
|
|
3620
|
-
|
|
3621
|
-
export interface DeploymentVariableUnsetEnvOutput {
|
|
3622
|
-
[k: string]: unknown
|
|
3623
|
-
}
|
|
3624
|
-
|
|
3625
|
-
export interface DeploymentVariableUnsetProductInput {
|
|
3626
|
-
key: string
|
|
3627
|
-
}
|
|
3628
|
-
|
|
3629
|
-
export interface DeploymentVariableUnsetProductOutput {
|
|
3630
|
-
[k: string]: unknown
|
|
3631
|
-
}
|
|
3632
|
-
|
|
3633
|
-
export interface DeploymentVcsBranchListInput {
|
|
3634
|
-
connectorId: string
|
|
3635
|
-
repoFullName: string
|
|
3636
|
-
}
|
|
3637
|
-
|
|
3638
|
-
export type DeploymentVcsBranchListOutput = {
|
|
3639
|
-
name: string
|
|
3640
|
-
commitSha: string
|
|
3641
|
-
}[]
|
|
3642
|
-
|
|
3643
|
-
export interface DeploymentVcsConnectionListInput {
|
|
3644
|
-
|
|
3645
|
-
}
|
|
3646
|
-
|
|
3647
|
-
export type DeploymentVcsConnectionListOutput = {
|
|
3648
|
-
status: string
|
|
3649
|
-
connectorId: string
|
|
3650
|
-
accountLogin: string
|
|
3651
|
-
installationId: string
|
|
3652
|
-
}[]
|
|
3653
|
-
|
|
3654
|
-
export interface DeploymentVcsRepoListInput {
|
|
3655
|
-
page?: number
|
|
3656
|
-
search?: string
|
|
3657
|
-
connectorId: string
|
|
3658
|
-
}
|
|
3659
|
-
|
|
3660
|
-
export type DeploymentVcsRepoListOutput = {
|
|
3661
|
-
private: boolean
|
|
3662
|
-
fullName: string
|
|
3663
|
-
defaultBranch: string
|
|
3664
|
-
}[]
|
|
3665
|
-
|
|
3666
|
-
export interface DeploymentVolumeCreateInput {
|
|
3667
|
-
name: string
|
|
3668
|
-
slug?: string
|
|
3669
|
-
sizeGb: number
|
|
3670
|
-
mountPath: string
|
|
3671
|
-
environmentId: string
|
|
3672
|
-
attachedServiceId?: string
|
|
3673
|
-
}
|
|
3674
|
-
|
|
3675
|
-
export interface DeploymentVolumeCreateOutput {
|
|
3676
|
-
id: string
|
|
3677
|
-
name: string
|
|
3678
|
-
slug: string
|
|
3679
|
-
sizeGb: number
|
|
3680
|
-
status: ("provisioning" | "ready" | "detached" | "failed")
|
|
1223
|
+
isSystem?: boolean
|
|
3681
1224
|
createdAt: string
|
|
3682
|
-
mountPath: string
|
|
3683
1225
|
updatedAt: string
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
1226
|
+
catalogKey?: (string | null)
|
|
1227
|
+
orderIndex: number
|
|
1228
|
+
privacyUrl: (string | null)
|
|
1229
|
+
description: string
|
|
3687
1230
|
}
|
|
3688
1231
|
|
|
3689
|
-
export interface
|
|
1232
|
+
export interface ConsentProvidersDeleteInput {
|
|
1233
|
+
/**
|
|
1234
|
+
* Provider id
|
|
1235
|
+
*/
|
|
3690
1236
|
id: string
|
|
3691
1237
|
}
|
|
3692
1238
|
|
|
3693
|
-
export interface
|
|
3694
|
-
|
|
1239
|
+
export interface ConsentProvidersDeleteOutput {
|
|
1240
|
+
id: string
|
|
1241
|
+
deleted: true
|
|
3695
1242
|
}
|
|
3696
1243
|
|
|
3697
|
-
export interface
|
|
3698
|
-
|
|
1244
|
+
export interface ConsentProvidersListInput {
|
|
1245
|
+
|
|
3699
1246
|
}
|
|
3700
1247
|
|
|
3701
|
-
export
|
|
1248
|
+
export type ConsentProvidersListOutput = {
|
|
3702
1249
|
id: string
|
|
3703
1250
|
name: string
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
|
|
1251
|
+
hosts: string[]
|
|
1252
|
+
cookies: {
|
|
1253
|
+
id: string
|
|
1254
|
+
name: string
|
|
1255
|
+
type: ("http_cookie" | "local_storage" | "session_storage")
|
|
1256
|
+
purpose: string
|
|
1257
|
+
storageDuration: string
|
|
1258
|
+
}[]
|
|
1259
|
+
category: ("necessary" | "preferences" | "statistics" | "marketing")
|
|
1260
|
+
isSystem?: boolean
|
|
3707
1261
|
createdAt: string
|
|
3708
|
-
mountPath: string
|
|
3709
1262
|
updatedAt: string
|
|
3710
|
-
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
|
|
1263
|
+
catalogKey?: (string | null)
|
|
1264
|
+
orderIndex: number
|
|
1265
|
+
privacyUrl: (string | null)
|
|
1266
|
+
description: string
|
|
1267
|
+
}[]
|
|
3714
1268
|
|
|
3715
|
-
export interface
|
|
1269
|
+
export interface ConsentProvidersUpdateInput {
|
|
1270
|
+
/**
|
|
1271
|
+
* Provider id
|
|
1272
|
+
*/
|
|
3716
1273
|
id: string
|
|
1274
|
+
name?: string
|
|
1275
|
+
/**
|
|
1276
|
+
* If provided, REPLACES the hosts list. Omit to leave unchanged.
|
|
1277
|
+
*
|
|
1278
|
+
* @maxItems 50
|
|
1279
|
+
*/
|
|
1280
|
+
hosts?: string[]
|
|
1281
|
+
/**
|
|
1282
|
+
* If provided, REPLACES the whole cookies set for this provider. Omit to leave unchanged.
|
|
1283
|
+
*
|
|
1284
|
+
* @maxItems 200
|
|
1285
|
+
*/
|
|
1286
|
+
cookies?: {
|
|
1287
|
+
/**
|
|
1288
|
+
* Cookie/storage key name, e.g. "_ga"
|
|
1289
|
+
*/
|
|
1290
|
+
name: string
|
|
1291
|
+
/**
|
|
1292
|
+
* Storage mechanism — matches CHECK constraint on consent_cookies.type
|
|
1293
|
+
*/
|
|
1294
|
+
type: ("http_cookie" | "local_storage" | "session_storage")
|
|
1295
|
+
/**
|
|
1296
|
+
* Human-readable description of why the cookie is set
|
|
1297
|
+
*/
|
|
1298
|
+
purpose?: string
|
|
1299
|
+
/**
|
|
1300
|
+
* Duration like "2 years", "session", "30 days"
|
|
1301
|
+
*/
|
|
1302
|
+
storageDuration?: string
|
|
1303
|
+
}[]
|
|
1304
|
+
/**
|
|
1305
|
+
* Consent category bucket — matches CHECK constraint on consent_providers.category
|
|
1306
|
+
*/
|
|
1307
|
+
category?: ("necessary" | "preferences" | "statistics" | "marketing")
|
|
1308
|
+
orderIndex?: number
|
|
1309
|
+
/**
|
|
1310
|
+
* null clears the field, undefined leaves it unchanged
|
|
1311
|
+
*/
|
|
1312
|
+
privacyUrl?: (string | null)
|
|
1313
|
+
/**
|
|
1314
|
+
* Pass empty string to clear; undefined leaves unchanged
|
|
1315
|
+
*/
|
|
1316
|
+
description?: string
|
|
3717
1317
|
}
|
|
3718
1318
|
|
|
3719
|
-
export interface
|
|
1319
|
+
export interface ConsentProvidersUpdateOutput {
|
|
3720
1320
|
id: string
|
|
3721
1321
|
name: string
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
|
|
1322
|
+
hosts: string[]
|
|
1323
|
+
cookies: {
|
|
1324
|
+
id: string
|
|
1325
|
+
name: string
|
|
1326
|
+
type: ("http_cookie" | "local_storage" | "session_storage")
|
|
1327
|
+
purpose: string
|
|
1328
|
+
storageDuration: string
|
|
1329
|
+
}[]
|
|
1330
|
+
category: ("necessary" | "preferences" | "statistics" | "marketing")
|
|
1331
|
+
isSystem?: boolean
|
|
3725
1332
|
createdAt: string
|
|
3726
|
-
mountPath: string
|
|
3727
1333
|
updatedAt: string
|
|
3728
|
-
|
|
3729
|
-
|
|
3730
|
-
|
|
1334
|
+
catalogKey?: (string | null)
|
|
1335
|
+
orderIndex: number
|
|
1336
|
+
privacyUrl: (string | null)
|
|
1337
|
+
description: string
|
|
3731
1338
|
}
|
|
3732
1339
|
|
|
3733
|
-
export interface
|
|
3734
|
-
|
|
1340
|
+
export interface ConsentRecordsExportInput {
|
|
1341
|
+
/**
|
|
1342
|
+
* Inclusive upper bound for created_at, ISO-8601. Example: "2026-01-01T00:00:00Z". Omit for "up to now".
|
|
1343
|
+
*/
|
|
1344
|
+
to?: string
|
|
1345
|
+
/**
|
|
1346
|
+
* Inclusive lower bound for created_at (server clock), ISO-8601. Example: "2025-01-01T00:00:00Z". Omit for "from the beginning".
|
|
1347
|
+
*/
|
|
1348
|
+
from?: string
|
|
1349
|
+
/**
|
|
1350
|
+
* Maximum rows to return inline. Default 1000, hard cap 10000. If more rows match, the response sets truncated=true and includes download_url for the full dataset via HTTP.
|
|
1351
|
+
*/
|
|
1352
|
+
limit?: number
|
|
1353
|
+
/**
|
|
1354
|
+
* DSAR (Art. 15) lookup: a visitor-presented record_id (the UUID from their consent cookie). When set, the export is filtered to that visitor's full decision chain (transitive closure over replaces_id), scoped to the current product. Omit for a product-wide admin export.
|
|
1355
|
+
*/
|
|
1356
|
+
record_id?: string
|
|
3735
1357
|
}
|
|
3736
1358
|
|
|
3737
|
-
export
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
|
|
3744
|
-
|
|
3745
|
-
|
|
3746
|
-
|
|
3747
|
-
|
|
3748
|
-
|
|
3749
|
-
}[]
|
|
1359
|
+
export interface ConsentRecordsExportOutput {
|
|
1360
|
+
csv: string
|
|
1361
|
+
filters: {
|
|
1362
|
+
to: (string | null)
|
|
1363
|
+
from: (string | null)
|
|
1364
|
+
limit: number
|
|
1365
|
+
}
|
|
1366
|
+
truncated: boolean
|
|
1367
|
+
total_count: number
|
|
1368
|
+
download_url?: string
|
|
1369
|
+
returned_count: number
|
|
1370
|
+
}
|
|
3750
1371
|
|
|
3751
|
-
export interface
|
|
3752
|
-
|
|
3753
|
-
|
|
1372
|
+
export interface ConsentStatsGetInput {
|
|
1373
|
+
/**
|
|
1374
|
+
* Time window for aggregation in days, e.g. "30d". Omit to use the server default (30d). Maximum: 365d.
|
|
1375
|
+
*/
|
|
1376
|
+
range?: string
|
|
3754
1377
|
}
|
|
3755
1378
|
|
|
3756
|
-
export interface
|
|
3757
|
-
|
|
3758
|
-
|
|
3759
|
-
|
|
3760
|
-
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
|
|
1379
|
+
export interface ConsentStatsGetOutput {
|
|
1380
|
+
range: {
|
|
1381
|
+
to: string
|
|
1382
|
+
from: string
|
|
1383
|
+
}
|
|
1384
|
+
total: number
|
|
1385
|
+
custom_pct: number
|
|
1386
|
+
by_category: {
|
|
1387
|
+
marketing_pct: number
|
|
1388
|
+
statistics_pct: number
|
|
1389
|
+
preferences_pct: number
|
|
1390
|
+
}
|
|
1391
|
+
deny_all_pct: number
|
|
1392
|
+
accept_all_pct: number
|
|
3768
1393
|
}
|
|
3769
1394
|
|
|
3770
1395
|
export interface MailApikeyCreateInput {
|
|
@@ -12870,6 +10495,7 @@ id: string
|
|
|
12870
10495
|
name: string
|
|
12871
10496
|
role: string
|
|
12872
10497
|
slug: string
|
|
10498
|
+
demoAt: (string | null)
|
|
12873
10499
|
status: string
|
|
12874
10500
|
blockedAt: (string | null)
|
|
12875
10501
|
createdAt: string
|
|
@@ -12887,6 +10513,7 @@ id: string
|
|
|
12887
10513
|
name: string
|
|
12888
10514
|
role: string
|
|
12889
10515
|
slug: string
|
|
10516
|
+
demoAt: (string | null)
|
|
12890
10517
|
status: string
|
|
12891
10518
|
blockedAt: (string | null)
|
|
12892
10519
|
createdAt: string
|
|
@@ -12918,6 +10545,7 @@ id: string
|
|
|
12918
10545
|
name: string
|
|
12919
10546
|
role: string
|
|
12920
10547
|
slug: string
|
|
10548
|
+
demoAt: (string | null)
|
|
12921
10549
|
status: string
|
|
12922
10550
|
blockedAt: (string | null)
|
|
12923
10551
|
createdAt: string
|
|
@@ -13087,226 +10715,6 @@ name: string
|
|
|
13087
10715
|
activeProductId: (string | null)
|
|
13088
10716
|
}
|
|
13089
10717
|
|
|
13090
|
-
export interface PlaygroundAnalyticsOverviewInput {
|
|
13091
|
-
/**
|
|
13092
|
-
* Max records per entity in recent[]; omit for the endpoint default
|
|
13093
|
-
*/
|
|
13094
|
-
limit?: number
|
|
13095
|
-
}
|
|
13096
|
-
|
|
13097
|
-
export interface PlaygroundAnalyticsOverviewOutput {
|
|
13098
|
-
ok: boolean
|
|
13099
|
-
minted: boolean
|
|
13100
|
-
overview?: unknown
|
|
13101
|
-
http_status: number
|
|
13102
|
-
}
|
|
13103
|
-
|
|
13104
|
-
export interface PlaygroundBillingEntitlementsInput {
|
|
13105
|
-
|
|
13106
|
-
}
|
|
13107
|
-
|
|
13108
|
-
export interface PlaygroundBillingEntitlementsOutput {
|
|
13109
|
-
ok: boolean
|
|
13110
|
-
minted: boolean
|
|
13111
|
-
http_status: number
|
|
13112
|
-
entitlements?: unknown
|
|
13113
|
-
}
|
|
13114
|
-
|
|
13115
|
-
export interface PlaygroundBillingRecordUsageInput {
|
|
13116
|
-
/**
|
|
13117
|
-
* Quantity of events to record against playground-events (SUM); defaults to 1
|
|
13118
|
-
*/
|
|
13119
|
-
value?: number
|
|
13120
|
-
}
|
|
13121
|
-
|
|
13122
|
-
export interface PlaygroundBillingRecordUsageOutput {
|
|
13123
|
-
minted: boolean
|
|
13124
|
-
accepted: (number | null)
|
|
13125
|
-
recorded: boolean
|
|
13126
|
-
duplicates: (number | null)
|
|
13127
|
-
http_status: number
|
|
13128
|
-
}
|
|
13129
|
-
|
|
13130
|
-
export interface PlaygroundClickupCreateTaskInput {
|
|
13131
|
-
/**
|
|
13132
|
-
* Task title; defaults to a fixture label
|
|
13133
|
-
*/
|
|
13134
|
-
name?: string
|
|
13135
|
-
/**
|
|
13136
|
-
* ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
|
|
13137
|
-
*/
|
|
13138
|
-
listId?: string
|
|
13139
|
-
}
|
|
13140
|
-
|
|
13141
|
-
export interface PlaygroundClickupCreateTaskOutput {
|
|
13142
|
-
minted: boolean
|
|
13143
|
-
task_id: (string | null)
|
|
13144
|
-
list_status: number
|
|
13145
|
-
vend_status: number
|
|
13146
|
-
clickup_status: number
|
|
13147
|
-
installation_count: number
|
|
13148
|
-
}
|
|
13149
|
-
|
|
13150
|
-
export interface PlaygroundClickupGetLastWebhookInput {
|
|
13151
|
-
|
|
13152
|
-
}
|
|
13153
|
-
|
|
13154
|
-
export type PlaygroundClickupGetLastWebhookOutput = ({
|
|
13155
|
-
payload: string
|
|
13156
|
-
event_id: string
|
|
13157
|
-
provider: string
|
|
13158
|
-
verified: boolean
|
|
13159
|
-
product_id: string
|
|
13160
|
-
occurred_at: string
|
|
13161
|
-
connector_id: string
|
|
13162
|
-
clickup_event: (string | null)
|
|
13163
|
-
receipt_count: number
|
|
13164
|
-
} | {
|
|
13165
|
-
found: false
|
|
13166
|
-
})
|
|
13167
|
-
|
|
13168
|
-
export interface PlaygroundClickupGetOverviewInput {
|
|
13169
|
-
|
|
13170
|
-
}
|
|
13171
|
-
|
|
13172
|
-
export interface PlaygroundClickupGetOverviewOutput {
|
|
13173
|
-
team: ({
|
|
13174
|
-
teamId: string
|
|
13175
|
-
teamName: string
|
|
13176
|
-
} | null)
|
|
13177
|
-
lists: PlaygroundClickupGetOverviewOutputItems[]
|
|
13178
|
-
tasks: {
|
|
13179
|
-
id: string
|
|
13180
|
-
name: string
|
|
13181
|
-
status: (string | null)
|
|
13182
|
-
}[]
|
|
13183
|
-
minted: boolean
|
|
13184
|
-
spaces: PlaygroundClickupGetOverviewOutputItems[]
|
|
13185
|
-
list_status: number
|
|
13186
|
-
vend_status: number
|
|
13187
|
-
lists_status: number
|
|
13188
|
-
tasks_status: number
|
|
13189
|
-
spaces_status: number
|
|
13190
|
-
folders_status: number
|
|
13191
|
-
installation_count: number
|
|
13192
|
-
}
|
|
13193
|
-
export interface PlaygroundClickupGetOverviewOutputItems {
|
|
13194
|
-
id: string
|
|
13195
|
-
name: string
|
|
13196
|
-
}
|
|
13197
|
-
|
|
13198
|
-
export interface PlaygroundGdriveGetLastChangeInput {
|
|
13199
|
-
|
|
13200
|
-
}
|
|
13201
|
-
|
|
13202
|
-
export type PlaygroundGdriveGetLastChangeOutput = ({
|
|
13203
|
-
file_id: string
|
|
13204
|
-
removed: boolean
|
|
13205
|
-
file_name: (string | null)
|
|
13206
|
-
mime_type: (string | null)
|
|
13207
|
-
product_id: string
|
|
13208
|
-
occurred_at: string
|
|
13209
|
-
connector_id: string
|
|
13210
|
-
resource_state: string
|
|
13211
|
-
} | {
|
|
13212
|
-
found: false
|
|
13213
|
-
})
|
|
13214
|
-
|
|
13215
|
-
export interface PlaygroundGdriveReadFileInput {
|
|
13216
|
-
/**
|
|
13217
|
-
* Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
|
|
13218
|
-
*/
|
|
13219
|
-
fileId?: string
|
|
13220
|
-
}
|
|
13221
|
-
|
|
13222
|
-
export interface PlaygroundGdriveReadFileOutput {
|
|
13223
|
-
minted: boolean
|
|
13224
|
-
file_id: (string | null)
|
|
13225
|
-
file_name: (string | null)
|
|
13226
|
-
mime_type: (string | null)
|
|
13227
|
-
file_count: number
|
|
13228
|
-
get_status: number
|
|
13229
|
-
list_status: number
|
|
13230
|
-
vend_status: number
|
|
13231
|
-
content_bytes: (number | null)
|
|
13232
|
-
}
|
|
13233
|
-
|
|
13234
|
-
export interface PlaygroundGoogleadsReadCustomerInput {
|
|
13235
|
-
|
|
13236
|
-
}
|
|
13237
|
-
|
|
13238
|
-
export interface PlaygroundGoogleadsReadCustomerOutput {
|
|
13239
|
-
minted: boolean
|
|
13240
|
-
vended: boolean
|
|
13241
|
-
customer_id: (string | null)
|
|
13242
|
-
vend_status: number
|
|
13243
|
-
result_count: number
|
|
13244
|
-
search_status: number
|
|
13245
|
-
login_customer_id: (string | null)
|
|
13246
|
-
}
|
|
13247
|
-
|
|
13248
|
-
export interface PlaygroundLifecycleGetStateInput {
|
|
13249
|
-
|
|
13250
|
-
}
|
|
13251
|
-
|
|
13252
|
-
export interface PlaygroundLifecycleGetStateOutput {
|
|
13253
|
-
blocked: boolean
|
|
13254
|
-
archived: boolean
|
|
13255
|
-
productId: string
|
|
13256
|
-
lastBlockTransition: ({
|
|
13257
|
-
eventId: string
|
|
13258
|
-
eventName: string
|
|
13259
|
-
productId: string
|
|
13260
|
-
occurredAt: string
|
|
13261
|
-
recordedAt: string
|
|
13262
|
-
receiptCount: number
|
|
13263
|
-
organizationId: string
|
|
13264
|
-
cascadedFromOrg: boolean
|
|
13265
|
-
} | null)
|
|
13266
|
-
lastArchiveTransition: ({
|
|
13267
|
-
eventId: string
|
|
13268
|
-
eventName: string
|
|
13269
|
-
productId: string
|
|
13270
|
-
occurredAt: string
|
|
13271
|
-
recordedAt: string
|
|
13272
|
-
receiptCount: number
|
|
13273
|
-
organizationId: string
|
|
13274
|
-
cascadedFromOrg: boolean
|
|
13275
|
-
} | null)
|
|
13276
|
-
}
|
|
13277
|
-
|
|
13278
|
-
export interface PlaygroundLifecycleListEventsInput {
|
|
13279
|
-
|
|
13280
|
-
}
|
|
13281
|
-
|
|
13282
|
-
export type PlaygroundLifecycleListEventsOutput = {
|
|
13283
|
-
eventId: string
|
|
13284
|
-
eventName: string
|
|
13285
|
-
productId: string
|
|
13286
|
-
occurredAt: string
|
|
13287
|
-
recordedAt: string
|
|
13288
|
-
receiptCount: number
|
|
13289
|
-
organizationId: string
|
|
13290
|
-
cascadedFromOrg: boolean
|
|
13291
|
-
}[]
|
|
13292
|
-
|
|
13293
|
-
export interface PlaygroundWebhookGetLastInput {
|
|
13294
|
-
|
|
13295
|
-
}
|
|
13296
|
-
|
|
13297
|
-
export type PlaygroundWebhookGetLastOutput = ({
|
|
13298
|
-
payload?: unknown
|
|
13299
|
-
event_id: string
|
|
13300
|
-
provider: string
|
|
13301
|
-
verified: boolean
|
|
13302
|
-
product_id: string
|
|
13303
|
-
occurred_at: string
|
|
13304
|
-
connector_id: string
|
|
13305
|
-
delivery_count: number
|
|
13306
|
-
} | {
|
|
13307
|
-
found: false
|
|
13308
|
-
})
|
|
13309
|
-
|
|
13310
10718
|
export interface TrackingApiKeysCreateInput {
|
|
13311
10719
|
name: string
|
|
13312
10720
|
}
|