@cloudfleet/sdk 0.0.1-4ee2c6f → 0.0.1-5175d16
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.
- package/dist/@tanstack/react-query.gen.d.ts +54 -30
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/@tanstack/react-query.gen.js +54 -18
- package/dist/@tanstack/react-query.gen.js.map +1 -1
- package/dist/schemas.gen.d.ts +393 -94
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +497 -152
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +33 -21
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +32 -16
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +406 -87
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +384 -235
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +172 -103
- package/dist/zod.gen.js.map +1 -1
- package/package.json +5 -5
package/dist/types.gen.d.ts
CHANGED
|
@@ -2,6 +2,10 @@ export type ClientOptions = {
|
|
|
2
2
|
baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
|
|
3
3
|
};
|
|
4
4
|
export type BillingContact = {
|
|
5
|
+
/**
|
|
6
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
7
|
+
*/
|
|
8
|
+
type: 'business' | 'personal';
|
|
5
9
|
/**
|
|
6
10
|
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
7
11
|
*/
|
|
@@ -129,9 +133,9 @@ export type Chart = {
|
|
|
129
133
|
*/
|
|
130
134
|
chart: string;
|
|
131
135
|
/**
|
|
132
|
-
* Status of the chart deployment.
|
|
136
|
+
* Status of the chart deployment (Flux HelmRelease Ready condition reason, e.g. InstallSucceeded, UpgradeFailed, Progressing).
|
|
133
137
|
*/
|
|
134
|
-
status:
|
|
138
|
+
status: string;
|
|
135
139
|
/**
|
|
136
140
|
* Current version of the chart deployment.
|
|
137
141
|
*/
|
|
@@ -169,13 +173,63 @@ export type ClusterCreateInput = {
|
|
|
169
173
|
*/
|
|
170
174
|
tier: 'basic' | 'pro';
|
|
171
175
|
/**
|
|
172
|
-
* Cloudfleet control plane region.
|
|
176
|
+
* Cloudfleet control plane region. This field can not be updated after creation.
|
|
173
177
|
*/
|
|
174
|
-
region
|
|
178
|
+
region: string;
|
|
175
179
|
/**
|
|
176
180
|
* Version of the kubernetes cluster.
|
|
177
181
|
*/
|
|
178
|
-
version_channel?:
|
|
182
|
+
version_channel?: string;
|
|
183
|
+
/**
|
|
184
|
+
* Release channel for the cluster's control plane.
|
|
185
|
+
*/
|
|
186
|
+
release_channel?: 'rapid' | 'stable' | 'extended';
|
|
187
|
+
/**
|
|
188
|
+
* Cluster feature toggles.
|
|
189
|
+
*/
|
|
190
|
+
features?: {
|
|
191
|
+
/**
|
|
192
|
+
* GPU sharing strategy.
|
|
193
|
+
*/
|
|
194
|
+
gpu_sharing_strategy: 'none' | 'mps' | 'time_slicing';
|
|
195
|
+
/**
|
|
196
|
+
* Maximum number of pods that may share a single GPU.
|
|
197
|
+
*/
|
|
198
|
+
gpu_max_shared_clients_per_gpu: number;
|
|
199
|
+
/**
|
|
200
|
+
* Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
|
|
201
|
+
*/
|
|
202
|
+
cilium_socket_lb_host_namespace_only?: boolean;
|
|
203
|
+
};
|
|
204
|
+
/**
|
|
205
|
+
* Cluster networking configuration. Immutable after creation.
|
|
206
|
+
*/
|
|
207
|
+
networking?: {
|
|
208
|
+
/**
|
|
209
|
+
* CIDR block for pod IPs.
|
|
210
|
+
*/
|
|
211
|
+
pod_cidr?: string;
|
|
212
|
+
/**
|
|
213
|
+
* CIDR block for service IPs.
|
|
214
|
+
*/
|
|
215
|
+
service_cidr?: string;
|
|
216
|
+
/**
|
|
217
|
+
* CoreDNS service IP.
|
|
218
|
+
*/
|
|
219
|
+
cluster_dns?: string;
|
|
220
|
+
/**
|
|
221
|
+
* Enable IPv4+IPv6 dual-stack networking.
|
|
222
|
+
*/
|
|
223
|
+
dual_stack?: boolean;
|
|
224
|
+
/**
|
|
225
|
+
* IPv6 pod CIDR. Requires dual_stack.
|
|
226
|
+
*/
|
|
227
|
+
pod_cidr_v6?: string;
|
|
228
|
+
/**
|
|
229
|
+
* IPv6 service CIDR. Requires dual_stack.
|
|
230
|
+
*/
|
|
231
|
+
service_cidr_v6?: string;
|
|
232
|
+
};
|
|
179
233
|
};
|
|
180
234
|
export type ClusterJoinInformation = {
|
|
181
235
|
/**
|
|
@@ -190,6 +244,10 @@ export type ClusterJoinInformation = {
|
|
|
190
244
|
* Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.
|
|
191
245
|
*/
|
|
192
246
|
cluster_dns: string;
|
|
247
|
+
/**
|
|
248
|
+
* Pod CIDR for the cluster. Used to configure iptables rules on nodes to prevent Tailscale routing loops.
|
|
249
|
+
*/
|
|
250
|
+
pod_cidr: string;
|
|
193
251
|
/**
|
|
194
252
|
* Authentication key for the cluster.
|
|
195
253
|
*/
|
|
@@ -247,18 +305,69 @@ export type Cluster = {
|
|
|
247
305
|
*/
|
|
248
306
|
tier: 'basic' | 'pro';
|
|
249
307
|
/**
|
|
250
|
-
* Cloudfleet control plane region.
|
|
308
|
+
* Cloudfleet control plane region. This field can not be updated after creation.
|
|
309
|
+
*/
|
|
310
|
+
region: string;
|
|
311
|
+
/**
|
|
312
|
+
* Cluster networking configuration. Immutable after creation.
|
|
251
313
|
*/
|
|
252
|
-
|
|
314
|
+
networking?: {
|
|
315
|
+
/**
|
|
316
|
+
* CIDR block for pod IPs.
|
|
317
|
+
*/
|
|
318
|
+
pod_cidr?: string;
|
|
319
|
+
/**
|
|
320
|
+
* CIDR block for service IPs.
|
|
321
|
+
*/
|
|
322
|
+
service_cidr?: string;
|
|
323
|
+
/**
|
|
324
|
+
* CoreDNS service IP.
|
|
325
|
+
*/
|
|
326
|
+
cluster_dns?: string;
|
|
327
|
+
/**
|
|
328
|
+
* Enable IPv4+IPv6 dual-stack networking.
|
|
329
|
+
*/
|
|
330
|
+
dual_stack?: boolean;
|
|
331
|
+
/**
|
|
332
|
+
* IPv6 pod CIDR. Requires dual_stack.
|
|
333
|
+
*/
|
|
334
|
+
pod_cidr_v6?: string;
|
|
335
|
+
/**
|
|
336
|
+
* IPv6 service CIDR. Requires dual_stack.
|
|
337
|
+
*/
|
|
338
|
+
service_cidr_v6?: string;
|
|
339
|
+
};
|
|
340
|
+
/**
|
|
341
|
+
* Release channel for the cluster's control plane.
|
|
342
|
+
*/
|
|
343
|
+
release_channel?: 'rapid' | 'stable' | 'extended';
|
|
344
|
+
/**
|
|
345
|
+
* Cluster feature toggles.
|
|
346
|
+
*/
|
|
347
|
+
features?: {
|
|
348
|
+
/**
|
|
349
|
+
* GPU sharing strategy.
|
|
350
|
+
*/
|
|
351
|
+
gpu_sharing_strategy: 'none' | 'mps' | 'time_slicing';
|
|
352
|
+
/**
|
|
353
|
+
* Maximum number of pods that may share a single GPU.
|
|
354
|
+
*/
|
|
355
|
+
gpu_max_shared_clients_per_gpu: number;
|
|
356
|
+
/**
|
|
357
|
+
* Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
|
|
358
|
+
*/
|
|
359
|
+
cilium_socket_lb_host_namespace_only?: boolean;
|
|
360
|
+
};
|
|
253
361
|
/**
|
|
254
362
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
255
363
|
*/
|
|
256
364
|
id: string;
|
|
257
365
|
/**
|
|
258
|
-
* Status of the cluster.
|
|
366
|
+
* Status of the cluster.
|
|
259
367
|
*/
|
|
260
|
-
status: '
|
|
368
|
+
status: 'creating' | 'deployed' | 'updating' | 'disabled';
|
|
261
369
|
endpoint?: string | '';
|
|
370
|
+
endpoint_public?: string | '';
|
|
262
371
|
/**
|
|
263
372
|
* Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
|
|
264
373
|
*/
|
|
@@ -297,6 +406,27 @@ export type ClusterUpdateInput = {
|
|
|
297
406
|
* Version of the kubernetes cluster.
|
|
298
407
|
*/
|
|
299
408
|
version_channel?: string;
|
|
409
|
+
/**
|
|
410
|
+
* Release channel for the cluster's control plane.
|
|
411
|
+
*/
|
|
412
|
+
release_channel?: 'rapid' | 'stable' | 'extended';
|
|
413
|
+
/**
|
|
414
|
+
* Cluster feature toggles.
|
|
415
|
+
*/
|
|
416
|
+
features?: {
|
|
417
|
+
/**
|
|
418
|
+
* GPU sharing strategy.
|
|
419
|
+
*/
|
|
420
|
+
gpu_sharing_strategy: 'none' | 'mps' | 'time_slicing';
|
|
421
|
+
/**
|
|
422
|
+
* Maximum number of pods that may share a single GPU.
|
|
423
|
+
*/
|
|
424
|
+
gpu_max_shared_clients_per_gpu: number;
|
|
425
|
+
/**
|
|
426
|
+
* Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
|
|
427
|
+
*/
|
|
428
|
+
cilium_socket_lb_host_namespace_only?: boolean;
|
|
429
|
+
};
|
|
300
430
|
};
|
|
301
431
|
export type FleetCreateInput = {
|
|
302
432
|
/**
|
|
@@ -304,30 +434,30 @@ export type FleetCreateInput = {
|
|
|
304
434
|
*/
|
|
305
435
|
limits?: {
|
|
306
436
|
/**
|
|
307
|
-
* CPU limit in cores.
|
|
437
|
+
* CPU limit in cores. Maximum 100,000.
|
|
308
438
|
*/
|
|
309
439
|
cpu?: number;
|
|
310
440
|
};
|
|
311
441
|
gcp?: {
|
|
312
|
-
enabled
|
|
442
|
+
enabled: boolean;
|
|
313
443
|
/**
|
|
314
|
-
*
|
|
444
|
+
* GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.
|
|
315
445
|
*/
|
|
316
|
-
project
|
|
446
|
+
project?: string;
|
|
317
447
|
};
|
|
318
448
|
hetzner?: {
|
|
319
|
-
enabled
|
|
449
|
+
enabled: boolean;
|
|
320
450
|
/**
|
|
321
|
-
* Hetzner Cloud API
|
|
451
|
+
* Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
|
|
322
452
|
*/
|
|
323
453
|
apiKey?: string;
|
|
324
454
|
};
|
|
325
455
|
aws?: {
|
|
326
|
-
enabled
|
|
456
|
+
enabled: boolean;
|
|
327
457
|
/**
|
|
328
|
-
*
|
|
458
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
329
459
|
*/
|
|
330
|
-
controllerRoleArn
|
|
460
|
+
controllerRoleArn?: string;
|
|
331
461
|
};
|
|
332
462
|
/**
|
|
333
463
|
* Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together. Omit a field to place no restriction on that key.
|
|
@@ -365,30 +495,30 @@ export type Fleet = {
|
|
|
365
495
|
*/
|
|
366
496
|
limits?: {
|
|
367
497
|
/**
|
|
368
|
-
* CPU limit in cores.
|
|
498
|
+
* CPU limit in cores. Maximum 100,000.
|
|
369
499
|
*/
|
|
370
500
|
cpu?: number;
|
|
371
501
|
};
|
|
372
502
|
gcp?: {
|
|
373
|
-
enabled
|
|
503
|
+
enabled: boolean;
|
|
374
504
|
/**
|
|
375
|
-
*
|
|
505
|
+
* GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.
|
|
376
506
|
*/
|
|
377
|
-
project
|
|
507
|
+
project?: string;
|
|
378
508
|
};
|
|
379
509
|
hetzner?: {
|
|
380
|
-
enabled
|
|
510
|
+
enabled: boolean;
|
|
381
511
|
/**
|
|
382
|
-
* Hetzner
|
|
512
|
+
* Redacted Hetzner API token. Returned as 64 asterisks when a token is configured; omitted otherwise. The real value is never echoed by the API.
|
|
383
513
|
*/
|
|
384
514
|
apiKey?: string;
|
|
385
515
|
};
|
|
386
516
|
aws?: {
|
|
387
|
-
enabled
|
|
517
|
+
enabled: boolean;
|
|
388
518
|
/**
|
|
389
|
-
*
|
|
519
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
390
520
|
*/
|
|
391
|
-
controllerRoleArn
|
|
521
|
+
controllerRoleArn?: string;
|
|
392
522
|
};
|
|
393
523
|
/**
|
|
394
524
|
* Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together. Omit a field to place no restriction on that key.
|
|
@@ -414,11 +544,27 @@ export type Fleet = {
|
|
|
414
544
|
/**
|
|
415
545
|
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
|
|
416
546
|
*/
|
|
417
|
-
scalingProfile
|
|
547
|
+
scalingProfile: 'aggressive' | 'conservative';
|
|
418
548
|
/**
|
|
419
549
|
* Unique identifier of the kubernetes fleet.
|
|
420
550
|
*/
|
|
421
551
|
id: string;
|
|
552
|
+
/**
|
|
553
|
+
* Indicates whether the fleet configuration is healthy.
|
|
554
|
+
*/
|
|
555
|
+
ready: boolean;
|
|
556
|
+
/**
|
|
557
|
+
* Human-readable reason the fleet is not ready. Present only when `ready` is false.
|
|
558
|
+
*/
|
|
559
|
+
status_message?: string;
|
|
560
|
+
/**
|
|
561
|
+
* Creation date and time of the fleet.
|
|
562
|
+
*/
|
|
563
|
+
created_at: string;
|
|
564
|
+
/**
|
|
565
|
+
* Date and time the fleet was last updated.
|
|
566
|
+
*/
|
|
567
|
+
updated_at: string;
|
|
422
568
|
};
|
|
423
569
|
export type FleetUpdateInput = {
|
|
424
570
|
/**
|
|
@@ -426,30 +572,30 @@ export type FleetUpdateInput = {
|
|
|
426
572
|
*/
|
|
427
573
|
limits?: {
|
|
428
574
|
/**
|
|
429
|
-
* CPU limit in cores.
|
|
575
|
+
* CPU limit in cores. Maximum 100,000.
|
|
430
576
|
*/
|
|
431
577
|
cpu?: number;
|
|
432
578
|
};
|
|
433
579
|
gcp?: {
|
|
434
|
-
enabled
|
|
580
|
+
enabled: boolean;
|
|
435
581
|
/**
|
|
436
|
-
*
|
|
582
|
+
* GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.
|
|
437
583
|
*/
|
|
438
|
-
project
|
|
584
|
+
project?: string;
|
|
439
585
|
};
|
|
440
586
|
hetzner?: {
|
|
441
|
-
enabled
|
|
587
|
+
enabled: boolean;
|
|
442
588
|
/**
|
|
443
|
-
* Hetzner Cloud API
|
|
589
|
+
* Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
|
|
444
590
|
*/
|
|
445
591
|
apiKey?: string;
|
|
446
592
|
};
|
|
447
593
|
aws?: {
|
|
448
|
-
enabled
|
|
594
|
+
enabled: boolean;
|
|
449
595
|
/**
|
|
450
|
-
*
|
|
596
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
451
597
|
*/
|
|
452
|
-
controllerRoleArn
|
|
598
|
+
controllerRoleArn?: string;
|
|
453
599
|
};
|
|
454
600
|
/**
|
|
455
601
|
* Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together. Omit a field to place no restriction on that key.
|
|
@@ -475,7 +621,17 @@ export type FleetUpdateInput = {
|
|
|
475
621
|
/**
|
|
476
622
|
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
|
|
477
623
|
*/
|
|
478
|
-
scalingProfile
|
|
624
|
+
scalingProfile: 'aggressive' | 'conservative';
|
|
625
|
+
};
|
|
626
|
+
export type InviteCreateInput = {
|
|
627
|
+
/**
|
|
628
|
+
* Email address of the user to invite.
|
|
629
|
+
*/
|
|
630
|
+
email: string;
|
|
631
|
+
/**
|
|
632
|
+
* Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
|
|
633
|
+
*/
|
|
634
|
+
role?: 'Administrator' | 'User';
|
|
479
635
|
};
|
|
480
636
|
export type Invite = {
|
|
481
637
|
/**
|
|
@@ -498,6 +654,10 @@ export type Invite = {
|
|
|
498
654
|
* Generated unique invite code.
|
|
499
655
|
*/
|
|
500
656
|
code?: string;
|
|
657
|
+
/**
|
|
658
|
+
* Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
|
|
659
|
+
*/
|
|
660
|
+
role?: 'Administrator' | 'User';
|
|
501
661
|
};
|
|
502
662
|
export type Invoice = {
|
|
503
663
|
/**
|
|
@@ -618,6 +778,10 @@ export type MarketplaceListing = {
|
|
|
618
778
|
};
|
|
619
779
|
};
|
|
620
780
|
export type OrganizationCreateInput = {
|
|
781
|
+
/**
|
|
782
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
783
|
+
*/
|
|
784
|
+
type: 'business' | 'personal';
|
|
621
785
|
/**
|
|
622
786
|
* Email address used for billing as a string.
|
|
623
787
|
*/
|
|
@@ -639,6 +803,12 @@ export type OrganizationCreateInput = {
|
|
|
639
803
|
*/
|
|
640
804
|
password: string;
|
|
641
805
|
};
|
|
806
|
+
export type OrganizationCreateOutput = {
|
|
807
|
+
/**
|
|
808
|
+
* Unique identifier of the newly created organization. Generated by the API and safe to use for client-side tracking immediately.
|
|
809
|
+
*/
|
|
810
|
+
id: string;
|
|
811
|
+
};
|
|
642
812
|
export type Organization = {
|
|
643
813
|
/**
|
|
644
814
|
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
@@ -648,6 +818,10 @@ export type Organization = {
|
|
|
648
818
|
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
649
819
|
*/
|
|
650
820
|
name?: string;
|
|
821
|
+
/**
|
|
822
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
823
|
+
*/
|
|
824
|
+
type: 'business' | 'personal';
|
|
651
825
|
/**
|
|
652
826
|
* Creation date of the organization. ISO 8601 date string in UTC timezone
|
|
653
827
|
*/
|
|
@@ -706,36 +880,52 @@ export type Organization = {
|
|
|
706
880
|
* Status of the organization. Can be `active` or `closed`, or `suspended`.
|
|
707
881
|
*/
|
|
708
882
|
status: 'active' | 'closed' | 'suspended';
|
|
883
|
+
/**
|
|
884
|
+
* Verification status of the organization, which determines the assigned quota. `none` when billing information is incomplete, `submitted` when billing information is complete but the organization is not yet verified, `verified` when the organization is verified.
|
|
885
|
+
*/
|
|
886
|
+
verification: 'none' | 'submitted' | 'verified';
|
|
709
887
|
};
|
|
710
888
|
export type PaymentMethod = {
|
|
711
889
|
/**
|
|
712
|
-
*
|
|
890
|
+
* Payment method identifier. Stripe payment method id for cards/SEPA; the constant `bank_transfer` for the invoice/bank-transfer method. Used to set as default or delete the payment method.
|
|
713
891
|
*/
|
|
714
892
|
id: string;
|
|
715
893
|
/**
|
|
716
|
-
*
|
|
894
|
+
* Payment method type. `card`, `sepa_debit` for SEPA Direct Debit (business accounts only), or `bank_transfer` for paying invoices by bank transfer.
|
|
717
895
|
*/
|
|
718
|
-
|
|
896
|
+
type: 'card' | 'sepa_debit' | 'bank_transfer';
|
|
719
897
|
/**
|
|
720
|
-
*
|
|
721
|
-
*/
|
|
722
|
-
type: 'card';
|
|
723
|
-
/**
|
|
724
|
-
* Last 4 digits of the payment card number.
|
|
898
|
+
* Last 4 digits of the payment card number, of the bank account (IBAN) for SEPA Direct Debit, or of the destination IBAN for bank transfer.
|
|
725
899
|
*/
|
|
726
900
|
last4: string;
|
|
727
901
|
/**
|
|
728
|
-
* Two-digit number representing the card's expiration month.
|
|
902
|
+
* Two-digit number representing the card's expiration month. Null for SEPA Direct Debit and bank transfer.
|
|
729
903
|
*/
|
|
730
904
|
exp_month: number;
|
|
731
905
|
/**
|
|
732
|
-
* Four-digit number representing the card's expiration year.
|
|
906
|
+
* Four-digit number representing the card's expiration year. May be in the past for an expired card still on file. Null for SEPA Direct Debit and bank transfer.
|
|
733
907
|
*/
|
|
734
908
|
exp_year: number;
|
|
735
909
|
/**
|
|
736
|
-
* Payment card brand
|
|
910
|
+
* Payment card brand as reported by Stripe, e.g. `visa`, `mastercard`, `amex`, `cartes_bancaires`, or `unknown`. Null for SEPA Direct Debit and bank transfer.
|
|
911
|
+
*/
|
|
912
|
+
brand: string;
|
|
913
|
+
/**
|
|
914
|
+
* Full destination IBAN to send bank transfers to. Set only for `bank_transfer`; null otherwise. This is Cloudfleet's virtual receiving account, shown in full so the customer can pay into it.
|
|
915
|
+
*/
|
|
916
|
+
iban: string;
|
|
917
|
+
/**
|
|
918
|
+
* BIC/SWIFT of the destination bank for bank transfers. Set only for `bank_transfer`; null otherwise.
|
|
919
|
+
*/
|
|
920
|
+
bic: string;
|
|
921
|
+
/**
|
|
922
|
+
* Account holder name of the destination bank account for bank transfers. Set only for `bank_transfer`; null otherwise.
|
|
737
923
|
*/
|
|
738
|
-
|
|
924
|
+
account_holder_name: string;
|
|
925
|
+
/**
|
|
926
|
+
* Whether this payment method is the default used for invoices and active subscriptions. Always false for `bank_transfer` (it cannot be a Stripe default payment method).
|
|
927
|
+
*/
|
|
928
|
+
is_default: boolean;
|
|
739
929
|
};
|
|
740
930
|
export type PlatformQuota = {
|
|
741
931
|
/**
|
|
@@ -1327,14 +1517,6 @@ export type UserCreateInput = {
|
|
|
1327
1517
|
* User password. Must be at least 8 characters long.
|
|
1328
1518
|
*/
|
|
1329
1519
|
password: string;
|
|
1330
|
-
/**
|
|
1331
|
-
* Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.
|
|
1332
|
-
*/
|
|
1333
|
-
status?: 'active' | 'inactive';
|
|
1334
|
-
/**
|
|
1335
|
-
* User role. Can be 'Administrator', 'User'.
|
|
1336
|
-
*/
|
|
1337
|
-
role?: 'Administrator' | 'User';
|
|
1338
1520
|
};
|
|
1339
1521
|
export type User = {
|
|
1340
1522
|
/**
|
|
@@ -1412,44 +1594,112 @@ export type GetUsageResponses = {
|
|
|
1412
1594
|
200: UsageResponse;
|
|
1413
1595
|
};
|
|
1414
1596
|
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
1415
|
-
export type
|
|
1597
|
+
export type GetPaymentMethodSecretData = {
|
|
1416
1598
|
body?: never;
|
|
1417
1599
|
path?: never;
|
|
1418
1600
|
query?: never;
|
|
1419
1601
|
url: '/billing/payment-method';
|
|
1420
1602
|
};
|
|
1421
|
-
export type
|
|
1603
|
+
export type GetPaymentMethodSecretResponses = {
|
|
1422
1604
|
/**
|
|
1423
|
-
*
|
|
1605
|
+
* The client secret. Used for client-side retrieval using a publishable key. The client secret can be used to complete a payment from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret.
|
|
1606
|
+
*
|
|
1424
1607
|
*/
|
|
1425
|
-
|
|
1608
|
+
200: {
|
|
1609
|
+
/**
|
|
1610
|
+
* The client secret.
|
|
1611
|
+
*/
|
|
1612
|
+
id?: string;
|
|
1613
|
+
};
|
|
1614
|
+
};
|
|
1615
|
+
export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
|
|
1616
|
+
export type ListPaymentMethodsData = {
|
|
1617
|
+
body?: never;
|
|
1618
|
+
path?: never;
|
|
1619
|
+
query?: never;
|
|
1620
|
+
url: '/billing/payment-methods';
|
|
1426
1621
|
};
|
|
1427
|
-
export type
|
|
1622
|
+
export type ListPaymentMethodsErrors = {
|
|
1428
1623
|
/**
|
|
1429
|
-
*
|
|
1624
|
+
* Not authenticated
|
|
1430
1625
|
*/
|
|
1431
|
-
|
|
1626
|
+
401: unknown;
|
|
1432
1627
|
};
|
|
1433
|
-
export type
|
|
1434
|
-
|
|
1628
|
+
export type ListPaymentMethodsResponses = {
|
|
1629
|
+
/**
|
|
1630
|
+
* An array of payment methods.
|
|
1631
|
+
*/
|
|
1632
|
+
200: Array<PaymentMethod>;
|
|
1633
|
+
};
|
|
1634
|
+
export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
|
|
1635
|
+
export type SetDefaultPaymentMethodData = {
|
|
1435
1636
|
body?: never;
|
|
1436
|
-
path
|
|
1637
|
+
path: {
|
|
1638
|
+
/**
|
|
1639
|
+
* Stripe payment method identifier.
|
|
1640
|
+
*/
|
|
1641
|
+
paymentMethodId: string;
|
|
1642
|
+
};
|
|
1437
1643
|
query?: never;
|
|
1438
|
-
url: '/billing/payment-
|
|
1644
|
+
url: '/billing/payment-methods/{paymentMethodId}/default';
|
|
1439
1645
|
};
|
|
1440
|
-
export type
|
|
1646
|
+
export type SetDefaultPaymentMethodErrors = {
|
|
1441
1647
|
/**
|
|
1442
|
-
* The
|
|
1443
|
-
*
|
|
1648
|
+
* The bank transfer payment method cannot be set as the default.
|
|
1444
1649
|
*/
|
|
1445
|
-
|
|
1650
|
+
400: unknown;
|
|
1651
|
+
/**
|
|
1652
|
+
* Not authenticated
|
|
1653
|
+
*/
|
|
1654
|
+
401: unknown;
|
|
1655
|
+
/**
|
|
1656
|
+
* Payment method not found.
|
|
1657
|
+
*/
|
|
1658
|
+
404: unknown;
|
|
1659
|
+
};
|
|
1660
|
+
export type SetDefaultPaymentMethodResponses = {
|
|
1661
|
+
/**
|
|
1662
|
+
* Default payment method updated.
|
|
1663
|
+
*/
|
|
1664
|
+
204: void;
|
|
1665
|
+
};
|
|
1666
|
+
export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
|
|
1667
|
+
export type DeletePaymentMethodData = {
|
|
1668
|
+
body?: never;
|
|
1669
|
+
path: {
|
|
1446
1670
|
/**
|
|
1447
|
-
*
|
|
1671
|
+
* Stripe payment method identifier.
|
|
1448
1672
|
*/
|
|
1449
|
-
|
|
1673
|
+
paymentMethodId: string;
|
|
1450
1674
|
};
|
|
1675
|
+
query?: never;
|
|
1676
|
+
url: '/billing/payment-methods/{paymentMethodId}';
|
|
1451
1677
|
};
|
|
1452
|
-
export type
|
|
1678
|
+
export type DeletePaymentMethodErrors = {
|
|
1679
|
+
/**
|
|
1680
|
+
* The bank transfer payment method cannot be removed.
|
|
1681
|
+
*/
|
|
1682
|
+
400: unknown;
|
|
1683
|
+
/**
|
|
1684
|
+
* Not authenticated
|
|
1685
|
+
*/
|
|
1686
|
+
401: unknown;
|
|
1687
|
+
/**
|
|
1688
|
+
* Payment method not found.
|
|
1689
|
+
*/
|
|
1690
|
+
404: unknown;
|
|
1691
|
+
/**
|
|
1692
|
+
* Cannot delete the only remaining payment method.
|
|
1693
|
+
*/
|
|
1694
|
+
409: unknown;
|
|
1695
|
+
};
|
|
1696
|
+
export type DeletePaymentMethodResponses = {
|
|
1697
|
+
/**
|
|
1698
|
+
* Payment method deleted.
|
|
1699
|
+
*/
|
|
1700
|
+
204: void;
|
|
1701
|
+
};
|
|
1702
|
+
export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
|
|
1453
1703
|
export type ListInvoicesData = {
|
|
1454
1704
|
body?: never;
|
|
1455
1705
|
path?: never;
|
|
@@ -1572,6 +1822,13 @@ export type CreateChartData = {
|
|
|
1572
1822
|
query?: never;
|
|
1573
1823
|
url: '/clusters/{cluster_id}/charts';
|
|
1574
1824
|
};
|
|
1825
|
+
export type CreateChartErrors = {
|
|
1826
|
+
/**
|
|
1827
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
1828
|
+
*/
|
|
1829
|
+
409: string;
|
|
1830
|
+
};
|
|
1831
|
+
export type CreateChartError = CreateChartErrors[keyof CreateChartErrors];
|
|
1575
1832
|
export type CreateChartResponses = {
|
|
1576
1833
|
/**
|
|
1577
1834
|
* Successfully created. Returns created Chart ID.
|
|
@@ -1594,6 +1851,13 @@ export type DeleteChartData = {
|
|
|
1594
1851
|
query?: never;
|
|
1595
1852
|
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1596
1853
|
};
|
|
1854
|
+
export type DeleteChartErrors = {
|
|
1855
|
+
/**
|
|
1856
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
1857
|
+
*/
|
|
1858
|
+
409: string;
|
|
1859
|
+
};
|
|
1860
|
+
export type DeleteChartError = DeleteChartErrors[keyof DeleteChartErrors];
|
|
1597
1861
|
export type DeleteChartResponses = {
|
|
1598
1862
|
/**
|
|
1599
1863
|
* Successfully deleted.
|
|
@@ -1638,6 +1902,13 @@ export type UpdateChartData = {
|
|
|
1638
1902
|
query?: never;
|
|
1639
1903
|
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1640
1904
|
};
|
|
1905
|
+
export type UpdateChartErrors = {
|
|
1906
|
+
/**
|
|
1907
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
1908
|
+
*/
|
|
1909
|
+
409: string;
|
|
1910
|
+
};
|
|
1911
|
+
export type UpdateChartError = UpdateChartErrors[keyof UpdateChartErrors];
|
|
1641
1912
|
export type UpdateChartResponses = {
|
|
1642
1913
|
/**
|
|
1643
1914
|
* Successfully updated.
|
|
@@ -1685,6 +1956,10 @@ export type CreateFleetErrors = {
|
|
|
1685
1956
|
* Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
|
|
1686
1957
|
*/
|
|
1687
1958
|
402: string;
|
|
1959
|
+
/**
|
|
1960
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
1961
|
+
*/
|
|
1962
|
+
409: string;
|
|
1688
1963
|
};
|
|
1689
1964
|
export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
|
|
1690
1965
|
export type CreateFleetResponses = {
|
|
@@ -1709,6 +1984,13 @@ export type DeleteFleetData = {
|
|
|
1709
1984
|
query?: never;
|
|
1710
1985
|
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
1711
1986
|
};
|
|
1987
|
+
export type DeleteFleetErrors = {
|
|
1988
|
+
/**
|
|
1989
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
1990
|
+
*/
|
|
1991
|
+
409: string;
|
|
1992
|
+
};
|
|
1993
|
+
export type DeleteFleetError = DeleteFleetErrors[keyof DeleteFleetErrors];
|
|
1712
1994
|
export type DeleteFleetResponses = {
|
|
1713
1995
|
/**
|
|
1714
1996
|
* Successfully deleted.
|
|
@@ -1758,6 +2040,10 @@ export type UpdateFleetErrors = {
|
|
|
1758
2040
|
* Organization must have a valid payment method configured to access this endpoint.
|
|
1759
2041
|
*/
|
|
1760
2042
|
402: string;
|
|
2043
|
+
/**
|
|
2044
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
2045
|
+
*/
|
|
2046
|
+
409: string;
|
|
1761
2047
|
};
|
|
1762
2048
|
export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
|
|
1763
2049
|
export type UpdateFleetResponses = {
|
|
@@ -1840,9 +2126,24 @@ export type DeleteClusterData = {
|
|
|
1840
2126
|
query?: never;
|
|
1841
2127
|
url: '/clusters/{cluster_id}';
|
|
1842
2128
|
};
|
|
2129
|
+
export type DeleteClusterErrors = {
|
|
2130
|
+
/**
|
|
2131
|
+
* Cluster not found — it does not exist or has already been deleted.
|
|
2132
|
+
*/
|
|
2133
|
+
404: unknown;
|
|
2134
|
+
/**
|
|
2135
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
2136
|
+
*/
|
|
2137
|
+
409: string;
|
|
2138
|
+
/**
|
|
2139
|
+
* Transient failure tearing down the cluster; retry the request.
|
|
2140
|
+
*/
|
|
2141
|
+
503: unknown;
|
|
2142
|
+
};
|
|
2143
|
+
export type DeleteClusterError = DeleteClusterErrors[keyof DeleteClusterErrors];
|
|
1843
2144
|
export type DeleteClusterResponses = {
|
|
1844
2145
|
/**
|
|
1845
|
-
* Successfully deleted.
|
|
2146
|
+
* Successfully deleted. The cluster has been torn down.
|
|
1846
2147
|
*/
|
|
1847
2148
|
200: string;
|
|
1848
2149
|
};
|
|
@@ -1876,6 +2177,13 @@ export type UpdateClusterData = {
|
|
|
1876
2177
|
query?: never;
|
|
1877
2178
|
url: '/clusters/{cluster_id}';
|
|
1878
2179
|
};
|
|
2180
|
+
export type UpdateClusterErrors = {
|
|
2181
|
+
/**
|
|
2182
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
2183
|
+
*/
|
|
2184
|
+
409: string;
|
|
2185
|
+
};
|
|
2186
|
+
export type UpdateClusterError = UpdateClusterErrors[keyof UpdateClusterErrors];
|
|
1879
2187
|
export type UpdateClusterResponses = {
|
|
1880
2188
|
/**
|
|
1881
2189
|
* Successfully updated. Returns updated cluster details.
|
|
@@ -1899,7 +2207,12 @@ export type GetJoinInformationErrors = {
|
|
|
1899
2207
|
* Not authenticated
|
|
1900
2208
|
*/
|
|
1901
2209
|
401: unknown;
|
|
2210
|
+
/**
|
|
2211
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
2212
|
+
*/
|
|
2213
|
+
409: string;
|
|
1902
2214
|
};
|
|
2215
|
+
export type GetJoinInformationError = GetJoinInformationErrors[keyof GetJoinInformationErrors];
|
|
1903
2216
|
export type GetJoinInformationResponses = {
|
|
1904
2217
|
/**
|
|
1905
2218
|
* An object of cluster join information
|
|
@@ -1927,12 +2240,7 @@ export type ListInvitesResponses = {
|
|
|
1927
2240
|
};
|
|
1928
2241
|
export type ListInvitesResponse = ListInvitesResponses[keyof ListInvitesResponses];
|
|
1929
2242
|
export type CreateInviteData = {
|
|
1930
|
-
body:
|
|
1931
|
-
/**
|
|
1932
|
-
* User email address
|
|
1933
|
-
*/
|
|
1934
|
-
email?: string;
|
|
1935
|
-
};
|
|
2243
|
+
body: InviteCreateInput;
|
|
1936
2244
|
path?: never;
|
|
1937
2245
|
query?: never;
|
|
1938
2246
|
url: '/invites';
|
|
@@ -1957,9 +2265,18 @@ export type GetInviteData = {
|
|
|
1957
2265
|
};
|
|
1958
2266
|
export type GetInviteResponses = {
|
|
1959
2267
|
/**
|
|
1960
|
-
* Returns
|
|
2268
|
+
* The invitation code is valid. Returns the invited email and organization.
|
|
1961
2269
|
*/
|
|
1962
|
-
200:
|
|
2270
|
+
200: {
|
|
2271
|
+
/**
|
|
2272
|
+
* Email address the invite was issued to.
|
|
2273
|
+
*/
|
|
2274
|
+
email?: string;
|
|
2275
|
+
/**
|
|
2276
|
+
* Identifier of the organization the invite grants access to.
|
|
2277
|
+
*/
|
|
2278
|
+
organization_id?: string;
|
|
2279
|
+
};
|
|
1963
2280
|
};
|
|
1964
2281
|
export type GetInviteResponse = GetInviteResponses[keyof GetInviteResponses];
|
|
1965
2282
|
export type DeleteInviteData = {
|
|
@@ -2089,10 +2406,12 @@ export type CreateOrganizationData = {
|
|
|
2089
2406
|
};
|
|
2090
2407
|
export type CreateOrganizationResponses = {
|
|
2091
2408
|
/**
|
|
2092
|
-
*
|
|
2409
|
+
* Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
|
|
2410
|
+
*
|
|
2093
2411
|
*/
|
|
2094
|
-
200:
|
|
2412
|
+
200: OrganizationCreateOutput;
|
|
2095
2413
|
};
|
|
2414
|
+
export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
|
|
2096
2415
|
export type ListRepositoriesData = {
|
|
2097
2416
|
body?: never;
|
|
2098
2417
|
path?: never;
|