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

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