@cloudfleet/sdk 0.0.1-b1aeed4 → 0.0.1-b5444d4

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.
Files changed (64) hide show
  1. package/dist/@tanstack/react-query.gen.d.ts +1149 -0
  2. package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
  3. package/dist/@tanstack/react-query.gen.js +1165 -0
  4. package/dist/@tanstack/react-query.gen.js.map +1 -0
  5. package/dist/client/client.gen.d.ts.map +1 -1
  6. package/dist/client/client.gen.js +167 -96
  7. package/dist/client/client.gen.js.map +1 -1
  8. package/dist/client/index.d.ts +2 -1
  9. package/dist/client/index.d.ts.map +1 -1
  10. package/dist/client/index.js +1 -0
  11. package/dist/client/index.js.map +1 -1
  12. package/dist/client/types.gen.d.ts +16 -18
  13. package/dist/client/types.gen.d.ts.map +1 -1
  14. package/dist/client/utils.gen.d.ts +13 -21
  15. package/dist/client/utils.gen.d.ts.map +1 -1
  16. package/dist/client/utils.gen.js +58 -115
  17. package/dist/client/utils.gen.js.map +1 -1
  18. package/dist/client.gen.d.ts +3 -3
  19. package/dist/client.gen.d.ts.map +1 -1
  20. package/dist/client.gen.js +1 -3
  21. package/dist/client.gen.js.map +1 -1
  22. package/dist/core/auth.gen.d.ts.map +1 -1
  23. package/dist/core/auth.gen.js.map +1 -1
  24. package/dist/core/bodySerializer.gen.d.ts +16 -8
  25. package/dist/core/bodySerializer.gen.d.ts.map +1 -1
  26. package/dist/core/bodySerializer.gen.js +4 -1
  27. package/dist/core/bodySerializer.gen.js.map +1 -1
  28. package/dist/core/params.gen.d.ts +10 -0
  29. package/dist/core/params.gen.d.ts.map +1 -1
  30. package/dist/core/params.gen.js +18 -6
  31. package/dist/core/params.gen.js.map +1 -1
  32. package/dist/core/pathSerializer.gen.d.ts.map +1 -1
  33. package/dist/core/pathSerializer.gen.js +3 -11
  34. package/dist/core/pathSerializer.gen.js.map +1 -1
  35. package/dist/core/queryKeySerializer.gen.d.ts +19 -0
  36. package/dist/core/queryKeySerializer.gen.d.ts.map +1 -0
  37. package/dist/core/queryKeySerializer.gen.js +93 -0
  38. package/dist/core/queryKeySerializer.gen.js.map +1 -0
  39. package/dist/core/serverSentEvents.gen.d.ts +72 -0
  40. package/dist/core/serverSentEvents.gen.d.ts.map +1 -0
  41. package/dist/core/serverSentEvents.gen.js +133 -0
  42. package/dist/core/serverSentEvents.gen.js.map +1 -0
  43. package/dist/core/types.gen.d.ts +13 -13
  44. package/dist/core/types.gen.d.ts.map +1 -1
  45. package/dist/core/utils.gen.d.ts +20 -0
  46. package/dist/core/utils.gen.d.ts.map +1 -0
  47. package/dist/core/utils.gen.js +88 -0
  48. package/dist/core/utils.gen.js.map +1 -0
  49. package/dist/schemas.gen.d.ts +1523 -570
  50. package/dist/schemas.gen.d.ts.map +1 -1
  51. package/dist/schemas.gen.js +2939 -739
  52. package/dist/schemas.gen.js.map +1 -1
  53. package/dist/sdk.gen.d.ts +286 -164
  54. package/dist/sdk.gen.d.ts.map +1 -1
  55. package/dist/sdk.gen.js +406 -337
  56. package/dist/sdk.gen.js.map +1 -1
  57. package/dist/services/kubernetes/api.d.ts +20 -20
  58. package/dist/types.gen.d.ts +1780 -790
  59. package/dist/types.gen.d.ts.map +1 -1
  60. package/dist/zod.gen.d.ts +3420 -2494
  61. package/dist/zod.gen.d.ts.map +1 -1
  62. package/dist/zod.gen.js +1381 -1196
  63. package/dist/zod.gen.js.map +1 -1
  64. package/package.json +29 -6
@@ -1,4 +1,11 @@
1
+ export type ClientOptions = {
2
+ baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
3
+ };
1
4
  export type BillingContact = {
5
+ /**
6
+ * Type of the organization. `business` for legal entities, `personal` for individuals.
7
+ */
8
+ type: 'business' | 'personal';
2
9
  /**
3
10
  * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
4
11
  */
@@ -36,13 +43,9 @@ export type BillingContact = {
36
43
  */
37
44
  email: string;
38
45
  /**
39
- * First name of the billing contact person.
40
- */
41
- first_name: string;
42
- /**
43
- * Last name of the billing contact person.
46
+ * Name of the billing contact person.
44
47
  */
45
- last_name: string;
48
+ individual_name: string;
46
49
  /**
47
50
  * Tax ID of the organization.
48
51
  */
@@ -58,35 +61,31 @@ export type BillingCredits = {
58
61
  */
59
62
  id?: string;
60
63
  /**
61
- * Date of the credit application. ISO 8601 date string in the UTC timezone.
62
- */
63
- date_created: string;
64
- /**
65
- * Promotional code used by the customer.
64
+ * Type of the promotional code.
66
65
  */
67
- code: string;
66
+ type: 'credit' | 'discount';
68
67
  /**
69
- * Description of the promotional code.
68
+ * Timestamp when the credit becomes active. ISO 8601 date string in the UTC timezone.
70
69
  */
71
- description?: string;
70
+ date_start: string;
72
71
  /**
73
- * List of product SKUs that the promotional code can be used on.
72
+ * Timestamp when the credit expires or becomes inactive. ISO 8601 date string in the UTC timezone.
74
73
  */
75
- products?: Array<string>;
74
+ date_end?: string;
76
75
  /**
77
- * Type of the promotional code.
76
+ * Promotional code used by the customer.
78
77
  */
79
- type: 'credit' | 'discount';
78
+ code: string;
80
79
  /**
81
- * Value of the promotional code.
80
+ * Description of the promotional code.
82
81
  */
83
- value: number;
82
+ description?: string;
84
83
  /**
85
- * Date of the billing cycle. An ISO 8601 date string in the UTC timezone.
84
+ * Total value of the promotional code.
86
85
  */
87
- billing_period: string;
86
+ value_total: number;
88
87
  /**
89
- * Value of the promotional code.
88
+ * Remaining value of the promotional code.
90
89
  */
91
90
  value_remaining?: number;
92
91
  };
@@ -134,9 +133,9 @@ export type Chart = {
134
133
  */
135
134
  chart: string;
136
135
  /**
137
- * Status of the chart deployment.
136
+ * Status of the chart deployment (Flux HelmRelease Ready condition reason, e.g. InstallSucceeded, UpgradeFailed, Progressing).
138
137
  */
139
- status: 'InstallSucceeded' | 'InstallFailed' | 'UpgradeSucceeded' | 'UpgradeFailed' | 'TestSucceeded' | 'TestFailed' | 'RollbackSucceeded' | 'RollbackFailed' | 'UninstallSucceeded' | 'UninstallFailed' | 'ArtifactFailed' | 'DependencyNotReady' | 'Progressing' | 'SourceNotReady';
138
+ status: string;
140
139
  /**
141
140
  * Current version of the chart deployment.
142
141
  */
@@ -174,13 +173,63 @@ export type ClusterCreateInput = {
174
173
  */
175
174
  tier: 'basic' | 'pro';
176
175
  /**
177
- * Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
176
+ * Cloudfleet control plane region. This field can not be updated after creation.
178
177
  */
179
- region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
178
+ region: string;
180
179
  /**
181
180
  * Version of the kubernetes cluster.
182
181
  */
183
182
  version_channel?: string;
183
+ /**
184
+ * Release channel for the cluster's control plane.
185
+ */
186
+ release_channel?: 'rapid' | 'stable' | 'extended';
187
+ /**
188
+ * Cluster feature toggles.
189
+ */
190
+ features?: {
191
+ /**
192
+ * GPU sharing strategy.
193
+ */
194
+ gpu_sharing_strategy: 'none' | 'mps' | 'time_slicing';
195
+ /**
196
+ * Maximum number of pods that may share a single GPU.
197
+ */
198
+ gpu_max_shared_clients_per_gpu: number;
199
+ /**
200
+ * Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
201
+ */
202
+ cilium_socket_lb_host_namespace_only?: boolean;
203
+ };
204
+ /**
205
+ * Cluster networking configuration. Immutable after creation.
206
+ */
207
+ networking?: {
208
+ /**
209
+ * CIDR block for pod IPs.
210
+ */
211
+ pod_cidr?: string;
212
+ /**
213
+ * CIDR block for service IPs.
214
+ */
215
+ service_cidr?: string;
216
+ /**
217
+ * CoreDNS service IP.
218
+ */
219
+ cluster_dns?: string;
220
+ /**
221
+ * Enable IPv4+IPv6 dual-stack networking.
222
+ */
223
+ dual_stack?: boolean;
224
+ /**
225
+ * IPv6 pod CIDR. Requires dual_stack.
226
+ */
227
+ pod_cidr_v6?: string;
228
+ /**
229
+ * IPv6 service CIDR. Requires dual_stack.
230
+ */
231
+ service_cidr_v6?: string;
232
+ };
184
233
  };
185
234
  export type ClusterJoinInformation = {
186
235
  /**
@@ -191,6 +240,14 @@ export type ClusterJoinInformation = {
191
240
  * Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.
192
241
  */
193
242
  endpoint: string;
243
+ /**
244
+ * Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.
245
+ */
246
+ cluster_dns: string;
247
+ /**
248
+ * Pod CIDR for the cluster. Used to configure iptables rules on nodes to prevent Tailscale routing loops.
249
+ */
250
+ pod_cidr: string;
194
251
  /**
195
252
  * Authentication key for the cluster.
196
253
  */
@@ -248,22 +305,69 @@ export type Cluster = {
248
305
  */
249
306
  tier: 'basic' | 'pro';
250
307
  /**
251
- * Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
308
+ * Cloudfleet control plane region. This field can not be updated after creation.
252
309
  */
253
- region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
310
+ region: string;
254
311
  /**
255
- * Version of the kubernetes cluster.
312
+ * Cluster networking configuration. Immutable after creation.
256
313
  */
257
- version_channel?: string;
314
+ networking?: {
315
+ /**
316
+ * CIDR block for pod IPs.
317
+ */
318
+ pod_cidr?: string;
319
+ /**
320
+ * CIDR block for service IPs.
321
+ */
322
+ service_cidr?: string;
323
+ /**
324
+ * CoreDNS service IP.
325
+ */
326
+ cluster_dns?: string;
327
+ /**
328
+ * Enable IPv4+IPv6 dual-stack networking.
329
+ */
330
+ dual_stack?: boolean;
331
+ /**
332
+ * IPv6 pod CIDR. Requires dual_stack.
333
+ */
334
+ pod_cidr_v6?: string;
335
+ /**
336
+ * IPv6 service CIDR. Requires dual_stack.
337
+ */
338
+ service_cidr_v6?: string;
339
+ };
340
+ /**
341
+ * Release channel for the cluster's control plane.
342
+ */
343
+ release_channel?: 'rapid' | 'stable' | 'extended';
344
+ /**
345
+ * Cluster feature toggles.
346
+ */
347
+ features?: {
348
+ /**
349
+ * GPU sharing strategy.
350
+ */
351
+ gpu_sharing_strategy: 'none' | 'mps' | 'time_slicing';
352
+ /**
353
+ * Maximum number of pods that may share a single GPU.
354
+ */
355
+ gpu_max_shared_clients_per_gpu: number;
356
+ /**
357
+ * Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
358
+ */
359
+ cilium_socket_lb_host_namespace_only?: boolean;
360
+ };
258
361
  /**
259
362
  * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
260
363
  */
261
364
  id: string;
262
365
  /**
263
- * Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.
366
+ * Status of the cluster.
264
367
  */
265
- status: 'active' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
368
+ status: 'creating' | 'deployed' | 'updating' | 'disabled';
266
369
  endpoint?: string | '';
370
+ endpoint_public?: string | '';
267
371
  /**
268
372
  * Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
269
373
  */
@@ -284,6 +388,10 @@ export type Cluster = {
284
388
  * Indicates if the cluster is ready to be used.
285
389
  */
286
390
  ready?: boolean;
391
+ /**
392
+ * Version of the kubernetes cluster.
393
+ */
394
+ version_channel?: string;
287
395
  };
288
396
  export type ClusterUpdateInput = {
289
397
  /**
@@ -298,6 +406,27 @@ export type ClusterUpdateInput = {
298
406
  * Version of the kubernetes cluster.
299
407
  */
300
408
  version_channel?: string;
409
+ /**
410
+ * Release channel for the cluster's control plane.
411
+ */
412
+ release_channel?: 'rapid' | 'stable' | 'extended';
413
+ /**
414
+ * Cluster feature toggles.
415
+ */
416
+ features?: {
417
+ /**
418
+ * GPU sharing strategy.
419
+ */
420
+ gpu_sharing_strategy: 'none' | 'mps' | 'time_slicing';
421
+ /**
422
+ * Maximum number of pods that may share a single GPU.
423
+ */
424
+ gpu_max_shared_clients_per_gpu: number;
425
+ /**
426
+ * Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
427
+ */
428
+ cilium_socket_lb_host_namespace_only?: boolean;
429
+ };
301
430
  };
302
431
  export type FleetCreateInput = {
303
432
  /**
@@ -305,31 +434,56 @@ export type FleetCreateInput = {
305
434
  */
306
435
  limits?: {
307
436
  /**
308
- * CPU limit in cores.
437
+ * CPU limit in cores. Maximum 100,000.
309
438
  */
310
- cpu: number;
439
+ cpu?: number;
311
440
  };
312
441
  gcp?: {
313
- enabled?: boolean;
442
+ enabled: boolean;
314
443
  /**
315
- * Project GCP Project id to deploy instances into
444
+ * GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.
316
445
  */
317
- project: string;
446
+ project?: string;
318
447
  };
319
448
  hetzner?: {
320
- enabled?: boolean;
449
+ enabled: boolean;
321
450
  /**
322
- * Hetzner Cloud API key with read / write access
451
+ * Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
323
452
  */
324
- apiKey: string;
453
+ apiKey?: string;
325
454
  };
326
455
  aws?: {
327
- enabled?: boolean;
456
+ enabled: boolean;
457
+ /**
458
+ * AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
459
+ */
460
+ controllerRoleArn?: string;
461
+ };
462
+ /**
463
+ * Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together. Omit a field to place no restriction on that key.
464
+ */
465
+ constraints?: {
466
+ /**
467
+ * Allowed values for `karpenter.sh/capacity-type`.
468
+ */
469
+ 'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
470
+ /**
471
+ * Allowed values for `kubernetes.io/arch`.
472
+ */
473
+ 'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
474
+ /**
475
+ * Allowed values for `cfke.io/instance-family`.
476
+ */
477
+ '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'>;
328
478
  /**
329
- * ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.
479
+ * Allowed values for `topology.kubernetes.io/region`.
330
480
  */
331
- controllerRoleArn: string;
481
+ 'topology.kubernetes.io/region'?: Array<'africa-south1' | 'ap-northeast-1' | 'ap-northeast-2' | 'ap-northeast-3' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ash' | 'asia-east1' | 'asia-east2' | 'asia-northeast1' | 'asia-northeast2' | 'asia-northeast3' | 'asia-south1' | 'asia-south2' | 'asia-southeast1' | 'asia-southeast2' | 'australia-southeast1' | 'australia-southeast2' | 'ca-central-1' | 'eu-central-1' | 'eu-central-2' | 'eu-north-1' | 'eu-west-1' | 'eu-west-2' | 'eu-west-3' | 'europe-central2' | 'europe-north1' | 'europe-southwest1' | 'europe-west1' | 'europe-west10' | 'europe-west12' | 'europe-west2' | 'europe-west3' | 'europe-west4' | 'europe-west6' | 'europe-west8' | 'europe-west9' | 'fsn1' | 'hel1' | 'hil' | 'me-central1' | 'me-central2' | 'me-west1' | 'nbg1' | 'northamerica-northeast1' | 'northamerica-northeast2' | 'sa-east-1' | 'sin' | 'southamerica-east1' | 'southamerica-west1' | 'us-central1' | 'us-east-1' | 'us-east-2' | 'us-east1' | 'us-east4' | 'us-east5' | 'us-south1' | 'us-west-1' | 'us-west-2' | 'us-west1' | 'us-west2' | 'us-west3' | 'us-west4'>;
332
482
  };
483
+ /**
484
+ * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
485
+ */
486
+ scalingProfile?: 'aggressive' | 'conservative';
333
487
  /**
334
488
  * Unique identifier of the kubernetes fleet.
335
489
  */
@@ -341,35 +495,76 @@ export type Fleet = {
341
495
  */
342
496
  limits?: {
343
497
  /**
344
- * CPU limit in cores.
498
+ * CPU limit in cores. Maximum 100,000.
345
499
  */
346
- cpu: number;
500
+ cpu?: number;
347
501
  };
348
502
  gcp?: {
349
- enabled?: boolean;
503
+ enabled: boolean;
350
504
  /**
351
- * Project GCP Project id to deploy instances into
505
+ * GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.
352
506
  */
353
- project: string;
507
+ project?: string;
354
508
  };
355
509
  hetzner?: {
356
- enabled?: boolean;
510
+ enabled: boolean;
357
511
  /**
358
- * Hetzner Cloud API key with read / write access
512
+ * Redacted Hetzner API token. Returned as 64 asterisks when a token is configured; omitted otherwise. The real value is never echoed by the API.
359
513
  */
360
- apiKey: string;
514
+ apiKey?: string;
361
515
  };
362
516
  aws?: {
363
- enabled?: boolean;
517
+ enabled: boolean;
518
+ /**
519
+ * AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
520
+ */
521
+ controllerRoleArn?: string;
522
+ };
523
+ /**
524
+ * Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together. Omit a field to place no restriction on that key.
525
+ */
526
+ constraints?: {
527
+ /**
528
+ * Allowed values for `karpenter.sh/capacity-type`.
529
+ */
530
+ 'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
531
+ /**
532
+ * Allowed values for `kubernetes.io/arch`.
533
+ */
534
+ 'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
364
535
  /**
365
- * ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.
536
+ * Allowed values for `cfke.io/instance-family`.
366
537
  */
367
- controllerRoleArn: string;
538
+ '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'>;
539
+ /**
540
+ * Allowed values for `topology.kubernetes.io/region`.
541
+ */
542
+ 'topology.kubernetes.io/region'?: Array<'africa-south1' | 'ap-northeast-1' | 'ap-northeast-2' | 'ap-northeast-3' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ash' | 'asia-east1' | 'asia-east2' | 'asia-northeast1' | 'asia-northeast2' | 'asia-northeast3' | 'asia-south1' | 'asia-south2' | 'asia-southeast1' | 'asia-southeast2' | 'australia-southeast1' | 'australia-southeast2' | 'ca-central-1' | 'eu-central-1' | 'eu-central-2' | 'eu-north-1' | 'eu-west-1' | 'eu-west-2' | 'eu-west-3' | 'europe-central2' | 'europe-north1' | 'europe-southwest1' | 'europe-west1' | 'europe-west10' | 'europe-west12' | 'europe-west2' | 'europe-west3' | 'europe-west4' | 'europe-west6' | 'europe-west8' | 'europe-west9' | 'fsn1' | 'hel1' | 'hil' | 'me-central1' | 'me-central2' | 'me-west1' | 'nbg1' | 'northamerica-northeast1' | 'northamerica-northeast2' | 'sa-east-1' | 'sin' | 'southamerica-east1' | 'southamerica-west1' | 'us-central1' | 'us-east-1' | 'us-east-2' | 'us-east1' | 'us-east4' | 'us-east5' | 'us-south1' | 'us-west-1' | 'us-west-2' | 'us-west1' | 'us-west2' | 'us-west3' | 'us-west4'>;
368
543
  };
544
+ /**
545
+ * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
546
+ */
547
+ scalingProfile: 'aggressive' | 'conservative';
369
548
  /**
370
549
  * Unique identifier of the kubernetes fleet.
371
550
  */
372
551
  id: string;
552
+ /**
553
+ * Indicates whether the fleet configuration is healthy.
554
+ */
555
+ ready: boolean;
556
+ /**
557
+ * Human-readable reason the fleet is not ready. Present only when `ready` is false.
558
+ */
559
+ status_message?: string;
560
+ /**
561
+ * Creation date and time of the fleet.
562
+ */
563
+ created_at: string;
564
+ /**
565
+ * Date and time the fleet was last updated.
566
+ */
567
+ updated_at: string;
373
568
  };
374
569
  export type FleetUpdateInput = {
375
570
  /**
@@ -377,31 +572,66 @@ export type FleetUpdateInput = {
377
572
  */
378
573
  limits?: {
379
574
  /**
380
- * CPU limit in cores.
575
+ * CPU limit in cores. Maximum 100,000.
381
576
  */
382
- cpu: number;
577
+ cpu?: number;
383
578
  };
384
579
  gcp?: {
385
- enabled?: boolean;
580
+ enabled: boolean;
386
581
  /**
387
- * Project GCP Project id to deploy instances into
582
+ * GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.
388
583
  */
389
- project: string;
584
+ project?: string;
390
585
  };
391
586
  hetzner?: {
392
- enabled?: boolean;
587
+ enabled: boolean;
393
588
  /**
394
- * Hetzner Cloud API key with read / write access
589
+ * Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
395
590
  */
396
- apiKey: string;
591
+ apiKey?: string;
397
592
  };
398
593
  aws?: {
399
- enabled?: boolean;
594
+ enabled: boolean;
595
+ /**
596
+ * AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
597
+ */
598
+ controllerRoleArn?: string;
599
+ };
600
+ /**
601
+ * Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together. Omit a field to place no restriction on that key.
602
+ */
603
+ constraints?: {
604
+ /**
605
+ * Allowed values for `karpenter.sh/capacity-type`.
606
+ */
607
+ 'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
608
+ /**
609
+ * Allowed values for `kubernetes.io/arch`.
610
+ */
611
+ 'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
400
612
  /**
401
- * ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.
613
+ * Allowed values for `cfke.io/instance-family`.
402
614
  */
403
- controllerRoleArn: string;
615
+ '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'>;
616
+ /**
617
+ * Allowed values for `topology.kubernetes.io/region`.
618
+ */
619
+ 'topology.kubernetes.io/region'?: Array<'africa-south1' | 'ap-northeast-1' | 'ap-northeast-2' | 'ap-northeast-3' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ash' | 'asia-east1' | 'asia-east2' | 'asia-northeast1' | 'asia-northeast2' | 'asia-northeast3' | 'asia-south1' | 'asia-south2' | 'asia-southeast1' | 'asia-southeast2' | 'australia-southeast1' | 'australia-southeast2' | 'ca-central-1' | 'eu-central-1' | 'eu-central-2' | 'eu-north-1' | 'eu-west-1' | 'eu-west-2' | 'eu-west-3' | 'europe-central2' | 'europe-north1' | 'europe-southwest1' | 'europe-west1' | 'europe-west10' | 'europe-west12' | 'europe-west2' | 'europe-west3' | 'europe-west4' | 'europe-west6' | 'europe-west8' | 'europe-west9' | 'fsn1' | 'hel1' | 'hil' | 'me-central1' | 'me-central2' | 'me-west1' | 'nbg1' | 'northamerica-northeast1' | 'northamerica-northeast2' | 'sa-east-1' | 'sin' | 'southamerica-east1' | 'southamerica-west1' | 'us-central1' | 'us-east-1' | 'us-east-2' | 'us-east1' | 'us-east4' | 'us-east5' | 'us-south1' | 'us-west-1' | 'us-west-2' | 'us-west1' | 'us-west2' | 'us-west3' | 'us-west4'>;
404
620
  };
621
+ /**
622
+ * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
623
+ */
624
+ scalingProfile: 'aggressive' | 'conservative';
625
+ };
626
+ export type InviteCreateInput = {
627
+ /**
628
+ * Email address of the user to invite.
629
+ */
630
+ email: string;
631
+ /**
632
+ * Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
633
+ */
634
+ role?: 'Administrator' | 'User';
405
635
  };
406
636
  export type Invite = {
407
637
  /**
@@ -424,399 +654,725 @@ export type Invite = {
424
654
  * Generated unique invite code.
425
655
  */
426
656
  code?: string;
657
+ /**
658
+ * Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
659
+ */
660
+ role?: 'Administrator' | 'User';
427
661
  };
428
662
  export type Invoice = {
429
663
  /**
430
- * Unique identifier of the invoice. UUID v4 string in canonical form
664
+ * Unique identifier of the invoice.
431
665
  */
432
666
  id?: string;
433
- /**
434
- * Unique identifier of the organization. UUID v4 string in canonical form
435
- */
436
- organizationId?: string;
667
+ number?: string;
437
668
  /**
438
669
  * Status of the invoice
439
670
  */
440
- status?: 'DRAFT' | 'COMMITTED' | 'VOID';
671
+ status?: string;
441
672
  /**
442
673
  * Total amount of the invoice
443
674
  */
444
- amount?: number;
675
+ total?: number;
445
676
  /**
446
677
  * Currency of the invoice
447
678
  */
448
- currency?: 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYR' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GGP' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'IMP' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JEP' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LTL' | 'LVL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SOS' | 'SPL' | 'SRD' | 'STD' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TVD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VEF' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XDR' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMW' | 'ZWD' | 'BTC';
679
+ currency?: string;
680
+ /**
681
+ * Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
682
+ */
683
+ created: string;
684
+ /**
685
+ * Billing period start timestamp. ISO 8601 date string in the UTC timezone.
686
+ */
687
+ period_start: string;
688
+ /**
689
+ * Billing period end timestamp. ISO 8601 date string in the UTC timezone.
690
+ */
691
+ period_end: string;
692
+ invoice_pdf?: string;
693
+ };
694
+ export type MarketplaceListingFiles = {
449
695
  /**
450
- * Total amount of credit adjustments
696
+ * Raw Chart.yaml content from the Helm chart
451
697
  */
452
- creditAdj?: number;
698
+ chartYaml?: string;
453
699
  /**
454
- * Total amount of refund adjustments
700
+ * Raw values.yaml content from the Helm chart
455
701
  */
456
- refundAdj?: number;
702
+ valuesYaml?: string;
457
703
  /**
458
- * Date of the invoice
704
+ * JSON schema for values.yaml as a string
459
705
  */
460
- invoiceDate?: string;
706
+ valuesSchemaJson?: string;
707
+ };
708
+ export type MarketplaceListing = {
461
709
  /**
462
- * Target date of the invoice
710
+ * Name of the chart
463
711
  */
464
- targetDate?: string;
712
+ name: string;
465
713
  /**
466
- * Number of the invoice
714
+ * Available versions of the chart
467
715
  */
468
- invoiceNumber?: string;
716
+ versions: Array<string>;
469
717
  /**
470
- * Balance of the invoice
718
+ * Version channels for the chart
471
719
  */
472
- balance?: number;
720
+ version_channels: Array<string>;
473
721
  /**
474
- * Bundle keys of the invoice
722
+ * Latest version of the chart
475
723
  */
476
- bundleKeys?: string;
724
+ latestVersion: string;
477
725
  /**
478
- * Credits of the invoice
726
+ * Chart metadata
479
727
  */
480
- credits?: Array<{
728
+ metadata?: {
481
729
  /**
482
- * Unique identifier of the invoice item. UUID v4 string in canonical form
730
+ * Chart name from metadata
483
731
  */
484
- id?: string;
732
+ name: string;
485
733
  /**
486
- * Unique identifier of the linked invoice item. UUID v4 string in canonical form
734
+ * Chart version from metadata
487
735
  */
488
- linkedInvoiceItemId?: string;
736
+ version: string;
489
737
  /**
490
- * Name of the product
738
+ * Chart description
491
739
  */
492
- productName?: string;
740
+ description?: string;
493
741
  /**
494
- * Name of the plan
742
+ * Application version
495
743
  */
496
- planName?: string;
744
+ appVersion?: string;
497
745
  /**
498
- * Name of the phase
746
+ * Helm API version
499
747
  */
500
- phaseName?: string;
748
+ apiVersion?: string;
501
749
  /**
502
- * Name of the usage
750
+ * Chart keywords
503
751
  */
504
- usageName?: string;
752
+ keywords?: Array<string>;
505
753
  /**
506
- * Pretty name of the product
754
+ * Chart home URL
507
755
  */
508
- prettyProductName?: string;
756
+ home?: string;
509
757
  /**
510
- * Pretty name of the plan
758
+ * A URL to an SVG or PNG image to be used as an icon
511
759
  */
512
- prettyPlanName?: string;
760
+ icon?: string;
513
761
  /**
514
- * Pretty name of the phase
762
+ * Chart source URLs
515
763
  */
516
- prettyPhaseName?: string;
764
+ sources?: Array<string>;
517
765
  /**
518
- * Pretty name of the usage
766
+ * Chart maintainers
519
767
  */
520
- prettyUsageName?: string;
768
+ maintainers?: Array<{
769
+ /**
770
+ * Maintainer name
771
+ */
772
+ name: string;
773
+ /**
774
+ * Maintainer email
775
+ */
776
+ email?: string;
777
+ }>;
778
+ };
779
+ };
780
+ export type OrganizationCreateInput = {
781
+ /**
782
+ * Type of the organization. `business` for legal entities, `personal` for individuals.
783
+ */
784
+ type: 'business' | 'personal';
785
+ /**
786
+ * Email address used for billing as a string.
787
+ */
788
+ email: string;
789
+ /**
790
+ * First name of the billing contact person.
791
+ */
792
+ first_name: string;
793
+ /**
794
+ * Last name of the billing contact person.
795
+ */
796
+ last_name: string;
797
+ /**
798
+ * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
799
+ */
800
+ company_name: string;
801
+ /**
802
+ * Password for the root account. Must be at least 8 characters long and contain at least one uppercase letter, one lowercase letter, one number and one special character.
803
+ */
804
+ password: string;
805
+ };
806
+ export type OrganizationCreateOutput = {
807
+ /**
808
+ * Unique identifier of the newly created organization. Generated by the API and safe to use for client-side tracking immediately.
809
+ */
810
+ id: string;
811
+ };
812
+ export type Organization = {
813
+ /**
814
+ * Unique identifier of the organization. UUID v4 string in canonical form
815
+ */
816
+ id: string;
817
+ /**
818
+ * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
819
+ */
820
+ name?: string;
821
+ /**
822
+ * Type of the organization. `business` for legal entities, `personal` for individuals.
823
+ */
824
+ type: 'business' | 'personal';
825
+ /**
826
+ * Creation date of the organization. ISO 8601 date string in UTC timezone
827
+ */
828
+ date_created: string;
829
+ /**
830
+ * For security reasons, platform quota is controlled by Cloudfleet and can be updated only by Cloudfleet administrators. Please open a support ticket if you need to change the platform quota.
831
+ */
832
+ quota: {
521
833
  /**
522
- * Type of the invoice item
834
+ * Maximum number of Basic clusters that can be created.
523
835
  */
524
- itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
836
+ basic_clusters_max: number;
525
837
  /**
526
- * Description of the invoice item
838
+ * Available number of Basic clusters that can be created.
527
839
  */
528
- description?: string;
840
+ basic_clusters_available: number;
529
841
  /**
530
- * Start date of the invoice item
842
+ * Maximum number of Pro clusters that can be created.
531
843
  */
532
- startDate?: string;
844
+ pro_clusters_max: number;
533
845
  /**
534
- * End date of the invoice item
846
+ * Available number of Pro clusters that can be created.
535
847
  */
536
- endDate?: string;
848
+ pro_clusters_available: number;
537
849
  /**
538
- * Amount of the invoice item
850
+ * Maximum number of fleets that can be created per cluster.
539
851
  */
540
- amount?: number;
852
+ fleets_max: number;
541
853
  /**
542
- * Rate of the invoice item
854
+ * List of Cloudfleet cluster tiers available for the organization.
543
855
  */
544
- rate?: number;
856
+ cluster_tiers: Array<string>;
545
857
  /**
546
- * Currency of the invoice item
858
+ * List of Cloudfleet control plane regions available for the organization.
547
859
  */
548
- currency?: 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYR' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GGP' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'IMP' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JEP' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LTL' | 'LVL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SOS' | 'SPL' | 'SRD' | 'STD' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TVD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VEF' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XDR' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMW' | 'ZWD' | 'BTC';
860
+ regions: Array<string>;
549
861
  /**
550
- * Quantity of the invoice item
862
+ * List of CFKE control plane versions available for the organization.
551
863
  */
552
- quantity?: number;
864
+ versions: Array<{
865
+ /**
866
+ * Id of the control plane version. Used in API calls.
867
+ */
868
+ id: string;
869
+ /**
870
+ * Label of the control plane version. Used in frontent UI.
871
+ */
872
+ label: string;
873
+ }>;
553
874
  /**
554
- * Details of the invoice item
875
+ * Organization-level maximum CFCR storage volume in GB. -1 means no limit.
555
876
  */
556
- itemDetails?: string;
557
- /**
558
- * Effective date of the catalog
559
- */
560
- catalogEffectiveDate?: string;
561
- /**
562
- * Child items of the invoice item
563
- */
564
- childItems?: Array<Array<unknown> | boolean | number | {
565
- [key: string]: unknown;
566
- } | string>;
567
- }>;
877
+ cfcr_storage_gb: number;
878
+ };
879
+ /**
880
+ * Status of the organization. Can be `active` or `closed`, or `suspended`.
881
+ */
882
+ status: 'active' | 'closed' | 'suspended';
883
+ /**
884
+ * 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.
885
+ */
886
+ verification: 'none' | 'submitted' | 'verified';
887
+ };
888
+ export type PaymentMethod = {
889
+ /**
890
+ * 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.
891
+ */
892
+ id: string;
893
+ /**
894
+ * Payment method type. `card`, `sepa_debit` for SEPA Direct Debit (business accounts only), or `bank_transfer` for paying invoices by bank transfer.
895
+ */
896
+ type: 'card' | 'sepa_debit' | 'bank_transfer';
897
+ /**
898
+ * 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.
899
+ */
900
+ last4: string;
901
+ /**
902
+ * Two-digit number representing the card's expiration month. Null for SEPA Direct Debit and bank transfer.
903
+ */
904
+ exp_month: number;
905
+ /**
906
+ * 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.
907
+ */
908
+ exp_year: number;
909
+ /**
910
+ * Payment card brand as reported by Stripe, e.g. `visa`, `mastercard`, `amex`, `cartes_bancaires`, or `unknown`. Null for SEPA Direct Debit and bank transfer.
911
+ */
912
+ brand: string;
913
+ /**
914
+ * 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.
915
+ */
916
+ iban: string;
568
917
  /**
569
- * Items of the invoice
918
+ * BIC/SWIFT of the destination bank for bank transfers. Set only for `bank_transfer`; null otherwise.
570
919
  */
571
- items?: Array<{
920
+ bic: string;
921
+ /**
922
+ * Account holder name of the destination bank account for bank transfers. Set only for `bank_transfer`; null otherwise.
923
+ */
924
+ account_holder_name: string;
925
+ /**
926
+ * 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).
927
+ */
928
+ is_default: boolean;
929
+ };
930
+ export type PlatformQuota = {
931
+ /**
932
+ * Maximum number of Basic clusters that can be created.
933
+ */
934
+ basic_clusters_max: number;
935
+ /**
936
+ * Available number of Basic clusters that can be created.
937
+ */
938
+ basic_clusters_available: number;
939
+ /**
940
+ * Maximum number of Pro clusters that can be created.
941
+ */
942
+ pro_clusters_max: number;
943
+ /**
944
+ * Available number of Pro clusters that can be created.
945
+ */
946
+ pro_clusters_available: number;
947
+ /**
948
+ * Maximum number of fleets that can be created per cluster.
949
+ */
950
+ fleets_max: number;
951
+ /**
952
+ * List of Cloudfleet cluster tiers available for the organization.
953
+ */
954
+ cluster_tiers: Array<string>;
955
+ /**
956
+ * List of Cloudfleet control plane regions available for the organization.
957
+ */
958
+ regions: Array<string>;
959
+ /**
960
+ * List of CFKE control plane versions available for the organization.
961
+ */
962
+ versions: Array<{
572
963
  /**
573
- * Unique identifier of the invoice item. UUID v4 string in canonical form
964
+ * Id of the control plane version. Used in API calls.
574
965
  */
575
- id?: string;
966
+ id: string;
576
967
  /**
577
- * Unique identifier of the linked invoice item. UUID v4 string in canonical form
968
+ * Label of the control plane version. Used in frontent UI.
578
969
  */
579
- linkedInvoiceItemId?: string;
970
+ label: string;
971
+ }>;
972
+ /**
973
+ * Organization-level maximum CFCR storage volume in GB. -1 means no limit.
974
+ */
975
+ cfcr_storage_gb: number;
976
+ };
977
+ export type RegistryRepository = {
978
+ /**
979
+ * Repository name.
980
+ */
981
+ name: string;
982
+ /**
983
+ * Registry region.
984
+ */
985
+ region: string;
986
+ /**
987
+ * Full URI of the repository.
988
+ */
989
+ uri: string;
990
+ };
991
+ export type RegistryRepositoryWithTags = {
992
+ /**
993
+ * Repository name.
994
+ */
995
+ name: string;
996
+ /**
997
+ * Registry region.
998
+ */
999
+ region: string;
1000
+ /**
1001
+ * Full URI of the repository.
1002
+ */
1003
+ uri: string;
1004
+ /**
1005
+ * Array of tags in the repository.
1006
+ */
1007
+ tags: Array<{
580
1008
  /**
581
- * Name of the product
1009
+ * Tag name.
582
1010
  */
583
- productName?: string;
1011
+ name: string;
584
1012
  /**
585
- * Name of the plan
1013
+ * Size of the tag in bytes.
586
1014
  */
587
- planName?: string;
1015
+ size: number;
588
1016
  /**
589
- * Name of the phase
1017
+ * Media type of the manifest.
590
1018
  */
591
- phaseName?: string;
1019
+ mediaType?: string;
592
1020
  /**
593
- * Name of the usage
1021
+ * Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).
594
1022
  */
595
- usageName?: string;
1023
+ platforms?: Array<string>;
1024
+ }>;
1025
+ /**
1026
+ * Total size of all tags in the repository in bytes.
1027
+ */
1028
+ totalSize: number;
1029
+ };
1030
+ export type RegistryTag = {
1031
+ /**
1032
+ * Tag name.
1033
+ */
1034
+ name: string;
1035
+ /**
1036
+ * Manifest digest for pulling by digest.
1037
+ */
1038
+ digest: string;
1039
+ /**
1040
+ * Media type of the manifest.
1041
+ */
1042
+ mediaType?: string;
1043
+ /**
1044
+ * Manifest config metadata.
1045
+ */
1046
+ config?: {
596
1047
  /**
597
- * Pretty name of the product
1048
+ * Size of the config in bytes.
598
1049
  */
599
- prettyProductName?: string;
1050
+ size: number;
1051
+ };
1052
+ /**
1053
+ * Array of layer metadata.
1054
+ */
1055
+ layers?: Array<{
600
1056
  /**
601
- * Pretty name of the plan
1057
+ * Digest of the layer.
602
1058
  */
603
- prettyPlanName?: string;
1059
+ digest?: string;
604
1060
  /**
605
- * Pretty name of the phase
1061
+ * Size of the layer in bytes.
606
1062
  */
607
- prettyPhaseName?: string;
1063
+ size: number;
1064
+ }>;
1065
+ /**
1066
+ * Array of manifests for multi-arch images.
1067
+ */
1068
+ manifests?: Array<{
608
1069
  /**
609
- * Pretty name of the usage
1070
+ * Digest of the manifest.
610
1071
  */
611
- prettyUsageName?: string;
1072
+ digest: string;
612
1073
  /**
613
- * Type of the invoice item
1074
+ * Platform information for the manifest.
614
1075
  */
615
- itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
1076
+ platform?: {
1077
+ /**
1078
+ * Architecture of the platform.
1079
+ */
1080
+ architecture: string;
1081
+ /**
1082
+ * Operating system of the platform.
1083
+ */
1084
+ os: string;
1085
+ /**
1086
+ * Variant of the platform (e.g., v7, v8 for ARM).
1087
+ */
1088
+ variant?: string;
1089
+ };
616
1090
  /**
617
- * Description of the invoice item
1091
+ * Layers for this platform.
618
1092
  */
619
- description?: string;
1093
+ layers?: Array<{
1094
+ /**
1095
+ * Digest of the layer.
1096
+ */
1097
+ digest?: string;
1098
+ /**
1099
+ * Size of the layer in bytes.
1100
+ */
1101
+ size: number;
1102
+ }>;
620
1103
  /**
621
- * Start date of the invoice item
1104
+ * Total size of this platform manifest in bytes.
622
1105
  */
623
- startDate?: string;
1106
+ size?: number;
1107
+ }>;
1108
+ /**
1109
+ * Total size of the tag in bytes.
1110
+ */
1111
+ size: number;
1112
+ /**
1113
+ * Registry region.
1114
+ */
1115
+ region: string;
1116
+ /**
1117
+ * Repository name.
1118
+ */
1119
+ repository: string;
1120
+ /**
1121
+ * Full URI of the tag.
1122
+ */
1123
+ uri: string;
1124
+ };
1125
+ export type TicketAttachment = {
1126
+ /**
1127
+ * Unique identifier of the attachment (Mongo ObjectId).
1128
+ */
1129
+ id: string;
1130
+ /**
1131
+ * Original filename as uploaded.
1132
+ */
1133
+ filename: string;
1134
+ /**
1135
+ * MIME content type of the attachment.
1136
+ */
1137
+ content_type: string;
1138
+ /**
1139
+ * Size of the attachment in bytes.
1140
+ */
1141
+ size: number;
1142
+ };
1143
+ export type TicketCreateInput = {
1144
+ /**
1145
+ * Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.
1146
+ */
1147
+ category: 'billing' | 'technical' | 'general';
1148
+ /**
1149
+ * Initial message body in markdown. There is no separate subject — the first message body is the description.
1150
+ */
1151
+ body: string;
1152
+ /**
1153
+ * Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).
1154
+ */
1155
+ properties?: {
1156
+ [key: string]: unknown;
1157
+ };
1158
+ };
1159
+ export type TicketListResponse = {
1160
+ /**
1161
+ * Tickets for the organization, ordered newest first. Messages are omitted from list responses.
1162
+ */
1163
+ items: Array<{
624
1164
  /**
625
- * End date of the invoice item
1165
+ * Unique identifier of the ticket (Mongo ObjectId).
626
1166
  */
627
- endDate?: string;
1167
+ id: string;
628
1168
  /**
629
- * Amount of the invoice item
1169
+ * Current state of the ticket.
630
1170
  */
631
- amount?: number;
1171
+ status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
632
1172
  /**
633
- * Rate of the invoice item
1173
+ * Ticket category.
634
1174
  */
635
- rate?: number;
1175
+ category: 'billing' | 'technical' | 'general';
636
1176
  /**
637
- * Currency of the invoice item
1177
+ * First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
638
1178
  */
639
- currency?: 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYR' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GGP' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'IMP' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JEP' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LTL' | 'LVL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SOS' | 'SPL' | 'SRD' | 'STD' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TVD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VEF' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XDR' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMW' | 'ZWD' | 'BTC';
1179
+ summary: string;
640
1180
  /**
641
- * Quantity of the invoice item
1181
+ * Closure timestamp. Null while the ticket is open.
642
1182
  */
643
- quantity?: number;
1183
+ closed_at?: string;
644
1184
  /**
645
- * Details of the invoice item
1185
+ * Creation date of the ticket. ISO 8601 UTC.
646
1186
  */
647
- itemDetails?: string;
1187
+ date_created: string;
648
1188
  /**
649
- * Effective date of the catalog
1189
+ * Last update date of the ticket. ISO 8601 UTC.
650
1190
  */
651
- catalogEffectiveDate?: string;
1191
+ date_updated: string;
652
1192
  /**
653
- * Child items of the invoice item
1193
+ * Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
654
1194
  */
655
- childItems?: Array<Array<unknown> | boolean | number | {
656
- [key: string]: unknown;
657
- } | string>;
1195
+ messages?: Array<{
1196
+ /**
1197
+ * Unique identifier of the message (Mongo ObjectId).
1198
+ */
1199
+ id: string;
1200
+ /**
1201
+ * Message type. Internal notes are filtered out of customer-facing responses.
1202
+ */
1203
+ type: 'customer_reply' | 'agent_reply';
1204
+ /**
1205
+ * Message body in markdown.
1206
+ */
1207
+ body: string;
1208
+ /**
1209
+ * First name of the author. Null when not provided.
1210
+ */
1211
+ author_first_name?: string;
1212
+ /**
1213
+ * Last name of the author. Null when not provided.
1214
+ */
1215
+ author_last_name?: string;
1216
+ /**
1217
+ * Attachments associated with this message.
1218
+ */
1219
+ attachments?: Array<{
1220
+ /**
1221
+ * Unique identifier of the attachment (Mongo ObjectId).
1222
+ */
1223
+ id: string;
1224
+ /**
1225
+ * Original filename as uploaded.
1226
+ */
1227
+ filename: string;
1228
+ /**
1229
+ * MIME content type of the attachment.
1230
+ */
1231
+ content_type: string;
1232
+ /**
1233
+ * Size of the attachment in bytes.
1234
+ */
1235
+ size: number;
1236
+ }>;
1237
+ /**
1238
+ * Creation date of the message. ISO 8601 UTC.
1239
+ */
1240
+ date_created: string;
1241
+ }>;
658
1242
  }>;
659
1243
  };
660
- export type MarketplaceListing = {
1244
+ export type TicketMessageInput = {
661
1245
  /**
662
- * Id of the chart listing
1246
+ * Reply body in markdown.
663
1247
  */
664
- id: string;
1248
+ body: string;
1249
+ };
1250
+ export type TicketMessage = {
665
1251
  /**
666
- * Name of the chart listing
1252
+ * Unique identifier of the message (Mongo ObjectId).
667
1253
  */
668
- name: string;
1254
+ id: string;
669
1255
  /**
670
- * Author of the chart listing
1256
+ * Message type. Internal notes are filtered out of customer-facing responses.
671
1257
  */
672
- developer: string;
1258
+ type: 'customer_reply' | 'agent_reply';
673
1259
  /**
674
- * Short description of the chart listing
1260
+ * Message body in markdown.
675
1261
  */
676
- description: string;
1262
+ body: string;
677
1263
  /**
678
- * Logo of the chart listing
1264
+ * First name of the author. Null when not provided.
679
1265
  */
680
- logoUrl: string;
1266
+ author_first_name?: string;
681
1267
  /**
682
- * Long description of the chart listing
1268
+ * Last name of the author. Null when not provided.
683
1269
  */
684
- longDescription: string;
1270
+ author_last_name?: string;
685
1271
  /**
686
- * Tags of the chart
1272
+ * Attachments associated with this message.
687
1273
  */
688
- categories: Array<string>;
689
- version_channels: Array<string>;
690
- value_schemas: Array<{
1274
+ attachments?: Array<{
691
1275
  /**
692
- * Version of the chart.
1276
+ * Unique identifier of the attachment (Mongo ObjectId).
693
1277
  */
694
- version: string;
1278
+ id: string;
695
1279
  /**
696
- * Schema of the chart values. JSON Schema as string
1280
+ * Original filename as uploaded.
697
1281
  */
698
- schema: string;
1282
+ filename: string;
699
1283
  /**
700
- * Schema of the chart values
1284
+ * MIME content type of the attachment.
701
1285
  */
702
- placeholder: string;
1286
+ content_type: string;
1287
+ /**
1288
+ * Size of the attachment in bytes.
1289
+ */
1290
+ size: number;
703
1291
  }>;
704
- };
705
- export type OrganizationCreateInput = {
706
1292
  /**
707
- * Email address used for billing as a string.
1293
+ * Creation date of the message. ISO 8601 UTC.
708
1294
  */
709
- email: string;
1295
+ date_created: string;
1296
+ };
1297
+ export type Ticket = {
710
1298
  /**
711
- * First name of the billing contact person.
1299
+ * Unique identifier of the ticket (Mongo ObjectId).
712
1300
  */
713
- first_name: string;
1301
+ id: string;
714
1302
  /**
715
- * Last name of the billing contact person.
1303
+ * Current state of the ticket.
716
1304
  */
717
- last_name: string;
1305
+ status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
718
1306
  /**
719
- * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
1307
+ * Ticket category.
720
1308
  */
721
- company_name: string;
1309
+ category: 'billing' | 'technical' | 'general';
722
1310
  /**
723
- * Password for the root account. Must be at least 8 characters long and contain at least one uppercase letter, one lowercase letter, one number and one special character.
1311
+ * First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
724
1312
  */
725
- password: string;
726
- };
727
- export type Organization = {
1313
+ summary: string;
728
1314
  /**
729
- * Unique identifier of the organization. UUID v4 string in canonical form
1315
+ * Closure timestamp. Null while the ticket is open.
730
1316
  */
731
- id: string;
1317
+ closed_at?: string;
732
1318
  /**
733
- * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
1319
+ * Creation date of the ticket. ISO 8601 UTC.
734
1320
  */
735
- name?: string;
1321
+ date_created: string;
736
1322
  /**
737
- * Creation date of the organization. ISO 8601 date string in UTC timezone
1323
+ * Last update date of the ticket. ISO 8601 UTC.
738
1324
  */
739
- date_created: string;
1325
+ date_updated: string;
740
1326
  /**
741
- * For security reasons, platform quota is controlled by Cloudfleet and can be updated only by Cloudfleet administrators. Please open a support ticket if you need to change the platform quota.
1327
+ * Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
742
1328
  */
743
- quota: {
1329
+ messages?: Array<{
744
1330
  /**
745
- * Maximum number of Basic clusters that can be created.
746
- */
747
- basic_clusters_max: number;
748
- /**
749
- * Available number of Basic clusters that can be created.
750
- */
751
- basic_clusters_available: number;
752
- /**
753
- * Maximum number of Pro clusters that can be created.
1331
+ * Unique identifier of the message (Mongo ObjectId).
754
1332
  */
755
- pro_clusters_max: number;
1333
+ id: string;
756
1334
  /**
757
- * Available number of Pro clusters that can be created.
1335
+ * Message type. Internal notes are filtered out of customer-facing responses.
758
1336
  */
759
- pro_clusters_available: number;
1337
+ type: 'customer_reply' | 'agent_reply';
760
1338
  /**
761
- * Maximum number of fleets that can be created per cluster.
1339
+ * Message body in markdown.
762
1340
  */
763
- fleets_max: number;
1341
+ body: string;
764
1342
  /**
765
- * List of Cloudfleet cluster tiers available for the organization.
1343
+ * First name of the author. Null when not provided.
766
1344
  */
767
- cluster_tiers: Array<string>;
1345
+ author_first_name?: string;
768
1346
  /**
769
- * List of Cloudfleet control plane regions available for the organization.
1347
+ * Last name of the author. Null when not provided.
770
1348
  */
771
- regions: Array<string>;
1349
+ author_last_name?: string;
772
1350
  /**
773
- * List of CFKE control plane versions available for the organization.
1351
+ * Attachments associated with this message.
774
1352
  */
775
- versions: Array<{
1353
+ attachments?: Array<{
776
1354
  /**
777
- * Id of the control plane version. Used in API calls.
1355
+ * Unique identifier of the attachment (Mongo ObjectId).
778
1356
  */
779
1357
  id: string;
780
1358
  /**
781
- * Label of the control plane version. Used in frontent UI.
1359
+ * Original filename as uploaded.
782
1360
  */
783
- label: string;
1361
+ filename: string;
1362
+ /**
1363
+ * MIME content type of the attachment.
1364
+ */
1365
+ content_type: string;
1366
+ /**
1367
+ * Size of the attachment in bytes.
1368
+ */
1369
+ size: number;
784
1370
  }>;
785
- };
786
- /**
787
- * Status of the organization. Can be `active` or `closed`, or `suspended`.
788
- */
789
- status: 'active' | 'closed' | 'suspended';
790
- };
791
- export type PaymentMethod = {
792
- /**
793
- * Unique identifier of the organization. UUID v4 string in canonical form.
794
- */
795
- id: string;
796
- /**
797
- * Whether organization payment method was set up and ready to use for payments.
798
- */
799
- setup: boolean;
800
- /**
801
- * Payment method type type. Only `card` payments supported at the moment.
802
- */
803
- type: 'card';
804
- /**
805
- * Last 4 digits of the payment card number.
806
- */
807
- last4: string;
808
- /**
809
- * Two-digit number representing the card's expiration month.
810
- */
811
- exp_month: number;
812
- /**
813
- * Four-digit number representing the card's expiration year.
814
- */
815
- exp_year: number;
816
- /**
817
- * Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
818
- */
819
- brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
1371
+ /**
1372
+ * Creation date of the message. ISO 8601 UTC.
1373
+ */
1374
+ date_created: string;
1375
+ }>;
820
1376
  };
821
1377
  export type TokenCreateInput = {
822
1378
  /**
@@ -860,35 +1416,85 @@ export type TokenUpdateInput = {
860
1416
  */
861
1417
  role?: 'Administrator' | 'User';
862
1418
  };
863
- export type Usage = {
1419
+ export type UsageFacets = {
864
1420
  /**
865
- * Hour of the usage
1421
+ * List of unique cluster IDs
866
1422
  */
867
- hour?: string;
1423
+ cluster_id?: Array<string>;
868
1424
  /**
869
- * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
1425
+ * List of unique products
870
1426
  */
871
- cluster_id: string;
1427
+ product?: Array<string>;
1428
+ };
1429
+ export type UsageResponse = {
872
1430
  /**
873
- * Tier of the cluster.
1431
+ * Usage data
874
1432
  */
875
- cluster_tier: 'basic' | 'pro' | '';
876
- /**
877
- * The product the usage is associated with
1433
+ data: Array<{
1434
+ /**
1435
+ * Hour of the usage
1436
+ */
1437
+ hour: string;
1438
+ /**
1439
+ * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
1440
+ */
1441
+ cluster_id: string;
1442
+ /**
1443
+ * The product the usage is associated with
1444
+ */
1445
+ product: string;
1446
+ /**
1447
+ * Consumption
1448
+ */
1449
+ value: number;
1450
+ /**
1451
+ * Price per unit
1452
+ */
1453
+ price: number;
1454
+ /**
1455
+ * Total cost
1456
+ */
1457
+ total: number;
1458
+ }>;
1459
+ /**
1460
+ * Facets for filtering
1461
+ */
1462
+ facets: {
1463
+ /**
1464
+ * List of unique cluster IDs
1465
+ */
1466
+ cluster_id?: Array<string>;
1467
+ /**
1468
+ * List of unique products
1469
+ */
1470
+ product?: Array<string>;
1471
+ };
1472
+ };
1473
+ export type Usage = {
1474
+ /**
1475
+ * Hour of the usage
1476
+ */
1477
+ hour: string;
1478
+ /**
1479
+ * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
1480
+ */
1481
+ cluster_id: string;
1482
+ /**
1483
+ * The product the usage is associated with
878
1484
  */
879
- product: 'cfke_controlplane' | 'cfke_connected_nodes' | 'infra_compute' | 'infra_storage' | 'infra_loadbalancing' | 'infra_traffic' | 'cfcr_storage';
1485
+ product: string;
880
1486
  /**
881
- * Name of the Kubernetes node
1487
+ * Consumption
882
1488
  */
883
- node_name: string;
1489
+ value: number;
1490
+ /**
1491
+ * Price per unit
1492
+ */
1493
+ price: number;
884
1494
  /**
885
- * SKU of the Kubernetes node
1495
+ * Total cost
886
1496
  */
887
- sku: string;
888
- cpu: number | '';
889
- price: number | '';
890
- value: number | '';
891
- total: number | '';
1497
+ total: number;
892
1498
  };
893
1499
  export type UserCreateInput = {
894
1500
  /**
@@ -911,14 +1517,6 @@ export type UserCreateInput = {
911
1517
  * User password. Must be at least 8 characters long.
912
1518
  */
913
1519
  password: string;
914
- /**
915
- * Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.
916
- */
917
- status?: 'active' | 'inactive';
918
- /**
919
- * User role. Can be 'Administrator', 'User'.
920
- */
921
- role?: 'Administrator' | 'User';
922
1520
  };
923
1521
  export type User = {
924
1522
  /**
@@ -972,562 +1570,621 @@ export type UserUpdateInput = {
972
1570
  */
973
1571
  status?: 'active' | 'inactive';
974
1572
  };
975
- export type GetUsageData = {
1573
+ export type ListUserOrganizationsData = {
1574
+ body?: never;
1575
+ path: {
1576
+ /**
1577
+ * User email address.
1578
+ */
1579
+ email: string;
1580
+ };
1581
+ query?: never;
1582
+ url: '/users/organizations/{email}';
1583
+ };
1584
+ export type ListUserOrganizationsResponses = {
1585
+ /**
1586
+ * An array of organizations the user belongs to.
1587
+ */
1588
+ 200: Array<{
1589
+ /**
1590
+ * Unique identifier of the organization. UUID v4 string in canonical form
1591
+ */
1592
+ realm?: string;
1593
+ /**
1594
+ * Human-readable name of the organization
1595
+ */
1596
+ displayName?: string;
1597
+ }>;
1598
+ };
1599
+ export type ListUserOrganizationsResponse = ListUserOrganizationsResponses[keyof ListUserOrganizationsResponses];
1600
+ export type ListUsersData = {
976
1601
  body?: never;
977
1602
  path?: never;
978
1603
  query?: never;
979
- url: '/billing/usage';
1604
+ url: '/users';
980
1605
  };
981
- export type GetUsageErrors = {
1606
+ export type ListUsersErrors = {
982
1607
  /**
983
1608
  * Not authenticated
984
1609
  */
985
1610
  401: unknown;
986
1611
  };
987
- export type GetUsageResponses = {
1612
+ export type ListUsersResponses = {
988
1613
  /**
989
- * An array of usage records.
1614
+ * An array of users
990
1615
  */
991
- 200: Array<Usage>;
1616
+ 200: Array<User>;
992
1617
  };
993
- export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
994
- export type GetBalanceData = {
995
- body?: never;
1618
+ export type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
1619
+ export type CreateUserData = {
1620
+ body: UserCreateInput;
996
1621
  path?: never;
997
1622
  query?: never;
998
- url: '/billing/balance';
1623
+ url: '/users';
999
1624
  };
1000
- export type GetBalanceResponses = {
1625
+ export type CreateUserResponses = {
1001
1626
  /**
1002
- * Current balance of the organization in USD as a floating-point number.
1627
+ * Successfully created. Returns created user details.
1003
1628
  */
1004
- 200: number;
1629
+ 200: User;
1005
1630
  };
1006
- export type GetBalanceResponse = GetBalanceResponses[keyof GetBalanceResponses];
1007
- export type GetPaymentMethodData = {
1631
+ export type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];
1632
+ export type DeleteUserData = {
1008
1633
  body?: never;
1009
- path?: never;
1634
+ path: {
1635
+ /**
1636
+ * Unique user identifier. UUID v4 string in canonical form
1637
+ */
1638
+ user_id: string;
1639
+ };
1010
1640
  query?: never;
1011
- url: '/billing/payment-method';
1641
+ url: '/users/{user_id}';
1012
1642
  };
1013
- export type GetPaymentMethodErrors = {
1643
+ export type DeleteUserErrors = {
1014
1644
  /**
1015
- * Returns 404 Not Found if the organization does not have a payment method set up.
1645
+ * Deleting own user is not allowed. Delete your organization instead.
1016
1646
  */
1017
- 404: unknown;
1018
- };
1019
- export type GetPaymentMethodResponses = {
1647
+ 400: unknown;
1020
1648
  /**
1021
- * Redacted payment card information.
1649
+ * Not authenticated
1022
1650
  */
1023
- 200: PaymentMethod;
1024
- };
1025
- export type GetPaymentMethodResponse = GetPaymentMethodResponses[keyof GetPaymentMethodResponses];
1026
- export type GetPaymentMethodSecretData = {
1027
- body?: never;
1028
- path?: never;
1029
- query?: never;
1030
- url: '/billing/payment-method';
1651
+ 401: unknown;
1031
1652
  };
1032
- export type GetPaymentMethodSecretResponses = {
1653
+ export type DeleteUserResponses = {
1033
1654
  /**
1034
- * 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.
1035
- *
1655
+ * User profile information
1036
1656
  */
1037
- 200: {
1038
- /**
1039
- * The client secret.
1040
- */
1041
- id?: string;
1042
- };
1657
+ 200: User;
1043
1658
  };
1044
- export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
1045
- export type ListInvoicesData = {
1659
+ export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
1660
+ export type GetUserData = {
1046
1661
  body?: never;
1047
- path?: never;
1048
- query: {
1049
- /**
1050
- * Start date for the usage. Date of oldest data point to retrieve.
1051
- */
1052
- start_date: string;
1662
+ path: {
1053
1663
  /**
1054
- * End date for the usage. Date of newest data point to retrieve.
1664
+ * Unique user identifier. UUID v4 string in canonical form
1055
1665
  */
1056
- end_date: string;
1666
+ user_id: string;
1057
1667
  };
1058
- url: '/billing/invoices';
1668
+ query?: never;
1669
+ url: '/users/{user_id}';
1059
1670
  };
1060
- export type ListInvoicesErrors = {
1671
+ export type GetUserErrors = {
1061
1672
  /**
1062
1673
  * Not authenticated
1063
1674
  */
1064
1675
  401: unknown;
1065
1676
  };
1066
- export type ListInvoicesResponses = {
1677
+ export type GetUserResponses = {
1067
1678
  /**
1068
- * An array of usage records.
1679
+ * User profile information
1069
1680
  */
1070
- 200: Array<Invoice>;
1681
+ 200: User;
1071
1682
  };
1072
- export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
1073
- export type GetInvoiceData = {
1074
- body?: never;
1683
+ export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
1684
+ export type UpdateUserData = {
1685
+ body: UserUpdateInput;
1075
1686
  path: {
1076
1687
  /**
1077
- * Unique invoice identifier. UUID v4 string in canonical form
1688
+ * Unique user identifier. UUID v4 string in canonical form
1078
1689
  */
1079
- id: string;
1690
+ user_id: string;
1080
1691
  };
1081
1692
  query?: never;
1082
- url: '/billing/invoices/{id}';
1693
+ url: '/users/{user_id}';
1083
1694
  };
1084
- export type GetInvoiceResponses = {
1695
+ export type UpdateUserResponses = {
1085
1696
  /**
1086
- * Returns a single Invoice HTML representation under `html` property.
1697
+ * Successfully created. Returns created user details.
1087
1698
  */
1088
- 200: {
1089
- html?: string;
1090
- };
1699
+ 200: User;
1091
1700
  };
1092
- export type GetInvoiceResponse = GetInvoiceResponses[keyof GetInvoiceResponses];
1093
- export type GetContactData = {
1701
+ export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
1702
+ export type ListTokensData = {
1094
1703
  body?: never;
1095
1704
  path?: never;
1096
1705
  query?: never;
1097
- url: '/billing/contact';
1706
+ url: '/tokens';
1098
1707
  };
1099
- export type GetContactResponses = {
1708
+ export type ListTokensErrors = {
1100
1709
  /**
1101
- * Returns a single object containing organization contact and billing address details.
1710
+ * Not authenticated
1102
1711
  */
1103
- 200: BillingContact;
1104
- };
1105
- export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
1106
- export type UpdateContactData = {
1107
- body: BillingContact;
1108
- path?: never;
1109
- query?: never;
1110
- url: '/billing/contact';
1712
+ 401: unknown;
1111
1713
  };
1112
- export type UpdateContactResponses = {
1714
+ export type ListTokensResponses = {
1113
1715
  /**
1114
- * Successfully updated. Returns updated organization details.
1716
+ * Returns a list of access token details with masked secrets.
1115
1717
  */
1116
- 200: BillingContact;
1718
+ 200: Array<Token>;
1117
1719
  };
1118
- export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
1119
- export type GetCreditsData = {
1120
- body?: never;
1720
+ export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
1721
+ export type CreateTokenData = {
1722
+ body: TokenCreateInput;
1121
1723
  path?: never;
1122
1724
  query?: never;
1123
- url: '/billing/credits';
1725
+ url: '/tokens';
1124
1726
  };
1125
- export type GetCreditsErrors = {
1727
+ export type CreateTokenErrors = {
1126
1728
  /**
1127
1729
  * Not authenticated
1128
1730
  */
1129
1731
  401: unknown;
1130
1732
  };
1131
- export type GetCreditsResponses = {
1733
+ export type CreateTokenResponses = {
1132
1734
  /**
1133
- * An array of the applied promotional credits records.
1735
+ * Successfully created. Returns created token details with unmasked/raw secret.
1134
1736
  */
1135
- 200: Array<BillingCredits>;
1737
+ 200: Token;
1136
1738
  };
1137
- export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
1138
- export type RedeemCreditsData = {
1139
- body: {
1739
+ export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
1740
+ export type DeleteTokenData = {
1741
+ body?: never;
1742
+ path: {
1140
1743
  /**
1141
- * Promotional code to redeem
1744
+ * Generated unique identifier of the access token.
1142
1745
  */
1143
- code?: string;
1746
+ token_id: string;
1144
1747
  };
1145
- path?: never;
1146
1748
  query?: never;
1147
- url: '/billing/credits';
1148
- };
1149
- export type RedeemCreditsErrors = {
1150
- /**
1151
- * Not authenticated
1152
- */
1153
- 401: unknown;
1749
+ url: '/tokens/{token_id}';
1154
1750
  };
1155
- export type RedeemCreditsResponses = {
1751
+ export type DeleteTokenResponses = {
1156
1752
  /**
1157
- * Successfully created a new organization.
1753
+ * Successfully deleted.
1158
1754
  */
1159
1755
  200: unknown;
1160
1756
  };
1161
- export type ListChartsData = {
1757
+ export type GetTokenData = {
1162
1758
  body?: never;
1163
1759
  path: {
1164
1760
  /**
1165
- * Unique identifier of the cluster. UUID v4 string in canonical form
1761
+ * Generated unique identifier of the access token.
1166
1762
  */
1167
- cluster_id: string;
1763
+ token_id: string;
1168
1764
  };
1169
1765
  query?: never;
1170
- url: '/clusters/{cluster_id}/charts';
1766
+ url: '/tokens/{token_id}';
1171
1767
  };
1172
- export type ListChartsErrors = {
1768
+ export type GetTokenErrors = {
1173
1769
  /**
1174
1770
  * Not authenticated
1175
1771
  */
1176
1772
  401: unknown;
1177
1773
  };
1178
- export type ListChartsResponses = {
1774
+ export type GetTokenResponses = {
1179
1775
  /**
1180
- * An array of charts
1776
+ * Returns access token details with masked secret.
1181
1777
  */
1182
- 200: Array<Chart>;
1778
+ 200: Token;
1183
1779
  };
1184
- export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
1185
- export type CreateChartData = {
1186
- body: ChartCreateInput;
1780
+ export type GetTokenResponse = GetTokenResponses[keyof GetTokenResponses];
1781
+ export type UpdateTokenData = {
1782
+ body: TokenUpdateInput;
1187
1783
  path: {
1188
1784
  /**
1189
- * Unique identifier of the cluster. UUID v4 string in canonical form
1785
+ * Generated unique identifier of the access token.
1190
1786
  */
1191
- cluster_id: string;
1787
+ token_id: string;
1192
1788
  };
1193
1789
  query?: never;
1194
- url: '/clusters/{cluster_id}/charts';
1790
+ url: '/tokens/{token_id}';
1195
1791
  };
1196
- export type CreateChartResponses = {
1792
+ export type UpdateTokenErrors = {
1197
1793
  /**
1198
- * Successfully created. Returns created Chart ID.
1794
+ * Not authenticated
1199
1795
  */
1200
- 200: string;
1796
+ 401: unknown;
1201
1797
  };
1202
- export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
1203
- export type DeleteChartData = {
1798
+ export type UpdateTokenResponses = {
1799
+ /**
1800
+ * Successfully updated. Returns updated token details with masked secret.
1801
+ */
1802
+ 200: Token;
1803
+ };
1804
+ export type UpdateTokenResponse = UpdateTokenResponses[keyof UpdateTokenResponses];
1805
+ export type RegenerateTokenData = {
1204
1806
  body?: never;
1205
1807
  path: {
1206
1808
  /**
1207
- * Unique identifier of the cluster. UUID v4 string in canonical form
1208
- */
1209
- cluster_id: string;
1210
- /**
1211
- * Chart deployment name as the unique identifier of the chart.
1809
+ * Generated unique identifier of the access token.
1212
1810
  */
1213
- chart_name: string;
1811
+ token_id: string;
1214
1812
  };
1215
1813
  query?: never;
1216
- url: '/clusters/{cluster_id}/charts/{chart_name}';
1814
+ url: '/tokens/{token_id}/secret';
1217
1815
  };
1218
- export type DeleteChartResponses = {
1816
+ export type RegenerateTokenErrors = {
1219
1817
  /**
1220
- * Successfully deleted.
1818
+ * Not authenticated
1221
1819
  */
1222
- 200: string;
1820
+ 401: unknown;
1223
1821
  };
1224
- export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
1225
- export type GetChartData = {
1822
+ export type RegenerateTokenResponses = {
1823
+ /**
1824
+ * Successfully updated. Returns updated token details with unmasked / raw secret.
1825
+ */
1826
+ 200: Token;
1827
+ };
1828
+ export type RegenerateTokenResponse = RegenerateTokenResponses[keyof RegenerateTokenResponses];
1829
+ export type ListTicketsData = {
1226
1830
  body?: never;
1227
- path: {
1228
- /**
1229
- * Unique identifier of the cluster. UUID v4 string in canonical form
1230
- */
1231
- cluster_id: string;
1232
- /**
1233
- * Chart deployment name as the unique identifier of the chart.
1234
- */
1235
- chart_name: string;
1236
- };
1831
+ path?: never;
1237
1832
  query?: never;
1238
- url: '/clusters/{cluster_id}/charts/{chart_name}';
1833
+ url: '/tickets';
1239
1834
  };
1240
- export type GetChartResponses = {
1835
+ export type ListTicketsResponses = {
1241
1836
  /**
1242
- * Returns a single object containing chart details.
1837
+ * Tickets for the organization.
1243
1838
  */
1244
- 200: Chart;
1839
+ 200: TicketListResponse;
1245
1840
  };
1246
- export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
1247
- export type UpdateChartData = {
1248
- body: ChartUpdateInput;
1249
- path: {
1250
- /**
1251
- * Unique identifier of the cluster. UUID v4 string in canonical form
1252
- */
1253
- cluster_id: string;
1841
+ export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
1842
+ export type CreateTicketData = {
1843
+ body: {
1254
1844
  /**
1255
- * Chart deployment name as the unique identifier of the chart.
1845
+ * JSON-encoded TicketCreateInput.
1256
1846
  */
1257
- chart_name: string;
1847
+ payload?: string;
1848
+ attachments?: Array<Blob | File>;
1258
1849
  };
1850
+ path?: never;
1259
1851
  query?: never;
1260
- url: '/clusters/{cluster_id}/charts/{chart_name}';
1852
+ url: '/tickets';
1261
1853
  };
1262
- export type UpdateChartResponses = {
1854
+ export type CreateTicketResponses = {
1263
1855
  /**
1264
- * Successfully updated.
1856
+ * Ticket created.
1265
1857
  */
1266
- 200: string;
1858
+ 200: Ticket;
1267
1859
  };
1268
- export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
1269
- export type ListFleetsData = {
1860
+ export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
1861
+ export type CloseTicketData = {
1270
1862
  body?: never;
1271
1863
  path: {
1272
- /**
1273
- * Unique identifier of the cluster. UUID v4 string in canonical form
1274
- */
1275
- cluster_id: string;
1864
+ ticket_id: string;
1276
1865
  };
1277
1866
  query?: never;
1278
- url: '/clusters/{cluster_id}/fleets';
1867
+ url: '/tickets/{ticket_id}';
1279
1868
  };
1280
- export type ListFleetsErrors = {
1869
+ export type CloseTicketResponses = {
1281
1870
  /**
1282
- * Not authenticated
1871
+ * Ticket closed.
1283
1872
  */
1284
- 401: unknown;
1873
+ 200: Ticket;
1285
1874
  };
1286
- export type ListFleetsResponses = {
1875
+ export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
1876
+ export type GetTicketData = {
1877
+ body?: never;
1878
+ path: {
1879
+ ticket_id: string;
1880
+ };
1881
+ query?: never;
1882
+ url: '/tickets/{ticket_id}';
1883
+ };
1884
+ export type GetTicketResponses = {
1287
1885
  /**
1288
- * An array of fleets
1886
+ * Ticket with messages (internal notes excluded).
1289
1887
  */
1290
- 200: Array<Fleet>;
1888
+ 200: Ticket;
1291
1889
  };
1292
- export type ListFleetsResponse = ListFleetsResponses[keyof ListFleetsResponses];
1293
- export type CreateFleetData = {
1294
- body: FleetCreateInput;
1295
- path: {
1890
+ export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
1891
+ export type ReplyTicketData = {
1892
+ body: {
1296
1893
  /**
1297
- * Unique identifier of the cluster. UUID v4 string in canonical form
1894
+ * JSON-encoded TicketMessageInput.
1298
1895
  */
1299
- cluster_id: string;
1896
+ payload?: string;
1897
+ attachments?: Array<Blob | File>;
1898
+ };
1899
+ path: {
1900
+ ticket_id: string;
1300
1901
  };
1301
1902
  query?: never;
1302
- url: '/clusters/{cluster_id}/fleets';
1903
+ url: '/tickets/{ticket_id}/messages';
1303
1904
  };
1304
- export type CreateFleetErrors = {
1905
+ export type ReplyTicketErrors = {
1305
1906
  /**
1306
- * Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
1907
+ * Ticket is closed. Open a new ticket instead.
1307
1908
  */
1308
- 402: string;
1909
+ 409: unknown;
1309
1910
  };
1310
- export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
1311
- export type CreateFleetResponses = {
1911
+ export type ReplyTicketResponses = {
1312
1912
  /**
1313
- * Successfully created. Returns created Fleet ID.
1913
+ * Reply appended.
1314
1914
  */
1315
- 200: string;
1915
+ 200: TicketMessage;
1316
1916
  };
1317
- export type CreateFleetResponse = CreateFleetResponses[keyof CreateFleetResponses];
1318
- export type DeleteFleetData = {
1917
+ export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
1918
+ export type GetTicketAttachmentData = {
1319
1919
  body?: never;
1320
1920
  path: {
1321
- /**
1322
- * Unique identifier of the cluster. UUID v4 string in canonical form
1323
- */
1324
- cluster_id: string;
1325
- /**
1326
- * Unique identifier of the fleet. UUID v4 string in canonical form
1327
- */
1328
- fleet_name: string;
1921
+ ticket_id: string;
1922
+ attachment_id: string;
1329
1923
  };
1330
1924
  query?: never;
1331
- url: '/clusters/{cluster_id}/fleets/{fleet_name}';
1925
+ url: '/tickets/{ticket_id}/attachments/{attachment_id}';
1332
1926
  };
1333
- export type DeleteFleetResponses = {
1927
+ export type GetTicketAttachmentResponses = {
1334
1928
  /**
1335
- * Successfully deleted.
1929
+ * Attachment binary stream.
1336
1930
  */
1337
- 200: string;
1931
+ 200: Blob | File;
1338
1932
  };
1339
- export type DeleteFleetResponse = DeleteFleetResponses[keyof DeleteFleetResponses];
1340
- export type GetFleetData = {
1933
+ export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
1934
+ export type ListRepositoriesData = {
1341
1935
  body?: never;
1342
- path: {
1343
- /**
1344
- * Unique identifier of the cluster. UUID v4 string in canonical form
1345
- */
1346
- cluster_id: string;
1347
- /**
1348
- * Unique identifier of the fleet. UUID v4 string in canonical form
1349
- */
1350
- fleet_name: string;
1351
- };
1936
+ path?: never;
1352
1937
  query?: never;
1353
- url: '/clusters/{cluster_id}/fleets/{fleet_name}';
1938
+ url: '/registry';
1354
1939
  };
1355
- export type GetFleetResponses = {
1940
+ export type ListRepositoriesErrors = {
1356
1941
  /**
1357
- * Returns a single object containing fleet details.
1942
+ * Not authenticated
1358
1943
  */
1359
- 200: Fleet;
1944
+ 401: unknown;
1945
+ /**
1946
+ * Internal server error
1947
+ */
1948
+ 500: unknown;
1360
1949
  };
1361
- export type GetFleetResponse = GetFleetResponses[keyof GetFleetResponses];
1362
- export type UpdateFleetData = {
1363
- body: FleetUpdateInput;
1950
+ export type ListRepositoriesResponses = {
1951
+ /**
1952
+ * List of repositories
1953
+ */
1954
+ 200: Array<RegistryRepository>;
1955
+ };
1956
+ export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
1957
+ export type ListTagsData = {
1958
+ body?: never;
1364
1959
  path: {
1365
1960
  /**
1366
- * Unique identifier of the cluster. UUID v4 string in canonical form
1961
+ * Region where the repository is located
1367
1962
  */
1368
- cluster_id: string;
1963
+ region: string;
1369
1964
  /**
1370
- * Unique identifier of the fleet. UUID v4 string in canonical form
1965
+ * Name of the repository
1371
1966
  */
1372
- fleet_name: string;
1967
+ repository: string;
1373
1968
  };
1374
1969
  query?: never;
1375
- url: '/clusters/{cluster_id}/fleets/{fleet_name}';
1970
+ url: '/registry/{region}/{repository}';
1376
1971
  };
1377
- export type UpdateFleetErrors = {
1972
+ export type ListTagsErrors = {
1378
1973
  /**
1379
- * Organization must have a valid payment method configured to access this endpoint.
1974
+ * Not authenticated
1380
1975
  */
1381
- 402: string;
1976
+ 401: unknown;
1977
+ /**
1978
+ * Repository not found
1979
+ */
1980
+ 404: unknown;
1981
+ /**
1982
+ * Internal server error
1983
+ */
1984
+ 500: unknown;
1382
1985
  };
1383
- export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
1384
- export type UpdateFleetResponses = {
1986
+ export type ListTagsResponses = {
1385
1987
  /**
1386
- * Successfully updated.
1988
+ * Repository with tags
1387
1989
  */
1388
- 200: string;
1990
+ 200: RegistryRepositoryWithTags;
1389
1991
  };
1390
- export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
1391
- export type QueryClusterData = {
1992
+ export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
1993
+ export type DeleteTagData = {
1392
1994
  body?: never;
1393
1995
  path: {
1394
1996
  /**
1395
- * Unique identifier of the cluster. UUID v4 string in canonical form
1997
+ * Region where the repository is located
1396
1998
  */
1397
- cluster_id: string;
1999
+ region: string;
2000
+ /**
2001
+ * Name of the repository
2002
+ */
2003
+ repository: string;
2004
+ /**
2005
+ * Name of the tag
2006
+ */
2007
+ tag: string;
1398
2008
  };
1399
2009
  query?: never;
1400
- url: '/clusters/{cluster_id}/query';
2010
+ url: '/registry/{region}/{repository}/{tag}';
1401
2011
  };
1402
- export type QueryClusterErrors = {
2012
+ export type DeleteTagErrors = {
1403
2013
  /**
1404
2014
  * Not authenticated
1405
2015
  */
1406
2016
  401: unknown;
2017
+ /**
2018
+ * Tag not found
2019
+ */
2020
+ 404: unknown;
2021
+ /**
2022
+ * Internal server error
2023
+ */
2024
+ 500: unknown;
1407
2025
  };
1408
- export type QueryClusterResponses = {
2026
+ export type DeleteTagResponses = {
1409
2027
  /**
1410
- * Kubernetes API response
2028
+ * Tag successfully deleted
1411
2029
  */
1412
2030
  200: unknown;
1413
2031
  };
1414
- export type ListClustersData = {
2032
+ export type GetTagData = {
1415
2033
  body?: never;
1416
- path?: never;
2034
+ path: {
2035
+ /**
2036
+ * Region where the repository is located
2037
+ */
2038
+ region: string;
2039
+ /**
2040
+ * Name of the repository
2041
+ */
2042
+ repository: string;
2043
+ /**
2044
+ * Name of the tag
2045
+ */
2046
+ tag: string;
2047
+ };
1417
2048
  query?: never;
1418
- url: '/clusters';
2049
+ url: '/registry/{region}/{repository}/{tag}';
1419
2050
  };
1420
- export type ListClustersErrors = {
2051
+ export type GetTagErrors = {
1421
2052
  /**
1422
2053
  * Not authenticated
1423
2054
  */
1424
2055
  401: unknown;
2056
+ /**
2057
+ * Tag not found
2058
+ */
2059
+ 404: unknown;
2060
+ /**
2061
+ * Internal server error
2062
+ */
2063
+ 500: unknown;
1425
2064
  };
1426
- export type ListClustersResponses = {
2065
+ export type GetTagResponses = {
1427
2066
  /**
1428
- * An array of clusters
2067
+ * Tag details
1429
2068
  */
1430
- 200: Array<Cluster>;
2069
+ 200: RegistryTag;
1431
2070
  };
1432
- export type ListClustersResponse = ListClustersResponses[keyof ListClustersResponses];
1433
- export type CreateClusterData = {
1434
- body: ClusterCreateInput;
2071
+ export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
2072
+ export type GetOrganizationData = {
2073
+ body?: never;
1435
2074
  path?: never;
1436
2075
  query?: never;
1437
- url: '/clusters';
2076
+ url: '/organization';
1438
2077
  };
1439
- export type CreateClusterErrors = {
2078
+ export type GetOrganizationResponses = {
1440
2079
  /**
1441
- * Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
2080
+ * Returns a single object containing organization details.
1442
2081
  */
1443
- 402: string;
2082
+ 200: Organization;
1444
2083
  };
1445
- export type CreateClusterError = CreateClusterErrors[keyof CreateClusterErrors];
1446
- export type CreateClusterResponses = {
2084
+ export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
2085
+ export type CreateOrganizationData = {
2086
+ body: OrganizationCreateInput;
2087
+ path?: never;
2088
+ query?: never;
2089
+ url: '/organization';
2090
+ };
2091
+ export type CreateOrganizationResponses = {
1447
2092
  /**
1448
- * Successfully created. Returns created Cluster ID.
2093
+ * Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
2094
+ *
1449
2095
  */
1450
- 200: string;
2096
+ 200: OrganizationCreateOutput;
1451
2097
  };
1452
- export type CreateClusterResponse = CreateClusterResponses[keyof CreateClusterResponses];
1453
- export type DeleteClusterData = {
1454
- body?: never;
1455
- path: {
2098
+ export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
2099
+ export type PostMcpData = {
2100
+ /**
2101
+ * JSON-RPC 2.0 request payload
2102
+ */
2103
+ body: {
2104
+ jsonrpc?: string;
2105
+ method?: string;
2106
+ id?: string | number;
1456
2107
  /**
1457
- * Unique identifier of the cluster. UUID v4 string in canonical form
2108
+ * Method-specific parameters
1458
2109
  */
1459
- cluster_id: string;
2110
+ params?: {
2111
+ [key: string]: unknown;
2112
+ };
1460
2113
  };
2114
+ path?: never;
1461
2115
  query?: never;
1462
- url: '/clusters/{cluster_id}';
2116
+ url: '/mcp';
1463
2117
  };
1464
- export type DeleteClusterResponses = {
2118
+ export type PostMcpErrors = {
1465
2119
  /**
1466
- * Successfully deleted.
2120
+ * Not authenticated
1467
2121
  */
1468
- 200: string;
2122
+ 401: unknown;
1469
2123
  };
1470
- export type DeleteClusterResponse = DeleteClusterResponses[keyof DeleteClusterResponses];
1471
- export type GetClusterData = {
2124
+ export type PostMcpResponses = {
2125
+ /**
2126
+ * JSON-RPC 2.0 success or error response
2127
+ */
2128
+ 200: {
2129
+ jsonrpc?: string;
2130
+ id?: string | number;
2131
+ result?: {
2132
+ [key: string]: unknown;
2133
+ };
2134
+ error?: {
2135
+ code?: number;
2136
+ message?: string;
2137
+ };
2138
+ };
2139
+ };
2140
+ export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
2141
+ export type ListMarketplaceChartsData = {
1472
2142
  body?: never;
1473
- path: {
1474
- /**
1475
- * Unique identifier of the cluster. UUID v4 string in canonical form
1476
- */
1477
- cluster_id: string;
1478
- };
2143
+ path?: never;
1479
2144
  query?: never;
1480
- url: '/clusters/{cluster_id}';
2145
+ url: '/marketplace';
1481
2146
  };
1482
- export type GetClusterResponses = {
2147
+ export type ListMarketplaceChartsErrors = {
1483
2148
  /**
1484
- * Returns a single object containing cluster details.
2149
+ * Not authenticated
1485
2150
  */
1486
- 200: Cluster;
1487
- };
1488
- export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
1489
- export type UpdateClusterData = {
1490
- body: ClusterUpdateInput;
1491
- path: {
1492
- /**
1493
- * Unique identifier of the cluster. UUID v4 string in canonical form
1494
- */
1495
- cluster_id: string;
1496
- };
1497
- query?: never;
1498
- url: '/clusters/{cluster_id}';
2151
+ 401: unknown;
1499
2152
  };
1500
- export type UpdateClusterResponses = {
2153
+ export type ListMarketplaceChartsResponses = {
1501
2154
  /**
1502
- * Successfully updated. Returns updated cluster details.
2155
+ * An array of chart listings in the marketplace.
1503
2156
  */
1504
- 200: Cluster;
2157
+ 200: Array<MarketplaceListing>;
1505
2158
  };
1506
- export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
1507
- export type GetJoinInformationData = {
2159
+ export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
2160
+ export type GetMarketplaceChartFilesData = {
1508
2161
  body?: never;
1509
2162
  path: {
1510
2163
  /**
1511
- * Unique identifier of the cluster. UUID v4 string in canonical form
2164
+ * Name of the chart in the marketplace.
1512
2165
  */
1513
- cluster_id: string;
2166
+ chart_name: string;
2167
+ /**
2168
+ * 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).
2169
+ */
2170
+ version_channel: string;
1514
2171
  };
1515
2172
  query?: never;
1516
- url: '/clusters/{cluster_id}/join_information';
2173
+ url: '/marketplace/{chart_name}/files/{version_channel}';
1517
2174
  };
1518
- export type GetJoinInformationErrors = {
2175
+ export type GetMarketplaceChartFilesErrors = {
1519
2176
  /**
1520
- * Not authenticated
2177
+ * Chart not found or no version matches the channel
1521
2178
  */
1522
- 401: unknown;
2179
+ 404: unknown;
1523
2180
  };
1524
- export type GetJoinInformationResponses = {
2181
+ export type GetMarketplaceChartFilesResponses = {
1525
2182
  /**
1526
- * An object of cluster join information
2183
+ * Returns an object containing the chart files for the latest matching version.
1527
2184
  */
1528
- 200: ClusterJoinInformation;
2185
+ 200: MarketplaceListingFiles;
1529
2186
  };
1530
- export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
2187
+ export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
1531
2188
  export type ListInvitesData = {
1532
2189
  body?: never;
1533
2190
  path?: never;
@@ -1548,12 +2205,7 @@ export type ListInvitesResponses = {
1548
2205
  };
1549
2206
  export type ListInvitesResponse = ListInvitesResponses[keyof ListInvitesResponses];
1550
2207
  export type CreateInviteData = {
1551
- body: {
1552
- /**
1553
- * User email address
1554
- */
1555
- email?: string;
1556
- };
2208
+ body: InviteCreateInput;
1557
2209
  path?: never;
1558
2210
  query?: never;
1559
2211
  url: '/invites';
@@ -1578,9 +2230,18 @@ export type GetInviteData = {
1578
2230
  };
1579
2231
  export type GetInviteResponses = {
1580
2232
  /**
1581
- * Returns a single object containing invite details.
2233
+ * The invitation code is valid. Returns the invited email and organization.
1582
2234
  */
1583
- 200: Invite;
2235
+ 200: {
2236
+ /**
2237
+ * Email address the invite was issued to.
2238
+ */
2239
+ email?: string;
2240
+ /**
2241
+ * Identifier of the organization the invite grants access to.
2242
+ */
2243
+ organization_id?: string;
2244
+ };
1584
2245
  };
1585
2246
  export type GetInviteResponse = GetInviteResponses[keyof GetInviteResponses];
1586
2247
  export type DeleteInviteData = {
@@ -1600,325 +2261,654 @@ export type DeleteInviteResponses = {
1600
2261
  */
1601
2262
  200: unknown;
1602
2263
  };
1603
- export type ListMarketplaceChartsData = {
2264
+ export type QueryClusterData = {
1604
2265
  body?: never;
1605
- path?: never;
2266
+ path: {
2267
+ /**
2268
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2269
+ */
2270
+ cluster_id: string;
2271
+ };
1606
2272
  query?: never;
1607
- url: '/marketplace';
2273
+ url: '/clusters/{cluster_id}/query';
1608
2274
  };
1609
- export type ListMarketplaceChartsErrors = {
2275
+ export type QueryClusterErrors = {
1610
2276
  /**
1611
2277
  * Not authenticated
1612
2278
  */
1613
2279
  401: unknown;
1614
2280
  };
1615
- export type ListMarketplaceChartsResponses = {
2281
+ export type QueryClusterResponses = {
1616
2282
  /**
1617
- * An array of chart listings in the marketplace.
2283
+ * Kubernetes API response
1618
2284
  */
1619
- 200: Array<MarketplaceListing>;
2285
+ 200: unknown;
1620
2286
  };
1621
- export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
1622
- export type GetMarketplaceChartData = {
2287
+ export type ListFleetsData = {
1623
2288
  body?: never;
1624
2289
  path: {
1625
2290
  /**
1626
- * Unique identifier of the chart listing in the marketplace.
2291
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1627
2292
  */
1628
- listing_id: string;
2293
+ cluster_id: string;
1629
2294
  };
1630
2295
  query?: never;
1631
- url: '/marketplace/{listing_id}';
2296
+ url: '/clusters/{cluster_id}/fleets';
1632
2297
  };
1633
- export type GetMarketplaceChartResponses = {
2298
+ export type ListFleetsErrors = {
1634
2299
  /**
1635
- * Returns an object containing the chart listing details.
2300
+ * Not authenticated
1636
2301
  */
1637
- 200: MarketplaceListing;
1638
- };
1639
- export type GetMarketplaceChartResponse = GetMarketplaceChartResponses[keyof GetMarketplaceChartResponses];
1640
- export type GetOrganizationData = {
1641
- body?: never;
1642
- path?: never;
1643
- query?: never;
1644
- url: '/organization';
2302
+ 401: unknown;
1645
2303
  };
1646
- export type GetOrganizationResponses = {
2304
+ export type ListFleetsResponses = {
1647
2305
  /**
1648
- * Returns a single object containing organization details.
2306
+ * An array of fleets
1649
2307
  */
1650
- 200: Organization;
2308
+ 200: Array<Fleet>;
1651
2309
  };
1652
- export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
1653
- export type CreateOrganizationData = {
1654
- body: OrganizationCreateInput;
1655
- path?: never;
2310
+ export type ListFleetsResponse = ListFleetsResponses[keyof ListFleetsResponses];
2311
+ export type CreateFleetData = {
2312
+ body: FleetCreateInput;
2313
+ path: {
2314
+ /**
2315
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2316
+ */
2317
+ cluster_id: string;
2318
+ };
1656
2319
  query?: never;
1657
- url: '/organization';
2320
+ url: '/clusters/{cluster_id}/fleets';
1658
2321
  };
1659
- export type CreateOrganizationResponses = {
2322
+ export type CreateFleetErrors = {
1660
2323
  /**
1661
- * Successfully created a new organization.
2324
+ * Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
1662
2325
  */
1663
- 200: unknown;
1664
- };
1665
- export type ListTokensData = {
1666
- body?: never;
1667
- path?: never;
1668
- query?: never;
1669
- url: '/tokens';
1670
- };
1671
- export type ListTokensErrors = {
2326
+ 402: string;
1672
2327
  /**
1673
- * Not authenticated
2328
+ * 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.
1674
2329
  */
1675
- 401: unknown;
2330
+ 409: string;
1676
2331
  };
1677
- export type ListTokensResponses = {
2332
+ export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
2333
+ export type CreateFleetResponses = {
1678
2334
  /**
1679
- * Returns a list of access token details with masked secrets.
2335
+ * Successfully created. Returns created Fleet ID.
1680
2336
  */
1681
- 200: Array<Token>;
2337
+ 200: string;
1682
2338
  };
1683
- export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
1684
- export type CreateTokenData = {
1685
- body: TokenCreateInput;
1686
- path?: never;
2339
+ export type CreateFleetResponse = CreateFleetResponses[keyof CreateFleetResponses];
2340
+ export type DeleteFleetData = {
2341
+ body?: never;
2342
+ path: {
2343
+ /**
2344
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2345
+ */
2346
+ cluster_id: string;
2347
+ /**
2348
+ * Unique identifier of the fleet. UUID v4 string in canonical form
2349
+ */
2350
+ fleet_name: string;
2351
+ };
1687
2352
  query?: never;
1688
- url: '/tokens';
2353
+ url: '/clusters/{cluster_id}/fleets/{fleet_name}';
1689
2354
  };
1690
- export type CreateTokenErrors = {
2355
+ export type DeleteFleetErrors = {
1691
2356
  /**
1692
- * Not authenticated
2357
+ * 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.
1693
2358
  */
1694
- 401: unknown;
2359
+ 409: string;
1695
2360
  };
1696
- export type CreateTokenResponses = {
2361
+ export type DeleteFleetError = DeleteFleetErrors[keyof DeleteFleetErrors];
2362
+ export type DeleteFleetResponses = {
1697
2363
  /**
1698
- * Successfully created. Returns created token details with unmasked/raw secret.
2364
+ * Successfully deleted.
1699
2365
  */
1700
- 200: Token;
2366
+ 200: string;
1701
2367
  };
1702
- export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
1703
- export type DeleteTokenData = {
2368
+ export type DeleteFleetResponse = DeleteFleetResponses[keyof DeleteFleetResponses];
2369
+ export type GetFleetData = {
1704
2370
  body?: never;
1705
2371
  path: {
1706
2372
  /**
1707
- * Generated unique identifier of the access token.
2373
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1708
2374
  */
1709
- token_id: string;
2375
+ cluster_id: string;
2376
+ /**
2377
+ * Unique identifier of the fleet. UUID v4 string in canonical form
2378
+ */
2379
+ fleet_name: string;
1710
2380
  };
1711
2381
  query?: never;
1712
- url: '/tokens/{token_id}';
2382
+ url: '/clusters/{cluster_id}/fleets/{fleet_name}';
1713
2383
  };
1714
- export type DeleteTokenResponses = {
2384
+ export type GetFleetResponses = {
1715
2385
  /**
1716
- * Successfully deleted.
2386
+ * Returns a single object containing fleet details.
1717
2387
  */
1718
- 200: unknown;
2388
+ 200: Fleet;
1719
2389
  };
1720
- export type GetTokenData = {
1721
- body?: never;
2390
+ export type GetFleetResponse = GetFleetResponses[keyof GetFleetResponses];
2391
+ export type UpdateFleetData = {
2392
+ body: FleetUpdateInput;
1722
2393
  path: {
1723
2394
  /**
1724
- * Generated unique identifier of the access token.
2395
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1725
2396
  */
1726
- token_id: string;
2397
+ cluster_id: string;
2398
+ /**
2399
+ * Unique identifier of the fleet. UUID v4 string in canonical form
2400
+ */
2401
+ fleet_name: string;
1727
2402
  };
1728
2403
  query?: never;
1729
- url: '/tokens/{token_id}';
2404
+ url: '/clusters/{cluster_id}/fleets/{fleet_name}';
1730
2405
  };
1731
- export type GetTokenErrors = {
2406
+ export type UpdateFleetErrors = {
1732
2407
  /**
1733
- * Not authenticated
2408
+ * Organization must have a valid payment method configured to access this endpoint.
1734
2409
  */
1735
- 401: unknown;
2410
+ 402: string;
2411
+ /**
2412
+ * 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.
2413
+ */
2414
+ 409: string;
1736
2415
  };
1737
- export type GetTokenResponses = {
2416
+ export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
2417
+ export type UpdateFleetResponses = {
1738
2418
  /**
1739
- * Returns access token details with masked secret.
2419
+ * Successfully updated.
1740
2420
  */
1741
- 200: Token;
2421
+ 200: string;
1742
2422
  };
1743
- export type GetTokenResponse = GetTokenResponses[keyof GetTokenResponses];
1744
- export type UpdateTokenData = {
1745
- body: TokenUpdateInput;
2423
+ export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
2424
+ export type ListChartsData = {
2425
+ body?: never;
1746
2426
  path: {
1747
2427
  /**
1748
- * Generated unique identifier of the access token.
2428
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1749
2429
  */
1750
- token_id: string;
2430
+ cluster_id: string;
1751
2431
  };
1752
2432
  query?: never;
1753
- url: '/tokens/{token_id}';
2433
+ url: '/clusters/{cluster_id}/charts';
1754
2434
  };
1755
- export type UpdateTokenErrors = {
2435
+ export type ListChartsErrors = {
1756
2436
  /**
1757
2437
  * Not authenticated
1758
2438
  */
1759
2439
  401: unknown;
1760
2440
  };
1761
- export type UpdateTokenResponses = {
2441
+ export type ListChartsResponses = {
1762
2442
  /**
1763
- * Successfully updated. Returns updated token details with masked secret.
2443
+ * An array of charts
1764
2444
  */
1765
- 200: Token;
2445
+ 200: Array<Chart>;
1766
2446
  };
1767
- export type UpdateTokenResponse = UpdateTokenResponses[keyof UpdateTokenResponses];
1768
- export type RegenerateTokenData = {
1769
- body?: never;
2447
+ export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
2448
+ export type CreateChartData = {
2449
+ body: ChartCreateInput;
1770
2450
  path: {
1771
2451
  /**
1772
- * Generated unique identifier of the access token.
2452
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1773
2453
  */
1774
- token_id: string;
2454
+ cluster_id: string;
1775
2455
  };
1776
2456
  query?: never;
1777
- url: '/tokens/{token_id}/secret';
2457
+ url: '/clusters/{cluster_id}/charts';
1778
2458
  };
1779
- export type RegenerateTokenErrors = {
2459
+ export type CreateChartErrors = {
1780
2460
  /**
1781
- * Not authenticated
2461
+ * 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.
1782
2462
  */
1783
- 401: unknown;
2463
+ 409: string;
1784
2464
  };
1785
- export type RegenerateTokenResponses = {
2465
+ export type CreateChartError = CreateChartErrors[keyof CreateChartErrors];
2466
+ export type CreateChartResponses = {
1786
2467
  /**
1787
- * Successfully updated. Returns updated token details with unmasked / raw secret.
2468
+ * Successfully created. Returns created Chart ID.
1788
2469
  */
1789
- 200: Token;
2470
+ 200: string;
1790
2471
  };
1791
- export type RegenerateTokenResponse = RegenerateTokenResponses[keyof RegenerateTokenResponses];
1792
- export type ListUserOrganizationsData = {
2472
+ export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
2473
+ export type DeleteChartData = {
1793
2474
  body?: never;
1794
2475
  path: {
1795
2476
  /**
1796
- * User email address.
2477
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1797
2478
  */
1798
- email: string;
2479
+ cluster_id: string;
2480
+ /**
2481
+ * Chart deployment name as the unique identifier of the chart.
2482
+ */
2483
+ chart_name: string;
1799
2484
  };
1800
2485
  query?: never;
1801
- url: '/users/organizations/{email}';
2486
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
1802
2487
  };
1803
- export type ListUserOrganizationsResponses = {
2488
+ export type DeleteChartErrors = {
1804
2489
  /**
1805
- * An array of organizations the user belongs to.
2490
+ * 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.
1806
2491
  */
1807
- 200: Array<{
2492
+ 409: string;
2493
+ };
2494
+ export type DeleteChartError = DeleteChartErrors[keyof DeleteChartErrors];
2495
+ export type DeleteChartResponses = {
2496
+ /**
2497
+ * Successfully deleted.
2498
+ */
2499
+ 200: string;
2500
+ };
2501
+ export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
2502
+ export type GetChartData = {
2503
+ body?: never;
2504
+ path: {
1808
2505
  /**
1809
- * Unique identifier of the organization. UUID v4 string in canonical form
2506
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1810
2507
  */
1811
- realm?: string;
2508
+ cluster_id: string;
1812
2509
  /**
1813
- * Human-readable name of the organization
2510
+ * Chart deployment name as the unique identifier of the chart.
1814
2511
  */
1815
- displayName?: string;
1816
- }>;
2512
+ chart_name: string;
2513
+ };
2514
+ query?: never;
2515
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
1817
2516
  };
1818
- export type ListUserOrganizationsResponse = ListUserOrganizationsResponses[keyof ListUserOrganizationsResponses];
1819
- export type ListUsersData = {
2517
+ export type GetChartResponses = {
2518
+ /**
2519
+ * Returns a single object containing chart details.
2520
+ */
2521
+ 200: Chart;
2522
+ };
2523
+ export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
2524
+ export type UpdateChartData = {
2525
+ body: ChartUpdateInput;
2526
+ path: {
2527
+ /**
2528
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2529
+ */
2530
+ cluster_id: string;
2531
+ /**
2532
+ * Chart deployment name as the unique identifier of the chart.
2533
+ */
2534
+ chart_name: string;
2535
+ };
2536
+ query?: never;
2537
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
2538
+ };
2539
+ export type UpdateChartErrors = {
2540
+ /**
2541
+ * 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.
2542
+ */
2543
+ 409: string;
2544
+ };
2545
+ export type UpdateChartError = UpdateChartErrors[keyof UpdateChartErrors];
2546
+ export type UpdateChartResponses = {
2547
+ /**
2548
+ * Successfully updated.
2549
+ */
2550
+ 200: string;
2551
+ };
2552
+ export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
2553
+ export type ListClustersData = {
1820
2554
  body?: never;
1821
2555
  path?: never;
1822
2556
  query?: never;
1823
- url: '/users';
2557
+ url: '/clusters';
1824
2558
  };
1825
- export type ListUsersErrors = {
2559
+ export type ListClustersErrors = {
1826
2560
  /**
1827
2561
  * Not authenticated
1828
2562
  */
1829
2563
  401: unknown;
1830
2564
  };
1831
- export type ListUsersResponses = {
2565
+ export type ListClustersResponses = {
1832
2566
  /**
1833
- * An array of users
2567
+ * An array of clusters
1834
2568
  */
1835
- 200: Array<User>;
2569
+ 200: Array<Cluster>;
1836
2570
  };
1837
- export type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
1838
- export type CreateUserData = {
1839
- body: UserCreateInput;
2571
+ export type ListClustersResponse = ListClustersResponses[keyof ListClustersResponses];
2572
+ export type CreateClusterData = {
2573
+ body: ClusterCreateInput;
1840
2574
  path?: never;
1841
2575
  query?: never;
1842
- url: '/users';
2576
+ url: '/clusters';
1843
2577
  };
1844
- export type CreateUserResponses = {
2578
+ export type CreateClusterErrors = {
1845
2579
  /**
1846
- * Successfully created. Returns created user details.
2580
+ * Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
1847
2581
  */
1848
- 200: User;
2582
+ 402: string;
1849
2583
  };
1850
- export type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];
1851
- export type DeleteUserData = {
2584
+ export type CreateClusterError = CreateClusterErrors[keyof CreateClusterErrors];
2585
+ export type CreateClusterResponses = {
2586
+ /**
2587
+ * Successfully created. Returns created Cluster ID.
2588
+ */
2589
+ 200: string;
2590
+ };
2591
+ export type CreateClusterResponse = CreateClusterResponses[keyof CreateClusterResponses];
2592
+ export type DeleteClusterData = {
1852
2593
  body?: never;
1853
2594
  path: {
1854
2595
  /**
1855
- * Unique user identifier. UUID v4 string in canonical form
2596
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1856
2597
  */
1857
- user_id: string;
2598
+ cluster_id: string;
1858
2599
  };
1859
2600
  query?: never;
1860
- url: '/users/{user_id}';
2601
+ url: '/clusters/{cluster_id}';
1861
2602
  };
1862
- export type DeleteUserErrors = {
2603
+ export type DeleteClusterErrors = {
1863
2604
  /**
1864
- * Deleting own user is not allowed. Delete your organization instead.
2605
+ * Cluster not found it does not exist or has already been deleted.
1865
2606
  */
1866
- 400: unknown;
2607
+ 404: unknown;
2608
+ /**
2609
+ * 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.
2610
+ */
2611
+ 409: string;
2612
+ /**
2613
+ * Transient failure tearing down the cluster; retry the request.
2614
+ */
2615
+ 503: unknown;
2616
+ };
2617
+ export type DeleteClusterError = DeleteClusterErrors[keyof DeleteClusterErrors];
2618
+ export type DeleteClusterResponses = {
2619
+ /**
2620
+ * Successfully deleted. The cluster has been torn down.
2621
+ */
2622
+ 200: string;
2623
+ };
2624
+ export type DeleteClusterResponse = DeleteClusterResponses[keyof DeleteClusterResponses];
2625
+ export type GetClusterData = {
2626
+ body?: never;
2627
+ path: {
2628
+ /**
2629
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2630
+ */
2631
+ cluster_id: string;
2632
+ };
2633
+ query?: never;
2634
+ url: '/clusters/{cluster_id}';
2635
+ };
2636
+ export type GetClusterResponses = {
2637
+ /**
2638
+ * Returns a single object containing cluster details.
2639
+ */
2640
+ 200: Cluster;
2641
+ };
2642
+ export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
2643
+ export type UpdateClusterData = {
2644
+ body: ClusterUpdateInput;
2645
+ path: {
2646
+ /**
2647
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2648
+ */
2649
+ cluster_id: string;
2650
+ };
2651
+ query?: never;
2652
+ url: '/clusters/{cluster_id}';
2653
+ };
2654
+ export type UpdateClusterErrors = {
2655
+ /**
2656
+ * 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.
2657
+ */
2658
+ 409: string;
2659
+ };
2660
+ export type UpdateClusterError = UpdateClusterErrors[keyof UpdateClusterErrors];
2661
+ export type UpdateClusterResponses = {
2662
+ /**
2663
+ * Successfully updated. Returns updated cluster details.
2664
+ */
2665
+ 200: Cluster;
2666
+ };
2667
+ export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
2668
+ export type GetJoinInformationData = {
2669
+ body?: never;
2670
+ path: {
2671
+ /**
2672
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2673
+ */
2674
+ cluster_id: string;
2675
+ };
2676
+ query?: never;
2677
+ url: '/clusters/{cluster_id}/join_information';
2678
+ };
2679
+ export type GetJoinInformationErrors = {
2680
+ /**
2681
+ * Not authenticated
2682
+ */
2683
+ 401: unknown;
2684
+ /**
2685
+ * 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.
2686
+ */
2687
+ 409: string;
2688
+ };
2689
+ export type GetJoinInformationError = GetJoinInformationErrors[keyof GetJoinInformationErrors];
2690
+ export type GetJoinInformationResponses = {
2691
+ /**
2692
+ * An object of cluster join information
2693
+ */
2694
+ 200: ClusterJoinInformation;
2695
+ };
2696
+ export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
2697
+ export type GetUsageData = {
2698
+ body?: never;
2699
+ path?: never;
2700
+ query?: {
2701
+ /**
2702
+ * 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)
2703
+ */
2704
+ granularity?: 'hourly' | 'daily' | 'monthly';
2705
+ };
2706
+ url: '/billing/usage';
2707
+ };
2708
+ export type GetUsageErrors = {
1867
2709
  /**
1868
2710
  * Not authenticated
1869
2711
  */
1870
2712
  401: unknown;
1871
2713
  };
1872
- export type DeleteUserResponses = {
2714
+ export type GetUsageResponses = {
1873
2715
  /**
1874
- * User profile information
2716
+ * Usage data with facets for filtering
1875
2717
  */
1876
- 200: User;
2718
+ 200: UsageResponse;
1877
2719
  };
1878
- export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
1879
- export type GetUserData = {
2720
+ export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
2721
+ export type GetPaymentMethodSecretData = {
2722
+ body?: never;
2723
+ path?: never;
2724
+ query?: never;
2725
+ url: '/billing/payment-method';
2726
+ };
2727
+ export type GetPaymentMethodSecretResponses = {
2728
+ /**
2729
+ * 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.
2730
+ *
2731
+ */
2732
+ 200: {
2733
+ /**
2734
+ * The client secret.
2735
+ */
2736
+ id?: string;
2737
+ };
2738
+ };
2739
+ export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
2740
+ export type ListPaymentMethodsData = {
2741
+ body?: never;
2742
+ path?: never;
2743
+ query?: never;
2744
+ url: '/billing/payment-methods';
2745
+ };
2746
+ export type ListPaymentMethodsErrors = {
2747
+ /**
2748
+ * Not authenticated
2749
+ */
2750
+ 401: unknown;
2751
+ };
2752
+ export type ListPaymentMethodsResponses = {
2753
+ /**
2754
+ * An array of payment methods.
2755
+ */
2756
+ 200: Array<PaymentMethod>;
2757
+ };
2758
+ export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
2759
+ export type SetDefaultPaymentMethodData = {
1880
2760
  body?: never;
1881
2761
  path: {
1882
2762
  /**
1883
- * Unique user identifier. UUID v4 string in canonical form
2763
+ * Stripe payment method identifier.
1884
2764
  */
1885
- user_id: string;
2765
+ paymentMethodId: string;
1886
2766
  };
1887
2767
  query?: never;
1888
- url: '/users/{user_id}';
2768
+ url: '/billing/payment-methods/{paymentMethodId}/default';
1889
2769
  };
1890
- export type GetUserErrors = {
2770
+ export type SetDefaultPaymentMethodErrors = {
2771
+ /**
2772
+ * The bank transfer payment method cannot be set as the default.
2773
+ */
2774
+ 400: unknown;
1891
2775
  /**
1892
2776
  * Not authenticated
1893
2777
  */
1894
2778
  401: unknown;
2779
+ /**
2780
+ * Payment method not found.
2781
+ */
2782
+ 404: unknown;
1895
2783
  };
1896
- export type GetUserResponses = {
2784
+ export type SetDefaultPaymentMethodResponses = {
1897
2785
  /**
1898
- * User profile information
2786
+ * Default payment method updated.
1899
2787
  */
1900
- 200: User;
2788
+ 204: void;
1901
2789
  };
1902
- export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
1903
- export type UpdateUserData = {
1904
- body: UserUpdateInput;
2790
+ export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
2791
+ export type DeletePaymentMethodData = {
2792
+ body?: never;
1905
2793
  path: {
1906
2794
  /**
1907
- * Unique user identifier. UUID v4 string in canonical form
2795
+ * Stripe payment method identifier.
1908
2796
  */
1909
- user_id: string;
2797
+ paymentMethodId: string;
1910
2798
  };
1911
2799
  query?: never;
1912
- url: '/users/{user_id}';
2800
+ url: '/billing/payment-methods/{paymentMethodId}';
1913
2801
  };
1914
- export type UpdateUserResponses = {
2802
+ export type DeletePaymentMethodErrors = {
1915
2803
  /**
1916
- * Successfully created. Returns created user details.
2804
+ * The bank transfer payment method cannot be removed.
1917
2805
  */
1918
- 200: User;
2806
+ 400: unknown;
2807
+ /**
2808
+ * Not authenticated
2809
+ */
2810
+ 401: unknown;
2811
+ /**
2812
+ * Payment method not found.
2813
+ */
2814
+ 404: unknown;
2815
+ /**
2816
+ * Cannot delete the only remaining payment method.
2817
+ */
2818
+ 409: unknown;
1919
2819
  };
1920
- export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
1921
- export type ClientOptions = {
1922
- baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
2820
+ export type DeletePaymentMethodResponses = {
2821
+ /**
2822
+ * Payment method deleted.
2823
+ */
2824
+ 204: void;
2825
+ };
2826
+ export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
2827
+ export type ListInvoicesData = {
2828
+ body?: never;
2829
+ path?: never;
2830
+ query?: never;
2831
+ url: '/billing/invoices';
2832
+ };
2833
+ export type ListInvoicesErrors = {
2834
+ /**
2835
+ * Not authenticated
2836
+ */
2837
+ 401: unknown;
2838
+ };
2839
+ export type ListInvoicesResponses = {
2840
+ /**
2841
+ * An array of usage records.
2842
+ */
2843
+ 200: Array<Invoice>;
2844
+ };
2845
+ export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
2846
+ export type GetContactData = {
2847
+ body?: never;
2848
+ path?: never;
2849
+ query?: never;
2850
+ url: '/billing/contact';
2851
+ };
2852
+ export type GetContactResponses = {
2853
+ /**
2854
+ * Returns a single object containing organization contact and billing address details.
2855
+ */
2856
+ 200: BillingContact;
2857
+ };
2858
+ export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
2859
+ export type UpdateContactData = {
2860
+ body: BillingContact;
2861
+ path?: never;
2862
+ query?: never;
2863
+ url: '/billing/contact';
2864
+ };
2865
+ export type UpdateContactResponses = {
2866
+ /**
2867
+ * Successfully updated. Returns updated organization details.
2868
+ */
2869
+ 200: BillingContact;
2870
+ };
2871
+ export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
2872
+ export type GetCreditsData = {
2873
+ body?: never;
2874
+ path?: never;
2875
+ query?: never;
2876
+ url: '/billing/credits';
2877
+ };
2878
+ export type GetCreditsErrors = {
2879
+ /**
2880
+ * Not authenticated
2881
+ */
2882
+ 401: unknown;
2883
+ };
2884
+ export type GetCreditsResponses = {
2885
+ /**
2886
+ * An array of the applied promotional credits records.
2887
+ */
2888
+ 200: Array<BillingCredits>;
2889
+ };
2890
+ export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
2891
+ export type RedeemCreditsData = {
2892
+ body: {
2893
+ /**
2894
+ * Promotional code to redeem
2895
+ */
2896
+ code?: string;
2897
+ };
2898
+ path?: never;
2899
+ query?: never;
2900
+ url: '/billing/credits';
2901
+ };
2902
+ export type RedeemCreditsErrors = {
2903
+ /**
2904
+ * Not authenticated
2905
+ */
2906
+ 401: unknown;
2907
+ };
2908
+ export type RedeemCreditsResponses = {
2909
+ /**
2910
+ * Successfully created a new organization.
2911
+ */
2912
+ 200: unknown;
1923
2913
  };
1924
2914
  //# sourceMappingURL=types.gen.d.ts.map