@cloudfleet/sdk 0.0.1-d36fcac → 0.0.1-d3aa845

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