@cloudfleet/sdk 0.0.1-7aa2bb2 → 0.0.1-7ae8b0a

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.
@@ -133,9 +133,9 @@ export type Chart = {
133
133
  */
134
134
  chart: string;
135
135
  /**
136
- * Status of the chart deployment.
136
+ * Status of the chart deployment (Flux HelmRelease Ready condition reason, e.g. InstallSucceeded, UpgradeFailed, Progressing).
137
137
  */
138
- status: 'InstallSucceeded' | 'InstallFailed' | 'UpgradeSucceeded' | 'UpgradeFailed' | 'TestSucceeded' | 'TestFailed' | 'RollbackSucceeded' | 'RollbackFailed' | 'UninstallSucceeded' | 'UninstallFailed' | 'ArtifactFailed' | 'DependencyNotReady' | 'Progressing' | 'SourceNotReady';
138
+ status: string;
139
139
  /**
140
140
  * Current version of the chart deployment.
141
141
  */
@@ -163,6 +163,9 @@ export type ChartUpdateInput = {
163
163
  */
164
164
  version_channel: string;
165
165
  };
166
+ /**
167
+ * Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
168
+ */
166
169
  export type ClusterCreateInput = {
167
170
  /**
168
171
  * Name of the cluster.
@@ -171,15 +174,61 @@ export type ClusterCreateInput = {
171
174
  /**
172
175
  * Tier of the cluster.
173
176
  */
174
- tier: 'basic' | 'pro';
177
+ tier?: 'basic' | 'pro' | 'enterprise';
175
178
  /**
176
- * Cloudfleet control plane region. One of "staging-1a", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
179
+ * Version of the kubernetes cluster.
177
180
  */
178
- region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
181
+ version_channel?: string;
179
182
  /**
180
- * Version of the kubernetes cluster.
183
+ * Release channel for the cluster's control plane.
184
+ */
185
+ release_channel?: 'rapid' | 'stable' | 'extended';
186
+ /**
187
+ * Cluster feature toggles.
188
+ */
189
+ features?: {
190
+ /**
191
+ * GPU sharing strategy.
192
+ */
193
+ gpu_sharing_strategy?: 'none' | 'mps' | 'time_slicing';
194
+ /**
195
+ * Maximum number of pods that may share a single GPU.
196
+ */
197
+ gpu_max_shared_clients_per_gpu?: number;
198
+ /**
199
+ * Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
200
+ */
201
+ cilium_socket_lb_host_namespace_only?: boolean;
202
+ };
203
+ /**
204
+ * Cloudfleet control plane region. This field can not be updated after creation.
205
+ */
206
+ region: string;
207
+ /**
208
+ * Cluster networking configuration. Immutable after creation.
181
209
  */
182
- version_channel?: '1.x.x-cfke.x' | '1.31.x-cfke.x' | '1.32.x-cfke.x' | '1.33.x-cfke.x';
210
+ networking?: {
211
+ /**
212
+ * CIDR block for pod IPs.
213
+ */
214
+ pod_cidr?: string;
215
+ /**
216
+ * CIDR block for service IPs.
217
+ */
218
+ service_cidr?: string;
219
+ /**
220
+ * Enable IPv4+IPv6 dual-stack networking.
221
+ */
222
+ dual_stack?: boolean;
223
+ /**
224
+ * IPv6 pod CIDR. Requires dual_stack.
225
+ */
226
+ pod_cidr_v6?: string;
227
+ /**
228
+ * IPv6 service CIDR. Requires dual_stack.
229
+ */
230
+ service_cidr_v6?: string;
231
+ };
183
232
  };
184
233
  export type ClusterJoinInformation = {
185
234
  /**
@@ -202,6 +251,10 @@ export type ClusterJoinInformation = {
202
251
  * Authentication key for the cluster.
203
252
  */
204
253
  auth_key: string;
254
+ /**
255
+ * Coordination server the node registers against. Empty on data plane v1 clusters, where the node advertises its own tag instead. A non-empty value requires a client that declares the dataplane-v2 capability.
256
+ */
257
+ login_server: string;
205
258
  /**
206
259
  * Bootstrap token for the cluster.
207
260
  */
@@ -245,6 +298,9 @@ export type ClusterJoinInformation = {
245
298
  gcp_workload_identity_provider: string;
246
299
  };
247
300
  };
301
+ /**
302
+ * Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
303
+ */
248
304
  export type Cluster = {
249
305
  /**
250
306
  * Name of the cluster.
@@ -253,19 +309,69 @@ export type Cluster = {
253
309
  /**
254
310
  * Tier of the cluster.
255
311
  */
256
- tier: 'basic' | 'pro';
312
+ tier: 'basic' | 'pro' | 'enterprise';
313
+ /**
314
+ * Version of the kubernetes cluster.
315
+ */
316
+ version_channel: string;
317
+ /**
318
+ * Release channel for the cluster's control plane.
319
+ */
320
+ release_channel: 'rapid' | 'stable' | 'extended';
321
+ /**
322
+ * Cluster feature toggles.
323
+ */
324
+ features: {
325
+ /**
326
+ * GPU sharing strategy.
327
+ */
328
+ gpu_sharing_strategy: 'none' | 'mps' | 'time_slicing';
329
+ /**
330
+ * Maximum number of pods that may share a single GPU.
331
+ */
332
+ gpu_max_shared_clients_per_gpu: number;
333
+ /**
334
+ * Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
335
+ */
336
+ cilium_socket_lb_host_namespace_only: boolean;
337
+ };
338
+ /**
339
+ * Cloudfleet control plane region. This field can not be updated after creation.
340
+ */
341
+ region: string;
257
342
  /**
258
- * Cloudfleet control plane region. One of "staging-1a", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
343
+ * Cluster networking configuration. Immutable after creation.
259
344
  */
260
- region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
345
+ networking: {
346
+ /**
347
+ * CIDR block for pod IPs.
348
+ */
349
+ pod_cidr: string;
350
+ /**
351
+ * CIDR block for service IPs.
352
+ */
353
+ service_cidr: string;
354
+ /**
355
+ * Enable IPv4+IPv6 dual-stack networking.
356
+ */
357
+ dual_stack: boolean;
358
+ /**
359
+ * IPv6 pod CIDR. Requires dual_stack.
360
+ */
361
+ pod_cidr_v6: string;
362
+ /**
363
+ * IPv6 service CIDR. Requires dual_stack.
364
+ */
365
+ service_cidr_v6: string;
366
+ };
261
367
  /**
262
368
  * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
263
369
  */
264
370
  id: string;
265
371
  /**
266
- * Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.
372
+ * Status of the cluster.
267
373
  */
268
- status: 'active' | 'disabled' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
374
+ status: 'creating' | 'deployed' | 'updating' | 'disabled';
269
375
  endpoint?: string | '';
270
376
  endpoint_public?: string | '';
271
377
  /**
@@ -287,26 +393,49 @@ export type Cluster = {
287
393
  /**
288
394
  * Indicates if the cluster is ready to be used.
289
395
  */
290
- ready?: boolean;
291
- /**
292
- * Version of the kubernetes cluster.
293
- */
294
- version_channel?: string;
396
+ ready: boolean;
295
397
  };
398
+ /**
399
+ * Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
400
+ */
296
401
  export type ClusterUpdateInput = {
297
402
  /**
298
403
  * Name of the cluster.
299
404
  */
300
- name?: string;
405
+ name: string;
301
406
  /**
302
407
  * Tier of the cluster.
303
408
  */
304
- tier: 'basic' | 'pro';
409
+ tier?: 'basic' | 'pro' | 'enterprise';
305
410
  /**
306
411
  * Version of the kubernetes cluster.
307
412
  */
308
413
  version_channel?: string;
414
+ /**
415
+ * Release channel for the cluster's control plane.
416
+ */
417
+ release_channel?: 'rapid' | 'stable' | 'extended';
418
+ /**
419
+ * Cluster feature toggles.
420
+ */
421
+ features?: {
422
+ /**
423
+ * GPU sharing strategy.
424
+ */
425
+ gpu_sharing_strategy?: 'none' | 'mps' | 'time_slicing';
426
+ /**
427
+ * Maximum number of pods that may share a single GPU.
428
+ */
429
+ gpu_max_shared_clients_per_gpu?: number;
430
+ /**
431
+ * Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
432
+ */
433
+ cilium_socket_lb_host_namespace_only?: boolean;
434
+ };
309
435
  };
436
+ /**
437
+ * Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
438
+ */
310
439
  export type FleetCreateInput = {
311
440
  /**
312
441
  * Limits define a set of bounds for provisioning capacity.
@@ -327,7 +456,7 @@ export type FleetCreateInput = {
327
456
  hetzner?: {
328
457
  enabled: boolean;
329
458
  /**
330
- * Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
459
+ * Hetzner Cloud API token with read/write access (64 alphanumeric characters). Write-only: reads return a redacted placeholder, never the token. Omit the field, or send the placeholder back unchanged, to keep the existing key. Send a new value to rotate it.
331
460
  */
332
461
  apiKey?: string;
333
462
  };
@@ -339,7 +468,7 @@ export type FleetCreateInput = {
339
468
  controllerRoleArn?: string;
340
469
  };
341
470
  /**
342
- * 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.
471
+ * 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.
343
472
  */
344
473
  constraints?: {
345
474
  /**
@@ -360,7 +489,7 @@ export type FleetCreateInput = {
360
489
  'topology.kubernetes.io/region'?: Array<'africa-south1' | 'ap-northeast-1' | 'ap-northeast-2' | 'ap-northeast-3' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ash' | 'asia-east1' | 'asia-east2' | 'asia-northeast1' | 'asia-northeast2' | 'asia-northeast3' | 'asia-south1' | 'asia-south2' | 'asia-southeast1' | 'asia-southeast2' | 'australia-southeast1' | 'australia-southeast2' | 'ca-central-1' | 'eu-central-1' | 'eu-central-2' | 'eu-north-1' | 'eu-west-1' | 'eu-west-2' | 'eu-west-3' | 'europe-central2' | 'europe-north1' | 'europe-southwest1' | 'europe-west1' | 'europe-west10' | 'europe-west12' | 'europe-west2' | 'europe-west3' | 'europe-west4' | 'europe-west6' | 'europe-west8' | 'europe-west9' | 'fsn1' | 'hel1' | 'hil' | 'me-central1' | 'me-central2' | 'me-west1' | 'nbg1' | 'northamerica-northeast1' | 'northamerica-northeast2' | 'sa-east-1' | 'sin' | 'southamerica-east1' | 'southamerica-west1' | 'us-central1' | 'us-east-1' | 'us-east-2' | 'us-east1' | 'us-east4' | 'us-east5' | 'us-south1' | 'us-west-1' | 'us-west-2' | 'us-west1' | 'us-west2' | 'us-west3' | 'us-west4'>;
361
490
  };
362
491
  /**
363
- * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
492
+ * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet. Full-overwrite: omit to reset to the default (`conservative`).
364
493
  */
365
494
  scalingProfile?: 'aggressive' | 'conservative';
366
495
  /**
@@ -368,6 +497,9 @@ export type FleetCreateInput = {
368
497
  */
369
498
  id: string;
370
499
  };
500
+ /**
501
+ * Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
502
+ */
371
503
  export type Fleet = {
372
504
  /**
373
505
  * Limits define a set of bounds for provisioning capacity.
@@ -400,17 +532,17 @@ export type Fleet = {
400
532
  controllerRoleArn?: string;
401
533
  };
402
534
  /**
403
- * 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.
535
+ * 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.
404
536
  */
405
- constraints?: {
537
+ constraints: {
406
538
  /**
407
539
  * Allowed values for `karpenter.sh/capacity-type`.
408
540
  */
409
- 'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
541
+ 'karpenter.sh/capacity-type': Array<'on-demand' | 'spot'>;
410
542
  /**
411
543
  * Allowed values for `kubernetes.io/arch`.
412
544
  */
413
- 'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
545
+ 'kubernetes.io/arch': Array<'amd64' | 'arm64'>;
414
546
  /**
415
547
  * Allowed values for `cfke.io/instance-family`.
416
548
  */
@@ -421,14 +553,33 @@ export type Fleet = {
421
553
  'topology.kubernetes.io/region'?: Array<'africa-south1' | 'ap-northeast-1' | 'ap-northeast-2' | 'ap-northeast-3' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ash' | 'asia-east1' | 'asia-east2' | 'asia-northeast1' | 'asia-northeast2' | 'asia-northeast3' | 'asia-south1' | 'asia-south2' | 'asia-southeast1' | 'asia-southeast2' | 'australia-southeast1' | 'australia-southeast2' | 'ca-central-1' | 'eu-central-1' | 'eu-central-2' | 'eu-north-1' | 'eu-west-1' | 'eu-west-2' | 'eu-west-3' | 'europe-central2' | 'europe-north1' | 'europe-southwest1' | 'europe-west1' | 'europe-west10' | 'europe-west12' | 'europe-west2' | 'europe-west3' | 'europe-west4' | 'europe-west6' | 'europe-west8' | 'europe-west9' | 'fsn1' | 'hel1' | 'hil' | 'me-central1' | 'me-central2' | 'me-west1' | 'nbg1' | 'northamerica-northeast1' | 'northamerica-northeast2' | 'sa-east-1' | 'sin' | 'southamerica-east1' | 'southamerica-west1' | 'us-central1' | 'us-east-1' | 'us-east-2' | 'us-east1' | 'us-east4' | 'us-east5' | 'us-south1' | 'us-west-1' | 'us-west-2' | 'us-west1' | 'us-west2' | 'us-west3' | 'us-west4'>;
422
554
  };
423
555
  /**
424
- * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
556
+ * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet. Full-overwrite: omit to reset to the default (`conservative`).
425
557
  */
426
558
  scalingProfile: 'aggressive' | 'conservative';
427
559
  /**
428
560
  * Unique identifier of the kubernetes fleet.
429
561
  */
430
562
  id: string;
563
+ /**
564
+ * Indicates whether the fleet configuration is healthy.
565
+ */
566
+ ready: boolean;
567
+ /**
568
+ * Human-readable reason the fleet is not ready. Present only when `ready` is false.
569
+ */
570
+ status_message?: string;
571
+ /**
572
+ * Creation date and time of the fleet.
573
+ */
574
+ created_at: string;
575
+ /**
576
+ * Date and time the fleet was last updated.
577
+ */
578
+ updated_at: string;
431
579
  };
580
+ /**
581
+ * Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
582
+ */
432
583
  export type FleetUpdateInput = {
433
584
  /**
434
585
  * Limits define a set of bounds for provisioning capacity.
@@ -449,7 +600,7 @@ export type FleetUpdateInput = {
449
600
  hetzner?: {
450
601
  enabled: boolean;
451
602
  /**
452
- * Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
603
+ * Hetzner Cloud API token with read/write access (64 alphanumeric characters). Write-only: reads return a redacted placeholder, never the token. Omit the field, or send the placeholder back unchanged, to keep the existing key. Send a new value to rotate it.
453
604
  */
454
605
  apiKey?: string;
455
606
  };
@@ -461,7 +612,7 @@ export type FleetUpdateInput = {
461
612
  controllerRoleArn?: string;
462
613
  };
463
614
  /**
464
- * 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.
615
+ * 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.
465
616
  */
466
617
  constraints?: {
467
618
  /**
@@ -482,9 +633,9 @@ export type FleetUpdateInput = {
482
633
  'topology.kubernetes.io/region'?: Array<'africa-south1' | 'ap-northeast-1' | 'ap-northeast-2' | 'ap-northeast-3' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ash' | 'asia-east1' | 'asia-east2' | 'asia-northeast1' | 'asia-northeast2' | 'asia-northeast3' | 'asia-south1' | 'asia-south2' | 'asia-southeast1' | 'asia-southeast2' | 'australia-southeast1' | 'australia-southeast2' | 'ca-central-1' | 'eu-central-1' | 'eu-central-2' | 'eu-north-1' | 'eu-west-1' | 'eu-west-2' | 'eu-west-3' | 'europe-central2' | 'europe-north1' | 'europe-southwest1' | 'europe-west1' | 'europe-west10' | 'europe-west12' | 'europe-west2' | 'europe-west3' | 'europe-west4' | 'europe-west6' | 'europe-west8' | 'europe-west9' | 'fsn1' | 'hel1' | 'hil' | 'me-central1' | 'me-central2' | 'me-west1' | 'nbg1' | 'northamerica-northeast1' | 'northamerica-northeast2' | 'sa-east-1' | 'sin' | 'southamerica-east1' | 'southamerica-west1' | 'us-central1' | 'us-east-1' | 'us-east-2' | 'us-east1' | 'us-east4' | 'us-east5' | 'us-south1' | 'us-west-1' | 'us-west-2' | 'us-west1' | 'us-west2' | 'us-west3' | 'us-west4'>;
483
634
  };
484
635
  /**
485
- * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
636
+ * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet. Full-overwrite: omit to reset to the default (`conservative`).
486
637
  */
487
- scalingProfile: 'aggressive' | 'conservative';
638
+ scalingProfile?: 'aggressive' | 'conservative';
488
639
  };
489
640
  export type InviteCreateInput = {
490
641
  /**
@@ -522,6 +673,87 @@ export type Invite = {
522
673
  */
523
674
  role?: 'Administrator' | 'User';
524
675
  };
676
+ export type InvoicePaymentAttempt = {
677
+ /**
678
+ * Identifier of the invoice.
679
+ */
680
+ invoice_id: string;
681
+ /**
682
+ * Invoice number. Null if the invoice has no number.
683
+ */
684
+ number: string;
685
+ /**
686
+ * Amount outstanding when the charge was attempted, in the smallest currency unit.
687
+ */
688
+ amount: number;
689
+ /**
690
+ * Currency of the invoice.
691
+ */
692
+ currency: string;
693
+ /**
694
+ * Outcome for this invoice: `paid`, `processing` (accepted, not yet settled), `requires_action` (awaiting customer authentication), or `failed` (declined).
695
+ */
696
+ status: 'paid' | 'processing' | 'requires_action' | 'failed';
697
+ /**
698
+ * Client secret used to complete customer authentication. Set only when `status` is `requires_action`.
699
+ */
700
+ client_secret: string;
701
+ /**
702
+ * Decline code. Set only when `status` is `failed`.
703
+ */
704
+ failure_code: string;
705
+ /**
706
+ * Explanation of the decline, suitable for display. Set only when `status` is `failed`.
707
+ */
708
+ failure_message: string;
709
+ };
710
+ export type InvoicePaymentResult = {
711
+ /**
712
+ * Overall outcome: `paid` (nothing outstanding), `processing` (all accepted, not yet settled), `action_required` (one or more await customer authentication), `partially_paid`, `failed`, `nothing_due`, or `bank_transfer_due` (the organization pays by bank transfer; nothing was charged).
713
+ */
714
+ code: 'paid' | 'processing' | 'action_required' | 'partially_paid' | 'failed' | 'nothing_due' | 'bank_transfer_due';
715
+ /**
716
+ * Summary of the outcome, suitable for display.
717
+ */
718
+ message: string;
719
+ /**
720
+ * One entry per invoice charged, oldest first.
721
+ */
722
+ results: Array<{
723
+ /**
724
+ * Identifier of the invoice.
725
+ */
726
+ invoice_id: string;
727
+ /**
728
+ * Invoice number. Null if the invoice has no number.
729
+ */
730
+ number: string;
731
+ /**
732
+ * Amount outstanding when the charge was attempted, in the smallest currency unit.
733
+ */
734
+ amount: number;
735
+ /**
736
+ * Currency of the invoice.
737
+ */
738
+ currency: string;
739
+ /**
740
+ * Outcome for this invoice: `paid`, `processing` (accepted, not yet settled), `requires_action` (awaiting customer authentication), or `failed` (declined).
741
+ */
742
+ status: 'paid' | 'processing' | 'requires_action' | 'failed';
743
+ /**
744
+ * Client secret used to complete customer authentication. Set only when `status` is `requires_action`.
745
+ */
746
+ client_secret: string;
747
+ /**
748
+ * Decline code. Set only when `status` is `failed`.
749
+ */
750
+ failure_code: string;
751
+ /**
752
+ * Explanation of the decline, suitable for display. Set only when `status` is `failed`.
753
+ */
754
+ failure_message: string;
755
+ }>;
756
+ };
525
757
  export type Invoice = {
526
758
  /**
527
759
  * Unique identifier of the invoice.
@@ -709,6 +941,14 @@ export type Organization = {
709
941
  * Available number of Pro clusters that can be created.
710
942
  */
711
943
  pro_clusters_available: number;
944
+ /**
945
+ * Maximum number of Enterprise clusters that can be created.
946
+ */
947
+ enterprise_clusters_max: number;
948
+ /**
949
+ * Available number of Enterprise clusters that can be created.
950
+ */
951
+ enterprise_clusters_available: number;
712
952
  /**
713
953
  * Maximum number of fleets that can be created per cluster.
714
954
  */
@@ -807,6 +1047,14 @@ export type PlatformQuota = {
807
1047
  * Available number of Pro clusters that can be created.
808
1048
  */
809
1049
  pro_clusters_available: number;
1050
+ /**
1051
+ * Maximum number of Enterprise clusters that can be created.
1052
+ */
1053
+ enterprise_clusters_max: number;
1054
+ /**
1055
+ * Available number of Enterprise clusters that can be created.
1056
+ */
1057
+ enterprise_clusters_available: number;
810
1058
  /**
811
1059
  * Maximum number of fleets that can be created per cluster.
812
1060
  */
@@ -1019,91 +1267,6 @@ export type TicketCreateInput = {
1019
1267
  [key: string]: unknown;
1020
1268
  };
1021
1269
  };
1022
- export type TicketListResponse = {
1023
- /**
1024
- * Tickets for the organization, ordered newest first. Messages are omitted from list responses.
1025
- */
1026
- items: Array<{
1027
- /**
1028
- * Unique identifier of the ticket (Mongo ObjectId).
1029
- */
1030
- id: string;
1031
- /**
1032
- * Current state of the ticket.
1033
- */
1034
- status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
1035
- /**
1036
- * Ticket category.
1037
- */
1038
- category: 'billing' | 'technical' | 'general';
1039
- /**
1040
- * First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
1041
- */
1042
- summary: string;
1043
- /**
1044
- * Closure timestamp. Null while the ticket is open.
1045
- */
1046
- closed_at?: string;
1047
- /**
1048
- * Creation date of the ticket. ISO 8601 UTC.
1049
- */
1050
- date_created: string;
1051
- /**
1052
- * Last update date of the ticket. ISO 8601 UTC.
1053
- */
1054
- date_updated: string;
1055
- /**
1056
- * Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
1057
- */
1058
- messages?: Array<{
1059
- /**
1060
- * Unique identifier of the message (Mongo ObjectId).
1061
- */
1062
- id: string;
1063
- /**
1064
- * Message type. Internal notes are filtered out of customer-facing responses.
1065
- */
1066
- type: 'customer_reply' | 'agent_reply';
1067
- /**
1068
- * Message body in markdown.
1069
- */
1070
- body: string;
1071
- /**
1072
- * First name of the author. Null when not provided.
1073
- */
1074
- author_first_name?: string;
1075
- /**
1076
- * Last name of the author. Null when not provided.
1077
- */
1078
- author_last_name?: string;
1079
- /**
1080
- * Attachments associated with this message.
1081
- */
1082
- attachments?: Array<{
1083
- /**
1084
- * Unique identifier of the attachment (Mongo ObjectId).
1085
- */
1086
- id: string;
1087
- /**
1088
- * Original filename as uploaded.
1089
- */
1090
- filename: string;
1091
- /**
1092
- * MIME content type of the attachment.
1093
- */
1094
- content_type: string;
1095
- /**
1096
- * Size of the attachment in bytes.
1097
- */
1098
- size: number;
1099
- }>;
1100
- /**
1101
- * Creation date of the message. ISO 8601 UTC.
1102
- */
1103
- date_created: string;
1104
- }>;
1105
- }>;
1106
- };
1107
1270
  export type TicketMessageInput = {
1108
1271
  /**
1109
1272
  * Reply body in markdown.
@@ -1287,7 +1450,7 @@ export type UsageFacets = {
1287
1450
  /**
1288
1451
  * List of unique products
1289
1452
  */
1290
- product?: Array<string>;
1453
+ product?: Array<'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage'>;
1291
1454
  };
1292
1455
  export type UsageResponse = {
1293
1456
  /**
@@ -1305,7 +1468,7 @@ export type UsageResponse = {
1305
1468
  /**
1306
1469
  * The product the usage is associated with
1307
1470
  */
1308
- product: string;
1471
+ product: 'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage';
1309
1472
  /**
1310
1473
  * Consumption
1311
1474
  */
@@ -1330,7 +1493,7 @@ export type UsageResponse = {
1330
1493
  /**
1331
1494
  * List of unique products
1332
1495
  */
1333
- product?: Array<string>;
1496
+ product?: Array<'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage'>;
1334
1497
  };
1335
1498
  };
1336
1499
  export type Usage = {
@@ -1345,7 +1508,7 @@ export type Usage = {
1345
1508
  /**
1346
1509
  * The product the usage is associated with
1347
1510
  */
1348
- product: string;
1511
+ product: 'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage';
1349
1512
  /**
1350
1513
  * Consumption
1351
1514
  */
@@ -1433,593 +1596,621 @@ export type UserUpdateInput = {
1433
1596
  */
1434
1597
  status?: 'active' | 'inactive';
1435
1598
  };
1436
- export type GetUsageData = {
1599
+ export type ListUserOrganizationsData = {
1437
1600
  body?: never;
1438
- path?: never;
1439
- query?: {
1601
+ path: {
1440
1602
  /**
1441
- * Time granularity for usage aggregation - hourly (Past 48 hours aggregated by hour), daily (Past 30 days aggregated by day), monthly (Past 12 months aggregated by month)
1603
+ * User email address.
1442
1604
  */
1443
- granularity?: 'hourly' | 'daily' | 'monthly';
1605
+ email: string;
1444
1606
  };
1445
- url: '/billing/usage';
1446
- };
1447
- export type GetUsageErrors = {
1448
- /**
1449
- * Not authenticated
1450
- */
1451
- 401: unknown;
1452
- };
1453
- export type GetUsageResponses = {
1454
- /**
1455
- * Usage data with facets for filtering
1456
- */
1457
- 200: UsageResponse;
1458
- };
1459
- export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
1460
- export type GetPaymentMethodSecretData = {
1461
- body?: never;
1462
- path?: never;
1463
1607
  query?: never;
1464
- url: '/billing/payment-method';
1608
+ url: '/users/organizations/{email}';
1465
1609
  };
1466
- export type GetPaymentMethodSecretResponses = {
1610
+ export type ListUserOrganizationsResponses = {
1467
1611
  /**
1468
- * 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.
1469
- *
1612
+ * An array of organizations the user belongs to.
1470
1613
  */
1471
- 200: {
1614
+ 200: Array<{
1472
1615
  /**
1473
- * The client secret.
1616
+ * Unique identifier of the organization. UUID v4 string in canonical form
1474
1617
  */
1475
- id?: string;
1476
- };
1618
+ realm?: string;
1619
+ /**
1620
+ * Human-readable name of the organization
1621
+ */
1622
+ displayName?: string;
1623
+ }>;
1477
1624
  };
1478
- export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
1479
- export type ListPaymentMethodsData = {
1625
+ export type ListUserOrganizationsResponse = ListUserOrganizationsResponses[keyof ListUserOrganizationsResponses];
1626
+ export type ListUsersData = {
1480
1627
  body?: never;
1481
1628
  path?: never;
1482
1629
  query?: never;
1483
- url: '/billing/payment-methods';
1630
+ url: '/users';
1484
1631
  };
1485
- export type ListPaymentMethodsErrors = {
1632
+ export type ListUsersErrors = {
1486
1633
  /**
1487
1634
  * Not authenticated
1488
1635
  */
1489
1636
  401: unknown;
1490
1637
  };
1491
- export type ListPaymentMethodsResponses = {
1638
+ export type ListUsersResponses = {
1492
1639
  /**
1493
- * An array of payment methods.
1640
+ * An array of users
1494
1641
  */
1495
- 200: Array<PaymentMethod>;
1642
+ 200: Array<User>;
1496
1643
  };
1497
- export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
1498
- export type SetDefaultPaymentMethodData = {
1499
- body?: never;
1500
- path: {
1501
- /**
1502
- * Stripe payment method identifier.
1503
- */
1504
- paymentMethodId: string;
1505
- };
1644
+ export type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
1645
+ export type CreateUserData = {
1646
+ body: UserCreateInput;
1647
+ path?: never;
1506
1648
  query?: never;
1507
- url: '/billing/payment-methods/{paymentMethodId}/default';
1649
+ url: '/users';
1508
1650
  };
1509
- export type SetDefaultPaymentMethodErrors = {
1651
+ export type CreateUserResponses = {
1510
1652
  /**
1511
- * The bank transfer payment method cannot be set as the default.
1653
+ * Successfully created. Returns created user details.
1654
+ */
1655
+ 200: User;
1656
+ };
1657
+ export type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];
1658
+ export type DeleteUserData = {
1659
+ body?: never;
1660
+ path: {
1661
+ /**
1662
+ * Unique user identifier. UUID v4 string in canonical form
1663
+ */
1664
+ user_id: string;
1665
+ };
1666
+ query?: never;
1667
+ url: '/users/{user_id}';
1668
+ };
1669
+ export type DeleteUserErrors = {
1670
+ /**
1671
+ * Deleting own user is not allowed. Delete your organization instead.
1512
1672
  */
1513
1673
  400: unknown;
1514
1674
  /**
1515
1675
  * Not authenticated
1516
1676
  */
1517
1677
  401: unknown;
1518
- /**
1519
- * Payment method not found.
1520
- */
1521
- 404: unknown;
1522
1678
  };
1523
- export type SetDefaultPaymentMethodResponses = {
1679
+ export type DeleteUserResponses = {
1524
1680
  /**
1525
- * Default payment method updated.
1681
+ * User profile information
1526
1682
  */
1527
- 204: void;
1683
+ 200: User;
1528
1684
  };
1529
- export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
1530
- export type DeletePaymentMethodData = {
1685
+ export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
1686
+ export type GetUserData = {
1531
1687
  body?: never;
1532
1688
  path: {
1533
1689
  /**
1534
- * Stripe payment method identifier.
1690
+ * Unique user identifier. UUID v4 string in canonical form
1535
1691
  */
1536
- paymentMethodId: string;
1692
+ user_id: string;
1537
1693
  };
1538
1694
  query?: never;
1539
- url: '/billing/payment-methods/{paymentMethodId}';
1695
+ url: '/users/{user_id}';
1540
1696
  };
1541
- export type DeletePaymentMethodErrors = {
1542
- /**
1543
- * The bank transfer payment method cannot be removed.
1544
- */
1545
- 400: unknown;
1697
+ export type GetUserErrors = {
1546
1698
  /**
1547
1699
  * Not authenticated
1548
1700
  */
1549
1701
  401: unknown;
1702
+ };
1703
+ export type GetUserResponses = {
1550
1704
  /**
1551
- * Payment method not found.
1552
- */
1553
- 404: unknown;
1554
- /**
1555
- * Cannot delete the only remaining payment method.
1705
+ * User profile information
1556
1706
  */
1557
- 409: unknown;
1707
+ 200: User;
1558
1708
  };
1559
- export type DeletePaymentMethodResponses = {
1709
+ export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
1710
+ export type UpdateUserData = {
1711
+ body: UserUpdateInput;
1712
+ path: {
1713
+ /**
1714
+ * Unique user identifier. UUID v4 string in canonical form
1715
+ */
1716
+ user_id: string;
1717
+ };
1718
+ query?: never;
1719
+ url: '/users/{user_id}';
1720
+ };
1721
+ export type UpdateUserResponses = {
1560
1722
  /**
1561
- * Payment method deleted.
1723
+ * Successfully created. Returns created user details.
1562
1724
  */
1563
- 204: void;
1725
+ 200: User;
1564
1726
  };
1565
- export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
1566
- export type ListInvoicesData = {
1727
+ export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
1728
+ export type ListTokensData = {
1567
1729
  body?: never;
1568
1730
  path?: never;
1569
1731
  query?: never;
1570
- url: '/billing/invoices';
1732
+ url: '/tokens';
1571
1733
  };
1572
- export type ListInvoicesErrors = {
1734
+ export type ListTokensErrors = {
1573
1735
  /**
1574
1736
  * Not authenticated
1575
1737
  */
1576
1738
  401: unknown;
1577
1739
  };
1578
- export type ListInvoicesResponses = {
1740
+ export type ListTokensResponses = {
1579
1741
  /**
1580
- * An array of usage records.
1742
+ * Returns a list of access token details with masked secrets.
1581
1743
  */
1582
- 200: Array<Invoice>;
1744
+ 200: Array<Token>;
1583
1745
  };
1584
- export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
1585
- export type GetContactData = {
1586
- body?: never;
1746
+ export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
1747
+ export type CreateTokenData = {
1748
+ body: TokenCreateInput;
1587
1749
  path?: never;
1588
1750
  query?: never;
1589
- url: '/billing/contact';
1751
+ url: '/tokens';
1590
1752
  };
1591
- export type GetContactResponses = {
1753
+ export type CreateTokenErrors = {
1592
1754
  /**
1593
- * Returns a single object containing organization contact and billing address details.
1755
+ * Not authenticated
1594
1756
  */
1595
- 200: BillingContact;
1757
+ 401: unknown;
1596
1758
  };
1597
- export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
1598
- export type UpdateContactData = {
1599
- body: BillingContact;
1600
- path?: never;
1759
+ export type CreateTokenResponses = {
1760
+ /**
1761
+ * Successfully created. Returns created token details with unmasked/raw secret.
1762
+ */
1763
+ 200: Token;
1764
+ };
1765
+ export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
1766
+ export type DeleteTokenData = {
1767
+ body?: never;
1768
+ path: {
1769
+ /**
1770
+ * Generated unique identifier of the access token.
1771
+ */
1772
+ token_id: string;
1773
+ };
1601
1774
  query?: never;
1602
- url: '/billing/contact';
1775
+ url: '/tokens/{token_id}';
1603
1776
  };
1604
- export type UpdateContactResponses = {
1777
+ export type DeleteTokenResponses = {
1605
1778
  /**
1606
- * Successfully updated. Returns updated organization details.
1779
+ * Successfully deleted.
1607
1780
  */
1608
- 200: BillingContact;
1781
+ 200: unknown;
1609
1782
  };
1610
- export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
1611
- export type GetCreditsData = {
1783
+ export type GetTokenData = {
1612
1784
  body?: never;
1613
- path?: never;
1785
+ path: {
1786
+ /**
1787
+ * Generated unique identifier of the access token.
1788
+ */
1789
+ token_id: string;
1790
+ };
1614
1791
  query?: never;
1615
- url: '/billing/credits';
1792
+ url: '/tokens/{token_id}';
1616
1793
  };
1617
- export type GetCreditsErrors = {
1794
+ export type GetTokenErrors = {
1618
1795
  /**
1619
1796
  * Not authenticated
1620
1797
  */
1621
1798
  401: unknown;
1622
1799
  };
1623
- export type GetCreditsResponses = {
1800
+ export type GetTokenResponses = {
1624
1801
  /**
1625
- * An array of the applied promotional credits records.
1802
+ * Returns access token details with masked secret.
1626
1803
  */
1627
- 200: Array<BillingCredits>;
1804
+ 200: Token;
1628
1805
  };
1629
- export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
1630
- export type RedeemCreditsData = {
1631
- body: {
1806
+ export type GetTokenResponse = GetTokenResponses[keyof GetTokenResponses];
1807
+ export type UpdateTokenData = {
1808
+ body: TokenUpdateInput;
1809
+ path: {
1632
1810
  /**
1633
- * Promotional code to redeem
1811
+ * Generated unique identifier of the access token.
1634
1812
  */
1635
- code?: string;
1813
+ token_id: string;
1636
1814
  };
1637
- path?: never;
1638
1815
  query?: never;
1639
- url: '/billing/credits';
1816
+ url: '/tokens/{token_id}';
1640
1817
  };
1641
- export type RedeemCreditsErrors = {
1818
+ export type UpdateTokenErrors = {
1642
1819
  /**
1643
1820
  * Not authenticated
1644
1821
  */
1645
1822
  401: unknown;
1646
1823
  };
1647
- export type RedeemCreditsResponses = {
1824
+ export type UpdateTokenResponses = {
1648
1825
  /**
1649
- * Successfully created a new organization.
1826
+ * Successfully updated. Returns updated token details with masked secret.
1650
1827
  */
1651
- 200: unknown;
1828
+ 200: Token;
1652
1829
  };
1653
- export type ListChartsData = {
1830
+ export type UpdateTokenResponse = UpdateTokenResponses[keyof UpdateTokenResponses];
1831
+ export type RegenerateTokenData = {
1654
1832
  body?: never;
1655
1833
  path: {
1656
1834
  /**
1657
- * Unique identifier of the cluster. UUID v4 string in canonical form
1835
+ * Generated unique identifier of the access token.
1658
1836
  */
1659
- cluster_id: string;
1837
+ token_id: string;
1660
1838
  };
1661
1839
  query?: never;
1662
- url: '/clusters/{cluster_id}/charts';
1840
+ url: '/tokens/{token_id}/secret';
1663
1841
  };
1664
- export type ListChartsErrors = {
1842
+ export type RegenerateTokenErrors = {
1665
1843
  /**
1666
1844
  * Not authenticated
1667
1845
  */
1668
1846
  401: unknown;
1669
1847
  };
1670
- export type ListChartsResponses = {
1848
+ export type RegenerateTokenResponses = {
1671
1849
  /**
1672
- * An array of charts
1850
+ * Successfully updated. Returns updated token details with unmasked / raw secret.
1673
1851
  */
1674
- 200: Array<Chart>;
1852
+ 200: Token;
1675
1853
  };
1676
- export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
1677
- export type CreateChartData = {
1678
- body: ChartCreateInput;
1679
- path: {
1680
- /**
1681
- * Unique identifier of the cluster. UUID v4 string in canonical form
1682
- */
1683
- cluster_id: string;
1684
- };
1854
+ export type RegenerateTokenResponse = RegenerateTokenResponses[keyof RegenerateTokenResponses];
1855
+ export type ListTicketsData = {
1856
+ body?: never;
1857
+ path?: never;
1685
1858
  query?: never;
1686
- url: '/clusters/{cluster_id}/charts';
1859
+ url: '/tickets';
1687
1860
  };
1688
- export type CreateChartResponses = {
1861
+ export type ListTicketsResponses = {
1689
1862
  /**
1690
- * Successfully created. Returns created Chart ID.
1863
+ * An array of tickets for the organization, newest first.
1691
1864
  */
1692
- 200: string;
1865
+ 200: Array<Ticket>;
1693
1866
  };
1694
- export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
1695
- export type DeleteChartData = {
1696
- body?: never;
1697
- path: {
1698
- /**
1699
- * Unique identifier of the cluster. UUID v4 string in canonical form
1700
- */
1701
- cluster_id: string;
1867
+ export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
1868
+ export type CreateTicketData = {
1869
+ body: {
1702
1870
  /**
1703
- * Chart deployment name as the unique identifier of the chart.
1871
+ * JSON-encoded TicketCreateInput.
1704
1872
  */
1705
- chart_name: string;
1873
+ payload?: string;
1874
+ attachments?: Array<Blob | File>;
1706
1875
  };
1876
+ path?: never;
1707
1877
  query?: never;
1708
- url: '/clusters/{cluster_id}/charts/{chart_name}';
1878
+ url: '/tickets';
1709
1879
  };
1710
- export type DeleteChartResponses = {
1880
+ export type CreateTicketResponses = {
1711
1881
  /**
1712
- * Successfully deleted.
1882
+ * Ticket created.
1713
1883
  */
1714
- 200: string;
1884
+ 200: Ticket;
1715
1885
  };
1716
- export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
1717
- export type GetChartData = {
1886
+ export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
1887
+ export type CloseTicketData = {
1718
1888
  body?: never;
1719
1889
  path: {
1720
- /**
1721
- * Unique identifier of the cluster. UUID v4 string in canonical form
1722
- */
1723
- cluster_id: string;
1724
- /**
1725
- * Chart deployment name as the unique identifier of the chart.
1726
- */
1727
- chart_name: string;
1890
+ ticket_id: string;
1728
1891
  };
1729
1892
  query?: never;
1730
- url: '/clusters/{cluster_id}/charts/{chart_name}';
1893
+ url: '/tickets/{ticket_id}';
1731
1894
  };
1732
- export type GetChartResponses = {
1895
+ export type CloseTicketResponses = {
1733
1896
  /**
1734
- * Returns a single object containing chart details.
1897
+ * Ticket closed.
1735
1898
  */
1736
- 200: Chart;
1899
+ 200: Ticket;
1737
1900
  };
1738
- export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
1739
- export type UpdateChartData = {
1740
- body: ChartUpdateInput;
1901
+ export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
1902
+ export type GetTicketData = {
1903
+ body?: never;
1741
1904
  path: {
1742
- /**
1743
- * Unique identifier of the cluster. UUID v4 string in canonical form
1744
- */
1745
- cluster_id: string;
1746
- /**
1747
- * Chart deployment name as the unique identifier of the chart.
1748
- */
1749
- chart_name: string;
1905
+ ticket_id: string;
1750
1906
  };
1751
1907
  query?: never;
1752
- url: '/clusters/{cluster_id}/charts/{chart_name}';
1908
+ url: '/tickets/{ticket_id}';
1753
1909
  };
1754
- export type UpdateChartResponses = {
1910
+ export type GetTicketResponses = {
1755
1911
  /**
1756
- * Successfully updated.
1912
+ * Ticket with messages (internal notes excluded).
1757
1913
  */
1758
- 200: string;
1914
+ 200: Ticket;
1759
1915
  };
1760
- export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
1761
- export type ListFleetsData = {
1762
- body?: never;
1763
- path: {
1916
+ export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
1917
+ export type ReplyTicketData = {
1918
+ body: {
1764
1919
  /**
1765
- * Unique identifier of the cluster. UUID v4 string in canonical form
1920
+ * JSON-encoded TicketMessageInput.
1766
1921
  */
1767
- cluster_id: string;
1922
+ payload?: string;
1923
+ attachments?: Array<Blob | File>;
1924
+ };
1925
+ path: {
1926
+ ticket_id: string;
1768
1927
  };
1769
1928
  query?: never;
1770
- url: '/clusters/{cluster_id}/fleets';
1929
+ url: '/tickets/{ticket_id}/messages';
1771
1930
  };
1772
- export type ListFleetsErrors = {
1931
+ export type ReplyTicketErrors = {
1773
1932
  /**
1774
- * Not authenticated
1933
+ * Ticket is closed. Open a new ticket instead.
1775
1934
  */
1776
- 401: unknown;
1935
+ 409: unknown;
1777
1936
  };
1778
- export type ListFleetsResponses = {
1937
+ export type ReplyTicketResponses = {
1779
1938
  /**
1780
- * An array of fleets
1939
+ * Reply appended.
1781
1940
  */
1782
- 200: Array<Fleet>;
1941
+ 200: TicketMessage;
1783
1942
  };
1784
- export type ListFleetsResponse = ListFleetsResponses[keyof ListFleetsResponses];
1785
- export type CreateFleetData = {
1786
- body: FleetCreateInput;
1943
+ export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
1944
+ export type GetTicketAttachmentData = {
1945
+ body?: never;
1787
1946
  path: {
1788
- /**
1789
- * Unique identifier of the cluster. UUID v4 string in canonical form
1790
- */
1791
- cluster_id: string;
1947
+ ticket_id: string;
1948
+ attachment_id: string;
1792
1949
  };
1793
1950
  query?: never;
1794
- url: '/clusters/{cluster_id}/fleets';
1795
- };
1796
- export type CreateFleetErrors = {
1797
- /**
1798
- * Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
1799
- */
1800
- 402: string;
1951
+ url: '/tickets/{ticket_id}/attachments/{attachment_id}';
1801
1952
  };
1802
- export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
1803
- export type CreateFleetResponses = {
1953
+ export type GetTicketAttachmentResponses = {
1804
1954
  /**
1805
- * Successfully created. Returns created Fleet ID.
1955
+ * Attachment binary stream.
1806
1956
  */
1807
- 200: string;
1957
+ 200: Blob | File;
1808
1958
  };
1809
- export type CreateFleetResponse = CreateFleetResponses[keyof CreateFleetResponses];
1810
- export type DeleteFleetData = {
1959
+ export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
1960
+ export type ListRepositoriesData = {
1811
1961
  body?: never;
1812
- path: {
1813
- /**
1814
- * Unique identifier of the cluster. UUID v4 string in canonical form
1815
- */
1816
- cluster_id: string;
1817
- /**
1818
- * Unique identifier of the fleet. UUID v4 string in canonical form
1819
- */
1820
- fleet_name: string;
1821
- };
1962
+ path?: never;
1822
1963
  query?: never;
1823
- url: '/clusters/{cluster_id}/fleets/{fleet_name}';
1964
+ url: '/registry';
1824
1965
  };
1825
- export type DeleteFleetResponses = {
1966
+ export type ListRepositoriesErrors = {
1826
1967
  /**
1827
- * Successfully deleted.
1968
+ * Not authenticated
1828
1969
  */
1829
- 200: string;
1970
+ 401: unknown;
1971
+ /**
1972
+ * Internal server error
1973
+ */
1974
+ 500: unknown;
1830
1975
  };
1831
- export type DeleteFleetResponse = DeleteFleetResponses[keyof DeleteFleetResponses];
1832
- export type GetFleetData = {
1976
+ export type ListRepositoriesResponses = {
1977
+ /**
1978
+ * List of repositories
1979
+ */
1980
+ 200: Array<RegistryRepository>;
1981
+ };
1982
+ export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
1983
+ export type ListTagsData = {
1833
1984
  body?: never;
1834
1985
  path: {
1835
1986
  /**
1836
- * Unique identifier of the cluster. UUID v4 string in canonical form
1987
+ * Region where the repository is located
1837
1988
  */
1838
- cluster_id: string;
1989
+ region: string;
1839
1990
  /**
1840
- * Unique identifier of the fleet. UUID v4 string in canonical form
1991
+ * Name of the repository
1841
1992
  */
1842
- fleet_name: string;
1993
+ repository: string;
1843
1994
  };
1844
1995
  query?: never;
1845
- url: '/clusters/{cluster_id}/fleets/{fleet_name}';
1996
+ url: '/registry/{region}/{repository}';
1846
1997
  };
1847
- export type GetFleetResponses = {
1998
+ export type ListTagsErrors = {
1848
1999
  /**
1849
- * Returns a single object containing fleet details.
2000
+ * Not authenticated
1850
2001
  */
1851
- 200: Fleet;
2002
+ 401: unknown;
2003
+ /**
2004
+ * Repository not found
2005
+ */
2006
+ 404: unknown;
2007
+ /**
2008
+ * Internal server error
2009
+ */
2010
+ 500: unknown;
1852
2011
  };
1853
- export type GetFleetResponse = GetFleetResponses[keyof GetFleetResponses];
1854
- export type UpdateFleetData = {
1855
- body: FleetUpdateInput;
2012
+ export type ListTagsResponses = {
2013
+ /**
2014
+ * Repository with tags
2015
+ */
2016
+ 200: RegistryRepositoryWithTags;
2017
+ };
2018
+ export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
2019
+ export type DeleteTagData = {
2020
+ body?: never;
1856
2021
  path: {
1857
2022
  /**
1858
- * Unique identifier of the cluster. UUID v4 string in canonical form
2023
+ * Region where the repository is located
1859
2024
  */
1860
- cluster_id: string;
2025
+ region: string;
1861
2026
  /**
1862
- * Unique identifier of the fleet. UUID v4 string in canonical form
2027
+ * Name of the repository
1863
2028
  */
1864
- fleet_name: string;
2029
+ repository: string;
2030
+ /**
2031
+ * Name of the tag
2032
+ */
2033
+ tag: string;
1865
2034
  };
1866
2035
  query?: never;
1867
- url: '/clusters/{cluster_id}/fleets/{fleet_name}';
2036
+ url: '/registry/{region}/{repository}/{tag}';
1868
2037
  };
1869
- export type UpdateFleetErrors = {
2038
+ export type DeleteTagErrors = {
1870
2039
  /**
1871
- * Organization must have a valid payment method configured to access this endpoint.
2040
+ * Not authenticated
1872
2041
  */
1873
- 402: string;
2042
+ 401: unknown;
2043
+ /**
2044
+ * Tag not found
2045
+ */
2046
+ 404: unknown;
2047
+ /**
2048
+ * Internal server error
2049
+ */
2050
+ 500: unknown;
1874
2051
  };
1875
- export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
1876
- export type UpdateFleetResponses = {
2052
+ export type DeleteTagResponses = {
1877
2053
  /**
1878
- * Successfully updated.
2054
+ * Tag successfully deleted
1879
2055
  */
1880
- 200: string;
2056
+ 200: unknown;
1881
2057
  };
1882
- export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
1883
- export type QueryClusterData = {
2058
+ export type GetTagData = {
1884
2059
  body?: never;
1885
2060
  path: {
1886
2061
  /**
1887
- * Unique identifier of the cluster. UUID v4 string in canonical form
2062
+ * Region where the repository is located
1888
2063
  */
1889
- cluster_id: string;
2064
+ region: string;
2065
+ /**
2066
+ * Name of the repository
2067
+ */
2068
+ repository: string;
2069
+ /**
2070
+ * Name of the tag
2071
+ */
2072
+ tag: string;
1890
2073
  };
1891
2074
  query?: never;
1892
- url: '/clusters/{cluster_id}/query';
2075
+ url: '/registry/{region}/{repository}/{tag}';
1893
2076
  };
1894
- export type QueryClusterErrors = {
2077
+ export type GetTagErrors = {
1895
2078
  /**
1896
2079
  * Not authenticated
1897
2080
  */
1898
2081
  401: unknown;
2082
+ /**
2083
+ * Tag not found
2084
+ */
2085
+ 404: unknown;
2086
+ /**
2087
+ * Internal server error
2088
+ */
2089
+ 500: unknown;
1899
2090
  };
1900
- export type QueryClusterResponses = {
2091
+ export type GetTagResponses = {
1901
2092
  /**
1902
- * Kubernetes API response
2093
+ * Tag details
1903
2094
  */
1904
- 200: unknown;
2095
+ 200: RegistryTag;
1905
2096
  };
1906
- export type ListClustersData = {
2097
+ export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
2098
+ export type GetOrganizationData = {
1907
2099
  body?: never;
1908
2100
  path?: never;
1909
2101
  query?: never;
1910
- url: '/clusters';
1911
- };
1912
- export type ListClustersErrors = {
1913
- /**
1914
- * Not authenticated
1915
- */
1916
- 401: unknown;
2102
+ url: '/organization';
1917
2103
  };
1918
- export type ListClustersResponses = {
2104
+ export type GetOrganizationResponses = {
1919
2105
  /**
1920
- * An array of clusters
2106
+ * Returns a single object containing organization details.
1921
2107
  */
1922
- 200: Array<Cluster>;
2108
+ 200: Organization;
1923
2109
  };
1924
- export type ListClustersResponse = ListClustersResponses[keyof ListClustersResponses];
1925
- export type CreateClusterData = {
1926
- body: ClusterCreateInput;
2110
+ export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
2111
+ export type CreateOrganizationData = {
2112
+ body: OrganizationCreateInput;
1927
2113
  path?: never;
1928
2114
  query?: never;
1929
- url: '/clusters';
2115
+ url: '/organization';
1930
2116
  };
1931
- export type CreateClusterErrors = {
2117
+ export type CreateOrganizationResponses = {
1932
2118
  /**
1933
- * Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
2119
+ * Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
2120
+ *
1934
2121
  */
1935
- 402: string;
2122
+ 200: OrganizationCreateOutput;
1936
2123
  };
1937
- export type CreateClusterError = CreateClusterErrors[keyof CreateClusterErrors];
1938
- export type CreateClusterResponses = {
2124
+ export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
2125
+ export type PostMcpData = {
1939
2126
  /**
1940
- * Successfully created. Returns created Cluster ID.
2127
+ * JSON-RPC 2.0 request payload
1941
2128
  */
1942
- 200: string;
1943
- };
1944
- export type CreateClusterResponse = CreateClusterResponses[keyof CreateClusterResponses];
1945
- export type DeleteClusterData = {
1946
- body?: never;
1947
- path: {
2129
+ body: {
2130
+ jsonrpc?: string;
2131
+ method?: string;
2132
+ id?: string | number;
1948
2133
  /**
1949
- * Unique identifier of the cluster. UUID v4 string in canonical form
2134
+ * Method-specific parameters
1950
2135
  */
1951
- cluster_id: string;
2136
+ params?: {
2137
+ [key: string]: unknown;
2138
+ };
1952
2139
  };
2140
+ path?: never;
1953
2141
  query?: never;
1954
- url: '/clusters/{cluster_id}';
2142
+ url: '/mcp';
1955
2143
  };
1956
- export type DeleteClusterResponses = {
2144
+ export type PostMcpErrors = {
1957
2145
  /**
1958
- * Successfully deleted.
2146
+ * Not authenticated
1959
2147
  */
1960
- 200: string;
1961
- };
1962
- export type DeleteClusterResponse = DeleteClusterResponses[keyof DeleteClusterResponses];
1963
- export type GetClusterData = {
1964
- body?: never;
1965
- path: {
1966
- /**
1967
- * Unique identifier of the cluster. UUID v4 string in canonical form
1968
- */
1969
- cluster_id: string;
1970
- };
1971
- query?: never;
1972
- url: '/clusters/{cluster_id}';
2148
+ 401: unknown;
1973
2149
  };
1974
- export type GetClusterResponses = {
2150
+ export type PostMcpResponses = {
1975
2151
  /**
1976
- * Returns a single object containing cluster details.
2152
+ * JSON-RPC 2.0 success or error response
1977
2153
  */
1978
- 200: Cluster;
1979
- };
1980
- export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
1981
- export type UpdateClusterData = {
1982
- body: ClusterUpdateInput;
1983
- path: {
1984
- /**
1985
- * Unique identifier of the cluster. UUID v4 string in canonical form
1986
- */
1987
- cluster_id: string;
2154
+ 200: {
2155
+ jsonrpc?: string;
2156
+ id?: string | number;
2157
+ result?: {
2158
+ [key: string]: unknown;
2159
+ };
2160
+ error?: {
2161
+ code?: number;
2162
+ message?: string;
2163
+ };
1988
2164
  };
2165
+ };
2166
+ export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
2167
+ export type ListMarketplaceChartsData = {
2168
+ body?: never;
2169
+ path?: never;
1989
2170
  query?: never;
1990
- url: '/clusters/{cluster_id}';
2171
+ url: '/marketplace';
1991
2172
  };
1992
- export type UpdateClusterResponses = {
2173
+ export type ListMarketplaceChartsErrors = {
1993
2174
  /**
1994
- * Successfully updated. Returns updated cluster details.
2175
+ * Not authenticated
1995
2176
  */
1996
- 200: Cluster;
2177
+ 401: unknown;
1997
2178
  };
1998
- export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
1999
- export type GetJoinInformationData = {
2179
+ export type ListMarketplaceChartsResponses = {
2180
+ /**
2181
+ * An array of chart listings in the marketplace.
2182
+ */
2183
+ 200: Array<MarketplaceListing>;
2184
+ };
2185
+ export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
2186
+ export type GetMarketplaceChartFilesData = {
2000
2187
  body?: never;
2001
2188
  path: {
2002
2189
  /**
2003
- * Unique identifier of the cluster. UUID v4 string in canonical form
2190
+ * Name of the chart in the marketplace.
2004
2191
  */
2005
- cluster_id: string;
2192
+ chart_name: string;
2193
+ /**
2194
+ * Version channel pattern to match (e.g., "1.31.x-cfke.x" for latest 1.31 patch, "1.x.x-cfke.x" for latest 1.x minor).
2195
+ */
2196
+ version_channel: string;
2006
2197
  };
2007
2198
  query?: never;
2008
- url: '/clusters/{cluster_id}/join_information';
2199
+ url: '/marketplace/{chart_name}/files/{version_channel}';
2009
2200
  };
2010
- export type GetJoinInformationErrors = {
2201
+ export type GetMarketplaceChartFilesErrors = {
2011
2202
  /**
2012
- * Not authenticated
2203
+ * Chart not found or no version matches the channel
2013
2204
  */
2014
- 401: unknown;
2205
+ 404: unknown;
2015
2206
  };
2016
- export type GetJoinInformationResponses = {
2207
+ export type GetMarketplaceChartFilesResponses = {
2017
2208
  /**
2018
- * An object of cluster join information
2209
+ * Returns an object containing the chart files for the latest matching version.
2019
2210
  */
2020
- 200: ClusterJoinInformation;
2211
+ 200: MarketplaceListingFiles;
2021
2212
  };
2022
- export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
2213
+ export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
2023
2214
  export type ListInvitesData = {
2024
2215
  body?: never;
2025
2216
  path?: never;
@@ -2096,619 +2287,685 @@ export type DeleteInviteResponses = {
2096
2287
  */
2097
2288
  200: unknown;
2098
2289
  };
2099
- export type ListMarketplaceChartsData = {
2290
+ export type QueryClusterData = {
2100
2291
  body?: never;
2101
- path?: never;
2292
+ path: {
2293
+ /**
2294
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2295
+ */
2296
+ cluster_id: string;
2297
+ };
2102
2298
  query?: never;
2103
- url: '/marketplace';
2299
+ url: '/clusters/{cluster_id}/query';
2104
2300
  };
2105
- export type ListMarketplaceChartsErrors = {
2301
+ export type QueryClusterErrors = {
2106
2302
  /**
2107
2303
  * Not authenticated
2108
2304
  */
2109
2305
  401: unknown;
2110
2306
  };
2111
- export type ListMarketplaceChartsResponses = {
2307
+ export type QueryClusterResponses = {
2112
2308
  /**
2113
- * An array of chart listings in the marketplace.
2309
+ * Kubernetes API response
2114
2310
  */
2115
- 200: Array<MarketplaceListing>;
2311
+ 200: unknown;
2116
2312
  };
2117
- export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
2118
- export type GetMarketplaceChartFilesData = {
2313
+ export type ListFleetsData = {
2119
2314
  body?: never;
2120
2315
  path: {
2121
2316
  /**
2122
- * Name of the chart in the marketplace.
2317
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2123
2318
  */
2124
- chart_name: string;
2319
+ cluster_id: string;
2320
+ };
2321
+ query?: never;
2322
+ url: '/clusters/{cluster_id}/fleets';
2323
+ };
2324
+ export type ListFleetsErrors = {
2325
+ /**
2326
+ * Not authenticated
2327
+ */
2328
+ 401: unknown;
2329
+ };
2330
+ export type ListFleetsResponses = {
2331
+ /**
2332
+ * An array of fleets
2333
+ */
2334
+ 200: Array<Fleet>;
2335
+ };
2336
+ export type ListFleetsResponse = ListFleetsResponses[keyof ListFleetsResponses];
2337
+ export type CreateFleetData = {
2338
+ body: FleetCreateInput;
2339
+ path: {
2125
2340
  /**
2126
- * Version channel pattern to match (e.g., "1.31.x-cfke.x" for latest 1.31 patch, "1.x.x-cfke.x" for latest 1.x minor).
2341
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2127
2342
  */
2128
- version_channel: string;
2343
+ cluster_id: string;
2129
2344
  };
2130
2345
  query?: never;
2131
- url: '/marketplace/{chart_name}/files/{version_channel}';
2346
+ url: '/clusters/{cluster_id}/fleets';
2132
2347
  };
2133
- export type GetMarketplaceChartFilesErrors = {
2348
+ export type CreateFleetErrors = {
2134
2349
  /**
2135
- * Chart not found or no version matches the channel
2350
+ * Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
2136
2351
  */
2137
- 404: unknown;
2138
- };
2139
- export type GetMarketplaceChartFilesResponses = {
2352
+ 402: string;
2140
2353
  /**
2141
- * Returns an object containing the chart files for the latest matching version.
2354
+ * 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.
2142
2355
  */
2143
- 200: MarketplaceListingFiles;
2356
+ 409: string;
2144
2357
  };
2145
- export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
2146
- export type PostMcpData = {
2358
+ export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
2359
+ export type CreateFleetResponses = {
2147
2360
  /**
2148
- * JSON-RPC 2.0 request payload
2361
+ * Successfully created. Returns created Fleet ID.
2149
2362
  */
2150
- body: {
2151
- jsonrpc?: string;
2152
- method?: string;
2153
- id?: string | number;
2363
+ 200: string;
2364
+ };
2365
+ export type CreateFleetResponse = CreateFleetResponses[keyof CreateFleetResponses];
2366
+ export type DeleteFleetData = {
2367
+ body?: never;
2368
+ path: {
2154
2369
  /**
2155
- * Method-specific parameters
2370
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2156
2371
  */
2157
- params?: {
2158
- [key: string]: unknown;
2159
- };
2372
+ cluster_id: string;
2373
+ /**
2374
+ * Unique identifier of the fleet. UUID v4 string in canonical form
2375
+ */
2376
+ fleet_name: string;
2160
2377
  };
2161
- path?: never;
2162
2378
  query?: never;
2163
- url: '/mcp';
2379
+ url: '/clusters/{cluster_id}/fleets/{fleet_name}';
2164
2380
  };
2165
- export type PostMcpErrors = {
2381
+ export type DeleteFleetErrors = {
2166
2382
  /**
2167
- * Not authenticated
2383
+ * 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.
2168
2384
  */
2169
- 401: unknown;
2385
+ 409: string;
2170
2386
  };
2171
- export type PostMcpResponses = {
2387
+ export type DeleteFleetError = DeleteFleetErrors[keyof DeleteFleetErrors];
2388
+ export type DeleteFleetResponses = {
2172
2389
  /**
2173
- * JSON-RPC 2.0 success or error response
2390
+ * Successfully deleted.
2174
2391
  */
2175
- 200: {
2176
- jsonrpc?: string;
2177
- id?: string | number;
2178
- result?: {
2179
- [key: string]: unknown;
2180
- };
2181
- error?: {
2182
- code?: number;
2183
- message?: string;
2184
- };
2185
- };
2392
+ 200: string;
2186
2393
  };
2187
- export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
2188
- export type GetOrganizationData = {
2394
+ export type DeleteFleetResponse = DeleteFleetResponses[keyof DeleteFleetResponses];
2395
+ export type GetFleetData = {
2189
2396
  body?: never;
2190
- path?: never;
2397
+ path: {
2398
+ /**
2399
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2400
+ */
2401
+ cluster_id: string;
2402
+ /**
2403
+ * Unique identifier of the fleet. UUID v4 string in canonical form
2404
+ */
2405
+ fleet_name: string;
2406
+ };
2191
2407
  query?: never;
2192
- url: '/organization';
2408
+ url: '/clusters/{cluster_id}/fleets/{fleet_name}';
2193
2409
  };
2194
- export type GetOrganizationResponses = {
2410
+ export type GetFleetResponses = {
2195
2411
  /**
2196
- * Returns a single object containing organization details.
2412
+ * Returns a single object containing fleet details.
2197
2413
  */
2198
- 200: Organization;
2414
+ 200: Fleet;
2199
2415
  };
2200
- export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
2201
- export type CreateOrganizationData = {
2202
- body: OrganizationCreateInput;
2203
- path?: never;
2416
+ export type GetFleetResponse = GetFleetResponses[keyof GetFleetResponses];
2417
+ export type UpdateFleetData = {
2418
+ body: FleetUpdateInput;
2419
+ path: {
2420
+ /**
2421
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2422
+ */
2423
+ cluster_id: string;
2424
+ /**
2425
+ * Unique identifier of the fleet. UUID v4 string in canonical form
2426
+ */
2427
+ fleet_name: string;
2428
+ };
2204
2429
  query?: never;
2205
- url: '/organization';
2430
+ url: '/clusters/{cluster_id}/fleets/{fleet_name}';
2206
2431
  };
2207
- export type CreateOrganizationResponses = {
2432
+ export type UpdateFleetErrors = {
2208
2433
  /**
2209
- * Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
2210
- *
2434
+ * Organization must have a valid payment method configured to access this endpoint.
2211
2435
  */
2212
- 200: OrganizationCreateOutput;
2436
+ 402: string;
2437
+ /**
2438
+ * 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.
2439
+ */
2440
+ 409: string;
2213
2441
  };
2214
- export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
2215
- export type ListRepositoriesData = {
2442
+ export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
2443
+ export type UpdateFleetResponses = {
2444
+ /**
2445
+ * Successfully updated.
2446
+ */
2447
+ 200: string;
2448
+ };
2449
+ export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
2450
+ export type ListChartsData = {
2216
2451
  body?: never;
2217
- path?: never;
2452
+ path: {
2453
+ /**
2454
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2455
+ */
2456
+ cluster_id: string;
2457
+ };
2218
2458
  query?: never;
2219
- url: '/registry';
2459
+ url: '/clusters/{cluster_id}/charts';
2220
2460
  };
2221
- export type ListRepositoriesErrors = {
2461
+ export type ListChartsErrors = {
2222
2462
  /**
2223
2463
  * Not authenticated
2224
2464
  */
2225
2465
  401: unknown;
2466
+ };
2467
+ export type ListChartsResponses = {
2226
2468
  /**
2227
- * Internal server error
2469
+ * An array of charts
2228
2470
  */
2229
- 500: unknown;
2471
+ 200: Array<Chart>;
2230
2472
  };
2231
- export type ListRepositoriesResponses = {
2473
+ export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
2474
+ export type CreateChartData = {
2475
+ body: ChartCreateInput;
2476
+ path: {
2477
+ /**
2478
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2479
+ */
2480
+ cluster_id: string;
2481
+ };
2482
+ query?: never;
2483
+ url: '/clusters/{cluster_id}/charts';
2484
+ };
2485
+ export type CreateChartErrors = {
2232
2486
  /**
2233
- * List of repositories
2487
+ * 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.
2234
2488
  */
2235
- 200: Array<RegistryRepository>;
2489
+ 409: string;
2236
2490
  };
2237
- export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
2238
- export type ListTagsData = {
2491
+ export type CreateChartError = CreateChartErrors[keyof CreateChartErrors];
2492
+ export type CreateChartResponses = {
2493
+ /**
2494
+ * Successfully created. Returns created Chart ID.
2495
+ */
2496
+ 200: string;
2497
+ };
2498
+ export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
2499
+ export type DeleteChartData = {
2239
2500
  body?: never;
2240
2501
  path: {
2241
2502
  /**
2242
- * Region where the repository is located
2503
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2243
2504
  */
2244
- region: string;
2505
+ cluster_id: string;
2245
2506
  /**
2246
- * Name of the repository
2507
+ * Chart deployment name as the unique identifier of the chart.
2247
2508
  */
2248
- repository: string;
2509
+ chart_name: string;
2249
2510
  };
2250
2511
  query?: never;
2251
- url: '/registry/{region}/{repository}';
2512
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
2252
2513
  };
2253
- export type ListTagsErrors = {
2254
- /**
2255
- * Not authenticated
2256
- */
2257
- 401: unknown;
2258
- /**
2259
- * Repository not found
2260
- */
2261
- 404: unknown;
2514
+ export type DeleteChartErrors = {
2262
2515
  /**
2263
- * Internal server error
2516
+ * 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.
2264
2517
  */
2265
- 500: unknown;
2518
+ 409: string;
2266
2519
  };
2267
- export type ListTagsResponses = {
2520
+ export type DeleteChartError = DeleteChartErrors[keyof DeleteChartErrors];
2521
+ export type DeleteChartResponses = {
2268
2522
  /**
2269
- * Repository with tags
2523
+ * Successfully deleted.
2270
2524
  */
2271
- 200: RegistryRepositoryWithTags;
2525
+ 200: string;
2272
2526
  };
2273
- export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
2274
- export type DeleteTagData = {
2527
+ export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
2528
+ export type GetChartData = {
2275
2529
  body?: never;
2276
2530
  path: {
2277
2531
  /**
2278
- * Region where the repository is located
2279
- */
2280
- region: string;
2281
- /**
2282
- * Name of the repository
2532
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2283
2533
  */
2284
- repository: string;
2534
+ cluster_id: string;
2285
2535
  /**
2286
- * Name of the tag
2536
+ * Chart deployment name as the unique identifier of the chart.
2287
2537
  */
2288
- tag: string;
2538
+ chart_name: string;
2289
2539
  };
2290
2540
  query?: never;
2291
- url: '/registry/{region}/{repository}/{tag}';
2292
- };
2293
- export type DeleteTagErrors = {
2294
- /**
2295
- * Not authenticated
2296
- */
2297
- 401: unknown;
2298
- /**
2299
- * Tag not found
2300
- */
2301
- 404: unknown;
2302
- /**
2303
- * Internal server error
2304
- */
2305
- 500: unknown;
2541
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
2306
2542
  };
2307
- export type DeleteTagResponses = {
2543
+ export type GetChartResponses = {
2308
2544
  /**
2309
- * Tag successfully deleted
2545
+ * Returns a single object containing chart details.
2310
2546
  */
2311
- 200: unknown;
2547
+ 200: Chart;
2312
2548
  };
2313
- export type GetTagData = {
2314
- body?: never;
2549
+ export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
2550
+ export type UpdateChartData = {
2551
+ body: ChartUpdateInput;
2315
2552
  path: {
2316
2553
  /**
2317
- * Region where the repository is located
2318
- */
2319
- region: string;
2320
- /**
2321
- * Name of the repository
2554
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2322
2555
  */
2323
- repository: string;
2556
+ cluster_id: string;
2324
2557
  /**
2325
- * Name of the tag
2558
+ * Chart deployment name as the unique identifier of the chart.
2326
2559
  */
2327
- tag: string;
2560
+ chart_name: string;
2328
2561
  };
2329
2562
  query?: never;
2330
- url: '/registry/{region}/{repository}/{tag}';
2563
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
2331
2564
  };
2332
- export type GetTagErrors = {
2333
- /**
2334
- * Not authenticated
2335
- */
2336
- 401: unknown;
2337
- /**
2338
- * Tag not found
2339
- */
2340
- 404: unknown;
2565
+ export type UpdateChartErrors = {
2341
2566
  /**
2342
- * Internal server error
2567
+ * 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.
2343
2568
  */
2344
- 500: unknown;
2569
+ 409: string;
2345
2570
  };
2346
- export type GetTagResponses = {
2571
+ export type UpdateChartError = UpdateChartErrors[keyof UpdateChartErrors];
2572
+ export type UpdateChartResponses = {
2347
2573
  /**
2348
- * Tag details
2574
+ * Successfully updated.
2349
2575
  */
2350
- 200: RegistryTag;
2576
+ 200: string;
2351
2577
  };
2352
- export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
2353
- export type ListTicketsData = {
2578
+ export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
2579
+ export type ListClustersData = {
2354
2580
  body?: never;
2355
2581
  path?: never;
2356
2582
  query?: never;
2357
- url: '/tickets';
2583
+ url: '/clusters';
2358
2584
  };
2359
- export type ListTicketsResponses = {
2585
+ export type ListClustersErrors = {
2360
2586
  /**
2361
- * Tickets for the organization.
2587
+ * Not authenticated
2362
2588
  */
2363
- 200: TicketListResponse;
2589
+ 401: unknown;
2364
2590
  };
2365
- export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
2366
- export type CreateTicketData = {
2367
- body: {
2368
- /**
2369
- * JSON-encoded TicketCreateInput.
2370
- */
2371
- payload?: string;
2372
- attachments?: Array<Blob | File>;
2373
- };
2591
+ export type ListClustersResponses = {
2592
+ /**
2593
+ * An array of clusters
2594
+ */
2595
+ 200: Array<Cluster>;
2596
+ };
2597
+ export type ListClustersResponse = ListClustersResponses[keyof ListClustersResponses];
2598
+ export type CreateClusterData = {
2599
+ body: ClusterCreateInput;
2374
2600
  path?: never;
2375
2601
  query?: never;
2376
- url: '/tickets';
2602
+ url: '/clusters';
2377
2603
  };
2378
- export type CreateTicketResponses = {
2604
+ export type CreateClusterErrors = {
2379
2605
  /**
2380
- * Ticket created.
2606
+ * Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
2381
2607
  */
2382
- 200: Ticket;
2608
+ 402: string;
2383
2609
  };
2384
- export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
2385
- export type CloseTicketData = {
2610
+ export type CreateClusterError = CreateClusterErrors[keyof CreateClusterErrors];
2611
+ export type CreateClusterResponses = {
2612
+ /**
2613
+ * Successfully created. Returns created Cluster ID.
2614
+ */
2615
+ 200: string;
2616
+ };
2617
+ export type CreateClusterResponse = CreateClusterResponses[keyof CreateClusterResponses];
2618
+ export type DeleteClusterData = {
2386
2619
  body?: never;
2387
2620
  path: {
2388
- ticket_id: string;
2621
+ /**
2622
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2623
+ */
2624
+ cluster_id: string;
2389
2625
  };
2390
2626
  query?: never;
2391
- url: '/tickets/{ticket_id}';
2627
+ url: '/clusters/{cluster_id}';
2392
2628
  };
2393
- export type CloseTicketResponses = {
2629
+ export type DeleteClusterErrors = {
2394
2630
  /**
2395
- * Ticket closed.
2631
+ * Cluster not found; it does not exist or has already been deleted.
2396
2632
  */
2397
- 200: Ticket;
2633
+ 404: unknown;
2634
+ /**
2635
+ * 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.
2636
+ */
2637
+ 409: string;
2638
+ /**
2639
+ * Transient failure tearing down the cluster; retry the request.
2640
+ */
2641
+ 503: unknown;
2398
2642
  };
2399
- export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
2400
- export type GetTicketData = {
2643
+ export type DeleteClusterError = DeleteClusterErrors[keyof DeleteClusterErrors];
2644
+ export type DeleteClusterResponses = {
2645
+ /**
2646
+ * Successfully deleted. The cluster has been torn down.
2647
+ */
2648
+ 200: string;
2649
+ };
2650
+ export type DeleteClusterResponse = DeleteClusterResponses[keyof DeleteClusterResponses];
2651
+ export type GetClusterData = {
2401
2652
  body?: never;
2402
2653
  path: {
2403
- ticket_id: string;
2654
+ /**
2655
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2656
+ */
2657
+ cluster_id: string;
2404
2658
  };
2405
2659
  query?: never;
2406
- url: '/tickets/{ticket_id}';
2660
+ url: '/clusters/{cluster_id}';
2407
2661
  };
2408
- export type GetTicketResponses = {
2662
+ export type GetClusterResponses = {
2409
2663
  /**
2410
- * Ticket with messages (internal notes excluded).
2664
+ * Returns a single object containing cluster details.
2411
2665
  */
2412
- 200: Ticket;
2666
+ 200: Cluster;
2413
2667
  };
2414
- export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
2415
- export type ReplyTicketData = {
2416
- body: {
2668
+ export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
2669
+ export type UpdateClusterData = {
2670
+ body: ClusterUpdateInput;
2671
+ path: {
2417
2672
  /**
2418
- * JSON-encoded TicketMessageInput.
2673
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2419
2674
  */
2420
- payload?: string;
2421
- attachments?: Array<Blob | File>;
2422
- };
2423
- path: {
2424
- ticket_id: string;
2675
+ cluster_id: string;
2425
2676
  };
2426
2677
  query?: never;
2427
- url: '/tickets/{ticket_id}/messages';
2678
+ url: '/clusters/{cluster_id}';
2428
2679
  };
2429
- export type ReplyTicketErrors = {
2680
+ export type UpdateClusterErrors = {
2430
2681
  /**
2431
- * Ticket is closed. Open a new ticket instead.
2682
+ * 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.
2432
2683
  */
2433
- 409: unknown;
2684
+ 409: string;
2434
2685
  };
2435
- export type ReplyTicketResponses = {
2686
+ export type UpdateClusterError = UpdateClusterErrors[keyof UpdateClusterErrors];
2687
+ export type UpdateClusterResponses = {
2436
2688
  /**
2437
- * Reply appended.
2689
+ * Successfully updated. Returns updated cluster details.
2438
2690
  */
2439
- 200: TicketMessage;
2691
+ 200: Cluster;
2440
2692
  };
2441
- export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
2442
- export type GetTicketAttachmentData = {
2693
+ export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
2694
+ export type GetJoinInformationData = {
2443
2695
  body?: never;
2444
2696
  path: {
2445
- ticket_id: string;
2446
- attachment_id: string;
2697
+ /**
2698
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2699
+ */
2700
+ cluster_id: string;
2447
2701
  };
2448
2702
  query?: never;
2449
- url: '/tickets/{ticket_id}/attachments/{attachment_id}';
2450
- };
2451
- export type GetTicketAttachmentResponses = {
2452
- /**
2453
- * Attachment binary stream.
2454
- */
2455
- 200: Blob | File;
2456
- };
2457
- export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
2458
- export type ListTokensData = {
2459
- body?: never;
2460
- path?: never;
2461
- query?: never;
2462
- url: '/tokens';
2703
+ url: '/clusters/{cluster_id}/join_information';
2463
2704
  };
2464
- export type ListTokensErrors = {
2705
+ export type GetJoinInformationErrors = {
2465
2706
  /**
2466
2707
  * Not authenticated
2467
2708
  */
2468
2709
  401: unknown;
2710
+ /**
2711
+ * 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.
2712
+ */
2713
+ 409: string;
2714
+ /**
2715
+ * The cluster runs on Cloudfleet data plane v2 and the calling client did not declare the dataplane-v2 capability, so it cannot provision a node for it. Upgrade the Cloudfleet CLI or Terraform provider.
2716
+ */
2717
+ 426: string;
2469
2718
  };
2470
- export type ListTokensResponses = {
2719
+ export type GetJoinInformationError = GetJoinInformationErrors[keyof GetJoinInformationErrors];
2720
+ export type GetJoinInformationResponses = {
2471
2721
  /**
2472
- * Returns a list of access token details with masked secrets.
2722
+ * An object of cluster join information
2473
2723
  */
2474
- 200: Array<Token>;
2724
+ 200: ClusterJoinInformation;
2475
2725
  };
2476
- export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
2477
- export type CreateTokenData = {
2478
- body: TokenCreateInput;
2726
+ export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
2727
+ export type GetUsageData = {
2728
+ body?: never;
2479
2729
  path?: never;
2480
- query?: never;
2481
- url: '/tokens';
2730
+ query?: {
2731
+ /**
2732
+ * Time granularity for usage aggregation - hourly (Past 48 hours aggregated by hour), daily (Past 30 days aggregated by day), monthly (Past 12 months aggregated by month)
2733
+ */
2734
+ granularity?: 'hourly' | 'daily' | 'monthly';
2735
+ };
2736
+ url: '/billing/usage';
2482
2737
  };
2483
- export type CreateTokenErrors = {
2738
+ export type GetUsageErrors = {
2484
2739
  /**
2485
2740
  * Not authenticated
2486
2741
  */
2487
2742
  401: unknown;
2488
2743
  };
2489
- export type CreateTokenResponses = {
2744
+ export type GetUsageResponses = {
2490
2745
  /**
2491
- * Successfully created. Returns created token details with unmasked/raw secret.
2746
+ * Usage data with facets for filtering
2492
2747
  */
2493
- 200: Token;
2748
+ 200: UsageResponse;
2494
2749
  };
2495
- export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
2496
- export type DeleteTokenData = {
2750
+ export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
2751
+ export type GetPaymentMethodSecretData = {
2497
2752
  body?: never;
2498
- path: {
2499
- /**
2500
- * Generated unique identifier of the access token.
2501
- */
2502
- token_id: string;
2503
- };
2753
+ path?: never;
2504
2754
  query?: never;
2505
- url: '/tokens/{token_id}';
2755
+ url: '/billing/payment-method';
2506
2756
  };
2507
- export type DeleteTokenResponses = {
2757
+ export type GetPaymentMethodSecretResponses = {
2508
2758
  /**
2509
- * Successfully deleted.
2759
+ * 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.
2760
+ *
2510
2761
  */
2511
- 200: unknown;
2512
- };
2513
- export type GetTokenData = {
2514
- body?: never;
2515
- path: {
2762
+ 200: {
2516
2763
  /**
2517
- * Generated unique identifier of the access token.
2764
+ * The client secret.
2518
2765
  */
2519
- token_id: string;
2766
+ id?: string;
2520
2767
  };
2768
+ };
2769
+ export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
2770
+ export type ListPaymentMethodsData = {
2771
+ body?: never;
2772
+ path?: never;
2521
2773
  query?: never;
2522
- url: '/tokens/{token_id}';
2774
+ url: '/billing/payment-methods';
2523
2775
  };
2524
- export type GetTokenErrors = {
2776
+ export type ListPaymentMethodsErrors = {
2525
2777
  /**
2526
2778
  * Not authenticated
2527
2779
  */
2528
2780
  401: unknown;
2529
2781
  };
2530
- export type GetTokenResponses = {
2782
+ export type ListPaymentMethodsResponses = {
2531
2783
  /**
2532
- * Returns access token details with masked secret.
2784
+ * An array of payment methods.
2533
2785
  */
2534
- 200: Token;
2786
+ 200: Array<PaymentMethod>;
2535
2787
  };
2536
- export type GetTokenResponse = GetTokenResponses[keyof GetTokenResponses];
2537
- export type UpdateTokenData = {
2538
- body: TokenUpdateInput;
2788
+ export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
2789
+ export type SetDefaultPaymentMethodData = {
2790
+ body?: never;
2539
2791
  path: {
2540
2792
  /**
2541
- * Generated unique identifier of the access token.
2793
+ * Stripe payment method identifier.
2542
2794
  */
2543
- token_id: string;
2795
+ paymentMethodId: string;
2544
2796
  };
2545
2797
  query?: never;
2546
- url: '/tokens/{token_id}';
2798
+ url: '/billing/payment-methods/{paymentMethodId}/default';
2547
2799
  };
2548
- export type UpdateTokenErrors = {
2800
+ export type SetDefaultPaymentMethodErrors = {
2801
+ /**
2802
+ * The bank transfer payment method cannot be set as the default.
2803
+ */
2804
+ 400: unknown;
2549
2805
  /**
2550
2806
  * Not authenticated
2551
2807
  */
2552
2808
  401: unknown;
2809
+ /**
2810
+ * Payment method not found.
2811
+ */
2812
+ 404: unknown;
2553
2813
  };
2554
- export type UpdateTokenResponses = {
2814
+ export type SetDefaultPaymentMethodResponses = {
2555
2815
  /**
2556
- * Successfully updated. Returns updated token details with masked secret.
2816
+ * Default payment method updated.
2557
2817
  */
2558
- 200: Token;
2818
+ 204: void;
2559
2819
  };
2560
- export type UpdateTokenResponse = UpdateTokenResponses[keyof UpdateTokenResponses];
2561
- export type RegenerateTokenData = {
2820
+ export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
2821
+ export type DeletePaymentMethodData = {
2562
2822
  body?: never;
2563
2823
  path: {
2564
2824
  /**
2565
- * Generated unique identifier of the access token.
2825
+ * Stripe payment method identifier.
2566
2826
  */
2567
- token_id: string;
2827
+ paymentMethodId: string;
2568
2828
  };
2569
2829
  query?: never;
2570
- url: '/tokens/{token_id}/secret';
2830
+ url: '/billing/payment-methods/{paymentMethodId}';
2571
2831
  };
2572
- export type RegenerateTokenErrors = {
2832
+ export type DeletePaymentMethodErrors = {
2833
+ /**
2834
+ * The bank transfer payment method cannot be removed.
2835
+ */
2836
+ 400: unknown;
2573
2837
  /**
2574
2838
  * Not authenticated
2575
2839
  */
2576
2840
  401: unknown;
2841
+ /**
2842
+ * Payment method not found.
2843
+ */
2844
+ 404: unknown;
2845
+ /**
2846
+ * Cannot delete the only remaining payment method.
2847
+ */
2848
+ 409: unknown;
2577
2849
  };
2578
- export type RegenerateTokenResponses = {
2850
+ export type DeletePaymentMethodResponses = {
2579
2851
  /**
2580
- * Successfully updated. Returns updated token details with unmasked / raw secret.
2852
+ * Payment method deleted.
2581
2853
  */
2582
- 200: Token;
2854
+ 204: void;
2583
2855
  };
2584
- export type RegenerateTokenResponse = RegenerateTokenResponses[keyof RegenerateTokenResponses];
2585
- export type ListUserOrganizationsData = {
2856
+ export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
2857
+ export type ListInvoicesData = {
2586
2858
  body?: never;
2587
- path: {
2588
- /**
2589
- * User email address.
2590
- */
2591
- email: string;
2592
- };
2859
+ path?: never;
2593
2860
  query?: never;
2594
- url: '/users/organizations/{email}';
2861
+ url: '/billing/invoices';
2595
2862
  };
2596
- export type ListUserOrganizationsResponses = {
2863
+ export type ListInvoicesErrors = {
2597
2864
  /**
2598
- * An array of organizations the user belongs to.
2865
+ * Not authenticated
2599
2866
  */
2600
- 200: Array<{
2601
- /**
2602
- * Unique identifier of the organization. UUID v4 string in canonical form
2603
- */
2604
- realm?: string;
2605
- /**
2606
- * Human-readable name of the organization
2607
- */
2608
- displayName?: string;
2609
- }>;
2867
+ 401: unknown;
2610
2868
  };
2611
- export type ListUserOrganizationsResponse = ListUserOrganizationsResponses[keyof ListUserOrganizationsResponses];
2612
- export type ListUsersData = {
2869
+ export type ListInvoicesResponses = {
2870
+ /**
2871
+ * An array of usage records.
2872
+ */
2873
+ 200: Array<Invoice>;
2874
+ };
2875
+ export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
2876
+ export type PayOpenInvoicesData = {
2613
2877
  body?: never;
2614
2878
  path?: never;
2615
2879
  query?: never;
2616
- url: '/users';
2880
+ url: '/billing/invoices/pay';
2617
2881
  };
2618
- export type ListUsersErrors = {
2882
+ export type PayOpenInvoicesErrors = {
2883
+ /**
2884
+ * The organization has no payment method that can be charged.
2885
+ */
2886
+ 400: unknown;
2619
2887
  /**
2620
2888
  * Not authenticated
2621
2889
  */
2622
2890
  401: unknown;
2891
+ /**
2892
+ * Too many payment attempts for this organization.
2893
+ */
2894
+ 429: unknown;
2623
2895
  };
2624
- export type ListUsersResponses = {
2896
+ export type PayOpenInvoicesResponses = {
2625
2897
  /**
2626
- * An array of users
2898
+ * The outcome of the attempt.
2627
2899
  */
2628
- 200: Array<User>;
2900
+ 200: InvoicePaymentResult;
2629
2901
  };
2630
- export type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
2631
- export type CreateUserData = {
2632
- body: UserCreateInput;
2902
+ export type PayOpenInvoicesResponse = PayOpenInvoicesResponses[keyof PayOpenInvoicesResponses];
2903
+ export type GetContactData = {
2904
+ body?: never;
2633
2905
  path?: never;
2634
2906
  query?: never;
2635
- url: '/users';
2907
+ url: '/billing/contact';
2636
2908
  };
2637
- export type CreateUserResponses = {
2909
+ export type GetContactResponses = {
2638
2910
  /**
2639
- * Successfully created. Returns created user details.
2911
+ * Returns a single object containing organization contact and billing address details.
2640
2912
  */
2641
- 200: User;
2913
+ 200: BillingContact;
2642
2914
  };
2643
- export type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];
2644
- export type DeleteUserData = {
2645
- body?: never;
2646
- path: {
2647
- /**
2648
- * Unique user identifier. UUID v4 string in canonical form
2649
- */
2650
- user_id: string;
2651
- };
2915
+ export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
2916
+ export type UpdateContactData = {
2917
+ body: BillingContact;
2918
+ path?: never;
2652
2919
  query?: never;
2653
- url: '/users/{user_id}';
2920
+ url: '/billing/contact';
2654
2921
  };
2655
- export type DeleteUserErrors = {
2922
+ export type UpdateContactResponses = {
2656
2923
  /**
2657
- * Deleting own user is not allowed. Delete your organization instead.
2924
+ * Successfully updated. Returns updated organization details.
2658
2925
  */
2659
- 400: unknown;
2926
+ 200: BillingContact;
2927
+ };
2928
+ export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
2929
+ export type GetCreditsData = {
2930
+ body?: never;
2931
+ path?: never;
2932
+ query?: never;
2933
+ url: '/billing/credits';
2934
+ };
2935
+ export type GetCreditsErrors = {
2660
2936
  /**
2661
2937
  * Not authenticated
2662
2938
  */
2663
2939
  401: unknown;
2664
2940
  };
2665
- export type DeleteUserResponses = {
2941
+ export type GetCreditsResponses = {
2666
2942
  /**
2667
- * User profile information
2943
+ * An array of the applied promotional credits records.
2668
2944
  */
2669
- 200: User;
2945
+ 200: Array<BillingCredits>;
2670
2946
  };
2671
- export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
2672
- export type GetUserData = {
2673
- body?: never;
2674
- path: {
2947
+ export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
2948
+ export type RedeemCreditsData = {
2949
+ body: {
2675
2950
  /**
2676
- * Unique user identifier. UUID v4 string in canonical form
2951
+ * Promotional code to redeem
2677
2952
  */
2678
- user_id: string;
2953
+ code?: string;
2679
2954
  };
2955
+ path?: never;
2680
2956
  query?: never;
2681
- url: '/users/{user_id}';
2957
+ url: '/billing/credits';
2682
2958
  };
2683
- export type GetUserErrors = {
2959
+ export type RedeemCreditsErrors = {
2684
2960
  /**
2685
2961
  * Not authenticated
2686
2962
  */
2687
2963
  401: unknown;
2688
2964
  };
2689
- export type GetUserResponses = {
2690
- /**
2691
- * User profile information
2692
- */
2693
- 200: User;
2694
- };
2695
- export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
2696
- export type UpdateUserData = {
2697
- body: UserUpdateInput;
2698
- path: {
2699
- /**
2700
- * Unique user identifier. UUID v4 string in canonical form
2701
- */
2702
- user_id: string;
2703
- };
2704
- query?: never;
2705
- url: '/users/{user_id}';
2706
- };
2707
- export type UpdateUserResponses = {
2965
+ export type RedeemCreditsResponses = {
2708
2966
  /**
2709
- * Successfully created. Returns created user details.
2967
+ * Successfully created a new organization.
2710
2968
  */
2711
- 200: User;
2969
+ 200: unknown;
2712
2970
  };
2713
- export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
2714
2971
  //# sourceMappingURL=types.gen.d.ts.map