@cloudfleet/sdk 0.0.1-c386d40 → 0.0.1-c3c7509

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
  /**
@@ -194,10 +243,18 @@ export type ClusterJoinInformation = {
194
243
  * Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.
195
244
  */
196
245
  cluster_dns: string;
246
+ /**
247
+ * Pod CIDR for the cluster. Used to configure iptables rules on nodes to prevent Tailscale routing loops.
248
+ */
249
+ pod_cidr: string;
197
250
  /**
198
251
  * Authentication key for the cluster.
199
252
  */
200
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;
201
258
  /**
202
259
  * Bootstrap token for the cluster.
203
260
  */
@@ -241,6 +298,9 @@ export type ClusterJoinInformation = {
241
298
  gcp_workload_identity_provider: string;
242
299
  };
243
300
  };
301
+ /**
302
+ * Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
303
+ */
244
304
  export type Cluster = {
245
305
  /**
246
306
  * Name of the cluster.
@@ -249,19 +309,69 @@ export type Cluster = {
249
309
  /**
250
310
  * Tier of the cluster.
251
311
  */
252
- tier: 'basic' | 'pro';
312
+ tier: 'basic' | 'pro' | 'enterprise';
253
313
  /**
254
- * 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.
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;
342
+ /**
343
+ * Cluster networking configuration. Immutable after creation.
255
344
  */
256
- 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
+ };
257
367
  /**
258
368
  * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
259
369
  */
260
370
  id: string;
261
371
  /**
262
- * Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.
372
+ * Status of the cluster.
263
373
  */
264
- status: 'active' | 'disabled' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
374
+ status: 'creating' | 'deployed' | 'updating' | 'disabled';
265
375
  endpoint?: string | '';
266
376
  endpoint_public?: string | '';
267
377
  /**
@@ -283,26 +393,49 @@ export type Cluster = {
283
393
  /**
284
394
  * Indicates if the cluster is ready to be used.
285
395
  */
286
- ready?: boolean;
287
- /**
288
- * Version of the kubernetes cluster.
289
- */
290
- version_channel?: string;
396
+ ready: boolean;
291
397
  };
398
+ /**
399
+ * Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
400
+ */
292
401
  export type ClusterUpdateInput = {
293
402
  /**
294
403
  * Name of the cluster.
295
404
  */
296
- name?: string;
405
+ name: string;
297
406
  /**
298
407
  * Tier of the cluster.
299
408
  */
300
- tier: 'basic' | 'pro';
409
+ tier?: 'basic' | 'pro' | 'enterprise';
301
410
  /**
302
411
  * Version of the kubernetes cluster.
303
412
  */
304
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
+ };
305
435
  };
436
+ /**
437
+ * Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
438
+ */
306
439
  export type FleetCreateInput = {
307
440
  /**
308
441
  * Limits define a set of bounds for provisioning capacity.
@@ -323,7 +456,7 @@ export type FleetCreateInput = {
323
456
  hetzner?: {
324
457
  enabled: boolean;
325
458
  /**
326
- * 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.
327
460
  */
328
461
  apiKey?: string;
329
462
  };
@@ -335,7 +468,7 @@ export type FleetCreateInput = {
335
468
  controllerRoleArn?: string;
336
469
  };
337
470
  /**
338
- * 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.
339
472
  */
340
473
  constraints?: {
341
474
  /**
@@ -356,7 +489,7 @@ export type FleetCreateInput = {
356
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'>;
357
490
  };
358
491
  /**
359
- * 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`).
360
493
  */
361
494
  scalingProfile?: 'aggressive' | 'conservative';
362
495
  /**
@@ -364,6 +497,9 @@ export type FleetCreateInput = {
364
497
  */
365
498
  id: string;
366
499
  };
500
+ /**
501
+ * Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
502
+ */
367
503
  export type Fleet = {
368
504
  /**
369
505
  * Limits define a set of bounds for provisioning capacity.
@@ -396,17 +532,17 @@ export type Fleet = {
396
532
  controllerRoleArn?: string;
397
533
  };
398
534
  /**
399
- * 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.
400
536
  */
401
- constraints?: {
537
+ constraints: {
402
538
  /**
403
539
  * Allowed values for `karpenter.sh/capacity-type`.
404
540
  */
405
- 'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
541
+ 'karpenter.sh/capacity-type': Array<'on-demand' | 'spot'>;
406
542
  /**
407
543
  * Allowed values for `kubernetes.io/arch`.
408
544
  */
409
- 'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
545
+ 'kubernetes.io/arch': Array<'amd64' | 'arm64'>;
410
546
  /**
411
547
  * Allowed values for `cfke.io/instance-family`.
412
548
  */
@@ -417,14 +553,33 @@ export type Fleet = {
417
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'>;
418
554
  };
419
555
  /**
420
- * 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`).
421
557
  */
422
558
  scalingProfile: 'aggressive' | 'conservative';
423
559
  /**
424
560
  * Unique identifier of the kubernetes fleet.
425
561
  */
426
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;
427
579
  };
580
+ /**
581
+ * Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
582
+ */
428
583
  export type FleetUpdateInput = {
429
584
  /**
430
585
  * Limits define a set of bounds for provisioning capacity.
@@ -445,7 +600,7 @@ export type FleetUpdateInput = {
445
600
  hetzner?: {
446
601
  enabled: boolean;
447
602
  /**
448
- * 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.
449
604
  */
450
605
  apiKey?: string;
451
606
  };
@@ -457,7 +612,7 @@ export type FleetUpdateInput = {
457
612
  controllerRoleArn?: string;
458
613
  };
459
614
  /**
460
- * 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.
461
616
  */
462
617
  constraints?: {
463
618
  /**
@@ -478,9 +633,9 @@ export type FleetUpdateInput = {
478
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'>;
479
634
  };
480
635
  /**
481
- * 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`).
482
637
  */
483
- scalingProfile: 'aggressive' | 'conservative';
638
+ scalingProfile?: 'aggressive' | 'conservative';
484
639
  };
485
640
  export type InviteCreateInput = {
486
641
  /**
@@ -518,6 +673,87 @@ export type Invite = {
518
673
  */
519
674
  role?: 'Administrator' | 'User';
520
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
+ };
521
757
  export type Invoice = {
522
758
  /**
523
759
  * Unique identifier of the invoice.
@@ -705,6 +941,14 @@ export type Organization = {
705
941
  * Available number of Pro clusters that can be created.
706
942
  */
707
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;
708
952
  /**
709
953
  * Maximum number of fleets that can be created per cluster.
710
954
  */
@@ -803,6 +1047,14 @@ export type PlatformQuota = {
803
1047
  * Available number of Pro clusters that can be created.
804
1048
  */
805
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;
806
1058
  /**
807
1059
  * Maximum number of fleets that can be created per cluster.
808
1060
  */
@@ -1015,91 +1267,6 @@ export type TicketCreateInput = {
1015
1267
  [key: string]: unknown;
1016
1268
  };
1017
1269
  };
1018
- export type TicketListResponse = {
1019
- /**
1020
- * Tickets for the organization, ordered newest first. Messages are omitted from list responses.
1021
- */
1022
- items: Array<{
1023
- /**
1024
- * Unique identifier of the ticket (Mongo ObjectId).
1025
- */
1026
- id: string;
1027
- /**
1028
- * Current state of the ticket.
1029
- */
1030
- status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
1031
- /**
1032
- * Ticket category.
1033
- */
1034
- category: 'billing' | 'technical' | 'general';
1035
- /**
1036
- * First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
1037
- */
1038
- summary: string;
1039
- /**
1040
- * Closure timestamp. Null while the ticket is open.
1041
- */
1042
- closed_at?: string;
1043
- /**
1044
- * Creation date of the ticket. ISO 8601 UTC.
1045
- */
1046
- date_created: string;
1047
- /**
1048
- * Last update date of the ticket. ISO 8601 UTC.
1049
- */
1050
- date_updated: string;
1051
- /**
1052
- * Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
1053
- */
1054
- messages?: Array<{
1055
- /**
1056
- * Unique identifier of the message (Mongo ObjectId).
1057
- */
1058
- id: string;
1059
- /**
1060
- * Message type. Internal notes are filtered out of customer-facing responses.
1061
- */
1062
- type: 'customer_reply' | 'agent_reply';
1063
- /**
1064
- * Message body in markdown.
1065
- */
1066
- body: string;
1067
- /**
1068
- * First name of the author. Null when not provided.
1069
- */
1070
- author_first_name?: string;
1071
- /**
1072
- * Last name of the author. Null when not provided.
1073
- */
1074
- author_last_name?: string;
1075
- /**
1076
- * Attachments associated with this message.
1077
- */
1078
- attachments?: Array<{
1079
- /**
1080
- * Unique identifier of the attachment (Mongo ObjectId).
1081
- */
1082
- id: string;
1083
- /**
1084
- * Original filename as uploaded.
1085
- */
1086
- filename: string;
1087
- /**
1088
- * MIME content type of the attachment.
1089
- */
1090
- content_type: string;
1091
- /**
1092
- * Size of the attachment in bytes.
1093
- */
1094
- size: number;
1095
- }>;
1096
- /**
1097
- * Creation date of the message. ISO 8601 UTC.
1098
- */
1099
- date_created: string;
1100
- }>;
1101
- }>;
1102
- };
1103
1270
  export type TicketMessageInput = {
1104
1271
  /**
1105
1272
  * Reply body in markdown.
@@ -1283,7 +1450,7 @@ export type UsageFacets = {
1283
1450
  /**
1284
1451
  * List of unique products
1285
1452
  */
1286
- 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'>;
1287
1454
  };
1288
1455
  export type UsageResponse = {
1289
1456
  /**
@@ -1301,7 +1468,7 @@ export type UsageResponse = {
1301
1468
  /**
1302
1469
  * The product the usage is associated with
1303
1470
  */
1304
- 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';
1305
1472
  /**
1306
1473
  * Consumption
1307
1474
  */
@@ -1326,7 +1493,7 @@ export type UsageResponse = {
1326
1493
  /**
1327
1494
  * List of unique products
1328
1495
  */
1329
- 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'>;
1330
1497
  };
1331
1498
  };
1332
1499
  export type Usage = {
@@ -1341,7 +1508,7 @@ export type Usage = {
1341
1508
  /**
1342
1509
  * The product the usage is associated with
1343
1510
  */
1344
- 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';
1345
1512
  /**
1346
1513
  * Consumption
1347
1514
  */
@@ -1429,593 +1596,621 @@ export type UserUpdateInput = {
1429
1596
  */
1430
1597
  status?: 'active' | 'inactive';
1431
1598
  };
1432
- export type GetUsageData = {
1599
+ export type ListUserOrganizationsData = {
1433
1600
  body?: never;
1434
- path?: never;
1435
- query?: {
1601
+ path: {
1436
1602
  /**
1437
- * 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.
1438
1604
  */
1439
- granularity?: 'hourly' | 'daily' | 'monthly';
1605
+ email: string;
1440
1606
  };
1441
- url: '/billing/usage';
1442
- };
1443
- export type GetUsageErrors = {
1444
- /**
1445
- * Not authenticated
1446
- */
1447
- 401: unknown;
1448
- };
1449
- export type GetUsageResponses = {
1450
- /**
1451
- * Usage data with facets for filtering
1452
- */
1453
- 200: UsageResponse;
1454
- };
1455
- export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
1456
- export type GetPaymentMethodSecretData = {
1457
- body?: never;
1458
- path?: never;
1459
1607
  query?: never;
1460
- url: '/billing/payment-method';
1608
+ url: '/users/organizations/{email}';
1461
1609
  };
1462
- export type GetPaymentMethodSecretResponses = {
1610
+ export type ListUserOrganizationsResponses = {
1463
1611
  /**
1464
- * 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.
1465
- *
1612
+ * An array of organizations the user belongs to.
1466
1613
  */
1467
- 200: {
1614
+ 200: Array<{
1468
1615
  /**
1469
- * The client secret.
1616
+ * Unique identifier of the organization. UUID v4 string in canonical form
1470
1617
  */
1471
- id?: string;
1472
- };
1618
+ realm?: string;
1619
+ /**
1620
+ * Human-readable name of the organization
1621
+ */
1622
+ displayName?: string;
1623
+ }>;
1473
1624
  };
1474
- export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
1475
- export type ListPaymentMethodsData = {
1625
+ export type ListUserOrganizationsResponse = ListUserOrganizationsResponses[keyof ListUserOrganizationsResponses];
1626
+ export type ListUsersData = {
1476
1627
  body?: never;
1477
1628
  path?: never;
1478
1629
  query?: never;
1479
- url: '/billing/payment-methods';
1630
+ url: '/users';
1480
1631
  };
1481
- export type ListPaymentMethodsErrors = {
1632
+ export type ListUsersErrors = {
1482
1633
  /**
1483
1634
  * Not authenticated
1484
1635
  */
1485
1636
  401: unknown;
1486
1637
  };
1487
- export type ListPaymentMethodsResponses = {
1638
+ export type ListUsersResponses = {
1488
1639
  /**
1489
- * An array of payment methods.
1640
+ * An array of users
1490
1641
  */
1491
- 200: Array<PaymentMethod>;
1642
+ 200: Array<User>;
1492
1643
  };
1493
- export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
1494
- export type SetDefaultPaymentMethodData = {
1495
- body?: never;
1496
- path: {
1497
- /**
1498
- * Stripe payment method identifier.
1499
- */
1500
- paymentMethodId: string;
1501
- };
1644
+ export type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
1645
+ export type CreateUserData = {
1646
+ body: UserCreateInput;
1647
+ path?: never;
1502
1648
  query?: never;
1503
- url: '/billing/payment-methods/{paymentMethodId}/default';
1649
+ url: '/users';
1504
1650
  };
1505
- export type SetDefaultPaymentMethodErrors = {
1651
+ export type CreateUserResponses = {
1506
1652
  /**
1507
- * 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.
1508
1672
  */
1509
1673
  400: unknown;
1510
1674
  /**
1511
1675
  * Not authenticated
1512
1676
  */
1513
1677
  401: unknown;
1514
- /**
1515
- * Payment method not found.
1516
- */
1517
- 404: unknown;
1518
1678
  };
1519
- export type SetDefaultPaymentMethodResponses = {
1679
+ export type DeleteUserResponses = {
1520
1680
  /**
1521
- * Default payment method updated.
1681
+ * User profile information
1522
1682
  */
1523
- 204: void;
1683
+ 200: User;
1524
1684
  };
1525
- export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
1526
- export type DeletePaymentMethodData = {
1685
+ export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
1686
+ export type GetUserData = {
1527
1687
  body?: never;
1528
1688
  path: {
1529
1689
  /**
1530
- * Stripe payment method identifier.
1690
+ * Unique user identifier. UUID v4 string in canonical form
1531
1691
  */
1532
- paymentMethodId: string;
1692
+ user_id: string;
1533
1693
  };
1534
1694
  query?: never;
1535
- url: '/billing/payment-methods/{paymentMethodId}';
1695
+ url: '/users/{user_id}';
1536
1696
  };
1537
- export type DeletePaymentMethodErrors = {
1538
- /**
1539
- * The bank transfer payment method cannot be removed.
1540
- */
1541
- 400: unknown;
1697
+ export type GetUserErrors = {
1542
1698
  /**
1543
1699
  * Not authenticated
1544
1700
  */
1545
1701
  401: unknown;
1702
+ };
1703
+ export type GetUserResponses = {
1546
1704
  /**
1547
- * Payment method not found.
1548
- */
1549
- 404: unknown;
1550
- /**
1551
- * Cannot delete the only remaining payment method.
1705
+ * User profile information
1552
1706
  */
1553
- 409: unknown;
1707
+ 200: User;
1554
1708
  };
1555
- 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 = {
1556
1722
  /**
1557
- * Payment method deleted.
1723
+ * Successfully created. Returns created user details.
1558
1724
  */
1559
- 204: void;
1725
+ 200: User;
1560
1726
  };
1561
- export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
1562
- export type ListInvoicesData = {
1727
+ export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
1728
+ export type ListTokensData = {
1563
1729
  body?: never;
1564
1730
  path?: never;
1565
1731
  query?: never;
1566
- url: '/billing/invoices';
1732
+ url: '/tokens';
1567
1733
  };
1568
- export type ListInvoicesErrors = {
1734
+ export type ListTokensErrors = {
1569
1735
  /**
1570
1736
  * Not authenticated
1571
1737
  */
1572
1738
  401: unknown;
1573
1739
  };
1574
- export type ListInvoicesResponses = {
1740
+ export type ListTokensResponses = {
1575
1741
  /**
1576
- * An array of usage records.
1742
+ * Returns a list of access token details with masked secrets.
1577
1743
  */
1578
- 200: Array<Invoice>;
1744
+ 200: Array<Token>;
1579
1745
  };
1580
- export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
1581
- export type GetContactData = {
1582
- body?: never;
1746
+ export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
1747
+ export type CreateTokenData = {
1748
+ body: TokenCreateInput;
1583
1749
  path?: never;
1584
1750
  query?: never;
1585
- url: '/billing/contact';
1751
+ url: '/tokens';
1586
1752
  };
1587
- export type GetContactResponses = {
1753
+ export type CreateTokenErrors = {
1588
1754
  /**
1589
- * Returns a single object containing organization contact and billing address details.
1755
+ * Not authenticated
1590
1756
  */
1591
- 200: BillingContact;
1757
+ 401: unknown;
1592
1758
  };
1593
- export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
1594
- export type UpdateContactData = {
1595
- body: BillingContact;
1596
- 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
+ };
1597
1774
  query?: never;
1598
- url: '/billing/contact';
1775
+ url: '/tokens/{token_id}';
1599
1776
  };
1600
- export type UpdateContactResponses = {
1777
+ export type DeleteTokenResponses = {
1601
1778
  /**
1602
- * Successfully updated. Returns updated organization details.
1779
+ * Successfully deleted.
1603
1780
  */
1604
- 200: BillingContact;
1781
+ 200: unknown;
1605
1782
  };
1606
- export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
1607
- export type GetCreditsData = {
1783
+ export type GetTokenData = {
1608
1784
  body?: never;
1609
- path?: never;
1785
+ path: {
1786
+ /**
1787
+ * Generated unique identifier of the access token.
1788
+ */
1789
+ token_id: string;
1790
+ };
1610
1791
  query?: never;
1611
- url: '/billing/credits';
1792
+ url: '/tokens/{token_id}';
1612
1793
  };
1613
- export type GetCreditsErrors = {
1794
+ export type GetTokenErrors = {
1614
1795
  /**
1615
1796
  * Not authenticated
1616
1797
  */
1617
1798
  401: unknown;
1618
1799
  };
1619
- export type GetCreditsResponses = {
1800
+ export type GetTokenResponses = {
1620
1801
  /**
1621
- * An array of the applied promotional credits records.
1802
+ * Returns access token details with masked secret.
1622
1803
  */
1623
- 200: Array<BillingCredits>;
1804
+ 200: Token;
1624
1805
  };
1625
- export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
1626
- export type RedeemCreditsData = {
1627
- body: {
1806
+ export type GetTokenResponse = GetTokenResponses[keyof GetTokenResponses];
1807
+ export type UpdateTokenData = {
1808
+ body: TokenUpdateInput;
1809
+ path: {
1628
1810
  /**
1629
- * Promotional code to redeem
1811
+ * Generated unique identifier of the access token.
1630
1812
  */
1631
- code?: string;
1813
+ token_id: string;
1632
1814
  };
1633
- path?: never;
1634
1815
  query?: never;
1635
- url: '/billing/credits';
1816
+ url: '/tokens/{token_id}';
1636
1817
  };
1637
- export type RedeemCreditsErrors = {
1818
+ export type UpdateTokenErrors = {
1638
1819
  /**
1639
1820
  * Not authenticated
1640
1821
  */
1641
1822
  401: unknown;
1642
1823
  };
1643
- export type RedeemCreditsResponses = {
1824
+ export type UpdateTokenResponses = {
1644
1825
  /**
1645
- * Successfully created a new organization.
1826
+ * Successfully updated. Returns updated token details with masked secret.
1646
1827
  */
1647
- 200: unknown;
1828
+ 200: Token;
1648
1829
  };
1649
- export type ListChartsData = {
1830
+ export type UpdateTokenResponse = UpdateTokenResponses[keyof UpdateTokenResponses];
1831
+ export type RegenerateTokenData = {
1650
1832
  body?: never;
1651
1833
  path: {
1652
1834
  /**
1653
- * Unique identifier of the cluster. UUID v4 string in canonical form
1835
+ * Generated unique identifier of the access token.
1654
1836
  */
1655
- cluster_id: string;
1837
+ token_id: string;
1656
1838
  };
1657
1839
  query?: never;
1658
- url: '/clusters/{cluster_id}/charts';
1840
+ url: '/tokens/{token_id}/secret';
1659
1841
  };
1660
- export type ListChartsErrors = {
1842
+ export type RegenerateTokenErrors = {
1661
1843
  /**
1662
1844
  * Not authenticated
1663
1845
  */
1664
1846
  401: unknown;
1665
1847
  };
1666
- export type ListChartsResponses = {
1848
+ export type RegenerateTokenResponses = {
1667
1849
  /**
1668
- * An array of charts
1850
+ * Successfully updated. Returns updated token details with unmasked / raw secret.
1669
1851
  */
1670
- 200: Array<Chart>;
1852
+ 200: Token;
1671
1853
  };
1672
- export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
1673
- export type CreateChartData = {
1674
- body: ChartCreateInput;
1675
- path: {
1676
- /**
1677
- * Unique identifier of the cluster. UUID v4 string in canonical form
1678
- */
1679
- cluster_id: string;
1680
- };
1854
+ export type RegenerateTokenResponse = RegenerateTokenResponses[keyof RegenerateTokenResponses];
1855
+ export type ListTicketsData = {
1856
+ body?: never;
1857
+ path?: never;
1681
1858
  query?: never;
1682
- url: '/clusters/{cluster_id}/charts';
1859
+ url: '/tickets';
1683
1860
  };
1684
- export type CreateChartResponses = {
1861
+ export type ListTicketsResponses = {
1685
1862
  /**
1686
- * Successfully created. Returns created Chart ID.
1863
+ * An array of tickets for the organization, newest first.
1687
1864
  */
1688
- 200: string;
1865
+ 200: Array<Ticket>;
1689
1866
  };
1690
- export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
1691
- export type DeleteChartData = {
1692
- body?: never;
1693
- path: {
1694
- /**
1695
- * Unique identifier of the cluster. UUID v4 string in canonical form
1696
- */
1697
- cluster_id: string;
1867
+ export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
1868
+ export type CreateTicketData = {
1869
+ body: {
1698
1870
  /**
1699
- * Chart deployment name as the unique identifier of the chart.
1871
+ * JSON-encoded TicketCreateInput.
1700
1872
  */
1701
- chart_name: string;
1873
+ payload?: string;
1874
+ attachments?: Array<Blob | File>;
1702
1875
  };
1876
+ path?: never;
1703
1877
  query?: never;
1704
- url: '/clusters/{cluster_id}/charts/{chart_name}';
1878
+ url: '/tickets';
1705
1879
  };
1706
- export type DeleteChartResponses = {
1880
+ export type CreateTicketResponses = {
1707
1881
  /**
1708
- * Successfully deleted.
1882
+ * Ticket created.
1709
1883
  */
1710
- 200: string;
1884
+ 200: Ticket;
1711
1885
  };
1712
- export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
1713
- export type GetChartData = {
1886
+ export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
1887
+ export type CloseTicketData = {
1714
1888
  body?: never;
1715
1889
  path: {
1716
- /**
1717
- * Unique identifier of the cluster. UUID v4 string in canonical form
1718
- */
1719
- cluster_id: string;
1720
- /**
1721
- * Chart deployment name as the unique identifier of the chart.
1722
- */
1723
- chart_name: string;
1890
+ ticket_id: string;
1724
1891
  };
1725
1892
  query?: never;
1726
- url: '/clusters/{cluster_id}/charts/{chart_name}';
1893
+ url: '/tickets/{ticket_id}';
1727
1894
  };
1728
- export type GetChartResponses = {
1895
+ export type CloseTicketResponses = {
1729
1896
  /**
1730
- * Returns a single object containing chart details.
1897
+ * Ticket closed.
1731
1898
  */
1732
- 200: Chart;
1899
+ 200: Ticket;
1733
1900
  };
1734
- export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
1735
- export type UpdateChartData = {
1736
- body: ChartUpdateInput;
1901
+ export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
1902
+ export type GetTicketData = {
1903
+ body?: never;
1737
1904
  path: {
1738
- /**
1739
- * Unique identifier of the cluster. UUID v4 string in canonical form
1740
- */
1741
- cluster_id: string;
1742
- /**
1743
- * Chart deployment name as the unique identifier of the chart.
1744
- */
1745
- chart_name: string;
1905
+ ticket_id: string;
1746
1906
  };
1747
1907
  query?: never;
1748
- url: '/clusters/{cluster_id}/charts/{chart_name}';
1908
+ url: '/tickets/{ticket_id}';
1749
1909
  };
1750
- export type UpdateChartResponses = {
1910
+ export type GetTicketResponses = {
1751
1911
  /**
1752
- * Successfully updated.
1912
+ * Ticket with messages (internal notes excluded).
1753
1913
  */
1754
- 200: string;
1914
+ 200: Ticket;
1755
1915
  };
1756
- export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
1757
- export type ListFleetsData = {
1758
- body?: never;
1759
- path: {
1916
+ export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
1917
+ export type ReplyTicketData = {
1918
+ body: {
1760
1919
  /**
1761
- * Unique identifier of the cluster. UUID v4 string in canonical form
1920
+ * JSON-encoded TicketMessageInput.
1762
1921
  */
1763
- cluster_id: string;
1922
+ payload?: string;
1923
+ attachments?: Array<Blob | File>;
1924
+ };
1925
+ path: {
1926
+ ticket_id: string;
1764
1927
  };
1765
1928
  query?: never;
1766
- url: '/clusters/{cluster_id}/fleets';
1929
+ url: '/tickets/{ticket_id}/messages';
1767
1930
  };
1768
- export type ListFleetsErrors = {
1931
+ export type ReplyTicketErrors = {
1769
1932
  /**
1770
- * Not authenticated
1933
+ * Ticket is closed. Open a new ticket instead.
1771
1934
  */
1772
- 401: unknown;
1935
+ 409: unknown;
1773
1936
  };
1774
- export type ListFleetsResponses = {
1937
+ export type ReplyTicketResponses = {
1775
1938
  /**
1776
- * An array of fleets
1939
+ * Reply appended.
1777
1940
  */
1778
- 200: Array<Fleet>;
1941
+ 200: TicketMessage;
1779
1942
  };
1780
- export type ListFleetsResponse = ListFleetsResponses[keyof ListFleetsResponses];
1781
- export type CreateFleetData = {
1782
- body: FleetCreateInput;
1943
+ export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
1944
+ export type GetTicketAttachmentData = {
1945
+ body?: never;
1783
1946
  path: {
1784
- /**
1785
- * Unique identifier of the cluster. UUID v4 string in canonical form
1786
- */
1787
- cluster_id: string;
1947
+ ticket_id: string;
1948
+ attachment_id: string;
1788
1949
  };
1789
1950
  query?: never;
1790
- url: '/clusters/{cluster_id}/fleets';
1791
- };
1792
- export type CreateFleetErrors = {
1793
- /**
1794
- * Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
1795
- */
1796
- 402: string;
1951
+ url: '/tickets/{ticket_id}/attachments/{attachment_id}';
1797
1952
  };
1798
- export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
1799
- export type CreateFleetResponses = {
1953
+ export type GetTicketAttachmentResponses = {
1800
1954
  /**
1801
- * Successfully created. Returns created Fleet ID.
1955
+ * Attachment binary stream.
1802
1956
  */
1803
- 200: string;
1957
+ 200: Blob | File;
1804
1958
  };
1805
- export type CreateFleetResponse = CreateFleetResponses[keyof CreateFleetResponses];
1806
- export type DeleteFleetData = {
1959
+ export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
1960
+ export type ListRepositoriesData = {
1807
1961
  body?: never;
1808
- path: {
1809
- /**
1810
- * Unique identifier of the cluster. UUID v4 string in canonical form
1811
- */
1812
- cluster_id: string;
1813
- /**
1814
- * Unique identifier of the fleet. UUID v4 string in canonical form
1815
- */
1816
- fleet_name: string;
1817
- };
1962
+ path?: never;
1818
1963
  query?: never;
1819
- url: '/clusters/{cluster_id}/fleets/{fleet_name}';
1964
+ url: '/registry';
1820
1965
  };
1821
- export type DeleteFleetResponses = {
1966
+ export type ListRepositoriesErrors = {
1822
1967
  /**
1823
- * Successfully deleted.
1968
+ * Not authenticated
1824
1969
  */
1825
- 200: string;
1970
+ 401: unknown;
1971
+ /**
1972
+ * Internal server error
1973
+ */
1974
+ 500: unknown;
1826
1975
  };
1827
- export type DeleteFleetResponse = DeleteFleetResponses[keyof DeleteFleetResponses];
1828
- 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 = {
1829
1984
  body?: never;
1830
1985
  path: {
1831
1986
  /**
1832
- * Unique identifier of the cluster. UUID v4 string in canonical form
1987
+ * Region where the repository is located
1833
1988
  */
1834
- cluster_id: string;
1989
+ region: string;
1835
1990
  /**
1836
- * Unique identifier of the fleet. UUID v4 string in canonical form
1991
+ * Name of the repository
1837
1992
  */
1838
- fleet_name: string;
1993
+ repository: string;
1839
1994
  };
1840
1995
  query?: never;
1841
- url: '/clusters/{cluster_id}/fleets/{fleet_name}';
1996
+ url: '/registry/{region}/{repository}';
1842
1997
  };
1843
- export type GetFleetResponses = {
1998
+ export type ListTagsErrors = {
1844
1999
  /**
1845
- * Returns a single object containing fleet details.
2000
+ * Not authenticated
1846
2001
  */
1847
- 200: Fleet;
2002
+ 401: unknown;
2003
+ /**
2004
+ * Repository not found
2005
+ */
2006
+ 404: unknown;
2007
+ /**
2008
+ * Internal server error
2009
+ */
2010
+ 500: unknown;
1848
2011
  };
1849
- export type GetFleetResponse = GetFleetResponses[keyof GetFleetResponses];
1850
- export type UpdateFleetData = {
1851
- 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;
1852
2021
  path: {
1853
2022
  /**
1854
- * Unique identifier of the cluster. UUID v4 string in canonical form
2023
+ * Region where the repository is located
1855
2024
  */
1856
- cluster_id: string;
2025
+ region: string;
1857
2026
  /**
1858
- * Unique identifier of the fleet. UUID v4 string in canonical form
2027
+ * Name of the repository
1859
2028
  */
1860
- fleet_name: string;
2029
+ repository: string;
2030
+ /**
2031
+ * Name of the tag
2032
+ */
2033
+ tag: string;
1861
2034
  };
1862
2035
  query?: never;
1863
- url: '/clusters/{cluster_id}/fleets/{fleet_name}';
2036
+ url: '/registry/{region}/{repository}/{tag}';
1864
2037
  };
1865
- export type UpdateFleetErrors = {
2038
+ export type DeleteTagErrors = {
1866
2039
  /**
1867
- * Organization must have a valid payment method configured to access this endpoint.
2040
+ * Not authenticated
1868
2041
  */
1869
- 402: string;
2042
+ 401: unknown;
2043
+ /**
2044
+ * Tag not found
2045
+ */
2046
+ 404: unknown;
2047
+ /**
2048
+ * Internal server error
2049
+ */
2050
+ 500: unknown;
1870
2051
  };
1871
- export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
1872
- export type UpdateFleetResponses = {
2052
+ export type DeleteTagResponses = {
1873
2053
  /**
1874
- * Successfully updated.
2054
+ * Tag successfully deleted
1875
2055
  */
1876
- 200: string;
2056
+ 200: unknown;
1877
2057
  };
1878
- export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
1879
- export type QueryClusterData = {
2058
+ export type GetTagData = {
1880
2059
  body?: never;
1881
2060
  path: {
1882
2061
  /**
1883
- * Unique identifier of the cluster. UUID v4 string in canonical form
2062
+ * Region where the repository is located
1884
2063
  */
1885
- 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;
1886
2073
  };
1887
2074
  query?: never;
1888
- url: '/clusters/{cluster_id}/query';
2075
+ url: '/registry/{region}/{repository}/{tag}';
1889
2076
  };
1890
- export type QueryClusterErrors = {
2077
+ export type GetTagErrors = {
1891
2078
  /**
1892
2079
  * Not authenticated
1893
2080
  */
1894
2081
  401: unknown;
2082
+ /**
2083
+ * Tag not found
2084
+ */
2085
+ 404: unknown;
2086
+ /**
2087
+ * Internal server error
2088
+ */
2089
+ 500: unknown;
1895
2090
  };
1896
- export type QueryClusterResponses = {
2091
+ export type GetTagResponses = {
1897
2092
  /**
1898
- * Kubernetes API response
2093
+ * Tag details
1899
2094
  */
1900
- 200: unknown;
2095
+ 200: RegistryTag;
1901
2096
  };
1902
- export type ListClustersData = {
2097
+ export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
2098
+ export type GetOrganizationData = {
1903
2099
  body?: never;
1904
2100
  path?: never;
1905
2101
  query?: never;
1906
- url: '/clusters';
1907
- };
1908
- export type ListClustersErrors = {
1909
- /**
1910
- * Not authenticated
1911
- */
1912
- 401: unknown;
2102
+ url: '/organization';
1913
2103
  };
1914
- export type ListClustersResponses = {
2104
+ export type GetOrganizationResponses = {
1915
2105
  /**
1916
- * An array of clusters
2106
+ * Returns a single object containing organization details.
1917
2107
  */
1918
- 200: Array<Cluster>;
2108
+ 200: Organization;
1919
2109
  };
1920
- export type ListClustersResponse = ListClustersResponses[keyof ListClustersResponses];
1921
- export type CreateClusterData = {
1922
- body: ClusterCreateInput;
2110
+ export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
2111
+ export type CreateOrganizationData = {
2112
+ body: OrganizationCreateInput;
1923
2113
  path?: never;
1924
2114
  query?: never;
1925
- url: '/clusters';
2115
+ url: '/organization';
1926
2116
  };
1927
- export type CreateClusterErrors = {
2117
+ export type CreateOrganizationResponses = {
1928
2118
  /**
1929
- * 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
+ *
1930
2121
  */
1931
- 402: string;
2122
+ 200: OrganizationCreateOutput;
1932
2123
  };
1933
- export type CreateClusterError = CreateClusterErrors[keyof CreateClusterErrors];
1934
- export type CreateClusterResponses = {
2124
+ export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
2125
+ export type PostMcpData = {
1935
2126
  /**
1936
- * Successfully created. Returns created Cluster ID.
2127
+ * JSON-RPC 2.0 request payload
1937
2128
  */
1938
- 200: string;
1939
- };
1940
- export type CreateClusterResponse = CreateClusterResponses[keyof CreateClusterResponses];
1941
- export type DeleteClusterData = {
1942
- body?: never;
1943
- path: {
2129
+ body: {
2130
+ jsonrpc?: string;
2131
+ method?: string;
2132
+ id?: string | number;
1944
2133
  /**
1945
- * Unique identifier of the cluster. UUID v4 string in canonical form
2134
+ * Method-specific parameters
1946
2135
  */
1947
- cluster_id: string;
2136
+ params?: {
2137
+ [key: string]: unknown;
2138
+ };
1948
2139
  };
2140
+ path?: never;
1949
2141
  query?: never;
1950
- url: '/clusters/{cluster_id}';
2142
+ url: '/mcp';
1951
2143
  };
1952
- export type DeleteClusterResponses = {
2144
+ export type PostMcpErrors = {
1953
2145
  /**
1954
- * Successfully deleted.
2146
+ * Not authenticated
1955
2147
  */
1956
- 200: string;
1957
- };
1958
- export type DeleteClusterResponse = DeleteClusterResponses[keyof DeleteClusterResponses];
1959
- export type GetClusterData = {
1960
- body?: never;
1961
- path: {
1962
- /**
1963
- * Unique identifier of the cluster. UUID v4 string in canonical form
1964
- */
1965
- cluster_id: string;
1966
- };
1967
- query?: never;
1968
- url: '/clusters/{cluster_id}';
2148
+ 401: unknown;
1969
2149
  };
1970
- export type GetClusterResponses = {
2150
+ export type PostMcpResponses = {
1971
2151
  /**
1972
- * Returns a single object containing cluster details.
2152
+ * JSON-RPC 2.0 success or error response
1973
2153
  */
1974
- 200: Cluster;
1975
- };
1976
- export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
1977
- export type UpdateClusterData = {
1978
- body: ClusterUpdateInput;
1979
- path: {
1980
- /**
1981
- * Unique identifier of the cluster. UUID v4 string in canonical form
1982
- */
1983
- 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
+ };
1984
2164
  };
2165
+ };
2166
+ export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
2167
+ export type ListMarketplaceChartsData = {
2168
+ body?: never;
2169
+ path?: never;
1985
2170
  query?: never;
1986
- url: '/clusters/{cluster_id}';
2171
+ url: '/marketplace';
1987
2172
  };
1988
- export type UpdateClusterResponses = {
2173
+ export type ListMarketplaceChartsErrors = {
1989
2174
  /**
1990
- * Successfully updated. Returns updated cluster details.
2175
+ * Not authenticated
1991
2176
  */
1992
- 200: Cluster;
2177
+ 401: unknown;
1993
2178
  };
1994
- export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
1995
- 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 = {
1996
2187
  body?: never;
1997
2188
  path: {
1998
2189
  /**
1999
- * Unique identifier of the cluster. UUID v4 string in canonical form
2190
+ * Name of the chart in the marketplace.
2000
2191
  */
2001
- 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;
2002
2197
  };
2003
2198
  query?: never;
2004
- url: '/clusters/{cluster_id}/join_information';
2199
+ url: '/marketplace/{chart_name}/files/{version_channel}';
2005
2200
  };
2006
- export type GetJoinInformationErrors = {
2201
+ export type GetMarketplaceChartFilesErrors = {
2007
2202
  /**
2008
- * Not authenticated
2203
+ * Chart not found or no version matches the channel
2009
2204
  */
2010
- 401: unknown;
2205
+ 404: unknown;
2011
2206
  };
2012
- export type GetJoinInformationResponses = {
2207
+ export type GetMarketplaceChartFilesResponses = {
2013
2208
  /**
2014
- * An object of cluster join information
2209
+ * Returns an object containing the chart files for the latest matching version.
2015
2210
  */
2016
- 200: ClusterJoinInformation;
2211
+ 200: MarketplaceListingFiles;
2017
2212
  };
2018
- export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
2213
+ export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
2019
2214
  export type ListInvitesData = {
2020
2215
  body?: never;
2021
2216
  path?: never;
@@ -2092,619 +2287,685 @@ export type DeleteInviteResponses = {
2092
2287
  */
2093
2288
  200: unknown;
2094
2289
  };
2095
- export type ListMarketplaceChartsData = {
2290
+ export type QueryClusterData = {
2096
2291
  body?: never;
2097
- path?: never;
2292
+ path: {
2293
+ /**
2294
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2295
+ */
2296
+ cluster_id: string;
2297
+ };
2098
2298
  query?: never;
2099
- url: '/marketplace';
2299
+ url: '/clusters/{cluster_id}/query';
2100
2300
  };
2101
- export type ListMarketplaceChartsErrors = {
2301
+ export type QueryClusterErrors = {
2102
2302
  /**
2103
2303
  * Not authenticated
2104
2304
  */
2105
2305
  401: unknown;
2106
2306
  };
2107
- export type ListMarketplaceChartsResponses = {
2307
+ export type QueryClusterResponses = {
2108
2308
  /**
2109
- * An array of chart listings in the marketplace.
2309
+ * Kubernetes API response
2110
2310
  */
2111
- 200: Array<MarketplaceListing>;
2311
+ 200: unknown;
2112
2312
  };
2113
- export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
2114
- export type GetMarketplaceChartFilesData = {
2313
+ export type ListFleetsData = {
2115
2314
  body?: never;
2116
2315
  path: {
2117
2316
  /**
2118
- * Name of the chart in the marketplace.
2317
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2119
2318
  */
2120
- 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: {
2121
2340
  /**
2122
- * 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
2123
2342
  */
2124
- version_channel: string;
2343
+ cluster_id: string;
2125
2344
  };
2126
2345
  query?: never;
2127
- url: '/marketplace/{chart_name}/files/{version_channel}';
2346
+ url: '/clusters/{cluster_id}/fleets';
2128
2347
  };
2129
- export type GetMarketplaceChartFilesErrors = {
2348
+ export type CreateFleetErrors = {
2130
2349
  /**
2131
- * 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.
2132
2351
  */
2133
- 404: unknown;
2134
- };
2135
- export type GetMarketplaceChartFilesResponses = {
2352
+ 402: string;
2136
2353
  /**
2137
- * 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.
2138
2355
  */
2139
- 200: MarketplaceListingFiles;
2356
+ 409: string;
2140
2357
  };
2141
- export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
2142
- export type PostMcpData = {
2358
+ export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
2359
+ export type CreateFleetResponses = {
2143
2360
  /**
2144
- * JSON-RPC 2.0 request payload
2361
+ * Successfully created. Returns created Fleet ID.
2145
2362
  */
2146
- body: {
2147
- jsonrpc?: string;
2148
- method?: string;
2149
- id?: string | number;
2363
+ 200: string;
2364
+ };
2365
+ export type CreateFleetResponse = CreateFleetResponses[keyof CreateFleetResponses];
2366
+ export type DeleteFleetData = {
2367
+ body?: never;
2368
+ path: {
2150
2369
  /**
2151
- * Method-specific parameters
2370
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2152
2371
  */
2153
- params?: {
2154
- [key: string]: unknown;
2155
- };
2372
+ cluster_id: string;
2373
+ /**
2374
+ * Unique identifier of the fleet. UUID v4 string in canonical form
2375
+ */
2376
+ fleet_name: string;
2156
2377
  };
2157
- path?: never;
2158
2378
  query?: never;
2159
- url: '/mcp';
2379
+ url: '/clusters/{cluster_id}/fleets/{fleet_name}';
2160
2380
  };
2161
- export type PostMcpErrors = {
2381
+ export type DeleteFleetErrors = {
2162
2382
  /**
2163
- * 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.
2164
2384
  */
2165
- 401: unknown;
2385
+ 409: string;
2166
2386
  };
2167
- export type PostMcpResponses = {
2387
+ export type DeleteFleetError = DeleteFleetErrors[keyof DeleteFleetErrors];
2388
+ export type DeleteFleetResponses = {
2168
2389
  /**
2169
- * JSON-RPC 2.0 success or error response
2390
+ * Successfully deleted.
2170
2391
  */
2171
- 200: {
2172
- jsonrpc?: string;
2173
- id?: string | number;
2174
- result?: {
2175
- [key: string]: unknown;
2176
- };
2177
- error?: {
2178
- code?: number;
2179
- message?: string;
2180
- };
2181
- };
2392
+ 200: string;
2182
2393
  };
2183
- export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
2184
- export type GetOrganizationData = {
2394
+ export type DeleteFleetResponse = DeleteFleetResponses[keyof DeleteFleetResponses];
2395
+ export type GetFleetData = {
2185
2396
  body?: never;
2186
- 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
+ };
2187
2407
  query?: never;
2188
- url: '/organization';
2408
+ url: '/clusters/{cluster_id}/fleets/{fleet_name}';
2189
2409
  };
2190
- export type GetOrganizationResponses = {
2410
+ export type GetFleetResponses = {
2191
2411
  /**
2192
- * Returns a single object containing organization details.
2412
+ * Returns a single object containing fleet details.
2193
2413
  */
2194
- 200: Organization;
2414
+ 200: Fleet;
2195
2415
  };
2196
- export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
2197
- export type CreateOrganizationData = {
2198
- body: OrganizationCreateInput;
2199
- 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
+ };
2200
2429
  query?: never;
2201
- url: '/organization';
2430
+ url: '/clusters/{cluster_id}/fleets/{fleet_name}';
2202
2431
  };
2203
- export type CreateOrganizationResponses = {
2432
+ export type UpdateFleetErrors = {
2204
2433
  /**
2205
- * Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
2206
- *
2434
+ * Organization must have a valid payment method configured to access this endpoint.
2207
2435
  */
2208
- 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;
2209
2441
  };
2210
- export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
2211
- 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 = {
2212
2451
  body?: never;
2213
- path?: never;
2452
+ path: {
2453
+ /**
2454
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2455
+ */
2456
+ cluster_id: string;
2457
+ };
2214
2458
  query?: never;
2215
- url: '/registry';
2459
+ url: '/clusters/{cluster_id}/charts';
2216
2460
  };
2217
- export type ListRepositoriesErrors = {
2461
+ export type ListChartsErrors = {
2218
2462
  /**
2219
2463
  * Not authenticated
2220
2464
  */
2221
2465
  401: unknown;
2466
+ };
2467
+ export type ListChartsResponses = {
2222
2468
  /**
2223
- * Internal server error
2469
+ * An array of charts
2224
2470
  */
2225
- 500: unknown;
2471
+ 200: Array<Chart>;
2226
2472
  };
2227
- 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 = {
2228
2486
  /**
2229
- * 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.
2230
2488
  */
2231
- 200: Array<RegistryRepository>;
2489
+ 409: string;
2232
2490
  };
2233
- export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
2234
- 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 = {
2235
2500
  body?: never;
2236
2501
  path: {
2237
2502
  /**
2238
- * Region where the repository is located
2503
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2239
2504
  */
2240
- region: string;
2505
+ cluster_id: string;
2241
2506
  /**
2242
- * Name of the repository
2507
+ * Chart deployment name as the unique identifier of the chart.
2243
2508
  */
2244
- repository: string;
2509
+ chart_name: string;
2245
2510
  };
2246
2511
  query?: never;
2247
- url: '/registry/{region}/{repository}';
2512
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
2248
2513
  };
2249
- export type ListTagsErrors = {
2250
- /**
2251
- * Not authenticated
2252
- */
2253
- 401: unknown;
2254
- /**
2255
- * Repository not found
2256
- */
2257
- 404: unknown;
2514
+ export type DeleteChartErrors = {
2258
2515
  /**
2259
- * 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.
2260
2517
  */
2261
- 500: unknown;
2518
+ 409: string;
2262
2519
  };
2263
- export type ListTagsResponses = {
2520
+ export type DeleteChartError = DeleteChartErrors[keyof DeleteChartErrors];
2521
+ export type DeleteChartResponses = {
2264
2522
  /**
2265
- * Repository with tags
2523
+ * Successfully deleted.
2266
2524
  */
2267
- 200: RegistryRepositoryWithTags;
2525
+ 200: string;
2268
2526
  };
2269
- export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
2270
- export type DeleteTagData = {
2527
+ export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
2528
+ export type GetChartData = {
2271
2529
  body?: never;
2272
2530
  path: {
2273
2531
  /**
2274
- * Region where the repository is located
2275
- */
2276
- region: string;
2277
- /**
2278
- * Name of the repository
2532
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2279
2533
  */
2280
- repository: string;
2534
+ cluster_id: string;
2281
2535
  /**
2282
- * Name of the tag
2536
+ * Chart deployment name as the unique identifier of the chart.
2283
2537
  */
2284
- tag: string;
2538
+ chart_name: string;
2285
2539
  };
2286
2540
  query?: never;
2287
- url: '/registry/{region}/{repository}/{tag}';
2288
- };
2289
- export type DeleteTagErrors = {
2290
- /**
2291
- * Not authenticated
2292
- */
2293
- 401: unknown;
2294
- /**
2295
- * Tag not found
2296
- */
2297
- 404: unknown;
2298
- /**
2299
- * Internal server error
2300
- */
2301
- 500: unknown;
2541
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
2302
2542
  };
2303
- export type DeleteTagResponses = {
2543
+ export type GetChartResponses = {
2304
2544
  /**
2305
- * Tag successfully deleted
2545
+ * Returns a single object containing chart details.
2306
2546
  */
2307
- 200: unknown;
2547
+ 200: Chart;
2308
2548
  };
2309
- export type GetTagData = {
2310
- body?: never;
2549
+ export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
2550
+ export type UpdateChartData = {
2551
+ body: ChartUpdateInput;
2311
2552
  path: {
2312
2553
  /**
2313
- * Region where the repository is located
2314
- */
2315
- region: string;
2316
- /**
2317
- * Name of the repository
2554
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2318
2555
  */
2319
- repository: string;
2556
+ cluster_id: string;
2320
2557
  /**
2321
- * Name of the tag
2558
+ * Chart deployment name as the unique identifier of the chart.
2322
2559
  */
2323
- tag: string;
2560
+ chart_name: string;
2324
2561
  };
2325
2562
  query?: never;
2326
- url: '/registry/{region}/{repository}/{tag}';
2563
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
2327
2564
  };
2328
- export type GetTagErrors = {
2329
- /**
2330
- * Not authenticated
2331
- */
2332
- 401: unknown;
2333
- /**
2334
- * Tag not found
2335
- */
2336
- 404: unknown;
2565
+ export type UpdateChartErrors = {
2337
2566
  /**
2338
- * 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.
2339
2568
  */
2340
- 500: unknown;
2569
+ 409: string;
2341
2570
  };
2342
- export type GetTagResponses = {
2571
+ export type UpdateChartError = UpdateChartErrors[keyof UpdateChartErrors];
2572
+ export type UpdateChartResponses = {
2343
2573
  /**
2344
- * Tag details
2574
+ * Successfully updated.
2345
2575
  */
2346
- 200: RegistryTag;
2576
+ 200: string;
2347
2577
  };
2348
- export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
2349
- export type ListTicketsData = {
2578
+ export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
2579
+ export type ListClustersData = {
2350
2580
  body?: never;
2351
2581
  path?: never;
2352
2582
  query?: never;
2353
- url: '/tickets';
2583
+ url: '/clusters';
2354
2584
  };
2355
- export type ListTicketsResponses = {
2585
+ export type ListClustersErrors = {
2356
2586
  /**
2357
- * Tickets for the organization.
2587
+ * Not authenticated
2358
2588
  */
2359
- 200: TicketListResponse;
2589
+ 401: unknown;
2360
2590
  };
2361
- export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
2362
- export type CreateTicketData = {
2363
- body: {
2364
- /**
2365
- * JSON-encoded TicketCreateInput.
2366
- */
2367
- payload?: string;
2368
- attachments?: Array<Blob | File>;
2369
- };
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;
2370
2600
  path?: never;
2371
2601
  query?: never;
2372
- url: '/tickets';
2602
+ url: '/clusters';
2373
2603
  };
2374
- export type CreateTicketResponses = {
2604
+ export type CreateClusterErrors = {
2375
2605
  /**
2376
- * Ticket created.
2606
+ * Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
2377
2607
  */
2378
- 200: Ticket;
2608
+ 402: string;
2379
2609
  };
2380
- export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
2381
- 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 = {
2382
2619
  body?: never;
2383
2620
  path: {
2384
- ticket_id: string;
2621
+ /**
2622
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2623
+ */
2624
+ cluster_id: string;
2385
2625
  };
2386
2626
  query?: never;
2387
- url: '/tickets/{ticket_id}';
2627
+ url: '/clusters/{cluster_id}';
2388
2628
  };
2389
- export type CloseTicketResponses = {
2629
+ export type DeleteClusterErrors = {
2390
2630
  /**
2391
- * Ticket closed.
2631
+ * Cluster not found; it does not exist or has already been deleted.
2392
2632
  */
2393
- 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;
2394
2642
  };
2395
- export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
2396
- 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 = {
2397
2652
  body?: never;
2398
2653
  path: {
2399
- ticket_id: string;
2654
+ /**
2655
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2656
+ */
2657
+ cluster_id: string;
2400
2658
  };
2401
2659
  query?: never;
2402
- url: '/tickets/{ticket_id}';
2660
+ url: '/clusters/{cluster_id}';
2403
2661
  };
2404
- export type GetTicketResponses = {
2662
+ export type GetClusterResponses = {
2405
2663
  /**
2406
- * Ticket with messages (internal notes excluded).
2664
+ * Returns a single object containing cluster details.
2407
2665
  */
2408
- 200: Ticket;
2666
+ 200: Cluster;
2409
2667
  };
2410
- export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
2411
- export type ReplyTicketData = {
2412
- body: {
2668
+ export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
2669
+ export type UpdateClusterData = {
2670
+ body: ClusterUpdateInput;
2671
+ path: {
2413
2672
  /**
2414
- * JSON-encoded TicketMessageInput.
2673
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2415
2674
  */
2416
- payload?: string;
2417
- attachments?: Array<Blob | File>;
2418
- };
2419
- path: {
2420
- ticket_id: string;
2675
+ cluster_id: string;
2421
2676
  };
2422
2677
  query?: never;
2423
- url: '/tickets/{ticket_id}/messages';
2678
+ url: '/clusters/{cluster_id}';
2424
2679
  };
2425
- export type ReplyTicketErrors = {
2680
+ export type UpdateClusterErrors = {
2426
2681
  /**
2427
- * 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.
2428
2683
  */
2429
- 409: unknown;
2684
+ 409: string;
2430
2685
  };
2431
- export type ReplyTicketResponses = {
2686
+ export type UpdateClusterError = UpdateClusterErrors[keyof UpdateClusterErrors];
2687
+ export type UpdateClusterResponses = {
2432
2688
  /**
2433
- * Reply appended.
2689
+ * Successfully updated. Returns updated cluster details.
2434
2690
  */
2435
- 200: TicketMessage;
2691
+ 200: Cluster;
2436
2692
  };
2437
- export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
2438
- export type GetTicketAttachmentData = {
2693
+ export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
2694
+ export type GetJoinInformationData = {
2439
2695
  body?: never;
2440
2696
  path: {
2441
- ticket_id: string;
2442
- attachment_id: string;
2697
+ /**
2698
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2699
+ */
2700
+ cluster_id: string;
2443
2701
  };
2444
2702
  query?: never;
2445
- url: '/tickets/{ticket_id}/attachments/{attachment_id}';
2446
- };
2447
- export type GetTicketAttachmentResponses = {
2448
- /**
2449
- * Attachment binary stream.
2450
- */
2451
- 200: Blob | File;
2452
- };
2453
- export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
2454
- export type ListTokensData = {
2455
- body?: never;
2456
- path?: never;
2457
- query?: never;
2458
- url: '/tokens';
2703
+ url: '/clusters/{cluster_id}/join_information';
2459
2704
  };
2460
- export type ListTokensErrors = {
2705
+ export type GetJoinInformationErrors = {
2461
2706
  /**
2462
2707
  * Not authenticated
2463
2708
  */
2464
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;
2465
2718
  };
2466
- export type ListTokensResponses = {
2719
+ export type GetJoinInformationError = GetJoinInformationErrors[keyof GetJoinInformationErrors];
2720
+ export type GetJoinInformationResponses = {
2467
2721
  /**
2468
- * Returns a list of access token details with masked secrets.
2722
+ * An object of cluster join information
2469
2723
  */
2470
- 200: Array<Token>;
2724
+ 200: ClusterJoinInformation;
2471
2725
  };
2472
- export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
2473
- export type CreateTokenData = {
2474
- body: TokenCreateInput;
2726
+ export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
2727
+ export type GetUsageData = {
2728
+ body?: never;
2475
2729
  path?: never;
2476
- query?: never;
2477
- 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';
2478
2737
  };
2479
- export type CreateTokenErrors = {
2738
+ export type GetUsageErrors = {
2480
2739
  /**
2481
2740
  * Not authenticated
2482
2741
  */
2483
2742
  401: unknown;
2484
2743
  };
2485
- export type CreateTokenResponses = {
2744
+ export type GetUsageResponses = {
2486
2745
  /**
2487
- * Successfully created. Returns created token details with unmasked/raw secret.
2746
+ * Usage data with facets for filtering
2488
2747
  */
2489
- 200: Token;
2748
+ 200: UsageResponse;
2490
2749
  };
2491
- export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
2492
- export type DeleteTokenData = {
2750
+ export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
2751
+ export type GetPaymentMethodSecretData = {
2493
2752
  body?: never;
2494
- path: {
2495
- /**
2496
- * Generated unique identifier of the access token.
2497
- */
2498
- token_id: string;
2499
- };
2753
+ path?: never;
2500
2754
  query?: never;
2501
- url: '/tokens/{token_id}';
2755
+ url: '/billing/payment-method';
2502
2756
  };
2503
- export type DeleteTokenResponses = {
2757
+ export type GetPaymentMethodSecretResponses = {
2504
2758
  /**
2505
- * 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
+ *
2506
2761
  */
2507
- 200: unknown;
2508
- };
2509
- export type GetTokenData = {
2510
- body?: never;
2511
- path: {
2762
+ 200: {
2512
2763
  /**
2513
- * Generated unique identifier of the access token.
2764
+ * The client secret.
2514
2765
  */
2515
- token_id: string;
2766
+ id?: string;
2516
2767
  };
2768
+ };
2769
+ export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
2770
+ export type ListPaymentMethodsData = {
2771
+ body?: never;
2772
+ path?: never;
2517
2773
  query?: never;
2518
- url: '/tokens/{token_id}';
2774
+ url: '/billing/payment-methods';
2519
2775
  };
2520
- export type GetTokenErrors = {
2776
+ export type ListPaymentMethodsErrors = {
2521
2777
  /**
2522
2778
  * Not authenticated
2523
2779
  */
2524
2780
  401: unknown;
2525
2781
  };
2526
- export type GetTokenResponses = {
2782
+ export type ListPaymentMethodsResponses = {
2527
2783
  /**
2528
- * Returns access token details with masked secret.
2784
+ * An array of payment methods.
2529
2785
  */
2530
- 200: Token;
2786
+ 200: Array<PaymentMethod>;
2531
2787
  };
2532
- export type GetTokenResponse = GetTokenResponses[keyof GetTokenResponses];
2533
- export type UpdateTokenData = {
2534
- body: TokenUpdateInput;
2788
+ export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
2789
+ export type SetDefaultPaymentMethodData = {
2790
+ body?: never;
2535
2791
  path: {
2536
2792
  /**
2537
- * Generated unique identifier of the access token.
2793
+ * Stripe payment method identifier.
2538
2794
  */
2539
- token_id: string;
2795
+ paymentMethodId: string;
2540
2796
  };
2541
2797
  query?: never;
2542
- url: '/tokens/{token_id}';
2798
+ url: '/billing/payment-methods/{paymentMethodId}/default';
2543
2799
  };
2544
- export type UpdateTokenErrors = {
2800
+ export type SetDefaultPaymentMethodErrors = {
2801
+ /**
2802
+ * The bank transfer payment method cannot be set as the default.
2803
+ */
2804
+ 400: unknown;
2545
2805
  /**
2546
2806
  * Not authenticated
2547
2807
  */
2548
2808
  401: unknown;
2809
+ /**
2810
+ * Payment method not found.
2811
+ */
2812
+ 404: unknown;
2549
2813
  };
2550
- export type UpdateTokenResponses = {
2814
+ export type SetDefaultPaymentMethodResponses = {
2551
2815
  /**
2552
- * Successfully updated. Returns updated token details with masked secret.
2816
+ * Default payment method updated.
2553
2817
  */
2554
- 200: Token;
2818
+ 204: void;
2555
2819
  };
2556
- export type UpdateTokenResponse = UpdateTokenResponses[keyof UpdateTokenResponses];
2557
- export type RegenerateTokenData = {
2820
+ export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
2821
+ export type DeletePaymentMethodData = {
2558
2822
  body?: never;
2559
2823
  path: {
2560
2824
  /**
2561
- * Generated unique identifier of the access token.
2825
+ * Stripe payment method identifier.
2562
2826
  */
2563
- token_id: string;
2827
+ paymentMethodId: string;
2564
2828
  };
2565
2829
  query?: never;
2566
- url: '/tokens/{token_id}/secret';
2830
+ url: '/billing/payment-methods/{paymentMethodId}';
2567
2831
  };
2568
- export type RegenerateTokenErrors = {
2832
+ export type DeletePaymentMethodErrors = {
2833
+ /**
2834
+ * The bank transfer payment method cannot be removed.
2835
+ */
2836
+ 400: unknown;
2569
2837
  /**
2570
2838
  * Not authenticated
2571
2839
  */
2572
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;
2573
2849
  };
2574
- export type RegenerateTokenResponses = {
2850
+ export type DeletePaymentMethodResponses = {
2575
2851
  /**
2576
- * Successfully updated. Returns updated token details with unmasked / raw secret.
2852
+ * Payment method deleted.
2577
2853
  */
2578
- 200: Token;
2854
+ 204: void;
2579
2855
  };
2580
- export type RegenerateTokenResponse = RegenerateTokenResponses[keyof RegenerateTokenResponses];
2581
- export type ListUserOrganizationsData = {
2856
+ export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
2857
+ export type ListInvoicesData = {
2582
2858
  body?: never;
2583
- path: {
2584
- /**
2585
- * User email address.
2586
- */
2587
- email: string;
2588
- };
2859
+ path?: never;
2589
2860
  query?: never;
2590
- url: '/users/organizations/{email}';
2861
+ url: '/billing/invoices';
2591
2862
  };
2592
- export type ListUserOrganizationsResponses = {
2863
+ export type ListInvoicesErrors = {
2593
2864
  /**
2594
- * An array of organizations the user belongs to.
2865
+ * Not authenticated
2595
2866
  */
2596
- 200: Array<{
2597
- /**
2598
- * Unique identifier of the organization. UUID v4 string in canonical form
2599
- */
2600
- realm?: string;
2601
- /**
2602
- * Human-readable name of the organization
2603
- */
2604
- displayName?: string;
2605
- }>;
2867
+ 401: unknown;
2606
2868
  };
2607
- export type ListUserOrganizationsResponse = ListUserOrganizationsResponses[keyof ListUserOrganizationsResponses];
2608
- 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 = {
2609
2877
  body?: never;
2610
2878
  path?: never;
2611
2879
  query?: never;
2612
- url: '/users';
2880
+ url: '/billing/invoices/pay';
2613
2881
  };
2614
- export type ListUsersErrors = {
2882
+ export type PayOpenInvoicesErrors = {
2883
+ /**
2884
+ * The organization has no payment method that can be charged.
2885
+ */
2886
+ 400: unknown;
2615
2887
  /**
2616
2888
  * Not authenticated
2617
2889
  */
2618
2890
  401: unknown;
2891
+ /**
2892
+ * Too many payment attempts for this organization.
2893
+ */
2894
+ 429: unknown;
2619
2895
  };
2620
- export type ListUsersResponses = {
2896
+ export type PayOpenInvoicesResponses = {
2621
2897
  /**
2622
- * An array of users
2898
+ * The outcome of the attempt.
2623
2899
  */
2624
- 200: Array<User>;
2900
+ 200: InvoicePaymentResult;
2625
2901
  };
2626
- export type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
2627
- export type CreateUserData = {
2628
- body: UserCreateInput;
2902
+ export type PayOpenInvoicesResponse = PayOpenInvoicesResponses[keyof PayOpenInvoicesResponses];
2903
+ export type GetContactData = {
2904
+ body?: never;
2629
2905
  path?: never;
2630
2906
  query?: never;
2631
- url: '/users';
2907
+ url: '/billing/contact';
2632
2908
  };
2633
- export type CreateUserResponses = {
2909
+ export type GetContactResponses = {
2634
2910
  /**
2635
- * Successfully created. Returns created user details.
2911
+ * Returns a single object containing organization contact and billing address details.
2636
2912
  */
2637
- 200: User;
2913
+ 200: BillingContact;
2638
2914
  };
2639
- export type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];
2640
- export type DeleteUserData = {
2641
- body?: never;
2642
- path: {
2643
- /**
2644
- * Unique user identifier. UUID v4 string in canonical form
2645
- */
2646
- user_id: string;
2647
- };
2915
+ export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
2916
+ export type UpdateContactData = {
2917
+ body: BillingContact;
2918
+ path?: never;
2648
2919
  query?: never;
2649
- url: '/users/{user_id}';
2920
+ url: '/billing/contact';
2650
2921
  };
2651
- export type DeleteUserErrors = {
2922
+ export type UpdateContactResponses = {
2652
2923
  /**
2653
- * Deleting own user is not allowed. Delete your organization instead.
2924
+ * Successfully updated. Returns updated organization details.
2654
2925
  */
2655
- 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 = {
2656
2936
  /**
2657
2937
  * Not authenticated
2658
2938
  */
2659
2939
  401: unknown;
2660
2940
  };
2661
- export type DeleteUserResponses = {
2941
+ export type GetCreditsResponses = {
2662
2942
  /**
2663
- * User profile information
2943
+ * An array of the applied promotional credits records.
2664
2944
  */
2665
- 200: User;
2945
+ 200: Array<BillingCredits>;
2666
2946
  };
2667
- export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
2668
- export type GetUserData = {
2669
- body?: never;
2670
- path: {
2947
+ export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
2948
+ export type RedeemCreditsData = {
2949
+ body: {
2671
2950
  /**
2672
- * Unique user identifier. UUID v4 string in canonical form
2951
+ * Promotional code to redeem
2673
2952
  */
2674
- user_id: string;
2953
+ code?: string;
2675
2954
  };
2955
+ path?: never;
2676
2956
  query?: never;
2677
- url: '/users/{user_id}';
2957
+ url: '/billing/credits';
2678
2958
  };
2679
- export type GetUserErrors = {
2959
+ export type RedeemCreditsErrors = {
2680
2960
  /**
2681
2961
  * Not authenticated
2682
2962
  */
2683
2963
  401: unknown;
2684
2964
  };
2685
- export type GetUserResponses = {
2686
- /**
2687
- * User profile information
2688
- */
2689
- 200: User;
2690
- };
2691
- export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
2692
- export type UpdateUserData = {
2693
- body: UserUpdateInput;
2694
- path: {
2695
- /**
2696
- * Unique user identifier. UUID v4 string in canonical form
2697
- */
2698
- user_id: string;
2699
- };
2700
- query?: never;
2701
- url: '/users/{user_id}';
2702
- };
2703
- export type UpdateUserResponses = {
2965
+ export type RedeemCreditsResponses = {
2704
2966
  /**
2705
- * Successfully created. Returns created user details.
2967
+ * Successfully created a new organization.
2706
2968
  */
2707
- 200: User;
2969
+ 200: unknown;
2708
2970
  };
2709
- export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
2710
2971
  //# sourceMappingURL=types.gen.d.ts.map