@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
package/dist/api/types.d.ts
CHANGED
|
@@ -267,7 +267,47 @@ export interface paths {
|
|
|
267
267
|
patch?: never;
|
|
268
268
|
trace?: never;
|
|
269
269
|
};
|
|
270
|
-
"/app/{id}/deploy-
|
|
270
|
+
"/app/{id}/deploy-branch": {
|
|
271
|
+
parameters: {
|
|
272
|
+
query?: never;
|
|
273
|
+
header?: never;
|
|
274
|
+
path?: never;
|
|
275
|
+
cookie?: never;
|
|
276
|
+
};
|
|
277
|
+
get?: never;
|
|
278
|
+
put?: never;
|
|
279
|
+
/**
|
|
280
|
+
* Change the deploy branch
|
|
281
|
+
* @description Change the branch the app deploys from. Apps deploying from their own GitHub Actions workflow must update the branch trigger in the workflow file themselves.
|
|
282
|
+
*/
|
|
283
|
+
post: operations["app/set_deploy_branch"];
|
|
284
|
+
delete?: never;
|
|
285
|
+
options?: never;
|
|
286
|
+
head?: never;
|
|
287
|
+
patch?: never;
|
|
288
|
+
trace?: never;
|
|
289
|
+
};
|
|
290
|
+
"/app/{id}/repo/branches": {
|
|
291
|
+
parameters: {
|
|
292
|
+
query?: never;
|
|
293
|
+
header?: never;
|
|
294
|
+
path?: never;
|
|
295
|
+
cookie?: never;
|
|
296
|
+
};
|
|
297
|
+
/**
|
|
298
|
+
* List repository branches
|
|
299
|
+
* @description Branch names of the linked repository.
|
|
300
|
+
*/
|
|
301
|
+
get: operations["app/repo_branches"];
|
|
302
|
+
put?: never;
|
|
303
|
+
post?: never;
|
|
304
|
+
delete?: never;
|
|
305
|
+
options?: never;
|
|
306
|
+
head?: never;
|
|
307
|
+
patch?: never;
|
|
308
|
+
trace?: never;
|
|
309
|
+
};
|
|
310
|
+
"/app/{id}/repo/workflows": {
|
|
271
311
|
parameters: {
|
|
272
312
|
query?: never;
|
|
273
313
|
header?: never;
|
|
@@ -275,23 +315,39 @@ export interface paths {
|
|
|
275
315
|
cookie?: never;
|
|
276
316
|
};
|
|
277
317
|
/**
|
|
278
|
-
*
|
|
279
|
-
* @description
|
|
318
|
+
* List repository workflow files
|
|
319
|
+
* @description GitHub Actions workflow files present on the linked repository (deploy branch).
|
|
280
320
|
*/
|
|
281
|
-
get: operations["app/
|
|
321
|
+
get: operations["app/repo_workflows"];
|
|
282
322
|
put?: never;
|
|
323
|
+
post?: never;
|
|
324
|
+
delete?: never;
|
|
325
|
+
options?: never;
|
|
326
|
+
head?: never;
|
|
327
|
+
patch?: never;
|
|
328
|
+
trace?: never;
|
|
329
|
+
};
|
|
330
|
+
"/app/{id}/repo/config": {
|
|
331
|
+
parameters: {
|
|
332
|
+
query?: never;
|
|
333
|
+
header?: never;
|
|
334
|
+
path?: never;
|
|
335
|
+
cookie?: never;
|
|
336
|
+
};
|
|
283
337
|
/**
|
|
284
|
-
*
|
|
285
|
-
* @description
|
|
338
|
+
* Get effective repository build config
|
|
339
|
+
* @description Effective build configuration read from the repository: the monorepo Root Directory and its source (platform override or the repo's faable.json).
|
|
286
340
|
*/
|
|
287
|
-
|
|
341
|
+
get: operations["app/repo_config"];
|
|
342
|
+
put?: never;
|
|
343
|
+
post?: never;
|
|
288
344
|
delete?: never;
|
|
289
345
|
options?: never;
|
|
290
346
|
head?: never;
|
|
291
347
|
patch?: never;
|
|
292
348
|
trace?: never;
|
|
293
349
|
};
|
|
294
|
-
"/app/{id}/deploy-
|
|
350
|
+
"/app/{id}/deploy-mode": {
|
|
295
351
|
parameters: {
|
|
296
352
|
query?: never;
|
|
297
353
|
header?: never;
|
|
@@ -301,10 +357,30 @@ export interface paths {
|
|
|
301
357
|
get?: never;
|
|
302
358
|
put?: never;
|
|
303
359
|
/**
|
|
304
|
-
*
|
|
305
|
-
* @description
|
|
360
|
+
* Set the deploy mode
|
|
361
|
+
* @description Choose how pushes deploy: 'push' = every push deploys directly; 'ci' = deploy once the commit's CI checks pass. Both are platform-managed (webhook) triggers.
|
|
306
362
|
*/
|
|
307
|
-
post: operations["app/
|
|
363
|
+
post: operations["app/set_deploy_mode"];
|
|
364
|
+
delete?: never;
|
|
365
|
+
options?: never;
|
|
366
|
+
head?: never;
|
|
367
|
+
patch?: never;
|
|
368
|
+
trace?: never;
|
|
369
|
+
};
|
|
370
|
+
"/app/{id}/deploy": {
|
|
371
|
+
parameters: {
|
|
372
|
+
query?: never;
|
|
373
|
+
header?: never;
|
|
374
|
+
path?: never;
|
|
375
|
+
cookie?: never;
|
|
376
|
+
};
|
|
377
|
+
get?: never;
|
|
378
|
+
put?: never;
|
|
379
|
+
/**
|
|
380
|
+
* Deploy the latest commit now
|
|
381
|
+
* @description Build and deploy the current head of the deploy branch, without waiting for a push. Same path as a push webhook, including the same-commit dedupe.
|
|
382
|
+
*/
|
|
383
|
+
post: operations["app/deploy_now"];
|
|
308
384
|
delete?: never;
|
|
309
385
|
options?: never;
|
|
310
386
|
head?: never;
|
|
@@ -572,6 +648,46 @@ export interface paths {
|
|
|
572
648
|
patch?: never;
|
|
573
649
|
trace?: never;
|
|
574
650
|
};
|
|
651
|
+
"/deploy-quota": {
|
|
652
|
+
parameters: {
|
|
653
|
+
query?: never;
|
|
654
|
+
header?: never;
|
|
655
|
+
path?: never;
|
|
656
|
+
cookie?: never;
|
|
657
|
+
};
|
|
658
|
+
/**
|
|
659
|
+
* Get the team's daily deploy quota status
|
|
660
|
+
* @description Daily deploy allowance of the current team: how much was used today, when it resets, and how many builds are held waiting for it.
|
|
661
|
+
*/
|
|
662
|
+
get: operations["deploy_quota/get"];
|
|
663
|
+
put?: never;
|
|
664
|
+
post?: never;
|
|
665
|
+
delete?: never;
|
|
666
|
+
options?: never;
|
|
667
|
+
head?: never;
|
|
668
|
+
patch?: never;
|
|
669
|
+
trace?: never;
|
|
670
|
+
};
|
|
671
|
+
"/deploy-quota/release": {
|
|
672
|
+
parameters: {
|
|
673
|
+
query?: never;
|
|
674
|
+
header?: never;
|
|
675
|
+
path?: never;
|
|
676
|
+
cookie?: never;
|
|
677
|
+
};
|
|
678
|
+
get?: never;
|
|
679
|
+
put?: never;
|
|
680
|
+
/**
|
|
681
|
+
* Roll out the builds held by the daily deploy quota
|
|
682
|
+
* @description Releases the team's held deployments if its current plan allows it (per app, only the newest held build rolls out; older ones are canceled). Safe to call at any time — it does nothing while the quota is still spent.
|
|
683
|
+
*/
|
|
684
|
+
post: operations["deploy_quota/release"];
|
|
685
|
+
delete?: never;
|
|
686
|
+
options?: never;
|
|
687
|
+
head?: never;
|
|
688
|
+
patch?: never;
|
|
689
|
+
trace?: never;
|
|
690
|
+
};
|
|
575
691
|
}
|
|
576
692
|
export type webhooks = Record<string, never>;
|
|
577
693
|
export interface components {
|
|
@@ -643,17 +759,6 @@ export interface components {
|
|
|
643
759
|
deployment_previous: string | {
|
|
644
760
|
[key: string]: unknown;
|
|
645
761
|
} | null;
|
|
646
|
-
/**
|
|
647
|
-
* @description Observed state of the push-to-deploy workflow on the linked repository
|
|
648
|
-
* @default null
|
|
649
|
-
*/
|
|
650
|
-
deploy_workflow: {
|
|
651
|
-
/** @description Whether a Faable deploy workflow exists on the repository */
|
|
652
|
-
configured: boolean;
|
|
653
|
-
path: string | null;
|
|
654
|
-
verified_at: string | null;
|
|
655
|
-
commit: string | null;
|
|
656
|
-
} | null;
|
|
657
762
|
/**
|
|
658
763
|
* @description Last commited cache Purge
|
|
659
764
|
* @default null
|
|
@@ -737,10 +842,18 @@ export interface components {
|
|
|
737
842
|
* @enum {unknown}
|
|
738
843
|
*/
|
|
739
844
|
region: "gui1" | "poz1" | "ams1";
|
|
845
|
+
/** @description Success deploy emails (first deploy + every promote). Absent/null = enabled; false = muted. Failure emails are never gated by this. */
|
|
846
|
+
notify_deploy_success?: boolean | null;
|
|
740
847
|
status: components["schemas"]["AppStatus"];
|
|
741
848
|
repository?: string;
|
|
742
849
|
github_branch?: string;
|
|
743
850
|
github_installation_id?: string;
|
|
851
|
+
/** @description Platform GitHub access health, maintained by installation lifecycle webhooks. Absent/null = ok; 'deleted' | 'suspended' | 'repo_removed' = access broken until re-linked. */
|
|
852
|
+
github_installation_state?: string | null;
|
|
853
|
+
/** @description Push-to-deploy trigger. Absent/null = 'workflow' (committed GitHub Action); 'webhook' = the push webhook creates deployments server-side (deploy v4). */
|
|
854
|
+
deploy_trigger?: string | null;
|
|
855
|
+
/** @description Wait-for-CI gate for webhook triggers. Absent/null = deploy on push; 'ci' = deploy only after the commit's check suites complete green. */
|
|
856
|
+
deploy_gate?: string | null;
|
|
744
857
|
/** @default {} */
|
|
745
858
|
metadata: {
|
|
746
859
|
[key: string]: unknown;
|
|
@@ -785,16 +898,31 @@ export interface components {
|
|
|
785
898
|
runtime?: components["schemas"]["AppRuntime"];
|
|
786
899
|
runtime_strategy?: components["schemas"]["AppRuntimeStrategy"];
|
|
787
900
|
instance_type?: string;
|
|
788
|
-
|
|
789
|
-
DeployWorkflowStatus: {
|
|
790
|
-
configured: boolean;
|
|
791
|
-
workflow_path?: string;
|
|
792
|
-
updated?: boolean;
|
|
901
|
+
notify_deploy_success?: boolean | null;
|
|
793
902
|
};
|
|
794
903
|
DeployBranchResult: {
|
|
795
904
|
github_branch: string;
|
|
796
905
|
workflow_synced: boolean;
|
|
797
|
-
|
|
906
|
+
};
|
|
907
|
+
RepoBranches: {
|
|
908
|
+
branches: string[];
|
|
909
|
+
};
|
|
910
|
+
RepoWorkflows: {
|
|
911
|
+
workflows: {
|
|
912
|
+
name: string;
|
|
913
|
+
path: string;
|
|
914
|
+
}[];
|
|
915
|
+
deploy_workflow: string | null;
|
|
916
|
+
};
|
|
917
|
+
RepoConfig: {
|
|
918
|
+
root_dir: string | null;
|
|
919
|
+
root_dir_source: "platform" | "faable.json" | null;
|
|
920
|
+
};
|
|
921
|
+
DeployNowResult: {
|
|
922
|
+
/** @enum {string} */
|
|
923
|
+
status: "created";
|
|
924
|
+
commit: string;
|
|
925
|
+
branch: string;
|
|
798
926
|
};
|
|
799
927
|
DeploymentStatus: {
|
|
800
928
|
/**
|
|
@@ -802,7 +930,7 @@ export interface components {
|
|
|
802
930
|
* @default QUEUED
|
|
803
931
|
* @enum {unknown}
|
|
804
932
|
*/
|
|
805
|
-
phase: "UNKNOWN" | "QUEUED" | "BUILDING" | "ERROR" | "BUILD_ERROR" | "INITIALIZING" | "READY" | "CANCELED" | "TERMINATING" | "SUPERSEDED";
|
|
933
|
+
phase: "UNKNOWN" | "QUEUED" | "BUILDING" | "ERROR" | "BUILD_ERROR" | "INITIALIZING" | "READY" | "CANCELED" | "TERMINATING" | "SUPERSEDED" | "QUOTA_HOLD";
|
|
806
934
|
/**
|
|
807
935
|
* Format: date-time
|
|
808
936
|
* @description When a controller took control of this deployment
|
|
@@ -818,12 +946,16 @@ export interface components {
|
|
|
818
946
|
runtime_image?: string;
|
|
819
947
|
};
|
|
820
948
|
DeploymentSource: {
|
|
821
|
-
manifest
|
|
949
|
+
manifest?: {
|
|
822
950
|
path: string;
|
|
823
951
|
sha: string;
|
|
824
952
|
size: number;
|
|
825
953
|
mode?: number;
|
|
826
954
|
}[];
|
|
955
|
+
git?: {
|
|
956
|
+
sha: string;
|
|
957
|
+
ref?: string;
|
|
958
|
+
};
|
|
827
959
|
plan?: {
|
|
828
960
|
[key: string]: unknown;
|
|
829
961
|
};
|
|
@@ -862,6 +994,9 @@ export interface components {
|
|
|
862
994
|
/** Format: date-time */
|
|
863
995
|
artifact_ready_at?: string;
|
|
864
996
|
redeploy_of?: string;
|
|
997
|
+
/** Format: date-time */
|
|
998
|
+
quota_released_at?: string;
|
|
999
|
+
trigger?: string | null;
|
|
865
1000
|
status: components["schemas"]["DeploymentStatus"];
|
|
866
1001
|
/** @default {} */
|
|
867
1002
|
metadata: {
|
|
@@ -1346,6 +1481,19 @@ export interface components {
|
|
|
1346
1481
|
ApiKeyUpdate: {
|
|
1347
1482
|
description?: string;
|
|
1348
1483
|
};
|
|
1484
|
+
DeployQuota: {
|
|
1485
|
+
limited: boolean;
|
|
1486
|
+
over: boolean;
|
|
1487
|
+
used: number;
|
|
1488
|
+
limit: number | null;
|
|
1489
|
+
/** Format: date-time */
|
|
1490
|
+
resets_at: string;
|
|
1491
|
+
held: number;
|
|
1492
|
+
};
|
|
1493
|
+
DeployQuotaRelease: {
|
|
1494
|
+
released: string[];
|
|
1495
|
+
canceled: string[];
|
|
1496
|
+
};
|
|
1349
1497
|
AppChecknameResponse: {
|
|
1350
1498
|
name: string;
|
|
1351
1499
|
slug: string;
|
|
@@ -1698,10 +1846,18 @@ export interface operations {
|
|
|
1698
1846
|
* @enum {unknown}
|
|
1699
1847
|
*/
|
|
1700
1848
|
region: "gui1" | "poz1" | "ams1";
|
|
1849
|
+
/** @description Success deploy emails (first deploy + every promote). Absent/null = enabled; false = muted. Failure emails are never gated by this. */
|
|
1850
|
+
notify_deploy_success?: boolean | null;
|
|
1701
1851
|
status: components["schemas"]["AppStatus"];
|
|
1702
1852
|
repository?: string;
|
|
1703
1853
|
github_branch?: string;
|
|
1704
1854
|
github_installation_id?: string;
|
|
1855
|
+
/** @description Platform GitHub access health, maintained by installation lifecycle webhooks. Absent/null = ok; 'deleted' | 'suspended' | 'repo_removed' = access broken until re-linked. */
|
|
1856
|
+
github_installation_state?: string | null;
|
|
1857
|
+
/** @description Push-to-deploy trigger. Absent/null = 'workflow' (committed GitHub Action); 'webhook' = the push webhook creates deployments server-side (deploy v4). */
|
|
1858
|
+
deploy_trigger?: string | null;
|
|
1859
|
+
/** @description Wait-for-CI gate for webhook triggers. Absent/null = deploy on push; 'ci' = deploy only after the commit's check suites complete green. */
|
|
1860
|
+
deploy_gate?: string | null;
|
|
1705
1861
|
/** @default {} */
|
|
1706
1862
|
metadata: {
|
|
1707
1863
|
[key: string]: unknown;
|
|
@@ -1763,10 +1919,18 @@ export interface operations {
|
|
|
1763
1919
|
* @enum {unknown}
|
|
1764
1920
|
*/
|
|
1765
1921
|
region: "gui1" | "poz1" | "ams1";
|
|
1922
|
+
/** @description Success deploy emails (first deploy + every promote). Absent/null = enabled; false = muted. Failure emails are never gated by this. */
|
|
1923
|
+
notify_deploy_success?: boolean | null;
|
|
1766
1924
|
status: components["schemas"]["AppStatus"];
|
|
1767
1925
|
repository?: string;
|
|
1768
1926
|
github_branch?: string;
|
|
1769
1927
|
github_installation_id?: string;
|
|
1928
|
+
/** @description Platform GitHub access health, maintained by installation lifecycle webhooks. Absent/null = ok; 'deleted' | 'suspended' | 'repo_removed' = access broken until re-linked. */
|
|
1929
|
+
github_installation_state?: string | null;
|
|
1930
|
+
/** @description Push-to-deploy trigger. Absent/null = 'workflow' (committed GitHub Action); 'webhook' = the push webhook creates deployments server-side (deploy v4). */
|
|
1931
|
+
deploy_trigger?: string | null;
|
|
1932
|
+
/** @description Wait-for-CI gate for webhook triggers. Absent/null = deploy on push; 'ci' = deploy only after the commit's check suites complete green. */
|
|
1933
|
+
deploy_gate?: string | null;
|
|
1770
1934
|
/** @default {} */
|
|
1771
1935
|
metadata: {
|
|
1772
1936
|
[key: string]: unknown;
|
|
@@ -1797,6 +1961,7 @@ export interface operations {
|
|
|
1797
1961
|
runtime?: components["schemas"]["AppRuntime"];
|
|
1798
1962
|
runtime_strategy?: components["schemas"]["AppRuntimeStrategy"];
|
|
1799
1963
|
instance_type?: string;
|
|
1964
|
+
notify_deploy_success?: boolean | null;
|
|
1800
1965
|
};
|
|
1801
1966
|
};
|
|
1802
1967
|
};
|
|
@@ -1835,10 +2000,18 @@ export interface operations {
|
|
|
1835
2000
|
* @enum {unknown}
|
|
1836
2001
|
*/
|
|
1837
2002
|
region: "gui1" | "poz1" | "ams1";
|
|
2003
|
+
/** @description Success deploy emails (first deploy + every promote). Absent/null = enabled; false = muted. Failure emails are never gated by this. */
|
|
2004
|
+
notify_deploy_success?: boolean | null;
|
|
1838
2005
|
status: components["schemas"]["AppStatus"];
|
|
1839
2006
|
repository?: string;
|
|
1840
2007
|
github_branch?: string;
|
|
1841
2008
|
github_installation_id?: string;
|
|
2009
|
+
/** @description Platform GitHub access health, maintained by installation lifecycle webhooks. Absent/null = ok; 'deleted' | 'suspended' | 'repo_removed' = access broken until re-linked. */
|
|
2010
|
+
github_installation_state?: string | null;
|
|
2011
|
+
/** @description Push-to-deploy trigger. Absent/null = 'workflow' (committed GitHub Action); 'webhook' = the push webhook creates deployments server-side (deploy v4). */
|
|
2012
|
+
deploy_trigger?: string | null;
|
|
2013
|
+
/** @description Wait-for-CI gate for webhook triggers. Absent/null = deploy on push; 'ci' = deploy only after the commit's check suites complete green. */
|
|
2014
|
+
deploy_gate?: string | null;
|
|
1842
2015
|
/** @default {} */
|
|
1843
2016
|
metadata: {
|
|
1844
2017
|
[key: string]: unknown;
|
|
@@ -1897,10 +2070,18 @@ export interface operations {
|
|
|
1897
2070
|
* @enum {unknown}
|
|
1898
2071
|
*/
|
|
1899
2072
|
region: "gui1" | "poz1" | "ams1";
|
|
2073
|
+
/** @description Success deploy emails (first deploy + every promote). Absent/null = enabled; false = muted. Failure emails are never gated by this. */
|
|
2074
|
+
notify_deploy_success?: boolean | null;
|
|
1900
2075
|
status: components["schemas"]["AppStatus"];
|
|
1901
2076
|
repository?: string;
|
|
1902
2077
|
github_branch?: string;
|
|
1903
2078
|
github_installation_id?: string;
|
|
2079
|
+
/** @description Platform GitHub access health, maintained by installation lifecycle webhooks. Absent/null = ok; 'deleted' | 'suspended' | 'repo_removed' = access broken until re-linked. */
|
|
2080
|
+
github_installation_state?: string | null;
|
|
2081
|
+
/** @description Push-to-deploy trigger. Absent/null = 'workflow' (committed GitHub Action); 'webhook' = the push webhook creates deployments server-side (deploy v4). */
|
|
2082
|
+
deploy_trigger?: string | null;
|
|
2083
|
+
/** @description Wait-for-CI gate for webhook triggers. Absent/null = deploy on push; 'ci' = deploy only after the commit's check suites complete green. */
|
|
2084
|
+
deploy_gate?: string | null;
|
|
1904
2085
|
/** @default {} */
|
|
1905
2086
|
metadata: {
|
|
1906
2087
|
[key: string]: unknown;
|
|
@@ -2148,7 +2329,62 @@ export interface operations {
|
|
|
2148
2329
|
};
|
|
2149
2330
|
};
|
|
2150
2331
|
};
|
|
2151
|
-
"app/
|
|
2332
|
+
"app/set_deploy_branch": {
|
|
2333
|
+
parameters: {
|
|
2334
|
+
query?: never;
|
|
2335
|
+
header?: never;
|
|
2336
|
+
path: {
|
|
2337
|
+
id: string;
|
|
2338
|
+
};
|
|
2339
|
+
cookie?: never;
|
|
2340
|
+
};
|
|
2341
|
+
requestBody: {
|
|
2342
|
+
content: {
|
|
2343
|
+
"application/json": {
|
|
2344
|
+
github_branch: string;
|
|
2345
|
+
};
|
|
2346
|
+
};
|
|
2347
|
+
};
|
|
2348
|
+
responses: {
|
|
2349
|
+
/** @description Default Response */
|
|
2350
|
+
200: {
|
|
2351
|
+
headers: {
|
|
2352
|
+
[name: string]: unknown;
|
|
2353
|
+
};
|
|
2354
|
+
content: {
|
|
2355
|
+
"application/json": {
|
|
2356
|
+
github_branch: string;
|
|
2357
|
+
workflow_synced: boolean;
|
|
2358
|
+
};
|
|
2359
|
+
};
|
|
2360
|
+
};
|
|
2361
|
+
};
|
|
2362
|
+
};
|
|
2363
|
+
"app/repo_branches": {
|
|
2364
|
+
parameters: {
|
|
2365
|
+
query?: never;
|
|
2366
|
+
header?: never;
|
|
2367
|
+
path: {
|
|
2368
|
+
id: string;
|
|
2369
|
+
};
|
|
2370
|
+
cookie?: never;
|
|
2371
|
+
};
|
|
2372
|
+
requestBody?: never;
|
|
2373
|
+
responses: {
|
|
2374
|
+
/** @description Default Response */
|
|
2375
|
+
200: {
|
|
2376
|
+
headers: {
|
|
2377
|
+
[name: string]: unknown;
|
|
2378
|
+
};
|
|
2379
|
+
content: {
|
|
2380
|
+
"application/json": {
|
|
2381
|
+
branches: string[];
|
|
2382
|
+
};
|
|
2383
|
+
};
|
|
2384
|
+
};
|
|
2385
|
+
};
|
|
2386
|
+
};
|
|
2387
|
+
"app/repo_workflows": {
|
|
2152
2388
|
parameters: {
|
|
2153
2389
|
query?: never;
|
|
2154
2390
|
header?: never;
|
|
@@ -2166,15 +2402,17 @@ export interface operations {
|
|
|
2166
2402
|
};
|
|
2167
2403
|
content: {
|
|
2168
2404
|
"application/json": {
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2405
|
+
workflows: {
|
|
2406
|
+
name: string;
|
|
2407
|
+
path: string;
|
|
2408
|
+
}[];
|
|
2409
|
+
deploy_workflow: string | null;
|
|
2172
2410
|
};
|
|
2173
2411
|
};
|
|
2174
2412
|
};
|
|
2175
2413
|
};
|
|
2176
2414
|
};
|
|
2177
|
-
"app/
|
|
2415
|
+
"app/repo_config": {
|
|
2178
2416
|
parameters: {
|
|
2179
2417
|
query?: never;
|
|
2180
2418
|
header?: never;
|
|
@@ -2192,15 +2430,14 @@ export interface operations {
|
|
|
2192
2430
|
};
|
|
2193
2431
|
content: {
|
|
2194
2432
|
"application/json": {
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
updated?: boolean;
|
|
2433
|
+
root_dir: string | null;
|
|
2434
|
+
root_dir_source: "platform" | "faable.json" | null;
|
|
2198
2435
|
};
|
|
2199
2436
|
};
|
|
2200
2437
|
};
|
|
2201
2438
|
};
|
|
2202
2439
|
};
|
|
2203
|
-
"app/
|
|
2440
|
+
"app/set_deploy_mode": {
|
|
2204
2441
|
parameters: {
|
|
2205
2442
|
query?: never;
|
|
2206
2443
|
header?: never;
|
|
@@ -2212,10 +2449,32 @@ export interface operations {
|
|
|
2212
2449
|
requestBody: {
|
|
2213
2450
|
content: {
|
|
2214
2451
|
"application/json": {
|
|
2215
|
-
|
|
2452
|
+
mode: "push" | "ci" | "workflow";
|
|
2216
2453
|
};
|
|
2217
2454
|
};
|
|
2218
2455
|
};
|
|
2456
|
+
responses: {
|
|
2457
|
+
/** @description App */
|
|
2458
|
+
200: {
|
|
2459
|
+
headers: {
|
|
2460
|
+
[name: string]: unknown;
|
|
2461
|
+
};
|
|
2462
|
+
content: {
|
|
2463
|
+
"application/json": components["schemas"]["App"];
|
|
2464
|
+
};
|
|
2465
|
+
};
|
|
2466
|
+
};
|
|
2467
|
+
};
|
|
2468
|
+
"app/deploy_now": {
|
|
2469
|
+
parameters: {
|
|
2470
|
+
query?: never;
|
|
2471
|
+
header?: never;
|
|
2472
|
+
path: {
|
|
2473
|
+
id: string;
|
|
2474
|
+
};
|
|
2475
|
+
cookie?: never;
|
|
2476
|
+
};
|
|
2477
|
+
requestBody?: never;
|
|
2219
2478
|
responses: {
|
|
2220
2479
|
/** @description Default Response */
|
|
2221
2480
|
200: {
|
|
@@ -2224,9 +2483,10 @@ export interface operations {
|
|
|
2224
2483
|
};
|
|
2225
2484
|
content: {
|
|
2226
2485
|
"application/json": {
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2486
|
+
/** @enum {string} */
|
|
2487
|
+
status: "created";
|
|
2488
|
+
commit: string;
|
|
2489
|
+
branch: string;
|
|
2230
2490
|
};
|
|
2231
2491
|
};
|
|
2232
2492
|
};
|
|
@@ -2308,6 +2568,9 @@ export interface operations {
|
|
|
2308
2568
|
/** Format: date-time */
|
|
2309
2569
|
artifact_ready_at?: string;
|
|
2310
2570
|
redeploy_of?: string;
|
|
2571
|
+
/** Format: date-time */
|
|
2572
|
+
quota_released_at?: string;
|
|
2573
|
+
trigger?: string | null;
|
|
2311
2574
|
status: components["schemas"]["DeploymentStatus"];
|
|
2312
2575
|
/** @default {} */
|
|
2313
2576
|
metadata: {
|
|
@@ -2354,6 +2617,9 @@ export interface operations {
|
|
|
2354
2617
|
/** Format: date-time */
|
|
2355
2618
|
artifact_ready_at?: string;
|
|
2356
2619
|
redeploy_of?: string;
|
|
2620
|
+
/** Format: date-time */
|
|
2621
|
+
quota_released_at?: string;
|
|
2622
|
+
trigger?: string | null;
|
|
2357
2623
|
status: components["schemas"]["DeploymentStatus"];
|
|
2358
2624
|
/** @default {} */
|
|
2359
2625
|
metadata: {
|
|
@@ -2408,6 +2674,9 @@ export interface operations {
|
|
|
2408
2674
|
/** Format: date-time */
|
|
2409
2675
|
artifact_ready_at?: string;
|
|
2410
2676
|
redeploy_of?: string;
|
|
2677
|
+
/** Format: date-time */
|
|
2678
|
+
quota_released_at?: string;
|
|
2679
|
+
trigger?: string | null;
|
|
2411
2680
|
status: components["schemas"]["DeploymentStatus"];
|
|
2412
2681
|
/** @default {} */
|
|
2413
2682
|
metadata: {
|
|
@@ -2454,6 +2723,9 @@ export interface operations {
|
|
|
2454
2723
|
/** Format: date-time */
|
|
2455
2724
|
artifact_ready_at?: string;
|
|
2456
2725
|
redeploy_of?: string;
|
|
2726
|
+
/** Format: date-time */
|
|
2727
|
+
quota_released_at?: string;
|
|
2728
|
+
trigger?: string | null;
|
|
2457
2729
|
status: components["schemas"]["DeploymentStatus"];
|
|
2458
2730
|
/** @default {} */
|
|
2459
2731
|
metadata: {
|
|
@@ -2961,5 +3233,56 @@ export interface operations {
|
|
|
2961
3233
|
};
|
|
2962
3234
|
};
|
|
2963
3235
|
};
|
|
3236
|
+
"deploy_quota/get": {
|
|
3237
|
+
parameters: {
|
|
3238
|
+
query?: never;
|
|
3239
|
+
header?: never;
|
|
3240
|
+
path?: never;
|
|
3241
|
+
cookie?: never;
|
|
3242
|
+
};
|
|
3243
|
+
requestBody?: never;
|
|
3244
|
+
responses: {
|
|
3245
|
+
/** @description Default Response */
|
|
3246
|
+
200: {
|
|
3247
|
+
headers: {
|
|
3248
|
+
[name: string]: unknown;
|
|
3249
|
+
};
|
|
3250
|
+
content: {
|
|
3251
|
+
"application/json": {
|
|
3252
|
+
limited: boolean;
|
|
3253
|
+
over: boolean;
|
|
3254
|
+
used: number;
|
|
3255
|
+
limit: number | null;
|
|
3256
|
+
/** Format: date-time */
|
|
3257
|
+
resets_at: string;
|
|
3258
|
+
held: number;
|
|
3259
|
+
};
|
|
3260
|
+
};
|
|
3261
|
+
};
|
|
3262
|
+
};
|
|
3263
|
+
};
|
|
3264
|
+
"deploy_quota/release": {
|
|
3265
|
+
parameters: {
|
|
3266
|
+
query?: never;
|
|
3267
|
+
header?: never;
|
|
3268
|
+
path?: never;
|
|
3269
|
+
cookie?: never;
|
|
3270
|
+
};
|
|
3271
|
+
requestBody?: never;
|
|
3272
|
+
responses: {
|
|
3273
|
+
/** @description Default Response */
|
|
3274
|
+
200: {
|
|
3275
|
+
headers: {
|
|
3276
|
+
[name: string]: unknown;
|
|
3277
|
+
};
|
|
3278
|
+
content: {
|
|
3279
|
+
"application/json": {
|
|
3280
|
+
released: string[];
|
|
3281
|
+
canceled: string[];
|
|
3282
|
+
};
|
|
3283
|
+
};
|
|
3284
|
+
};
|
|
3285
|
+
};
|
|
3286
|
+
};
|
|
2964
3287
|
}
|
|
2965
3288
|
//# sourceMappingURL=types.d.ts.map
|