@faable/deploy-sdk 1.0.12 → 1.0.14

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 */
@@ -1170,24 +1022,136 @@ export interface components {
1170
1022
  SecretCreateBatch: {
1171
1023
  context_id: string;
1172
1024
  secrets: {
1025
+ /** @description Secret name */
1173
1026
  name: string;
1027
+ /** @description Secret value */
1174
1028
  value: string;
1175
1029
  }[];
1176
1030
  };
1177
1031
  /** @description Upsert Secret */
1178
1032
  SecretUpsert: {
1179
1033
  app_id: string;
1034
+ /** @description Secret name */
1180
1035
  name: string;
1036
+ /** @description Secret value */
1181
1037
  value: string;
1182
1038
  };
1183
- /** @description Update Status */
1184
- StatusUpdate: {
1185
- [key: string]: unknown;
1039
+ /** @description Contact */
1040
+ Contact: {
1041
+ /** @description Contact ID */
1042
+ id: string;
1043
+ team: string;
1044
+ contact_type: "primary" | "technical" | "security" | "emergency" | "billing";
1045
+ email?: string;
1046
+ phone?: string;
1047
+ /** @default {} */
1048
+ metadata: {
1049
+ [key: string]: unknown;
1050
+ };
1051
+ /** @description Contact creation time */
1052
+ createdAt: string;
1053
+ /** @description Contact update time */
1054
+ updatedAt: string;
1186
1055
  };
1187
- /** @description Event App Status */
1188
- EventAppStatus: {
1056
+ ContactType: "primary" | "technical" | "security" | "emergency" | "billing";
1057
+ ContactCreate: {
1058
+ contact_type: "primary" | "technical" | "security" | "emergency" | "billing";
1059
+ email?: string;
1060
+ phone?: string;
1061
+ };
1062
+ ContactUpdate: {
1063
+ contact_type?: "primary" | "technical" | "security" | "emergency" | "billing";
1064
+ email?: string;
1065
+ phone?: string;
1066
+ };
1067
+ /** @description Event Contact Create */
1068
+ EventContactCreate: {
1189
1069
  /** @enum {string} */
1190
- type: "app.status";
1070
+ type: "contact.create";
1071
+ /** @description Timestamp */
1072
+ produced_at: number;
1073
+ payload: components["schemas"]["Contact"];
1074
+ };
1075
+ /** @description Event Contact Delete */
1076
+ EventContactDelete: {
1077
+ /** @enum {string} */
1078
+ type: "contact.delete";
1079
+ /** @description Timestamp */
1080
+ produced_at: number;
1081
+ payload: components["schemas"]["Contact"];
1082
+ };
1083
+ /** @description Event Contact Update */
1084
+ EventContactUpdate: {
1085
+ /** @enum {string} */
1086
+ type: "contact.update";
1087
+ /** @description Timestamp */
1088
+ produced_at: number;
1089
+ payload: components["schemas"]["Contact"];
1090
+ };
1091
+ /** @description ApiKey */
1092
+ ApiKey: {
1093
+ /** @description ApiKey ID */
1094
+ id: string;
1095
+ team: string;
1096
+ apikey: string;
1097
+ user_id: string;
1098
+ description?: string;
1099
+ scopes?: string[];
1100
+ /** @default {} */
1101
+ metadata: {
1102
+ [key: string]: unknown;
1103
+ };
1104
+ /** @description ApiKey creation time */
1105
+ createdAt: string;
1106
+ /** @description ApiKey update time */
1107
+ updatedAt: string;
1108
+ };
1109
+ ApiKeyCreate: {
1110
+ description?: string;
1111
+ };
1112
+ ApiKeyUpdate: {
1113
+ description?: string;
1114
+ };
1115
+ /** @description Event Apikey Create */
1116
+ EventApikeyCreate: {
1117
+ /** @enum {string} */
1118
+ type: "apikey.create";
1119
+ /** @description Timestamp */
1120
+ produced_at: number;
1121
+ payload: components["schemas"]["ApiKey"];
1122
+ };
1123
+ /** @description Event Apikey Delete */
1124
+ EventApikeyDelete: {
1125
+ /** @enum {string} */
1126
+ type: "apikey.delete";
1127
+ /** @description Timestamp */
1128
+ produced_at: number;
1129
+ payload: components["schemas"]["ApiKey"];
1130
+ };
1131
+ /** @description Event Apikey Update */
1132
+ EventApikeyUpdate: {
1133
+ /** @enum {string} */
1134
+ type: "apikey.update";
1135
+ /** @description Timestamp */
1136
+ produced_at: number;
1137
+ payload: components["schemas"]["ApiKey"];
1138
+ };
1139
+ AppChecknameResponse: {
1140
+ name: string;
1141
+ slug: string;
1142
+ url?: string;
1143
+ /** @description check if slug is availiable */
1144
+ availiable: boolean;
1145
+ error?: string;
1146
+ };
1147
+ /** @description Update Status */
1148
+ StatusUpdate: {
1149
+ [key: string]: unknown;
1150
+ };
1151
+ /** @description Event App Status */
1152
+ EventAppStatus: {
1153
+ /** @enum {string} */
1154
+ type: "app.status";
1191
1155
  /** @description Timestamp */
1192
1156
  produced_at: number;
1193
1157
  payload: {
@@ -1206,14 +1170,6 @@ export interface components {
1206
1170
  status: components["schemas"]["DeploymentStatus"];
1207
1171
  };
1208
1172
  };
1209
- AppChecknameResponse: {
1210
- name: string;
1211
- slug: string;
1212
- url?: string;
1213
- /** @description check if slug is availiable */
1214
- availiable: boolean;
1215
- error?: string;
1216
- };
1217
1173
  };
1218
1174
  responses: never;
1219
1175
  parameters: never;
@@ -1226,198 +1182,7 @@ export interface components {
1226
1182
  }
1227
1183
  export type $defs = Record<string, never>;
1228
1184
  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": {
1185
+ "project/invite": {
1421
1186
  parameters: {
1422
1187
  query?: never;
1423
1188
  header?: never;
@@ -1426,68 +1191,24 @@ export interface operations {
1426
1191
  };
1427
1192
  cookie?: never;
1428
1193
  };
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?: {
1194
+ requestBody: {
1452
1195
  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
- };
1196
+ "application/json": components["schemas"]["ProjectInvite"];
1465
1197
  };
1466
1198
  };
1467
- };
1468
- "contact/remove": {
1469
- parameters: {
1470
- query?: never;
1471
- header?: never;
1472
- path: {
1473
- id: string;
1474
- };
1475
- cookie?: never;
1476
- };
1477
- requestBody?: never;
1478
1199
  responses: {
1479
- /** @description Contact */
1200
+ /** @description Project */
1480
1201
  200: {
1481
1202
  headers: {
1482
1203
  [name: string]: unknown;
1483
1204
  };
1484
1205
  content: {
1485
- "application/json": components["schemas"]["Contact"];
1206
+ "application/json": components["schemas"]["Project"];
1486
1207
  };
1487
1208
  };
1488
1209
  };
1489
1210
  };
1490
- "apikey/list": {
1211
+ "project/list": {
1491
1212
  parameters: {
1492
1213
  query?: {
1493
1214
  /** @description Start from this cursor */
@@ -1517,19 +1238,17 @@ export interface operations {
1517
1238
  next: string | null;
1518
1239
  /** @description list of results */
1519
1240
  results: {
1520
- /** @description ApiKey ID */
1241
+ /** @description Project ID */
1521
1242
  id: string;
1243
+ name: string;
1244
+ description: string;
1245
+ slug: string;
1522
1246
  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 */
1247
+ user_id?: string;
1248
+ collaborators: string[];
1249
+ /** @description Project creation time */
1531
1250
  createdAt: string;
1532
- /** @description ApiKey update time */
1251
+ /** @description Project update time */
1533
1252
  updatedAt: string;
1534
1253
  }[];
1535
1254
  };
@@ -1537,31 +1256,31 @@ export interface operations {
1537
1256
  };
1538
1257
  };
1539
1258
  };
1540
- "apikey/create": {
1259
+ "project/create": {
1541
1260
  parameters: {
1542
1261
  query?: never;
1543
1262
  header?: never;
1544
1263
  path?: never;
1545
1264
  cookie?: never;
1546
1265
  };
1547
- requestBody?: {
1266
+ requestBody: {
1548
1267
  content: {
1549
- "application/json": components["schemas"]["ApiKeyCreate"];
1268
+ "application/json": components["schemas"]["ProjectCreate"];
1550
1269
  };
1551
1270
  };
1552
1271
  responses: {
1553
- /** @description ApiKey */
1272
+ /** @description Project */
1554
1273
  201: {
1555
1274
  headers: {
1556
1275
  [name: string]: unknown;
1557
1276
  };
1558
1277
  content: {
1559
- "application/json": components["schemas"]["ApiKey"];
1278
+ "application/json": components["schemas"]["Project"];
1560
1279
  };
1561
1280
  };
1562
1281
  };
1563
1282
  };
1564
- "apikey/get": {
1283
+ "project/get": {
1565
1284
  parameters: {
1566
1285
  query?: never;
1567
1286
  header?: never;
@@ -1572,18 +1291,31 @@ export interface operations {
1572
1291
  };
1573
1292
  requestBody?: never;
1574
1293
  responses: {
1575
- /** @description ApiKey */
1294
+ /** @description Project */
1576
1295
  200: {
1577
1296
  headers: {
1578
1297
  [name: string]: unknown;
1579
1298
  };
1580
1299
  content: {
1581
- "application/json": components["schemas"]["ApiKey"];
1300
+ "application/json": {
1301
+ /** @description Project ID */
1302
+ id: string;
1303
+ name: string;
1304
+ description: string;
1305
+ slug: string;
1306
+ team: string;
1307
+ user_id?: string;
1308
+ collaborators: string[];
1309
+ /** @description Project creation time */
1310
+ createdAt: string;
1311
+ /** @description Project update time */
1312
+ updatedAt: string;
1313
+ };
1582
1314
  };
1583
1315
  };
1584
1316
  };
1585
1317
  };
1586
- "apikey/update": {
1318
+ "project/update": {
1587
1319
  parameters: {
1588
1320
  query?: never;
1589
1321
  header?: never;
@@ -1592,24 +1324,24 @@ export interface operations {
1592
1324
  };
1593
1325
  cookie?: never;
1594
1326
  };
1595
- requestBody?: {
1327
+ requestBody: {
1596
1328
  content: {
1597
- "application/json": components["schemas"]["ApiKeyUpdate"];
1329
+ "application/json": components["schemas"]["ProjectUpdate"];
1598
1330
  };
1599
1331
  };
1600
1332
  responses: {
1601
- /** @description ApiKey */
1333
+ /** @description Project */
1602
1334
  200: {
1603
1335
  headers: {
1604
1336
  [name: string]: unknown;
1605
1337
  };
1606
1338
  content: {
1607
- "application/json": components["schemas"]["ApiKey"];
1339
+ "application/json": components["schemas"]["Project"];
1608
1340
  };
1609
1341
  };
1610
1342
  };
1611
1343
  };
1612
- "apikey/remove": {
1344
+ "project/remove": {
1613
1345
  parameters: {
1614
1346
  query?: never;
1615
1347
  header?: never;
@@ -1620,38 +1352,14 @@ export interface operations {
1620
1352
  };
1621
1353
  requestBody?: never;
1622
1354
  responses: {
1623
- /** @description ApiKey */
1624
- 200: {
1625
- headers: {
1626
- [name: string]: unknown;
1627
- };
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 */
1355
+ /** @description Project */
1650
1356
  200: {
1651
1357
  headers: {
1652
1358
  [name: string]: unknown;
1653
1359
  };
1654
- content?: never;
1360
+ content: {
1361
+ "application/json": components["schemas"]["Project"];
1362
+ };
1655
1363
  };
1656
1364
  };
1657
1365
  };
@@ -1697,9 +1405,15 @@ export interface operations {
1697
1405
  runtime_strategy: ("next" | "wordpress") | null;
1698
1406
  /** @description Faable instance types comprise varying combinations of CPU, memory, storage, and networking capacity. */
1699
1407
  instance_type: string;
1700
- /** @description Deploy region */
1701
- region: string;
1408
+ /**
1409
+ * @description High-level summary of where the Database is in its lifecycle
1410
+ * @default UNKNOWN
1411
+ */
1412
+ region: "gui1" | "poz1" | "ams1";
1702
1413
  status: components["schemas"]["AppStatus"];
1414
+ repository?: string;
1415
+ github_branch?: string;
1416
+ github_installation_id?: string;
1703
1417
  /** @default {} */
1704
1418
  metadata: {
1705
1419
  [key: string]: unknown;
@@ -1721,7 +1435,7 @@ export interface operations {
1721
1435
  path?: never;
1722
1436
  cookie?: never;
1723
1437
  };
1724
- requestBody?: {
1438
+ requestBody: {
1725
1439
  content: {
1726
1440
  "application/json": components["schemas"]["AppCreate"];
1727
1441
  };
@@ -1755,7 +1469,37 @@ export interface operations {
1755
1469
  [name: string]: unknown;
1756
1470
  };
1757
1471
  content: {
1758
- "application/json": components["schemas"]["App"];
1472
+ "application/json": {
1473
+ /** @description App ID */
1474
+ id: string;
1475
+ team: string;
1476
+ name: string;
1477
+ description: string;
1478
+ slug: string;
1479
+ url: string;
1480
+ active: boolean;
1481
+ runtime: components["schemas"]["AppRuntime"];
1482
+ runtime_strategy: ("next" | "wordpress") | null;
1483
+ /** @description Faable instance types comprise varying combinations of CPU, memory, storage, and networking capacity. */
1484
+ instance_type: string;
1485
+ /**
1486
+ * @description High-level summary of where the Database is in its lifecycle
1487
+ * @default UNKNOWN
1488
+ */
1489
+ region: "gui1" | "poz1" | "ams1";
1490
+ status: components["schemas"]["AppStatus"];
1491
+ repository?: string;
1492
+ github_branch?: string;
1493
+ github_installation_id?: string;
1494
+ /** @default {} */
1495
+ metadata: {
1496
+ [key: string]: unknown;
1497
+ };
1498
+ /** @description App creation time */
1499
+ createdAt: string;
1500
+ /** @description App update time */
1501
+ updatedAt: string;
1502
+ };
1759
1503
  };
1760
1504
  };
1761
1505
  };
@@ -1769,7 +1513,7 @@ export interface operations {
1769
1513
  };
1770
1514
  cookie?: never;
1771
1515
  };
1772
- requestBody?: {
1516
+ requestBody: {
1773
1517
  content: {
1774
1518
  "application/json": components["schemas"]["AppUpdate"];
1775
1519
  };
@@ -1959,7 +1703,9 @@ export interface operations {
1959
1703
  id: string;
1960
1704
  team: string;
1961
1705
  app_id: string;
1962
- image: string;
1706
+ image?: string;
1707
+ github_commit?: string;
1708
+ github_ref?: string;
1963
1709
  status: components["schemas"]["DeploymentStatus"];
1964
1710
  /** @default {} */
1965
1711
  metadata: {
@@ -1975,75 +1721,386 @@ export interface operations {
1975
1721
  };
1976
1722
  };
1977
1723
  };
1978
- "deployment/create": {
1724
+ "deployment/create": {
1725
+ parameters: {
1726
+ query?: never;
1727
+ header?: never;
1728
+ path?: never;
1729
+ cookie?: never;
1730
+ };
1731
+ requestBody: {
1732
+ content: {
1733
+ "application/json": components["schemas"]["DeploymentCreate"];
1734
+ };
1735
+ };
1736
+ responses: {
1737
+ /** @description Deployment */
1738
+ 201: {
1739
+ headers: {
1740
+ [name: string]: unknown;
1741
+ };
1742
+ content: {
1743
+ "application/json": components["schemas"]["Deployment"];
1744
+ };
1745
+ };
1746
+ };
1747
+ };
1748
+ "deployment/get": {
1749
+ parameters: {
1750
+ query?: never;
1751
+ header?: never;
1752
+ path: {
1753
+ id: string;
1754
+ };
1755
+ cookie?: never;
1756
+ };
1757
+ requestBody?: never;
1758
+ responses: {
1759
+ /** @description Deployment */
1760
+ 200: {
1761
+ headers: {
1762
+ [name: string]: unknown;
1763
+ };
1764
+ content: {
1765
+ "application/json": {
1766
+ /** @description Deployment ID */
1767
+ id: string;
1768
+ team: string;
1769
+ app_id: string;
1770
+ image?: string;
1771
+ github_commit?: string;
1772
+ github_ref?: string;
1773
+ status: components["schemas"]["DeploymentStatus"];
1774
+ /** @default {} */
1775
+ metadata: {
1776
+ [key: string]: unknown;
1777
+ };
1778
+ /** @description Deployment creation time */
1779
+ createdAt: string;
1780
+ /** @description Deployment update time */
1781
+ updatedAt: string;
1782
+ };
1783
+ };
1784
+ };
1785
+ };
1786
+ };
1787
+ "deployment/remove": {
1788
+ parameters: {
1789
+ query?: never;
1790
+ header?: never;
1791
+ path: {
1792
+ id: string;
1793
+ };
1794
+ cookie?: never;
1795
+ };
1796
+ requestBody?: never;
1797
+ responses: {
1798
+ /** @description Deployment */
1799
+ 200: {
1800
+ headers: {
1801
+ [name: string]: unknown;
1802
+ };
1803
+ content: {
1804
+ "application/json": components["schemas"]["Deployment"];
1805
+ };
1806
+ };
1807
+ };
1808
+ };
1809
+ "domain/list": {
1810
+ parameters: {
1811
+ query?: {
1812
+ /** @description Start from this cursor */
1813
+ cursor?: string;
1814
+ /** @description Start from this cursor */
1815
+ next?: string;
1816
+ /** @description Size of the results array */
1817
+ pageSize?: number;
1818
+ };
1819
+ header?: never;
1820
+ path?: never;
1821
+ cookie?: never;
1822
+ };
1823
+ requestBody?: never;
1824
+ responses: {
1825
+ /** @description PaginatedResponse */
1826
+ 200: {
1827
+ headers: {
1828
+ [name: string]: unknown;
1829
+ };
1830
+ content: {
1831
+ "application/json": {
1832
+ /**
1833
+ * @description next cursor
1834
+ * @default null
1835
+ */
1836
+ next: string | null;
1837
+ /** @description list of results */
1838
+ results: {
1839
+ /** @description Domain ID */
1840
+ id: string;
1841
+ team: string;
1842
+ /** @description Unique identifier of the domain */
1843
+ fqdn: string;
1844
+ /** @description TLS is enabled for this domain */
1845
+ tls: boolean;
1846
+ /**
1847
+ * @description Linked App
1848
+ * @default null
1849
+ */
1850
+ app_id: string | null;
1851
+ /** @description If the domain has the ownership verified */
1852
+ verified: boolean;
1853
+ /** @default {} */
1854
+ metadata: {
1855
+ [key: string]: unknown;
1856
+ };
1857
+ /** @description Domain creation time */
1858
+ createdAt: string;
1859
+ /** @description Domain update time */
1860
+ updatedAt: string;
1861
+ }[];
1862
+ };
1863
+ };
1864
+ };
1865
+ };
1866
+ };
1867
+ "domain/create": {
1868
+ parameters: {
1869
+ query?: never;
1870
+ header?: never;
1871
+ path?: never;
1872
+ cookie?: never;
1873
+ };
1874
+ requestBody: {
1875
+ content: {
1876
+ "application/json": components["schemas"]["DomainCreate"];
1877
+ };
1878
+ };
1879
+ responses: {
1880
+ /** @description Domain */
1881
+ 201: {
1882
+ headers: {
1883
+ [name: string]: unknown;
1884
+ };
1885
+ content: {
1886
+ "application/json": components["schemas"]["Domain"];
1887
+ };
1888
+ };
1889
+ };
1890
+ };
1891
+ "domain/get": {
1892
+ parameters: {
1893
+ query?: never;
1894
+ header?: never;
1895
+ path: {
1896
+ id: string;
1897
+ };
1898
+ cookie?: never;
1899
+ };
1900
+ requestBody?: never;
1901
+ responses: {
1902
+ /** @description Domain */
1903
+ 200: {
1904
+ headers: {
1905
+ [name: string]: unknown;
1906
+ };
1907
+ content: {
1908
+ "application/json": {
1909
+ /** @description Domain ID */
1910
+ id: string;
1911
+ team: string;
1912
+ /** @description Unique identifier of the domain */
1913
+ fqdn: string;
1914
+ /** @description TLS is enabled for this domain */
1915
+ tls: boolean;
1916
+ /**
1917
+ * @description Linked App
1918
+ * @default null
1919
+ */
1920
+ app_id: string | null;
1921
+ /** @description If the domain has the ownership verified */
1922
+ verified: boolean;
1923
+ /** @default {} */
1924
+ metadata: {
1925
+ [key: string]: unknown;
1926
+ };
1927
+ /** @description Domain creation time */
1928
+ createdAt: string;
1929
+ /** @description Domain update time */
1930
+ updatedAt: string;
1931
+ };
1932
+ };
1933
+ };
1934
+ };
1935
+ };
1936
+ "domain/update": {
1937
+ parameters: {
1938
+ query?: never;
1939
+ header?: never;
1940
+ path: {
1941
+ id: string;
1942
+ };
1943
+ cookie?: never;
1944
+ };
1945
+ requestBody: {
1946
+ content: {
1947
+ "application/json": components["schemas"]["DomainUpdate"];
1948
+ };
1949
+ };
1950
+ responses: {
1951
+ /** @description Domain */
1952
+ 200: {
1953
+ headers: {
1954
+ [name: string]: unknown;
1955
+ };
1956
+ content: {
1957
+ "application/json": components["schemas"]["Domain"];
1958
+ };
1959
+ };
1960
+ };
1961
+ };
1962
+ "domain/remove": {
1963
+ parameters: {
1964
+ query?: never;
1965
+ header?: never;
1966
+ path: {
1967
+ id: string;
1968
+ };
1969
+ cookie?: never;
1970
+ };
1971
+ requestBody?: never;
1972
+ responses: {
1973
+ /** @description Domain */
1974
+ 200: {
1975
+ headers: {
1976
+ [name: string]: unknown;
1977
+ };
1978
+ content: {
1979
+ "application/json": components["schemas"]["Domain"];
1980
+ };
1981
+ };
1982
+ };
1983
+ };
1984
+ "domain/fqdn": {
1985
+ parameters: {
1986
+ query?: never;
1987
+ header?: never;
1988
+ path: {
1989
+ fqdn: string;
1990
+ };
1991
+ cookie?: never;
1992
+ };
1993
+ requestBody?: never;
1994
+ responses: {
1995
+ /** @description Domain */
1996
+ 200: {
1997
+ headers: {
1998
+ [name: string]: unknown;
1999
+ };
2000
+ content: {
2001
+ "application/json": components["schemas"]["Domain"];
2002
+ };
2003
+ };
2004
+ };
2005
+ };
2006
+ "secrets/upsert": {
1979
2007
  parameters: {
1980
2008
  query?: never;
1981
2009
  header?: never;
1982
2010
  path?: never;
1983
2011
  cookie?: never;
1984
2012
  };
1985
- requestBody?: {
2013
+ requestBody: {
1986
2014
  content: {
1987
- "application/json": components["schemas"]["DeploymentCreate"];
2015
+ "application/json": components["schemas"]["SecretUpsert"];
1988
2016
  };
1989
2017
  };
1990
2018
  responses: {
1991
- /** @description Deployment */
1992
- 201: {
2019
+ /** @description Secret */
2020
+ 200: {
1993
2021
  headers: {
1994
2022
  [name: string]: unknown;
1995
2023
  };
1996
2024
  content: {
1997
- "application/json": components["schemas"]["Deployment"];
2025
+ "application/json": components["schemas"]["Secret"];
1998
2026
  };
1999
2027
  };
2000
2028
  };
2001
2029
  };
2002
- "deployment/get": {
2030
+ "secrets/list_app": {
2003
2031
  parameters: {
2004
- query?: never;
2032
+ query?: {
2033
+ /** @description Start from this cursor */
2034
+ cursor?: string;
2035
+ /** @description Start from this cursor */
2036
+ next?: string;
2037
+ /** @description Size of the results array */
2038
+ pageSize?: number;
2039
+ };
2005
2040
  header?: never;
2006
2041
  path: {
2007
- id: string;
2042
+ context_id: string;
2008
2043
  };
2009
2044
  cookie?: never;
2010
2045
  };
2011
2046
  requestBody?: never;
2012
2047
  responses: {
2013
- /** @description Deployment */
2048
+ /** @description PaginatedResponse */
2014
2049
  200: {
2015
2050
  headers: {
2016
2051
  [name: string]: unknown;
2017
2052
  };
2018
2053
  content: {
2019
- "application/json": components["schemas"]["Deployment"];
2054
+ "application/json": components["schemas"]["SecretPage"];
2020
2055
  };
2021
2056
  };
2022
2057
  };
2023
2058
  };
2024
- "deployment/remove": {
2059
+ "secrets/delete": {
2025
2060
  parameters: {
2026
2061
  query?: never;
2027
2062
  header?: never;
2028
2063
  path: {
2029
- id: string;
2064
+ secret_id: string;
2030
2065
  };
2031
2066
  cookie?: never;
2032
2067
  };
2033
2068
  requestBody?: never;
2034
2069
  responses: {
2035
- /** @description Deployment */
2070
+ /** @description Default Response */
2036
2071
  200: {
2072
+ headers: {
2073
+ [name: string]: unknown;
2074
+ };
2075
+ content?: never;
2076
+ };
2077
+ };
2078
+ };
2079
+ "secrets/create_batch": {
2080
+ parameters: {
2081
+ query?: never;
2082
+ header?: never;
2083
+ path?: never;
2084
+ cookie?: never;
2085
+ };
2086
+ requestBody: {
2087
+ content: {
2088
+ "application/json": components["schemas"]["SecretCreateBatch"];
2089
+ };
2090
+ };
2091
+ responses: {
2092
+ /** @description Default Response */
2093
+ 201: {
2037
2094
  headers: {
2038
2095
  [name: string]: unknown;
2039
2096
  };
2040
2097
  content: {
2041
- "application/json": components["schemas"]["Deployment"];
2098
+ "application/json": components["schemas"]["Secret"][];
2042
2099
  };
2043
2100
  };
2044
2101
  };
2045
2102
  };
2046
- "volume/list": {
2103
+ "contact/list": {
2047
2104
  parameters: {
2048
2105
  query?: {
2049
2106
  /** @description Start from this cursor */
@@ -2073,31 +2130,19 @@ export interface operations {
2073
2130
  next: string | null;
2074
2131
  /** @description list of results */
2075
2132
  results: {
2133
+ /** @description Contact ID */
2076
2134
  id: string;
2077
2135
  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;
2136
+ contact_type: "primary" | "technical" | "security" | "emergency" | "billing";
2137
+ email?: string;
2138
+ phone?: string;
2094
2139
  /** @default {} */
2095
2140
  metadata: {
2096
2141
  [key: string]: unknown;
2097
2142
  };
2098
- /** @description Volume creation time */
2143
+ /** @description Contact creation time */
2099
2144
  createdAt: string;
2100
- /** @description Volume update time */
2145
+ /** @description Contact update time */
2101
2146
  updatedAt: string;
2102
2147
  }[];
2103
2148
  };
@@ -2105,31 +2150,31 @@ export interface operations {
2105
2150
  };
2106
2151
  };
2107
2152
  };
2108
- "volume/create": {
2153
+ "contact/create": {
2109
2154
  parameters: {
2110
2155
  query?: never;
2111
2156
  header?: never;
2112
2157
  path?: never;
2113
2158
  cookie?: never;
2114
2159
  };
2115
- requestBody?: {
2160
+ requestBody: {
2116
2161
  content: {
2117
- "application/json": components["schemas"]["VolumeCreate"];
2162
+ "application/json": components["schemas"]["ContactCreate"];
2118
2163
  };
2119
2164
  };
2120
2165
  responses: {
2121
- /** @description Volume */
2166
+ /** @description Contact */
2122
2167
  201: {
2123
2168
  headers: {
2124
2169
  [name: string]: unknown;
2125
2170
  };
2126
2171
  content: {
2127
- "application/json": components["schemas"]["Volume"];
2172
+ "application/json": components["schemas"]["Contact"];
2128
2173
  };
2129
2174
  };
2130
2175
  };
2131
2176
  };
2132
- "volume/get": {
2177
+ "contact/get": {
2133
2178
  parameters: {
2134
2179
  query?: never;
2135
2180
  header?: never;
@@ -2140,18 +2185,33 @@ export interface operations {
2140
2185
  };
2141
2186
  requestBody?: never;
2142
2187
  responses: {
2143
- /** @description Volume */
2188
+ /** @description Contact */
2144
2189
  200: {
2145
2190
  headers: {
2146
2191
  [name: string]: unknown;
2147
2192
  };
2148
2193
  content: {
2149
- "application/json": components["schemas"]["Volume"];
2194
+ "application/json": {
2195
+ /** @description Contact ID */
2196
+ id: string;
2197
+ team: string;
2198
+ contact_type: "primary" | "technical" | "security" | "emergency" | "billing";
2199
+ email?: string;
2200
+ phone?: string;
2201
+ /** @default {} */
2202
+ metadata: {
2203
+ [key: string]: unknown;
2204
+ };
2205
+ /** @description Contact creation time */
2206
+ createdAt: string;
2207
+ /** @description Contact update time */
2208
+ updatedAt: string;
2209
+ };
2150
2210
  };
2151
2211
  };
2152
2212
  };
2153
2213
  };
2154
- "volume/update": {
2214
+ "contact/update": {
2155
2215
  parameters: {
2156
2216
  query?: never;
2157
2217
  header?: never;
@@ -2160,24 +2220,24 @@ export interface operations {
2160
2220
  };
2161
2221
  cookie?: never;
2162
2222
  };
2163
- requestBody?: {
2223
+ requestBody: {
2164
2224
  content: {
2165
- "application/json": components["schemas"]["VolumeUpdate"];
2225
+ "application/json": components["schemas"]["ContactUpdate"];
2166
2226
  };
2167
2227
  };
2168
2228
  responses: {
2169
- /** @description Volume */
2229
+ /** @description Contact */
2170
2230
  200: {
2171
2231
  headers: {
2172
2232
  [name: string]: unknown;
2173
2233
  };
2174
2234
  content: {
2175
- "application/json": components["schemas"]["Volume"];
2235
+ "application/json": components["schemas"]["Contact"];
2176
2236
  };
2177
2237
  };
2178
2238
  };
2179
2239
  };
2180
- "volume/remove": {
2240
+ "contact/remove": {
2181
2241
  parameters: {
2182
2242
  query?: never;
2183
2243
  header?: never;
@@ -2188,18 +2248,18 @@ export interface operations {
2188
2248
  };
2189
2249
  requestBody?: never;
2190
2250
  responses: {
2191
- /** @description Volume */
2251
+ /** @description Contact */
2192
2252
  200: {
2193
2253
  headers: {
2194
2254
  [name: string]: unknown;
2195
2255
  };
2196
2256
  content: {
2197
- "application/json": components["schemas"]["Volume"];
2257
+ "application/json": components["schemas"]["Contact"];
2198
2258
  };
2199
2259
  };
2200
2260
  };
2201
2261
  };
2202
- "domain/list": {
2262
+ "apikey/list": {
2203
2263
  parameters: {
2204
2264
  query?: {
2205
2265
  /** @description Start from this cursor */
@@ -2229,27 +2289,20 @@ export interface operations {
2229
2289
  next: string | null;
2230
2290
  /** @description list of results */
2231
2291
  results: {
2232
- /** @description Domain ID */
2292
+ /** @description ApiKey ID */
2233
2293
  id: string;
2234
2294
  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;
2295
+ apikey: string;
2296
+ user_id: string;
2297
+ description?: string;
2298
+ scopes?: string[];
2246
2299
  /** @default {} */
2247
2300
  metadata: {
2248
2301
  [key: string]: unknown;
2249
2302
  };
2250
- /** @description Domain creation time */
2303
+ /** @description ApiKey creation time */
2251
2304
  createdAt: string;
2252
- /** @description Domain update time */
2305
+ /** @description ApiKey update time */
2253
2306
  updatedAt: string;
2254
2307
  }[];
2255
2308
  };
@@ -2257,31 +2310,31 @@ export interface operations {
2257
2310
  };
2258
2311
  };
2259
2312
  };
2260
- "domain/create": {
2313
+ "apikey/create": {
2261
2314
  parameters: {
2262
2315
  query?: never;
2263
2316
  header?: never;
2264
2317
  path?: never;
2265
2318
  cookie?: never;
2266
2319
  };
2267
- requestBody?: {
2320
+ requestBody: {
2268
2321
  content: {
2269
- "application/json": components["schemas"]["DomainCreate"];
2322
+ "application/json": components["schemas"]["ApiKeyCreate"];
2270
2323
  };
2271
2324
  };
2272
2325
  responses: {
2273
- /** @description Domain */
2326
+ /** @description ApiKey */
2274
2327
  201: {
2275
2328
  headers: {
2276
2329
  [name: string]: unknown;
2277
2330
  };
2278
2331
  content: {
2279
- "application/json": components["schemas"]["Domain"];
2332
+ "application/json": components["schemas"]["ApiKey"];
2280
2333
  };
2281
2334
  };
2282
2335
  };
2283
2336
  };
2284
- "domain/get": {
2337
+ "apikey/get": {
2285
2338
  parameters: {
2286
2339
  query?: never;
2287
2340
  header?: never;
@@ -2292,18 +2345,34 @@ export interface operations {
2292
2345
  };
2293
2346
  requestBody?: never;
2294
2347
  responses: {
2295
- /** @description Domain */
2348
+ /** @description ApiKey */
2296
2349
  200: {
2297
2350
  headers: {
2298
2351
  [name: string]: unknown;
2299
2352
  };
2300
2353
  content: {
2301
- "application/json": components["schemas"]["Domain"];
2354
+ "application/json": {
2355
+ /** @description ApiKey ID */
2356
+ id: string;
2357
+ team: string;
2358
+ apikey: string;
2359
+ user_id: string;
2360
+ description?: string;
2361
+ scopes?: string[];
2362
+ /** @default {} */
2363
+ metadata: {
2364
+ [key: string]: unknown;
2365
+ };
2366
+ /** @description ApiKey creation time */
2367
+ createdAt: string;
2368
+ /** @description ApiKey update time */
2369
+ updatedAt: string;
2370
+ };
2302
2371
  };
2303
2372
  };
2304
2373
  };
2305
2374
  };
2306
- "domain/update": {
2375
+ "apikey/update": {
2307
2376
  parameters: {
2308
2377
  query?: never;
2309
2378
  header?: never;
@@ -2312,24 +2381,24 @@ export interface operations {
2312
2381
  };
2313
2382
  cookie?: never;
2314
2383
  };
2315
- requestBody?: {
2384
+ requestBody: {
2316
2385
  content: {
2317
- "application/json": components["schemas"]["DomainUpdate"];
2386
+ "application/json": components["schemas"]["ApiKeyUpdate"];
2318
2387
  };
2319
2388
  };
2320
2389
  responses: {
2321
- /** @description Domain */
2390
+ /** @description ApiKey */
2322
2391
  200: {
2323
2392
  headers: {
2324
2393
  [name: string]: unknown;
2325
2394
  };
2326
2395
  content: {
2327
- "application/json": components["schemas"]["Domain"];
2396
+ "application/json": components["schemas"]["ApiKey"];
2328
2397
  };
2329
2398
  };
2330
2399
  };
2331
2400
  };
2332
- "domain/remove": {
2401
+ "apikey/remove": {
2333
2402
  parameters: {
2334
2403
  query?: never;
2335
2404
  header?: never;
@@ -2340,99 +2409,58 @@ export interface operations {
2340
2409
  };
2341
2410
  requestBody?: never;
2342
2411
  responses: {
2343
- /** @description Domain */
2412
+ /** @description ApiKey */
2344
2413
  200: {
2345
2414
  headers: {
2346
2415
  [name: string]: unknown;
2347
2416
  };
2348
2417
  content: {
2349
- "application/json": components["schemas"]["Domain"];
2418
+ "application/json": components["schemas"]["ApiKey"];
2350
2419
  };
2351
2420
  };
2352
2421
  };
2353
2422
  };
2354
- "domain/fqdn": {
2423
+ "status/update": {
2355
2424
  parameters: {
2356
2425
  query?: never;
2357
2426
  header?: never;
2358
2427
  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
- };
2428
+ related_id: string;
2373
2429
  };
2374
- };
2375
- };
2376
- "secrets/upsert": {
2377
- parameters: {
2378
- query?: never;
2379
- header?: never;
2380
- path?: never;
2381
2430
  cookie?: never;
2382
2431
  };
2383
- requestBody?: {
2432
+ requestBody: {
2384
2433
  content: {
2385
- "application/json": components["schemas"]["SecretUpsert"];
2434
+ "application/json": components["schemas"]["StatusUpdate"];
2386
2435
  };
2387
2436
  };
2388
2437
  responses: {
2389
- /** @description Secret */
2438
+ /** @description Default Response */
2390
2439
  200: {
2391
2440
  headers: {
2392
2441
  [name: string]: unknown;
2393
2442
  };
2394
- content: {
2395
- "application/json": components["schemas"]["Secret"];
2396
- };
2443
+ content?: never;
2397
2444
  };
2398
2445
  };
2399
2446
  };
2400
- "secrets/list_app": {
2447
+ "statistics/get": {
2401
2448
  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
- };
2449
+ query?: never;
2410
2450
  header?: never;
2411
- path: {
2412
- context_id: string;
2413
- };
2451
+ path?: never;
2414
2452
  cookie?: never;
2415
2453
  };
2416
2454
  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
- };
2455
+ responses: never;
2428
2456
  };
2429
- "secrets/delete": {
2457
+ "users/billing_portal": {
2430
2458
  parameters: {
2431
- query?: never;
2432
- header?: never;
2433
- path: {
2434
- secret_id: string;
2459
+ query: {
2460
+ return_to: string;
2435
2461
  };
2462
+ header?: never;
2463
+ path?: never;
2436
2464
  cookie?: never;
2437
2465
  };
2438
2466
  requestBody?: never;
@@ -2446,31 +2474,7 @@ export interface operations {
2446
2474
  };
2447
2475
  };
2448
2476
  };
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": {
2477
+ "users/payment_methods": {
2474
2478
  parameters: {
2475
2479
  query?: never;
2476
2480
  header?: never;
@@ -2478,18 +2482,6 @@ export interface operations {
2478
2482
  cookie?: never;
2479
2483
  };
2480
2484
  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
2485
  responses: {
2494
2486
  /** @description Default Response */
2495
2487
  200: {
@@ -2500,7 +2492,7 @@ export interface operations {
2500
2492
  };
2501
2493
  };
2502
2494
  };
2503
- "users/payment_methods": {
2495
+ "users/setup_intent": {
2504
2496
  parameters: {
2505
2497
  query?: never;
2506
2498
  header?: never;
@@ -2518,7 +2510,7 @@ export interface operations {
2518
2510
  };
2519
2511
  };
2520
2512
  };
2521
- "users/setup_intent": {
2513
+ "users/list_invoices": {
2522
2514
  parameters: {
2523
2515
  query?: never;
2524
2516
  header?: never;
@@ -2536,14 +2528,22 @@ export interface operations {
2536
2528
  };
2537
2529
  };
2538
2530
  };
2539
- "users/list_invoices": {
2531
+ "auth/github_oidc": {
2540
2532
  parameters: {
2541
2533
  query?: never;
2542
2534
  header?: never;
2543
2535
  path?: never;
2544
2536
  cookie?: never;
2545
2537
  };
2546
- requestBody?: never;
2538
+ requestBody: {
2539
+ content: {
2540
+ "application/json": {
2541
+ token: string;
2542
+ /** @description Explicitly select wich app to deploy when multiple apps are linked to the same github repository */
2543
+ app_id?: string;
2544
+ };
2545
+ };
2546
+ };
2547
2547
  responses: {
2548
2548
  /** @description Default Response */
2549
2549
  200: {