@faable/deploy-sdk 2.8.0 → 2.10.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/FaableDeployApi.d.ts +24 -0
- package/dist/FaableDeployApi.d.ts.map +1 -1
- package/dist/api/api-types.d.ts +6 -1
- package/dist/api/api-types.d.ts.map +1 -1
- package/dist/api/generated-client.d.ts +150 -17
- package/dist/api/generated-client.d.ts.map +1 -1
- package/dist/api/generated-client.js +55 -12
- package/dist/api/types.d.ts +366 -43
- package/dist/api/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/spec/openapi.json +906 -144
|
@@ -107,6 +107,8 @@ export declare class DeployApi extends GeneratedFaableDeployApi {
|
|
|
107
107
|
artifact_id?: string;
|
|
108
108
|
artifact_ready_at?: string;
|
|
109
109
|
redeploy_of?: string;
|
|
110
|
+
quota_released_at?: string;
|
|
111
|
+
trigger?: string | null;
|
|
110
112
|
status: import("./index.js").components["schemas"]["DeploymentStatus"];
|
|
111
113
|
metadata: {
|
|
112
114
|
[key: string]: unknown;
|
|
@@ -135,10 +137,14 @@ export declare class DeployApi extends GeneratedFaableDeployApi {
|
|
|
135
137
|
coexistence_drain_hours?: number | null;
|
|
136
138
|
instance_type: string;
|
|
137
139
|
region: "gui1" | "poz1" | "ams1";
|
|
140
|
+
notify_deploy_success?: boolean | null;
|
|
138
141
|
status: import("./index.js").components["schemas"]["AppStatus"];
|
|
139
142
|
repository?: string;
|
|
140
143
|
github_branch?: string;
|
|
141
144
|
github_installation_id?: string;
|
|
145
|
+
github_installation_state?: string | null;
|
|
146
|
+
deploy_trigger?: string | null;
|
|
147
|
+
deploy_gate?: string | null;
|
|
142
148
|
metadata: {
|
|
143
149
|
[key: string]: unknown;
|
|
144
150
|
};
|
|
@@ -229,10 +235,14 @@ export declare class DeployApi extends GeneratedFaableDeployApi {
|
|
|
229
235
|
coexistence_drain_hours?: number | null;
|
|
230
236
|
instance_type: string;
|
|
231
237
|
region: "gui1" | "poz1" | "ams1";
|
|
238
|
+
notify_deploy_success?: boolean | null;
|
|
232
239
|
status: import("./index.js").components["schemas"]["AppStatus"];
|
|
233
240
|
repository?: string;
|
|
234
241
|
github_branch?: string;
|
|
235
242
|
github_installation_id?: string;
|
|
243
|
+
github_installation_state?: string | null;
|
|
244
|
+
deploy_trigger?: string | null;
|
|
245
|
+
deploy_gate?: string | null;
|
|
236
246
|
metadata: {
|
|
237
247
|
[key: string]: unknown;
|
|
238
248
|
};
|
|
@@ -259,10 +269,14 @@ export declare class DeployApi extends GeneratedFaableDeployApi {
|
|
|
259
269
|
coexistence_drain_hours?: number | null;
|
|
260
270
|
instance_type: string;
|
|
261
271
|
region: "gui1" | "poz1" | "ams1";
|
|
272
|
+
notify_deploy_success?: boolean | null;
|
|
262
273
|
status: import("./index.js").components["schemas"]["AppStatus"];
|
|
263
274
|
repository?: string;
|
|
264
275
|
github_branch?: string;
|
|
265
276
|
github_installation_id?: string;
|
|
277
|
+
github_installation_state?: string | null;
|
|
278
|
+
deploy_trigger?: string | null;
|
|
279
|
+
deploy_gate?: string | null;
|
|
266
280
|
metadata: {
|
|
267
281
|
[key: string]: unknown;
|
|
268
282
|
};
|
|
@@ -292,10 +306,14 @@ export declare class DeployApi extends GeneratedFaableDeployApi {
|
|
|
292
306
|
coexistence_drain_hours?: number | null;
|
|
293
307
|
instance_type: string;
|
|
294
308
|
region: "gui1" | "poz1" | "ams1";
|
|
309
|
+
notify_deploy_success?: boolean | null;
|
|
295
310
|
status: import("./index.js").components["schemas"]["AppStatus"];
|
|
296
311
|
repository?: string;
|
|
297
312
|
github_branch?: string;
|
|
298
313
|
github_installation_id?: string;
|
|
314
|
+
github_installation_state?: string | null;
|
|
315
|
+
deploy_trigger?: string | null;
|
|
316
|
+
deploy_gate?: string | null;
|
|
299
317
|
metadata: {
|
|
300
318
|
[key: string]: unknown;
|
|
301
319
|
};
|
|
@@ -322,6 +340,8 @@ export declare class DeployApi extends GeneratedFaableDeployApi {
|
|
|
322
340
|
artifact_id?: string;
|
|
323
341
|
artifact_ready_at?: string;
|
|
324
342
|
redeploy_of?: string;
|
|
343
|
+
quota_released_at?: string;
|
|
344
|
+
trigger?: string | null;
|
|
325
345
|
status: import("./index.js").components["schemas"]["DeploymentStatus"];
|
|
326
346
|
metadata: {
|
|
327
347
|
[key: string]: unknown;
|
|
@@ -342,6 +362,8 @@ export declare class DeployApi extends GeneratedFaableDeployApi {
|
|
|
342
362
|
artifact_id?: string;
|
|
343
363
|
artifact_ready_at?: string;
|
|
344
364
|
redeploy_of?: string;
|
|
365
|
+
quota_released_at?: string;
|
|
366
|
+
trigger?: string | null;
|
|
345
367
|
status: import("./index.js").components["schemas"]["DeploymentStatus"];
|
|
346
368
|
metadata: {
|
|
347
369
|
[key: string]: unknown;
|
|
@@ -365,6 +387,8 @@ export declare class DeployApi extends GeneratedFaableDeployApi {
|
|
|
365
387
|
artifact_id?: string;
|
|
366
388
|
artifact_ready_at?: string;
|
|
367
389
|
redeploy_of?: string;
|
|
390
|
+
quota_released_at?: string;
|
|
391
|
+
trigger?: string | null;
|
|
368
392
|
status: import("./index.js").components["schemas"]["DeploymentStatus"];
|
|
369
393
|
metadata: {
|
|
370
394
|
[key: string]: unknown;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FaableDeployApi.d.ts","sourceRoot":"","sources":["../src/FaableDeployApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,KAAK,EAGV,UAAU,EAEV,UAAU,EACV,MAAM,EACP,MAAM,uBAAuB,CAAC;AAG/B,MAAM,WAAW,eAAe;IAC9B,yCAAyC;IACzC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,qCAAqC;IACrC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,+DAA+D;IAC/D,QAAQ,CAAC,EAAE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lE9yzB;;;;;;OAMG;IACH,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE;;;;;;;;;;qBA2Dwnf,0CAAsB;;kBAA8E,0CAAsB;;;;;;;;;;oBAAw8B,0CAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAxK/vhB,CAAC;oBACK,CAAC;;;;;;;;;;qBAuKgqf,0CAAsB;;kBAA8E,0CAAsB;;;;;;;;;;oBAAw8B,0CAAsB;;;;;;;;;;;;;;IAjDnwhB;;;;OAIG;IACH,eAAe,CAAC,KAAK,CAAC,EAAE,MAAM;;;;;;;;;;;;;;;;oBA4C+0sB,0CAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAxK/3sB,CAAC;oBACK,CAAC;;;;;;;;;;;;;;;;oBAuKk2sB,0CAAsB;;;;;;;;IAhCn4sB,8EAA8E;IAC9E,eAAe,CAAC,KAAK,CAAC,EAAE,MAAM;;;;kBAzI1B,CAAC;oBACK,CAAC;;;IA+IX,gBAAgB,CAAC,IAAI,EAAE,OAAO,CAAC,UAAU,CAAC;IAI1C,gBAAgB,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,CAAC,UAAU,CAAC;IAItD,gEAAgE;IAChE,WAAW,CAAC,KAAK,CAAC,EAAE,MAAM;;;;kBAzJtB,CAAC;oBACK,CAAC;;;IA+JX,YAAY,CAAC,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC;IAIlC,YAAY,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC;CAG/C"}
|
package/dist/api/api-types.d.ts
CHANGED
|
@@ -21,7 +21,9 @@ export type ContactCreate = components["schemas"]["ContactCreate"];
|
|
|
21
21
|
export type ContactType = components["schemas"]["ContactType"];
|
|
22
22
|
export type ContactUpdate = components["schemas"]["ContactUpdate"];
|
|
23
23
|
export type DeployBranchResult = components["schemas"]["DeployBranchResult"];
|
|
24
|
-
export type
|
|
24
|
+
export type DeployNowResult = components["schemas"]["DeployNowResult"];
|
|
25
|
+
export type DeployQuota = components["schemas"]["DeployQuota"];
|
|
26
|
+
export type DeployQuotaRelease = components["schemas"]["DeployQuotaRelease"];
|
|
25
27
|
export type Deployment = components["schemas"]["Deployment"];
|
|
26
28
|
export type DeploymentArtifact = components["schemas"]["DeploymentArtifact"];
|
|
27
29
|
export type DeploymentCreate = components["schemas"]["DeploymentCreate"];
|
|
@@ -64,6 +66,9 @@ export type Project = components["schemas"]["Project"];
|
|
|
64
66
|
export type ProjectCreate = components["schemas"]["ProjectCreate"];
|
|
65
67
|
export type ProjectInvite = components["schemas"]["ProjectInvite"];
|
|
66
68
|
export type ProjectUpdate = components["schemas"]["ProjectUpdate"];
|
|
69
|
+
export type RepoBranches = components["schemas"]["RepoBranches"];
|
|
70
|
+
export type RepoConfig = components["schemas"]["RepoConfig"];
|
|
71
|
+
export type RepoWorkflows = components["schemas"]["RepoWorkflows"];
|
|
67
72
|
export type Secret = components["schemas"]["Secret"];
|
|
68
73
|
export type SecretCreateBatch = components["schemas"]["SecretCreateBatch"];
|
|
69
74
|
export type SecretPage = components["schemas"]["SecretPage"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-types.d.ts","sourceRoot":"","sources":["../../src/api/api-types.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,MAAM,MAAM,MAAM,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,QAAQ,CAAC,CAAC;AACrD,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,cAAc,CAAC,CAAC;AACjE,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,cAAc,CAAC,CAAC;AACjE,MAAM,MAAM,GAAG,GAAG,UAAU,CAAC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AAC,CAAC;AACrD,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,mBAAmB,CAAC,CAAC;AAC3E,MAAM,MAAM,UAAU,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,YAAY,CAAC,CAAC;AAC7D,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,cAAc,CAAC,CAAC;AACjE,MAAM,MAAM,UAAU,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,YAAY,CAAC,CAAC;AAC7D,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CAAC;AACzE,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CAAC"}
|
|
@@ -55,10 +55,14 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
55
55
|
coexistence_drain_hours?: number | null;
|
|
56
56
|
instance_type: string;
|
|
57
57
|
region: "gui1" | "poz1" | "ams1";
|
|
58
|
+
notify_deploy_success?: boolean | null;
|
|
58
59
|
status: import("./types.js").components["schemas"]["AppStatus"];
|
|
59
60
|
repository?: string;
|
|
60
61
|
github_branch?: string;
|
|
61
62
|
github_installation_id?: string;
|
|
63
|
+
github_installation_state?: string | null;
|
|
64
|
+
deploy_trigger?: string | null;
|
|
65
|
+
deploy_gate?: string | null;
|
|
62
66
|
metadata: {
|
|
63
67
|
[key: string]: unknown;
|
|
64
68
|
};
|
|
@@ -90,16 +94,30 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
90
94
|
coexistence_drain_hours?: number | null;
|
|
91
95
|
instance_type: string;
|
|
92
96
|
region: "gui1" | "poz1" | "ams1";
|
|
97
|
+
notify_deploy_success?: boolean | null;
|
|
93
98
|
status: import("./types.js").components["schemas"]["AppStatus"];
|
|
94
99
|
repository?: string;
|
|
95
100
|
github_branch?: string;
|
|
96
101
|
github_installation_id?: string;
|
|
102
|
+
github_installation_state?: string | null;
|
|
103
|
+
deploy_trigger?: string | null;
|
|
104
|
+
deploy_gate?: string | null;
|
|
97
105
|
metadata: {
|
|
98
106
|
[key: string]: unknown;
|
|
99
107
|
};
|
|
100
108
|
createdAt: string;
|
|
101
109
|
updatedAt?: string;
|
|
102
110
|
}>;
|
|
111
|
+
/**
|
|
112
|
+
* `POST /app/{id}/deploy` — operationId: `app/deploy_now`
|
|
113
|
+
*
|
|
114
|
+
* Deploy the latest commit now
|
|
115
|
+
*/
|
|
116
|
+
appDeployNow(id: string): Promise<{
|
|
117
|
+
status: "created";
|
|
118
|
+
commit: string;
|
|
119
|
+
branch: string;
|
|
120
|
+
}>;
|
|
103
121
|
/**
|
|
104
122
|
* `GET /app/{id}` — operationId: `app/get`
|
|
105
123
|
*
|
|
@@ -125,26 +143,20 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
125
143
|
coexistence_drain_hours?: number | null;
|
|
126
144
|
instance_type: string;
|
|
127
145
|
region: "gui1" | "poz1" | "ams1";
|
|
146
|
+
notify_deploy_success?: boolean | null;
|
|
128
147
|
status: import("./types.js").components["schemas"]["AppStatus"];
|
|
129
148
|
repository?: string;
|
|
130
149
|
github_branch?: string;
|
|
131
150
|
github_installation_id?: string;
|
|
151
|
+
github_installation_state?: string | null;
|
|
152
|
+
deploy_trigger?: string | null;
|
|
153
|
+
deploy_gate?: string | null;
|
|
132
154
|
metadata: {
|
|
133
155
|
[key: string]: unknown;
|
|
134
156
|
};
|
|
135
157
|
createdAt: string;
|
|
136
158
|
updatedAt?: string;
|
|
137
159
|
}>;
|
|
138
|
-
/**
|
|
139
|
-
* `GET /app/{id}/deploy-workflow` — operationId: `app/get_deploy_workflow`
|
|
140
|
-
*
|
|
141
|
-
* Get deploy workflow status
|
|
142
|
-
*/
|
|
143
|
-
appGetDeployWorkflow(id: string): Promise<{
|
|
144
|
-
configured: boolean;
|
|
145
|
-
workflow_path?: string;
|
|
146
|
-
updated?: boolean;
|
|
147
|
-
}>;
|
|
148
160
|
/**
|
|
149
161
|
* `GET /app/{app_id}/registry` — operationId: `app/get_registry`
|
|
150
162
|
*
|
|
@@ -183,10 +195,14 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
183
195
|
coexistence_drain_hours?: number | null;
|
|
184
196
|
instance_type: string;
|
|
185
197
|
region: "gui1" | "poz1" | "ams1";
|
|
198
|
+
notify_deploy_success?: boolean | null;
|
|
186
199
|
status: import("./types.js").components["schemas"]["AppStatus"];
|
|
187
200
|
repository?: string;
|
|
188
201
|
github_branch?: string;
|
|
189
202
|
github_installation_id?: string;
|
|
203
|
+
github_installation_state?: string | null;
|
|
204
|
+
deploy_trigger?: string | null;
|
|
205
|
+
deploy_gate?: string | null;
|
|
190
206
|
metadata: {
|
|
191
207
|
[key: string]: unknown;
|
|
192
208
|
};
|
|
@@ -219,10 +235,14 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
219
235
|
coexistence_drain_hours?: number | null;
|
|
220
236
|
instance_type: string;
|
|
221
237
|
region: "gui1" | "poz1" | "ams1";
|
|
238
|
+
notify_deploy_success?: boolean | null;
|
|
222
239
|
status: import("./types.js").components["schemas"]["AppStatus"];
|
|
223
240
|
repository?: string;
|
|
224
241
|
github_branch?: string;
|
|
225
242
|
github_installation_id?: string;
|
|
243
|
+
github_installation_state?: string | null;
|
|
244
|
+
deploy_trigger?: string | null;
|
|
245
|
+
deploy_gate?: string | null;
|
|
226
246
|
metadata: {
|
|
227
247
|
[key: string]: unknown;
|
|
228
248
|
};
|
|
@@ -249,10 +269,14 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
249
269
|
coexistence_drain_hours?: number | null;
|
|
250
270
|
instance_type: string;
|
|
251
271
|
region: "gui1" | "poz1" | "ams1";
|
|
272
|
+
notify_deploy_success?: boolean | null;
|
|
252
273
|
status: import("./types.js").components["schemas"]["AppStatus"];
|
|
253
274
|
repository?: string;
|
|
254
275
|
github_branch?: string;
|
|
255
276
|
github_installation_id?: string;
|
|
277
|
+
github_installation_state?: string | null;
|
|
278
|
+
deploy_trigger?: string | null;
|
|
279
|
+
deploy_gate?: string | null;
|
|
256
280
|
metadata: {
|
|
257
281
|
[key: string]: unknown;
|
|
258
282
|
};
|
|
@@ -282,10 +306,14 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
282
306
|
coexistence_drain_hours?: number | null;
|
|
283
307
|
instance_type: string;
|
|
284
308
|
region: "gui1" | "poz1" | "ams1";
|
|
309
|
+
notify_deploy_success?: boolean | null;
|
|
285
310
|
status: import("./types.js").components["schemas"]["AppStatus"];
|
|
286
311
|
repository?: string;
|
|
287
312
|
github_branch?: string;
|
|
288
313
|
github_installation_id?: string;
|
|
314
|
+
github_installation_state?: string | null;
|
|
315
|
+
deploy_trigger?: string | null;
|
|
316
|
+
deploy_gate?: string | null;
|
|
289
317
|
metadata: {
|
|
290
318
|
[key: string]: unknown;
|
|
291
319
|
};
|
|
@@ -299,6 +327,35 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
299
327
|
* Get app logs
|
|
300
328
|
*/
|
|
301
329
|
appLogs(app_id: string, params?: OpQuery<"app/logs">): Promise<void>;
|
|
330
|
+
/**
|
|
331
|
+
* `GET /app/{id}/repo/branches` — operationId: `app/repo_branches`
|
|
332
|
+
*
|
|
333
|
+
* List repository branches
|
|
334
|
+
*/
|
|
335
|
+
appRepoBranches(id: string): Promise<{
|
|
336
|
+
branches: string[];
|
|
337
|
+
}>;
|
|
338
|
+
/**
|
|
339
|
+
* `GET /app/{id}/repo/config` — operationId: `app/repo_config`
|
|
340
|
+
*
|
|
341
|
+
* Get effective repository build config
|
|
342
|
+
*/
|
|
343
|
+
appRepoConfig(id: string): Promise<{
|
|
344
|
+
root_dir: string | null;
|
|
345
|
+
root_dir_source: "platform" | "faable.json" | null;
|
|
346
|
+
}>;
|
|
347
|
+
/**
|
|
348
|
+
* `GET /app/{id}/repo/workflows` — operationId: `app/repo_workflows`
|
|
349
|
+
*
|
|
350
|
+
* List repository workflow files
|
|
351
|
+
*/
|
|
352
|
+
appRepoWorkflows(id: string): Promise<{
|
|
353
|
+
workflows: {
|
|
354
|
+
name: string;
|
|
355
|
+
path: string;
|
|
356
|
+
}[];
|
|
357
|
+
deploy_workflow: string | null;
|
|
358
|
+
}>;
|
|
302
359
|
/**
|
|
303
360
|
* `POST /app/{id}/deploy-branch` — operationId: `app/set_deploy_branch`
|
|
304
361
|
*
|
|
@@ -307,17 +364,45 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
307
364
|
appSetDeployBranch(id: string, data: OpBody<"app/set_deploy_branch">): Promise<{
|
|
308
365
|
github_branch: string;
|
|
309
366
|
workflow_synced: boolean;
|
|
310
|
-
workflow_path?: string;
|
|
311
367
|
}>;
|
|
312
368
|
/**
|
|
313
|
-
* `POST /app/{id}/deploy-
|
|
369
|
+
* `POST /app/{id}/deploy-mode` — operationId: `app/set_deploy_mode`
|
|
314
370
|
*
|
|
315
|
-
* Set
|
|
371
|
+
* Set the deploy mode
|
|
316
372
|
*/
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
373
|
+
appSetDeployMode(id: string, data: OpBody<"app/set_deploy_mode">): Promise<{
|
|
374
|
+
id: string;
|
|
375
|
+
team: string;
|
|
376
|
+
name: string;
|
|
377
|
+
description: string;
|
|
378
|
+
slug: string;
|
|
379
|
+
url: string;
|
|
380
|
+
active: boolean;
|
|
381
|
+
disabled_reason?: string | null;
|
|
382
|
+
runtime: import("./types.js").components["schemas"]["AppRuntime"];
|
|
383
|
+
runtime_strategy: string | null;
|
|
384
|
+
mode: import("./types.js").components["schemas"]["AppMode"];
|
|
385
|
+
build_mode?: ("local" | "remote") | null;
|
|
386
|
+
deploy_output?: ("image" | "artifact") | null;
|
|
387
|
+
root_dir?: string | null;
|
|
388
|
+
coexistence_routing?: ("cookie" | "path") | null;
|
|
389
|
+
coexistence_keep_versions?: number | null;
|
|
390
|
+
coexistence_drain_hours?: number | null;
|
|
391
|
+
instance_type: string;
|
|
392
|
+
region: "gui1" | "poz1" | "ams1";
|
|
393
|
+
notify_deploy_success?: boolean | null;
|
|
394
|
+
status: import("./types.js").components["schemas"]["AppStatus"];
|
|
395
|
+
repository?: string;
|
|
396
|
+
github_branch?: string;
|
|
397
|
+
github_installation_id?: string;
|
|
398
|
+
github_installation_state?: string | null;
|
|
399
|
+
deploy_trigger?: string | null;
|
|
400
|
+
deploy_gate?: string | null;
|
|
401
|
+
metadata: {
|
|
402
|
+
[key: string]: unknown;
|
|
403
|
+
};
|
|
404
|
+
createdAt: string;
|
|
405
|
+
updatedAt?: string;
|
|
321
406
|
}>;
|
|
322
407
|
/**
|
|
323
408
|
* `GET /app/slug/{slug}` — operationId: `app/slug`
|
|
@@ -344,10 +429,14 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
344
429
|
coexistence_drain_hours?: number | null;
|
|
345
430
|
instance_type: string;
|
|
346
431
|
region: "gui1" | "poz1" | "ams1";
|
|
432
|
+
notify_deploy_success?: boolean | null;
|
|
347
433
|
status: import("./types.js").components["schemas"]["AppStatus"];
|
|
348
434
|
repository?: string;
|
|
349
435
|
github_branch?: string;
|
|
350
436
|
github_installation_id?: string;
|
|
437
|
+
github_installation_state?: string | null;
|
|
438
|
+
deploy_trigger?: string | null;
|
|
439
|
+
deploy_gate?: string | null;
|
|
351
440
|
metadata: {
|
|
352
441
|
[key: string]: unknown;
|
|
353
442
|
};
|
|
@@ -437,10 +526,14 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
437
526
|
coexistence_drain_hours?: number | null;
|
|
438
527
|
instance_type: string;
|
|
439
528
|
region: "gui1" | "poz1" | "ams1";
|
|
529
|
+
notify_deploy_success?: boolean | null;
|
|
440
530
|
status: import("./types.js").components["schemas"]["AppStatus"];
|
|
441
531
|
repository?: string;
|
|
442
532
|
github_branch?: string;
|
|
443
533
|
github_installation_id?: string;
|
|
534
|
+
github_installation_state?: string | null;
|
|
535
|
+
deploy_trigger?: string | null;
|
|
536
|
+
deploy_gate?: string | null;
|
|
444
537
|
metadata: {
|
|
445
538
|
[key: string]: unknown;
|
|
446
539
|
};
|
|
@@ -472,16 +565,42 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
472
565
|
coexistence_drain_hours?: number | null;
|
|
473
566
|
instance_type: string;
|
|
474
567
|
region: "gui1" | "poz1" | "ams1";
|
|
568
|
+
notify_deploy_success?: boolean | null;
|
|
475
569
|
status: import("./types.js").components["schemas"]["AppStatus"];
|
|
476
570
|
repository?: string;
|
|
477
571
|
github_branch?: string;
|
|
478
572
|
github_installation_id?: string;
|
|
573
|
+
github_installation_state?: string | null;
|
|
574
|
+
deploy_trigger?: string | null;
|
|
575
|
+
deploy_gate?: string | null;
|
|
479
576
|
metadata: {
|
|
480
577
|
[key: string]: unknown;
|
|
481
578
|
};
|
|
482
579
|
createdAt: string;
|
|
483
580
|
updatedAt?: string;
|
|
484
581
|
}>;
|
|
582
|
+
/**
|
|
583
|
+
* `GET /deploy-quota` — operationId: `deploy_quota/get`
|
|
584
|
+
*
|
|
585
|
+
* Get the team's daily deploy quota status
|
|
586
|
+
*/
|
|
587
|
+
deployQuotaGet(): Promise<{
|
|
588
|
+
limited: boolean;
|
|
589
|
+
over: boolean;
|
|
590
|
+
used: number;
|
|
591
|
+
limit: number | null;
|
|
592
|
+
resets_at: string;
|
|
593
|
+
held: number;
|
|
594
|
+
}>;
|
|
595
|
+
/**
|
|
596
|
+
* `POST /deploy-quota/release` — operationId: `deploy_quota/release`
|
|
597
|
+
*
|
|
598
|
+
* Roll out the builds held by the daily deploy quota
|
|
599
|
+
*/
|
|
600
|
+
deployQuotaRelease(): Promise<{
|
|
601
|
+
released: string[];
|
|
602
|
+
canceled: string[];
|
|
603
|
+
}>;
|
|
485
604
|
/**
|
|
486
605
|
* `POST /deployment` — operationId: `deployment/create`
|
|
487
606
|
*
|
|
@@ -500,6 +619,8 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
500
619
|
artifact_id?: string;
|
|
501
620
|
artifact_ready_at?: string;
|
|
502
621
|
redeploy_of?: string;
|
|
622
|
+
quota_released_at?: string;
|
|
623
|
+
trigger?: string | null;
|
|
503
624
|
status: import("./types.js").components["schemas"]["DeploymentStatus"];
|
|
504
625
|
metadata: {
|
|
505
626
|
[key: string]: unknown;
|
|
@@ -525,6 +646,8 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
525
646
|
artifact_id?: string;
|
|
526
647
|
artifact_ready_at?: string;
|
|
527
648
|
redeploy_of?: string;
|
|
649
|
+
quota_released_at?: string;
|
|
650
|
+
trigger?: string | null;
|
|
528
651
|
status: import("./types.js").components["schemas"]["DeploymentStatus"];
|
|
529
652
|
metadata: {
|
|
530
653
|
[key: string]: unknown;
|
|
@@ -550,6 +673,8 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
550
673
|
artifact_id?: string;
|
|
551
674
|
artifact_ready_at?: string;
|
|
552
675
|
redeploy_of?: string;
|
|
676
|
+
quota_released_at?: string;
|
|
677
|
+
trigger?: string | null;
|
|
553
678
|
status: import("./types.js").components["schemas"]["DeploymentStatus"];
|
|
554
679
|
metadata: {
|
|
555
680
|
[key: string]: unknown;
|
|
@@ -595,6 +720,8 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
595
720
|
artifact_id?: string;
|
|
596
721
|
artifact_ready_at?: string;
|
|
597
722
|
redeploy_of?: string;
|
|
723
|
+
quota_released_at?: string;
|
|
724
|
+
trigger?: string | null;
|
|
598
725
|
status: import("./types.js").components["schemas"]["DeploymentStatus"];
|
|
599
726
|
metadata: {
|
|
600
727
|
[key: string]: unknown;
|
|
@@ -615,6 +742,8 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
615
742
|
artifact_id?: string;
|
|
616
743
|
artifact_ready_at?: string;
|
|
617
744
|
redeploy_of?: string;
|
|
745
|
+
quota_released_at?: string;
|
|
746
|
+
trigger?: string | null;
|
|
618
747
|
status: import("./types.js").components["schemas"]["DeploymentStatus"];
|
|
619
748
|
metadata: {
|
|
620
749
|
[key: string]: unknown;
|
|
@@ -638,6 +767,8 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
638
767
|
artifact_id?: string;
|
|
639
768
|
artifact_ready_at?: string;
|
|
640
769
|
redeploy_of?: string;
|
|
770
|
+
quota_released_at?: string;
|
|
771
|
+
trigger?: string | null;
|
|
641
772
|
status: import("./types.js").components["schemas"]["DeploymentStatus"];
|
|
642
773
|
metadata: {
|
|
643
774
|
[key: string]: unknown;
|
|
@@ -664,6 +795,8 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
664
795
|
artifact_id?: string;
|
|
665
796
|
artifact_ready_at?: string;
|
|
666
797
|
redeploy_of?: string;
|
|
798
|
+
quota_released_at?: string;
|
|
799
|
+
trigger?: string | null;
|
|
667
800
|
status: import("./types.js").components["schemas"]["DeploymentStatus"];
|
|
668
801
|
metadata: {
|
|
669
802
|
[key: string]: unknown;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generated-client.d.ts","sourceRoot":"","sources":["../../src/api/generated-client.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAI7C,KAAK,MAAM,CAAC,CAAC,SAAS,MAAM,UAAU,IAAI,UAAU,CAAC,CAAC,CAAC,SAAS;IAC9D,WAAW,EAAE;QAAE,OAAO,EAAE;YAAE,kBAAkB,EAAE,MAAM,CAAC,CAAA;SAAE,CAAA;KAAE,CAAC;CAC3D,GACG,CAAC,GACD,KAAK,CAAC;AAsBV,KAAK,OAAO,CAAC,CAAC,SAAS,MAAM,UAAU,IAAI,UAAU,CAAC,CAAC,CA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AAM,CAAC,gBAAgB,CAAC;;;;;;;;;;;;;;;IAI5C;;;;OAIG;IACH,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGb"}
|
|
@@ -35,22 +35,22 @@ export class GeneratedFaableDeployApi extends FaableApi {
|
|
|
35
35
|
return this.fetcher.delete(`/app/${id}`);
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
|
-
* `
|
|
38
|
+
* `POST /app/{id}/deploy` — operationId: `app/deploy_now`
|
|
39
39
|
*
|
|
40
|
-
*
|
|
40
|
+
* Deploy the latest commit now
|
|
41
41
|
*/
|
|
42
|
-
|
|
42
|
+
appDeployNow(id) {
|
|
43
43
|
requireId("id", id);
|
|
44
|
-
return this.fetcher.
|
|
44
|
+
return this.fetcher.post(`/app/${id}/deploy`, {});
|
|
45
45
|
}
|
|
46
46
|
/**
|
|
47
|
-
* `GET /app/{id}
|
|
47
|
+
* `GET /app/{id}` — operationId: `app/get`
|
|
48
48
|
*
|
|
49
|
-
* Get
|
|
49
|
+
* Get App
|
|
50
50
|
*/
|
|
51
|
-
|
|
51
|
+
appGet(id, params) {
|
|
52
52
|
requireId("id", id);
|
|
53
|
-
return this.fetcher.
|
|
53
|
+
return this.fetcher.request({ method: "GET", url: `/app/${id}`, params });
|
|
54
54
|
}
|
|
55
55
|
/**
|
|
56
56
|
* `GET /app/{app_id}/registry` — operationId: `app/get_registry`
|
|
@@ -87,6 +87,33 @@ export class GeneratedFaableDeployApi extends FaableApi {
|
|
|
87
87
|
requireId("app_id", app_id);
|
|
88
88
|
return this.fetcher.request({ method: "GET", url: `/app/${app_id}/logs`, params });
|
|
89
89
|
}
|
|
90
|
+
/**
|
|
91
|
+
* `GET /app/{id}/repo/branches` — operationId: `app/repo_branches`
|
|
92
|
+
*
|
|
93
|
+
* List repository branches
|
|
94
|
+
*/
|
|
95
|
+
appRepoBranches(id) {
|
|
96
|
+
requireId("id", id);
|
|
97
|
+
return this.fetcher.get(`/app/${id}/repo/branches`);
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* `GET /app/{id}/repo/config` — operationId: `app/repo_config`
|
|
101
|
+
*
|
|
102
|
+
* Get effective repository build config
|
|
103
|
+
*/
|
|
104
|
+
appRepoConfig(id) {
|
|
105
|
+
requireId("id", id);
|
|
106
|
+
return this.fetcher.get(`/app/${id}/repo/config`);
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* `GET /app/{id}/repo/workflows` — operationId: `app/repo_workflows`
|
|
110
|
+
*
|
|
111
|
+
* List repository workflow files
|
|
112
|
+
*/
|
|
113
|
+
appRepoWorkflows(id) {
|
|
114
|
+
requireId("id", id);
|
|
115
|
+
return this.fetcher.get(`/app/${id}/repo/workflows`);
|
|
116
|
+
}
|
|
90
117
|
/**
|
|
91
118
|
* `POST /app/{id}/deploy-branch` — operationId: `app/set_deploy_branch`
|
|
92
119
|
*
|
|
@@ -97,13 +124,13 @@ export class GeneratedFaableDeployApi extends FaableApi {
|
|
|
97
124
|
return this.fetcher.post(`/app/${id}/deploy-branch`, data);
|
|
98
125
|
}
|
|
99
126
|
/**
|
|
100
|
-
* `POST /app/{id}/deploy-
|
|
127
|
+
* `POST /app/{id}/deploy-mode` — operationId: `app/set_deploy_mode`
|
|
101
128
|
*
|
|
102
|
-
* Set
|
|
129
|
+
* Set the deploy mode
|
|
103
130
|
*/
|
|
104
|
-
|
|
131
|
+
appSetDeployMode(id, data) {
|
|
105
132
|
requireId("id", id);
|
|
106
|
-
return this.fetcher.post(`/app/${id}/deploy-
|
|
133
|
+
return this.fetcher.post(`/app/${id}/deploy-mode`, data);
|
|
107
134
|
}
|
|
108
135
|
/**
|
|
109
136
|
* `GET /app/slug/{slug}` — operationId: `app/slug`
|
|
@@ -141,6 +168,22 @@ export class GeneratedFaableDeployApi extends FaableApi {
|
|
|
141
168
|
requireId("id", id);
|
|
142
169
|
return this.fetcher.post(`/app/${id}`, data);
|
|
143
170
|
}
|
|
171
|
+
/**
|
|
172
|
+
* `GET /deploy-quota` — operationId: `deploy_quota/get`
|
|
173
|
+
*
|
|
174
|
+
* Get the team's daily deploy quota status
|
|
175
|
+
*/
|
|
176
|
+
deployQuotaGet() {
|
|
177
|
+
return this.fetcher.get(`/deploy-quota`);
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* `POST /deploy-quota/release` — operationId: `deploy_quota/release`
|
|
181
|
+
*
|
|
182
|
+
* Roll out the builds held by the daily deploy quota
|
|
183
|
+
*/
|
|
184
|
+
deployQuotaRelease() {
|
|
185
|
+
return this.fetcher.post(`/deploy-quota/release`, {});
|
|
186
|
+
}
|
|
144
187
|
/**
|
|
145
188
|
* `POST /deployment` — operationId: `deployment/create`
|
|
146
189
|
*
|