@faable/deploy-sdk 2.4.0 → 2.6.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.
@@ -376,11 +376,7 @@ export interface paths {
376
376
  */
377
377
  get: operations["deployment/get_logs"];
378
378
  put?: never;
379
- /**
380
- * Upload deployment build logs
381
- * @description Attach the CLI build/deploy output to a deployment
382
- */
383
- post: operations["deployment/upload_logs"];
379
+ post?: never;
384
380
  delete?: never;
385
381
  options?: never;
386
382
  head?: never;
@@ -539,174 +535,6 @@ export interface paths {
539
535
  patch?: never;
540
536
  trace?: never;
541
537
  };
542
- "/contact": {
543
- parameters: {
544
- query?: never;
545
- header?: never;
546
- path?: never;
547
- cookie?: never;
548
- };
549
- /**
550
- * List Contacts
551
- * @description List Contacts
552
- */
553
- get: operations["contact/list"];
554
- put?: never;
555
- /**
556
- * Create Contact
557
- * @description Create Contact
558
- */
559
- post: operations["contact/create"];
560
- delete?: never;
561
- options?: never;
562
- head?: never;
563
- patch?: never;
564
- trace?: never;
565
- };
566
- "/contact/{id}": {
567
- parameters: {
568
- query?: never;
569
- header?: never;
570
- path?: never;
571
- cookie?: never;
572
- };
573
- /**
574
- * Get Contact
575
- * @description Get Contact
576
- */
577
- get: operations["contact/get"];
578
- put?: never;
579
- /**
580
- * Update Contact
581
- * @description Update Contact
582
- */
583
- post: operations["contact/update"];
584
- /**
585
- * Delete Contact
586
- * @description Delete Contact
587
- */
588
- delete: operations["contact/delete"];
589
- options?: never;
590
- head?: never;
591
- patch?: never;
592
- trace?: never;
593
- };
594
- "/apikey": {
595
- parameters: {
596
- query?: never;
597
- header?: never;
598
- path?: never;
599
- cookie?: never;
600
- };
601
- /**
602
- * List Apikeys
603
- * @description List Apikeys
604
- */
605
- get: operations["apikey/list"];
606
- put?: never;
607
- /**
608
- * Create Apikey
609
- * @description Create Apikey
610
- */
611
- post: operations["apikey/create"];
612
- delete?: never;
613
- options?: never;
614
- head?: never;
615
- patch?: never;
616
- trace?: never;
617
- };
618
- "/apikey/{id}": {
619
- parameters: {
620
- query?: never;
621
- header?: never;
622
- path?: never;
623
- cookie?: never;
624
- };
625
- /**
626
- * Get Apikey
627
- * @description Get Apikey
628
- */
629
- get: operations["apikey/get"];
630
- put?: never;
631
- /**
632
- * Update Apikey
633
- * @description Update Apikey
634
- */
635
- post: operations["apikey/update"];
636
- /**
637
- * Delete Apikey
638
- * @description Delete Apikey
639
- */
640
- delete: operations["apikey/delete"];
641
- options?: never;
642
- head?: never;
643
- patch?: never;
644
- trace?: never;
645
- };
646
- "/project-favorites": {
647
- parameters: {
648
- query?: never;
649
- header?: never;
650
- path?: never;
651
- cookie?: never;
652
- };
653
- /**
654
- * Get favorite and recent projects
655
- * @description Get the current user's favorite and recent projects
656
- */
657
- get: operations["project_favorites/get"];
658
- /**
659
- * Set favorite and recent projects
660
- * @description Replace the current user's favorite and recent projects with the provided lists
661
- */
662
- put: operations["project_favorites/set"];
663
- post?: never;
664
- delete?: never;
665
- options?: never;
666
- head?: never;
667
- patch?: never;
668
- trace?: never;
669
- };
670
- "/status/{related_id}": {
671
- parameters: {
672
- query?: never;
673
- header?: never;
674
- path?: never;
675
- cookie?: never;
676
- };
677
- get?: never;
678
- put?: never;
679
- /**
680
- * Update status resource
681
- * @description Update status resource
682
- */
683
- post: operations["status/update"];
684
- delete?: never;
685
- options?: never;
686
- head?: never;
687
- patch?: never;
688
- trace?: never;
689
- };
690
- "/github/setup": {
691
- parameters: {
692
- query?: never;
693
- header?: never;
694
- path?: never;
695
- cookie?: never;
696
- };
697
- /**
698
- * Handle GitHub App setup and redirect to Faable Auth
699
- * @description Handle GitHub App setup and redirect to Faable Auth
700
- */
701
- get: operations["github/setup"];
702
- put?: never;
703
- post?: never;
704
- delete?: never;
705
- options?: never;
706
- head?: never;
707
- patch?: never;
708
- trace?: never;
709
- };
710
538
  "/auth/github-oidc": {
711
539
  parameters: {
712
540
  query?: never;
@@ -727,66 +555,6 @@ export interface paths {
727
555
  patch?: never;
728
556
  trace?: never;
729
557
  };
730
- "/github/installations": {
731
- parameters: {
732
- query?: never;
733
- header?: never;
734
- path?: never;
735
- cookie?: never;
736
- };
737
- /**
738
- * List GitHub installations (organizations)
739
- * @description List the GitHub organizations/accounts where the Faable GitHub App is installed for the authenticated user.
740
- */
741
- get: operations["github/installations"];
742
- put?: never;
743
- post?: never;
744
- delete?: never;
745
- options?: never;
746
- head?: never;
747
- patch?: never;
748
- trace?: never;
749
- };
750
- "/github/installations/{installation_id}/repositories": {
751
- parameters: {
752
- query?: never;
753
- header?: never;
754
- path?: never;
755
- cookie?: never;
756
- };
757
- /**
758
- * List repositories for an installation
759
- * @description List the top repositories for a GitHub installation (organization), optionally filtered by a search term.
760
- */
761
- get: operations["github/installation_repositories"];
762
- put?: never;
763
- post?: never;
764
- delete?: never;
765
- options?: never;
766
- head?: never;
767
- patch?: never;
768
- trace?: never;
769
- };
770
- "/github/webhook": {
771
- parameters: {
772
- query?: never;
773
- header?: never;
774
- path?: never;
775
- cookie?: never;
776
- };
777
- get?: never;
778
- put?: never;
779
- /**
780
- * Handle GitHub webhooks for push and installation events
781
- * @description Handle GitHub webhooks for push and installation events
782
- */
783
- post: operations["github/webhook"];
784
- delete?: never;
785
- options?: never;
786
- head?: never;
787
- patch?: never;
788
- trace?: never;
789
- };
790
558
  "/usage/summary": {
791
559
  parameters: {
792
560
  query?: never;
@@ -853,7 +621,6 @@ export interface components {
853
621
  ProjectCreate: {
854
622
  name: string;
855
623
  description?: string;
856
- slug?: string;
857
624
  collaborators?: string[];
858
625
  };
859
626
  ProjectUpdate: {
@@ -930,6 +697,16 @@ export interface components {
930
697
  * @enum {unknown}
931
698
  */
932
699
  AppMode: "standard" | "coexistence";
700
+ /**
701
+ * @default local
702
+ * @enum {unknown}
703
+ */
704
+ AppBuildMode: "local" | "remote";
705
+ /**
706
+ * @default image
707
+ * @enum {unknown}
708
+ */
709
+ AppDeployOutput: "image" | "artifact";
933
710
  /**
934
711
  * @default cookie
935
712
  * @enum {unknown}
@@ -950,6 +727,9 @@ export interface components {
950
727
  runtime: components["schemas"]["AppRuntime"];
951
728
  runtime_strategy: string | null;
952
729
  mode: components["schemas"]["AppMode"];
730
+ build_mode: components["schemas"]["AppBuildMode"];
731
+ deploy_output: components["schemas"]["AppDeployOutput"];
732
+ root_dir?: string | null;
953
733
  coexistence_routing?: ("cookie" | "path") | null;
954
734
  coexistence_keep_versions?: number | null;
955
735
  coexistence_drain_hours?: number | null;
@@ -1036,6 +816,37 @@ export interface components {
1036
816
  controlled_by?: string;
1037
817
  /** @description Why the deployment failed (shown to the user on ERROR) */
1038
818
  reason?: string;
819
+ /** @description Digest-pinned runtime image stamped at first materialization (artifact deploys) */
820
+ runtime_image?: string;
821
+ };
822
+ DeploymentSource: {
823
+ manifest: {
824
+ path: string;
825
+ sha: string;
826
+ size: number;
827
+ mode?: number;
828
+ }[];
829
+ plan?: {
830
+ [key: string]: unknown;
831
+ };
832
+ };
833
+ DeploymentArtifact: {
834
+ key?: string;
835
+ sha256: string;
836
+ size: number;
837
+ /** @enum {string} */
838
+ format: "tar.zst";
839
+ runtime: {
840
+ /** @enum {unknown} */
841
+ name: "node" | "python" | "static";
842
+ version?: string | null;
843
+ };
844
+ /** @enum {unknown} */
845
+ profile: "node-full" | "next-standalone" | "static" | "python-venv";
846
+ start_command?: string | null;
847
+ static?: {
848
+ spa: boolean;
849
+ };
1039
850
  };
1040
851
  /** @description Deployment */
1041
852
  Deployment: {
@@ -1048,6 +859,8 @@ export interface components {
1048
859
  github_ref?: string;
1049
860
  github_actor?: string;
1050
861
  github_commit_message?: string;
862
+ source?: components["schemas"]["DeploymentSource"];
863
+ artifact?: components["schemas"]["DeploymentArtifact"];
1051
864
  status: components["schemas"]["DeploymentStatus"];
1052
865
  /** @default {} */
1053
866
  metadata: {
@@ -1090,9 +903,11 @@ export interface components {
1090
903
  github_actor?: string;
1091
904
  github_commit_message?: string;
1092
905
  type?: string;
906
+ source?: components["schemas"]["DeploymentSource"];
1093
907
  };
1094
908
  DeploymentUpdate: {
1095
- image: string;
909
+ image?: string;
910
+ artifact?: components["schemas"]["DeploymentArtifact"];
1096
911
  };
1097
912
  DomainStatus: {
1098
913
  /**
@@ -1360,22 +1175,6 @@ export interface components {
1360
1175
  ApiKeyUpdate: {
1361
1176
  description?: string;
1362
1177
  };
1363
- /** @description ProjectFavorites */
1364
- ProjectFavorites: {
1365
- /** @description ProjectFavorites ID */
1366
- id: string;
1367
- user_id: string;
1368
- favorites: string[];
1369
- recents: string[];
1370
- /** @default {} */
1371
- metadata: {
1372
- [key: string]: unknown;
1373
- };
1374
- /** @description ProjectFavorites creation date */
1375
- createdAt: string;
1376
- /** @description ProjectFavorites updated date */
1377
- updatedAt?: string;
1378
- };
1379
1178
  AppChecknameResponse: {
1380
1179
  name: string;
1381
1180
  slug: string;
@@ -1384,10 +1183,6 @@ export interface components {
1384
1183
  availiable: boolean;
1385
1184
  error?: string;
1386
1185
  };
1387
- /** @description Update Status */
1388
- StatusUpdate: {
1389
- [key: string]: unknown;
1390
- };
1391
1186
  /** @description Event App Status */
1392
1187
  EventAppStatus: {
1393
1188
  /** @enum {string} */
@@ -1421,33 +1216,6 @@ export interface components {
1421
1216
  status: components["schemas"]["DomainStatus"];
1422
1217
  };
1423
1218
  };
1424
- GithubRepo: {
1425
- id: number;
1426
- /** @description owner/repo */
1427
- full_name: string;
1428
- private: boolean;
1429
- default_branch: string;
1430
- /** @description Id of the Faable GitHub App installation that grants access */
1431
- installation_id: number;
1432
- /** @description Repository description from GitHub */
1433
- description?: string;
1434
- permissions?: {
1435
- admin: boolean;
1436
- push: boolean;
1437
- pull: boolean;
1438
- };
1439
- };
1440
- GithubInstallation: {
1441
- installation_id: number;
1442
- /** @description Org or user that owns the installation */
1443
- account_login: string;
1444
- /** @description Organization | User */
1445
- account_type: string;
1446
- /** @description Avatar of the org/user that owns the install */
1447
- account_avatar_url?: string;
1448
- /** @description GitHub App slug — used to build the install/configure URL */
1449
- app_slug: string;
1450
- };
1451
1219
  };
1452
1220
  responses: never;
1453
1221
  parameters: never;
@@ -1532,7 +1300,6 @@ export interface operations {
1532
1300
  "application/json": {
1533
1301
  name: string;
1534
1302
  description?: string;
1535
- slug?: string;
1536
1303
  collaborators?: string[];
1537
1304
  };
1538
1305
  };
@@ -1746,6 +1513,9 @@ export interface operations {
1746
1513
  runtime: components["schemas"]["AppRuntime"];
1747
1514
  runtime_strategy: string | null;
1748
1515
  mode: components["schemas"]["AppMode"];
1516
+ build_mode: components["schemas"]["AppBuildMode"];
1517
+ deploy_output: components["schemas"]["AppDeployOutput"];
1518
+ root_dir?: string | null;
1749
1519
  coexistence_routing?: ("cookie" | "path") | null;
1750
1520
  coexistence_keep_versions?: number | null;
1751
1521
  coexistence_drain_hours?: number | null;
@@ -1808,6 +1578,9 @@ export interface operations {
1808
1578
  runtime: components["schemas"]["AppRuntime"];
1809
1579
  runtime_strategy: string | null;
1810
1580
  mode: components["schemas"]["AppMode"];
1581
+ build_mode: components["schemas"]["AppBuildMode"];
1582
+ deploy_output: components["schemas"]["AppDeployOutput"];
1583
+ root_dir?: string | null;
1811
1584
  coexistence_routing?: ("cookie" | "path") | null;
1812
1585
  coexistence_keep_versions?: number | null;
1813
1586
  coexistence_drain_hours?: number | null;
@@ -1877,6 +1650,9 @@ export interface operations {
1877
1650
  runtime: components["schemas"]["AppRuntime"];
1878
1651
  runtime_strategy: string | null;
1879
1652
  mode: components["schemas"]["AppMode"];
1653
+ build_mode: components["schemas"]["AppBuildMode"];
1654
+ deploy_output: components["schemas"]["AppDeployOutput"];
1655
+ root_dir?: string | null;
1880
1656
  coexistence_routing?: ("cookie" | "path") | null;
1881
1657
  coexistence_keep_versions?: number | null;
1882
1658
  coexistence_drain_hours?: number | null;
@@ -1936,6 +1712,9 @@ export interface operations {
1936
1712
  runtime: components["schemas"]["AppRuntime"];
1937
1713
  runtime_strategy: string | null;
1938
1714
  mode: components["schemas"]["AppMode"];
1715
+ build_mode: components["schemas"]["AppBuildMode"];
1716
+ deploy_output: components["schemas"]["AppDeployOutput"];
1717
+ root_dir?: string | null;
1939
1718
  coexistence_routing?: ("cookie" | "path") | null;
1940
1719
  coexistence_keep_versions?: number | null;
1941
1720
  coexistence_drain_hours?: number | null;
@@ -2331,6 +2110,7 @@ export interface operations {
2331
2110
  github_actor?: string;
2332
2111
  github_commit_message?: string;
2333
2112
  type?: string;
2113
+ source?: components["schemas"]["DeploymentSource"];
2334
2114
  };
2335
2115
  };
2336
2116
  };
@@ -2351,6 +2131,8 @@ export interface operations {
2351
2131
  github_ref?: string;
2352
2132
  github_actor?: string;
2353
2133
  github_commit_message?: string;
2134
+ source?: components["schemas"]["DeploymentSource"];
2135
+ artifact?: components["schemas"]["DeploymentArtifact"];
2354
2136
  status: components["schemas"]["DeploymentStatus"];
2355
2137
  /** @default {} */
2356
2138
  metadata: {
@@ -2392,6 +2174,8 @@ export interface operations {
2392
2174
  github_ref?: string;
2393
2175
  github_actor?: string;
2394
2176
  github_commit_message?: string;
2177
+ source?: components["schemas"]["DeploymentSource"];
2178
+ artifact?: components["schemas"]["DeploymentArtifact"];
2395
2179
  status: components["schemas"]["DeploymentStatus"];
2396
2180
  /** @default {} */
2397
2181
  metadata: {
@@ -2418,7 +2202,8 @@ export interface operations {
2418
2202
  requestBody: {
2419
2203
  content: {
2420
2204
  "application/json": {
2421
- image: string;
2205
+ image?: string;
2206
+ artifact?: components["schemas"]["DeploymentArtifact"];
2422
2207
  };
2423
2208
  };
2424
2209
  };
@@ -2439,6 +2224,8 @@ export interface operations {
2439
2224
  github_ref?: string;
2440
2225
  github_actor?: string;
2441
2226
  github_commit_message?: string;
2227
+ source?: components["schemas"]["DeploymentSource"];
2228
+ artifact?: components["schemas"]["DeploymentArtifact"];
2442
2229
  status: components["schemas"]["DeploymentStatus"];
2443
2230
  /** @default {} */
2444
2231
  metadata: {
@@ -2480,6 +2267,8 @@ export interface operations {
2480
2267
  github_ref?: string;
2481
2268
  github_actor?: string;
2482
2269
  github_commit_message?: string;
2270
+ source?: components["schemas"]["DeploymentSource"];
2271
+ artifact?: components["schemas"]["DeploymentArtifact"];
2483
2272
  status: components["schemas"]["DeploymentStatus"];
2484
2273
  /** @default {} */
2485
2274
  metadata: {
@@ -2516,9 +2305,12 @@ export interface operations {
2516
2305
  deployment_id: string;
2517
2306
  app_id: string;
2518
2307
  team: string;
2519
- content: string;
2520
- truncated: boolean;
2521
- size: number;
2308
+ content?: string;
2309
+ truncated?: boolean;
2310
+ size?: number;
2311
+ runtime_content?: string;
2312
+ runtime_truncated?: boolean;
2313
+ runtime_size?: number;
2522
2314
  createdAt?: string;
2523
2315
  updatedAt?: string;
2524
2316
  };
@@ -2526,41 +2318,6 @@ export interface operations {
2526
2318
  };
2527
2319
  };
2528
2320
  };
2529
- "deployment/upload_logs": {
2530
- parameters: {
2531
- query?: never;
2532
- header?: never;
2533
- path: {
2534
- deployment_id: string;
2535
- };
2536
- cookie?: never;
2537
- };
2538
- requestBody: {
2539
- content: {
2540
- "application/json": {
2541
- content: string;
2542
- /** @default false */
2543
- truncated?: boolean;
2544
- };
2545
- };
2546
- };
2547
- responses: {
2548
- /** @description Default Response */
2549
- 201: {
2550
- headers: {
2551
- [name: string]: unknown;
2552
- };
2553
- content: {
2554
- "application/json": {
2555
- id: string;
2556
- deployment_id: string;
2557
- truncated: boolean;
2558
- size: number;
2559
- };
2560
- };
2561
- };
2562
- };
2563
- };
2564
2321
  "domain/list": {
2565
2322
  parameters: {
2566
2323
  query?: {
@@ -2939,577 +2696,22 @@ export interface operations {
2939
2696
  };
2940
2697
  };
2941
2698
  };
2942
- "contact/list": {
2699
+ "auth/github_oidc": {
2943
2700
  parameters: {
2944
- query?: {
2945
- /** @description Number of items per page (max 200) */
2946
- pageSize?: number;
2947
- /** @description Cursor for next page */
2948
- cursor?: string;
2949
- /** @description Cursor returned by the previous page */
2950
- next?: string;
2951
- /** @description Filter using a FaableQL query */
2952
- query?: string;
2953
- };
2701
+ query?: never;
2954
2702
  header?: never;
2955
2703
  path?: never;
2956
2704
  cookie?: never;
2957
2705
  };
2958
- requestBody?: never;
2959
- responses: {
2960
- /** @description Default Response */
2961
- 200: {
2962
- headers: {
2963
- [name: string]: unknown;
2964
- };
2965
- content: {
2966
- "application/json": {
2967
- next: string | null;
2968
- results: components["schemas"]["Contact"][];
2969
- };
2970
- };
2971
- };
2972
- };
2973
- };
2974
- "contact/create": {
2975
- parameters: {
2976
- query?: never;
2977
- header?: never;
2978
- path?: never;
2979
- cookie?: never;
2980
- };
2981
- requestBody: {
2982
- content: {
2983
- "application/json": {
2984
- /** @enum {unknown} */
2985
- contact_type: "primary" | "technical" | "security" | "emergency" | "billing";
2986
- email?: string;
2987
- phone?: string;
2988
- };
2989
- };
2990
- };
2991
- responses: {
2992
- /** @description Contact */
2993
- 201: {
2994
- headers: {
2995
- [name: string]: unknown;
2996
- };
2997
- content: {
2998
- "application/json": {
2999
- /** @description Contact ID */
3000
- id: string;
3001
- team: string;
3002
- /** @enum {unknown} */
3003
- contact_type: "primary" | "technical" | "security" | "emergency" | "billing";
3004
- email?: string;
3005
- phone?: string;
3006
- /** @default {} */
3007
- metadata: {
3008
- [key: string]: unknown;
3009
- };
3010
- /** @description Contact creation date */
3011
- createdAt: string;
3012
- /** @description Contact updated date */
3013
- updatedAt?: string;
3014
- };
3015
- };
3016
- };
3017
- };
3018
- };
3019
- "contact/get": {
3020
- parameters: {
3021
- query?: never;
3022
- header?: never;
3023
- path: {
3024
- id: string;
3025
- };
3026
- cookie?: never;
3027
- };
3028
- requestBody?: never;
3029
- responses: {
3030
- /** @description Contact */
3031
- 200: {
3032
- headers: {
3033
- [name: string]: unknown;
3034
- };
3035
- content: {
3036
- "application/json": {
3037
- /** @description Contact ID */
3038
- id: string;
3039
- team: string;
3040
- /** @enum {unknown} */
3041
- contact_type: "primary" | "technical" | "security" | "emergency" | "billing";
3042
- email?: string;
3043
- phone?: string;
3044
- /** @default {} */
3045
- metadata: {
3046
- [key: string]: unknown;
3047
- };
3048
- /** @description Contact creation date */
3049
- createdAt: string;
3050
- /** @description Contact updated date */
3051
- updatedAt?: string;
3052
- };
3053
- };
3054
- };
3055
- };
3056
- };
3057
- "contact/update": {
3058
- parameters: {
3059
- query?: never;
3060
- header?: never;
3061
- path: {
3062
- id: string;
3063
- };
3064
- cookie?: never;
3065
- };
3066
- requestBody: {
3067
- content: {
3068
- "application/json": {
3069
- /** @enum {unknown} */
3070
- contact_type?: "primary" | "technical" | "security" | "emergency" | "billing";
3071
- email?: string;
3072
- phone?: string;
2706
+ requestBody: {
2707
+ content: {
2708
+ "application/json": {
2709
+ token: string;
2710
+ /** @description Explicitly select wich app to deploy when multiple apps are linked to the same github repository */
2711
+ app_id?: string;
3073
2712
  };
3074
2713
  };
3075
2714
  };
3076
- responses: {
3077
- /** @description Contact */
3078
- 200: {
3079
- headers: {
3080
- [name: string]: unknown;
3081
- };
3082
- content: {
3083
- "application/json": {
3084
- /** @description Contact ID */
3085
- id: string;
3086
- team: string;
3087
- /** @enum {unknown} */
3088
- contact_type: "primary" | "technical" | "security" | "emergency" | "billing";
3089
- email?: string;
3090
- phone?: string;
3091
- /** @default {} */
3092
- metadata: {
3093
- [key: string]: unknown;
3094
- };
3095
- /** @description Contact creation date */
3096
- createdAt: string;
3097
- /** @description Contact updated date */
3098
- updatedAt?: string;
3099
- };
3100
- };
3101
- };
3102
- };
3103
- };
3104
- "contact/delete": {
3105
- parameters: {
3106
- query?: never;
3107
- header?: never;
3108
- path: {
3109
- id: string;
3110
- };
3111
- cookie?: never;
3112
- };
3113
- requestBody?: never;
3114
- responses: {
3115
- /** @description Contact */
3116
- 200: {
3117
- headers: {
3118
- [name: string]: unknown;
3119
- };
3120
- content: {
3121
- "application/json": {
3122
- /** @description Contact ID */
3123
- id: string;
3124
- team: string;
3125
- /** @enum {unknown} */
3126
- contact_type: "primary" | "technical" | "security" | "emergency" | "billing";
3127
- email?: string;
3128
- phone?: string;
3129
- /** @default {} */
3130
- metadata: {
3131
- [key: string]: unknown;
3132
- };
3133
- /** @description Contact creation date */
3134
- createdAt: string;
3135
- /** @description Contact updated date */
3136
- updatedAt?: string;
3137
- };
3138
- };
3139
- };
3140
- };
3141
- };
3142
- "apikey/list": {
3143
- parameters: {
3144
- query?: {
3145
- /** @description Number of items per page (max 200) */
3146
- pageSize?: number;
3147
- /** @description Cursor for next page */
3148
- cursor?: string;
3149
- /** @description Cursor returned by the previous page */
3150
- next?: string;
3151
- /** @description Filter using a FaableQL query */
3152
- query?: string;
3153
- };
3154
- header?: never;
3155
- path?: never;
3156
- cookie?: never;
3157
- };
3158
- requestBody?: never;
3159
- responses: {
3160
- /** @description Default Response */
3161
- 200: {
3162
- headers: {
3163
- [name: string]: unknown;
3164
- };
3165
- content: {
3166
- "application/json": {
3167
- next: string | null;
3168
- results: components["schemas"]["ApiKey"][];
3169
- };
3170
- };
3171
- };
3172
- };
3173
- };
3174
- "apikey/create": {
3175
- parameters: {
3176
- query?: never;
3177
- header?: never;
3178
- path?: never;
3179
- cookie?: never;
3180
- };
3181
- requestBody: {
3182
- content: {
3183
- "application/json": {
3184
- description?: string;
3185
- };
3186
- };
3187
- };
3188
- responses: {
3189
- /** @description ApiKey */
3190
- 201: {
3191
- headers: {
3192
- [name: string]: unknown;
3193
- };
3194
- content: {
3195
- "application/json": {
3196
- /** @description ApiKey ID */
3197
- id: string;
3198
- team: string;
3199
- apikey: string;
3200
- user_id: string;
3201
- description?: string;
3202
- scopes?: string[];
3203
- /** @default {} */
3204
- metadata: {
3205
- [key: string]: unknown;
3206
- };
3207
- /** @description ApiKey creation date */
3208
- createdAt: string;
3209
- /** @description ApiKey updated date */
3210
- updatedAt?: string;
3211
- };
3212
- };
3213
- };
3214
- };
3215
- };
3216
- "apikey/get": {
3217
- parameters: {
3218
- query?: never;
3219
- header?: never;
3220
- path: {
3221
- id: string;
3222
- };
3223
- cookie?: never;
3224
- };
3225
- requestBody?: never;
3226
- responses: {
3227
- /** @description ApiKey */
3228
- 200: {
3229
- headers: {
3230
- [name: string]: unknown;
3231
- };
3232
- content: {
3233
- "application/json": {
3234
- /** @description ApiKey ID */
3235
- id: string;
3236
- team: string;
3237
- apikey: string;
3238
- user_id: string;
3239
- description?: string;
3240
- scopes?: string[];
3241
- /** @default {} */
3242
- metadata: {
3243
- [key: string]: unknown;
3244
- };
3245
- /** @description ApiKey creation date */
3246
- createdAt: string;
3247
- /** @description ApiKey updated date */
3248
- updatedAt?: string;
3249
- };
3250
- };
3251
- };
3252
- };
3253
- };
3254
- "apikey/update": {
3255
- parameters: {
3256
- query?: never;
3257
- header?: never;
3258
- path: {
3259
- id: string;
3260
- };
3261
- cookie?: never;
3262
- };
3263
- requestBody: {
3264
- content: {
3265
- "application/json": {
3266
- description?: string;
3267
- };
3268
- };
3269
- };
3270
- responses: {
3271
- /** @description ApiKey */
3272
- 200: {
3273
- headers: {
3274
- [name: string]: unknown;
3275
- };
3276
- content: {
3277
- "application/json": {
3278
- /** @description ApiKey ID */
3279
- id: string;
3280
- team: string;
3281
- apikey: string;
3282
- user_id: string;
3283
- description?: string;
3284
- scopes?: string[];
3285
- /** @default {} */
3286
- metadata: {
3287
- [key: string]: unknown;
3288
- };
3289
- /** @description ApiKey creation date */
3290
- createdAt: string;
3291
- /** @description ApiKey updated date */
3292
- updatedAt?: string;
3293
- };
3294
- };
3295
- };
3296
- };
3297
- };
3298
- "apikey/delete": {
3299
- parameters: {
3300
- query?: never;
3301
- header?: never;
3302
- path: {
3303
- id: string;
3304
- };
3305
- cookie?: never;
3306
- };
3307
- requestBody?: never;
3308
- responses: {
3309
- /** @description ApiKey */
3310
- 200: {
3311
- headers: {
3312
- [name: string]: unknown;
3313
- };
3314
- content: {
3315
- "application/json": {
3316
- /** @description ApiKey ID */
3317
- id: string;
3318
- team: string;
3319
- apikey: string;
3320
- user_id: string;
3321
- description?: string;
3322
- scopes?: string[];
3323
- /** @default {} */
3324
- metadata: {
3325
- [key: string]: unknown;
3326
- };
3327
- /** @description ApiKey creation date */
3328
- createdAt: string;
3329
- /** @description ApiKey updated date */
3330
- updatedAt?: string;
3331
- };
3332
- };
3333
- };
3334
- };
3335
- };
3336
- "project_favorites/get": {
3337
- parameters: {
3338
- query?: never;
3339
- header?: never;
3340
- path?: never;
3341
- cookie?: never;
3342
- };
3343
- requestBody?: never;
3344
- responses: {
3345
- /** @description ProjectFavorites */
3346
- 200: {
3347
- headers: {
3348
- [name: string]: unknown;
3349
- };
3350
- content: {
3351
- "application/json": components["schemas"]["ProjectFavorites"];
3352
- };
3353
- };
3354
- };
3355
- };
3356
- "project_favorites/set": {
3357
- parameters: {
3358
- query?: never;
3359
- header?: never;
3360
- path?: never;
3361
- cookie?: never;
3362
- };
3363
- requestBody: {
3364
- content: {
3365
- "application/json": {
3366
- favorites: string[];
3367
- recents: string[];
3368
- };
3369
- };
3370
- };
3371
- responses: {
3372
- /** @description ProjectFavorites */
3373
- 200: {
3374
- headers: {
3375
- [name: string]: unknown;
3376
- };
3377
- content: {
3378
- "application/json": components["schemas"]["ProjectFavorites"];
3379
- };
3380
- };
3381
- };
3382
- };
3383
- "status/update": {
3384
- parameters: {
3385
- query?: never;
3386
- header?: never;
3387
- path: {
3388
- related_id: string;
3389
- };
3390
- cookie?: never;
3391
- };
3392
- requestBody: {
3393
- content: {
3394
- "application/json": components["schemas"]["StatusUpdate"];
3395
- };
3396
- };
3397
- responses: {
3398
- /** @description Default Response */
3399
- 200: {
3400
- headers: {
3401
- [name: string]: unknown;
3402
- };
3403
- content?: never;
3404
- };
3405
- };
3406
- };
3407
- "github/setup": {
3408
- parameters: {
3409
- query?: {
3410
- installation_id?: string;
3411
- setup_action?: string;
3412
- state?: string;
3413
- };
3414
- header?: never;
3415
- path?: never;
3416
- cookie?: never;
3417
- };
3418
- requestBody?: never;
3419
- responses: {
3420
- /** @description Default Response */
3421
- 200: {
3422
- headers: {
3423
- [name: string]: unknown;
3424
- };
3425
- content?: never;
3426
- };
3427
- };
3428
- };
3429
- "auth/github_oidc": {
3430
- parameters: {
3431
- query?: never;
3432
- header?: never;
3433
- path?: never;
3434
- cookie?: never;
3435
- };
3436
- requestBody: {
3437
- content: {
3438
- "application/json": {
3439
- token: string;
3440
- /** @description Explicitly select wich app to deploy when multiple apps are linked to the same github repository */
3441
- app_id?: string;
3442
- };
3443
- };
3444
- };
3445
- responses: {
3446
- /** @description Default Response */
3447
- 200: {
3448
- headers: {
3449
- [name: string]: unknown;
3450
- };
3451
- content?: never;
3452
- };
3453
- };
3454
- };
3455
- "github/installations": {
3456
- parameters: {
3457
- query?: never;
3458
- header?: never;
3459
- path?: never;
3460
- cookie?: never;
3461
- };
3462
- requestBody?: never;
3463
- responses: {
3464
- /** @description Default Response */
3465
- 200: {
3466
- headers: {
3467
- [name: string]: unknown;
3468
- };
3469
- content: {
3470
- "application/json": {
3471
- installations: components["schemas"]["GithubInstallation"][];
3472
- };
3473
- };
3474
- };
3475
- };
3476
- };
3477
- "github/installation_repositories": {
3478
- parameters: {
3479
- query?: {
3480
- /** @description Filter repos by name */
3481
- q?: string;
3482
- limit?: number;
3483
- };
3484
- header?: never;
3485
- path: {
3486
- installation_id: string;
3487
- };
3488
- cookie?: never;
3489
- };
3490
- requestBody?: never;
3491
- responses: {
3492
- /** @description Default Response */
3493
- 200: {
3494
- headers: {
3495
- [name: string]: unknown;
3496
- };
3497
- content: {
3498
- "application/json": {
3499
- repositories: components["schemas"]["GithubRepo"][];
3500
- };
3501
- };
3502
- };
3503
- };
3504
- };
3505
- "github/webhook": {
3506
- parameters: {
3507
- query?: never;
3508
- header?: never;
3509
- path?: never;
3510
- cookie?: never;
3511
- };
3512
- requestBody?: never;
3513
2715
  responses: {
3514
2716
  /** @description Default Response */
3515
2717
  200: {