@cloudfleet/sdk 0.0.1-e9052b2 → 0.0.1-ea442a2

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