@faable/deploy-sdk 2.11.0 → 2.12.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 +44 -0
- package/dist/FaableDeployApi.d.ts.map +1 -1
- package/dist/api/api-types.d.ts +3 -0
- package/dist/api/api-types.d.ts.map +1 -1
- package/dist/api/generated-client.d.ts +191 -9
- package/dist/api/generated-client.d.ts.map +1 -1
- package/dist/api/generated-client.js +53 -0
- package/dist/api/types.d.ts +370 -8
- package/dist/api/types.d.ts.map +1 -1
- package/package.json +2 -2
- package/scripts/gen-client.mjs +15 -11
- package/spec/openapi.json +924 -30
package/dist/api/types.d.ts
CHANGED
|
@@ -23,6 +23,66 @@ export interface paths {
|
|
|
23
23
|
patch?: never;
|
|
24
24
|
trace?: never;
|
|
25
25
|
};
|
|
26
|
+
"/project/{id}/collaborator/{user_id}": {
|
|
27
|
+
parameters: {
|
|
28
|
+
query?: never;
|
|
29
|
+
header?: never;
|
|
30
|
+
path?: never;
|
|
31
|
+
cookie?: never;
|
|
32
|
+
};
|
|
33
|
+
get?: never;
|
|
34
|
+
put?: never;
|
|
35
|
+
post?: never;
|
|
36
|
+
/**
|
|
37
|
+
* Remove a collaborator from a project
|
|
38
|
+
* @description Remove a collaborator from a project
|
|
39
|
+
*/
|
|
40
|
+
delete: operations["project/removeCollaborator"];
|
|
41
|
+
options?: never;
|
|
42
|
+
head?: never;
|
|
43
|
+
patch?: never;
|
|
44
|
+
trace?: never;
|
|
45
|
+
};
|
|
46
|
+
"/project/{id}/suspend": {
|
|
47
|
+
parameters: {
|
|
48
|
+
query?: never;
|
|
49
|
+
header?: never;
|
|
50
|
+
path?: never;
|
|
51
|
+
cookie?: never;
|
|
52
|
+
};
|
|
53
|
+
get?: never;
|
|
54
|
+
put?: never;
|
|
55
|
+
/**
|
|
56
|
+
* Suspend a project
|
|
57
|
+
* @description Take down every app in a project (superadmin)
|
|
58
|
+
*/
|
|
59
|
+
post: operations["project/suspend"];
|
|
60
|
+
delete?: never;
|
|
61
|
+
options?: never;
|
|
62
|
+
head?: never;
|
|
63
|
+
patch?: never;
|
|
64
|
+
trace?: never;
|
|
65
|
+
};
|
|
66
|
+
"/project/{id}/restore": {
|
|
67
|
+
parameters: {
|
|
68
|
+
query?: never;
|
|
69
|
+
header?: never;
|
|
70
|
+
path?: never;
|
|
71
|
+
cookie?: never;
|
|
72
|
+
};
|
|
73
|
+
get?: never;
|
|
74
|
+
put?: never;
|
|
75
|
+
/**
|
|
76
|
+
* Restore a project
|
|
77
|
+
* @description Re-enable every app in a project (superadmin)
|
|
78
|
+
*/
|
|
79
|
+
post: operations["project/restore"];
|
|
80
|
+
delete?: never;
|
|
81
|
+
options?: never;
|
|
82
|
+
head?: never;
|
|
83
|
+
patch?: never;
|
|
84
|
+
trace?: never;
|
|
85
|
+
};
|
|
26
86
|
"/project": {
|
|
27
87
|
parameters: {
|
|
28
88
|
query?: never;
|
|
@@ -631,6 +691,66 @@ export interface paths {
|
|
|
631
691
|
patch?: never;
|
|
632
692
|
trace?: never;
|
|
633
693
|
};
|
|
694
|
+
"/analyzer/scan": {
|
|
695
|
+
parameters: {
|
|
696
|
+
query?: never;
|
|
697
|
+
header?: never;
|
|
698
|
+
path?: never;
|
|
699
|
+
cookie?: never;
|
|
700
|
+
};
|
|
701
|
+
/**
|
|
702
|
+
* List analyzer scans
|
|
703
|
+
* @description List analyzer scan results, newest first (superadmin). The abuse-detection corpus + takedown audit trail.
|
|
704
|
+
*/
|
|
705
|
+
get: operations["analyzer/listScans"];
|
|
706
|
+
put?: never;
|
|
707
|
+
post?: never;
|
|
708
|
+
delete?: never;
|
|
709
|
+
options?: never;
|
|
710
|
+
head?: never;
|
|
711
|
+
patch?: never;
|
|
712
|
+
trace?: never;
|
|
713
|
+
};
|
|
714
|
+
"/analyzer/stats": {
|
|
715
|
+
parameters: {
|
|
716
|
+
query?: never;
|
|
717
|
+
header?: never;
|
|
718
|
+
path?: never;
|
|
719
|
+
cookie?: never;
|
|
720
|
+
};
|
|
721
|
+
/**
|
|
722
|
+
* Analyzer stats
|
|
723
|
+
* @description Analyzer detection stats: counts per verdict + top signatures (superadmin).
|
|
724
|
+
*/
|
|
725
|
+
get: operations["analyzer/stats"];
|
|
726
|
+
put?: never;
|
|
727
|
+
post?: never;
|
|
728
|
+
delete?: never;
|
|
729
|
+
options?: never;
|
|
730
|
+
head?: never;
|
|
731
|
+
patch?: never;
|
|
732
|
+
trace?: never;
|
|
733
|
+
};
|
|
734
|
+
"/analyzer/rescan/{app_id}": {
|
|
735
|
+
parameters: {
|
|
736
|
+
query?: never;
|
|
737
|
+
header?: never;
|
|
738
|
+
path?: never;
|
|
739
|
+
cookie?: never;
|
|
740
|
+
};
|
|
741
|
+
get?: never;
|
|
742
|
+
put?: never;
|
|
743
|
+
/**
|
|
744
|
+
* Rescan a deployment
|
|
745
|
+
* @description Re-scan an app's promoted deployment (or ?deployment_id=…). Forces a fresh scan + enforcement; use after a signature update. Superadmin.
|
|
746
|
+
*/
|
|
747
|
+
post: operations["analyzer/rescan"];
|
|
748
|
+
delete?: never;
|
|
749
|
+
options?: never;
|
|
750
|
+
head?: never;
|
|
751
|
+
patch?: never;
|
|
752
|
+
trace?: never;
|
|
753
|
+
};
|
|
634
754
|
"/usage/summary": {
|
|
635
755
|
parameters: {
|
|
636
756
|
query?: never;
|
|
@@ -712,6 +832,18 @@ export interface components {
|
|
|
712
832
|
ProjectInvite: {
|
|
713
833
|
emails: string[];
|
|
714
834
|
};
|
|
835
|
+
ProjectInviteResult: {
|
|
836
|
+
project: components["schemas"]["Project"];
|
|
837
|
+
results: {
|
|
838
|
+
email: string;
|
|
839
|
+
status: "invited" | "invited_created_account" | "already_member" | "failed";
|
|
840
|
+
user_id?: string;
|
|
841
|
+
}[];
|
|
842
|
+
};
|
|
843
|
+
ProjectModerationResult: {
|
|
844
|
+
count: number;
|
|
845
|
+
app_ids: string[];
|
|
846
|
+
};
|
|
715
847
|
/** @description Project */
|
|
716
848
|
Project: {
|
|
717
849
|
/** @description Project ID */
|
|
@@ -722,6 +854,8 @@ export interface components {
|
|
|
722
854
|
team: string;
|
|
723
855
|
user_id?: string;
|
|
724
856
|
collaborators: string[];
|
|
857
|
+
owner_suspended?: boolean;
|
|
858
|
+
owner_email?: string;
|
|
725
859
|
/** @description Project creation date */
|
|
726
860
|
createdAt: string;
|
|
727
861
|
/** @description Project updated date */
|
|
@@ -759,7 +893,6 @@ export interface components {
|
|
|
759
893
|
ProjectUpdate: {
|
|
760
894
|
name?: string;
|
|
761
895
|
description?: string;
|
|
762
|
-
collaborators?: string[];
|
|
763
896
|
};
|
|
764
897
|
AppStatus: {
|
|
765
898
|
/**
|
|
@@ -812,10 +945,24 @@ export interface components {
|
|
|
812
945
|
* @default null
|
|
813
946
|
*/
|
|
814
947
|
secrets_revision: string | null;
|
|
948
|
+
/** @description Runtime resource-pressure flag (admin/owner-facing upgrade prompt) */
|
|
949
|
+
resource_health?: {
|
|
950
|
+
/**
|
|
951
|
+
* @description The runtime exceeded its memory limit (OOMKilled)
|
|
952
|
+
* @enum {string}
|
|
953
|
+
*/
|
|
954
|
+
state: "memory_exceeded";
|
|
955
|
+
/** @description Deployment whose pod tripped the limit */
|
|
956
|
+
deployment: string;
|
|
957
|
+
/** @description ISO time the limit was last observed being hit */
|
|
958
|
+
at: string;
|
|
959
|
+
/** @description Container that was OOMKilled */
|
|
960
|
+
container?: string;
|
|
961
|
+
} | null;
|
|
815
962
|
};
|
|
816
963
|
AppRuntimeStrategy: string;
|
|
817
964
|
/** @enum {unknown} */
|
|
818
|
-
AppRuntime: "node" | "php";
|
|
965
|
+
AppRuntime: "node" | "php" | "python";
|
|
819
966
|
/**
|
|
820
967
|
* @default standard
|
|
821
968
|
* @enum {unknown}
|
|
@@ -844,6 +991,14 @@ export interface components {
|
|
|
844
991
|
disabled_reason?: string | null;
|
|
845
992
|
runtime: components["schemas"]["AppRuntime"];
|
|
846
993
|
runtime_strategy: string | null;
|
|
994
|
+
detected?: {
|
|
995
|
+
buildpack: string;
|
|
996
|
+
framework?: string;
|
|
997
|
+
runtime: {
|
|
998
|
+
name: string;
|
|
999
|
+
version?: string;
|
|
1000
|
+
};
|
|
1001
|
+
} | null;
|
|
847
1002
|
mode: components["schemas"]["AppMode"];
|
|
848
1003
|
build_mode?: ("local" | "remote") | null;
|
|
849
1004
|
deploy_output?: ("image" | "artifact") | null;
|
|
@@ -867,6 +1022,10 @@ export interface components {
|
|
|
867
1022
|
github_installation_id?: string;
|
|
868
1023
|
/** @description Platform GitHub access health, maintained by installation lifecycle webhooks. Absent/null = ok; 'deleted' | 'suspended' | 'repo_removed' = access broken until re-linked. */
|
|
869
1024
|
github_installation_state?: string | null;
|
|
1025
|
+
/** @description The linked repository stopped being readable after the app was created, per the GitHub `repository` webhook. Absent/null = visible; 'deleted' | 'privatized' | 'archived' = the source was pulled after deploying (the analyzer re-scores the promoted deployment against our own build artifact). */
|
|
1026
|
+
github_repo_hidden?: string | null;
|
|
1027
|
+
/** @description Why the platform cleared the repository link automatically. Absent/null = never auto-disconnected (or re-linked since); 'push_flood' = the repo exceeded the hourly push limit and must be re-linked by the user. */
|
|
1028
|
+
github_disconnect_reason?: string | null;
|
|
870
1029
|
/** @description Push-to-deploy trigger. Absent/null = 'workflow' (committed GitHub Action); 'webhook' = the push webhook creates deployments server-side (deploy v4). */
|
|
871
1030
|
deploy_trigger?: string | null;
|
|
872
1031
|
/** @description Wait-for-CI gate for webhook triggers. Absent/null = deploy on push; 'ci' = deploy only after the commit's check suites complete green. */
|
|
@@ -985,16 +1144,24 @@ export interface components {
|
|
|
985
1144
|
format: "tar.zst";
|
|
986
1145
|
runtime: {
|
|
987
1146
|
/** @enum {unknown} */
|
|
988
|
-
name: "node" | "python" | "static";
|
|
1147
|
+
name: "node" | "python" | "php" | "static";
|
|
989
1148
|
version?: string | null;
|
|
990
1149
|
};
|
|
991
1150
|
/** @enum {unknown} */
|
|
992
|
-
profile: "node-full" | "next-standalone" | "static" | "python-venv";
|
|
1151
|
+
profile: "node-full" | "next-standalone" | "static" | "python-venv" | "php";
|
|
993
1152
|
start_command?: string | null;
|
|
994
1153
|
static?: {
|
|
995
1154
|
spa: boolean;
|
|
996
1155
|
};
|
|
997
1156
|
};
|
|
1157
|
+
DeploymentDetected: {
|
|
1158
|
+
buildpack: string;
|
|
1159
|
+
framework?: string;
|
|
1160
|
+
runtime: {
|
|
1161
|
+
name: string;
|
|
1162
|
+
version?: string;
|
|
1163
|
+
};
|
|
1164
|
+
};
|
|
998
1165
|
/** @description Deployment */
|
|
999
1166
|
Deployment: {
|
|
1000
1167
|
/** @description Deployment ID */
|
|
@@ -1014,6 +1181,7 @@ export interface components {
|
|
|
1014
1181
|
/** Format: date-time */
|
|
1015
1182
|
quota_released_at?: string;
|
|
1016
1183
|
trigger?: string | null;
|
|
1184
|
+
detected?: components["schemas"]["DeploymentDetected"];
|
|
1017
1185
|
status: components["schemas"]["DeploymentStatus"];
|
|
1018
1186
|
/** @default {} */
|
|
1019
1187
|
metadata: {
|
|
@@ -1063,6 +1231,7 @@ export interface components {
|
|
|
1063
1231
|
image?: string;
|
|
1064
1232
|
artifact?: components["schemas"]["DeploymentArtifact"];
|
|
1065
1233
|
type?: string;
|
|
1234
|
+
detected?: components["schemas"]["DeploymentDetected"];
|
|
1066
1235
|
};
|
|
1067
1236
|
DomainStatus: {
|
|
1068
1237
|
/**
|
|
@@ -1177,7 +1346,8 @@ export interface components {
|
|
|
1177
1346
|
*/
|
|
1178
1347
|
app_id: string | null;
|
|
1179
1348
|
source: "builtin" | "manual" | "auto";
|
|
1180
|
-
action: "deny" | "ratelimit";
|
|
1349
|
+
action: "deny" | "ratelimit" | "probe";
|
|
1350
|
+
match: "path" | "user_agent";
|
|
1181
1351
|
apply: "all" | "node" | "php" | "manual";
|
|
1182
1352
|
rules: {
|
|
1183
1353
|
/** @description RE2 path-regex fragment */
|
|
@@ -1231,7 +1401,8 @@ export interface components {
|
|
|
1231
1401
|
/** @description Owning App */
|
|
1232
1402
|
app_id?: string;
|
|
1233
1403
|
source?: "builtin" | "manual" | "auto";
|
|
1234
|
-
action?: "deny" | "ratelimit";
|
|
1404
|
+
action?: "deny" | "ratelimit" | "probe";
|
|
1405
|
+
match?: "path" | "user_agent";
|
|
1235
1406
|
apply?: "all" | "node" | "php" | "manual";
|
|
1236
1407
|
rules?: {
|
|
1237
1408
|
/** @description RE2 path-regex fragment */
|
|
@@ -1246,7 +1417,8 @@ export interface components {
|
|
|
1246
1417
|
};
|
|
1247
1418
|
WafProfileUpdate: {
|
|
1248
1419
|
name?: string;
|
|
1249
|
-
action?: "deny" | "ratelimit";
|
|
1420
|
+
action?: "deny" | "ratelimit" | "probe";
|
|
1421
|
+
match?: "path" | "user_agent";
|
|
1250
1422
|
apply?: "all" | "node" | "php" | "manual";
|
|
1251
1423
|
rules?: {
|
|
1252
1424
|
/** @description RE2 path-regex fragment */
|
|
@@ -1578,6 +1750,29 @@ export interface operations {
|
|
|
1578
1750
|
"application/json": components["schemas"]["ProjectInvite"];
|
|
1579
1751
|
};
|
|
1580
1752
|
};
|
|
1753
|
+
responses: {
|
|
1754
|
+
/** @description Default Response */
|
|
1755
|
+
200: {
|
|
1756
|
+
headers: {
|
|
1757
|
+
[name: string]: unknown;
|
|
1758
|
+
};
|
|
1759
|
+
content: {
|
|
1760
|
+
"application/json": components["schemas"]["ProjectInviteResult"];
|
|
1761
|
+
};
|
|
1762
|
+
};
|
|
1763
|
+
};
|
|
1764
|
+
};
|
|
1765
|
+
"project/removeCollaborator": {
|
|
1766
|
+
parameters: {
|
|
1767
|
+
query?: never;
|
|
1768
|
+
header?: never;
|
|
1769
|
+
path: {
|
|
1770
|
+
id: string;
|
|
1771
|
+
user_id: string;
|
|
1772
|
+
};
|
|
1773
|
+
cookie?: never;
|
|
1774
|
+
};
|
|
1775
|
+
requestBody?: never;
|
|
1581
1776
|
responses: {
|
|
1582
1777
|
/** @description Project */
|
|
1583
1778
|
200: {
|
|
@@ -1590,6 +1785,50 @@ export interface operations {
|
|
|
1590
1785
|
};
|
|
1591
1786
|
};
|
|
1592
1787
|
};
|
|
1788
|
+
"project/suspend": {
|
|
1789
|
+
parameters: {
|
|
1790
|
+
query?: never;
|
|
1791
|
+
header?: never;
|
|
1792
|
+
path: {
|
|
1793
|
+
id: string;
|
|
1794
|
+
};
|
|
1795
|
+
cookie?: never;
|
|
1796
|
+
};
|
|
1797
|
+
requestBody?: never;
|
|
1798
|
+
responses: {
|
|
1799
|
+
/** @description Default Response */
|
|
1800
|
+
200: {
|
|
1801
|
+
headers: {
|
|
1802
|
+
[name: string]: unknown;
|
|
1803
|
+
};
|
|
1804
|
+
content: {
|
|
1805
|
+
"application/json": components["schemas"]["ProjectModerationResult"];
|
|
1806
|
+
};
|
|
1807
|
+
};
|
|
1808
|
+
};
|
|
1809
|
+
};
|
|
1810
|
+
"project/restore": {
|
|
1811
|
+
parameters: {
|
|
1812
|
+
query?: never;
|
|
1813
|
+
header?: never;
|
|
1814
|
+
path: {
|
|
1815
|
+
id: string;
|
|
1816
|
+
};
|
|
1817
|
+
cookie?: never;
|
|
1818
|
+
};
|
|
1819
|
+
requestBody?: never;
|
|
1820
|
+
responses: {
|
|
1821
|
+
/** @description Default Response */
|
|
1822
|
+
200: {
|
|
1823
|
+
headers: {
|
|
1824
|
+
[name: string]: unknown;
|
|
1825
|
+
};
|
|
1826
|
+
content: {
|
|
1827
|
+
"application/json": components["schemas"]["ProjectModerationResult"];
|
|
1828
|
+
};
|
|
1829
|
+
};
|
|
1830
|
+
};
|
|
1831
|
+
};
|
|
1593
1832
|
"project/list": {
|
|
1594
1833
|
parameters: {
|
|
1595
1834
|
query?: {
|
|
@@ -1656,6 +1895,8 @@ export interface operations {
|
|
|
1656
1895
|
team: string;
|
|
1657
1896
|
user_id?: string;
|
|
1658
1897
|
collaborators: string[];
|
|
1898
|
+
owner_suspended?: boolean;
|
|
1899
|
+
owner_email?: string;
|
|
1659
1900
|
/** @description Project creation date */
|
|
1660
1901
|
createdAt: string;
|
|
1661
1902
|
/** @description Project updated date */
|
|
@@ -1691,6 +1932,8 @@ export interface operations {
|
|
|
1691
1932
|
team: string;
|
|
1692
1933
|
user_id?: string;
|
|
1693
1934
|
collaborators: string[];
|
|
1935
|
+
owner_suspended?: boolean;
|
|
1936
|
+
owner_email?: string;
|
|
1694
1937
|
/** @description Project creation date */
|
|
1695
1938
|
createdAt: string;
|
|
1696
1939
|
/** @description Project updated date */
|
|
@@ -1714,7 +1957,6 @@ export interface operations {
|
|
|
1714
1957
|
"application/json": {
|
|
1715
1958
|
name?: string;
|
|
1716
1959
|
description?: string;
|
|
1717
|
-
collaborators?: string[];
|
|
1718
1960
|
};
|
|
1719
1961
|
};
|
|
1720
1962
|
};
|
|
@@ -1734,6 +1976,8 @@ export interface operations {
|
|
|
1734
1976
|
team: string;
|
|
1735
1977
|
user_id?: string;
|
|
1736
1978
|
collaborators: string[];
|
|
1979
|
+
owner_suspended?: boolean;
|
|
1980
|
+
owner_email?: string;
|
|
1737
1981
|
/** @description Project creation date */
|
|
1738
1982
|
createdAt: string;
|
|
1739
1983
|
/** @description Project updated date */
|
|
@@ -1769,6 +2013,8 @@ export interface operations {
|
|
|
1769
2013
|
team: string;
|
|
1770
2014
|
user_id?: string;
|
|
1771
2015
|
collaborators: string[];
|
|
2016
|
+
owner_suspended?: boolean;
|
|
2017
|
+
owner_email?: string;
|
|
1772
2018
|
/** @description Project creation date */
|
|
1773
2019
|
createdAt: string;
|
|
1774
2020
|
/** @description Project updated date */
|
|
@@ -1848,6 +2094,14 @@ export interface operations {
|
|
|
1848
2094
|
disabled_reason?: string | null;
|
|
1849
2095
|
runtime: components["schemas"]["AppRuntime"];
|
|
1850
2096
|
runtime_strategy: string | null;
|
|
2097
|
+
detected?: {
|
|
2098
|
+
buildpack: string;
|
|
2099
|
+
framework?: string;
|
|
2100
|
+
runtime: {
|
|
2101
|
+
name: string;
|
|
2102
|
+
version?: string;
|
|
2103
|
+
};
|
|
2104
|
+
} | null;
|
|
1851
2105
|
mode: components["schemas"]["AppMode"];
|
|
1852
2106
|
build_mode?: ("local" | "remote") | null;
|
|
1853
2107
|
deploy_output?: ("image" | "artifact") | null;
|
|
@@ -1871,6 +2125,10 @@ export interface operations {
|
|
|
1871
2125
|
github_installation_id?: string;
|
|
1872
2126
|
/** @description Platform GitHub access health, maintained by installation lifecycle webhooks. Absent/null = ok; 'deleted' | 'suspended' | 'repo_removed' = access broken until re-linked. */
|
|
1873
2127
|
github_installation_state?: string | null;
|
|
2128
|
+
/** @description The linked repository stopped being readable after the app was created, per the GitHub `repository` webhook. Absent/null = visible; 'deleted' | 'privatized' | 'archived' = the source was pulled after deploying (the analyzer re-scores the promoted deployment against our own build artifact). */
|
|
2129
|
+
github_repo_hidden?: string | null;
|
|
2130
|
+
/** @description Why the platform cleared the repository link automatically. Absent/null = never auto-disconnected (or re-linked since); 'push_flood' = the repo exceeded the hourly push limit and must be re-linked by the user. */
|
|
2131
|
+
github_disconnect_reason?: string | null;
|
|
1874
2132
|
/** @description Push-to-deploy trigger. Absent/null = 'workflow' (committed GitHub Action); 'webhook' = the push webhook creates deployments server-side (deploy v4). */
|
|
1875
2133
|
deploy_trigger?: string | null;
|
|
1876
2134
|
/** @description Wait-for-CI gate for webhook triggers. Absent/null = deploy on push; 'ci' = deploy only after the commit's check suites complete green. */
|
|
@@ -1921,6 +2179,14 @@ export interface operations {
|
|
|
1921
2179
|
disabled_reason?: string | null;
|
|
1922
2180
|
runtime: components["schemas"]["AppRuntime"];
|
|
1923
2181
|
runtime_strategy: string | null;
|
|
2182
|
+
detected?: {
|
|
2183
|
+
buildpack: string;
|
|
2184
|
+
framework?: string;
|
|
2185
|
+
runtime: {
|
|
2186
|
+
name: string;
|
|
2187
|
+
version?: string;
|
|
2188
|
+
};
|
|
2189
|
+
} | null;
|
|
1924
2190
|
mode: components["schemas"]["AppMode"];
|
|
1925
2191
|
build_mode?: ("local" | "remote") | null;
|
|
1926
2192
|
deploy_output?: ("image" | "artifact") | null;
|
|
@@ -1944,6 +2210,10 @@ export interface operations {
|
|
|
1944
2210
|
github_installation_id?: string;
|
|
1945
2211
|
/** @description Platform GitHub access health, maintained by installation lifecycle webhooks. Absent/null = ok; 'deleted' | 'suspended' | 'repo_removed' = access broken until re-linked. */
|
|
1946
2212
|
github_installation_state?: string | null;
|
|
2213
|
+
/** @description The linked repository stopped being readable after the app was created, per the GitHub `repository` webhook. Absent/null = visible; 'deleted' | 'privatized' | 'archived' = the source was pulled after deploying (the analyzer re-scores the promoted deployment against our own build artifact). */
|
|
2214
|
+
github_repo_hidden?: string | null;
|
|
2215
|
+
/** @description Why the platform cleared the repository link automatically. Absent/null = never auto-disconnected (or re-linked since); 'push_flood' = the repo exceeded the hourly push limit and must be re-linked by the user. */
|
|
2216
|
+
github_disconnect_reason?: string | null;
|
|
1947
2217
|
/** @description Push-to-deploy trigger. Absent/null = 'workflow' (committed GitHub Action); 'webhook' = the push webhook creates deployments server-side (deploy v4). */
|
|
1948
2218
|
deploy_trigger?: string | null;
|
|
1949
2219
|
/** @description Wait-for-CI gate for webhook triggers. Absent/null = deploy on push; 'ci' = deploy only after the commit's check suites complete green. */
|
|
@@ -2002,6 +2272,14 @@ export interface operations {
|
|
|
2002
2272
|
disabled_reason?: string | null;
|
|
2003
2273
|
runtime: components["schemas"]["AppRuntime"];
|
|
2004
2274
|
runtime_strategy: string | null;
|
|
2275
|
+
detected?: {
|
|
2276
|
+
buildpack: string;
|
|
2277
|
+
framework?: string;
|
|
2278
|
+
runtime: {
|
|
2279
|
+
name: string;
|
|
2280
|
+
version?: string;
|
|
2281
|
+
};
|
|
2282
|
+
} | null;
|
|
2005
2283
|
mode: components["schemas"]["AppMode"];
|
|
2006
2284
|
build_mode?: ("local" | "remote") | null;
|
|
2007
2285
|
deploy_output?: ("image" | "artifact") | null;
|
|
@@ -2025,6 +2303,10 @@ export interface operations {
|
|
|
2025
2303
|
github_installation_id?: string;
|
|
2026
2304
|
/** @description Platform GitHub access health, maintained by installation lifecycle webhooks. Absent/null = ok; 'deleted' | 'suspended' | 'repo_removed' = access broken until re-linked. */
|
|
2027
2305
|
github_installation_state?: string | null;
|
|
2306
|
+
/** @description The linked repository stopped being readable after the app was created, per the GitHub `repository` webhook. Absent/null = visible; 'deleted' | 'privatized' | 'archived' = the source was pulled after deploying (the analyzer re-scores the promoted deployment against our own build artifact). */
|
|
2307
|
+
github_repo_hidden?: string | null;
|
|
2308
|
+
/** @description Why the platform cleared the repository link automatically. Absent/null = never auto-disconnected (or re-linked since); 'push_flood' = the repo exceeded the hourly push limit and must be re-linked by the user. */
|
|
2309
|
+
github_disconnect_reason?: string | null;
|
|
2028
2310
|
/** @description Push-to-deploy trigger. Absent/null = 'workflow' (committed GitHub Action); 'webhook' = the push webhook creates deployments server-side (deploy v4). */
|
|
2029
2311
|
deploy_trigger?: string | null;
|
|
2030
2312
|
/** @description Wait-for-CI gate for webhook triggers. Absent/null = deploy on push; 'ci' = deploy only after the commit's check suites complete green. */
|
|
@@ -2072,6 +2354,14 @@ export interface operations {
|
|
|
2072
2354
|
disabled_reason?: string | null;
|
|
2073
2355
|
runtime: components["schemas"]["AppRuntime"];
|
|
2074
2356
|
runtime_strategy: string | null;
|
|
2357
|
+
detected?: {
|
|
2358
|
+
buildpack: string;
|
|
2359
|
+
framework?: string;
|
|
2360
|
+
runtime: {
|
|
2361
|
+
name: string;
|
|
2362
|
+
version?: string;
|
|
2363
|
+
};
|
|
2364
|
+
} | null;
|
|
2075
2365
|
mode: components["schemas"]["AppMode"];
|
|
2076
2366
|
build_mode?: ("local" | "remote") | null;
|
|
2077
2367
|
deploy_output?: ("image" | "artifact") | null;
|
|
@@ -2095,6 +2385,10 @@ export interface operations {
|
|
|
2095
2385
|
github_installation_id?: string;
|
|
2096
2386
|
/** @description Platform GitHub access health, maintained by installation lifecycle webhooks. Absent/null = ok; 'deleted' | 'suspended' | 'repo_removed' = access broken until re-linked. */
|
|
2097
2387
|
github_installation_state?: string | null;
|
|
2388
|
+
/** @description The linked repository stopped being readable after the app was created, per the GitHub `repository` webhook. Absent/null = visible; 'deleted' | 'privatized' | 'archived' = the source was pulled after deploying (the analyzer re-scores the promoted deployment against our own build artifact). */
|
|
2389
|
+
github_repo_hidden?: string | null;
|
|
2390
|
+
/** @description Why the platform cleared the repository link automatically. Absent/null = never auto-disconnected (or re-linked since); 'push_flood' = the repo exceeded the hourly push limit and must be re-linked by the user. */
|
|
2391
|
+
github_disconnect_reason?: string | null;
|
|
2098
2392
|
/** @description Push-to-deploy trigger. Absent/null = 'workflow' (committed GitHub Action); 'webhook' = the push webhook creates deployments server-side (deploy v4). */
|
|
2099
2393
|
deploy_trigger?: string | null;
|
|
2100
2394
|
/** @description Wait-for-CI gate for webhook triggers. Absent/null = deploy on push; 'ci' = deploy only after the commit's check suites complete green. */
|
|
@@ -2588,6 +2882,7 @@ export interface operations {
|
|
|
2588
2882
|
/** Format: date-time */
|
|
2589
2883
|
quota_released_at?: string;
|
|
2590
2884
|
trigger?: string | null;
|
|
2885
|
+
detected?: components["schemas"]["DeploymentDetected"];
|
|
2591
2886
|
status: components["schemas"]["DeploymentStatus"];
|
|
2592
2887
|
/** @default {} */
|
|
2593
2888
|
metadata: {
|
|
@@ -2637,6 +2932,7 @@ export interface operations {
|
|
|
2637
2932
|
/** Format: date-time */
|
|
2638
2933
|
quota_released_at?: string;
|
|
2639
2934
|
trigger?: string | null;
|
|
2935
|
+
detected?: components["schemas"]["DeploymentDetected"];
|
|
2640
2936
|
status: components["schemas"]["DeploymentStatus"];
|
|
2641
2937
|
/** @default {} */
|
|
2642
2938
|
metadata: {
|
|
@@ -2666,6 +2962,7 @@ export interface operations {
|
|
|
2666
2962
|
image?: string;
|
|
2667
2963
|
artifact?: components["schemas"]["DeploymentArtifact"];
|
|
2668
2964
|
type?: string;
|
|
2965
|
+
detected?: components["schemas"]["DeploymentDetected"];
|
|
2669
2966
|
};
|
|
2670
2967
|
};
|
|
2671
2968
|
};
|
|
@@ -2694,6 +2991,7 @@ export interface operations {
|
|
|
2694
2991
|
/** Format: date-time */
|
|
2695
2992
|
quota_released_at?: string;
|
|
2696
2993
|
trigger?: string | null;
|
|
2994
|
+
detected?: components["schemas"]["DeploymentDetected"];
|
|
2697
2995
|
status: components["schemas"]["DeploymentStatus"];
|
|
2698
2996
|
/** @default {} */
|
|
2699
2997
|
metadata: {
|
|
@@ -2743,6 +3041,7 @@ export interface operations {
|
|
|
2743
3041
|
/** Format: date-time */
|
|
2744
3042
|
quota_released_at?: string;
|
|
2745
3043
|
trigger?: string | null;
|
|
3044
|
+
detected?: components["schemas"]["DeploymentDetected"];
|
|
2746
3045
|
status: components["schemas"]["DeploymentStatus"];
|
|
2747
3046
|
/** @default {} */
|
|
2748
3047
|
metadata: {
|
|
@@ -3196,6 +3495,69 @@ export interface operations {
|
|
|
3196
3495
|
};
|
|
3197
3496
|
};
|
|
3198
3497
|
};
|
|
3498
|
+
"analyzer/listScans": {
|
|
3499
|
+
parameters: {
|
|
3500
|
+
query?: {
|
|
3501
|
+
verdict?: "clean" | "review" | "quarantine" | "skipped";
|
|
3502
|
+
app_id?: string;
|
|
3503
|
+
user_id?: string;
|
|
3504
|
+
limit?: number;
|
|
3505
|
+
};
|
|
3506
|
+
header?: never;
|
|
3507
|
+
path?: never;
|
|
3508
|
+
cookie?: never;
|
|
3509
|
+
};
|
|
3510
|
+
requestBody?: never;
|
|
3511
|
+
responses: {
|
|
3512
|
+
/** @description Default Response */
|
|
3513
|
+
200: {
|
|
3514
|
+
headers: {
|
|
3515
|
+
[name: string]: unknown;
|
|
3516
|
+
};
|
|
3517
|
+
content?: never;
|
|
3518
|
+
};
|
|
3519
|
+
};
|
|
3520
|
+
};
|
|
3521
|
+
"analyzer/stats": {
|
|
3522
|
+
parameters: {
|
|
3523
|
+
query?: never;
|
|
3524
|
+
header?: never;
|
|
3525
|
+
path?: never;
|
|
3526
|
+
cookie?: never;
|
|
3527
|
+
};
|
|
3528
|
+
requestBody?: never;
|
|
3529
|
+
responses: {
|
|
3530
|
+
/** @description Default Response */
|
|
3531
|
+
200: {
|
|
3532
|
+
headers: {
|
|
3533
|
+
[name: string]: unknown;
|
|
3534
|
+
};
|
|
3535
|
+
content?: never;
|
|
3536
|
+
};
|
|
3537
|
+
};
|
|
3538
|
+
};
|
|
3539
|
+
"analyzer/rescan": {
|
|
3540
|
+
parameters: {
|
|
3541
|
+
query?: {
|
|
3542
|
+
deployment_id?: string;
|
|
3543
|
+
};
|
|
3544
|
+
header?: never;
|
|
3545
|
+
path: {
|
|
3546
|
+
app_id: string;
|
|
3547
|
+
};
|
|
3548
|
+
cookie?: never;
|
|
3549
|
+
};
|
|
3550
|
+
requestBody?: never;
|
|
3551
|
+
responses: {
|
|
3552
|
+
/** @description Default Response */
|
|
3553
|
+
200: {
|
|
3554
|
+
headers: {
|
|
3555
|
+
[name: string]: unknown;
|
|
3556
|
+
};
|
|
3557
|
+
content?: never;
|
|
3558
|
+
};
|
|
3559
|
+
};
|
|
3560
|
+
};
|
|
3199
3561
|
"usage/summary": {
|
|
3200
3562
|
parameters: {
|
|
3201
3563
|
query?: {
|