@faable/deploy-sdk 2.10.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.
@@ -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;
@@ -648,6 +768,23 @@ export interface paths {
648
768
  patch?: never;
649
769
  trace?: never;
650
770
  };
771
+ "/usage/traffic": {
772
+ parameters: {
773
+ query?: never;
774
+ header?: never;
775
+ path?: never;
776
+ cookie?: never;
777
+ };
778
+ /** Get metered traffic usage per team for the current period */
779
+ get: operations["usage/traffic"];
780
+ put?: never;
781
+ post?: never;
782
+ delete?: never;
783
+ options?: never;
784
+ head?: never;
785
+ patch?: never;
786
+ trace?: never;
787
+ };
651
788
  "/deploy-quota": {
652
789
  parameters: {
653
790
  query?: never;
@@ -695,6 +832,18 @@ export interface components {
695
832
  ProjectInvite: {
696
833
  emails: string[];
697
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
+ };
698
847
  /** @description Project */
699
848
  Project: {
700
849
  /** @description Project ID */
@@ -705,6 +854,8 @@ export interface components {
705
854
  team: string;
706
855
  user_id?: string;
707
856
  collaborators: string[];
857
+ owner_suspended?: boolean;
858
+ owner_email?: string;
708
859
  /** @description Project creation date */
709
860
  createdAt: string;
710
861
  /** @description Project updated date */
@@ -742,7 +893,6 @@ export interface components {
742
893
  ProjectUpdate: {
743
894
  name?: string;
744
895
  description?: string;
745
- collaborators?: string[];
746
896
  };
747
897
  AppStatus: {
748
898
  /**
@@ -795,10 +945,24 @@ export interface components {
795
945
  * @default null
796
946
  */
797
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;
798
962
  };
799
963
  AppRuntimeStrategy: string;
800
964
  /** @enum {unknown} */
801
- AppRuntime: "node" | "php";
965
+ AppRuntime: "node" | "php" | "python";
802
966
  /**
803
967
  * @default standard
804
968
  * @enum {unknown}
@@ -827,6 +991,14 @@ export interface components {
827
991
  disabled_reason?: string | null;
828
992
  runtime: components["schemas"]["AppRuntime"];
829
993
  runtime_strategy: string | null;
994
+ detected?: {
995
+ buildpack: string;
996
+ framework?: string;
997
+ runtime: {
998
+ name: string;
999
+ version?: string;
1000
+ };
1001
+ } | null;
830
1002
  mode: components["schemas"]["AppMode"];
831
1003
  build_mode?: ("local" | "remote") | null;
832
1004
  deploy_output?: ("image" | "artifact") | null;
@@ -850,6 +1022,10 @@ export interface components {
850
1022
  github_installation_id?: string;
851
1023
  /** @description Platform GitHub access health, maintained by installation lifecycle webhooks. Absent/null = ok; 'deleted' | 'suspended' | 'repo_removed' = access broken until re-linked. */
852
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;
853
1029
  /** @description Push-to-deploy trigger. Absent/null = 'workflow' (committed GitHub Action); 'webhook' = the push webhook creates deployments server-side (deploy v4). */
854
1030
  deploy_trigger?: string | null;
855
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. */
@@ -968,16 +1144,24 @@ export interface components {
968
1144
  format: "tar.zst";
969
1145
  runtime: {
970
1146
  /** @enum {unknown} */
971
- name: "node" | "python" | "static";
1147
+ name: "node" | "python" | "php" | "static";
972
1148
  version?: string | null;
973
1149
  };
974
1150
  /** @enum {unknown} */
975
- profile: "node-full" | "next-standalone" | "static" | "python-venv";
1151
+ profile: "node-full" | "next-standalone" | "static" | "python-venv" | "php";
976
1152
  start_command?: string | null;
977
1153
  static?: {
978
1154
  spa: boolean;
979
1155
  };
980
1156
  };
1157
+ DeploymentDetected: {
1158
+ buildpack: string;
1159
+ framework?: string;
1160
+ runtime: {
1161
+ name: string;
1162
+ version?: string;
1163
+ };
1164
+ };
981
1165
  /** @description Deployment */
982
1166
  Deployment: {
983
1167
  /** @description Deployment ID */
@@ -997,6 +1181,7 @@ export interface components {
997
1181
  /** Format: date-time */
998
1182
  quota_released_at?: string;
999
1183
  trigger?: string | null;
1184
+ detected?: components["schemas"]["DeploymentDetected"];
1000
1185
  status: components["schemas"]["DeploymentStatus"];
1001
1186
  /** @default {} */
1002
1187
  metadata: {
@@ -1046,6 +1231,7 @@ export interface components {
1046
1231
  image?: string;
1047
1232
  artifact?: components["schemas"]["DeploymentArtifact"];
1048
1233
  type?: string;
1234
+ detected?: components["schemas"]["DeploymentDetected"];
1049
1235
  };
1050
1236
  DomainStatus: {
1051
1237
  /**
@@ -1160,7 +1346,8 @@ export interface components {
1160
1346
  */
1161
1347
  app_id: string | null;
1162
1348
  source: "builtin" | "manual" | "auto";
1163
- action: "deny" | "ratelimit";
1349
+ action: "deny" | "ratelimit" | "probe";
1350
+ match: "path" | "user_agent";
1164
1351
  apply: "all" | "node" | "php" | "manual";
1165
1352
  rules: {
1166
1353
  /** @description RE2 path-regex fragment */
@@ -1214,7 +1401,8 @@ export interface components {
1214
1401
  /** @description Owning App */
1215
1402
  app_id?: string;
1216
1403
  source?: "builtin" | "manual" | "auto";
1217
- action?: "deny" | "ratelimit";
1404
+ action?: "deny" | "ratelimit" | "probe";
1405
+ match?: "path" | "user_agent";
1218
1406
  apply?: "all" | "node" | "php" | "manual";
1219
1407
  rules?: {
1220
1408
  /** @description RE2 path-regex fragment */
@@ -1229,7 +1417,8 @@ export interface components {
1229
1417
  };
1230
1418
  WafProfileUpdate: {
1231
1419
  name?: string;
1232
- action?: "deny" | "ratelimit";
1420
+ action?: "deny" | "ratelimit" | "probe";
1421
+ match?: "path" | "user_agent";
1233
1422
  apply?: "all" | "node" | "php" | "manual";
1234
1423
  rules?: {
1235
1424
  /** @description RE2 path-regex fragment */
@@ -1561,6 +1750,29 @@ export interface operations {
1561
1750
  "application/json": components["schemas"]["ProjectInvite"];
1562
1751
  };
1563
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;
1564
1776
  responses: {
1565
1777
  /** @description Project */
1566
1778
  200: {
@@ -1573,6 +1785,50 @@ export interface operations {
1573
1785
  };
1574
1786
  };
1575
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
+ };
1576
1832
  "project/list": {
1577
1833
  parameters: {
1578
1834
  query?: {
@@ -1639,6 +1895,8 @@ export interface operations {
1639
1895
  team: string;
1640
1896
  user_id?: string;
1641
1897
  collaborators: string[];
1898
+ owner_suspended?: boolean;
1899
+ owner_email?: string;
1642
1900
  /** @description Project creation date */
1643
1901
  createdAt: string;
1644
1902
  /** @description Project updated date */
@@ -1674,6 +1932,8 @@ export interface operations {
1674
1932
  team: string;
1675
1933
  user_id?: string;
1676
1934
  collaborators: string[];
1935
+ owner_suspended?: boolean;
1936
+ owner_email?: string;
1677
1937
  /** @description Project creation date */
1678
1938
  createdAt: string;
1679
1939
  /** @description Project updated date */
@@ -1697,7 +1957,6 @@ export interface operations {
1697
1957
  "application/json": {
1698
1958
  name?: string;
1699
1959
  description?: string;
1700
- collaborators?: string[];
1701
1960
  };
1702
1961
  };
1703
1962
  };
@@ -1717,6 +1976,8 @@ export interface operations {
1717
1976
  team: string;
1718
1977
  user_id?: string;
1719
1978
  collaborators: string[];
1979
+ owner_suspended?: boolean;
1980
+ owner_email?: string;
1720
1981
  /** @description Project creation date */
1721
1982
  createdAt: string;
1722
1983
  /** @description Project updated date */
@@ -1752,6 +2013,8 @@ export interface operations {
1752
2013
  team: string;
1753
2014
  user_id?: string;
1754
2015
  collaborators: string[];
2016
+ owner_suspended?: boolean;
2017
+ owner_email?: string;
1755
2018
  /** @description Project creation date */
1756
2019
  createdAt: string;
1757
2020
  /** @description Project updated date */
@@ -1831,6 +2094,14 @@ export interface operations {
1831
2094
  disabled_reason?: string | null;
1832
2095
  runtime: components["schemas"]["AppRuntime"];
1833
2096
  runtime_strategy: string | null;
2097
+ detected?: {
2098
+ buildpack: string;
2099
+ framework?: string;
2100
+ runtime: {
2101
+ name: string;
2102
+ version?: string;
2103
+ };
2104
+ } | null;
1834
2105
  mode: components["schemas"]["AppMode"];
1835
2106
  build_mode?: ("local" | "remote") | null;
1836
2107
  deploy_output?: ("image" | "artifact") | null;
@@ -1854,6 +2125,10 @@ export interface operations {
1854
2125
  github_installation_id?: string;
1855
2126
  /** @description Platform GitHub access health, maintained by installation lifecycle webhooks. Absent/null = ok; 'deleted' | 'suspended' | 'repo_removed' = access broken until re-linked. */
1856
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;
1857
2132
  /** @description Push-to-deploy trigger. Absent/null = 'workflow' (committed GitHub Action); 'webhook' = the push webhook creates deployments server-side (deploy v4). */
1858
2133
  deploy_trigger?: string | null;
1859
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. */
@@ -1904,6 +2179,14 @@ export interface operations {
1904
2179
  disabled_reason?: string | null;
1905
2180
  runtime: components["schemas"]["AppRuntime"];
1906
2181
  runtime_strategy: string | null;
2182
+ detected?: {
2183
+ buildpack: string;
2184
+ framework?: string;
2185
+ runtime: {
2186
+ name: string;
2187
+ version?: string;
2188
+ };
2189
+ } | null;
1907
2190
  mode: components["schemas"]["AppMode"];
1908
2191
  build_mode?: ("local" | "remote") | null;
1909
2192
  deploy_output?: ("image" | "artifact") | null;
@@ -1927,6 +2210,10 @@ export interface operations {
1927
2210
  github_installation_id?: string;
1928
2211
  /** @description Platform GitHub access health, maintained by installation lifecycle webhooks. Absent/null = ok; 'deleted' | 'suspended' | 'repo_removed' = access broken until re-linked. */
1929
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;
1930
2217
  /** @description Push-to-deploy trigger. Absent/null = 'workflow' (committed GitHub Action); 'webhook' = the push webhook creates deployments server-side (deploy v4). */
1931
2218
  deploy_trigger?: string | null;
1932
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. */
@@ -1985,6 +2272,14 @@ export interface operations {
1985
2272
  disabled_reason?: string | null;
1986
2273
  runtime: components["schemas"]["AppRuntime"];
1987
2274
  runtime_strategy: string | null;
2275
+ detected?: {
2276
+ buildpack: string;
2277
+ framework?: string;
2278
+ runtime: {
2279
+ name: string;
2280
+ version?: string;
2281
+ };
2282
+ } | null;
1988
2283
  mode: components["schemas"]["AppMode"];
1989
2284
  build_mode?: ("local" | "remote") | null;
1990
2285
  deploy_output?: ("image" | "artifact") | null;
@@ -2008,6 +2303,10 @@ export interface operations {
2008
2303
  github_installation_id?: string;
2009
2304
  /** @description Platform GitHub access health, maintained by installation lifecycle webhooks. Absent/null = ok; 'deleted' | 'suspended' | 'repo_removed' = access broken until re-linked. */
2010
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;
2011
2310
  /** @description Push-to-deploy trigger. Absent/null = 'workflow' (committed GitHub Action); 'webhook' = the push webhook creates deployments server-side (deploy v4). */
2012
2311
  deploy_trigger?: string | null;
2013
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. */
@@ -2055,6 +2354,14 @@ export interface operations {
2055
2354
  disabled_reason?: string | null;
2056
2355
  runtime: components["schemas"]["AppRuntime"];
2057
2356
  runtime_strategy: string | null;
2357
+ detected?: {
2358
+ buildpack: string;
2359
+ framework?: string;
2360
+ runtime: {
2361
+ name: string;
2362
+ version?: string;
2363
+ };
2364
+ } | null;
2058
2365
  mode: components["schemas"]["AppMode"];
2059
2366
  build_mode?: ("local" | "remote") | null;
2060
2367
  deploy_output?: ("image" | "artifact") | null;
@@ -2078,6 +2385,10 @@ export interface operations {
2078
2385
  github_installation_id?: string;
2079
2386
  /** @description Platform GitHub access health, maintained by installation lifecycle webhooks. Absent/null = ok; 'deleted' | 'suspended' | 'repo_removed' = access broken until re-linked. */
2080
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;
2081
2392
  /** @description Push-to-deploy trigger. Absent/null = 'workflow' (committed GitHub Action); 'webhook' = the push webhook creates deployments server-side (deploy v4). */
2082
2393
  deploy_trigger?: string | null;
2083
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. */
@@ -2571,6 +2882,7 @@ export interface operations {
2571
2882
  /** Format: date-time */
2572
2883
  quota_released_at?: string;
2573
2884
  trigger?: string | null;
2885
+ detected?: components["schemas"]["DeploymentDetected"];
2574
2886
  status: components["schemas"]["DeploymentStatus"];
2575
2887
  /** @default {} */
2576
2888
  metadata: {
@@ -2620,6 +2932,7 @@ export interface operations {
2620
2932
  /** Format: date-time */
2621
2933
  quota_released_at?: string;
2622
2934
  trigger?: string | null;
2935
+ detected?: components["schemas"]["DeploymentDetected"];
2623
2936
  status: components["schemas"]["DeploymentStatus"];
2624
2937
  /** @default {} */
2625
2938
  metadata: {
@@ -2649,6 +2962,7 @@ export interface operations {
2649
2962
  image?: string;
2650
2963
  artifact?: components["schemas"]["DeploymentArtifact"];
2651
2964
  type?: string;
2965
+ detected?: components["schemas"]["DeploymentDetected"];
2652
2966
  };
2653
2967
  };
2654
2968
  };
@@ -2677,6 +2991,7 @@ export interface operations {
2677
2991
  /** Format: date-time */
2678
2992
  quota_released_at?: string;
2679
2993
  trigger?: string | null;
2994
+ detected?: components["schemas"]["DeploymentDetected"];
2680
2995
  status: components["schemas"]["DeploymentStatus"];
2681
2996
  /** @default {} */
2682
2997
  metadata: {
@@ -2726,6 +3041,7 @@ export interface operations {
2726
3041
  /** Format: date-time */
2727
3042
  quota_released_at?: string;
2728
3043
  trigger?: string | null;
3044
+ detected?: components["schemas"]["DeploymentDetected"];
2729
3045
  status: components["schemas"]["DeploymentStatus"];
2730
3046
  /** @default {} */
2731
3047
  metadata: {
@@ -3179,7 +3495,30 @@ export interface operations {
3179
3495
  };
3180
3496
  };
3181
3497
  };
3182
- "usage/summary": {
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": {
3183
3522
  parameters: {
3184
3523
  query?: never;
3185
3524
  header?: never;
@@ -3187,6 +3526,48 @@ export interface operations {
3187
3526
  cookie?: never;
3188
3527
  };
3189
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
+ };
3561
+ "usage/summary": {
3562
+ parameters: {
3563
+ query?: {
3564
+ traffic?: boolean;
3565
+ };
3566
+ header?: never;
3567
+ path?: never;
3568
+ cookie?: never;
3569
+ };
3570
+ requestBody?: never;
3190
3571
  responses: {
3191
3572
  /** @description Default Response */
3192
3573
  200: {
@@ -3203,7 +3584,7 @@ export interface operations {
3203
3584
  traffic: {
3204
3585
  used_gb: number;
3205
3586
  cost_estimate_cents: number;
3206
- };
3587
+ } | null;
3207
3588
  teams: {
3208
3589
  id: string;
3209
3590
  name: string;
@@ -3228,6 +3609,40 @@ export interface operations {
3228
3609
  cost_estimate_cents: number;
3229
3610
  } | null;
3230
3611
  }[];
3612
+ billing_available: boolean;
3613
+ };
3614
+ };
3615
+ };
3616
+ };
3617
+ };
3618
+ "usage/traffic": {
3619
+ parameters: {
3620
+ query?: never;
3621
+ header?: never;
3622
+ path?: never;
3623
+ cookie?: never;
3624
+ };
3625
+ requestBody?: never;
3626
+ responses: {
3627
+ /** @description Default Response */
3628
+ 200: {
3629
+ headers: {
3630
+ [name: string]: unknown;
3631
+ };
3632
+ content: {
3633
+ "application/json": {
3634
+ traffic: {
3635
+ used_gb: number;
3636
+ cost_estimate_cents: number;
3637
+ } | null;
3638
+ teams: {
3639
+ id: string;
3640
+ traffic: {
3641
+ used_gb: number;
3642
+ cost_estimate_cents: number;
3643
+ } | null;
3644
+ }[];
3645
+ billing_available: boolean;
3231
3646
  };
3232
3647
  };
3233
3648
  };