@faable/deploy-sdk 2.3.0 → 2.5.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;
@@ -930,6 +698,11 @@ export interface components {
930
698
  * @enum {unknown}
931
699
  */
932
700
  AppMode: "standard" | "coexistence";
701
+ /**
702
+ * @default local
703
+ * @enum {unknown}
704
+ */
705
+ AppBuildMode: "local" | "remote";
933
706
  /**
934
707
  * @default cookie
935
708
  * @enum {unknown}
@@ -950,6 +723,7 @@ export interface components {
950
723
  runtime: components["schemas"]["AppRuntime"];
951
724
  runtime_strategy: string | null;
952
725
  mode: components["schemas"]["AppMode"];
726
+ build_mode: components["schemas"]["AppBuildMode"];
953
727
  coexistence_routing?: ("cookie" | "path") | null;
954
728
  coexistence_keep_versions?: number | null;
955
729
  coexistence_drain_hours?: number | null;
@@ -1037,6 +811,17 @@ export interface components {
1037
811
  /** @description Why the deployment failed (shown to the user on ERROR) */
1038
812
  reason?: string;
1039
813
  };
814
+ DeploymentSource: {
815
+ manifest: {
816
+ path: string;
817
+ sha: string;
818
+ size: number;
819
+ mode?: number;
820
+ }[];
821
+ plan?: {
822
+ [key: string]: unknown;
823
+ };
824
+ };
1040
825
  /** @description Deployment */
1041
826
  Deployment: {
1042
827
  /** @description Deployment ID */
@@ -1048,6 +833,7 @@ export interface components {
1048
833
  github_ref?: string;
1049
834
  github_actor?: string;
1050
835
  github_commit_message?: string;
836
+ source?: components["schemas"]["DeploymentSource"];
1051
837
  status: components["schemas"]["DeploymentStatus"];
1052
838
  /** @default {} */
1053
839
  metadata: {
@@ -1090,6 +876,7 @@ export interface components {
1090
876
  github_actor?: string;
1091
877
  github_commit_message?: string;
1092
878
  type?: string;
879
+ source?: components["schemas"]["DeploymentSource"];
1093
880
  };
1094
881
  DeploymentUpdate: {
1095
882
  image: string;
@@ -1360,22 +1147,6 @@ export interface components {
1360
1147
  ApiKeyUpdate: {
1361
1148
  description?: string;
1362
1149
  };
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
1150
  AppChecknameResponse: {
1380
1151
  name: string;
1381
1152
  slug: string;
@@ -1384,10 +1155,6 @@ export interface components {
1384
1155
  availiable: boolean;
1385
1156
  error?: string;
1386
1157
  };
1387
- /** @description Update Status */
1388
- StatusUpdate: {
1389
- [key: string]: unknown;
1390
- };
1391
1158
  /** @description Event App Status */
1392
1159
  EventAppStatus: {
1393
1160
  /** @enum {string} */
@@ -1421,33 +1188,6 @@ export interface components {
1421
1188
  status: components["schemas"]["DomainStatus"];
1422
1189
  };
1423
1190
  };
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
1191
  };
1452
1192
  responses: never;
1453
1193
  parameters: never;
@@ -1746,6 +1486,7 @@ export interface operations {
1746
1486
  runtime: components["schemas"]["AppRuntime"];
1747
1487
  runtime_strategy: string | null;
1748
1488
  mode: components["schemas"]["AppMode"];
1489
+ build_mode: components["schemas"]["AppBuildMode"];
1749
1490
  coexistence_routing?: ("cookie" | "path") | null;
1750
1491
  coexistence_keep_versions?: number | null;
1751
1492
  coexistence_drain_hours?: number | null;
@@ -1808,6 +1549,7 @@ export interface operations {
1808
1549
  runtime: components["schemas"]["AppRuntime"];
1809
1550
  runtime_strategy: string | null;
1810
1551
  mode: components["schemas"]["AppMode"];
1552
+ build_mode: components["schemas"]["AppBuildMode"];
1811
1553
  coexistence_routing?: ("cookie" | "path") | null;
1812
1554
  coexistence_keep_versions?: number | null;
1813
1555
  coexistence_drain_hours?: number | null;
@@ -1877,6 +1619,7 @@ export interface operations {
1877
1619
  runtime: components["schemas"]["AppRuntime"];
1878
1620
  runtime_strategy: string | null;
1879
1621
  mode: components["schemas"]["AppMode"];
1622
+ build_mode: components["schemas"]["AppBuildMode"];
1880
1623
  coexistence_routing?: ("cookie" | "path") | null;
1881
1624
  coexistence_keep_versions?: number | null;
1882
1625
  coexistence_drain_hours?: number | null;
@@ -1936,6 +1679,7 @@ export interface operations {
1936
1679
  runtime: components["schemas"]["AppRuntime"];
1937
1680
  runtime_strategy: string | null;
1938
1681
  mode: components["schemas"]["AppMode"];
1682
+ build_mode: components["schemas"]["AppBuildMode"];
1939
1683
  coexistence_routing?: ("cookie" | "path") | null;
1940
1684
  coexistence_keep_versions?: number | null;
1941
1685
  coexistence_drain_hours?: number | null;
@@ -2331,6 +2075,7 @@ export interface operations {
2331
2075
  github_actor?: string;
2332
2076
  github_commit_message?: string;
2333
2077
  type?: string;
2078
+ source?: components["schemas"]["DeploymentSource"];
2334
2079
  };
2335
2080
  };
2336
2081
  };
@@ -2351,6 +2096,7 @@ export interface operations {
2351
2096
  github_ref?: string;
2352
2097
  github_actor?: string;
2353
2098
  github_commit_message?: string;
2099
+ source?: components["schemas"]["DeploymentSource"];
2354
2100
  status: components["schemas"]["DeploymentStatus"];
2355
2101
  /** @default {} */
2356
2102
  metadata: {
@@ -2392,6 +2138,7 @@ export interface operations {
2392
2138
  github_ref?: string;
2393
2139
  github_actor?: string;
2394
2140
  github_commit_message?: string;
2141
+ source?: components["schemas"]["DeploymentSource"];
2395
2142
  status: components["schemas"]["DeploymentStatus"];
2396
2143
  /** @default {} */
2397
2144
  metadata: {
@@ -2439,6 +2186,7 @@ export interface operations {
2439
2186
  github_ref?: string;
2440
2187
  github_actor?: string;
2441
2188
  github_commit_message?: string;
2189
+ source?: components["schemas"]["DeploymentSource"];
2442
2190
  status: components["schemas"]["DeploymentStatus"];
2443
2191
  /** @default {} */
2444
2192
  metadata: {
@@ -2480,6 +2228,7 @@ export interface operations {
2480
2228
  github_ref?: string;
2481
2229
  github_actor?: string;
2482
2230
  github_commit_message?: string;
2231
+ source?: components["schemas"]["DeploymentSource"];
2483
2232
  status: components["schemas"]["DeploymentStatus"];
2484
2233
  /** @default {} */
2485
2234
  metadata: {
@@ -2526,41 +2275,6 @@ export interface operations {
2526
2275
  };
2527
2276
  };
2528
2277
  };
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
2278
  "domain/list": {
2565
2279
  parameters: {
2566
2280
  query?: {
@@ -2939,39 +2653,7 @@ export interface operations {
2939
2653
  };
2940
2654
  };
2941
2655
  };
2942
- "contact/list": {
2943
- 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
- };
2954
- header?: never;
2955
- path?: never;
2956
- cookie?: never;
2957
- };
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": {
2656
+ "auth/github_oidc": {
2975
2657
  parameters: {
2976
2658
  query?: never;
2977
2659
  header?: never;
@@ -2981,535 +2663,12 @@ export interface operations {
2981
2663
  requestBody: {
2982
2664
  content: {
2983
2665
  "application/json": {
2984
- /** @enum {unknown} */
2985
- contact_type: "primary" | "technical" | "security" | "emergency" | "billing";
2986
- email?: string;
2987
- phone?: string;
2666
+ token: string;
2667
+ /** @description Explicitly select wich app to deploy when multiple apps are linked to the same github repository */
2668
+ app_id?: string;
2988
2669
  };
2989
2670
  };
2990
2671
  };
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;
3073
- };
3074
- };
3075
- };
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
2672
  responses: {
3514
2673
  /** @description Default Response */
3515
2674
  200: {