@cloudfleet/sdk 0.0.1-91321da → 0.0.1-933646b

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