@faable/deploy-sdk 1.0.13 → 1.0.15

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.
@@ -3,127 +3,27 @@
3
3
  * Do not make direct changes to the file.
4
4
  */
5
5
  export interface paths {
6
- "/profile": {
6
+ "/project/{id}/invite": {
7
7
  parameters: {
8
8
  query?: never;
9
9
  header?: never;
10
10
  path?: never;
11
11
  cookie?: never;
12
12
  };
13
- /**
14
- * List profiles user can access to
15
- * @description List profiles user can access to
16
- */
17
- get: operations["profile/list"];
18
- put?: never;
19
- /**
20
- * Creates a Team
21
- * @description Creates a Team
22
- */
23
- post: operations["profile/create"];
24
- delete?: never;
25
- options?: never;
26
- head?: never;
27
- patch?: never;
28
- trace?: never;
29
- };
30
- "/profile/{profile_id}": {
31
- parameters: {
32
- query?: never;
33
- header?: never;
34
- path?: never;
35
- cookie?: never;
36
- };
37
- /**
38
- * Get a profile
39
- * @description Get a profile
40
- */
41
- get: operations["profiles/get"];
42
- put?: never;
43
- post?: never;
44
- /**
45
- * Delete a profile
46
- * @description Delete a profile
47
- */
48
- delete: operations["profiles/delete"];
49
- options?: never;
50
- head?: never;
51
- patch?: never;
52
- trace?: never;
53
- };
54
- "/profile/slug/{slug}": {
55
- parameters: {
56
- query?: never;
57
- header?: never;
58
- path?: never;
59
- cookie?: never;
60
- };
61
- /**
62
- * Get Profile by slug
63
- * @description Get Profile by slug
64
- */
65
- get: operations["profile/getbyslug"];
66
- put?: never;
67
- post?: never;
68
- delete?: never;
69
- options?: never;
70
- head?: never;
71
- patch?: never;
72
- trace?: never;
73
- };
74
- "/contact": {
75
- parameters: {
76
- query?: never;
77
- header?: never;
78
- path?: never;
79
- cookie?: never;
80
- };
81
- /**
82
- * List contact
83
- * @description List contact
84
- */
85
- get: operations["contact/list"];
13
+ get?: never;
86
14
  put?: never;
87
15
  /**
88
- * Create contact
89
- * @description Create contact
16
+ * Invite collaborators to project
17
+ * @description Invite collaborators to project
90
18
  */
91
- post: operations["contact/create"];
19
+ post: operations["project/invite"];
92
20
  delete?: never;
93
21
  options?: never;
94
22
  head?: never;
95
23
  patch?: never;
96
24
  trace?: never;
97
25
  };
98
- "/contact/{id}": {
99
- parameters: {
100
- query?: never;
101
- header?: never;
102
- path?: never;
103
- cookie?: never;
104
- };
105
- /**
106
- * Get contact
107
- * @description Get contact
108
- */
109
- get: operations["contact/get"];
110
- put?: never;
111
- /**
112
- * Update contact
113
- * @description Update contact
114
- */
115
- post: operations["contact/update"];
116
- /**
117
- * Delete contact
118
- * @description Delete contact
119
- */
120
- delete: operations["contact/remove"];
121
- options?: never;
122
- head?: never;
123
- patch?: never;
124
- trace?: never;
125
- };
126
- "/apikey": {
26
+ "/project": {
127
27
  parameters: {
128
28
  query?: never;
129
29
  header?: never;
@@ -131,23 +31,23 @@ export interface paths {
131
31
  cookie?: never;
132
32
  };
133
33
  /**
134
- * List apikey
135
- * @description List apikey
34
+ * List project
35
+ * @description List project
136
36
  */
137
- get: operations["apikey/list"];
37
+ get: operations["project/list"];
138
38
  put?: never;
139
39
  /**
140
- * Create apikey
141
- * @description Create apikey
40
+ * Create project
41
+ * @description Create project
142
42
  */
143
- post: operations["apikey/create"];
43
+ post: operations["project/create"];
144
44
  delete?: never;
145
45
  options?: never;
146
46
  head?: never;
147
47
  patch?: never;
148
48
  trace?: never;
149
49
  };
150
- "/apikey/{id}": {
50
+ "/project/{id}": {
151
51
  parameters: {
152
52
  query?: never;
153
53
  header?: never;
@@ -155,41 +55,21 @@ export interface paths {
155
55
  cookie?: never;
156
56
  };
157
57
  /**
158
- * Get apikey
159
- * @description Get apikey
58
+ * Get project
59
+ * @description Get project
160
60
  */
161
- get: operations["apikey/get"];
61
+ get: operations["project/get"];
162
62
  put?: never;
163
63
  /**
164
- * Update apikey
165
- * @description Update apikey
166
- */
167
- post: operations["apikey/update"];
168
- /**
169
- * Delete apikey
170
- * @description Delete apikey
64
+ * Update project
65
+ * @description Update project
171
66
  */
172
- delete: operations["apikey/remove"];
173
- options?: never;
174
- head?: never;
175
- patch?: never;
176
- trace?: never;
177
- };
178
- "/status/{related_id}": {
179
- parameters: {
180
- query?: never;
181
- header?: never;
182
- path?: never;
183
- cookie?: never;
184
- };
185
- get?: never;
186
- put?: never;
67
+ post: operations["project/update"];
187
68
  /**
188
- * Update status resource
189
- * @description Update status resource
69
+ * Delete project
70
+ * @description Delete project
190
71
  */
191
- post: operations["status/update"];
192
- delete?: never;
72
+ delete: operations["project/remove"];
193
73
  options?: never;
194
74
  head?: never;
195
75
  patch?: never;
@@ -395,58 +275,6 @@ export interface paths {
395
275
  patch?: never;
396
276
  trace?: never;
397
277
  };
398
- "/volume": {
399
- parameters: {
400
- query?: never;
401
- header?: never;
402
- path?: never;
403
- cookie?: never;
404
- };
405
- /**
406
- * List volume
407
- * @description List volume
408
- */
409
- get: operations["volume/list"];
410
- put?: never;
411
- /**
412
- * Create volume
413
- * @description Create volume
414
- */
415
- post: operations["volume/create"];
416
- delete?: never;
417
- options?: never;
418
- head?: never;
419
- patch?: never;
420
- trace?: never;
421
- };
422
- "/volume/{id}": {
423
- parameters: {
424
- query?: never;
425
- header?: never;
426
- path?: never;
427
- cookie?: never;
428
- };
429
- /**
430
- * Get volume
431
- * @description Get volume
432
- */
433
- get: operations["volume/get"];
434
- put?: never;
435
- /**
436
- * Update volume
437
- * @description Update volume
438
- */
439
- post: operations["volume/update"];
440
- /**
441
- * Delete volume
442
- * @description Delete volume
443
- */
444
- delete: operations["volume/remove"];
445
- options?: never;
446
- head?: never;
447
- patch?: never;
448
- trace?: never;
449
- };
450
278
  "/domain": {
451
279
  parameters: {
452
280
  query?: never;
@@ -599,7 +427,7 @@ export interface paths {
599
427
  patch?: never;
600
428
  trace?: never;
601
429
  };
602
- "/stats": {
430
+ "/contact": {
603
431
  parameters: {
604
432
  query?: never;
605
433
  header?: never;
@@ -607,19 +435,23 @@ export interface paths {
607
435
  cookie?: never;
608
436
  };
609
437
  /**
610
- * Get User Stats
611
- * @description Get User Stats
438
+ * List contact
439
+ * @description List contact
612
440
  */
613
- get: operations["statistics/get"];
441
+ get: operations["contact/list"];
614
442
  put?: never;
615
- post?: never;
443
+ /**
444
+ * Create contact
445
+ * @description Create contact
446
+ */
447
+ post: operations["contact/create"];
616
448
  delete?: never;
617
449
  options?: never;
618
450
  head?: never;
619
451
  patch?: never;
620
452
  trace?: never;
621
453
  };
622
- "/user/billing_portal": {
454
+ "/contact/{id}": {
623
455
  parameters: {
624
456
  query?: never;
625
457
  header?: never;
@@ -627,19 +459,27 @@ export interface paths {
627
459
  cookie?: never;
628
460
  };
629
461
  /**
630
- * Redirect to Stripe billing portal
631
- * @description Redirect to Stripe billing portal
462
+ * Get contact
463
+ * @description Get contact
632
464
  */
633
- get: operations["users/billing_portal"];
465
+ get: operations["contact/get"];
634
466
  put?: never;
635
- post?: never;
636
- delete?: never;
467
+ /**
468
+ * Update contact
469
+ * @description Update contact
470
+ */
471
+ post: operations["contact/update"];
472
+ /**
473
+ * Delete contact
474
+ * @description Delete contact
475
+ */
476
+ delete: operations["contact/remove"];
637
477
  options?: never;
638
478
  head?: never;
639
479
  patch?: never;
640
480
  trace?: never;
641
481
  };
642
- "/user/payment_methods": {
482
+ "/apikey": {
643
483
  parameters: {
644
484
  query?: never;
645
485
  header?: never;
@@ -647,42 +487,82 @@ export interface paths {
647
487
  cookie?: never;
648
488
  };
649
489
  /**
650
- * List Stripe Payment Methods
651
- * @description List Stripe Payment Methods
490
+ * List apikey
491
+ * @description List apikey
652
492
  */
653
- get: operations["users/payment_methods"];
493
+ get: operations["apikey/list"];
654
494
  put?: never;
655
- post?: never;
495
+ /**
496
+ * Create apikey
497
+ * @description Create apikey
498
+ */
499
+ post: operations["apikey/create"];
656
500
  delete?: never;
657
501
  options?: never;
658
502
  head?: never;
659
503
  patch?: never;
660
504
  trace?: never;
661
505
  };
662
- "/user/setup_intent": {
506
+ "/apikey/{id}": {
663
507
  parameters: {
664
508
  query?: never;
665
509
  header?: never;
666
510
  path?: never;
667
511
  cookie?: never;
668
512
  };
669
- get: operations["users/setup_intent"];
513
+ /**
514
+ * Get apikey
515
+ * @description Get apikey
516
+ */
517
+ get: operations["apikey/get"];
670
518
  put?: never;
671
- post?: never;
519
+ /**
520
+ * Update apikey
521
+ * @description Update apikey
522
+ */
523
+ post: operations["apikey/update"];
524
+ /**
525
+ * Delete apikey
526
+ * @description Delete apikey
527
+ */
528
+ delete: operations["apikey/remove"];
529
+ options?: never;
530
+ head?: never;
531
+ patch?: never;
532
+ trace?: never;
533
+ };
534
+ "/status/{related_id}": {
535
+ parameters: {
536
+ query?: never;
537
+ header?: never;
538
+ path?: never;
539
+ cookie?: never;
540
+ };
541
+ get?: never;
542
+ put?: never;
543
+ /**
544
+ * Update status resource
545
+ * @description Update status resource
546
+ */
547
+ post: operations["status/update"];
672
548
  delete?: never;
673
549
  options?: never;
674
550
  head?: never;
675
551
  patch?: never;
676
552
  trace?: never;
677
553
  };
678
- "/user/list_invoices": {
554
+ "/stats": {
679
555
  parameters: {
680
556
  query?: never;
681
557
  header?: never;
682
558
  path?: never;
683
559
  cookie?: never;
684
560
  };
685
- get: operations["users/list_invoices"];
561
+ /**
562
+ * Get User Stats
563
+ * @description Get User Stats
564
+ */
565
+ get: operations["statistics/get"];
686
566
  put?: never;
687
567
  post?: never;
688
568
  delete?: never;
@@ -691,126 +571,154 @@ export interface paths {
691
571
  patch?: never;
692
572
  trace?: never;
693
573
  };
694
- }
695
- export type webhooks = Record<string, never>;
696
- export interface components {
697
- schemas: {
698
- /** @description Profile */
699
- Profile: {
700
- /** @description Profile ID */
701
- id: string;
702
- slug: string;
703
- name: string;
704
- description: string;
705
- /** @default null */
706
- stripe_sub: string | null;
707
- /** @description Profile creation time */
708
- createdAt: string;
709
- /** @description Profile update time */
710
- updatedAt: string;
711
- };
712
- ProfileCreate: {
713
- name: string;
714
- description?: string;
715
- };
716
- /** @description Contact */
717
- Contact: {
718
- /** @description Contact ID */
719
- id: string;
720
- team: string;
721
- contact_type: "primary" | "technical" | "security" | "emergency" | "billing";
722
- email?: string;
723
- phone?: string;
724
- /** @default {} */
725
- metadata: {
726
- [key: string]: unknown;
727
- };
728
- /** @description Contact creation time */
729
- createdAt: string;
730
- /** @description Contact update time */
731
- updatedAt: string;
574
+ "/user/billing_portal": {
575
+ parameters: {
576
+ query?: never;
577
+ header?: never;
578
+ path?: never;
579
+ cookie?: never;
732
580
  };
733
- ContactType: "primary" | "technical" | "security" | "emergency" | "billing";
734
- ContactCreate: {
735
- contact_type: "primary" | "technical" | "security" | "emergency" | "billing";
736
- email?: string;
737
- phone?: string;
581
+ /**
582
+ * Redirect to Stripe billing portal
583
+ * @description Redirect to Stripe billing portal
584
+ */
585
+ get: operations["users/billing_portal"];
586
+ put?: never;
587
+ post?: never;
588
+ delete?: never;
589
+ options?: never;
590
+ head?: never;
591
+ patch?: never;
592
+ trace?: never;
593
+ };
594
+ "/user/payment_methods": {
595
+ parameters: {
596
+ query?: never;
597
+ header?: never;
598
+ path?: never;
599
+ cookie?: never;
738
600
  };
739
- ContactUpdate: {
740
- contact_type?: "primary" | "technical" | "security" | "emergency" | "billing";
741
- email?: string;
742
- phone?: string;
601
+ /**
602
+ * List Stripe Payment Methods
603
+ * @description List Stripe Payment Methods
604
+ */
605
+ get: operations["users/payment_methods"];
606
+ put?: never;
607
+ post?: never;
608
+ delete?: never;
609
+ options?: never;
610
+ head?: never;
611
+ patch?: never;
612
+ trace?: never;
613
+ };
614
+ "/user/setup_intent": {
615
+ parameters: {
616
+ query?: never;
617
+ header?: never;
618
+ path?: never;
619
+ cookie?: never;
743
620
  };
744
- /** @description Event Contact Create */
745
- EventContactCreate: {
746
- /** @enum {string} */
747
- type: "contact.create";
748
- /** @description Timestamp */
749
- produced_at: number;
750
- payload: components["schemas"]["Contact"];
621
+ get: operations["users/setup_intent"];
622
+ put?: never;
623
+ post?: never;
624
+ delete?: never;
625
+ options?: never;
626
+ head?: never;
627
+ patch?: never;
628
+ trace?: never;
629
+ };
630
+ "/user/list_invoices": {
631
+ parameters: {
632
+ query?: never;
633
+ header?: never;
634
+ path?: never;
635
+ cookie?: never;
751
636
  };
752
- /** @description Event Contact Delete */
753
- EventContactDelete: {
754
- /** @enum {string} */
755
- type: "contact.delete";
756
- /** @description Timestamp */
757
- produced_at: number;
758
- payload: components["schemas"]["Contact"];
637
+ get: operations["users/list_invoices"];
638
+ put?: never;
639
+ post?: never;
640
+ delete?: never;
641
+ options?: never;
642
+ head?: never;
643
+ patch?: never;
644
+ trace?: never;
645
+ };
646
+ "/auth/github-oidc": {
647
+ parameters: {
648
+ query?: never;
649
+ header?: never;
650
+ path?: never;
651
+ cookie?: never;
759
652
  };
760
- /** @description Event Contact Update */
761
- EventContactUpdate: {
762
- /** @enum {string} */
763
- type: "contact.update";
764
- /** @description Timestamp */
765
- produced_at: number;
766
- payload: components["schemas"]["Contact"];
653
+ get?: never;
654
+ put?: never;
655
+ /**
656
+ * Exchange github oidc token
657
+ * @description Exchange github oidc token
658
+ */
659
+ post: operations["auth/github_oidc"];
660
+ delete?: never;
661
+ options?: never;
662
+ head?: never;
663
+ patch?: never;
664
+ trace?: never;
665
+ };
666
+ }
667
+ export type webhooks = Record<string, never>;
668
+ export interface components {
669
+ schemas: {
670
+ ProjectInvite: {
671
+ emails: string[];
767
672
  };
768
- /** @description ApiKey */
769
- ApiKey: {
770
- /** @description ApiKey ID */
673
+ /** @description Project */
674
+ Project: {
675
+ /** @description Project ID */
771
676
  id: string;
677
+ name: string;
678
+ description: string;
679
+ slug: string;
772
680
  team: string;
773
- apikey: string;
774
- user_id: string;
775
- description?: string;
776
- /** @default {} */
777
- metadata: {
778
- [key: string]: unknown;
779
- };
780
- /** @description ApiKey creation time */
681
+ user_id?: string;
682
+ collaborators: string[];
683
+ /** @description Project creation time */
781
684
  createdAt: string;
782
- /** @description ApiKey update time */
685
+ /** @description Project update time */
783
686
  updatedAt: string;
784
687
  };
785
- ApiKeyCreate: {
688
+ ProjectCreate: {
689
+ name: string;
786
690
  description?: string;
691
+ slug?: string;
692
+ collaborators?: string[];
787
693
  };
788
- ApiKeyUpdate: {
694
+ ProjectUpdate: {
695
+ name?: string;
789
696
  description?: string;
697
+ collaborators?: string[];
790
698
  };
791
- /** @description Event Apikey Create */
792
- EventApikeyCreate: {
699
+ /** @description Event Project Create */
700
+ EventProjectCreate: {
793
701
  /** @enum {string} */
794
- type: "apikey.create";
702
+ type: "project.create";
795
703
  /** @description Timestamp */
796
704
  produced_at: number;
797
- payload: components["schemas"]["ApiKey"];
705
+ payload: components["schemas"]["Project"];
798
706
  };
799
- /** @description Event Apikey Delete */
800
- EventApikeyDelete: {
707
+ /** @description Event Project Delete */
708
+ EventProjectDelete: {
801
709
  /** @enum {string} */
802
- type: "apikey.delete";
710
+ type: "project.delete";
803
711
  /** @description Timestamp */
804
712
  produced_at: number;
805
- payload: components["schemas"]["ApiKey"];
713
+ payload: components["schemas"]["Project"];
806
714
  };
807
- /** @description Event Apikey Update */
808
- EventApikeyUpdate: {
715
+ /** @description Event Project Update */
716
+ EventProjectUpdate: {
809
717
  /** @enum {string} */
810
- type: "apikey.update";
718
+ type: "project.update";
811
719
  /** @description Timestamp */
812
720
  produced_at: number;
813
- payload: components["schemas"]["ApiKey"];
721
+ payload: components["schemas"]["Project"];
814
722
  };
815
723
  AppStatus: {
816
724
  /**
@@ -860,9 +768,15 @@ export interface components {
860
768
  runtime_strategy: ("next" | "wordpress") | null;
861
769
  /** @description Faable instance types comprise varying combinations of CPU, memory, storage, and networking capacity. */
862
770
  instance_type: string;
863
- /** @description Deploy region */
864
- region: string;
771
+ /**
772
+ * @description High-level summary of where the Database is in its lifecycle
773
+ * @default UNKNOWN
774
+ */
775
+ region: "gui1" | "poz1" | "ams1";
865
776
  status: components["schemas"]["AppStatus"];
777
+ repository?: string;
778
+ github_branch?: string;
779
+ github_installation_id?: string;
866
780
  /** @default {} */
867
781
  metadata: {
868
782
  [key: string]: unknown;
@@ -876,6 +790,9 @@ export interface components {
876
790
  name: string;
877
791
  runtime?: string;
878
792
  description?: string;
793
+ github_repo?: string;
794
+ github_branch?: string;
795
+ github_installation_id?: string;
879
796
  };
880
797
  AppUpdate: {
881
798
  name?: string;
@@ -883,6 +800,9 @@ export interface components {
883
800
  runtime?: components["schemas"]["AppRuntime"];
884
801
  runtime_strategy?: components["schemas"]["AppRuntimeStrategy"];
885
802
  instance_type?: string;
803
+ repository?: string;
804
+ github_branch?: string;
805
+ github_installation_id?: string;
886
806
  };
887
807
  /** @description Event App Create */
888
808
  EventAppCreate: {
@@ -921,7 +841,9 @@ export interface components {
921
841
  id: string;
922
842
  team: string;
923
843
  app_id: string;
924
- image: string;
844
+ image?: string;
845
+ github_commit?: string;
846
+ github_ref?: string;
925
847
  status: components["schemas"]["DeploymentStatus"];
926
848
  /** @default {} */
927
849
  metadata: {
@@ -934,7 +856,9 @@ export interface components {
934
856
  };
935
857
  DeploymentCreate: {
936
858
  app_id: string;
937
- image: string;
859
+ image?: string;
860
+ github_commit?: string;
861
+ github_ref?: string;
938
862
  };
939
863
  /** @description Event Deployment Create */
940
864
  EventDeploymentCreate: {
@@ -960,78 +884,6 @@ export interface components {
960
884
  produced_at: number;
961
885
  payload: components["schemas"]["Deployment"];
962
886
  };
963
- /** @description Volume */
964
- Volume: {
965
- id: string;
966
- team: string;
967
- name: string;
968
- description: string;
969
- slug: string;
970
- /**
971
- * @description App which has this volume mounted
972
- * @default null
973
- */
974
- app_id: string | null;
975
- /** @description The size of the block storage volume in GiB */
976
- size_gb: number;
977
- /** @description Region where is deployed */
978
- region: string;
979
- /** @description State */
980
- status: "pending" | "ready";
981
- /** @description User creator of this volume */
982
- creator: string;
983
- /** @default {} */
984
- metadata: {
985
- [key: string]: unknown;
986
- };
987
- /** @description Volume creation time */
988
- createdAt: string;
989
- /** @description Volume update time */
990
- updatedAt: string;
991
- };
992
- VolumeCreate: {
993
- name: string;
994
- /** @description Who owns this Volume */
995
- profile_id: string;
996
- /** @description The size of the block storage volume in GiB */
997
- size_gb: number;
998
- /**
999
- * @description Region where is deployed
1000
- * @default poz1
1001
- */
1002
- region: string;
1003
- description?: string;
1004
- };
1005
- VolumeUpdate: {
1006
- name: string;
1007
- /** @description The size of the block storage volume in GiB */
1008
- size_gb: number;
1009
- description?: string;
1010
- };
1011
- /** @description Event Volume Create */
1012
- EventVolumeCreate: {
1013
- /** @enum {string} */
1014
- type: "volume.create";
1015
- /** @description Timestamp */
1016
- produced_at: number;
1017
- payload: components["schemas"]["Volume"];
1018
- };
1019
- /** @description Event Volume Delete */
1020
- EventVolumeDelete: {
1021
- /** @enum {string} */
1022
- type: "volume.delete";
1023
- /** @description Timestamp */
1024
- produced_at: number;
1025
- payload: components["schemas"]["Volume"];
1026
- };
1027
- /** @description Event Volume Update */
1028
- EventVolumeUpdate: {
1029
- /** @enum {string} */
1030
- type: "volume.update";
1031
- /** @description Timestamp */
1032
- produced_at: number;
1033
- payload: components["schemas"]["Volume"];
1034
- };
1035
887
  /** @description Domain */
1036
888
  Domain: {
1037
889
  /** @description Domain ID */
@@ -1048,6 +900,7 @@ export interface components {
1048
900
  app_id: string | null;
1049
901
  /** @description If the domain has the ownership verified */
1050
902
  verified: boolean;
903
+ active: boolean;
1051
904
  /** @default {} */
1052
905
  metadata: {
1053
906
  [key: string]: unknown;
@@ -1070,6 +923,7 @@ export interface components {
1070
923
  * @default null
1071
924
  */
1072
925
  app_id: string | null;
926
+ active: boolean;
1073
927
  };
1074
928
  /** @description Event Domain Create */
1075
929
  EventDomainCreate: {
@@ -1170,41 +1024,119 @@ export interface components {
1170
1024
  SecretCreateBatch: {
1171
1025
  context_id: string;
1172
1026
  secrets: {
1027
+ /** @description Secret name */
1173
1028
  name: string;
1029
+ /** @description Secret value */
1174
1030
  value: string;
1175
1031
  }[];
1176
1032
  };
1177
1033
  /** @description Upsert Secret */
1178
1034
  SecretUpsert: {
1179
1035
  app_id: string;
1036
+ /** @description Secret name */
1180
1037
  name: string;
1038
+ /** @description Secret value */
1181
1039
  value: string;
1182
1040
  };
1183
- /** @description Update Status */
1184
- StatusUpdate: {
1185
- [key: string]: unknown;
1186
- };
1187
- /** @description Event App Status */
1188
- EventAppStatus: {
1189
- /** @enum {string} */
1190
- type: "app.status";
1191
- /** @description Timestamp */
1192
- produced_at: number;
1193
- payload: {
1194
- id: string;
1195
- status: components["schemas"]["AppStatus"];
1041
+ /** @description Contact */
1042
+ Contact: {
1043
+ /** @description Contact ID */
1044
+ id: string;
1045
+ team: string;
1046
+ contact_type: "primary" | "technical" | "security" | "emergency" | "billing";
1047
+ email?: string;
1048
+ phone?: string;
1049
+ /** @default {} */
1050
+ metadata: {
1051
+ [key: string]: unknown;
1196
1052
  };
1053
+ /** @description Contact creation time */
1054
+ createdAt: string;
1055
+ /** @description Contact update time */
1056
+ updatedAt: string;
1197
1057
  };
1198
- /** @description Event Deployment Status */
1199
- EventDeploymentStatus: {
1200
- /** @enum {string} */
1201
- type: "deployment.status";
1202
- /** @description Timestamp */
1203
- produced_at: number;
1204
- payload: {
1205
- id: string;
1206
- status: components["schemas"]["DeploymentStatus"];
1058
+ ContactType: "primary" | "technical" | "security" | "emergency" | "billing";
1059
+ ContactCreate: {
1060
+ contact_type: "primary" | "technical" | "security" | "emergency" | "billing";
1061
+ email?: string;
1062
+ phone?: string;
1063
+ };
1064
+ ContactUpdate: {
1065
+ contact_type?: "primary" | "technical" | "security" | "emergency" | "billing";
1066
+ email?: string;
1067
+ phone?: string;
1068
+ };
1069
+ /** @description Event Contact Create */
1070
+ EventContactCreate: {
1071
+ /** @enum {string} */
1072
+ type: "contact.create";
1073
+ /** @description Timestamp */
1074
+ produced_at: number;
1075
+ payload: components["schemas"]["Contact"];
1076
+ };
1077
+ /** @description Event Contact Delete */
1078
+ EventContactDelete: {
1079
+ /** @enum {string} */
1080
+ type: "contact.delete";
1081
+ /** @description Timestamp */
1082
+ produced_at: number;
1083
+ payload: components["schemas"]["Contact"];
1084
+ };
1085
+ /** @description Event Contact Update */
1086
+ EventContactUpdate: {
1087
+ /** @enum {string} */
1088
+ type: "contact.update";
1089
+ /** @description Timestamp */
1090
+ produced_at: number;
1091
+ payload: components["schemas"]["Contact"];
1092
+ };
1093
+ /** @description ApiKey */
1094
+ ApiKey: {
1095
+ /** @description ApiKey ID */
1096
+ id: string;
1097
+ team: string;
1098
+ apikey: string;
1099
+ user_id: string;
1100
+ description?: string;
1101
+ scopes?: string[];
1102
+ /** @default {} */
1103
+ metadata: {
1104
+ [key: string]: unknown;
1207
1105
  };
1106
+ /** @description ApiKey creation time */
1107
+ createdAt: string;
1108
+ /** @description ApiKey update time */
1109
+ updatedAt: string;
1110
+ };
1111
+ ApiKeyCreate: {
1112
+ description?: string;
1113
+ };
1114
+ ApiKeyUpdate: {
1115
+ description?: string;
1116
+ };
1117
+ /** @description Event Apikey Create */
1118
+ EventApikeyCreate: {
1119
+ /** @enum {string} */
1120
+ type: "apikey.create";
1121
+ /** @description Timestamp */
1122
+ produced_at: number;
1123
+ payload: components["schemas"]["ApiKey"];
1124
+ };
1125
+ /** @description Event Apikey Delete */
1126
+ EventApikeyDelete: {
1127
+ /** @enum {string} */
1128
+ type: "apikey.delete";
1129
+ /** @description Timestamp */
1130
+ produced_at: number;
1131
+ payload: components["schemas"]["ApiKey"];
1132
+ };
1133
+ /** @description Event Apikey Update */
1134
+ EventApikeyUpdate: {
1135
+ /** @enum {string} */
1136
+ type: "apikey.update";
1137
+ /** @description Timestamp */
1138
+ produced_at: number;
1139
+ payload: components["schemas"]["ApiKey"];
1208
1140
  };
1209
1141
  AppChecknameResponse: {
1210
1142
  name: string;
@@ -1214,6 +1146,32 @@ export interface components {
1214
1146
  availiable: boolean;
1215
1147
  error?: string;
1216
1148
  };
1149
+ /** @description Update Status */
1150
+ StatusUpdate: {
1151
+ [key: string]: unknown;
1152
+ };
1153
+ /** @description Event App Status */
1154
+ EventAppStatus: {
1155
+ /** @enum {string} */
1156
+ type: "app.status";
1157
+ /** @description Timestamp */
1158
+ produced_at: number;
1159
+ payload: {
1160
+ id: string;
1161
+ status: components["schemas"]["AppStatus"];
1162
+ };
1163
+ };
1164
+ /** @description Event Deployment Status */
1165
+ EventDeploymentStatus: {
1166
+ /** @enum {string} */
1167
+ type: "deployment.status";
1168
+ /** @description Timestamp */
1169
+ produced_at: number;
1170
+ payload: {
1171
+ id: string;
1172
+ status: components["schemas"]["DeploymentStatus"];
1173
+ };
1174
+ };
1217
1175
  };
1218
1176
  responses: never;
1219
1177
  parameters: never;
@@ -1226,198 +1184,7 @@ export interface components {
1226
1184
  }
1227
1185
  export type $defs = Record<string, never>;
1228
1186
  export interface operations {
1229
- "profile/list": {
1230
- parameters: {
1231
- query?: {
1232
- /** @description Start from this cursor */
1233
- cursor?: string;
1234
- /** @description Start from this cursor */
1235
- next?: string;
1236
- /** @description Size of the results array */
1237
- pageSize?: number;
1238
- };
1239
- header?: never;
1240
- path?: never;
1241
- cookie?: never;
1242
- };
1243
- requestBody?: never;
1244
- responses: {
1245
- /** @description PaginatedResponse */
1246
- 200: {
1247
- headers: {
1248
- [name: string]: unknown;
1249
- };
1250
- content: {
1251
- "application/json": {
1252
- /**
1253
- * @description next cursor
1254
- * @default null
1255
- */
1256
- next: string | null;
1257
- /** @description list of results */
1258
- results: {
1259
- /** @description Profile ID */
1260
- id: string;
1261
- slug: string;
1262
- name: string;
1263
- description: string;
1264
- /** @default null */
1265
- stripe_sub: string | null;
1266
- /** @description Profile creation time */
1267
- createdAt: string;
1268
- /** @description Profile update time */
1269
- updatedAt: string;
1270
- }[];
1271
- };
1272
- };
1273
- };
1274
- };
1275
- };
1276
- "profile/create": {
1277
- parameters: {
1278
- query?: never;
1279
- header?: never;
1280
- path?: never;
1281
- cookie?: never;
1282
- };
1283
- requestBody?: {
1284
- content: {
1285
- "application/json": components["schemas"]["ProfileCreate"];
1286
- };
1287
- };
1288
- responses: {
1289
- /** @description Profile */
1290
- 201: {
1291
- headers: {
1292
- [name: string]: unknown;
1293
- };
1294
- content: {
1295
- "application/json": components["schemas"]["Profile"];
1296
- };
1297
- };
1298
- };
1299
- };
1300
- "profiles/get": {
1301
- parameters: {
1302
- query?: never;
1303
- header?: never;
1304
- path: {
1305
- profile_id: string;
1306
- };
1307
- cookie?: never;
1308
- };
1309
- requestBody?: never;
1310
- responses: never;
1311
- };
1312
- "profiles/delete": {
1313
- parameters: {
1314
- query?: never;
1315
- header?: never;
1316
- path: {
1317
- profile_id: string;
1318
- };
1319
- cookie?: never;
1320
- };
1321
- requestBody?: never;
1322
- responses: never;
1323
- };
1324
- "profile/getbyslug": {
1325
- parameters: {
1326
- query?: never;
1327
- header?: never;
1328
- path: {
1329
- slug: string;
1330
- };
1331
- cookie?: never;
1332
- };
1333
- requestBody?: never;
1334
- responses: {
1335
- /** @description Profile */
1336
- 200: {
1337
- headers: {
1338
- [name: string]: unknown;
1339
- };
1340
- content: {
1341
- "application/json": components["schemas"]["Profile"];
1342
- };
1343
- };
1344
- };
1345
- };
1346
- "contact/list": {
1347
- parameters: {
1348
- query?: {
1349
- /** @description Start from this cursor */
1350
- cursor?: string;
1351
- /** @description Start from this cursor */
1352
- next?: string;
1353
- /** @description Size of the results array */
1354
- pageSize?: number;
1355
- };
1356
- header?: never;
1357
- path?: never;
1358
- cookie?: never;
1359
- };
1360
- requestBody?: never;
1361
- responses: {
1362
- /** @description PaginatedResponse */
1363
- 200: {
1364
- headers: {
1365
- [name: string]: unknown;
1366
- };
1367
- content: {
1368
- "application/json": {
1369
- /**
1370
- * @description next cursor
1371
- * @default null
1372
- */
1373
- next: string | null;
1374
- /** @description list of results */
1375
- results: {
1376
- /** @description Contact ID */
1377
- id: string;
1378
- team: string;
1379
- contact_type: "primary" | "technical" | "security" | "emergency" | "billing";
1380
- email?: string;
1381
- phone?: string;
1382
- /** @default {} */
1383
- metadata: {
1384
- [key: string]: unknown;
1385
- };
1386
- /** @description Contact creation time */
1387
- createdAt: string;
1388
- /** @description Contact update time */
1389
- updatedAt: string;
1390
- }[];
1391
- };
1392
- };
1393
- };
1394
- };
1395
- };
1396
- "contact/create": {
1397
- parameters: {
1398
- query?: never;
1399
- header?: never;
1400
- path?: never;
1401
- cookie?: never;
1402
- };
1403
- requestBody?: {
1404
- content: {
1405
- "application/json": components["schemas"]["ContactCreate"];
1406
- };
1407
- };
1408
- responses: {
1409
- /** @description Contact */
1410
- 201: {
1411
- headers: {
1412
- [name: string]: unknown;
1413
- };
1414
- content: {
1415
- "application/json": components["schemas"]["Contact"];
1416
- };
1417
- };
1418
- };
1419
- };
1420
- "contact/get": {
1187
+ "project/invite": {
1421
1188
  parameters: {
1422
1189
  query?: never;
1423
1190
  header?: never;
@@ -1426,68 +1193,24 @@ export interface operations {
1426
1193
  };
1427
1194
  cookie?: never;
1428
1195
  };
1429
- requestBody?: never;
1430
- responses: {
1431
- /** @description Contact */
1432
- 200: {
1433
- headers: {
1434
- [name: string]: unknown;
1435
- };
1436
- content: {
1437
- "application/json": components["schemas"]["Contact"];
1438
- };
1439
- };
1440
- };
1441
- };
1442
- "contact/update": {
1443
- parameters: {
1444
- query?: never;
1445
- header?: never;
1446
- path: {
1447
- id: string;
1448
- };
1449
- cookie?: never;
1450
- };
1451
- requestBody?: {
1196
+ requestBody: {
1452
1197
  content: {
1453
- "application/json": components["schemas"]["ContactUpdate"];
1454
- };
1455
- };
1456
- responses: {
1457
- /** @description Contact */
1458
- 200: {
1459
- headers: {
1460
- [name: string]: unknown;
1461
- };
1462
- content: {
1463
- "application/json": components["schemas"]["Contact"];
1464
- };
1465
- };
1466
- };
1467
- };
1468
- "contact/remove": {
1469
- parameters: {
1470
- query?: never;
1471
- header?: never;
1472
- path: {
1473
- id: string;
1198
+ "application/json": components["schemas"]["ProjectInvite"];
1474
1199
  };
1475
- cookie?: never;
1476
1200
  };
1477
- requestBody?: never;
1478
1201
  responses: {
1479
- /** @description Contact */
1202
+ /** @description Project */
1480
1203
  200: {
1481
1204
  headers: {
1482
1205
  [name: string]: unknown;
1483
1206
  };
1484
1207
  content: {
1485
- "application/json": components["schemas"]["Contact"];
1208
+ "application/json": components["schemas"]["Project"];
1486
1209
  };
1487
1210
  };
1488
1211
  };
1489
1212
  };
1490
- "apikey/list": {
1213
+ "project/list": {
1491
1214
  parameters: {
1492
1215
  query?: {
1493
1216
  /** @description Start from this cursor */
@@ -1517,19 +1240,17 @@ export interface operations {
1517
1240
  next: string | null;
1518
1241
  /** @description list of results */
1519
1242
  results: {
1520
- /** @description ApiKey ID */
1243
+ /** @description Project ID */
1521
1244
  id: string;
1245
+ name: string;
1246
+ description: string;
1247
+ slug: string;
1522
1248
  team: string;
1523
- apikey: string;
1524
- user_id: string;
1525
- description?: string;
1526
- /** @default {} */
1527
- metadata: {
1528
- [key: string]: unknown;
1529
- };
1530
- /** @description ApiKey creation time */
1249
+ user_id?: string;
1250
+ collaborators: string[];
1251
+ /** @description Project creation time */
1531
1252
  createdAt: string;
1532
- /** @description ApiKey update time */
1253
+ /** @description Project update time */
1533
1254
  updatedAt: string;
1534
1255
  }[];
1535
1256
  };
@@ -1537,31 +1258,31 @@ export interface operations {
1537
1258
  };
1538
1259
  };
1539
1260
  };
1540
- "apikey/create": {
1261
+ "project/create": {
1541
1262
  parameters: {
1542
1263
  query?: never;
1543
1264
  header?: never;
1544
1265
  path?: never;
1545
1266
  cookie?: never;
1546
1267
  };
1547
- requestBody?: {
1268
+ requestBody: {
1548
1269
  content: {
1549
- "application/json": components["schemas"]["ApiKeyCreate"];
1270
+ "application/json": components["schemas"]["ProjectCreate"];
1550
1271
  };
1551
1272
  };
1552
1273
  responses: {
1553
- /** @description ApiKey */
1274
+ /** @description Project */
1554
1275
  201: {
1555
1276
  headers: {
1556
1277
  [name: string]: unknown;
1557
1278
  };
1558
1279
  content: {
1559
- "application/json": components["schemas"]["ApiKey"];
1280
+ "application/json": components["schemas"]["Project"];
1560
1281
  };
1561
1282
  };
1562
1283
  };
1563
1284
  };
1564
- "apikey/get": {
1285
+ "project/get": {
1565
1286
  parameters: {
1566
1287
  query?: never;
1567
1288
  header?: never;
@@ -1572,18 +1293,31 @@ export interface operations {
1572
1293
  };
1573
1294
  requestBody?: never;
1574
1295
  responses: {
1575
- /** @description ApiKey */
1296
+ /** @description Project */
1576
1297
  200: {
1577
1298
  headers: {
1578
1299
  [name: string]: unknown;
1579
1300
  };
1580
1301
  content: {
1581
- "application/json": components["schemas"]["ApiKey"];
1302
+ "application/json": {
1303
+ /** @description Project ID */
1304
+ id: string;
1305
+ name: string;
1306
+ description: string;
1307
+ slug: string;
1308
+ team: string;
1309
+ user_id?: string;
1310
+ collaborators: string[];
1311
+ /** @description Project creation time */
1312
+ createdAt: string;
1313
+ /** @description Project update time */
1314
+ updatedAt: string;
1315
+ };
1582
1316
  };
1583
1317
  };
1584
1318
  };
1585
1319
  };
1586
- "apikey/update": {
1320
+ "project/update": {
1587
1321
  parameters: {
1588
1322
  query?: never;
1589
1323
  header?: never;
@@ -1592,24 +1326,24 @@ export interface operations {
1592
1326
  };
1593
1327
  cookie?: never;
1594
1328
  };
1595
- requestBody?: {
1329
+ requestBody: {
1596
1330
  content: {
1597
- "application/json": components["schemas"]["ApiKeyUpdate"];
1331
+ "application/json": components["schemas"]["ProjectUpdate"];
1598
1332
  };
1599
1333
  };
1600
1334
  responses: {
1601
- /** @description ApiKey */
1335
+ /** @description Project */
1602
1336
  200: {
1603
1337
  headers: {
1604
1338
  [name: string]: unknown;
1605
1339
  };
1606
1340
  content: {
1607
- "application/json": components["schemas"]["ApiKey"];
1341
+ "application/json": components["schemas"]["Project"];
1608
1342
  };
1609
1343
  };
1610
1344
  };
1611
1345
  };
1612
- "apikey/remove": {
1346
+ "project/remove": {
1613
1347
  parameters: {
1614
1348
  query?: never;
1615
1349
  header?: never;
@@ -1620,38 +1354,14 @@ export interface operations {
1620
1354
  };
1621
1355
  requestBody?: never;
1622
1356
  responses: {
1623
- /** @description ApiKey */
1357
+ /** @description Project */
1624
1358
  200: {
1625
1359
  headers: {
1626
1360
  [name: string]: unknown;
1627
1361
  };
1628
- content: {
1629
- "application/json": components["schemas"]["ApiKey"];
1630
- };
1631
- };
1632
- };
1633
- };
1634
- "status/update": {
1635
- parameters: {
1636
- query?: never;
1637
- header?: never;
1638
- path: {
1639
- related_id: string;
1640
- };
1641
- cookie?: never;
1642
- };
1643
- requestBody?: {
1644
- content: {
1645
- "application/json": components["schemas"]["StatusUpdate"];
1646
- };
1647
- };
1648
- responses: {
1649
- /** @description Default Response */
1650
- 200: {
1651
- headers: {
1652
- [name: string]: unknown;
1362
+ content: {
1363
+ "application/json": components["schemas"]["Project"];
1653
1364
  };
1654
- content?: never;
1655
1365
  };
1656
1366
  };
1657
1367
  };
@@ -1697,9 +1407,15 @@ export interface operations {
1697
1407
  runtime_strategy: ("next" | "wordpress") | null;
1698
1408
  /** @description Faable instance types comprise varying combinations of CPU, memory, storage, and networking capacity. */
1699
1409
  instance_type: string;
1700
- /** @description Deploy region */
1701
- region: string;
1410
+ /**
1411
+ * @description High-level summary of where the Database is in its lifecycle
1412
+ * @default UNKNOWN
1413
+ */
1414
+ region: "gui1" | "poz1" | "ams1";
1702
1415
  status: components["schemas"]["AppStatus"];
1416
+ repository?: string;
1417
+ github_branch?: string;
1418
+ github_installation_id?: string;
1703
1419
  /** @default {} */
1704
1420
  metadata: {
1705
1421
  [key: string]: unknown;
@@ -1721,7 +1437,7 @@ export interface operations {
1721
1437
  path?: never;
1722
1438
  cookie?: never;
1723
1439
  };
1724
- requestBody?: {
1440
+ requestBody: {
1725
1441
  content: {
1726
1442
  "application/json": components["schemas"]["AppCreate"];
1727
1443
  };
@@ -1755,7 +1471,37 @@ export interface operations {
1755
1471
  [name: string]: unknown;
1756
1472
  };
1757
1473
  content: {
1758
- "application/json": components["schemas"]["App"];
1474
+ "application/json": {
1475
+ /** @description App ID */
1476
+ id: string;
1477
+ team: string;
1478
+ name: string;
1479
+ description: string;
1480
+ slug: string;
1481
+ url: string;
1482
+ active: boolean;
1483
+ runtime: components["schemas"]["AppRuntime"];
1484
+ runtime_strategy: ("next" | "wordpress") | null;
1485
+ /** @description Faable instance types comprise varying combinations of CPU, memory, storage, and networking capacity. */
1486
+ instance_type: string;
1487
+ /**
1488
+ * @description High-level summary of where the Database is in its lifecycle
1489
+ * @default UNKNOWN
1490
+ */
1491
+ region: "gui1" | "poz1" | "ams1";
1492
+ status: components["schemas"]["AppStatus"];
1493
+ repository?: string;
1494
+ github_branch?: string;
1495
+ github_installation_id?: string;
1496
+ /** @default {} */
1497
+ metadata: {
1498
+ [key: string]: unknown;
1499
+ };
1500
+ /** @description App creation time */
1501
+ createdAt: string;
1502
+ /** @description App update time */
1503
+ updatedAt: string;
1504
+ };
1759
1505
  };
1760
1506
  };
1761
1507
  };
@@ -1769,7 +1515,7 @@ export interface operations {
1769
1515
  };
1770
1516
  cookie?: never;
1771
1517
  };
1772
- requestBody?: {
1518
+ requestBody: {
1773
1519
  content: {
1774
1520
  "application/json": components["schemas"]["AppUpdate"];
1775
1521
  };
@@ -1959,7 +1705,9 @@ export interface operations {
1959
1705
  id: string;
1960
1706
  team: string;
1961
1707
  app_id: string;
1962
- image: string;
1708
+ image?: string;
1709
+ github_commit?: string;
1710
+ github_ref?: string;
1963
1711
  status: components["schemas"]["DeploymentStatus"];
1964
1712
  /** @default {} */
1965
1713
  metadata: {
@@ -1975,75 +1723,388 @@ export interface operations {
1975
1723
  };
1976
1724
  };
1977
1725
  };
1978
- "deployment/create": {
1726
+ "deployment/create": {
1727
+ parameters: {
1728
+ query?: never;
1729
+ header?: never;
1730
+ path?: never;
1731
+ cookie?: never;
1732
+ };
1733
+ requestBody: {
1734
+ content: {
1735
+ "application/json": components["schemas"]["DeploymentCreate"];
1736
+ };
1737
+ };
1738
+ responses: {
1739
+ /** @description Deployment */
1740
+ 201: {
1741
+ headers: {
1742
+ [name: string]: unknown;
1743
+ };
1744
+ content: {
1745
+ "application/json": components["schemas"]["Deployment"];
1746
+ };
1747
+ };
1748
+ };
1749
+ };
1750
+ "deployment/get": {
1751
+ parameters: {
1752
+ query?: never;
1753
+ header?: never;
1754
+ path: {
1755
+ id: string;
1756
+ };
1757
+ cookie?: never;
1758
+ };
1759
+ requestBody?: never;
1760
+ responses: {
1761
+ /** @description Deployment */
1762
+ 200: {
1763
+ headers: {
1764
+ [name: string]: unknown;
1765
+ };
1766
+ content: {
1767
+ "application/json": {
1768
+ /** @description Deployment ID */
1769
+ id: string;
1770
+ team: string;
1771
+ app_id: string;
1772
+ image?: string;
1773
+ github_commit?: string;
1774
+ github_ref?: string;
1775
+ status: components["schemas"]["DeploymentStatus"];
1776
+ /** @default {} */
1777
+ metadata: {
1778
+ [key: string]: unknown;
1779
+ };
1780
+ /** @description Deployment creation time */
1781
+ createdAt: string;
1782
+ /** @description Deployment update time */
1783
+ updatedAt: string;
1784
+ };
1785
+ };
1786
+ };
1787
+ };
1788
+ };
1789
+ "deployment/remove": {
1790
+ parameters: {
1791
+ query?: never;
1792
+ header?: never;
1793
+ path: {
1794
+ id: string;
1795
+ };
1796
+ cookie?: never;
1797
+ };
1798
+ requestBody?: never;
1799
+ responses: {
1800
+ /** @description Deployment */
1801
+ 200: {
1802
+ headers: {
1803
+ [name: string]: unknown;
1804
+ };
1805
+ content: {
1806
+ "application/json": components["schemas"]["Deployment"];
1807
+ };
1808
+ };
1809
+ };
1810
+ };
1811
+ "domain/list": {
1812
+ parameters: {
1813
+ query?: {
1814
+ /** @description Start from this cursor */
1815
+ cursor?: string;
1816
+ /** @description Start from this cursor */
1817
+ next?: string;
1818
+ /** @description Size of the results array */
1819
+ pageSize?: number;
1820
+ };
1821
+ header?: never;
1822
+ path?: never;
1823
+ cookie?: never;
1824
+ };
1825
+ requestBody?: never;
1826
+ responses: {
1827
+ /** @description PaginatedResponse */
1828
+ 200: {
1829
+ headers: {
1830
+ [name: string]: unknown;
1831
+ };
1832
+ content: {
1833
+ "application/json": {
1834
+ /**
1835
+ * @description next cursor
1836
+ * @default null
1837
+ */
1838
+ next: string | null;
1839
+ /** @description list of results */
1840
+ results: {
1841
+ /** @description Domain ID */
1842
+ id: string;
1843
+ team: string;
1844
+ /** @description Unique identifier of the domain */
1845
+ fqdn: string;
1846
+ /** @description TLS is enabled for this domain */
1847
+ tls: boolean;
1848
+ /**
1849
+ * @description Linked App
1850
+ * @default null
1851
+ */
1852
+ app_id: string | null;
1853
+ /** @description If the domain has the ownership verified */
1854
+ verified: boolean;
1855
+ active: boolean;
1856
+ /** @default {} */
1857
+ metadata: {
1858
+ [key: string]: unknown;
1859
+ };
1860
+ /** @description Domain creation time */
1861
+ createdAt: string;
1862
+ /** @description Domain update time */
1863
+ updatedAt: string;
1864
+ }[];
1865
+ };
1866
+ };
1867
+ };
1868
+ };
1869
+ };
1870
+ "domain/create": {
1871
+ parameters: {
1872
+ query?: never;
1873
+ header?: never;
1874
+ path?: never;
1875
+ cookie?: never;
1876
+ };
1877
+ requestBody: {
1878
+ content: {
1879
+ "application/json": components["schemas"]["DomainCreate"];
1880
+ };
1881
+ };
1882
+ responses: {
1883
+ /** @description Domain */
1884
+ 201: {
1885
+ headers: {
1886
+ [name: string]: unknown;
1887
+ };
1888
+ content: {
1889
+ "application/json": components["schemas"]["Domain"];
1890
+ };
1891
+ };
1892
+ };
1893
+ };
1894
+ "domain/get": {
1895
+ parameters: {
1896
+ query?: never;
1897
+ header?: never;
1898
+ path: {
1899
+ id: string;
1900
+ };
1901
+ cookie?: never;
1902
+ };
1903
+ requestBody?: never;
1904
+ responses: {
1905
+ /** @description Domain */
1906
+ 200: {
1907
+ headers: {
1908
+ [name: string]: unknown;
1909
+ };
1910
+ content: {
1911
+ "application/json": {
1912
+ /** @description Domain ID */
1913
+ id: string;
1914
+ team: string;
1915
+ /** @description Unique identifier of the domain */
1916
+ fqdn: string;
1917
+ /** @description TLS is enabled for this domain */
1918
+ tls: boolean;
1919
+ /**
1920
+ * @description Linked App
1921
+ * @default null
1922
+ */
1923
+ app_id: string | null;
1924
+ /** @description If the domain has the ownership verified */
1925
+ verified: boolean;
1926
+ active: boolean;
1927
+ /** @default {} */
1928
+ metadata: {
1929
+ [key: string]: unknown;
1930
+ };
1931
+ /** @description Domain creation time */
1932
+ createdAt: string;
1933
+ /** @description Domain update time */
1934
+ updatedAt: string;
1935
+ };
1936
+ };
1937
+ };
1938
+ };
1939
+ };
1940
+ "domain/update": {
1941
+ parameters: {
1942
+ query?: never;
1943
+ header?: never;
1944
+ path: {
1945
+ id: string;
1946
+ };
1947
+ cookie?: never;
1948
+ };
1949
+ requestBody: {
1950
+ content: {
1951
+ "application/json": components["schemas"]["DomainUpdate"];
1952
+ };
1953
+ };
1954
+ responses: {
1955
+ /** @description Domain */
1956
+ 200: {
1957
+ headers: {
1958
+ [name: string]: unknown;
1959
+ };
1960
+ content: {
1961
+ "application/json": components["schemas"]["Domain"];
1962
+ };
1963
+ };
1964
+ };
1965
+ };
1966
+ "domain/remove": {
1967
+ parameters: {
1968
+ query?: never;
1969
+ header?: never;
1970
+ path: {
1971
+ id: string;
1972
+ };
1973
+ cookie?: never;
1974
+ };
1975
+ requestBody?: never;
1976
+ responses: {
1977
+ /** @description Domain */
1978
+ 200: {
1979
+ headers: {
1980
+ [name: string]: unknown;
1981
+ };
1982
+ content: {
1983
+ "application/json": components["schemas"]["Domain"];
1984
+ };
1985
+ };
1986
+ };
1987
+ };
1988
+ "domain/fqdn": {
1989
+ parameters: {
1990
+ query?: never;
1991
+ header?: never;
1992
+ path: {
1993
+ fqdn: string;
1994
+ };
1995
+ cookie?: never;
1996
+ };
1997
+ requestBody?: never;
1998
+ responses: {
1999
+ /** @description Domain */
2000
+ 200: {
2001
+ headers: {
2002
+ [name: string]: unknown;
2003
+ };
2004
+ content: {
2005
+ "application/json": components["schemas"]["Domain"];
2006
+ };
2007
+ };
2008
+ };
2009
+ };
2010
+ "secrets/upsert": {
1979
2011
  parameters: {
1980
2012
  query?: never;
1981
2013
  header?: never;
1982
2014
  path?: never;
1983
2015
  cookie?: never;
1984
2016
  };
1985
- requestBody?: {
2017
+ requestBody: {
1986
2018
  content: {
1987
- "application/json": components["schemas"]["DeploymentCreate"];
2019
+ "application/json": components["schemas"]["SecretUpsert"];
1988
2020
  };
1989
2021
  };
1990
2022
  responses: {
1991
- /** @description Deployment */
1992
- 201: {
2023
+ /** @description Secret */
2024
+ 200: {
1993
2025
  headers: {
1994
2026
  [name: string]: unknown;
1995
2027
  };
1996
2028
  content: {
1997
- "application/json": components["schemas"]["Deployment"];
2029
+ "application/json": components["schemas"]["Secret"];
1998
2030
  };
1999
2031
  };
2000
2032
  };
2001
2033
  };
2002
- "deployment/get": {
2034
+ "secrets/list_app": {
2003
2035
  parameters: {
2004
- query?: never;
2036
+ query?: {
2037
+ /** @description Start from this cursor */
2038
+ cursor?: string;
2039
+ /** @description Start from this cursor */
2040
+ next?: string;
2041
+ /** @description Size of the results array */
2042
+ pageSize?: number;
2043
+ };
2005
2044
  header?: never;
2006
2045
  path: {
2007
- id: string;
2046
+ context_id: string;
2008
2047
  };
2009
2048
  cookie?: never;
2010
2049
  };
2011
2050
  requestBody?: never;
2012
2051
  responses: {
2013
- /** @description Deployment */
2052
+ /** @description PaginatedResponse */
2014
2053
  200: {
2015
2054
  headers: {
2016
2055
  [name: string]: unknown;
2017
2056
  };
2018
2057
  content: {
2019
- "application/json": components["schemas"]["Deployment"];
2058
+ "application/json": components["schemas"]["SecretPage"];
2020
2059
  };
2021
2060
  };
2022
2061
  };
2023
2062
  };
2024
- "deployment/remove": {
2063
+ "secrets/delete": {
2025
2064
  parameters: {
2026
2065
  query?: never;
2027
2066
  header?: never;
2028
2067
  path: {
2029
- id: string;
2068
+ secret_id: string;
2030
2069
  };
2031
2070
  cookie?: never;
2032
2071
  };
2033
2072
  requestBody?: never;
2034
2073
  responses: {
2035
- /** @description Deployment */
2074
+ /** @description Default Response */
2036
2075
  200: {
2076
+ headers: {
2077
+ [name: string]: unknown;
2078
+ };
2079
+ content?: never;
2080
+ };
2081
+ };
2082
+ };
2083
+ "secrets/create_batch": {
2084
+ parameters: {
2085
+ query?: never;
2086
+ header?: never;
2087
+ path?: never;
2088
+ cookie?: never;
2089
+ };
2090
+ requestBody: {
2091
+ content: {
2092
+ "application/json": components["schemas"]["SecretCreateBatch"];
2093
+ };
2094
+ };
2095
+ responses: {
2096
+ /** @description Default Response */
2097
+ 201: {
2037
2098
  headers: {
2038
2099
  [name: string]: unknown;
2039
2100
  };
2040
2101
  content: {
2041
- "application/json": components["schemas"]["Deployment"];
2102
+ "application/json": components["schemas"]["Secret"][];
2042
2103
  };
2043
2104
  };
2044
2105
  };
2045
2106
  };
2046
- "volume/list": {
2107
+ "contact/list": {
2047
2108
  parameters: {
2048
2109
  query?: {
2049
2110
  /** @description Start from this cursor */
@@ -2073,31 +2134,19 @@ export interface operations {
2073
2134
  next: string | null;
2074
2135
  /** @description list of results */
2075
2136
  results: {
2137
+ /** @description Contact ID */
2076
2138
  id: string;
2077
2139
  team: string;
2078
- name: string;
2079
- description: string;
2080
- slug: string;
2081
- /**
2082
- * @description App which has this volume mounted
2083
- * @default null
2084
- */
2085
- app_id: string | null;
2086
- /** @description The size of the block storage volume in GiB */
2087
- size_gb: number;
2088
- /** @description Region where is deployed */
2089
- region: string;
2090
- /** @description State */
2091
- status: "pending" | "ready";
2092
- /** @description User creator of this volume */
2093
- creator: string;
2140
+ contact_type: "primary" | "technical" | "security" | "emergency" | "billing";
2141
+ email?: string;
2142
+ phone?: string;
2094
2143
  /** @default {} */
2095
2144
  metadata: {
2096
2145
  [key: string]: unknown;
2097
2146
  };
2098
- /** @description Volume creation time */
2147
+ /** @description Contact creation time */
2099
2148
  createdAt: string;
2100
- /** @description Volume update time */
2149
+ /** @description Contact update time */
2101
2150
  updatedAt: string;
2102
2151
  }[];
2103
2152
  };
@@ -2105,31 +2154,31 @@ export interface operations {
2105
2154
  };
2106
2155
  };
2107
2156
  };
2108
- "volume/create": {
2157
+ "contact/create": {
2109
2158
  parameters: {
2110
2159
  query?: never;
2111
2160
  header?: never;
2112
2161
  path?: never;
2113
2162
  cookie?: never;
2114
2163
  };
2115
- requestBody?: {
2164
+ requestBody: {
2116
2165
  content: {
2117
- "application/json": components["schemas"]["VolumeCreate"];
2166
+ "application/json": components["schemas"]["ContactCreate"];
2118
2167
  };
2119
2168
  };
2120
2169
  responses: {
2121
- /** @description Volume */
2170
+ /** @description Contact */
2122
2171
  201: {
2123
2172
  headers: {
2124
2173
  [name: string]: unknown;
2125
2174
  };
2126
2175
  content: {
2127
- "application/json": components["schemas"]["Volume"];
2176
+ "application/json": components["schemas"]["Contact"];
2128
2177
  };
2129
2178
  };
2130
2179
  };
2131
2180
  };
2132
- "volume/get": {
2181
+ "contact/get": {
2133
2182
  parameters: {
2134
2183
  query?: never;
2135
2184
  header?: never;
@@ -2140,18 +2189,33 @@ export interface operations {
2140
2189
  };
2141
2190
  requestBody?: never;
2142
2191
  responses: {
2143
- /** @description Volume */
2192
+ /** @description Contact */
2144
2193
  200: {
2145
2194
  headers: {
2146
2195
  [name: string]: unknown;
2147
2196
  };
2148
2197
  content: {
2149
- "application/json": components["schemas"]["Volume"];
2198
+ "application/json": {
2199
+ /** @description Contact ID */
2200
+ id: string;
2201
+ team: string;
2202
+ contact_type: "primary" | "technical" | "security" | "emergency" | "billing";
2203
+ email?: string;
2204
+ phone?: string;
2205
+ /** @default {} */
2206
+ metadata: {
2207
+ [key: string]: unknown;
2208
+ };
2209
+ /** @description Contact creation time */
2210
+ createdAt: string;
2211
+ /** @description Contact update time */
2212
+ updatedAt: string;
2213
+ };
2150
2214
  };
2151
2215
  };
2152
2216
  };
2153
2217
  };
2154
- "volume/update": {
2218
+ "contact/update": {
2155
2219
  parameters: {
2156
2220
  query?: never;
2157
2221
  header?: never;
@@ -2160,24 +2224,24 @@ export interface operations {
2160
2224
  };
2161
2225
  cookie?: never;
2162
2226
  };
2163
- requestBody?: {
2227
+ requestBody: {
2164
2228
  content: {
2165
- "application/json": components["schemas"]["VolumeUpdate"];
2229
+ "application/json": components["schemas"]["ContactUpdate"];
2166
2230
  };
2167
2231
  };
2168
2232
  responses: {
2169
- /** @description Volume */
2233
+ /** @description Contact */
2170
2234
  200: {
2171
2235
  headers: {
2172
2236
  [name: string]: unknown;
2173
2237
  };
2174
2238
  content: {
2175
- "application/json": components["schemas"]["Volume"];
2239
+ "application/json": components["schemas"]["Contact"];
2176
2240
  };
2177
2241
  };
2178
2242
  };
2179
2243
  };
2180
- "volume/remove": {
2244
+ "contact/remove": {
2181
2245
  parameters: {
2182
2246
  query?: never;
2183
2247
  header?: never;
@@ -2188,18 +2252,18 @@ export interface operations {
2188
2252
  };
2189
2253
  requestBody?: never;
2190
2254
  responses: {
2191
- /** @description Volume */
2255
+ /** @description Contact */
2192
2256
  200: {
2193
2257
  headers: {
2194
2258
  [name: string]: unknown;
2195
2259
  };
2196
2260
  content: {
2197
- "application/json": components["schemas"]["Volume"];
2261
+ "application/json": components["schemas"]["Contact"];
2198
2262
  };
2199
2263
  };
2200
2264
  };
2201
2265
  };
2202
- "domain/list": {
2266
+ "apikey/list": {
2203
2267
  parameters: {
2204
2268
  query?: {
2205
2269
  /** @description Start from this cursor */
@@ -2229,27 +2293,20 @@ export interface operations {
2229
2293
  next: string | null;
2230
2294
  /** @description list of results */
2231
2295
  results: {
2232
- /** @description Domain ID */
2296
+ /** @description ApiKey ID */
2233
2297
  id: string;
2234
2298
  team: string;
2235
- /** @description Unique identifier of the domain */
2236
- fqdn: string;
2237
- /** @description TLS is enabled for this domain */
2238
- tls: boolean;
2239
- /**
2240
- * @description Linked App
2241
- * @default null
2242
- */
2243
- app_id: string | null;
2244
- /** @description If the domain has the ownership verified */
2245
- verified: boolean;
2299
+ apikey: string;
2300
+ user_id: string;
2301
+ description?: string;
2302
+ scopes?: string[];
2246
2303
  /** @default {} */
2247
2304
  metadata: {
2248
2305
  [key: string]: unknown;
2249
2306
  };
2250
- /** @description Domain creation time */
2307
+ /** @description ApiKey creation time */
2251
2308
  createdAt: string;
2252
- /** @description Domain update time */
2309
+ /** @description ApiKey update time */
2253
2310
  updatedAt: string;
2254
2311
  }[];
2255
2312
  };
@@ -2257,31 +2314,31 @@ export interface operations {
2257
2314
  };
2258
2315
  };
2259
2316
  };
2260
- "domain/create": {
2317
+ "apikey/create": {
2261
2318
  parameters: {
2262
2319
  query?: never;
2263
2320
  header?: never;
2264
2321
  path?: never;
2265
2322
  cookie?: never;
2266
2323
  };
2267
- requestBody?: {
2324
+ requestBody: {
2268
2325
  content: {
2269
- "application/json": components["schemas"]["DomainCreate"];
2326
+ "application/json": components["schemas"]["ApiKeyCreate"];
2270
2327
  };
2271
2328
  };
2272
2329
  responses: {
2273
- /** @description Domain */
2330
+ /** @description ApiKey */
2274
2331
  201: {
2275
2332
  headers: {
2276
2333
  [name: string]: unknown;
2277
2334
  };
2278
2335
  content: {
2279
- "application/json": components["schemas"]["Domain"];
2336
+ "application/json": components["schemas"]["ApiKey"];
2280
2337
  };
2281
2338
  };
2282
2339
  };
2283
2340
  };
2284
- "domain/get": {
2341
+ "apikey/get": {
2285
2342
  parameters: {
2286
2343
  query?: never;
2287
2344
  header?: never;
@@ -2292,18 +2349,34 @@ export interface operations {
2292
2349
  };
2293
2350
  requestBody?: never;
2294
2351
  responses: {
2295
- /** @description Domain */
2352
+ /** @description ApiKey */
2296
2353
  200: {
2297
2354
  headers: {
2298
2355
  [name: string]: unknown;
2299
2356
  };
2300
2357
  content: {
2301
- "application/json": components["schemas"]["Domain"];
2358
+ "application/json": {
2359
+ /** @description ApiKey ID */
2360
+ id: string;
2361
+ team: string;
2362
+ apikey: string;
2363
+ user_id: string;
2364
+ description?: string;
2365
+ scopes?: string[];
2366
+ /** @default {} */
2367
+ metadata: {
2368
+ [key: string]: unknown;
2369
+ };
2370
+ /** @description ApiKey creation time */
2371
+ createdAt: string;
2372
+ /** @description ApiKey update time */
2373
+ updatedAt: string;
2374
+ };
2302
2375
  };
2303
2376
  };
2304
2377
  };
2305
2378
  };
2306
- "domain/update": {
2379
+ "apikey/update": {
2307
2380
  parameters: {
2308
2381
  query?: never;
2309
2382
  header?: never;
@@ -2312,24 +2385,24 @@ export interface operations {
2312
2385
  };
2313
2386
  cookie?: never;
2314
2387
  };
2315
- requestBody?: {
2388
+ requestBody: {
2316
2389
  content: {
2317
- "application/json": components["schemas"]["DomainUpdate"];
2390
+ "application/json": components["schemas"]["ApiKeyUpdate"];
2318
2391
  };
2319
2392
  };
2320
2393
  responses: {
2321
- /** @description Domain */
2394
+ /** @description ApiKey */
2322
2395
  200: {
2323
2396
  headers: {
2324
2397
  [name: string]: unknown;
2325
2398
  };
2326
2399
  content: {
2327
- "application/json": components["schemas"]["Domain"];
2400
+ "application/json": components["schemas"]["ApiKey"];
2328
2401
  };
2329
2402
  };
2330
2403
  };
2331
2404
  };
2332
- "domain/remove": {
2405
+ "apikey/remove": {
2333
2406
  parameters: {
2334
2407
  query?: never;
2335
2408
  header?: never;
@@ -2340,99 +2413,58 @@ export interface operations {
2340
2413
  };
2341
2414
  requestBody?: never;
2342
2415
  responses: {
2343
- /** @description Domain */
2416
+ /** @description ApiKey */
2344
2417
  200: {
2345
2418
  headers: {
2346
2419
  [name: string]: unknown;
2347
2420
  };
2348
2421
  content: {
2349
- "application/json": components["schemas"]["Domain"];
2422
+ "application/json": components["schemas"]["ApiKey"];
2350
2423
  };
2351
2424
  };
2352
2425
  };
2353
2426
  };
2354
- "domain/fqdn": {
2427
+ "status/update": {
2355
2428
  parameters: {
2356
2429
  query?: never;
2357
2430
  header?: never;
2358
2431
  path: {
2359
- fqdn: string;
2360
- };
2361
- cookie?: never;
2362
- };
2363
- requestBody?: never;
2364
- responses: {
2365
- /** @description Domain */
2366
- 200: {
2367
- headers: {
2368
- [name: string]: unknown;
2369
- };
2370
- content: {
2371
- "application/json": components["schemas"]["Domain"];
2372
- };
2432
+ related_id: string;
2373
2433
  };
2374
- };
2375
- };
2376
- "secrets/upsert": {
2377
- parameters: {
2378
- query?: never;
2379
- header?: never;
2380
- path?: never;
2381
2434
  cookie?: never;
2382
2435
  };
2383
- requestBody?: {
2436
+ requestBody: {
2384
2437
  content: {
2385
- "application/json": components["schemas"]["SecretUpsert"];
2438
+ "application/json": components["schemas"]["StatusUpdate"];
2386
2439
  };
2387
2440
  };
2388
2441
  responses: {
2389
- /** @description Secret */
2442
+ /** @description Default Response */
2390
2443
  200: {
2391
2444
  headers: {
2392
2445
  [name: string]: unknown;
2393
2446
  };
2394
- content: {
2395
- "application/json": components["schemas"]["Secret"];
2396
- };
2447
+ content?: never;
2397
2448
  };
2398
2449
  };
2399
2450
  };
2400
- "secrets/list_app": {
2451
+ "statistics/get": {
2401
2452
  parameters: {
2402
- query?: {
2403
- /** @description Start from this cursor */
2404
- cursor?: string;
2405
- /** @description Start from this cursor */
2406
- next?: string;
2407
- /** @description Size of the results array */
2408
- pageSize?: number;
2409
- };
2453
+ query?: never;
2410
2454
  header?: never;
2411
- path: {
2412
- context_id: string;
2413
- };
2455
+ path?: never;
2414
2456
  cookie?: never;
2415
2457
  };
2416
2458
  requestBody?: never;
2417
- responses: {
2418
- /** @description PaginatedResponse */
2419
- 200: {
2420
- headers: {
2421
- [name: string]: unknown;
2422
- };
2423
- content: {
2424
- "application/json": components["schemas"]["SecretPage"];
2425
- };
2426
- };
2427
- };
2459
+ responses: never;
2428
2460
  };
2429
- "secrets/delete": {
2461
+ "users/billing_portal": {
2430
2462
  parameters: {
2431
- query?: never;
2432
- header?: never;
2433
- path: {
2434
- secret_id: string;
2463
+ query: {
2464
+ return_to: string;
2435
2465
  };
2466
+ header?: never;
2467
+ path?: never;
2436
2468
  cookie?: never;
2437
2469
  };
2438
2470
  requestBody?: never;
@@ -2446,31 +2478,7 @@ export interface operations {
2446
2478
  };
2447
2479
  };
2448
2480
  };
2449
- "secrets/create_batch": {
2450
- parameters: {
2451
- query?: never;
2452
- header?: never;
2453
- path?: never;
2454
- cookie?: never;
2455
- };
2456
- requestBody?: {
2457
- content: {
2458
- "application/json": components["schemas"]["SecretCreateBatch"];
2459
- };
2460
- };
2461
- responses: {
2462
- /** @description Default Response */
2463
- 201: {
2464
- headers: {
2465
- [name: string]: unknown;
2466
- };
2467
- content: {
2468
- "application/json": components["schemas"]["Secret"][];
2469
- };
2470
- };
2471
- };
2472
- };
2473
- "statistics/get": {
2481
+ "users/payment_methods": {
2474
2482
  parameters: {
2475
2483
  query?: never;
2476
2484
  header?: never;
@@ -2478,18 +2486,6 @@ export interface operations {
2478
2486
  cookie?: never;
2479
2487
  };
2480
2488
  requestBody?: never;
2481
- responses: never;
2482
- };
2483
- "users/billing_portal": {
2484
- parameters: {
2485
- query: {
2486
- return_to: string;
2487
- };
2488
- header?: never;
2489
- path?: never;
2490
- cookie?: never;
2491
- };
2492
- requestBody?: never;
2493
2489
  responses: {
2494
2490
  /** @description Default Response */
2495
2491
  200: {
@@ -2500,7 +2496,7 @@ export interface operations {
2500
2496
  };
2501
2497
  };
2502
2498
  };
2503
- "users/payment_methods": {
2499
+ "users/setup_intent": {
2504
2500
  parameters: {
2505
2501
  query?: never;
2506
2502
  header?: never;
@@ -2518,7 +2514,7 @@ export interface operations {
2518
2514
  };
2519
2515
  };
2520
2516
  };
2521
- "users/setup_intent": {
2517
+ "users/list_invoices": {
2522
2518
  parameters: {
2523
2519
  query?: never;
2524
2520
  header?: never;
@@ -2536,14 +2532,22 @@ export interface operations {
2536
2532
  };
2537
2533
  };
2538
2534
  };
2539
- "users/list_invoices": {
2535
+ "auth/github_oidc": {
2540
2536
  parameters: {
2541
2537
  query?: never;
2542
2538
  header?: never;
2543
2539
  path?: never;
2544
2540
  cookie?: never;
2545
2541
  };
2546
- requestBody?: never;
2542
+ requestBody: {
2543
+ content: {
2544
+ "application/json": {
2545
+ token: string;
2546
+ /** @description Explicitly select wich app to deploy when multiple apps are linked to the same github repository */
2547
+ app_id?: string;
2548
+ };
2549
+ };
2550
+ };
2547
2551
  responses: {
2548
2552
  /** @description Default Response */
2549
2553
  200: {