@cloudfleet/sdk 0.0.1-91321da → 0.0.1-93502b6

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.
@@ -2,6 +2,10 @@ export type ClientOptions = {
2
2
  baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
3
3
  };
4
4
  export type BillingContact = {
5
+ /**
6
+ * Type of the organization. `business` for legal entities, `personal` for individuals.
7
+ */
8
+ type: 'business' | 'personal';
5
9
  /**
6
10
  * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
7
11
  */
@@ -129,9 +133,9 @@ export type Chart = {
129
133
  */
130
134
  chart: string;
131
135
  /**
132
- * Status of the chart deployment.
136
+ * Status of the chart deployment (Flux HelmRelease Ready condition reason, e.g. InstallSucceeded, UpgradeFailed, Progressing).
133
137
  */
134
- status: 'InstallSucceeded' | 'InstallFailed' | 'UpgradeSucceeded' | 'UpgradeFailed' | 'TestSucceeded' | 'TestFailed' | 'RollbackSucceeded' | 'RollbackFailed' | 'UninstallSucceeded' | 'UninstallFailed' | 'ArtifactFailed' | 'DependencyNotReady' | 'Progressing' | 'SourceNotReady';
138
+ status: string;
135
139
  /**
136
140
  * Current version of the chart deployment.
137
141
  */
@@ -159,6 +163,9 @@ export type ChartUpdateInput = {
159
163
  */
160
164
  version_channel: string;
161
165
  };
166
+ /**
167
+ * Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
168
+ */
162
169
  export type ClusterCreateInput = {
163
170
  /**
164
171
  * Name of the cluster.
@@ -167,15 +174,61 @@ export type ClusterCreateInput = {
167
174
  /**
168
175
  * Tier of the cluster.
169
176
  */
170
- tier: 'basic' | 'pro';
177
+ tier?: 'basic' | 'pro' | 'enterprise';
178
+ /**
179
+ * Version of the kubernetes cluster.
180
+ */
181
+ version_channel?: string;
171
182
  /**
172
- * 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.
183
+ * Release channel for the cluster's control plane.
173
184
  */
174
- region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
185
+ release_channel?: 'rapid' | 'stable' | 'extended';
175
186
  /**
176
- * Version of the kubernetes cluster.
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.
177
205
  */
178
- version_channel?: '1.x.x-cfke.x' | '1.31.x-cfke.x' | '1.32.x-cfke.x' | '1.33.x-cfke.x';
206
+ region: string;
207
+ /**
208
+ * Cluster networking configuration. Immutable after creation.
209
+ */
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
+ };
179
232
  };
180
233
  export type ClusterJoinInformation = {
181
234
  /**
@@ -190,6 +243,10 @@ export type ClusterJoinInformation = {
190
243
  * Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.
191
244
  */
192
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;
193
250
  /**
194
251
  * Authentication key for the cluster.
195
252
  */
@@ -237,6 +294,9 @@ export type ClusterJoinInformation = {
237
294
  gcp_workload_identity_provider: string;
238
295
  };
239
296
  };
297
+ /**
298
+ * Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
299
+ */
240
300
  export type Cluster = {
241
301
  /**
242
302
  * Name of the cluster.
@@ -245,19 +305,69 @@ export type Cluster = {
245
305
  /**
246
306
  * Tier of the cluster.
247
307
  */
248
- tier: 'basic' | 'pro';
308
+ tier: 'basic' | 'pro' | 'enterprise';
249
309
  /**
250
- * 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.
310
+ * Version of the kubernetes cluster.
311
+ */
312
+ version_channel: string;
313
+ /**
314
+ * Release channel for the cluster's control plane.
315
+ */
316
+ release_channel: 'rapid' | 'stable' | 'extended';
317
+ /**
318
+ * Cluster feature toggles.
319
+ */
320
+ features: {
321
+ /**
322
+ * GPU sharing strategy.
323
+ */
324
+ gpu_sharing_strategy: 'none' | 'mps' | 'time_slicing';
325
+ /**
326
+ * Maximum number of pods that may share a single GPU.
327
+ */
328
+ gpu_max_shared_clients_per_gpu: number;
329
+ /**
330
+ * Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
331
+ */
332
+ cilium_socket_lb_host_namespace_only: boolean;
333
+ };
334
+ /**
335
+ * Cloudfleet control plane region. This field can not be updated after creation.
336
+ */
337
+ region: string;
338
+ /**
339
+ * Cluster networking configuration. Immutable after creation.
251
340
  */
252
- region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
341
+ networking: {
342
+ /**
343
+ * CIDR block for pod IPs.
344
+ */
345
+ pod_cidr: string;
346
+ /**
347
+ * CIDR block for service IPs.
348
+ */
349
+ service_cidr: string;
350
+ /**
351
+ * Enable IPv4+IPv6 dual-stack networking.
352
+ */
353
+ dual_stack: boolean;
354
+ /**
355
+ * IPv6 pod CIDR. Requires dual_stack.
356
+ */
357
+ pod_cidr_v6: string;
358
+ /**
359
+ * IPv6 service CIDR. Requires dual_stack.
360
+ */
361
+ service_cidr_v6: string;
362
+ };
253
363
  /**
254
364
  * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
255
365
  */
256
366
  id: string;
257
367
  /**
258
- * Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.
368
+ * Status of the cluster.
259
369
  */
260
- status: 'active' | 'disabled' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
370
+ status: 'creating' | 'deployed' | 'updating' | 'disabled';
261
371
  endpoint?: string | '';
262
372
  endpoint_public?: string | '';
263
373
  /**
@@ -279,129 +389,259 @@ export type Cluster = {
279
389
  /**
280
390
  * Indicates if the cluster is ready to be used.
281
391
  */
282
- ready?: boolean;
283
- /**
284
- * Version of the kubernetes cluster.
285
- */
286
- version_channel?: string;
392
+ ready: boolean;
287
393
  };
394
+ /**
395
+ * Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
396
+ */
288
397
  export type ClusterUpdateInput = {
289
398
  /**
290
399
  * Name of the cluster.
291
400
  */
292
- name?: string;
401
+ name: string;
293
402
  /**
294
403
  * Tier of the cluster.
295
404
  */
296
- tier: 'basic' | 'pro';
405
+ tier?: 'basic' | 'pro' | 'enterprise';
297
406
  /**
298
407
  * Version of the kubernetes cluster.
299
408
  */
300
409
  version_channel?: string;
410
+ /**
411
+ * Release channel for the cluster's control plane.
412
+ */
413
+ release_channel?: 'rapid' | 'stable' | 'extended';
414
+ /**
415
+ * Cluster feature toggles.
416
+ */
417
+ features?: {
418
+ /**
419
+ * GPU sharing strategy.
420
+ */
421
+ gpu_sharing_strategy?: 'none' | 'mps' | 'time_slicing';
422
+ /**
423
+ * Maximum number of pods that may share a single GPU.
424
+ */
425
+ gpu_max_shared_clients_per_gpu?: number;
426
+ /**
427
+ * Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
428
+ */
429
+ cilium_socket_lb_host_namespace_only?: boolean;
430
+ };
301
431
  };
432
+ /**
433
+ * Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
434
+ */
302
435
  export type FleetCreateInput = {
303
436
  /**
304
437
  * Limits define a set of bounds for provisioning capacity.
305
438
  */
306
439
  limits?: {
307
440
  /**
308
- * CPU limit in cores.
441
+ * CPU limit in cores. Maximum 100,000.
309
442
  */
310
- cpu: number;
443
+ cpu?: number;
311
444
  };
312
445
  gcp?: {
313
- enabled?: boolean;
446
+ enabled: boolean;
314
447
  /**
315
- * Project GCP Project id to deploy instances into
448
+ * GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.
316
449
  */
317
- project: string;
450
+ project?: string;
318
451
  };
319
452
  hetzner?: {
320
- enabled?: boolean;
453
+ enabled: boolean;
321
454
  /**
322
- * Hetzner Cloud API key with read / write access
455
+ * 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.
323
456
  */
324
- apiKey: string;
457
+ apiKey?: string;
325
458
  };
326
459
  aws?: {
327
- enabled?: boolean;
460
+ enabled: boolean;
461
+ /**
462
+ * AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
463
+ */
464
+ controllerRoleArn?: string;
465
+ };
466
+ /**
467
+ * 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.
468
+ */
469
+ constraints?: {
470
+ /**
471
+ * Allowed values for `karpenter.sh/capacity-type`.
472
+ */
473
+ 'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
474
+ /**
475
+ * Allowed values for `kubernetes.io/arch`.
476
+ */
477
+ 'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
328
478
  /**
329
- * ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.
479
+ * Allowed values for `cfke.io/instance-family`.
330
480
  */
331
- controllerRoleArn: string;
481
+ 'cfke.io/instance-family'?: Array<'a1' | 'a2' | 'a3' | 'a4' | 'c1' | 'c2' | 'c2d' | 'c3' | 'c3d' | 'c4' | 'c4a' | 'c4d' | 'c5' | 'c5a' | 'c5ad' | 'c5d' | 'c5n' | 'c6a' | 'c6g' | 'c6gd' | 'c6gn' | 'c6i' | 'c6id' | 'c6in' | 'c7a' | 'c7g' | 'c7gd' | 'c7gn' | 'c7i' | 'c7i-flex' | 'c8g' | 'c8gd' | 'cax' | 'ccx' | 'cpx' | 'cx' | 'd2' | 'd3' | 'd3en' | 'dl1' | 'dl2q' | 'e2' | 'f1' | 'f2' | 'g1' | 'g2' | 'g4ad' | 'g4dn' | 'g5' | 'g5g' | 'g6' | 'g6e' | 'gr6' | 'h1' | 'h3' | 'hpc6a' | 'hpc6id' | 'hpc7a' | 'hpc7g' | 'i2' | 'i3' | 'i3en' | 'i4g' | 'i4i' | 'i7i' | 'i7ie' | 'i8g' | 'im4gn' | 'inf1' | 'inf2' | 'is4gen' | 'm1' | 'm2' | 'm3' | 'm4' | 'm5' | 'm5a' | 'm5ad' | 'm5d' | 'm5dn' | 'm5n' | 'm5zn' | 'm6a' | 'm6g' | 'm6gd' | 'm6i' | 'm6id' | 'm6idn' | 'm6in' | 'm7a' | 'm7g' | 'm7gd' | 'm7i' | 'm7i-flex' | 'm8g' | 'm8gd' | 'n1' | 'n2' | 'n2d' | 'n4' | 'p3' | 'p3dn' | 'p4d' | 'p4de' | 'p5' | 'p5e' | 'p5en' | 'p6-b200' | 'r3' | 'r4' | 'r5' | 'r5a' | 'r5ad' | 'r5b' | 'r5d' | 'r5dn' | 'r5n' | 'r6a' | 'r6g' | 'r6gd' | 'r6i' | 'r6id' | 'r6idn' | 'r6in' | 'r7a' | 'r7g' | 'r7gd' | 'r7i' | 'r7iz' | 'r8g' | 'r8gd' | 't2' | 't2a' | 't2d' | 't3' | 't3a' | 't4g' | 'trn1' | 'trn1n' | 'u-3tb1' | 'u-6tb1' | 'u7i-12tb' | 'u7i-6tb' | 'u7i-8tb' | 'u7in-16tb' | 'u7in-24tb' | 'u7in-32tb' | 'vt1' | 'x1' | 'x1e' | 'x2gd' | 'x2idn' | 'x2iedn' | 'x2iezn' | 'x4' | 'x8g' | 'z1d' | 'z3'>;
482
+ /**
483
+ * Allowed values for `topology.kubernetes.io/region`.
484
+ */
485
+ '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'>;
332
486
  };
487
+ /**
488
+ * 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`).
489
+ */
490
+ scalingProfile?: 'aggressive' | 'conservative';
333
491
  /**
334
492
  * Unique identifier of the kubernetes fleet.
335
493
  */
336
494
  id: string;
337
495
  };
496
+ /**
497
+ * Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
498
+ */
338
499
  export type Fleet = {
339
500
  /**
340
501
  * Limits define a set of bounds for provisioning capacity.
341
502
  */
342
503
  limits?: {
343
504
  /**
344
- * CPU limit in cores.
505
+ * CPU limit in cores. Maximum 100,000.
345
506
  */
346
- cpu: number;
507
+ cpu?: number;
347
508
  };
348
509
  gcp?: {
349
- enabled?: boolean;
510
+ enabled: boolean;
350
511
  /**
351
- * Project GCP Project id to deploy instances into
512
+ * GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.
352
513
  */
353
- project: string;
514
+ project?: string;
354
515
  };
355
516
  hetzner?: {
356
- enabled?: boolean;
517
+ enabled: boolean;
357
518
  /**
358
- * Hetzner Cloud API key with read / write access
519
+ * Redacted Hetzner API token. Returned as 64 asterisks when a token is configured; omitted otherwise. The real value is never echoed by the API.
359
520
  */
360
- apiKey: string;
521
+ apiKey?: string;
361
522
  };
362
523
  aws?: {
363
- enabled?: boolean;
524
+ enabled: boolean;
525
+ /**
526
+ * AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
527
+ */
528
+ controllerRoleArn?: string;
529
+ };
530
+ /**
531
+ * 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.
532
+ */
533
+ constraints: {
534
+ /**
535
+ * Allowed values for `karpenter.sh/capacity-type`.
536
+ */
537
+ 'karpenter.sh/capacity-type': Array<'on-demand' | 'spot'>;
538
+ /**
539
+ * Allowed values for `kubernetes.io/arch`.
540
+ */
541
+ 'kubernetes.io/arch': Array<'amd64' | 'arm64'>;
542
+ /**
543
+ * Allowed values for `cfke.io/instance-family`.
544
+ */
545
+ 'cfke.io/instance-family'?: Array<'a1' | 'a2' | 'a3' | 'a4' | 'c1' | 'c2' | 'c2d' | 'c3' | 'c3d' | 'c4' | 'c4a' | 'c4d' | 'c5' | 'c5a' | 'c5ad' | 'c5d' | 'c5n' | 'c6a' | 'c6g' | 'c6gd' | 'c6gn' | 'c6i' | 'c6id' | 'c6in' | 'c7a' | 'c7g' | 'c7gd' | 'c7gn' | 'c7i' | 'c7i-flex' | 'c8g' | 'c8gd' | 'cax' | 'ccx' | 'cpx' | 'cx' | 'd2' | 'd3' | 'd3en' | 'dl1' | 'dl2q' | 'e2' | 'f1' | 'f2' | 'g1' | 'g2' | 'g4ad' | 'g4dn' | 'g5' | 'g5g' | 'g6' | 'g6e' | 'gr6' | 'h1' | 'h3' | 'hpc6a' | 'hpc6id' | 'hpc7a' | 'hpc7g' | 'i2' | 'i3' | 'i3en' | 'i4g' | 'i4i' | 'i7i' | 'i7ie' | 'i8g' | 'im4gn' | 'inf1' | 'inf2' | 'is4gen' | 'm1' | 'm2' | 'm3' | 'm4' | 'm5' | 'm5a' | 'm5ad' | 'm5d' | 'm5dn' | 'm5n' | 'm5zn' | 'm6a' | 'm6g' | 'm6gd' | 'm6i' | 'm6id' | 'm6idn' | 'm6in' | 'm7a' | 'm7g' | 'm7gd' | 'm7i' | 'm7i-flex' | 'm8g' | 'm8gd' | 'n1' | 'n2' | 'n2d' | 'n4' | 'p3' | 'p3dn' | 'p4d' | 'p4de' | 'p5' | 'p5e' | 'p5en' | 'p6-b200' | 'r3' | 'r4' | 'r5' | 'r5a' | 'r5ad' | 'r5b' | 'r5d' | 'r5dn' | 'r5n' | 'r6a' | 'r6g' | 'r6gd' | 'r6i' | 'r6id' | 'r6idn' | 'r6in' | 'r7a' | 'r7g' | 'r7gd' | 'r7i' | 'r7iz' | 'r8g' | 'r8gd' | 't2' | 't2a' | 't2d' | 't3' | 't3a' | 't4g' | 'trn1' | 'trn1n' | 'u-3tb1' | 'u-6tb1' | 'u7i-12tb' | 'u7i-6tb' | 'u7i-8tb' | 'u7in-16tb' | 'u7in-24tb' | 'u7in-32tb' | 'vt1' | 'x1' | 'x1e' | 'x2gd' | 'x2idn' | 'x2iedn' | 'x2iezn' | 'x4' | 'x8g' | 'z1d' | 'z3'>;
364
546
  /**
365
- * ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.
547
+ * Allowed values for `topology.kubernetes.io/region`.
366
548
  */
367
- controllerRoleArn: string;
549
+ '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'>;
368
550
  };
551
+ /**
552
+ * 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`).
553
+ */
554
+ scalingProfile: 'aggressive' | 'conservative';
369
555
  /**
370
556
  * Unique identifier of the kubernetes fleet.
371
557
  */
372
558
  id: string;
559
+ /**
560
+ * Indicates whether the fleet configuration is healthy.
561
+ */
562
+ ready: boolean;
563
+ /**
564
+ * Human-readable reason the fleet is not ready. Present only when `ready` is false.
565
+ */
566
+ status_message?: string;
567
+ /**
568
+ * Creation date and time of the fleet.
569
+ */
570
+ created_at: string;
571
+ /**
572
+ * Date and time the fleet was last updated.
573
+ */
574
+ updated_at: string;
373
575
  };
576
+ /**
577
+ * Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
578
+ */
374
579
  export type FleetUpdateInput = {
375
580
  /**
376
581
  * Limits define a set of bounds for provisioning capacity.
377
582
  */
378
583
  limits?: {
379
584
  /**
380
- * CPU limit in cores.
585
+ * CPU limit in cores. Maximum 100,000.
381
586
  */
382
- cpu: number;
587
+ cpu?: number;
383
588
  };
384
589
  gcp?: {
385
- enabled?: boolean;
590
+ enabled: boolean;
386
591
  /**
387
- * Project GCP Project id to deploy instances into
592
+ * GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.
388
593
  */
389
- project: string;
594
+ project?: string;
390
595
  };
391
596
  hetzner?: {
392
- enabled?: boolean;
597
+ enabled: boolean;
393
598
  /**
394
- * Hetzner Cloud API key with read / write access
599
+ * 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.
395
600
  */
396
- apiKey: string;
601
+ apiKey?: string;
397
602
  };
398
603
  aws?: {
399
- enabled?: boolean;
604
+ enabled: boolean;
605
+ /**
606
+ * AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
607
+ */
608
+ controllerRoleArn?: string;
609
+ };
610
+ /**
611
+ * 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.
612
+ */
613
+ constraints?: {
614
+ /**
615
+ * Allowed values for `karpenter.sh/capacity-type`.
616
+ */
617
+ 'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
618
+ /**
619
+ * Allowed values for `kubernetes.io/arch`.
620
+ */
621
+ 'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
622
+ /**
623
+ * Allowed values for `cfke.io/instance-family`.
624
+ */
625
+ 'cfke.io/instance-family'?: Array<'a1' | 'a2' | 'a3' | 'a4' | 'c1' | 'c2' | 'c2d' | 'c3' | 'c3d' | 'c4' | 'c4a' | 'c4d' | 'c5' | 'c5a' | 'c5ad' | 'c5d' | 'c5n' | 'c6a' | 'c6g' | 'c6gd' | 'c6gn' | 'c6i' | 'c6id' | 'c6in' | 'c7a' | 'c7g' | 'c7gd' | 'c7gn' | 'c7i' | 'c7i-flex' | 'c8g' | 'c8gd' | 'cax' | 'ccx' | 'cpx' | 'cx' | 'd2' | 'd3' | 'd3en' | 'dl1' | 'dl2q' | 'e2' | 'f1' | 'f2' | 'g1' | 'g2' | 'g4ad' | 'g4dn' | 'g5' | 'g5g' | 'g6' | 'g6e' | 'gr6' | 'h1' | 'h3' | 'hpc6a' | 'hpc6id' | 'hpc7a' | 'hpc7g' | 'i2' | 'i3' | 'i3en' | 'i4g' | 'i4i' | 'i7i' | 'i7ie' | 'i8g' | 'im4gn' | 'inf1' | 'inf2' | 'is4gen' | 'm1' | 'm2' | 'm3' | 'm4' | 'm5' | 'm5a' | 'm5ad' | 'm5d' | 'm5dn' | 'm5n' | 'm5zn' | 'm6a' | 'm6g' | 'm6gd' | 'm6i' | 'm6id' | 'm6idn' | 'm6in' | 'm7a' | 'm7g' | 'm7gd' | 'm7i' | 'm7i-flex' | 'm8g' | 'm8gd' | 'n1' | 'n2' | 'n2d' | 'n4' | 'p3' | 'p3dn' | 'p4d' | 'p4de' | 'p5' | 'p5e' | 'p5en' | 'p6-b200' | 'r3' | 'r4' | 'r5' | 'r5a' | 'r5ad' | 'r5b' | 'r5d' | 'r5dn' | 'r5n' | 'r6a' | 'r6g' | 'r6gd' | 'r6i' | 'r6id' | 'r6idn' | 'r6in' | 'r7a' | 'r7g' | 'r7gd' | 'r7i' | 'r7iz' | 'r8g' | 'r8gd' | 't2' | 't2a' | 't2d' | 't3' | 't3a' | 't4g' | 'trn1' | 'trn1n' | 'u-3tb1' | 'u-6tb1' | 'u7i-12tb' | 'u7i-6tb' | 'u7i-8tb' | 'u7in-16tb' | 'u7in-24tb' | 'u7in-32tb' | 'vt1' | 'x1' | 'x1e' | 'x2gd' | 'x2idn' | 'x2iedn' | 'x2iezn' | 'x4' | 'x8g' | 'z1d' | 'z3'>;
400
626
  /**
401
- * ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.
627
+ * Allowed values for `topology.kubernetes.io/region`.
402
628
  */
403
- controllerRoleArn: string;
629
+ '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'>;
404
630
  };
631
+ /**
632
+ * 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`).
633
+ */
634
+ scalingProfile?: 'aggressive' | 'conservative';
635
+ };
636
+ export type InviteCreateInput = {
637
+ /**
638
+ * Email address of the user to invite.
639
+ */
640
+ email: string;
641
+ /**
642
+ * Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
643
+ */
644
+ role?: 'Administrator' | 'User';
405
645
  };
406
646
  export type Invite = {
407
647
  /**
@@ -424,6 +664,10 @@ export type Invite = {
424
664
  * Generated unique invite code.
425
665
  */
426
666
  code?: string;
667
+ /**
668
+ * Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
669
+ */
670
+ role?: 'Administrator' | 'User';
427
671
  };
428
672
  export type Invoice = {
429
673
  /**
@@ -544,6 +788,10 @@ export type MarketplaceListing = {
544
788
  };
545
789
  };
546
790
  export type OrganizationCreateInput = {
791
+ /**
792
+ * Type of the organization. `business` for legal entities, `personal` for individuals.
793
+ */
794
+ type: 'business' | 'personal';
547
795
  /**
548
796
  * Email address used for billing as a string.
549
797
  */
@@ -565,6 +813,12 @@ export type OrganizationCreateInput = {
565
813
  */
566
814
  password: string;
567
815
  };
816
+ export type OrganizationCreateOutput = {
817
+ /**
818
+ * Unique identifier of the newly created organization. Generated by the API and safe to use for client-side tracking immediately.
819
+ */
820
+ id: string;
821
+ };
568
822
  export type Organization = {
569
823
  /**
570
824
  * Unique identifier of the organization. UUID v4 string in canonical form
@@ -574,6 +828,10 @@ export type Organization = {
574
828
  * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
575
829
  */
576
830
  name?: string;
831
+ /**
832
+ * Type of the organization. `business` for legal entities, `personal` for individuals.
833
+ */
834
+ type: 'business' | 'personal';
577
835
  /**
578
836
  * Creation date of the organization. ISO 8601 date string in UTC timezone
579
837
  */
@@ -598,6 +856,14 @@ export type Organization = {
598
856
  * Available number of Pro clusters that can be created.
599
857
  */
600
858
  pro_clusters_available: number;
859
+ /**
860
+ * Maximum number of Enterprise clusters that can be created.
861
+ */
862
+ enterprise_clusters_max: number;
863
+ /**
864
+ * Available number of Enterprise clusters that can be created.
865
+ */
866
+ enterprise_clusters_available: number;
601
867
  /**
602
868
  * Maximum number of fleets that can be created per cluster.
603
869
  */
@@ -632,36 +898,52 @@ export type Organization = {
632
898
  * Status of the organization. Can be `active` or `closed`, or `suspended`.
633
899
  */
634
900
  status: 'active' | 'closed' | 'suspended';
901
+ /**
902
+ * Verification status of the organization, which determines the assigned quota. `none` when billing information is incomplete, `submitted` when billing information is complete but the organization is not yet verified, `verified` when the organization is verified.
903
+ */
904
+ verification: 'none' | 'submitted' | 'verified';
635
905
  };
636
906
  export type PaymentMethod = {
637
907
  /**
638
- * Unique identifier of the organization. UUID v4 string in canonical form.
908
+ * Payment method identifier. Stripe payment method id for cards/SEPA; the constant `bank_transfer` for the invoice/bank-transfer method. Used to set as default or delete the payment method.
639
909
  */
640
910
  id: string;
641
911
  /**
642
- * Whether organization payment method was set up and ready to use for payments.
643
- */
644
- setup: boolean;
645
- /**
646
- * Payment method type type. Only `card` payments supported at the moment.
912
+ * Payment method type. `card`, `sepa_debit` for SEPA Direct Debit (business accounts only), or `bank_transfer` for paying invoices by bank transfer.
647
913
  */
648
- type: 'card';
914
+ type: 'card' | 'sepa_debit' | 'bank_transfer';
649
915
  /**
650
- * Last 4 digits of the payment card number.
916
+ * Last 4 digits of the payment card number, of the bank account (IBAN) for SEPA Direct Debit, or of the destination IBAN for bank transfer.
651
917
  */
652
918
  last4: string;
653
919
  /**
654
- * Two-digit number representing the card's expiration month.
920
+ * Two-digit number representing the card's expiration month. Null for SEPA Direct Debit and bank transfer.
655
921
  */
656
922
  exp_month: number;
657
923
  /**
658
- * Four-digit number representing the card's expiration year.
924
+ * Four-digit number representing the card's expiration year. May be in the past for an expired card still on file. Null for SEPA Direct Debit and bank transfer.
659
925
  */
660
926
  exp_year: number;
661
927
  /**
662
- * Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
928
+ * Payment card brand as reported by Stripe, e.g. `visa`, `mastercard`, `amex`, `cartes_bancaires`, or `unknown`. Null for SEPA Direct Debit and bank transfer.
929
+ */
930
+ brand: string;
931
+ /**
932
+ * Full destination IBAN to send bank transfers to. Set only for `bank_transfer`; null otherwise. This is Cloudfleet's virtual receiving account, shown in full so the customer can pay into it.
933
+ */
934
+ iban: string;
935
+ /**
936
+ * BIC/SWIFT of the destination bank for bank transfers. Set only for `bank_transfer`; null otherwise.
937
+ */
938
+ bic: string;
939
+ /**
940
+ * Account holder name of the destination bank account for bank transfers. Set only for `bank_transfer`; null otherwise.
941
+ */
942
+ account_holder_name: string;
943
+ /**
944
+ * Whether this payment method is the default used for invoices and active subscriptions. Always false for `bank_transfer` (it cannot be a Stripe default payment method).
663
945
  */
664
- brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
946
+ is_default: boolean;
665
947
  };
666
948
  export type PlatformQuota = {
667
949
  /**
@@ -680,6 +962,14 @@ export type PlatformQuota = {
680
962
  * Available number of Pro clusters that can be created.
681
963
  */
682
964
  pro_clusters_available: number;
965
+ /**
966
+ * Maximum number of Enterprise clusters that can be created.
967
+ */
968
+ enterprise_clusters_max: number;
969
+ /**
970
+ * Available number of Enterprise clusters that can be created.
971
+ */
972
+ enterprise_clusters_available: number;
683
973
  /**
684
974
  * Maximum number of fleets that can be created per cluster.
685
975
  */
@@ -1253,14 +1543,6 @@ export type UserCreateInput = {
1253
1543
  * User password. Must be at least 8 characters long.
1254
1544
  */
1255
1545
  password: string;
1256
- /**
1257
- * Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.
1258
- */
1259
- status?: 'active' | 'inactive';
1260
- /**
1261
- * User role. Can be 'Administrator', 'User'.
1262
- */
1263
- role?: 'Administrator' | 'User';
1264
1546
  };
1265
1547
  export type User = {
1266
1548
  /**
@@ -1314,525 +1596,621 @@ export type UserUpdateInput = {
1314
1596
  */
1315
1597
  status?: 'active' | 'inactive';
1316
1598
  };
1317
- export type GetUsageData = {
1599
+ export type ListUserOrganizationsData = {
1318
1600
  body?: never;
1319
- path?: never;
1320
- query?: {
1601
+ path: {
1321
1602
  /**
1322
- * 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.
1323
1604
  */
1324
- granularity?: 'hourly' | 'daily' | 'monthly';
1605
+ email: string;
1325
1606
  };
1326
- url: '/billing/usage';
1327
- };
1328
- export type GetUsageErrors = {
1329
- /**
1330
- * Not authenticated
1331
- */
1332
- 401: unknown;
1607
+ query?: never;
1608
+ url: '/users/organizations/{email}';
1333
1609
  };
1334
- export type GetUsageResponses = {
1610
+ export type ListUserOrganizationsResponses = {
1335
1611
  /**
1336
- * Usage data with facets for filtering
1612
+ * An array of organizations the user belongs to.
1337
1613
  */
1338
- 200: UsageResponse;
1614
+ 200: Array<{
1615
+ /**
1616
+ * Unique identifier of the organization. UUID v4 string in canonical form
1617
+ */
1618
+ realm?: string;
1619
+ /**
1620
+ * Human-readable name of the organization
1621
+ */
1622
+ displayName?: string;
1623
+ }>;
1339
1624
  };
1340
- export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
1341
- export type GetPaymentMethodData = {
1625
+ export type ListUserOrganizationsResponse = ListUserOrganizationsResponses[keyof ListUserOrganizationsResponses];
1626
+ export type ListUsersData = {
1342
1627
  body?: never;
1343
1628
  path?: never;
1344
1629
  query?: never;
1345
- url: '/billing/payment-method';
1630
+ url: '/users';
1346
1631
  };
1347
- export type GetPaymentMethodErrors = {
1632
+ export type ListUsersErrors = {
1348
1633
  /**
1349
- * Returns 404 Not Found if the organization does not have a payment method set up.
1634
+ * Not authenticated
1350
1635
  */
1351
- 404: unknown;
1636
+ 401: unknown;
1352
1637
  };
1353
- export type GetPaymentMethodResponses = {
1638
+ export type ListUsersResponses = {
1354
1639
  /**
1355
- * Redacted payment card information.
1640
+ * An array of users
1356
1641
  */
1357
- 200: PaymentMethod;
1642
+ 200: Array<User>;
1358
1643
  };
1359
- export type GetPaymentMethodResponse = GetPaymentMethodResponses[keyof GetPaymentMethodResponses];
1360
- export type GetPaymentMethodSecretData = {
1361
- body?: never;
1644
+ export type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
1645
+ export type CreateUserData = {
1646
+ body: UserCreateInput;
1362
1647
  path?: never;
1363
1648
  query?: never;
1364
- url: '/billing/payment-method';
1649
+ url: '/users';
1365
1650
  };
1366
- export type GetPaymentMethodSecretResponses = {
1651
+ export type CreateUserResponses = {
1367
1652
  /**
1368
- * 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.
1369
- *
1653
+ * Successfully created. Returns created user details.
1370
1654
  */
1371
- 200: {
1655
+ 200: User;
1656
+ };
1657
+ export type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];
1658
+ export type DeleteUserData = {
1659
+ body?: never;
1660
+ path: {
1372
1661
  /**
1373
- * The client secret.
1662
+ * Unique user identifier. UUID v4 string in canonical form
1374
1663
  */
1375
- id?: string;
1664
+ user_id: string;
1376
1665
  };
1377
- };
1378
- export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
1379
- export type ListInvoicesData = {
1380
- body?: never;
1381
- path?: never;
1382
1666
  query?: never;
1383
- url: '/billing/invoices';
1667
+ url: '/users/{user_id}';
1384
1668
  };
1385
- export type ListInvoicesErrors = {
1669
+ export type DeleteUserErrors = {
1670
+ /**
1671
+ * Deleting own user is not allowed. Delete your organization instead.
1672
+ */
1673
+ 400: unknown;
1386
1674
  /**
1387
1675
  * Not authenticated
1388
1676
  */
1389
1677
  401: unknown;
1390
1678
  };
1391
- export type ListInvoicesResponses = {
1679
+ export type DeleteUserResponses = {
1392
1680
  /**
1393
- * An array of usage records.
1681
+ * User profile information
1394
1682
  */
1395
- 200: Array<Invoice>;
1683
+ 200: User;
1396
1684
  };
1397
- export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
1398
- export type GetContactData = {
1685
+ export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
1686
+ export type GetUserData = {
1399
1687
  body?: never;
1400
- path?: never;
1688
+ path: {
1689
+ /**
1690
+ * Unique user identifier. UUID v4 string in canonical form
1691
+ */
1692
+ user_id: string;
1693
+ };
1401
1694
  query?: never;
1402
- url: '/billing/contact';
1695
+ url: '/users/{user_id}';
1403
1696
  };
1404
- export type GetContactResponses = {
1697
+ export type GetUserErrors = {
1405
1698
  /**
1406
- * Returns a single object containing organization contact and billing address details.
1699
+ * Not authenticated
1407
1700
  */
1408
- 200: BillingContact;
1701
+ 401: unknown;
1409
1702
  };
1410
- export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
1411
- export type UpdateContactData = {
1412
- body: BillingContact;
1413
- path?: never;
1703
+ export type GetUserResponses = {
1704
+ /**
1705
+ * User profile information
1706
+ */
1707
+ 200: User;
1708
+ };
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
+ };
1414
1718
  query?: never;
1415
- url: '/billing/contact';
1719
+ url: '/users/{user_id}';
1416
1720
  };
1417
- export type UpdateContactResponses = {
1721
+ export type UpdateUserResponses = {
1418
1722
  /**
1419
- * Successfully updated. Returns updated organization details.
1723
+ * Successfully created. Returns created user details.
1420
1724
  */
1421
- 200: BillingContact;
1725
+ 200: User;
1422
1726
  };
1423
- export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
1424
- export type GetCreditsData = {
1727
+ export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
1728
+ export type ListTokensData = {
1425
1729
  body?: never;
1426
1730
  path?: never;
1427
1731
  query?: never;
1428
- url: '/billing/credits';
1732
+ url: '/tokens';
1429
1733
  };
1430
- export type GetCreditsErrors = {
1734
+ export type ListTokensErrors = {
1431
1735
  /**
1432
1736
  * Not authenticated
1433
1737
  */
1434
1738
  401: unknown;
1435
1739
  };
1436
- export type GetCreditsResponses = {
1740
+ export type ListTokensResponses = {
1437
1741
  /**
1438
- * An array of the applied promotional credits records.
1742
+ * Returns a list of access token details with masked secrets.
1439
1743
  */
1440
- 200: Array<BillingCredits>;
1744
+ 200: Array<Token>;
1441
1745
  };
1442
- export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
1443
- export type RedeemCreditsData = {
1444
- body: {
1445
- /**
1446
- * Promotional code to redeem
1447
- */
1448
- code?: string;
1449
- };
1746
+ export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
1747
+ export type CreateTokenData = {
1748
+ body: TokenCreateInput;
1450
1749
  path?: never;
1451
1750
  query?: never;
1452
- url: '/billing/credits';
1751
+ url: '/tokens';
1453
1752
  };
1454
- export type RedeemCreditsErrors = {
1753
+ export type CreateTokenErrors = {
1455
1754
  /**
1456
1755
  * Not authenticated
1457
1756
  */
1458
1757
  401: unknown;
1459
1758
  };
1460
- export type RedeemCreditsResponses = {
1759
+ export type CreateTokenResponses = {
1461
1760
  /**
1462
- * Successfully created a new organization.
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
+ };
1774
+ query?: never;
1775
+ url: '/tokens/{token_id}';
1776
+ };
1777
+ export type DeleteTokenResponses = {
1778
+ /**
1779
+ * Successfully deleted.
1463
1780
  */
1464
1781
  200: unknown;
1465
1782
  };
1466
- export type ListChartsData = {
1783
+ export type GetTokenData = {
1467
1784
  body?: never;
1468
1785
  path: {
1469
1786
  /**
1470
- * Unique identifier of the cluster. UUID v4 string in canonical form
1787
+ * Generated unique identifier of the access token.
1471
1788
  */
1472
- cluster_id: string;
1789
+ token_id: string;
1473
1790
  };
1474
1791
  query?: never;
1475
- url: '/clusters/{cluster_id}/charts';
1792
+ url: '/tokens/{token_id}';
1476
1793
  };
1477
- export type ListChartsErrors = {
1794
+ export type GetTokenErrors = {
1478
1795
  /**
1479
1796
  * Not authenticated
1480
1797
  */
1481
1798
  401: unknown;
1482
1799
  };
1483
- export type ListChartsResponses = {
1800
+ export type GetTokenResponses = {
1484
1801
  /**
1485
- * An array of charts
1802
+ * Returns access token details with masked secret.
1486
1803
  */
1487
- 200: Array<Chart>;
1804
+ 200: Token;
1488
1805
  };
1489
- export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
1490
- export type CreateChartData = {
1491
- body: ChartCreateInput;
1806
+ export type GetTokenResponse = GetTokenResponses[keyof GetTokenResponses];
1807
+ export type UpdateTokenData = {
1808
+ body: TokenUpdateInput;
1492
1809
  path: {
1493
1810
  /**
1494
- * Unique identifier of the cluster. UUID v4 string in canonical form
1811
+ * Generated unique identifier of the access token.
1495
1812
  */
1496
- cluster_id: string;
1813
+ token_id: string;
1497
1814
  };
1498
1815
  query?: never;
1499
- url: '/clusters/{cluster_id}/charts';
1816
+ url: '/tokens/{token_id}';
1500
1817
  };
1501
- export type CreateChartResponses = {
1818
+ export type UpdateTokenErrors = {
1502
1819
  /**
1503
- * Successfully created. Returns created Chart ID.
1820
+ * Not authenticated
1504
1821
  */
1505
- 200: string;
1822
+ 401: unknown;
1506
1823
  };
1507
- export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
1508
- export type DeleteChartData = {
1824
+ export type UpdateTokenResponses = {
1825
+ /**
1826
+ * Successfully updated. Returns updated token details with masked secret.
1827
+ */
1828
+ 200: Token;
1829
+ };
1830
+ export type UpdateTokenResponse = UpdateTokenResponses[keyof UpdateTokenResponses];
1831
+ export type RegenerateTokenData = {
1509
1832
  body?: never;
1510
1833
  path: {
1511
1834
  /**
1512
- * Unique identifier of the cluster. UUID v4 string in canonical form
1513
- */
1514
- cluster_id: string;
1515
- /**
1516
- * Chart deployment name as the unique identifier of the chart.
1835
+ * Generated unique identifier of the access token.
1517
1836
  */
1518
- chart_name: string;
1837
+ token_id: string;
1519
1838
  };
1520
1839
  query?: never;
1521
- url: '/clusters/{cluster_id}/charts/{chart_name}';
1840
+ url: '/tokens/{token_id}/secret';
1522
1841
  };
1523
- export type DeleteChartResponses = {
1842
+ export type RegenerateTokenErrors = {
1524
1843
  /**
1525
- * Successfully deleted.
1844
+ * Not authenticated
1526
1845
  */
1527
- 200: string;
1846
+ 401: unknown;
1528
1847
  };
1529
- export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
1530
- export type GetChartData = {
1848
+ export type RegenerateTokenResponses = {
1849
+ /**
1850
+ * Successfully updated. Returns updated token details with unmasked / raw secret.
1851
+ */
1852
+ 200: Token;
1853
+ };
1854
+ export type RegenerateTokenResponse = RegenerateTokenResponses[keyof RegenerateTokenResponses];
1855
+ export type ListTicketsData = {
1531
1856
  body?: never;
1532
- path: {
1533
- /**
1534
- * Unique identifier of the cluster. UUID v4 string in canonical form
1535
- */
1536
- cluster_id: string;
1537
- /**
1538
- * Chart deployment name as the unique identifier of the chart.
1539
- */
1540
- chart_name: string;
1541
- };
1857
+ path?: never;
1542
1858
  query?: never;
1543
- url: '/clusters/{cluster_id}/charts/{chart_name}';
1859
+ url: '/tickets';
1544
1860
  };
1545
- export type GetChartResponses = {
1861
+ export type ListTicketsResponses = {
1546
1862
  /**
1547
- * Returns a single object containing chart details.
1863
+ * Tickets for the organization.
1548
1864
  */
1549
- 200: Chart;
1865
+ 200: TicketListResponse;
1550
1866
  };
1551
- export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
1552
- export type UpdateChartData = {
1553
- body: ChartUpdateInput;
1554
- path: {
1555
- /**
1556
- * Unique identifier of the cluster. UUID v4 string in canonical form
1557
- */
1558
- cluster_id: string;
1867
+ export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
1868
+ export type CreateTicketData = {
1869
+ body: {
1559
1870
  /**
1560
- * Chart deployment name as the unique identifier of the chart.
1871
+ * JSON-encoded TicketCreateInput.
1561
1872
  */
1562
- chart_name: string;
1873
+ payload?: string;
1874
+ attachments?: Array<Blob | File>;
1563
1875
  };
1876
+ path?: never;
1564
1877
  query?: never;
1565
- url: '/clusters/{cluster_id}/charts/{chart_name}';
1878
+ url: '/tickets';
1566
1879
  };
1567
- export type UpdateChartResponses = {
1880
+ export type CreateTicketResponses = {
1568
1881
  /**
1569
- * Successfully updated.
1882
+ * Ticket created.
1570
1883
  */
1571
- 200: string;
1884
+ 200: Ticket;
1572
1885
  };
1573
- export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
1574
- export type ListFleetsData = {
1886
+ export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
1887
+ export type CloseTicketData = {
1575
1888
  body?: never;
1576
1889
  path: {
1577
- /**
1578
- * Unique identifier of the cluster. UUID v4 string in canonical form
1579
- */
1580
- cluster_id: string;
1890
+ ticket_id: string;
1581
1891
  };
1582
1892
  query?: never;
1583
- url: '/clusters/{cluster_id}/fleets';
1584
- };
1585
- export type ListFleetsErrors = {
1586
- /**
1587
- * Not authenticated
1588
- */
1589
- 401: unknown;
1893
+ url: '/tickets/{ticket_id}';
1590
1894
  };
1591
- export type ListFleetsResponses = {
1895
+ export type CloseTicketResponses = {
1592
1896
  /**
1593
- * An array of fleets
1897
+ * Ticket closed.
1594
1898
  */
1595
- 200: Array<Fleet>;
1899
+ 200: Ticket;
1596
1900
  };
1597
- export type ListFleetsResponse = ListFleetsResponses[keyof ListFleetsResponses];
1598
- export type CreateFleetData = {
1599
- body: FleetCreateInput;
1901
+ export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
1902
+ export type GetTicketData = {
1903
+ body?: never;
1600
1904
  path: {
1601
- /**
1602
- * Unique identifier of the cluster. UUID v4 string in canonical form
1603
- */
1604
- cluster_id: string;
1905
+ ticket_id: string;
1605
1906
  };
1606
1907
  query?: never;
1607
- url: '/clusters/{cluster_id}/fleets';
1908
+ url: '/tickets/{ticket_id}';
1608
1909
  };
1609
- export type CreateFleetErrors = {
1910
+ export type GetTicketResponses = {
1610
1911
  /**
1611
- * Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
1912
+ * Ticket with messages (internal notes excluded).
1612
1913
  */
1613
- 402: string;
1914
+ 200: Ticket;
1614
1915
  };
1615
- export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
1616
- export type CreateFleetResponses = {
1916
+ export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
1917
+ export type ReplyTicketData = {
1918
+ body: {
1919
+ /**
1920
+ * JSON-encoded TicketMessageInput.
1921
+ */
1922
+ payload?: string;
1923
+ attachments?: Array<Blob | File>;
1924
+ };
1925
+ path: {
1926
+ ticket_id: string;
1927
+ };
1928
+ query?: never;
1929
+ url: '/tickets/{ticket_id}/messages';
1930
+ };
1931
+ export type ReplyTicketErrors = {
1617
1932
  /**
1618
- * Successfully created. Returns created Fleet ID.
1933
+ * Ticket is closed. Open a new ticket instead.
1619
1934
  */
1620
- 200: string;
1935
+ 409: unknown;
1621
1936
  };
1622
- export type CreateFleetResponse = CreateFleetResponses[keyof CreateFleetResponses];
1623
- export type DeleteFleetData = {
1937
+ export type ReplyTicketResponses = {
1938
+ /**
1939
+ * Reply appended.
1940
+ */
1941
+ 200: TicketMessage;
1942
+ };
1943
+ export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
1944
+ export type GetTicketAttachmentData = {
1624
1945
  body?: never;
1625
1946
  path: {
1626
- /**
1627
- * Unique identifier of the cluster. UUID v4 string in canonical form
1628
- */
1629
- cluster_id: string;
1630
- /**
1631
- * Unique identifier of the fleet. UUID v4 string in canonical form
1632
- */
1633
- fleet_name: string;
1947
+ ticket_id: string;
1948
+ attachment_id: string;
1634
1949
  };
1635
1950
  query?: never;
1636
- url: '/clusters/{cluster_id}/fleets/{fleet_name}';
1951
+ url: '/tickets/{ticket_id}/attachments/{attachment_id}';
1637
1952
  };
1638
- export type DeleteFleetResponses = {
1953
+ export type GetTicketAttachmentResponses = {
1639
1954
  /**
1640
- * Successfully deleted.
1955
+ * Attachment binary stream.
1641
1956
  */
1642
- 200: string;
1957
+ 200: Blob | File;
1643
1958
  };
1644
- export type DeleteFleetResponse = DeleteFleetResponses[keyof DeleteFleetResponses];
1645
- export type GetFleetData = {
1959
+ export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
1960
+ export type ListRepositoriesData = {
1646
1961
  body?: never;
1647
- path: {
1648
- /**
1649
- * Unique identifier of the cluster. UUID v4 string in canonical form
1650
- */
1651
- cluster_id: string;
1652
- /**
1653
- * Unique identifier of the fleet. UUID v4 string in canonical form
1654
- */
1655
- fleet_name: string;
1656
- };
1962
+ path?: never;
1657
1963
  query?: never;
1658
- url: '/clusters/{cluster_id}/fleets/{fleet_name}';
1964
+ url: '/registry';
1659
1965
  };
1660
- export type GetFleetResponses = {
1966
+ export type ListRepositoriesErrors = {
1661
1967
  /**
1662
- * Returns a single object containing fleet details.
1968
+ * Not authenticated
1663
1969
  */
1664
- 200: Fleet;
1970
+ 401: unknown;
1971
+ /**
1972
+ * Internal server error
1973
+ */
1974
+ 500: unknown;
1665
1975
  };
1666
- export type GetFleetResponse = GetFleetResponses[keyof GetFleetResponses];
1667
- export type UpdateFleetData = {
1668
- body: FleetUpdateInput;
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 = {
1984
+ body?: never;
1669
1985
  path: {
1670
1986
  /**
1671
- * Unique identifier of the cluster. UUID v4 string in canonical form
1987
+ * Region where the repository is located
1672
1988
  */
1673
- cluster_id: string;
1989
+ region: string;
1674
1990
  /**
1675
- * Unique identifier of the fleet. UUID v4 string in canonical form
1991
+ * Name of the repository
1676
1992
  */
1677
- fleet_name: string;
1993
+ repository: string;
1678
1994
  };
1679
1995
  query?: never;
1680
- url: '/clusters/{cluster_id}/fleets/{fleet_name}';
1996
+ url: '/registry/{region}/{repository}';
1681
1997
  };
1682
- export type UpdateFleetErrors = {
1998
+ export type ListTagsErrors = {
1683
1999
  /**
1684
- * Organization must have a valid payment method configured to access this endpoint.
2000
+ * Not authenticated
1685
2001
  */
1686
- 402: string;
2002
+ 401: unknown;
2003
+ /**
2004
+ * Repository not found
2005
+ */
2006
+ 404: unknown;
2007
+ /**
2008
+ * Internal server error
2009
+ */
2010
+ 500: unknown;
1687
2011
  };
1688
- export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
1689
- export type UpdateFleetResponses = {
2012
+ export type ListTagsResponses = {
1690
2013
  /**
1691
- * Successfully updated.
2014
+ * Repository with tags
1692
2015
  */
1693
- 200: string;
2016
+ 200: RegistryRepositoryWithTags;
1694
2017
  };
1695
- export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
1696
- export type QueryClusterData = {
2018
+ export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
2019
+ export type DeleteTagData = {
1697
2020
  body?: never;
1698
2021
  path: {
1699
2022
  /**
1700
- * Unique identifier of the cluster. UUID v4 string in canonical form
2023
+ * Region where the repository is located
1701
2024
  */
1702
- cluster_id: string;
2025
+ region: string;
2026
+ /**
2027
+ * Name of the repository
2028
+ */
2029
+ repository: string;
2030
+ /**
2031
+ * Name of the tag
2032
+ */
2033
+ tag: string;
1703
2034
  };
1704
2035
  query?: never;
1705
- url: '/clusters/{cluster_id}/query';
2036
+ url: '/registry/{region}/{repository}/{tag}';
1706
2037
  };
1707
- export type QueryClusterErrors = {
2038
+ export type DeleteTagErrors = {
1708
2039
  /**
1709
2040
  * Not authenticated
1710
2041
  */
1711
2042
  401: unknown;
2043
+ /**
2044
+ * Tag not found
2045
+ */
2046
+ 404: unknown;
2047
+ /**
2048
+ * Internal server error
2049
+ */
2050
+ 500: unknown;
1712
2051
  };
1713
- export type QueryClusterResponses = {
2052
+ export type DeleteTagResponses = {
1714
2053
  /**
1715
- * Kubernetes API response
2054
+ * Tag successfully deleted
1716
2055
  */
1717
2056
  200: unknown;
1718
2057
  };
1719
- export type ListClustersData = {
2058
+ export type GetTagData = {
1720
2059
  body?: never;
1721
- path?: never;
2060
+ path: {
2061
+ /**
2062
+ * Region where the repository is located
2063
+ */
2064
+ region: string;
2065
+ /**
2066
+ * Name of the repository
2067
+ */
2068
+ repository: string;
2069
+ /**
2070
+ * Name of the tag
2071
+ */
2072
+ tag: string;
2073
+ };
1722
2074
  query?: never;
1723
- url: '/clusters';
2075
+ url: '/registry/{region}/{repository}/{tag}';
1724
2076
  };
1725
- export type ListClustersErrors = {
2077
+ export type GetTagErrors = {
1726
2078
  /**
1727
2079
  * Not authenticated
1728
2080
  */
1729
2081
  401: unknown;
2082
+ /**
2083
+ * Tag not found
2084
+ */
2085
+ 404: unknown;
2086
+ /**
2087
+ * Internal server error
2088
+ */
2089
+ 500: unknown;
1730
2090
  };
1731
- export type ListClustersResponses = {
2091
+ export type GetTagResponses = {
1732
2092
  /**
1733
- * An array of clusters
2093
+ * Tag details
1734
2094
  */
1735
- 200: Array<Cluster>;
2095
+ 200: RegistryTag;
1736
2096
  };
1737
- export type ListClustersResponse = ListClustersResponses[keyof ListClustersResponses];
1738
- export type CreateClusterData = {
1739
- body: ClusterCreateInput;
2097
+ export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
2098
+ export type GetOrganizationData = {
2099
+ body?: never;
1740
2100
  path?: never;
1741
2101
  query?: never;
1742
- url: '/clusters';
2102
+ url: '/organization';
1743
2103
  };
1744
- export type CreateClusterErrors = {
2104
+ export type GetOrganizationResponses = {
1745
2105
  /**
1746
- * Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
2106
+ * Returns a single object containing organization details.
1747
2107
  */
1748
- 402: string;
2108
+ 200: Organization;
1749
2109
  };
1750
- export type CreateClusterError = CreateClusterErrors[keyof CreateClusterErrors];
1751
- export type CreateClusterResponses = {
2110
+ export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
2111
+ export type CreateOrganizationData = {
2112
+ body: OrganizationCreateInput;
2113
+ path?: never;
2114
+ query?: never;
2115
+ url: '/organization';
2116
+ };
2117
+ export type CreateOrganizationResponses = {
1752
2118
  /**
1753
- * Successfully created. Returns created Cluster ID.
2119
+ * Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
2120
+ *
1754
2121
  */
1755
- 200: string;
2122
+ 200: OrganizationCreateOutput;
1756
2123
  };
1757
- export type CreateClusterResponse = CreateClusterResponses[keyof CreateClusterResponses];
1758
- export type DeleteClusterData = {
1759
- body?: never;
1760
- path: {
2124
+ export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
2125
+ export type PostMcpData = {
2126
+ /**
2127
+ * JSON-RPC 2.0 request payload
2128
+ */
2129
+ body: {
2130
+ jsonrpc?: string;
2131
+ method?: string;
2132
+ id?: string | number;
1761
2133
  /**
1762
- * Unique identifier of the cluster. UUID v4 string in canonical form
2134
+ * Method-specific parameters
1763
2135
  */
1764
- cluster_id: string;
2136
+ params?: {
2137
+ [key: string]: unknown;
2138
+ };
1765
2139
  };
2140
+ path?: never;
1766
2141
  query?: never;
1767
- url: '/clusters/{cluster_id}';
2142
+ url: '/mcp';
1768
2143
  };
1769
- export type DeleteClusterResponses = {
2144
+ export type PostMcpErrors = {
1770
2145
  /**
1771
- * Successfully deleted.
2146
+ * Not authenticated
1772
2147
  */
1773
- 200: string;
2148
+ 401: unknown;
1774
2149
  };
1775
- export type DeleteClusterResponse = DeleteClusterResponses[keyof DeleteClusterResponses];
1776
- export type GetClusterData = {
1777
- body?: never;
1778
- path: {
1779
- /**
1780
- * Unique identifier of the cluster. UUID v4 string in canonical form
1781
- */
1782
- cluster_id: string;
2150
+ export type PostMcpResponses = {
2151
+ /**
2152
+ * JSON-RPC 2.0 success or error response
2153
+ */
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
+ };
1783
2164
  };
2165
+ };
2166
+ export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
2167
+ export type ListMarketplaceChartsData = {
2168
+ body?: never;
2169
+ path?: never;
1784
2170
  query?: never;
1785
- url: '/clusters/{cluster_id}';
2171
+ url: '/marketplace';
1786
2172
  };
1787
- export type GetClusterResponses = {
2173
+ export type ListMarketplaceChartsErrors = {
1788
2174
  /**
1789
- * Returns a single object containing cluster details.
2175
+ * Not authenticated
1790
2176
  */
1791
- 200: Cluster;
1792
- };
1793
- export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
1794
- export type UpdateClusterData = {
1795
- body: ClusterUpdateInput;
1796
- path: {
1797
- /**
1798
- * Unique identifier of the cluster. UUID v4 string in canonical form
1799
- */
1800
- cluster_id: string;
1801
- };
1802
- query?: never;
1803
- url: '/clusters/{cluster_id}';
2177
+ 401: unknown;
1804
2178
  };
1805
- export type UpdateClusterResponses = {
2179
+ export type ListMarketplaceChartsResponses = {
1806
2180
  /**
1807
- * Successfully updated. Returns updated cluster details.
2181
+ * An array of chart listings in the marketplace.
1808
2182
  */
1809
- 200: Cluster;
2183
+ 200: Array<MarketplaceListing>;
1810
2184
  };
1811
- export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
1812
- export type GetJoinInformationData = {
2185
+ export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
2186
+ export type GetMarketplaceChartFilesData = {
1813
2187
  body?: never;
1814
2188
  path: {
1815
2189
  /**
1816
- * Unique identifier of the cluster. UUID v4 string in canonical form
2190
+ * Name of the chart in the marketplace.
1817
2191
  */
1818
- 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;
1819
2197
  };
1820
2198
  query?: never;
1821
- url: '/clusters/{cluster_id}/join_information';
2199
+ url: '/marketplace/{chart_name}/files/{version_channel}';
1822
2200
  };
1823
- export type GetJoinInformationErrors = {
2201
+ export type GetMarketplaceChartFilesErrors = {
1824
2202
  /**
1825
- * Not authenticated
2203
+ * Chart not found or no version matches the channel
1826
2204
  */
1827
- 401: unknown;
2205
+ 404: unknown;
1828
2206
  };
1829
- export type GetJoinInformationResponses = {
2207
+ export type GetMarketplaceChartFilesResponses = {
1830
2208
  /**
1831
- * An object of cluster join information
2209
+ * Returns an object containing the chart files for the latest matching version.
1832
2210
  */
1833
- 200: ClusterJoinInformation;
2211
+ 200: MarketplaceListingFiles;
1834
2212
  };
1835
- export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
2213
+ export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
1836
2214
  export type ListInvitesData = {
1837
2215
  body?: never;
1838
2216
  path?: never;
@@ -1853,12 +2231,7 @@ export type ListInvitesResponses = {
1853
2231
  };
1854
2232
  export type ListInvitesResponse = ListInvitesResponses[keyof ListInvitesResponses];
1855
2233
  export type CreateInviteData = {
1856
- body: {
1857
- /**
1858
- * User email address
1859
- */
1860
- email?: string;
1861
- };
2234
+ body: InviteCreateInput;
1862
2235
  path?: never;
1863
2236
  query?: never;
1864
2237
  url: '/invites';
@@ -1883,9 +2256,18 @@ export type GetInviteData = {
1883
2256
  };
1884
2257
  export type GetInviteResponses = {
1885
2258
  /**
1886
- * Returns a single object containing invite details.
2259
+ * The invitation code is valid. Returns the invited email and organization.
1887
2260
  */
1888
- 200: Invite;
2261
+ 200: {
2262
+ /**
2263
+ * Email address the invite was issued to.
2264
+ */
2265
+ email?: string;
2266
+ /**
2267
+ * Identifier of the organization the invite grants access to.
2268
+ */
2269
+ organization_id?: string;
2270
+ };
1889
2271
  };
1890
2272
  export type GetInviteResponse = GetInviteResponses[keyof GetInviteResponses];
1891
2273
  export type DeleteInviteData = {
@@ -1905,617 +2287,654 @@ export type DeleteInviteResponses = {
1905
2287
  */
1906
2288
  200: unknown;
1907
2289
  };
1908
- export type ListMarketplaceChartsData = {
2290
+ export type QueryClusterData = {
1909
2291
  body?: never;
1910
- path?: never;
2292
+ path: {
2293
+ /**
2294
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2295
+ */
2296
+ cluster_id: string;
2297
+ };
1911
2298
  query?: never;
1912
- url: '/marketplace';
2299
+ url: '/clusters/{cluster_id}/query';
1913
2300
  };
1914
- export type ListMarketplaceChartsErrors = {
2301
+ export type QueryClusterErrors = {
1915
2302
  /**
1916
2303
  * Not authenticated
1917
2304
  */
1918
2305
  401: unknown;
1919
2306
  };
1920
- export type ListMarketplaceChartsResponses = {
2307
+ export type QueryClusterResponses = {
1921
2308
  /**
1922
- * An array of chart listings in the marketplace.
2309
+ * Kubernetes API response
1923
2310
  */
1924
- 200: Array<MarketplaceListing>;
2311
+ 200: unknown;
1925
2312
  };
1926
- export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
1927
- export type GetMarketplaceChartFilesData = {
2313
+ export type ListFleetsData = {
1928
2314
  body?: never;
1929
2315
  path: {
1930
2316
  /**
1931
- * Name of the chart in the marketplace.
1932
- */
1933
- chart_name: string;
1934
- /**
1935
- * 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).
2317
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1936
2318
  */
1937
- version_channel: string;
2319
+ cluster_id: string;
1938
2320
  };
1939
2321
  query?: never;
1940
- url: '/marketplace/{chart_name}/files/{version_channel}';
2322
+ url: '/clusters/{cluster_id}/fleets';
1941
2323
  };
1942
- export type GetMarketplaceChartFilesErrors = {
2324
+ export type ListFleetsErrors = {
1943
2325
  /**
1944
- * Chart not found or no version matches the channel
2326
+ * Not authenticated
1945
2327
  */
1946
- 404: unknown;
2328
+ 401: unknown;
1947
2329
  };
1948
- export type GetMarketplaceChartFilesResponses = {
2330
+ export type ListFleetsResponses = {
1949
2331
  /**
1950
- * Returns an object containing the chart files for the latest matching version.
2332
+ * An array of fleets
1951
2333
  */
1952
- 200: MarketplaceListingFiles;
2334
+ 200: Array<Fleet>;
1953
2335
  };
1954
- export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
1955
- export type PostMcpData = {
1956
- /**
1957
- * JSON-RPC 2.0 request payload
1958
- */
1959
- body: {
1960
- jsonrpc?: string;
1961
- method?: string;
1962
- id?: string | number;
2336
+ export type ListFleetsResponse = ListFleetsResponses[keyof ListFleetsResponses];
2337
+ export type CreateFleetData = {
2338
+ body: FleetCreateInput;
2339
+ path: {
1963
2340
  /**
1964
- * Method-specific parameters
2341
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1965
2342
  */
1966
- params?: {
1967
- [key: string]: unknown;
1968
- };
2343
+ cluster_id: string;
1969
2344
  };
1970
- path?: never;
1971
2345
  query?: never;
1972
- url: '/mcp';
2346
+ url: '/clusters/{cluster_id}/fleets';
1973
2347
  };
1974
- export type PostMcpErrors = {
2348
+ export type CreateFleetErrors = {
1975
2349
  /**
1976
- * Not authenticated
2350
+ * Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
1977
2351
  */
1978
- 401: unknown;
2352
+ 402: string;
2353
+ /**
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.
2355
+ */
2356
+ 409: string;
1979
2357
  };
1980
- export type PostMcpResponses = {
2358
+ export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
2359
+ export type CreateFleetResponses = {
1981
2360
  /**
1982
- * JSON-RPC 2.0 success or error response
2361
+ * Successfully created. Returns created Fleet ID.
1983
2362
  */
1984
- 200: {
1985
- jsonrpc?: string;
1986
- id?: string | number;
1987
- result?: {
1988
- [key: string]: unknown;
1989
- };
1990
- error?: {
1991
- code?: number;
1992
- message?: string;
1993
- };
1994
- };
2363
+ 200: string;
1995
2364
  };
1996
- export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
1997
- export type GetOrganizationData = {
2365
+ export type CreateFleetResponse = CreateFleetResponses[keyof CreateFleetResponses];
2366
+ export type DeleteFleetData = {
1998
2367
  body?: never;
1999
- path?: never;
2368
+ path: {
2369
+ /**
2370
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2371
+ */
2372
+ cluster_id: string;
2373
+ /**
2374
+ * Unique identifier of the fleet. UUID v4 string in canonical form
2375
+ */
2376
+ fleet_name: string;
2377
+ };
2000
2378
  query?: never;
2001
- url: '/organization';
2379
+ url: '/clusters/{cluster_id}/fleets/{fleet_name}';
2002
2380
  };
2003
- export type GetOrganizationResponses = {
2381
+ export type DeleteFleetErrors = {
2004
2382
  /**
2005
- * Returns a single object containing organization details.
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.
2006
2384
  */
2007
- 200: Organization;
2385
+ 409: string;
2008
2386
  };
2009
- export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
2010
- export type CreateOrganizationData = {
2011
- body: OrganizationCreateInput;
2012
- path?: never;
2387
+ export type DeleteFleetError = DeleteFleetErrors[keyof DeleteFleetErrors];
2388
+ export type DeleteFleetResponses = {
2389
+ /**
2390
+ * Successfully deleted.
2391
+ */
2392
+ 200: string;
2393
+ };
2394
+ export type DeleteFleetResponse = DeleteFleetResponses[keyof DeleteFleetResponses];
2395
+ export type GetFleetData = {
2396
+ body?: 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
+ };
2013
2407
  query?: never;
2014
- url: '/organization';
2408
+ url: '/clusters/{cluster_id}/fleets/{fleet_name}';
2015
2409
  };
2016
- export type CreateOrganizationResponses = {
2410
+ export type GetFleetResponses = {
2017
2411
  /**
2018
- * Successfully created a new organization.
2412
+ * Returns a single object containing fleet details.
2019
2413
  */
2020
- 200: unknown;
2414
+ 200: Fleet;
2021
2415
  };
2022
- export type ListRepositoriesData = {
2023
- body?: never;
2024
- 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
+ };
2025
2429
  query?: never;
2026
- url: '/registry';
2430
+ url: '/clusters/{cluster_id}/fleets/{fleet_name}';
2027
2431
  };
2028
- export type ListRepositoriesErrors = {
2432
+ export type UpdateFleetErrors = {
2029
2433
  /**
2030
- * Not authenticated
2434
+ * Organization must have a valid payment method configured to access this endpoint.
2031
2435
  */
2032
- 401: unknown;
2436
+ 402: string;
2033
2437
  /**
2034
- * Internal server error
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.
2035
2439
  */
2036
- 500: unknown;
2440
+ 409: string;
2037
2441
  };
2038
- export type ListRepositoriesResponses = {
2442
+ export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
2443
+ export type UpdateFleetResponses = {
2039
2444
  /**
2040
- * List of repositories
2445
+ * Successfully updated.
2041
2446
  */
2042
- 200: Array<RegistryRepository>;
2447
+ 200: string;
2043
2448
  };
2044
- export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
2045
- export type ListTagsData = {
2449
+ export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
2450
+ export type ListChartsData = {
2046
2451
  body?: never;
2047
2452
  path: {
2048
2453
  /**
2049
- * Region where the repository is located
2050
- */
2051
- region: string;
2052
- /**
2053
- * Name of the repository
2454
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2054
2455
  */
2055
- repository: string;
2456
+ cluster_id: string;
2056
2457
  };
2057
2458
  query?: never;
2058
- url: '/registry/{region}/{repository}';
2459
+ url: '/clusters/{cluster_id}/charts';
2059
2460
  };
2060
- export type ListTagsErrors = {
2461
+ export type ListChartsErrors = {
2061
2462
  /**
2062
2463
  * Not authenticated
2063
2464
  */
2064
2465
  401: unknown;
2466
+ };
2467
+ export type ListChartsResponses = {
2065
2468
  /**
2066
- * Repository not found
2469
+ * An array of charts
2067
2470
  */
2068
- 404: unknown;
2471
+ 200: Array<Chart>;
2472
+ };
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 = {
2069
2486
  /**
2070
- * Internal server error
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.
2071
2488
  */
2072
- 500: unknown;
2489
+ 409: string;
2073
2490
  };
2074
- export type ListTagsResponses = {
2491
+ export type CreateChartError = CreateChartErrors[keyof CreateChartErrors];
2492
+ export type CreateChartResponses = {
2075
2493
  /**
2076
- * Repository with tags
2494
+ * Successfully created. Returns created Chart ID.
2077
2495
  */
2078
- 200: RegistryRepositoryWithTags;
2496
+ 200: string;
2079
2497
  };
2080
- export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
2081
- export type DeleteTagData = {
2498
+ export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
2499
+ export type DeleteChartData = {
2082
2500
  body?: never;
2083
2501
  path: {
2084
2502
  /**
2085
- * Region where the repository is located
2086
- */
2087
- region: string;
2088
- /**
2089
- * Name of the repository
2503
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2090
2504
  */
2091
- repository: string;
2505
+ cluster_id: string;
2092
2506
  /**
2093
- * Name of the tag
2507
+ * Chart deployment name as the unique identifier of the chart.
2094
2508
  */
2095
- tag: string;
2509
+ chart_name: string;
2096
2510
  };
2097
2511
  query?: never;
2098
- url: '/registry/{region}/{repository}/{tag}';
2512
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
2099
2513
  };
2100
- export type DeleteTagErrors = {
2101
- /**
2102
- * Not authenticated
2103
- */
2104
- 401: unknown;
2105
- /**
2106
- * Tag not found
2107
- */
2108
- 404: unknown;
2514
+ export type DeleteChartErrors = {
2109
2515
  /**
2110
- * 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.
2111
2517
  */
2112
- 500: unknown;
2518
+ 409: string;
2113
2519
  };
2114
- export type DeleteTagResponses = {
2520
+ export type DeleteChartError = DeleteChartErrors[keyof DeleteChartErrors];
2521
+ export type DeleteChartResponses = {
2115
2522
  /**
2116
- * Tag successfully deleted
2523
+ * Successfully deleted.
2117
2524
  */
2118
- 200: unknown;
2525
+ 200: string;
2119
2526
  };
2120
- export type GetTagData = {
2527
+ export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
2528
+ export type GetChartData = {
2121
2529
  body?: never;
2122
2530
  path: {
2123
2531
  /**
2124
- * Region where the repository is located
2125
- */
2126
- region: string;
2127
- /**
2128
- * Name of the repository
2532
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2129
2533
  */
2130
- repository: string;
2534
+ cluster_id: string;
2131
2535
  /**
2132
- * Name of the tag
2536
+ * Chart deployment name as the unique identifier of the chart.
2133
2537
  */
2134
- tag: string;
2538
+ chart_name: string;
2135
2539
  };
2136
2540
  query?: never;
2137
- url: '/registry/{region}/{repository}/{tag}';
2541
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
2138
2542
  };
2139
- export type GetTagErrors = {
2140
- /**
2141
- * Not authenticated
2142
- */
2143
- 401: unknown;
2543
+ export type GetChartResponses = {
2144
2544
  /**
2145
- * Tag not found
2545
+ * Returns a single object containing chart details.
2146
2546
  */
2147
- 404: unknown;
2547
+ 200: Chart;
2548
+ };
2549
+ export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
2550
+ export type UpdateChartData = {
2551
+ body: ChartUpdateInput;
2552
+ path: {
2553
+ /**
2554
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2555
+ */
2556
+ cluster_id: string;
2557
+ /**
2558
+ * Chart deployment name as the unique identifier of the chart.
2559
+ */
2560
+ chart_name: string;
2561
+ };
2562
+ query?: never;
2563
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
2564
+ };
2565
+ export type UpdateChartErrors = {
2148
2566
  /**
2149
- * 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.
2150
2568
  */
2151
- 500: unknown;
2569
+ 409: string;
2152
2570
  };
2153
- export type GetTagResponses = {
2571
+ export type UpdateChartError = UpdateChartErrors[keyof UpdateChartErrors];
2572
+ export type UpdateChartResponses = {
2154
2573
  /**
2155
- * Tag details
2574
+ * Successfully updated.
2156
2575
  */
2157
- 200: RegistryTag;
2576
+ 200: string;
2158
2577
  };
2159
- export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
2160
- export type ListTicketsData = {
2578
+ export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
2579
+ export type ListClustersData = {
2161
2580
  body?: never;
2162
2581
  path?: never;
2163
2582
  query?: never;
2164
- url: '/tickets';
2583
+ url: '/clusters';
2165
2584
  };
2166
- export type ListTicketsResponses = {
2585
+ export type ListClustersErrors = {
2167
2586
  /**
2168
- * Tickets for the organization.
2587
+ * Not authenticated
2169
2588
  */
2170
- 200: TicketListResponse;
2589
+ 401: unknown;
2171
2590
  };
2172
- export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
2173
- export type CreateTicketData = {
2174
- body: {
2175
- /**
2176
- * JSON-encoded TicketCreateInput.
2177
- */
2178
- payload?: string;
2179
- attachments?: Array<Blob | File>;
2180
- };
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;
2181
2600
  path?: never;
2182
2601
  query?: never;
2183
- url: '/tickets';
2602
+ url: '/clusters';
2184
2603
  };
2185
- export type CreateTicketResponses = {
2604
+ export type CreateClusterErrors = {
2186
2605
  /**
2187
- * Ticket created.
2606
+ * Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
2188
2607
  */
2189
- 200: Ticket;
2190
- };
2191
- export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
2192
- export type CloseTicketData = {
2193
- body?: never;
2194
- path: {
2195
- ticket_id: string;
2196
- };
2197
- query?: never;
2198
- url: '/tickets/{ticket_id}';
2608
+ 402: string;
2199
2609
  };
2200
- export type CloseTicketResponses = {
2610
+ export type CreateClusterError = CreateClusterErrors[keyof CreateClusterErrors];
2611
+ export type CreateClusterResponses = {
2201
2612
  /**
2202
- * Ticket closed.
2613
+ * Successfully created. Returns created Cluster ID.
2203
2614
  */
2204
- 200: Ticket;
2615
+ 200: string;
2205
2616
  };
2206
- export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
2207
- export type GetTicketData = {
2617
+ export type CreateClusterResponse = CreateClusterResponses[keyof CreateClusterResponses];
2618
+ export type DeleteClusterData = {
2208
2619
  body?: never;
2209
2620
  path: {
2210
- ticket_id: string;
2621
+ /**
2622
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2623
+ */
2624
+ cluster_id: string;
2211
2625
  };
2212
2626
  query?: never;
2213
- url: '/tickets/{ticket_id}';
2627
+ url: '/clusters/{cluster_id}';
2214
2628
  };
2215
- export type GetTicketResponses = {
2629
+ export type DeleteClusterErrors = {
2216
2630
  /**
2217
- * Ticket with messages (internal notes excluded).
2631
+ * Cluster not found; it does not exist or has already been deleted.
2218
2632
  */
2219
- 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;
2220
2642
  };
2221
- export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
2222
- export type ReplyTicketData = {
2223
- body: {
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 = {
2652
+ body?: never;
2653
+ path: {
2224
2654
  /**
2225
- * JSON-encoded TicketMessageInput.
2655
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2226
2656
  */
2227
- payload?: string;
2228
- attachments?: Array<Blob | File>;
2229
- };
2230
- path: {
2231
- ticket_id: string;
2657
+ cluster_id: string;
2232
2658
  };
2233
2659
  query?: never;
2234
- url: '/tickets/{ticket_id}/messages';
2235
- };
2236
- export type ReplyTicketErrors = {
2237
- /**
2238
- * Ticket is closed. Open a new ticket instead.
2239
- */
2240
- 409: unknown;
2660
+ url: '/clusters/{cluster_id}';
2241
2661
  };
2242
- export type ReplyTicketResponses = {
2662
+ export type GetClusterResponses = {
2243
2663
  /**
2244
- * Reply appended.
2664
+ * Returns a single object containing cluster details.
2245
2665
  */
2246
- 200: TicketMessage;
2666
+ 200: Cluster;
2247
2667
  };
2248
- export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
2249
- export type GetTicketAttachmentData = {
2250
- body?: never;
2668
+ export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
2669
+ export type UpdateClusterData = {
2670
+ body: ClusterUpdateInput;
2251
2671
  path: {
2252
- ticket_id: string;
2253
- attachment_id: string;
2672
+ /**
2673
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2674
+ */
2675
+ cluster_id: string;
2254
2676
  };
2255
2677
  query?: never;
2256
- url: '/tickets/{ticket_id}/attachments/{attachment_id}';
2678
+ url: '/clusters/{cluster_id}';
2257
2679
  };
2258
- export type GetTicketAttachmentResponses = {
2680
+ export type UpdateClusterErrors = {
2259
2681
  /**
2260
- * Attachment binary stream.
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.
2261
2683
  */
2262
- 200: Blob | File;
2684
+ 409: string;
2263
2685
  };
2264
- export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
2265
- export type ListTokensData = {
2686
+ export type UpdateClusterError = UpdateClusterErrors[keyof UpdateClusterErrors];
2687
+ export type UpdateClusterResponses = {
2688
+ /**
2689
+ * Successfully updated. Returns updated cluster details.
2690
+ */
2691
+ 200: Cluster;
2692
+ };
2693
+ export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
2694
+ export type GetJoinInformationData = {
2266
2695
  body?: never;
2267
- path?: never;
2696
+ path: {
2697
+ /**
2698
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2699
+ */
2700
+ cluster_id: string;
2701
+ };
2268
2702
  query?: never;
2269
- url: '/tokens';
2703
+ url: '/clusters/{cluster_id}/join_information';
2270
2704
  };
2271
- export type ListTokensErrors = {
2705
+ export type GetJoinInformationErrors = {
2272
2706
  /**
2273
2707
  * Not authenticated
2274
2708
  */
2275
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;
2276
2714
  };
2277
- export type ListTokensResponses = {
2715
+ export type GetJoinInformationError = GetJoinInformationErrors[keyof GetJoinInformationErrors];
2716
+ export type GetJoinInformationResponses = {
2278
2717
  /**
2279
- * Returns a list of access token details with masked secrets.
2718
+ * An object of cluster join information
2280
2719
  */
2281
- 200: Array<Token>;
2720
+ 200: ClusterJoinInformation;
2282
2721
  };
2283
- export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
2284
- export type CreateTokenData = {
2285
- body: TokenCreateInput;
2722
+ export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
2723
+ export type GetUsageData = {
2724
+ body?: never;
2286
2725
  path?: never;
2287
- query?: never;
2288
- url: '/tokens';
2726
+ query?: {
2727
+ /**
2728
+ * 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)
2729
+ */
2730
+ granularity?: 'hourly' | 'daily' | 'monthly';
2731
+ };
2732
+ url: '/billing/usage';
2289
2733
  };
2290
- export type CreateTokenErrors = {
2734
+ export type GetUsageErrors = {
2291
2735
  /**
2292
2736
  * Not authenticated
2293
2737
  */
2294
2738
  401: unknown;
2295
2739
  };
2296
- export type CreateTokenResponses = {
2740
+ export type GetUsageResponses = {
2297
2741
  /**
2298
- * Successfully created. Returns created token details with unmasked/raw secret.
2742
+ * Usage data with facets for filtering
2299
2743
  */
2300
- 200: Token;
2744
+ 200: UsageResponse;
2301
2745
  };
2302
- export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
2303
- export type DeleteTokenData = {
2746
+ export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
2747
+ export type GetPaymentMethodSecretData = {
2304
2748
  body?: never;
2305
- path: {
2306
- /**
2307
- * Generated unique identifier of the access token.
2308
- */
2309
- token_id: string;
2310
- };
2749
+ path?: never;
2311
2750
  query?: never;
2312
- url: '/tokens/{token_id}';
2751
+ url: '/billing/payment-method';
2313
2752
  };
2314
- export type DeleteTokenResponses = {
2753
+ export type GetPaymentMethodSecretResponses = {
2315
2754
  /**
2316
- * Successfully deleted.
2755
+ * 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.
2756
+ *
2317
2757
  */
2318
- 200: unknown;
2319
- };
2320
- export type GetTokenData = {
2321
- body?: never;
2322
- path: {
2758
+ 200: {
2323
2759
  /**
2324
- * Generated unique identifier of the access token.
2760
+ * The client secret.
2325
2761
  */
2326
- token_id: string;
2762
+ id?: string;
2327
2763
  };
2764
+ };
2765
+ export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
2766
+ export type ListPaymentMethodsData = {
2767
+ body?: never;
2768
+ path?: never;
2328
2769
  query?: never;
2329
- url: '/tokens/{token_id}';
2770
+ url: '/billing/payment-methods';
2330
2771
  };
2331
- export type GetTokenErrors = {
2772
+ export type ListPaymentMethodsErrors = {
2332
2773
  /**
2333
2774
  * Not authenticated
2334
2775
  */
2335
2776
  401: unknown;
2336
2777
  };
2337
- export type GetTokenResponses = {
2778
+ export type ListPaymentMethodsResponses = {
2338
2779
  /**
2339
- * Returns access token details with masked secret.
2780
+ * An array of payment methods.
2340
2781
  */
2341
- 200: Token;
2782
+ 200: Array<PaymentMethod>;
2342
2783
  };
2343
- export type GetTokenResponse = GetTokenResponses[keyof GetTokenResponses];
2344
- export type UpdateTokenData = {
2345
- body: TokenUpdateInput;
2784
+ export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
2785
+ export type SetDefaultPaymentMethodData = {
2786
+ body?: never;
2346
2787
  path: {
2347
2788
  /**
2348
- * Generated unique identifier of the access token.
2789
+ * Stripe payment method identifier.
2349
2790
  */
2350
- token_id: string;
2791
+ paymentMethodId: string;
2351
2792
  };
2352
2793
  query?: never;
2353
- url: '/tokens/{token_id}';
2794
+ url: '/billing/payment-methods/{paymentMethodId}/default';
2354
2795
  };
2355
- export type UpdateTokenErrors = {
2796
+ export type SetDefaultPaymentMethodErrors = {
2797
+ /**
2798
+ * The bank transfer payment method cannot be set as the default.
2799
+ */
2800
+ 400: unknown;
2356
2801
  /**
2357
2802
  * Not authenticated
2358
2803
  */
2359
2804
  401: unknown;
2805
+ /**
2806
+ * Payment method not found.
2807
+ */
2808
+ 404: unknown;
2360
2809
  };
2361
- export type UpdateTokenResponses = {
2810
+ export type SetDefaultPaymentMethodResponses = {
2362
2811
  /**
2363
- * Successfully updated. Returns updated token details with masked secret.
2812
+ * Default payment method updated.
2364
2813
  */
2365
- 200: Token;
2814
+ 204: void;
2366
2815
  };
2367
- export type UpdateTokenResponse = UpdateTokenResponses[keyof UpdateTokenResponses];
2368
- export type RegenerateTokenData = {
2816
+ export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
2817
+ export type DeletePaymentMethodData = {
2369
2818
  body?: never;
2370
2819
  path: {
2371
2820
  /**
2372
- * Generated unique identifier of the access token.
2821
+ * Stripe payment method identifier.
2373
2822
  */
2374
- token_id: string;
2823
+ paymentMethodId: string;
2375
2824
  };
2376
2825
  query?: never;
2377
- url: '/tokens/{token_id}/secret';
2826
+ url: '/billing/payment-methods/{paymentMethodId}';
2378
2827
  };
2379
- export type RegenerateTokenErrors = {
2828
+ export type DeletePaymentMethodErrors = {
2829
+ /**
2830
+ * The bank transfer payment method cannot be removed.
2831
+ */
2832
+ 400: unknown;
2380
2833
  /**
2381
2834
  * Not authenticated
2382
2835
  */
2383
2836
  401: unknown;
2384
- };
2385
- export type RegenerateTokenResponses = {
2386
2837
  /**
2387
- * Successfully updated. Returns updated token details with unmasked / raw secret.
2838
+ * Payment method not found.
2388
2839
  */
2389
- 200: Token;
2390
- };
2391
- export type RegenerateTokenResponse = RegenerateTokenResponses[keyof RegenerateTokenResponses];
2392
- export type ListUserOrganizationsData = {
2393
- body?: never;
2394
- path: {
2395
- /**
2396
- * User email address.
2397
- */
2398
- email: string;
2399
- };
2400
- query?: never;
2401
- url: '/users/organizations/{email}';
2840
+ 404: unknown;
2841
+ /**
2842
+ * Cannot delete the only remaining payment method.
2843
+ */
2844
+ 409: unknown;
2402
2845
  };
2403
- export type ListUserOrganizationsResponses = {
2846
+ export type DeletePaymentMethodResponses = {
2404
2847
  /**
2405
- * An array of organizations the user belongs to.
2848
+ * Payment method deleted.
2406
2849
  */
2407
- 200: Array<{
2408
- /**
2409
- * Unique identifier of the organization. UUID v4 string in canonical form
2410
- */
2411
- realm?: string;
2412
- /**
2413
- * Human-readable name of the organization
2414
- */
2415
- displayName?: string;
2416
- }>;
2850
+ 204: void;
2417
2851
  };
2418
- export type ListUserOrganizationsResponse = ListUserOrganizationsResponses[keyof ListUserOrganizationsResponses];
2419
- export type ListUsersData = {
2852
+ export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
2853
+ export type ListInvoicesData = {
2420
2854
  body?: never;
2421
2855
  path?: never;
2422
2856
  query?: never;
2423
- url: '/users';
2857
+ url: '/billing/invoices';
2424
2858
  };
2425
- export type ListUsersErrors = {
2859
+ export type ListInvoicesErrors = {
2426
2860
  /**
2427
2861
  * Not authenticated
2428
2862
  */
2429
2863
  401: unknown;
2430
2864
  };
2431
- export type ListUsersResponses = {
2865
+ export type ListInvoicesResponses = {
2432
2866
  /**
2433
- * An array of users
2867
+ * An array of usage records.
2434
2868
  */
2435
- 200: Array<User>;
2869
+ 200: Array<Invoice>;
2436
2870
  };
2437
- export type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
2438
- export type CreateUserData = {
2439
- body: UserCreateInput;
2871
+ export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
2872
+ export type GetContactData = {
2873
+ body?: never;
2440
2874
  path?: never;
2441
2875
  query?: never;
2442
- url: '/users';
2876
+ url: '/billing/contact';
2443
2877
  };
2444
- export type CreateUserResponses = {
2878
+ export type GetContactResponses = {
2445
2879
  /**
2446
- * Successfully created. Returns created user details.
2880
+ * Returns a single object containing organization contact and billing address details.
2447
2881
  */
2448
- 200: User;
2882
+ 200: BillingContact;
2449
2883
  };
2450
- export type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];
2451
- export type DeleteUserData = {
2452
- body?: never;
2453
- path: {
2454
- /**
2455
- * Unique user identifier. UUID v4 string in canonical form
2456
- */
2457
- user_id: string;
2458
- };
2884
+ export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
2885
+ export type UpdateContactData = {
2886
+ body: BillingContact;
2887
+ path?: never;
2459
2888
  query?: never;
2460
- url: '/users/{user_id}';
2889
+ url: '/billing/contact';
2461
2890
  };
2462
- export type DeleteUserErrors = {
2891
+ export type UpdateContactResponses = {
2463
2892
  /**
2464
- * Deleting own user is not allowed. Delete your organization instead.
2893
+ * Successfully updated. Returns updated organization details.
2465
2894
  */
2466
- 400: unknown;
2895
+ 200: BillingContact;
2896
+ };
2897
+ export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
2898
+ export type GetCreditsData = {
2899
+ body?: never;
2900
+ path?: never;
2901
+ query?: never;
2902
+ url: '/billing/credits';
2903
+ };
2904
+ export type GetCreditsErrors = {
2467
2905
  /**
2468
2906
  * Not authenticated
2469
2907
  */
2470
2908
  401: unknown;
2471
2909
  };
2472
- export type DeleteUserResponses = {
2910
+ export type GetCreditsResponses = {
2473
2911
  /**
2474
- * User profile information
2912
+ * An array of the applied promotional credits records.
2475
2913
  */
2476
- 200: User;
2914
+ 200: Array<BillingCredits>;
2477
2915
  };
2478
- export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
2479
- export type GetUserData = {
2480
- body?: never;
2481
- path: {
2916
+ export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
2917
+ export type RedeemCreditsData = {
2918
+ body: {
2482
2919
  /**
2483
- * Unique user identifier. UUID v4 string in canonical form
2920
+ * Promotional code to redeem
2484
2921
  */
2485
- user_id: string;
2922
+ code?: string;
2486
2923
  };
2924
+ path?: never;
2487
2925
  query?: never;
2488
- url: '/users/{user_id}';
2926
+ url: '/billing/credits';
2489
2927
  };
2490
- export type GetUserErrors = {
2928
+ export type RedeemCreditsErrors = {
2491
2929
  /**
2492
2930
  * Not authenticated
2493
2931
  */
2494
2932
  401: unknown;
2495
2933
  };
2496
- export type GetUserResponses = {
2497
- /**
2498
- * User profile information
2499
- */
2500
- 200: User;
2501
- };
2502
- export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
2503
- export type UpdateUserData = {
2504
- body: UserUpdateInput;
2505
- path: {
2506
- /**
2507
- * Unique user identifier. UUID v4 string in canonical form
2508
- */
2509
- user_id: string;
2510
- };
2511
- query?: never;
2512
- url: '/users/{user_id}';
2513
- };
2514
- export type UpdateUserResponses = {
2934
+ export type RedeemCreditsResponses = {
2515
2935
  /**
2516
- * Successfully created. Returns created user details.
2936
+ * Successfully created a new organization.
2517
2937
  */
2518
- 200: User;
2938
+ 200: unknown;
2519
2939
  };
2520
- export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
2521
2940
  //# sourceMappingURL=types.gen.d.ts.map