@cloudfleet/sdk 0.0.1-90edb44 → 0.0.1-93502b6

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