@cloudfleet/sdk 0.0.1-4a07f21 → 0.0.1-4cd945a

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