@faable/deploy-sdk 1.0.11 → 1.0.12

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.
@@ -41,7 +41,11 @@ export interface paths {
41
41
  get: operations["profiles/get"];
42
42
  put?: never;
43
43
  post?: never;
44
- delete?: never;
44
+ /**
45
+ * Delete a profile
46
+ * @description Delete a profile
47
+ */
48
+ delete: operations["profiles/delete"];
45
49
  options?: never;
46
50
  head?: never;
47
51
  patch?: never;
@@ -67,7 +71,7 @@ export interface paths {
67
71
  patch?: never;
68
72
  trace?: never;
69
73
  };
70
- "/apikey": {
74
+ "/contact": {
71
75
  parameters: {
72
76
  query?: never;
73
77
  header?: never;
@@ -75,43 +79,75 @@ export interface paths {
75
79
  cookie?: never;
76
80
  };
77
81
  /**
78
- * List user ApiKeys
79
- * @description List user ApiKeys
82
+ * List contact
83
+ * @description List contact
80
84
  */
81
- get: operations["apikey/list"];
85
+ get: operations["contact/list"];
82
86
  put?: never;
83
87
  /**
84
- * Create apikeys for user
85
- * @description Create apikeys for user
88
+ * Create contact
89
+ * @description Create contact
86
90
  */
87
- post: operations["apikey/create"];
91
+ post: operations["contact/create"];
88
92
  delete?: never;
89
93
  options?: never;
90
94
  head?: never;
91
95
  patch?: never;
92
96
  trace?: never;
93
97
  };
94
- "/status/{related_id}": {
98
+ "/contact/{id}": {
95
99
  parameters: {
96
100
  query?: never;
97
101
  header?: never;
98
102
  path?: never;
99
103
  cookie?: never;
100
104
  };
101
- get?: never;
105
+ /**
106
+ * Get contact
107
+ * @description Get contact
108
+ */
109
+ get: operations["contact/get"];
102
110
  put?: never;
103
111
  /**
104
- * Update status resource
105
- * @description Update status resource
112
+ * Update contact
113
+ * @description Update contact
106
114
  */
107
- post: operations["status/update"];
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": {
127
+ parameters: {
128
+ query?: never;
129
+ header?: never;
130
+ path?: never;
131
+ cookie?: never;
132
+ };
133
+ /**
134
+ * List apikey
135
+ * @description List apikey
136
+ */
137
+ get: operations["apikey/list"];
138
+ put?: never;
139
+ /**
140
+ * Create apikey
141
+ * @description Create apikey
142
+ */
143
+ post: operations["apikey/create"];
108
144
  delete?: never;
109
145
  options?: never;
110
146
  head?: never;
111
147
  patch?: never;
112
148
  trace?: never;
113
149
  };
114
- "/app": {
150
+ "/apikey/{id}": {
115
151
  parameters: {
116
152
  query?: never;
117
153
  header?: never;
@@ -119,23 +155,47 @@ export interface paths {
119
155
  cookie?: never;
120
156
  };
121
157
  /**
122
- * Query Apps
123
- * @description Query Apps
158
+ * Get apikey
159
+ * @description Get apikey
124
160
  */
125
- get: operations["app/query"];
161
+ get: operations["apikey/get"];
126
162
  put?: never;
127
163
  /**
128
- * Create an App
129
- * @description Create an App
164
+ * Update apikey
165
+ * @description Update apikey
130
166
  */
131
- post: operations["app/create"];
167
+ post: operations["apikey/update"];
168
+ /**
169
+ * Delete apikey
170
+ * @description Delete apikey
171
+ */
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;
187
+ /**
188
+ * Update status resource
189
+ * @description Update status resource
190
+ */
191
+ post: operations["status/update"];
132
192
  delete?: never;
133
193
  options?: never;
134
194
  head?: never;
135
195
  patch?: never;
136
196
  trace?: never;
137
197
  };
138
- "/app/id/{app_id}": {
198
+ "/app": {
139
199
  parameters: {
140
200
  query?: never;
141
201
  header?: never;
@@ -143,19 +203,23 @@ export interface paths {
143
203
  cookie?: never;
144
204
  };
145
205
  /**
146
- * Get App
147
- * @description Get App
206
+ * List app
207
+ * @description List app
148
208
  */
149
- get: operations["app/getbyid"];
209
+ get: operations["app/list"];
150
210
  put?: never;
151
- post?: never;
211
+ /**
212
+ * Create app
213
+ * @description Create app
214
+ */
215
+ post: operations["app/create"];
152
216
  delete?: never;
153
217
  options?: never;
154
218
  head?: never;
155
219
  patch?: never;
156
220
  trace?: never;
157
221
  };
158
- "/app/{app_id}": {
222
+ "/app/{id}": {
159
223
  parameters: {
160
224
  query?: never;
161
225
  header?: never;
@@ -163,14 +227,14 @@ export interface paths {
163
227
  cookie?: never;
164
228
  };
165
229
  /**
166
- * Get App
167
- * @description Get App
230
+ * Get app
231
+ * @description Get app
168
232
  */
169
233
  get: operations["app/get"];
170
234
  put?: never;
171
235
  /**
172
- * Update App
173
- * @description Update App
236
+ * Update app
237
+ * @description Update app
174
238
  */
175
239
  post: operations["app/update"];
176
240
  /**
@@ -194,7 +258,7 @@ export interface paths {
194
258
  * Get App by unique slug
195
259
  * @description Get App by unique slug
196
260
  */
197
- get: operations["app/getbyslug"];
261
+ get: operations["app/slug"];
198
262
  put?: never;
199
263
  post?: never;
200
264
  delete?: never;
@@ -283,7 +347,7 @@ export interface paths {
283
347
  patch?: never;
284
348
  trace?: never;
285
349
  };
286
- "/domain/{domain_id}": {
350
+ "/deployment": {
287
351
  parameters: {
288
352
  query?: never;
289
353
  header?: never;
@@ -291,27 +355,23 @@ export interface paths {
291
355
  cookie?: never;
292
356
  };
293
357
  /**
294
- * Get a domain
295
- * @description Get a domain
358
+ * List deployment
359
+ * @description List deployment
296
360
  */
297
- get: operations["domain/get"];
361
+ get: operations["deployment/list"];
298
362
  put?: never;
299
363
  /**
300
- * Update a Domain
301
- * @description Update a Domain
302
- */
303
- post: operations["domain/update"];
304
- /**
305
- * Delete a domain
306
- * @description Delete a domain
364
+ * Create deployment
365
+ * @description Create deployment
307
366
  */
308
- delete: operations["domain/delete"];
367
+ post: operations["deployment/create"];
368
+ delete?: never;
309
369
  options?: never;
310
370
  head?: never;
311
371
  patch?: never;
312
372
  trace?: never;
313
373
  };
314
- "/domain": {
374
+ "/deployment/{id}": {
315
375
  parameters: {
316
376
  query?: never;
317
377
  header?: never;
@@ -319,23 +379,23 @@ export interface paths {
319
379
  cookie?: never;
320
380
  };
321
381
  /**
322
- * List all domains
323
- * @description List all domains
382
+ * Get deployment
383
+ * @description Get deployment
324
384
  */
325
- get: operations["domain/list"];
385
+ get: operations["deployment/get"];
326
386
  put?: never;
387
+ post?: never;
327
388
  /**
328
- * Create a domain
329
- * @description Create a domain
389
+ * Delete deployment
390
+ * @description Delete deployment
330
391
  */
331
- post: operations["domain/create"];
332
- delete?: never;
392
+ delete: operations["deployment/remove"];
333
393
  options?: never;
334
394
  head?: never;
335
395
  patch?: never;
336
396
  trace?: never;
337
397
  };
338
- "/domain/fqdn/{fqdn}": {
398
+ "/volume": {
339
399
  parameters: {
340
400
  query?: never;
341
401
  header?: never;
@@ -343,39 +403,51 @@ export interface paths {
343
403
  cookie?: never;
344
404
  };
345
405
  /**
346
- * Get domain by FQDN
347
- * @description Get domain by FQDN
406
+ * List volume
407
+ * @description List volume
348
408
  */
349
- get: operations["domain/fqdn"];
409
+ get: operations["volume/list"];
350
410
  put?: never;
351
- post?: never;
411
+ /**
412
+ * Create volume
413
+ * @description Create volume
414
+ */
415
+ post: operations["volume/create"];
352
416
  delete?: never;
353
417
  options?: never;
354
418
  head?: never;
355
419
  patch?: never;
356
420
  trace?: never;
357
421
  };
358
- "/secret": {
422
+ "/volume/{id}": {
359
423
  parameters: {
360
424
  query?: never;
361
425
  header?: never;
362
426
  path?: never;
363
427
  cookie?: never;
364
428
  };
365
- get?: never;
429
+ /**
430
+ * Get volume
431
+ * @description Get volume
432
+ */
433
+ get: operations["volume/get"];
366
434
  put?: never;
367
435
  /**
368
- * Upsert a secret
369
- * @description Upsert a secret
436
+ * Update volume
437
+ * @description Update volume
370
438
  */
371
- post: operations["secrets/upsert"];
372
- delete?: never;
439
+ post: operations["volume/update"];
440
+ /**
441
+ * Delete volume
442
+ * @description Delete volume
443
+ */
444
+ delete: operations["volume/remove"];
373
445
  options?: never;
374
446
  head?: never;
375
447
  patch?: never;
376
448
  trace?: never;
377
449
  };
378
- "/secret/{context_id}": {
450
+ "/domain": {
379
451
  parameters: {
380
452
  query?: never;
381
453
  header?: never;
@@ -383,83 +455,91 @@ export interface paths {
383
455
  cookie?: never;
384
456
  };
385
457
  /**
386
- * List all secrets assigned to an App or Profile contexts
387
- * @description List all app secrets assigned to an App or Profile contexts
458
+ * List domain
459
+ * @description List domain
388
460
  */
389
- get: operations["secrets/list_app"];
461
+ get: operations["domain/list"];
390
462
  put?: never;
391
- post?: never;
463
+ /**
464
+ * Create domain
465
+ * @description Create domain
466
+ */
467
+ post: operations["domain/create"];
392
468
  delete?: never;
393
469
  options?: never;
394
470
  head?: never;
395
471
  patch?: never;
396
472
  trace?: never;
397
473
  };
398
- "/secret/{secret_id}": {
474
+ "/domain/{id}": {
399
475
  parameters: {
400
476
  query?: never;
401
477
  header?: never;
402
478
  path?: never;
403
479
  cookie?: never;
404
480
  };
405
- get?: never;
481
+ /**
482
+ * Get domain
483
+ * @description Get domain
484
+ */
485
+ get: operations["domain/get"];
406
486
  put?: never;
407
- post?: never;
408
487
  /**
409
- * Delete a secret
410
- * @description Delete a secret
488
+ * Update domain
489
+ * @description Update domain
411
490
  */
412
- delete: operations["secrets/delete"];
491
+ post: operations["domain/update"];
492
+ /**
493
+ * Delete domain
494
+ * @description Delete domain
495
+ */
496
+ delete: operations["domain/remove"];
413
497
  options?: never;
414
498
  head?: never;
415
499
  patch?: never;
416
500
  trace?: never;
417
501
  };
418
- "/secret/createbatch": {
502
+ "/domain/fqdn/{fqdn}": {
419
503
  parameters: {
420
504
  query?: never;
421
505
  header?: never;
422
506
  path?: never;
423
507
  cookie?: never;
424
508
  };
425
- get?: never;
426
- put?: never;
427
509
  /**
428
- * Create secrets in batch
429
- * @description Create a secrets in batch
510
+ * Get domain by FQDN
511
+ * @description Get domain by FQDN
430
512
  */
431
- post: operations["secrets/create_batch"];
513
+ get: operations["domain/fqdn"];
514
+ put?: never;
515
+ post?: never;
432
516
  delete?: never;
433
517
  options?: never;
434
518
  head?: never;
435
519
  patch?: never;
436
520
  trace?: never;
437
521
  };
438
- "/deployment": {
522
+ "/secret": {
439
523
  parameters: {
440
524
  query?: never;
441
525
  header?: never;
442
526
  path?: never;
443
527
  cookie?: never;
444
528
  };
445
- /**
446
- * List app deployments
447
- * @description List app deployments
448
- */
449
- get: operations["deployment/list"];
529
+ get?: never;
450
530
  put?: never;
451
531
  /**
452
- * Create a Deployment
453
- * @description Create a Deployment
532
+ * Upsert a secret
533
+ * @description Upsert a secret
454
534
  */
455
- post: operations["deployment/create"];
535
+ post: operations["secrets/upsert"];
456
536
  delete?: never;
457
537
  options?: never;
458
538
  head?: never;
459
539
  patch?: never;
460
540
  trace?: never;
461
541
  };
462
- "/deployment/{deployment_id}": {
542
+ "/secret/{context_id}": {
463
543
  parameters: {
464
544
  query?: never;
465
545
  header?: never;
@@ -467,10 +547,10 @@ export interface paths {
467
547
  cookie?: never;
468
548
  };
469
549
  /**
470
- * Get Deployment
471
- * @description Get Deployment
550
+ * List all secrets assigned to an App or Profile contexts
551
+ * @description List all app secrets assigned to an App or Profile contexts
472
552
  */
473
- get: operations["deployment/get"];
553
+ get: operations["secrets/list_app"];
474
554
  put?: never;
475
555
  post?: never;
476
556
  delete?: never;
@@ -479,7 +559,7 @@ export interface paths {
479
559
  patch?: never;
480
560
  trace?: never;
481
561
  };
482
- "/volume": {
562
+ "/secret/{secret_id}": {
483
563
  parameters: {
484
564
  query?: never;
485
565
  header?: never;
@@ -488,18 +568,18 @@ export interface paths {
488
568
  };
489
569
  get?: never;
490
570
  put?: never;
571
+ post?: never;
491
572
  /**
492
- * Create a Volume
493
- * @description Create a Volume
573
+ * Delete a secret
574
+ * @description Delete a secret
494
575
  */
495
- post: operations["volume/create"];
496
- delete?: never;
576
+ delete: operations["secrets/delete"];
497
577
  options?: never;
498
578
  head?: never;
499
579
  patch?: never;
500
580
  trace?: never;
501
581
  };
502
- "/volume/{volume_id}": {
582
+ "/secret/createbatch": {
503
583
  parameters: {
504
584
  query?: never;
505
585
  header?: never;
@@ -508,12 +588,12 @@ export interface paths {
508
588
  };
509
589
  get?: never;
510
590
  put?: never;
511
- post?: never;
512
591
  /**
513
- * Remove a Volume
514
- * @description Remove a Volume
592
+ * Create secrets in batch
593
+ * @description Create a secrets in batch
515
594
  */
516
- delete: operations["volume/delete"];
595
+ post: operations["secrets/create_batch"];
596
+ delete?: never;
517
597
  options?: never;
518
598
  head?: never;
519
599
  patch?: never;
@@ -615,188 +695,161 @@ export interface paths {
615
695
  export type webhooks = Record<string, never>;
616
696
  export interface components {
617
697
  schemas: {
618
- /** @description Event secret.create_batch */
619
- "Event_secret.create_batch": {
620
- /** @enum {string} */
621
- type: "secret.create_batch";
622
- produced_at: number;
623
- payload: {
624
- /** @enum {string} */
625
- type: "app";
626
- context: components["schemas"]["App"];
627
- secrets: components["schemas"]["Secret"][];
628
- };
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;
629
711
  };
630
- /** @description Event deployment.created */
631
- "Event_deployment.created": {
632
- /** @enum {string} */
633
- type: "deployment.created";
634
- produced_at: number;
635
- payload: {
636
- deployment: components["schemas"]["Deployment"];
637
- app: components["schemas"]["App"];
638
- secrets: components["schemas"]["Secret"][];
639
- };
712
+ ProfileCreate: {
713
+ name: string;
714
+ description?: string;
640
715
  };
641
- /** @description Event app.create */
642
- "Event_app.create": {
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;
732
+ };
733
+ ContactType: "primary" | "technical" | "security" | "emergency" | "billing";
734
+ ContactCreate: {
735
+ contact_type: "primary" | "technical" | "security" | "emergency" | "billing";
736
+ email?: string;
737
+ phone?: string;
738
+ };
739
+ ContactUpdate: {
740
+ contact_type?: "primary" | "technical" | "security" | "emergency" | "billing";
741
+ email?: string;
742
+ phone?: string;
743
+ };
744
+ /** @description Event Contact Create */
745
+ EventContactCreate: {
643
746
  /** @enum {string} */
644
- type: "app.create";
747
+ type: "contact.create";
748
+ /** @description Timestamp */
645
749
  produced_at: number;
646
- payload: components["schemas"]["App"];
750
+ payload: components["schemas"]["Contact"];
647
751
  };
648
- /** @description Event app.delete */
649
- "Event_app.delete": {
752
+ /** @description Event Contact Delete */
753
+ EventContactDelete: {
650
754
  /** @enum {string} */
651
- type: "app.delete";
755
+ type: "contact.delete";
756
+ /** @description Timestamp */
652
757
  produced_at: number;
653
- payload: components["schemas"]["App"];
758
+ payload: components["schemas"]["Contact"];
654
759
  };
655
- /** @description Event app.update */
656
- "Event_app.update": {
760
+ /** @description Event Contact Update */
761
+ EventContactUpdate: {
657
762
  /** @enum {string} */
658
- type: "app.update";
763
+ type: "contact.update";
764
+ /** @description Timestamp */
659
765
  produced_at: number;
660
- payload: components["schemas"]["App"];
766
+ payload: components["schemas"]["Contact"];
661
767
  };
662
- /** @description Event domain.create */
663
- "Event_domain.create": {
664
- /** @enum {string} */
665
- type: "domain.create";
666
- produced_at: number;
667
- payload: {
668
- domain: components["schemas"]["Domain"];
669
- app: components["schemas"]["App"];
768
+ /** @description ApiKey */
769
+ ApiKey: {
770
+ /** @description ApiKey ID */
771
+ id: string;
772
+ team: string;
773
+ apikey: string;
774
+ user_id: string;
775
+ description?: string;
776
+ /** @default {} */
777
+ metadata: {
778
+ [key: string]: unknown;
670
779
  };
780
+ /** @description ApiKey creation time */
781
+ createdAt: string;
782
+ /** @description ApiKey update time */
783
+ updatedAt: string;
671
784
  };
672
- /** @description Event domain.update */
673
- "Event_domain.update": {
674
- /** @enum {string} */
675
- type: "domain.update";
676
- produced_at: number;
677
- payload: {
678
- domain: components["schemas"]["Domain"];
679
- app: components["schemas"]["App"];
680
- };
785
+ ApiKeyCreate: {
786
+ description?: string;
787
+ };
788
+ ApiKeyUpdate: {
789
+ description?: string;
681
790
  };
682
- /** @description Event volume.create */
683
- "Event_volume.create": {
791
+ /** @description Event Apikey Create */
792
+ EventApikeyCreate: {
684
793
  /** @enum {string} */
685
- type: "volume.create";
794
+ type: "apikey.create";
795
+ /** @description Timestamp */
686
796
  produced_at: number;
687
- payload: components["schemas"]["Volume"];
797
+ payload: components["schemas"]["ApiKey"];
688
798
  };
689
- /** @description Event volume.delete */
690
- "Event_volume.delete": {
799
+ /** @description Event Apikey Delete */
800
+ EventApikeyDelete: {
691
801
  /** @enum {string} */
692
- type: "volume.delete";
802
+ type: "apikey.delete";
803
+ /** @description Timestamp */
693
804
  produced_at: number;
694
- payload: components["schemas"]["Volume"];
805
+ payload: components["schemas"]["ApiKey"];
695
806
  };
696
- /** @description Event deployment.update_status */
697
- "Event_deployment.update_status": {
807
+ /** @description Event Apikey Update */
808
+ EventApikeyUpdate: {
698
809
  /** @enum {string} */
699
- type: "deployment.update_status";
810
+ type: "apikey.update";
811
+ /** @description Timestamp */
700
812
  produced_at: number;
701
- payload: {
702
- id: string;
703
- status: components["schemas"]["DeploymentStatus"];
704
- };
813
+ payload: components["schemas"]["ApiKey"];
705
814
  };
706
- /** @description Profile */
707
- Profile: {
708
- /** @description Profile ID */
709
- id: string;
710
- slug: string;
711
- name?: string;
712
- description: string;
713
- is_team: boolean;
714
- owner_id: string;
715
- stripe_sub?: string | null;
716
- /** @description Profile creation date */
717
- createdAt: string;
718
- };
719
- /** @description PaginatedResponse */
720
- ProfilePage: {
721
- /** @description next cursor */
722
- next: string | null;
723
- /** @description list of results */
724
- results: {
725
- /** @description Profile ID */
726
- id: string;
727
- slug: string;
728
- name?: string;
729
- description: string;
730
- is_team: boolean;
731
- owner_id: string;
732
- stripe_sub?: string | null;
733
- /** @description Profile creation date */
734
- createdAt: string;
735
- }[];
736
- };
737
- ApiKey: {
738
- id: string;
739
- apikey: string;
740
- user_id: string;
741
- team: string;
742
- description?: string;
743
- createdAt: string;
744
- };
745
- /** @description PaginatedResponse */
746
- ApiKeyPage: {
747
- /** @description next cursor */
748
- next: string | null;
749
- /** @description list of results */
750
- results: {
751
- id: string;
752
- apikey: string;
753
- user_id: string;
754
- team: string;
755
- description?: string;
756
- createdAt: string;
757
- }[];
815
+ AppStatus: {
816
+ /**
817
+ * @description High-level summary of where the Database is in its lifecycle
818
+ * @default UNKNOWN
819
+ */
820
+ phase: "UNKNOWN" | "QUEUED" | "BUILDING" | "ERROR" | "INITIALIZING" | "READY" | "CANCELED" | "TERMINATING";
821
+ /**
822
+ * @description Deployment for this app
823
+ * @default null
824
+ */
825
+ deployment: string | null;
826
+ /**
827
+ * @description Deployment for this app
828
+ * @default null
829
+ */
830
+ deployment_previous: string | null;
831
+ /**
832
+ * @description Last commited cache Purge
833
+ * @default null
834
+ */
835
+ last_commited_purge: string | null;
836
+ /**
837
+ * @description Last commited cache Purge key
838
+ * @default null
839
+ */
840
+ last_commited_purge_key: string | null;
841
+ /**
842
+ * @description Last commited cache Purge key
843
+ * @default null
844
+ */
845
+ last_commited_purge_service: string | null;
758
846
  };
759
847
  AppRuntimeStrategy: "next" | "wordpress";
760
848
  AppRuntime: "node" | "php";
761
- AppStatus: {
762
- /**
763
- * @description High-level summary of where the Database is in its lifecycle
764
- * @default UNKNOWN
765
- */
766
- phase: "UNKNOWN" | "QUEUED" | "BUILDING" | "ERROR" | "INITIALIZING" | "READY" | "CANCELED" | "TERMINATING";
767
- /**
768
- * @description Deployment for this app
769
- * @default null
770
- */
771
- deployment: string;
772
- /**
773
- * @description Deployment for this app
774
- * @default null
775
- */
776
- deployment_previous: string;
777
- /**
778
- * @description Last commited cache Purge
779
- * @default null
780
- */
781
- last_commited_purge: string;
782
- };
783
849
  /** @description App */
784
850
  App: {
785
851
  /** @description App ID */
786
852
  id: string;
787
- /** @description Profile */
788
- profile?: {
789
- /** @description Profile ID */
790
- id: string;
791
- slug: string;
792
- name?: string;
793
- description: string;
794
- is_team: boolean;
795
- owner_id: string;
796
- stripe_sub?: string | null;
797
- /** @description Profile creation date */
798
- createdAt: string;
799
- } | string | unknown;
800
853
  team: string;
801
854
  name: string;
802
855
  description: string;
@@ -809,57 +862,20 @@ export interface components {
809
862
  instance_type: string;
810
863
  /** @description Deploy region */
811
864
  region: string;
812
- /** @description User that created the app */
813
- creator: string;
865
+ status: components["schemas"]["AppStatus"];
866
+ /** @default {} */
814
867
  metadata: {
815
868
  [key: string]: unknown;
816
869
  };
817
- status: components["schemas"]["AppStatus"];
818
- /** @description App creation date */
870
+ /** @description App creation time */
819
871
  createdAt: string;
872
+ /** @description App update time */
873
+ updatedAt: string;
820
874
  };
821
- /** @description PaginatedResponse */
822
- AppPage: {
823
- /** @description next cursor */
824
- next: string | null;
825
- /** @description list of results */
826
- results: {
827
- /** @description App ID */
828
- id: string;
829
- /** @description Profile */
830
- profile?: {
831
- /** @description Profile ID */
832
- id: string;
833
- slug: string;
834
- name?: string;
835
- description: string;
836
- is_team: boolean;
837
- owner_id: string;
838
- stripe_sub?: string | null;
839
- /** @description Profile creation date */
840
- createdAt: string;
841
- } | string | unknown;
842
- team: string;
843
- name: string;
844
- description: string;
845
- slug: string;
846
- url: string;
847
- active: boolean;
848
- runtime: components["schemas"]["AppRuntime"];
849
- runtime_strategy: ("next" | "wordpress") | null;
850
- /** @description Faable instance types comprise varying combinations of CPU, memory, storage, and networking capacity. */
851
- instance_type: string;
852
- /** @description Deploy region */
853
- region: string;
854
- /** @description User that created the app */
855
- creator: string;
856
- metadata: {
857
- [key: string]: unknown;
858
- };
859
- status: components["schemas"]["AppStatus"];
860
- /** @description App creation date */
861
- createdAt: string;
862
- }[];
875
+ AppCreate: {
876
+ name: string;
877
+ runtime?: string;
878
+ description?: string;
863
879
  };
864
880
  AppUpdate: {
865
881
  name?: string;
@@ -868,79 +884,235 @@ export interface components {
868
884
  runtime_strategy?: components["schemas"]["AppRuntimeStrategy"];
869
885
  instance_type?: string;
870
886
  };
871
- AppCreate: {
872
- name: string;
887
+ /** @description Event App Create */
888
+ EventAppCreate: {
889
+ /** @enum {string} */
890
+ type: "app.create";
891
+ /** @description Timestamp */
892
+ produced_at: number;
893
+ payload: components["schemas"]["App"];
894
+ };
895
+ /** @description Event App Delete */
896
+ EventAppDelete: {
897
+ /** @enum {string} */
898
+ type: "app.delete";
899
+ /** @description Timestamp */
900
+ produced_at: number;
901
+ payload: components["schemas"]["App"];
902
+ };
903
+ /** @description Event App Update */
904
+ EventAppUpdate: {
905
+ /** @enum {string} */
906
+ type: "app.update";
907
+ /** @description Timestamp */
908
+ produced_at: number;
909
+ payload: components["schemas"]["App"];
910
+ };
911
+ DeploymentStatus: {
912
+ /**
913
+ * @description High-level summary of where the Deployment is in its lifecycle
914
+ * @default UNKNOWN
915
+ */
916
+ phase: "UNKNOWN" | "QUEUED" | "BUILDING" | "ERROR" | "INITIALIZING" | "READY" | "CANCELED" | "TERMINATING";
917
+ };
918
+ /** @description Deployment */
919
+ Deployment: {
920
+ /** @description Deployment ID */
921
+ id: string;
873
922
  team: string;
874
- runtime?: string;
923
+ app_id: string;
924
+ image: string;
925
+ status: components["schemas"]["DeploymentStatus"];
926
+ /** @default {} */
927
+ metadata: {
928
+ [key: string]: unknown;
929
+ };
930
+ /** @description Deployment creation time */
931
+ createdAt: string;
932
+ /** @description Deployment update time */
933
+ updatedAt: string;
934
+ };
935
+ DeploymentCreate: {
936
+ app_id: string;
937
+ image: string;
938
+ };
939
+ /** @description Event Deployment Create */
940
+ EventDeploymentCreate: {
941
+ /** @enum {string} */
942
+ type: "deployment.create";
943
+ /** @description Timestamp */
944
+ produced_at: number;
945
+ payload: components["schemas"]["Deployment"];
946
+ };
947
+ /** @description Event Deployment Delete */
948
+ EventDeploymentDelete: {
949
+ /** @enum {string} */
950
+ type: "deployment.delete";
951
+ /** @description Timestamp */
952
+ produced_at: number;
953
+ payload: components["schemas"]["Deployment"];
954
+ };
955
+ /** @description Event Deployment Update */
956
+ EventDeploymentUpdate: {
957
+ /** @enum {string} */
958
+ type: "deployment.update";
959
+ /** @description Timestamp */
960
+ produced_at: number;
961
+ payload: components["schemas"]["Deployment"];
962
+ };
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;
875
1003
  description?: string;
876
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
+ };
877
1035
  /** @description Domain */
878
1036
  Domain: {
879
1037
  /** @description Domain ID */
880
1038
  id: string;
881
- /** @description Profile */
882
- profile?: {
883
- /** @description Profile ID */
884
- id: string;
885
- slug: string;
886
- name?: string;
887
- description: string;
888
- is_team: boolean;
889
- owner_id: string;
890
- stripe_sub?: string | null;
891
- /** @description Profile creation date */
892
- createdAt: string;
893
- } | string | unknown;
894
1039
  team: string;
895
1040
  /** @description Unique identifier of the domain */
896
1041
  fqdn: string;
897
1042
  /** @description TLS is enabled for this domain */
898
1043
  tls: boolean;
899
- /** @description Linked App */
900
- app_id?: string | null;
1044
+ /**
1045
+ * @description Linked App
1046
+ * @default null
1047
+ */
1048
+ app_id: string | null;
901
1049
  /** @description If the domain has the ownership verified */
902
1050
  verified: boolean;
903
- /** @description Domain creation date */
1051
+ /** @default {} */
1052
+ metadata: {
1053
+ [key: string]: unknown;
1054
+ };
1055
+ /** @description Domain creation time */
904
1056
  createdAt: string;
1057
+ /** @description Domain update time */
1058
+ updatedAt: string;
905
1059
  };
906
- /** @description PaginatedResponse */
907
- DomainPage: {
908
- /** @description next cursor */
909
- next: string | null;
910
- /** @description list of results */
911
- results: {
912
- /** @description Domain ID */
913
- id: string;
914
- /** @description Profile */
915
- profile?: {
916
- /** @description Profile ID */
917
- id: string;
918
- slug: string;
919
- name?: string;
920
- description: string;
921
- is_team: boolean;
922
- owner_id: string;
923
- stripe_sub?: string | null;
924
- /** @description Profile creation date */
925
- createdAt: string;
926
- } | string | unknown;
927
- team: string;
928
- /** @description Unique identifier of the domain */
929
- fqdn: string;
930
- /** @description TLS is enabled for this domain */
931
- tls: boolean;
932
- /** @description Linked App */
933
- app_id?: string | null;
934
- /** @description If the domain has the ownership verified */
935
- verified: boolean;
936
- /** @description Domain creation date */
937
- createdAt: string;
938
- }[];
1060
+ DomainCreate: {
1061
+ fqdn: string;
1062
+ /** @description Linked App */
1063
+ app_id?: string;
1064
+ /** @default true */
1065
+ tls: boolean;
1066
+ };
1067
+ DomainUpdate: {
1068
+ /**
1069
+ * @description Link domain to this App
1070
+ * @default null
1071
+ */
1072
+ app_id: string | null;
1073
+ };
1074
+ /** @description Event Domain Create */
1075
+ EventDomainCreate: {
1076
+ /** @enum {string} */
1077
+ type: "domain.create";
1078
+ /** @description Timestamp */
1079
+ produced_at: number;
1080
+ payload: components["schemas"]["Domain"];
939
1081
  };
940
- /** @description A Secret object */
1082
+ /** @description Event Domain Delete */
1083
+ EventDomainDelete: {
1084
+ /** @enum {string} */
1085
+ type: "domain.delete";
1086
+ /** @description Timestamp */
1087
+ produced_at: number;
1088
+ payload: components["schemas"]["Domain"];
1089
+ };
1090
+ /** @description Event Domain Update */
1091
+ EventDomainUpdate: {
1092
+ /** @enum {string} */
1093
+ type: "domain.update";
1094
+ /** @description Timestamp */
1095
+ produced_at: number;
1096
+ payload: components["schemas"]["Domain"];
1097
+ };
1098
+ /** @description Event Secret Create_batch */
1099
+ EventSecretCreate_batch: {
1100
+ /** @enum {string} */
1101
+ type: "secret.create_batch";
1102
+ /** @description Timestamp */
1103
+ produced_at: number;
1104
+ payload: {
1105
+ /** @enum {string} */
1106
+ type: "app";
1107
+ context: components["schemas"]["App"];
1108
+ secrets: components["schemas"]["Secret"][];
1109
+ };
1110
+ };
1111
+ /** @description Secret */
941
1112
  Secret: {
942
1113
  /** @description Secret ID */
943
1114
  id: string;
1115
+ team: string;
944
1116
  /** @description Secret is linked to App */
945
1117
  app_id?: string;
946
1118
  /** @description Secret is linked to App */
@@ -952,16 +1124,27 @@ export interface components {
952
1124
  name: string;
953
1125
  /** @description Secret value */
954
1126
  value: string;
1127
+ /** @default {} */
1128
+ metadata: {
1129
+ [key: string]: unknown;
1130
+ };
1131
+ /** @description Secret creation time */
955
1132
  createdAt: string;
1133
+ /** @description Secret update time */
1134
+ updatedAt: string;
956
1135
  };
957
1136
  /** @description PaginatedResponse */
958
1137
  SecretPage: {
959
- /** @description next cursor */
1138
+ /**
1139
+ * @description next cursor
1140
+ * @default null
1141
+ */
960
1142
  next: string | null;
961
1143
  /** @description list of results */
962
1144
  results: {
963
1145
  /** @description Secret ID */
964
1146
  id: string;
1147
+ team: string;
965
1148
  /** @description Secret is linked to App */
966
1149
  app_id?: string;
967
1150
  /** @description Secret is linked to App */
@@ -973,7 +1156,14 @@ export interface components {
973
1156
  name: string;
974
1157
  /** @description Secret value */
975
1158
  value: string;
1159
+ /** @default {} */
1160
+ metadata: {
1161
+ [key: string]: unknown;
1162
+ };
1163
+ /** @description Secret creation time */
976
1164
  createdAt: string;
1165
+ /** @description Secret update time */
1166
+ updatedAt: string;
977
1167
  }[];
978
1168
  };
979
1169
  /** @description Create Secrets by Batch */
@@ -984,144 +1174,37 @@ export interface components {
984
1174
  value: string;
985
1175
  }[];
986
1176
  };
987
- /** @description Upsert Secret */
988
- SecretUpsert: {
989
- app_id: string;
990
- name: string;
991
- value: string;
992
- };
993
- /** @description Deployment */
994
- Deployment: {
995
- /** @description Deployment ID */
996
- id: string;
997
- app_id: string;
998
- image: string;
999
- status: components["schemas"]["DeploymentStatus"];
1000
- /**
1001
- * @description user id of deployment creator
1002
- * @default
1003
- */
1004
- user: string | null;
1005
- /** @description Deployment creation date */
1006
- createdAt: string;
1007
- };
1008
- /** @description PaginatedResponse */
1009
- DeploymentPage: {
1010
- /** @description next cursor */
1011
- next: string | null;
1012
- /** @description list of results */
1013
- results: {
1014
- /** @description Deployment ID */
1015
- id: string;
1016
- app_id: string;
1017
- image: string;
1018
- status: components["schemas"]["DeploymentStatus"];
1019
- /**
1020
- * @description user id of deployment creator
1021
- * @default
1022
- */
1023
- user: string | null;
1024
- /** @description Deployment creation date */
1025
- createdAt: string;
1026
- }[];
1027
- };
1028
- DeploymentCreate: {
1029
- app_id: string;
1030
- image: string;
1031
- };
1032
- DeploymentStatus: {
1033
- /**
1034
- * @description High-level summary of where the Deployment is in its lifecycle
1035
- * @default UNKNOWN
1036
- */
1037
- phase: "UNKNOWN" | "QUEUED" | "BUILDING" | "ERROR" | "INITIALIZING" | "READY" | "CANCELED" | "TERMINATING";
1038
- };
1039
- /** @description Volume */
1040
- Volume: {
1041
- id: string;
1042
- /** @description Profile */
1043
- profile?: {
1044
- /** @description Profile ID */
1045
- id: string;
1046
- slug: string;
1047
- name?: string;
1048
- description: string;
1049
- is_team: boolean;
1050
- owner_id: string;
1051
- stripe_sub?: string | null;
1052
- /** @description Profile creation date */
1053
- createdAt: string;
1054
- } | string | unknown;
1055
- team: string;
1056
- name: string;
1057
- description: string;
1058
- slug: string;
1059
- /** @description App which has this volume mounted */
1060
- app_id: string | null;
1061
- /** @description The size of the block storage volume in GiB */
1062
- size_gb: number;
1063
- /** @description Region where is deployed */
1064
- region: string;
1065
- /** @description State */
1066
- status: "pending" | "ready";
1067
- /** @description User creator of this volume */
1068
- creator: string;
1069
- /** @description Volume creation date */
1070
- createdAt: string;
1071
- };
1072
- /** @description PaginatedResponse */
1073
- VolumePage: {
1074
- /** @description next cursor */
1075
- next: string | null;
1076
- /** @description list of results */
1077
- results: {
1078
- id: string;
1079
- /** @description Profile */
1080
- profile?: {
1081
- /** @description Profile ID */
1082
- id: string;
1083
- slug: string;
1084
- name?: string;
1085
- description: string;
1086
- is_team: boolean;
1087
- owner_id: string;
1088
- stripe_sub?: string | null;
1089
- /** @description Profile creation date */
1090
- createdAt: string;
1091
- } | string | unknown;
1092
- team: string;
1093
- name: string;
1094
- description: string;
1095
- slug: string;
1096
- /** @description App which has this volume mounted */
1097
- app_id: string | null;
1098
- /** @description The size of the block storage volume in GiB */
1099
- size_gb: number;
1100
- /** @description Region where is deployed */
1101
- region: string;
1102
- /** @description State */
1103
- status: "pending" | "ready";
1104
- /** @description User creator of this volume */
1105
- creator: string;
1106
- /** @description Volume creation date */
1107
- createdAt: string;
1108
- }[];
1109
- };
1110
- VolumeCreate: {
1177
+ /** @description Upsert Secret */
1178
+ SecretUpsert: {
1179
+ app_id: string;
1111
1180
  name: string;
1112
- /** @description Who owns this Volume */
1113
- profile_id: string;
1114
- /** @description The size of the block storage volume in GiB */
1115
- size_gb: number;
1116
- /**
1117
- * @description Region where is deployed
1118
- * @default poz1
1119
- */
1120
- region: string;
1121
- description?: string;
1181
+ value: string;
1122
1182
  };
1123
- ApiKeyCreate: {
1124
- description?: string;
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"];
1196
+ };
1197
+ };
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"];
1207
+ };
1125
1208
  };
1126
1209
  AppChecknameResponse: {
1127
1210
  name: string;
@@ -1131,18 +1214,6 @@ export interface components {
1131
1214
  availiable: boolean;
1132
1215
  error?: string;
1133
1216
  };
1134
- DomainCreate: {
1135
- profile_id: string;
1136
- fqdn: string;
1137
- /** @description Linked App */
1138
- app_id?: string;
1139
- /** @default true */
1140
- tls: boolean;
1141
- };
1142
- DomainUpdate: {
1143
- /** @description Link domain to this App */
1144
- app_id?: string;
1145
- };
1146
1217
  };
1147
1218
  responses: never;
1148
1219
  parameters: never;
@@ -1160,6 +1231,8 @@ export interface operations {
1160
1231
  query?: {
1161
1232
  /** @description Start from this cursor */
1162
1233
  cursor?: string;
1234
+ /** @description Start from this cursor */
1235
+ next?: string;
1163
1236
  /** @description Size of the results array */
1164
1237
  pageSize?: number;
1165
1238
  };
@@ -1176,10 +1249,25 @@ export interface operations {
1176
1249
  };
1177
1250
  content: {
1178
1251
  "application/json": {
1179
- /** @description next cursor */
1252
+ /**
1253
+ * @description next cursor
1254
+ * @default null
1255
+ */
1180
1256
  next: string | null;
1181
1257
  /** @description list of results */
1182
- results: unknown[];
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
+ }[];
1183
1271
  };
1184
1272
  };
1185
1273
  };
@@ -1192,16 +1280,13 @@ export interface operations {
1192
1280
  path?: never;
1193
1281
  cookie?: never;
1194
1282
  };
1195
- requestBody: {
1283
+ requestBody?: {
1196
1284
  content: {
1197
- "application/json": {
1198
- name: string;
1199
- description?: string;
1200
- };
1285
+ "application/json": components["schemas"]["ProfileCreate"];
1201
1286
  };
1202
1287
  };
1203
1288
  responses: {
1204
- /** @description Default Response */
1289
+ /** @description Profile */
1205
1290
  201: {
1206
1291
  headers: {
1207
1292
  [name: string]: unknown;
@@ -1224,6 +1309,18 @@ export interface operations {
1224
1309
  requestBody?: never;
1225
1310
  responses: never;
1226
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
+ };
1227
1324
  "profile/getbyslug": {
1228
1325
  parameters: {
1229
1326
  query?: never;
@@ -1235,7 +1332,7 @@ export interface operations {
1235
1332
  };
1236
1333
  requestBody?: never;
1237
1334
  responses: {
1238
- /** @description Default Response */
1335
+ /** @description Profile */
1239
1336
  200: {
1240
1337
  headers: {
1241
1338
  [name: string]: unknown;
@@ -1246,11 +1343,13 @@ export interface operations {
1246
1343
  };
1247
1344
  };
1248
1345
  };
1249
- "apikey/list": {
1346
+ "contact/list": {
1250
1347
  parameters: {
1251
1348
  query?: {
1252
1349
  /** @description Start from this cursor */
1253
1350
  cursor?: string;
1351
+ /** @description Start from this cursor */
1352
+ next?: string;
1254
1353
  /** @description Size of the results array */
1255
1354
  pageSize?: number;
1256
1355
  };
@@ -1260,18 +1359,41 @@ export interface operations {
1260
1359
  };
1261
1360
  requestBody?: never;
1262
1361
  responses: {
1263
- /** @description Default Response */
1362
+ /** @description PaginatedResponse */
1264
1363
  200: {
1265
1364
  headers: {
1266
1365
  [name: string]: unknown;
1267
1366
  };
1268
1367
  content: {
1269
- "application/json": components["schemas"]["ApiKeyPage"];
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
+ };
1270
1392
  };
1271
1393
  };
1272
1394
  };
1273
1395
  };
1274
- "apikey/create": {
1396
+ "contact/create": {
1275
1397
  parameters: {
1276
1398
  query?: never;
1277
1399
  header?: never;
@@ -1280,56 +1402,100 @@ export interface operations {
1280
1402
  };
1281
1403
  requestBody?: {
1282
1404
  content: {
1283
- "application/json": components["schemas"]["ApiKeyCreate"];
1405
+ "application/json": components["schemas"]["ContactCreate"];
1284
1406
  };
1285
1407
  };
1286
1408
  responses: {
1287
- /** @description Default Response */
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": {
1421
+ parameters: {
1422
+ query?: never;
1423
+ header?: never;
1424
+ path: {
1425
+ id: string;
1426
+ };
1427
+ cookie?: never;
1428
+ };
1429
+ requestBody?: never;
1430
+ responses: {
1431
+ /** @description Contact */
1288
1432
  200: {
1289
1433
  headers: {
1290
1434
  [name: string]: unknown;
1291
1435
  };
1292
1436
  content: {
1293
- "application/json": components["schemas"]["ApiKey"];
1437
+ "application/json": components["schemas"]["Contact"];
1294
1438
  };
1295
1439
  };
1296
1440
  };
1297
1441
  };
1298
- "status/update": {
1442
+ "contact/update": {
1299
1443
  parameters: {
1300
1444
  query?: never;
1301
1445
  header?: never;
1302
1446
  path: {
1303
- related_id: string;
1447
+ id: string;
1304
1448
  };
1305
1449
  cookie?: never;
1306
1450
  };
1307
- /** @description Update Status */
1308
1451
  requestBody?: {
1309
1452
  content: {
1310
- "application/json": {
1311
- [key: string]: unknown;
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"];
1312
1464
  };
1313
1465
  };
1314
1466
  };
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;
1315
1478
  responses: {
1316
- /** @description Default Response */
1479
+ /** @description Contact */
1317
1480
  200: {
1318
1481
  headers: {
1319
1482
  [name: string]: unknown;
1320
1483
  };
1321
- content?: never;
1484
+ content: {
1485
+ "application/json": components["schemas"]["Contact"];
1486
+ };
1322
1487
  };
1323
1488
  };
1324
1489
  };
1325
- "app/query": {
1490
+ "apikey/list": {
1326
1491
  parameters: {
1327
1492
  query?: {
1328
1493
  /** @description Start from this cursor */
1329
1494
  cursor?: string;
1495
+ /** @description Start from this cursor */
1496
+ next?: string;
1330
1497
  /** @description Size of the results array */
1331
1498
  pageSize?: number;
1332
- query?: string;
1333
1499
  };
1334
1500
  header?: never;
1335
1501
  path?: never;
@@ -1337,18 +1503,41 @@ export interface operations {
1337
1503
  };
1338
1504
  requestBody?: never;
1339
1505
  responses: {
1340
- /** @description Default Response */
1506
+ /** @description PaginatedResponse */
1341
1507
  200: {
1342
1508
  headers: {
1343
1509
  [name: string]: unknown;
1344
1510
  };
1345
1511
  content: {
1346
- "application/json": components["schemas"]["AppPage"];
1512
+ "application/json": {
1513
+ /**
1514
+ * @description next cursor
1515
+ * @default null
1516
+ */
1517
+ next: string | null;
1518
+ /** @description list of results */
1519
+ results: {
1520
+ /** @description ApiKey ID */
1521
+ id: string;
1522
+ 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 */
1531
+ createdAt: string;
1532
+ /** @description ApiKey update time */
1533
+ updatedAt: string;
1534
+ }[];
1535
+ };
1347
1536
  };
1348
1537
  };
1349
1538
  };
1350
1539
  };
1351
- "app/create": {
1540
+ "apikey/create": {
1352
1541
  parameters: {
1353
1542
  query?: never;
1354
1543
  header?: never;
@@ -1357,34 +1546,189 @@ export interface operations {
1357
1546
  };
1358
1547
  requestBody?: {
1359
1548
  content: {
1360
- "application/json": components["schemas"]["AppCreate"];
1549
+ "application/json": components["schemas"]["ApiKeyCreate"];
1361
1550
  };
1362
1551
  };
1363
1552
  responses: {
1364
- /** @description Default Response */
1553
+ /** @description ApiKey */
1365
1554
  201: {
1366
1555
  headers: {
1367
1556
  [name: string]: unknown;
1368
1557
  };
1369
1558
  content: {
1370
- "application/json": components["schemas"]["App"];
1559
+ "application/json": components["schemas"]["ApiKey"];
1371
1560
  };
1372
1561
  };
1373
1562
  };
1374
1563
  };
1375
- "app/getbyid": {
1564
+ "apikey/get": {
1376
1565
  parameters: {
1377
1566
  query?: never;
1378
1567
  header?: never;
1379
1568
  path: {
1380
- app_id: string;
1569
+ id: string;
1570
+ };
1571
+ cookie?: never;
1572
+ };
1573
+ requestBody?: never;
1574
+ responses: {
1575
+ /** @description ApiKey */
1576
+ 200: {
1577
+ headers: {
1578
+ [name: string]: unknown;
1579
+ };
1580
+ content: {
1581
+ "application/json": components["schemas"]["ApiKey"];
1582
+ };
1583
+ };
1584
+ };
1585
+ };
1586
+ "apikey/update": {
1587
+ parameters: {
1588
+ query?: never;
1589
+ header?: never;
1590
+ path: {
1591
+ id: string;
1592
+ };
1593
+ cookie?: never;
1594
+ };
1595
+ requestBody?: {
1596
+ content: {
1597
+ "application/json": components["schemas"]["ApiKeyUpdate"];
1598
+ };
1599
+ };
1600
+ responses: {
1601
+ /** @description ApiKey */
1602
+ 200: {
1603
+ headers: {
1604
+ [name: string]: unknown;
1605
+ };
1606
+ content: {
1607
+ "application/json": components["schemas"]["ApiKey"];
1608
+ };
1609
+ };
1610
+ };
1611
+ };
1612
+ "apikey/remove": {
1613
+ parameters: {
1614
+ query?: never;
1615
+ header?: never;
1616
+ path: {
1617
+ id: string;
1381
1618
  };
1382
1619
  cookie?: never;
1383
1620
  };
1384
1621
  requestBody?: never;
1622
+ 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
+ };
1385
1648
  responses: {
1386
1649
  /** @description Default Response */
1387
1650
  200: {
1651
+ headers: {
1652
+ [name: string]: unknown;
1653
+ };
1654
+ content?: never;
1655
+ };
1656
+ };
1657
+ };
1658
+ "app/list": {
1659
+ parameters: {
1660
+ query?: {
1661
+ /** @description Start from this cursor */
1662
+ cursor?: string;
1663
+ /** @description Start from this cursor */
1664
+ next?: string;
1665
+ /** @description Size of the results array */
1666
+ pageSize?: number;
1667
+ };
1668
+ header?: never;
1669
+ path?: never;
1670
+ cookie?: never;
1671
+ };
1672
+ requestBody?: never;
1673
+ responses: {
1674
+ /** @description PaginatedResponse */
1675
+ 200: {
1676
+ headers: {
1677
+ [name: string]: unknown;
1678
+ };
1679
+ content: {
1680
+ "application/json": {
1681
+ /**
1682
+ * @description next cursor
1683
+ * @default null
1684
+ */
1685
+ next: string | null;
1686
+ /** @description list of results */
1687
+ results: {
1688
+ /** @description App ID */
1689
+ id: string;
1690
+ team: string;
1691
+ name: string;
1692
+ description: string;
1693
+ slug: string;
1694
+ url: string;
1695
+ active: boolean;
1696
+ runtime: components["schemas"]["AppRuntime"];
1697
+ runtime_strategy: ("next" | "wordpress") | null;
1698
+ /** @description Faable instance types comprise varying combinations of CPU, memory, storage, and networking capacity. */
1699
+ instance_type: string;
1700
+ /** @description Deploy region */
1701
+ region: string;
1702
+ status: components["schemas"]["AppStatus"];
1703
+ /** @default {} */
1704
+ metadata: {
1705
+ [key: string]: unknown;
1706
+ };
1707
+ /** @description App creation time */
1708
+ createdAt: string;
1709
+ /** @description App update time */
1710
+ updatedAt: string;
1711
+ }[];
1712
+ };
1713
+ };
1714
+ };
1715
+ };
1716
+ };
1717
+ "app/create": {
1718
+ parameters: {
1719
+ query?: never;
1720
+ header?: never;
1721
+ path?: never;
1722
+ cookie?: never;
1723
+ };
1724
+ requestBody?: {
1725
+ content: {
1726
+ "application/json": components["schemas"]["AppCreate"];
1727
+ };
1728
+ };
1729
+ responses: {
1730
+ /** @description App */
1731
+ 201: {
1388
1732
  headers: {
1389
1733
  [name: string]: unknown;
1390
1734
  };
@@ -1399,13 +1743,13 @@ export interface operations {
1399
1743
  query?: never;
1400
1744
  header?: never;
1401
1745
  path: {
1402
- app_id: string;
1746
+ id: string;
1403
1747
  };
1404
1748
  cookie?: never;
1405
1749
  };
1406
1750
  requestBody?: never;
1407
1751
  responses: {
1408
- /** @description Default Response */
1752
+ /** @description App */
1409
1753
  200: {
1410
1754
  headers: {
1411
1755
  [name: string]: unknown;
@@ -1421,7 +1765,7 @@ export interface operations {
1421
1765
  query?: never;
1422
1766
  header?: never;
1423
1767
  path: {
1424
- app_id: string;
1768
+ id: string;
1425
1769
  };
1426
1770
  cookie?: never;
1427
1771
  };
@@ -1431,7 +1775,7 @@ export interface operations {
1431
1775
  };
1432
1776
  };
1433
1777
  responses: {
1434
- /** @description Default Response */
1778
+ /** @description App */
1435
1779
  200: {
1436
1780
  headers: {
1437
1781
  [name: string]: unknown;
@@ -1447,22 +1791,24 @@ export interface operations {
1447
1791
  query?: never;
1448
1792
  header?: never;
1449
1793
  path: {
1450
- app_id: string;
1794
+ id: string;
1451
1795
  };
1452
1796
  cookie?: never;
1453
1797
  };
1454
1798
  requestBody?: never;
1455
1799
  responses: {
1456
- /** @description Default Response */
1800
+ /** @description App */
1457
1801
  200: {
1458
1802
  headers: {
1459
1803
  [name: string]: unknown;
1460
1804
  };
1461
- content?: never;
1805
+ content: {
1806
+ "application/json": components["schemas"]["App"];
1807
+ };
1462
1808
  };
1463
1809
  };
1464
1810
  };
1465
- "app/getbyslug": {
1811
+ "app/slug": {
1466
1812
  parameters: {
1467
1813
  query?: never;
1468
1814
  header?: never;
@@ -1473,7 +1819,7 @@ export interface operations {
1473
1819
  };
1474
1820
  requestBody?: never;
1475
1821
  responses: {
1476
- /** @description Default Response */
1822
+ /** @description App */
1477
1823
  200: {
1478
1824
  headers: {
1479
1825
  [name: string]: unknown;
@@ -1579,82 +1925,133 @@ export interface operations {
1579
1925
  };
1580
1926
  };
1581
1927
  };
1582
- "domain/get": {
1928
+ "deployment/list": {
1583
1929
  parameters: {
1584
- query?: never;
1585
- header?: never;
1586
- path: {
1587
- domain_id: string;
1930
+ query?: {
1931
+ /** @description Start from this cursor */
1932
+ cursor?: string;
1933
+ /** @description Start from this cursor */
1934
+ next?: string;
1935
+ /** @description Size of the results array */
1936
+ pageSize?: number;
1588
1937
  };
1938
+ header?: never;
1939
+ path?: never;
1589
1940
  cookie?: never;
1590
1941
  };
1591
1942
  requestBody?: never;
1592
1943
  responses: {
1593
- /** @description Default Response */
1944
+ /** @description PaginatedResponse */
1594
1945
  200: {
1595
1946
  headers: {
1596
1947
  [name: string]: unknown;
1597
1948
  };
1598
1949
  content: {
1599
- "application/json": components["schemas"]["Domain"];
1950
+ "application/json": {
1951
+ /**
1952
+ * @description next cursor
1953
+ * @default null
1954
+ */
1955
+ next: string | null;
1956
+ /** @description list of results */
1957
+ results: {
1958
+ /** @description Deployment ID */
1959
+ id: string;
1960
+ team: string;
1961
+ app_id: string;
1962
+ image: string;
1963
+ status: components["schemas"]["DeploymentStatus"];
1964
+ /** @default {} */
1965
+ metadata: {
1966
+ [key: string]: unknown;
1967
+ };
1968
+ /** @description Deployment creation time */
1969
+ createdAt: string;
1970
+ /** @description Deployment update time */
1971
+ updatedAt: string;
1972
+ }[];
1973
+ };
1600
1974
  };
1601
1975
  };
1602
1976
  };
1603
1977
  };
1604
- "domain/update": {
1978
+ "deployment/create": {
1605
1979
  parameters: {
1606
1980
  query?: never;
1607
1981
  header?: never;
1608
- path: {
1609
- domain_id: string;
1610
- };
1982
+ path?: never;
1611
1983
  cookie?: never;
1612
1984
  };
1613
1985
  requestBody?: {
1614
1986
  content: {
1615
- "application/json": components["schemas"]["DomainUpdate"];
1987
+ "application/json": components["schemas"]["DeploymentCreate"];
1616
1988
  };
1617
1989
  };
1618
1990
  responses: {
1619
- /** @description Default Response */
1991
+ /** @description Deployment */
1620
1992
  201: {
1621
1993
  headers: {
1622
1994
  [name: string]: unknown;
1623
1995
  };
1624
1996
  content: {
1625
- "application/json": components["schemas"]["Domain"];
1997
+ "application/json": components["schemas"]["Deployment"];
1626
1998
  };
1627
1999
  };
1628
2000
  };
1629
2001
  };
1630
- "domain/delete": {
2002
+ "deployment/get": {
1631
2003
  parameters: {
1632
2004
  query?: never;
1633
2005
  header?: never;
1634
2006
  path: {
1635
- domain_id: string;
2007
+ id: string;
1636
2008
  };
1637
2009
  cookie?: never;
1638
2010
  };
1639
2011
  requestBody?: never;
1640
2012
  responses: {
1641
- /** @description Default Response */
2013
+ /** @description Deployment */
1642
2014
  200: {
1643
2015
  headers: {
1644
2016
  [name: string]: unknown;
1645
2017
  };
1646
- content?: never;
2018
+ content: {
2019
+ "application/json": components["schemas"]["Deployment"];
2020
+ };
1647
2021
  };
1648
2022
  };
1649
2023
  };
1650
- "domain/list": {
2024
+ "deployment/remove": {
2025
+ parameters: {
2026
+ query?: never;
2027
+ header?: never;
2028
+ path: {
2029
+ id: string;
2030
+ };
2031
+ cookie?: never;
2032
+ };
2033
+ requestBody?: never;
2034
+ responses: {
2035
+ /** @description Deployment */
2036
+ 200: {
2037
+ headers: {
2038
+ [name: string]: unknown;
2039
+ };
2040
+ content: {
2041
+ "application/json": components["schemas"]["Deployment"];
2042
+ };
2043
+ };
2044
+ };
2045
+ };
2046
+ "volume/list": {
1651
2047
  parameters: {
1652
2048
  query?: {
1653
2049
  /** @description Start from this cursor */
1654
2050
  cursor?: string;
2051
+ /** @description Start from this cursor */
2052
+ next?: string;
1655
2053
  /** @description Size of the results array */
1656
2054
  pageSize?: number;
1657
- query?: string;
1658
2055
  };
1659
2056
  header?: never;
1660
2057
  path?: never;
@@ -1662,18 +2059,53 @@ export interface operations {
1662
2059
  };
1663
2060
  requestBody?: never;
1664
2061
  responses: {
1665
- /** @description Default Response */
2062
+ /** @description PaginatedResponse */
1666
2063
  200: {
1667
2064
  headers: {
1668
2065
  [name: string]: unknown;
1669
2066
  };
1670
2067
  content: {
1671
- "application/json": components["schemas"]["DomainPage"];
2068
+ "application/json": {
2069
+ /**
2070
+ * @description next cursor
2071
+ * @default null
2072
+ */
2073
+ next: string | null;
2074
+ /** @description list of results */
2075
+ results: {
2076
+ id: string;
2077
+ 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;
2094
+ /** @default {} */
2095
+ metadata: {
2096
+ [key: string]: unknown;
2097
+ };
2098
+ /** @description Volume creation time */
2099
+ createdAt: string;
2100
+ /** @description Volume update time */
2101
+ updatedAt: string;
2102
+ }[];
2103
+ };
1672
2104
  };
1673
2105
  };
1674
2106
  };
1675
2107
  };
1676
- "domain/create": {
2108
+ "volume/create": {
1677
2109
  parameters: {
1678
2110
  query?: never;
1679
2111
  header?: never;
@@ -1682,115 +2114,150 @@ export interface operations {
1682
2114
  };
1683
2115
  requestBody?: {
1684
2116
  content: {
1685
- "application/json": components["schemas"]["DomainCreate"];
2117
+ "application/json": components["schemas"]["VolumeCreate"];
1686
2118
  };
1687
2119
  };
1688
2120
  responses: {
1689
- /** @description Default Response */
2121
+ /** @description Volume */
1690
2122
  201: {
1691
2123
  headers: {
1692
2124
  [name: string]: unknown;
1693
2125
  };
1694
2126
  content: {
1695
- "application/json": components["schemas"]["Domain"];
2127
+ "application/json": components["schemas"]["Volume"];
1696
2128
  };
1697
2129
  };
1698
2130
  };
1699
2131
  };
1700
- "domain/fqdn": {
2132
+ "volume/get": {
1701
2133
  parameters: {
1702
2134
  query?: never;
1703
2135
  header?: never;
1704
2136
  path: {
1705
- fqdn: string;
2137
+ id: string;
1706
2138
  };
1707
2139
  cookie?: never;
1708
2140
  };
1709
2141
  requestBody?: never;
1710
2142
  responses: {
1711
- /** @description Default Response */
2143
+ /** @description Volume */
1712
2144
  200: {
1713
2145
  headers: {
1714
2146
  [name: string]: unknown;
1715
2147
  };
1716
2148
  content: {
1717
- "application/json": components["schemas"]["Domain"];
2149
+ "application/json": components["schemas"]["Volume"];
1718
2150
  };
1719
2151
  };
1720
2152
  };
1721
2153
  };
1722
- "secrets/upsert": {
2154
+ "volume/update": {
1723
2155
  parameters: {
1724
2156
  query?: never;
1725
2157
  header?: never;
1726
- path?: never;
2158
+ path: {
2159
+ id: string;
2160
+ };
1727
2161
  cookie?: never;
1728
2162
  };
1729
2163
  requestBody?: {
1730
2164
  content: {
1731
- "application/json": components["schemas"]["SecretUpsert"];
2165
+ "application/json": components["schemas"]["VolumeUpdate"];
1732
2166
  };
1733
2167
  };
1734
2168
  responses: {
1735
- /** @description Default Response */
2169
+ /** @description Volume */
1736
2170
  200: {
1737
2171
  headers: {
1738
2172
  [name: string]: unknown;
1739
2173
  };
1740
2174
  content: {
1741
- "application/json": components["schemas"]["Secret"];
2175
+ "application/json": components["schemas"]["Volume"];
1742
2176
  };
1743
2177
  };
1744
2178
  };
1745
2179
  };
1746
- "secrets/list_app": {
2180
+ "volume/remove": {
1747
2181
  parameters: {
1748
- query?: {
1749
- /** @description Start from this cursor */
1750
- cursor?: string;
1751
- /** @description Size of the results array */
1752
- pageSize?: number;
1753
- };
2182
+ query?: never;
1754
2183
  header?: never;
1755
2184
  path: {
1756
- context_id: string;
2185
+ id: string;
1757
2186
  };
1758
2187
  cookie?: never;
1759
2188
  };
1760
2189
  requestBody?: never;
1761
2190
  responses: {
1762
- /** @description Default Response */
2191
+ /** @description Volume */
1763
2192
  200: {
1764
2193
  headers: {
1765
2194
  [name: string]: unknown;
1766
2195
  };
1767
2196
  content: {
1768
- "application/json": components["schemas"]["SecretPage"];
2197
+ "application/json": components["schemas"]["Volume"];
1769
2198
  };
1770
2199
  };
1771
2200
  };
1772
2201
  };
1773
- "secrets/delete": {
2202
+ "domain/list": {
1774
2203
  parameters: {
1775
- query?: never;
1776
- header?: never;
1777
- path: {
1778
- secret_id: string;
2204
+ query?: {
2205
+ /** @description Start from this cursor */
2206
+ cursor?: string;
2207
+ /** @description Start from this cursor */
2208
+ next?: string;
2209
+ /** @description Size of the results array */
2210
+ pageSize?: number;
1779
2211
  };
2212
+ header?: never;
2213
+ path?: never;
1780
2214
  cookie?: never;
1781
2215
  };
1782
2216
  requestBody?: never;
1783
2217
  responses: {
1784
- /** @description Default Response */
2218
+ /** @description PaginatedResponse */
1785
2219
  200: {
1786
2220
  headers: {
1787
2221
  [name: string]: unknown;
1788
2222
  };
1789
- content?: never;
2223
+ content: {
2224
+ "application/json": {
2225
+ /**
2226
+ * @description next cursor
2227
+ * @default null
2228
+ */
2229
+ next: string | null;
2230
+ /** @description list of results */
2231
+ results: {
2232
+ /** @description Domain ID */
2233
+ id: string;
2234
+ 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;
2246
+ /** @default {} */
2247
+ metadata: {
2248
+ [key: string]: unknown;
2249
+ };
2250
+ /** @description Domain creation time */
2251
+ createdAt: string;
2252
+ /** @description Domain update time */
2253
+ updatedAt: string;
2254
+ }[];
2255
+ };
2256
+ };
1790
2257
  };
1791
2258
  };
1792
2259
  };
1793
- "secrets/create_batch": {
2260
+ "domain/create": {
1794
2261
  parameters: {
1795
2262
  query?: never;
1796
2263
  header?: never;
@@ -1799,95 +2266,114 @@ export interface operations {
1799
2266
  };
1800
2267
  requestBody?: {
1801
2268
  content: {
1802
- "application/json": components["schemas"]["SecretCreateBatch"];
2269
+ "application/json": components["schemas"]["DomainCreate"];
1803
2270
  };
1804
2271
  };
1805
2272
  responses: {
1806
- /** @description Default Response */
2273
+ /** @description Domain */
1807
2274
  201: {
1808
2275
  headers: {
1809
2276
  [name: string]: unknown;
1810
2277
  };
1811
2278
  content: {
1812
- "application/json": components["schemas"]["Secret"][];
2279
+ "application/json": components["schemas"]["Domain"];
1813
2280
  };
1814
2281
  };
1815
2282
  };
1816
2283
  };
1817
- "deployment/list": {
2284
+ "domain/get": {
1818
2285
  parameters: {
1819
- query?: {
1820
- /** @description Start from this cursor */
1821
- cursor?: string;
1822
- /** @description Size of the results array */
1823
- pageSize?: number;
1824
- query?: string;
1825
- app?: string;
1826
- };
2286
+ query?: never;
1827
2287
  header?: never;
1828
- path?: never;
2288
+ path: {
2289
+ id: string;
2290
+ };
1829
2291
  cookie?: never;
1830
2292
  };
1831
2293
  requestBody?: never;
1832
2294
  responses: {
1833
- /** @description Default Response */
2295
+ /** @description Domain */
1834
2296
  200: {
1835
2297
  headers: {
1836
2298
  [name: string]: unknown;
1837
2299
  };
1838
2300
  content: {
1839
- "application/json": components["schemas"]["DeploymentPage"];
2301
+ "application/json": components["schemas"]["Domain"];
1840
2302
  };
1841
2303
  };
1842
2304
  };
1843
2305
  };
1844
- "deployment/create": {
2306
+ "domain/update": {
1845
2307
  parameters: {
1846
2308
  query?: never;
1847
2309
  header?: never;
1848
- path?: never;
2310
+ path: {
2311
+ id: string;
2312
+ };
1849
2313
  cookie?: never;
1850
2314
  };
1851
2315
  requestBody?: {
1852
2316
  content: {
1853
- "application/json": components["schemas"]["DeploymentCreate"];
2317
+ "application/json": components["schemas"]["DomainUpdate"];
1854
2318
  };
1855
2319
  };
1856
2320
  responses: {
1857
- /** @description Default Response */
1858
- 201: {
2321
+ /** @description Domain */
2322
+ 200: {
1859
2323
  headers: {
1860
2324
  [name: string]: unknown;
1861
2325
  };
1862
2326
  content: {
1863
- "application/json": components["schemas"]["Deployment"];
2327
+ "application/json": components["schemas"]["Domain"];
1864
2328
  };
1865
2329
  };
1866
2330
  };
1867
2331
  };
1868
- "deployment/get": {
2332
+ "domain/remove": {
1869
2333
  parameters: {
1870
2334
  query?: never;
1871
2335
  header?: never;
1872
2336
  path: {
1873
- deployment_id: string;
2337
+ id: string;
1874
2338
  };
1875
2339
  cookie?: never;
1876
2340
  };
1877
2341
  requestBody?: never;
1878
2342
  responses: {
1879
- /** @description Default Response */
2343
+ /** @description Domain */
1880
2344
  200: {
1881
2345
  headers: {
1882
2346
  [name: string]: unknown;
1883
2347
  };
1884
2348
  content: {
1885
- "application/json": components["schemas"]["Deployment"];
2349
+ "application/json": components["schemas"]["Domain"];
1886
2350
  };
1887
2351
  };
1888
2352
  };
1889
2353
  };
1890
- "volume/create": {
2354
+ "domain/fqdn": {
2355
+ parameters: {
2356
+ query?: never;
2357
+ header?: never;
2358
+ 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
+ };
2373
+ };
2374
+ };
2375
+ };
2376
+ "secrets/upsert": {
1891
2377
  parameters: {
1892
2378
  query?: never;
1893
2379
  header?: never;
@@ -1896,31 +2382,82 @@ export interface operations {
1896
2382
  };
1897
2383
  requestBody?: {
1898
2384
  content: {
1899
- "application/json": components["schemas"]["VolumeCreate"];
2385
+ "application/json": components["schemas"]["SecretUpsert"];
1900
2386
  };
1901
2387
  };
1902
2388
  responses: {
1903
- /** @description Default Response */
1904
- 201: {
2389
+ /** @description Secret */
2390
+ 200: {
1905
2391
  headers: {
1906
2392
  [name: string]: unknown;
1907
2393
  };
1908
2394
  content: {
1909
- "application/json": components["schemas"]["Volume"];
2395
+ "application/json": components["schemas"]["Secret"];
2396
+ };
2397
+ };
2398
+ };
2399
+ };
2400
+ "secrets/list_app": {
2401
+ 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
+ };
2410
+ header?: never;
2411
+ path: {
2412
+ context_id: string;
2413
+ };
2414
+ cookie?: never;
2415
+ };
2416
+ requestBody?: never;
2417
+ responses: {
2418
+ /** @description PaginatedResponse */
2419
+ 200: {
2420
+ headers: {
2421
+ [name: string]: unknown;
2422
+ };
2423
+ content: {
2424
+ "application/json": components["schemas"]["SecretPage"];
1910
2425
  };
1911
2426
  };
1912
2427
  };
1913
2428
  };
1914
- "volume/delete": {
2429
+ "secrets/delete": {
1915
2430
  parameters: {
1916
2431
  query?: never;
1917
2432
  header?: never;
1918
2433
  path: {
1919
- volume_id: string;
2434
+ secret_id: string;
1920
2435
  };
1921
2436
  cookie?: never;
1922
2437
  };
1923
2438
  requestBody?: never;
2439
+ responses: {
2440
+ /** @description Default Response */
2441
+ 200: {
2442
+ headers: {
2443
+ [name: string]: unknown;
2444
+ };
2445
+ content?: never;
2446
+ };
2447
+ };
2448
+ };
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
+ };
1924
2461
  responses: {
1925
2462
  /** @description Default Response */
1926
2463
  201: {
@@ -1928,7 +2465,7 @@ export interface operations {
1928
2465
  [name: string]: unknown;
1929
2466
  };
1930
2467
  content: {
1931
- "application/json": components["schemas"]["Volume"];
2468
+ "application/json": components["schemas"]["Secret"][];
1932
2469
  };
1933
2470
  };
1934
2471
  };