@faable/deploy-sdk 2.13.1 → 2.15.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.map +1 -1
- package/dist/api/api-types.d.ts +2 -0
- package/dist/api/api-types.d.ts.map +1 -1
- package/dist/api/generated-client.d.ts +105 -3
- package/dist/api/generated-client.d.ts.map +1 -1
- package/dist/api/generated-client.js +58 -0
- package/dist/api/types.d.ts +218 -12
- package/dist/api/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/scripts/gen-client.mjs +48 -2
- package/spec/openapi.json +788 -27
|
@@ -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,MAAM,CAAC;IAClB,0EAA0E;IAC1E,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,2EAA2E;IAC3E,cAAc,CAAC,EAAE,UAAU,GAAG,WAAW,GAAG,YAAY,CAAC;IACzD,yDAAyD;IACzD,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iEAAiE;IACjE,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,qBAAa,SAAU,SAAQ,wBAAwB;gBACzC,MAAM,CAAC,EAAE,SAAS;IAoB9B,YAAY,CAAC,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,IA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;;;;kBAxKpxvB,CAAC;oBACK,CAAC;;;;;;;;;;;;;;yBAuKyqvB,CAAC;;;2BAAkG,CAAC;;;kBAAoE,0CAAsB;;;;;;;;;;oBAAw8B,0CAAsB;;;;;;;;;;;;;;;;IAjDh1xB;;;;OAIG;IACH,eAAe,CAAC,KAAK,CAAC,EAAE,MAAM;;;;;;;;;;;;;;;;;;uBA4C80iC,0CAAsB;oBAA2C,0CAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAxK/7iC,CAAC;oBACK,CAAC;;;;;;;;;;;;;;;;;;uBAuKi2iC,0CAAsB;oBAA2C,0CAAsB;;;;;;;;IAhCn8iC,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
|
@@ -9,6 +9,7 @@ export type AppCoexistenceRouting = components["schemas"]["AppCoexistenceRouting
|
|
|
9
9
|
export type AppCreate = components["schemas"]["AppCreate"];
|
|
10
10
|
export type AppDeployOutput = components["schemas"]["AppDeployOutput"];
|
|
11
11
|
export type AppMode = components["schemas"]["AppMode"];
|
|
12
|
+
export type AppRepoLinkable = components["schemas"]["AppRepoLinkable"];
|
|
12
13
|
export type AppRuntime = components["schemas"]["AppRuntime"];
|
|
13
14
|
export type AppRuntimeStrategy = components["schemas"]["AppRuntimeStrategy"];
|
|
14
15
|
export type AppStatus = components["schemas"]["AppStatus"];
|
|
@@ -74,6 +75,7 @@ export type Project = components["schemas"]["Project"];
|
|
|
74
75
|
export type ProjectCreate = components["schemas"]["ProjectCreate"];
|
|
75
76
|
export type ProjectInvite = components["schemas"]["ProjectInvite"];
|
|
76
77
|
export type ProjectInviteResult = components["schemas"]["ProjectInviteResult"];
|
|
78
|
+
export type ProjectLimits = components["schemas"]["ProjectLimits"];
|
|
77
79
|
export type ProjectUpdate = components["schemas"]["ProjectUpdate"];
|
|
78
80
|
export type RepoBranches = components["schemas"]["RepoBranches"];
|
|
79
81
|
export type RepoConfig = components["schemas"]["RepoConfig"];
|
|
@@ -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,SAAS,CAAC,CAAC,KAAK,CAAC,CAAC;AAC/C,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,cAAc,CAAC,CAAC;AACjE,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,sBAAsB,CAAC,CAAC;AACjF,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,uBAAuB,CAAC,CAAC;AACnF,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,WAAW,CAAC,CAAC;AAC3D,MAAM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,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"}
|
|
@@ -132,6 +132,8 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
132
132
|
* `POST /app/{id}/deploy` — operationId: `app/deploy_now`
|
|
133
133
|
*
|
|
134
134
|
* Deploy the latest commit now
|
|
135
|
+
*
|
|
136
|
+
* 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.
|
|
135
137
|
*/
|
|
136
138
|
appDeployNow(id: string): Promise<{
|
|
137
139
|
status: "created";
|
|
@@ -204,6 +206,8 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
204
206
|
* `POST /app/{id}/link-repository` — operationId: `app/link_repository`
|
|
205
207
|
*
|
|
206
208
|
* Link a GitHub repository to an app
|
|
209
|
+
*
|
|
210
|
+
* Link a GitHub repository to an app after verifying the user has a connected GitHub identity with access to the repository.
|
|
207
211
|
*/
|
|
208
212
|
appLinkRepository(id: string, data: OpBody<"app/link_repository">): Promise<{
|
|
209
213
|
id: string;
|
|
@@ -401,6 +405,8 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
401
405
|
* `GET /app/{id}/repo/branches` — operationId: `app/repo_branches`
|
|
402
406
|
*
|
|
403
407
|
* List repository branches
|
|
408
|
+
*
|
|
409
|
+
* Branch names of the linked repository.
|
|
404
410
|
*/
|
|
405
411
|
appRepoBranches(id: string): Promise<{
|
|
406
412
|
branches: string[];
|
|
@@ -409,6 +415,8 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
409
415
|
* `GET /app/{id}/repo/config` — operationId: `app/repo_config`
|
|
410
416
|
*
|
|
411
417
|
* Get effective repository build config
|
|
418
|
+
*
|
|
419
|
+
* Effective build configuration read from the repository: the monorepo Root Directory and its source (platform override or the repo's faable.json).
|
|
412
420
|
*/
|
|
413
421
|
appRepoConfig(id: string): Promise<{
|
|
414
422
|
root_dir: string | null;
|
|
@@ -418,6 +426,8 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
418
426
|
* `GET /app/{id}/repo/directories` — operationId: `app/repo_directories`
|
|
419
427
|
*
|
|
420
428
|
* List repository directories
|
|
429
|
+
*
|
|
430
|
+
* Directories of the linked repository on the deploy branch, flagged with whether each one holds a buildable manifest. Feeds the Root Directory picker so a monorepo is configured from what the repository actually contains. Limited to three levels deep; dotted directories and node_modules are excluded.
|
|
421
431
|
*/
|
|
422
432
|
appRepoDirectories(id: string): Promise<{
|
|
423
433
|
directories: {
|
|
@@ -426,10 +436,29 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
426
436
|
}[];
|
|
427
437
|
truncated: boolean;
|
|
428
438
|
}>;
|
|
439
|
+
/**
|
|
440
|
+
* `GET /app/repo-linkable` — operationId: `app/repo_linkable`
|
|
441
|
+
*
|
|
442
|
+
* Check whether a repository can be linked to a new app
|
|
443
|
+
*
|
|
444
|
+
* Runs the free-plan "one repository, one app" guard before the app exists. Always 200: `linkable:false` names the app that already has the repository (and its project when it is another one of yours), with the same message the link would refuse with.
|
|
445
|
+
*/
|
|
446
|
+
appRepoLinkable(params?: OpQuery<"app/repo_linkable">): Promise<{
|
|
447
|
+
linkable: boolean;
|
|
448
|
+
code?: "repository_already_linked";
|
|
449
|
+
message?: string;
|
|
450
|
+
details?: {
|
|
451
|
+
app_id: string;
|
|
452
|
+
app_name?: string;
|
|
453
|
+
project?: string;
|
|
454
|
+
};
|
|
455
|
+
}>;
|
|
429
456
|
/**
|
|
430
457
|
* `GET /app/{id}/repo/workflows` — operationId: `app/repo_workflows`
|
|
431
458
|
*
|
|
432
459
|
* List repository workflow files
|
|
460
|
+
*
|
|
461
|
+
* GitHub Actions workflow files present on the linked repository (deploy branch).
|
|
433
462
|
*/
|
|
434
463
|
appRepoWorkflows(id: string): Promise<{
|
|
435
464
|
workflows: {
|
|
@@ -442,6 +471,8 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
442
471
|
* `POST /app/{id}/deploy-branch` — operationId: `app/set_deploy_branch`
|
|
443
472
|
*
|
|
444
473
|
* Change the deploy branch
|
|
474
|
+
*
|
|
475
|
+
* 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.
|
|
445
476
|
*/
|
|
446
477
|
appSetDeployBranch(id: string, data: OpBody<"app/set_deploy_branch">): Promise<{
|
|
447
478
|
github_branch: string;
|
|
@@ -451,6 +482,8 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
451
482
|
* `POST /app/{id}/deploy-mode` — operationId: `app/set_deploy_mode`
|
|
452
483
|
*
|
|
453
484
|
* Set the deploy mode
|
|
485
|
+
*
|
|
486
|
+
* Choose how pushes deploy: 'push' = every push deploys directly; 'ci' = deploy once the commit's CI checks pass. Both are platform-managed (webhook) triggers.
|
|
454
487
|
*/
|
|
455
488
|
appSetDeployMode(id: string, data: OpBody<"app/set_deploy_mode">): Promise<{
|
|
456
489
|
id: string;
|
|
@@ -500,6 +533,8 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
500
533
|
* `POST /app/{id}/root-dir` — operationId: `app/set_root_dir`
|
|
501
534
|
*
|
|
502
535
|
* Set the Root Directory
|
|
536
|
+
*
|
|
537
|
+
* Set the platform Root Directory: the subdirectory of the repository the build runs from. Takes precedence over the repo's faable.json `rootDir`; `null` clears it and hands precedence back. The path must exist on the deploy branch.
|
|
503
538
|
*/
|
|
504
539
|
appSetRootDir(id: string, data: OpBody<"app/set_root_dir">): Promise<{
|
|
505
540
|
id: string;
|
|
@@ -651,11 +686,14 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
651
686
|
user_agent: string;
|
|
652
687
|
requests: number;
|
|
653
688
|
}[];
|
|
689
|
+
degraded: string[];
|
|
654
690
|
}>;
|
|
655
691
|
/**
|
|
656
692
|
* `POST /app/{id}/unlink-repository` — operationId: `app/unlink_repository`
|
|
657
693
|
*
|
|
658
694
|
* Unlink the GitHub repository from an app
|
|
695
|
+
*
|
|
696
|
+
* Unlink the GitHub repository from an app.
|
|
659
697
|
*/
|
|
660
698
|
appUnlinkRepository(id: string): Promise<{
|
|
661
699
|
id: string;
|
|
@@ -754,21 +792,29 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
754
792
|
* `GET /app/{app_id}/waf` — operationId: `app/waf`
|
|
755
793
|
*
|
|
756
794
|
* Get App WAF
|
|
795
|
+
*
|
|
796
|
+
* Get the WAF rules in effect for an App
|
|
757
797
|
*/
|
|
758
798
|
appWaf(app_id: string): Promise<{
|
|
759
799
|
enabled: boolean;
|
|
760
800
|
platform_profiles: {
|
|
761
801
|
name: string;
|
|
762
802
|
action: string;
|
|
803
|
+
match: string;
|
|
763
804
|
rule_count: number;
|
|
764
805
|
rules?: {
|
|
765
806
|
pattern: string;
|
|
807
|
+
user_agent?: string;
|
|
808
|
+
query?: string;
|
|
766
809
|
description?: string;
|
|
767
810
|
}[];
|
|
768
811
|
}[];
|
|
769
812
|
rules: {
|
|
770
|
-
pattern
|
|
813
|
+
pattern?: string;
|
|
814
|
+
user_agent?: string;
|
|
815
|
+
query?: string;
|
|
771
816
|
action: string;
|
|
817
|
+
match: string;
|
|
772
818
|
description?: string;
|
|
773
819
|
}[];
|
|
774
820
|
}>;
|
|
@@ -776,21 +822,29 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
776
822
|
* `POST /app/{app_id}/waf/rules` — operationId: `app/waf/addRule`
|
|
777
823
|
*
|
|
778
824
|
* Add App WAF Rule
|
|
825
|
+
*
|
|
826
|
+
* Add a WAF rule to an App
|
|
779
827
|
*/
|
|
780
828
|
appWafAddRule(app_id: string, data: OpBody<"app/waf/addRule">): Promise<{
|
|
781
829
|
enabled: boolean;
|
|
782
830
|
platform_profiles: {
|
|
783
831
|
name: string;
|
|
784
832
|
action: string;
|
|
833
|
+
match: string;
|
|
785
834
|
rule_count: number;
|
|
786
835
|
rules?: {
|
|
787
836
|
pattern: string;
|
|
837
|
+
user_agent?: string;
|
|
838
|
+
query?: string;
|
|
788
839
|
description?: string;
|
|
789
840
|
}[];
|
|
790
841
|
}[];
|
|
791
842
|
rules: {
|
|
792
|
-
pattern
|
|
843
|
+
pattern?: string;
|
|
844
|
+
user_agent?: string;
|
|
845
|
+
query?: string;
|
|
793
846
|
action: string;
|
|
847
|
+
match: string;
|
|
794
848
|
description?: string;
|
|
795
849
|
}[];
|
|
796
850
|
}>;
|
|
@@ -798,21 +852,29 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
798
852
|
* `DELETE /app/{app_id}/waf/rules` — operationId: `app/waf/removeRule`
|
|
799
853
|
*
|
|
800
854
|
* Remove App WAF Rule
|
|
855
|
+
*
|
|
856
|
+
* Remove a WAF rule from an App
|
|
801
857
|
*/
|
|
802
858
|
appWafRemoveRule(app_id: string, data: OpBody<"app/waf/removeRule">): Promise<{
|
|
803
859
|
enabled: boolean;
|
|
804
860
|
platform_profiles: {
|
|
805
861
|
name: string;
|
|
806
862
|
action: string;
|
|
863
|
+
match: string;
|
|
807
864
|
rule_count: number;
|
|
808
865
|
rules?: {
|
|
809
866
|
pattern: string;
|
|
867
|
+
user_agent?: string;
|
|
868
|
+
query?: string;
|
|
810
869
|
description?: string;
|
|
811
870
|
}[];
|
|
812
871
|
}[];
|
|
813
872
|
rules: {
|
|
814
|
-
pattern
|
|
873
|
+
pattern?: string;
|
|
874
|
+
user_agent?: string;
|
|
875
|
+
query?: string;
|
|
815
876
|
action: string;
|
|
877
|
+
match: string;
|
|
816
878
|
description?: string;
|
|
817
879
|
}[];
|
|
818
880
|
}>;
|
|
@@ -820,6 +882,8 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
820
882
|
* `GET /deploy-quota` — operationId: `deploy_quota/get`
|
|
821
883
|
*
|
|
822
884
|
* Get the team's daily deploy quota status
|
|
885
|
+
*
|
|
886
|
+
* Daily deploy allowance of the current team: how much was used today, when it resets, and how many builds are held waiting for it.
|
|
823
887
|
*/
|
|
824
888
|
deployQuotaGet(): Promise<{
|
|
825
889
|
limited: boolean;
|
|
@@ -833,6 +897,8 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
833
897
|
* `POST /deploy-quota/release` — operationId: `deploy_quota/release`
|
|
834
898
|
*
|
|
835
899
|
* Roll out the builds held by the daily deploy quota
|
|
900
|
+
*
|
|
901
|
+
* 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.
|
|
836
902
|
*/
|
|
837
903
|
deployQuotaRelease(): Promise<{
|
|
838
904
|
released: string[];
|
|
@@ -842,6 +908,8 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
842
908
|
* `POST /deployment/{deployment_id}/cancel` — operationId: `deployment/cancel`
|
|
843
909
|
*
|
|
844
910
|
* Cancel a queued or building deployment
|
|
911
|
+
*
|
|
912
|
+
* Cancel a deployment that has not been handed over to the controller yet (QUEUED or BUILDING)
|
|
845
913
|
*/
|
|
846
914
|
deploymentCancel(deployment_id: string): Promise<{
|
|
847
915
|
id: string;
|
|
@@ -962,6 +1030,8 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
962
1030
|
* `GET /deployment/{deployment_id}/logs` — operationId: `deployment/get_logs`
|
|
963
1031
|
*
|
|
964
1032
|
* Get deployment build logs
|
|
1033
|
+
*
|
|
1034
|
+
* Get the CLI build/deploy output attached to a deployment
|
|
965
1035
|
*/
|
|
966
1036
|
deploymentGetLogs(deployment_id: string): Promise<{
|
|
967
1037
|
id: string;
|
|
@@ -1268,6 +1338,7 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
1268
1338
|
team: string;
|
|
1269
1339
|
user_id?: string;
|
|
1270
1340
|
collaborators: string[];
|
|
1341
|
+
product_intent?: "deploy" | "auth" | "undecided";
|
|
1271
1342
|
owner_suspended?: boolean;
|
|
1272
1343
|
owner_email?: string;
|
|
1273
1344
|
createdAt: string;
|
|
@@ -1286,6 +1357,7 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
1286
1357
|
team: string;
|
|
1287
1358
|
user_id?: string;
|
|
1288
1359
|
collaborators: string[];
|
|
1360
|
+
product_intent?: "deploy" | "auth" | "undecided";
|
|
1289
1361
|
owner_suspended?: boolean;
|
|
1290
1362
|
owner_email?: string;
|
|
1291
1363
|
createdAt: string;
|
|
@@ -1304,6 +1376,7 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
1304
1376
|
team: string;
|
|
1305
1377
|
user_id?: string;
|
|
1306
1378
|
collaborators: string[];
|
|
1379
|
+
product_intent?: "deploy" | "auth" | "undecided";
|
|
1307
1380
|
owner_suspended?: boolean;
|
|
1308
1381
|
owner_email?: string;
|
|
1309
1382
|
createdAt: string;
|
|
@@ -1322,6 +1395,26 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
1322
1395
|
user_id?: string;
|
|
1323
1396
|
}[];
|
|
1324
1397
|
}>;
|
|
1398
|
+
/**
|
|
1399
|
+
* `GET /project/limits` — operationId: `project/limits`
|
|
1400
|
+
*
|
|
1401
|
+
* Project creation limits for the caller
|
|
1402
|
+
*
|
|
1403
|
+
* Whether the caller can create another project, and why not
|
|
1404
|
+
*/
|
|
1405
|
+
projectLimits(): Promise<{
|
|
1406
|
+
can_create: boolean;
|
|
1407
|
+
reason: "free_project_limit" | "new_account_window" | null;
|
|
1408
|
+
message: string | null;
|
|
1409
|
+
free_projects: number | null;
|
|
1410
|
+
max_free_projects: number | null;
|
|
1411
|
+
upgradable_projects: {
|
|
1412
|
+
id: string;
|
|
1413
|
+
name: string;
|
|
1414
|
+
}[];
|
|
1415
|
+
new_account_window_ends_at: string | null;
|
|
1416
|
+
resolved: boolean;
|
|
1417
|
+
}>;
|
|
1325
1418
|
/**
|
|
1326
1419
|
* `GET /project` — operationId: `project/list`
|
|
1327
1420
|
*
|
|
@@ -1336,6 +1429,7 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
1336
1429
|
team: string;
|
|
1337
1430
|
user_id?: string;
|
|
1338
1431
|
collaborators: string[];
|
|
1432
|
+
product_intent?: "deploy" | "auth" | "undecided";
|
|
1339
1433
|
owner_suspended?: boolean;
|
|
1340
1434
|
owner_email?: string;
|
|
1341
1435
|
createdAt: string;
|
|
@@ -1349,6 +1443,7 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
1349
1443
|
team: string;
|
|
1350
1444
|
user_id?: string;
|
|
1351
1445
|
collaborators: string[];
|
|
1446
|
+
product_intent?: "deploy" | "auth" | "undecided";
|
|
1352
1447
|
owner_suspended?: boolean;
|
|
1353
1448
|
owner_email?: string;
|
|
1354
1449
|
createdAt: string;
|
|
@@ -1365,6 +1460,7 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
1365
1460
|
team: string;
|
|
1366
1461
|
user_id?: string;
|
|
1367
1462
|
collaborators: string[];
|
|
1463
|
+
product_intent?: "deploy" | "auth" | "undecided";
|
|
1368
1464
|
owner_suspended?: boolean;
|
|
1369
1465
|
owner_email?: string;
|
|
1370
1466
|
createdAt: string;
|
|
@@ -1384,6 +1480,7 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
1384
1480
|
team: string;
|
|
1385
1481
|
user_id?: string;
|
|
1386
1482
|
collaborators: string[];
|
|
1483
|
+
product_intent?: "deploy" | "auth" | "undecided";
|
|
1387
1484
|
owner_suspended?: boolean;
|
|
1388
1485
|
owner_email?: string;
|
|
1389
1486
|
createdAt: string;
|
|
@@ -1402,6 +1499,7 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
1402
1499
|
team: string;
|
|
1403
1500
|
user_id?: string;
|
|
1404
1501
|
collaborators: string[];
|
|
1502
|
+
product_intent?: "deploy" | "auth" | "undecided";
|
|
1405
1503
|
owner_suspended?: boolean;
|
|
1406
1504
|
owner_email?: string;
|
|
1407
1505
|
createdAt: string;
|
|
@@ -1411,6 +1509,8 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
1411
1509
|
* `POST /secret/createbatch` — operationId: `secrets/create_batch`
|
|
1412
1510
|
*
|
|
1413
1511
|
* Create secrets in batch
|
|
1512
|
+
*
|
|
1513
|
+
* Create a secrets in batch
|
|
1414
1514
|
*/
|
|
1415
1515
|
secretsCreateBatch(data: OpBody<"secrets/create_batch">): Promise<{
|
|
1416
1516
|
id: string;
|
|
@@ -1437,6 +1537,8 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
|
|
|
1437
1537
|
* `GET /secret/{context_id}` — operationId: `secrets/list_app`
|
|
1438
1538
|
*
|
|
1439
1539
|
* List all secrets assigned to an App or Profile contexts
|
|
1540
|
+
*
|
|
1541
|
+
* List all app secrets assigned to an App or Profile contexts
|
|
1440
1542
|
*/
|
|
1441
1543
|
secretsListApp(context_id: string, params?: OpQuery<"secrets/list_app">): Promise<{
|
|
1442
1544
|
next: string | null;
|
|
@@ -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,C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;;;;;;IAIb;;;;OAIG;IACH,WAAW,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA5ftD,CAAA;oBAA0B,CAAC;;;;;;;;;;;;;;;;IAggB1C;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM;;;;;;;;;;;;;;IAMrD;;;;OAIG;IACH,aAAa,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,gBAAgB,CAAC;;;;;;;;;;;;;;IAKxD;;;;;;OAMG;IACH,kBAAkB,CAAC,IAAI,EAAE,MAAM,CAAC,sBAAsB,CAAC;;;;;;;;;;;;;;;IAIvD;;;;OAIG;IACH,aAAa,CAAC,SAAS,EAAE,MAAM;IAK/B;;;;;;OAMG;IACH,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,kBAAkB,CAAC;;iBAgCmloC,0CAAsB;;IA3BhroC;;;;OAIG;IACH,aAAa,CAAC,IAAI,EAAE,MAAM,CAAC,gBAAgB,CAAC;;;;;;;;;;;;;;;IAI5C;;;;OAIG;IACH,YAAY,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAI9C;;;;OAIG;IACH,YAAY;;;;;;;;;;;;;;CAGb"}
|
|
@@ -38,6 +38,8 @@ export class GeneratedFaableDeployApi extends FaableApi {
|
|
|
38
38
|
* `POST /app/{id}/deploy` — operationId: `app/deploy_now`
|
|
39
39
|
*
|
|
40
40
|
* Deploy the latest commit now
|
|
41
|
+
*
|
|
42
|
+
* 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.
|
|
41
43
|
*/
|
|
42
44
|
appDeployNow(id) {
|
|
43
45
|
requireId("id", id);
|
|
@@ -65,6 +67,8 @@ export class GeneratedFaableDeployApi extends FaableApi {
|
|
|
65
67
|
* `POST /app/{id}/link-repository` — operationId: `app/link_repository`
|
|
66
68
|
*
|
|
67
69
|
* Link a GitHub repository to an app
|
|
70
|
+
*
|
|
71
|
+
* Link a GitHub repository to an app after verifying the user has a connected GitHub identity with access to the repository.
|
|
68
72
|
*/
|
|
69
73
|
appLinkRepository(id, data) {
|
|
70
74
|
requireId("id", id);
|
|
@@ -91,6 +95,8 @@ export class GeneratedFaableDeployApi extends FaableApi {
|
|
|
91
95
|
* `GET /app/{id}/repo/branches` — operationId: `app/repo_branches`
|
|
92
96
|
*
|
|
93
97
|
* List repository branches
|
|
98
|
+
*
|
|
99
|
+
* Branch names of the linked repository.
|
|
94
100
|
*/
|
|
95
101
|
appRepoBranches(id) {
|
|
96
102
|
requireId("id", id);
|
|
@@ -100,6 +106,8 @@ export class GeneratedFaableDeployApi extends FaableApi {
|
|
|
100
106
|
* `GET /app/{id}/repo/config` — operationId: `app/repo_config`
|
|
101
107
|
*
|
|
102
108
|
* Get effective repository build config
|
|
109
|
+
*
|
|
110
|
+
* Effective build configuration read from the repository: the monorepo Root Directory and its source (platform override or the repo's faable.json).
|
|
103
111
|
*/
|
|
104
112
|
appRepoConfig(id) {
|
|
105
113
|
requireId("id", id);
|
|
@@ -109,15 +117,29 @@ export class GeneratedFaableDeployApi extends FaableApi {
|
|
|
109
117
|
* `GET /app/{id}/repo/directories` — operationId: `app/repo_directories`
|
|
110
118
|
*
|
|
111
119
|
* List repository directories
|
|
120
|
+
*
|
|
121
|
+
* Directories of the linked repository on the deploy branch, flagged with whether each one holds a buildable manifest. Feeds the Root Directory picker so a monorepo is configured from what the repository actually contains. Limited to three levels deep; dotted directories and node_modules are excluded.
|
|
112
122
|
*/
|
|
113
123
|
appRepoDirectories(id) {
|
|
114
124
|
requireId("id", id);
|
|
115
125
|
return this.fetcher.get(`/app/${id}/repo/directories`);
|
|
116
126
|
}
|
|
127
|
+
/**
|
|
128
|
+
* `GET /app/repo-linkable` — operationId: `app/repo_linkable`
|
|
129
|
+
*
|
|
130
|
+
* Check whether a repository can be linked to a new app
|
|
131
|
+
*
|
|
132
|
+
* Runs the free-plan "one repository, one app" guard before the app exists. Always 200: `linkable:false` names the app that already has the repository (and its project when it is another one of yours), with the same message the link would refuse with.
|
|
133
|
+
*/
|
|
134
|
+
appRepoLinkable(params) {
|
|
135
|
+
return this.fetcher.request({ method: "GET", url: `/app/repo-linkable`, params });
|
|
136
|
+
}
|
|
117
137
|
/**
|
|
118
138
|
* `GET /app/{id}/repo/workflows` — operationId: `app/repo_workflows`
|
|
119
139
|
*
|
|
120
140
|
* List repository workflow files
|
|
141
|
+
*
|
|
142
|
+
* GitHub Actions workflow files present on the linked repository (deploy branch).
|
|
121
143
|
*/
|
|
122
144
|
appRepoWorkflows(id) {
|
|
123
145
|
requireId("id", id);
|
|
@@ -127,6 +149,8 @@ export class GeneratedFaableDeployApi extends FaableApi {
|
|
|
127
149
|
* `POST /app/{id}/deploy-branch` — operationId: `app/set_deploy_branch`
|
|
128
150
|
*
|
|
129
151
|
* Change the deploy branch
|
|
152
|
+
*
|
|
153
|
+
* 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.
|
|
130
154
|
*/
|
|
131
155
|
appSetDeployBranch(id, data) {
|
|
132
156
|
requireId("id", id);
|
|
@@ -136,6 +160,8 @@ export class GeneratedFaableDeployApi extends FaableApi {
|
|
|
136
160
|
* `POST /app/{id}/deploy-mode` — operationId: `app/set_deploy_mode`
|
|
137
161
|
*
|
|
138
162
|
* Set the deploy mode
|
|
163
|
+
*
|
|
164
|
+
* Choose how pushes deploy: 'push' = every push deploys directly; 'ci' = deploy once the commit's CI checks pass. Both are platform-managed (webhook) triggers.
|
|
139
165
|
*/
|
|
140
166
|
appSetDeployMode(id, data) {
|
|
141
167
|
requireId("id", id);
|
|
@@ -145,6 +171,8 @@ export class GeneratedFaableDeployApi extends FaableApi {
|
|
|
145
171
|
* `POST /app/{id}/root-dir` — operationId: `app/set_root_dir`
|
|
146
172
|
*
|
|
147
173
|
* Set the Root Directory
|
|
174
|
+
*
|
|
175
|
+
* Set the platform Root Directory: the subdirectory of the repository the build runs from. Takes precedence over the repo's faable.json `rootDir`; `null` clears it and hands precedence back. The path must exist on the deploy branch.
|
|
148
176
|
*/
|
|
149
177
|
appSetRootDir(id, data) {
|
|
150
178
|
requireId("id", id);
|
|
@@ -172,6 +200,8 @@ export class GeneratedFaableDeployApi extends FaableApi {
|
|
|
172
200
|
* `POST /app/{id}/unlink-repository` — operationId: `app/unlink_repository`
|
|
173
201
|
*
|
|
174
202
|
* Unlink the GitHub repository from an app
|
|
203
|
+
*
|
|
204
|
+
* Unlink the GitHub repository from an app.
|
|
175
205
|
*/
|
|
176
206
|
appUnlinkRepository(id) {
|
|
177
207
|
requireId("id", id);
|
|
@@ -190,6 +220,8 @@ export class GeneratedFaableDeployApi extends FaableApi {
|
|
|
190
220
|
* `GET /app/{app_id}/waf` — operationId: `app/waf`
|
|
191
221
|
*
|
|
192
222
|
* Get App WAF
|
|
223
|
+
*
|
|
224
|
+
* Get the WAF rules in effect for an App
|
|
193
225
|
*/
|
|
194
226
|
appWaf(app_id) {
|
|
195
227
|
requireId("app_id", app_id);
|
|
@@ -199,6 +231,8 @@ export class GeneratedFaableDeployApi extends FaableApi {
|
|
|
199
231
|
* `POST /app/{app_id}/waf/rules` — operationId: `app/waf/addRule`
|
|
200
232
|
*
|
|
201
233
|
* Add App WAF Rule
|
|
234
|
+
*
|
|
235
|
+
* Add a WAF rule to an App
|
|
202
236
|
*/
|
|
203
237
|
appWafAddRule(app_id, data) {
|
|
204
238
|
requireId("app_id", app_id);
|
|
@@ -208,6 +242,8 @@ export class GeneratedFaableDeployApi extends FaableApi {
|
|
|
208
242
|
* `DELETE /app/{app_id}/waf/rules` — operationId: `app/waf/removeRule`
|
|
209
243
|
*
|
|
210
244
|
* Remove App WAF Rule
|
|
245
|
+
*
|
|
246
|
+
* Remove a WAF rule from an App
|
|
211
247
|
*/
|
|
212
248
|
appWafRemoveRule(app_id, data) {
|
|
213
249
|
requireId("app_id", app_id);
|
|
@@ -217,6 +253,8 @@ export class GeneratedFaableDeployApi extends FaableApi {
|
|
|
217
253
|
* `GET /deploy-quota` — operationId: `deploy_quota/get`
|
|
218
254
|
*
|
|
219
255
|
* Get the team's daily deploy quota status
|
|
256
|
+
*
|
|
257
|
+
* Daily deploy allowance of the current team: how much was used today, when it resets, and how many builds are held waiting for it.
|
|
220
258
|
*/
|
|
221
259
|
deployQuotaGet() {
|
|
222
260
|
return this.fetcher.get(`/deploy-quota`);
|
|
@@ -225,6 +263,8 @@ export class GeneratedFaableDeployApi extends FaableApi {
|
|
|
225
263
|
* `POST /deploy-quota/release` — operationId: `deploy_quota/release`
|
|
226
264
|
*
|
|
227
265
|
* Roll out the builds held by the daily deploy quota
|
|
266
|
+
*
|
|
267
|
+
* 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.
|
|
228
268
|
*/
|
|
229
269
|
deployQuotaRelease() {
|
|
230
270
|
return this.fetcher.post(`/deploy-quota/release`, {});
|
|
@@ -233,6 +273,8 @@ export class GeneratedFaableDeployApi extends FaableApi {
|
|
|
233
273
|
* `POST /deployment/{deployment_id}/cancel` — operationId: `deployment/cancel`
|
|
234
274
|
*
|
|
235
275
|
* Cancel a queued or building deployment
|
|
276
|
+
*
|
|
277
|
+
* Cancel a deployment that has not been handed over to the controller yet (QUEUED or BUILDING)
|
|
236
278
|
*/
|
|
237
279
|
deploymentCancel(deployment_id) {
|
|
238
280
|
requireId("deployment_id", deployment_id);
|
|
@@ -268,6 +310,8 @@ export class GeneratedFaableDeployApi extends FaableApi {
|
|
|
268
310
|
* `GET /deployment/{deployment_id}/logs` — operationId: `deployment/get_logs`
|
|
269
311
|
*
|
|
270
312
|
* Get deployment build logs
|
|
313
|
+
*
|
|
314
|
+
* Get the CLI build/deploy output attached to a deployment
|
|
271
315
|
*/
|
|
272
316
|
deploymentGetLogs(deployment_id) {
|
|
273
317
|
requireId("deployment_id", deployment_id);
|
|
@@ -377,6 +421,16 @@ export class GeneratedFaableDeployApi extends FaableApi {
|
|
|
377
421
|
requireId("id", id);
|
|
378
422
|
return this.fetcher.post(`/project/${id}/invite`, data);
|
|
379
423
|
}
|
|
424
|
+
/**
|
|
425
|
+
* `GET /project/limits` — operationId: `project/limits`
|
|
426
|
+
*
|
|
427
|
+
* Project creation limits for the caller
|
|
428
|
+
*
|
|
429
|
+
* Whether the caller can create another project, and why not
|
|
430
|
+
*/
|
|
431
|
+
projectLimits() {
|
|
432
|
+
return this.fetcher.get(`/project/limits`);
|
|
433
|
+
}
|
|
380
434
|
/**
|
|
381
435
|
* `GET /project` — operationId: `project/list`
|
|
382
436
|
*
|
|
@@ -408,6 +462,8 @@ export class GeneratedFaableDeployApi extends FaableApi {
|
|
|
408
462
|
* `POST /secret/createbatch` — operationId: `secrets/create_batch`
|
|
409
463
|
*
|
|
410
464
|
* Create secrets in batch
|
|
465
|
+
*
|
|
466
|
+
* Create a secrets in batch
|
|
411
467
|
*/
|
|
412
468
|
secretsCreateBatch(data) {
|
|
413
469
|
return this.fetcher.post(`/secret/createbatch`, data);
|
|
@@ -425,6 +481,8 @@ export class GeneratedFaableDeployApi extends FaableApi {
|
|
|
425
481
|
* `GET /secret/{context_id}` — operationId: `secrets/list_app`
|
|
426
482
|
*
|
|
427
483
|
* List all secrets assigned to an App or Profile contexts
|
|
484
|
+
*
|
|
485
|
+
* List all app secrets assigned to an App or Profile contexts
|
|
428
486
|
*/
|
|
429
487
|
secretsListApp(context_id, params) {
|
|
430
488
|
requireId("context_id", context_id);
|