@cloudfleet/sdk 0.0.1-9835b73 → 0.0.1-9a4447d

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 (72) hide show
  1. package/dist/@tanstack/react-query.gen.d.ts +1139 -0
  2. package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
  3. package/dist/@tanstack/react-query.gen.js +1167 -0
  4. package/dist/@tanstack/react-query.gen.js.map +1 -0
  5. package/dist/client/client.gen.d.ts +3 -0
  6. package/dist/client/client.gen.d.ts.map +1 -0
  7. package/dist/client/client.gen.js +220 -0
  8. package/dist/client/client.gen.js.map +1 -0
  9. package/dist/client/index.d.ts +9 -0
  10. package/dist/client/index.d.ts.map +1 -0
  11. package/dist/client/index.js +7 -0
  12. package/dist/client/index.js.map +1 -0
  13. package/dist/client/types.gen.d.ts +121 -0
  14. package/dist/client/types.gen.d.ts.map +1 -0
  15. package/dist/client/types.gen.js +3 -0
  16. package/dist/client/types.gen.js.map +1 -0
  17. package/dist/client/utils.gen.d.ts +38 -0
  18. package/dist/client/utils.gen.d.ts.map +1 -0
  19. package/dist/client/utils.gen.js +229 -0
  20. package/dist/client/utils.gen.js.map +1 -0
  21. package/dist/client.gen.d.ts +4 -4
  22. package/dist/client.gen.d.ts.map +1 -1
  23. package/dist/client.gen.js +2 -4
  24. package/dist/client.gen.js.map +1 -1
  25. package/dist/core/auth.gen.d.ts +19 -0
  26. package/dist/core/auth.gen.d.ts.map +1 -0
  27. package/dist/core/auth.gen.js +15 -0
  28. package/dist/core/auth.gen.js.map +1 -0
  29. package/dist/core/bodySerializer.gen.d.ts +26 -0
  30. package/dist/core/bodySerializer.gen.d.ts.map +1 -0
  31. package/dist/core/bodySerializer.gen.js +58 -0
  32. package/dist/core/bodySerializer.gen.js.map +1 -0
  33. package/dist/core/params.gen.d.ts +44 -0
  34. package/dist/core/params.gen.d.ts.map +1 -0
  35. package/dist/core/params.gen.js +101 -0
  36. package/dist/core/params.gen.js.map +1 -0
  37. package/dist/core/pathSerializer.gen.d.ts +34 -0
  38. package/dist/core/pathSerializer.gen.d.ts.map +1 -0
  39. package/dist/core/pathSerializer.gen.js +107 -0
  40. package/dist/core/pathSerializer.gen.js.map +1 -0
  41. package/dist/core/queryKeySerializer.gen.d.ts +19 -0
  42. package/dist/core/queryKeySerializer.gen.d.ts.map +1 -0
  43. package/dist/core/queryKeySerializer.gen.js +93 -0
  44. package/dist/core/queryKeySerializer.gen.js.map +1 -0
  45. package/dist/core/serverSentEvents.gen.d.ts +72 -0
  46. package/dist/core/serverSentEvents.gen.d.ts.map +1 -0
  47. package/dist/core/serverSentEvents.gen.js +133 -0
  48. package/dist/core/serverSentEvents.gen.js.map +1 -0
  49. package/dist/core/types.gen.d.ts +79 -0
  50. package/dist/core/types.gen.d.ts.map +1 -0
  51. package/dist/core/types.gen.js +3 -0
  52. package/dist/core/types.gen.js.map +1 -0
  53. package/dist/core/utils.gen.d.ts +20 -0
  54. package/dist/core/utils.gen.d.ts.map +1 -0
  55. package/dist/core/utils.gen.js +88 -0
  56. package/dist/core/utils.gen.js.map +1 -0
  57. package/dist/schemas.gen.d.ts +1337 -589
  58. package/dist/schemas.gen.d.ts.map +1 -1
  59. package/dist/schemas.gen.js +2675 -688
  60. package/dist/schemas.gen.js.map +1 -1
  61. package/dist/sdk.gen.d.ts +187 -63
  62. package/dist/sdk.gen.d.ts.map +1 -1
  63. package/dist/sdk.gen.js +236 -165
  64. package/dist/sdk.gen.js.map +1 -1
  65. package/dist/services/kubernetes/api.d.ts +20 -20
  66. package/dist/types.gen.d.ts +1151 -371
  67. package/dist/types.gen.d.ts.map +1 -1
  68. package/dist/zod.gen.d.ts +3526 -2590
  69. package/dist/zod.gen.d.ts.map +1 -1
  70. package/dist/zod.gen.js +1242 -936
  71. package/dist/zod.gen.js.map +1 -1
  72. package/package.json +29 -7
@@ -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.
46
+ * Name of the billing contact person.
40
47
  */
41
- first_name: string;
42
- /**
43
- * Last name of the billing contact person.
44
- */
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
  };
@@ -174,13 +173,13 @@ export type ClusterCreateInput = {
174
173
  */
175
174
  tier: 'basic' | 'pro';
176
175
  /**
177
- * Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a". This field can not be updated after creation.
176
+ * Cloudfleet control plane region. One of "staging-1a", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
178
177
  */
179
- region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a';
178
+ region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
180
179
  /**
181
180
  * Version of the kubernetes cluster.
182
181
  */
183
- version_channel?: string;
182
+ version_channel?: '1.x.x-cfke.x' | '1.31.x-cfke.x' | '1.32.x-cfke.x' | '1.33.x-cfke.x';
184
183
  };
185
184
  export type ClusterJoinInformation = {
186
185
  /**
@@ -191,6 +190,10 @@ export type ClusterJoinInformation = {
191
190
  * Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.
192
191
  */
193
192
  endpoint: string;
193
+ /**
194
+ * Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.
195
+ */
196
+ cluster_dns: string;
194
197
  /**
195
198
  * Authentication key for the cluster.
196
199
  */
@@ -215,6 +218,10 @@ export type ClusterJoinInformation = {
215
218
  * Containerd version of the cluster.
216
219
  */
217
220
  containerd: string;
221
+ /**
222
+ * NVIDIA driver version of the cluster.
223
+ */
224
+ nvidia_driver: string;
218
225
  };
219
226
  /**
220
227
  * OIDC Information for hosts to access to third party API's.
@@ -244,13 +251,9 @@ export type Cluster = {
244
251
  */
245
252
  tier: 'basic' | 'pro';
246
253
  /**
247
- * Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a". This field can not be updated after creation.
248
- */
249
- region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a';
250
- /**
251
- * Version of the kubernetes cluster.
254
+ * Cloudfleet control plane region. One of "staging-1a", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
252
255
  */
253
- version_channel?: string;
256
+ region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
254
257
  /**
255
258
  * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
256
259
  */
@@ -258,8 +261,9 @@ export type Cluster = {
258
261
  /**
259
262
  * Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.
260
263
  */
261
- status: 'active' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
264
+ status: 'active' | 'disabled' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
262
265
  endpoint?: string | '';
266
+ endpoint_public?: string | '';
263
267
  /**
264
268
  * Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
265
269
  */
@@ -280,6 +284,10 @@ export type Cluster = {
280
284
  * Indicates if the cluster is ready to be used.
281
285
  */
282
286
  ready?: boolean;
287
+ /**
288
+ * Version of the kubernetes cluster.
289
+ */
290
+ version_channel?: string;
283
291
  };
284
292
  export type ClusterUpdateInput = {
285
293
  /**
@@ -301,31 +309,56 @@ export type FleetCreateInput = {
301
309
  */
302
310
  limits?: {
303
311
  /**
304
- * CPU limit in cores.
312
+ * CPU limit in cores. Maximum 100,000.
305
313
  */
306
- cpu: number;
314
+ cpu?: number;
307
315
  };
308
316
  gcp?: {
309
- enabled?: boolean;
317
+ enabled: boolean;
310
318
  /**
311
- * Project GCP Project id to deploy instances into
319
+ * GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.
312
320
  */
313
- project: string;
321
+ project?: string;
314
322
  };
315
323
  hetzner?: {
316
- enabled?: boolean;
324
+ enabled: boolean;
317
325
  /**
318
- * Hetzner Cloud API key with read / write access
326
+ * Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
319
327
  */
320
- apiKey: string;
328
+ apiKey?: string;
321
329
  };
322
330
  aws?: {
323
- enabled?: boolean;
331
+ enabled: boolean;
324
332
  /**
325
- * ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.
333
+ * AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
326
334
  */
327
- controllerRoleArn: string;
335
+ controllerRoleArn?: string;
328
336
  };
337
+ /**
338
+ * Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together. Omit a field to place no restriction on that key.
339
+ */
340
+ constraints?: {
341
+ /**
342
+ * Allowed values for `karpenter.sh/capacity-type`.
343
+ */
344
+ 'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
345
+ /**
346
+ * Allowed values for `kubernetes.io/arch`.
347
+ */
348
+ 'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
349
+ /**
350
+ * Allowed values for `cfke.io/instance-family`.
351
+ */
352
+ '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'>;
353
+ /**
354
+ * Allowed values for `topology.kubernetes.io/region`.
355
+ */
356
+ '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'>;
357
+ };
358
+ /**
359
+ * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
360
+ */
361
+ scalingProfile?: 'aggressive' | 'conservative';
329
362
  /**
330
363
  * Unique identifier of the kubernetes fleet.
331
364
  */
@@ -337,31 +370,56 @@ export type Fleet = {
337
370
  */
338
371
  limits?: {
339
372
  /**
340
- * CPU limit in cores.
373
+ * CPU limit in cores. Maximum 100,000.
341
374
  */
342
- cpu: number;
375
+ cpu?: number;
343
376
  };
344
377
  gcp?: {
345
- enabled?: boolean;
378
+ enabled: boolean;
346
379
  /**
347
- * Project GCP Project id to deploy instances into
380
+ * GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.
348
381
  */
349
- project: string;
382
+ project?: string;
350
383
  };
351
384
  hetzner?: {
352
- enabled?: boolean;
385
+ enabled: boolean;
353
386
  /**
354
- * Hetzner Cloud API key with read / write access
387
+ * Redacted Hetzner API token. Returned as 64 asterisks when a token is configured; omitted otherwise. The real value is never echoed by the API.
355
388
  */
356
- apiKey: string;
389
+ apiKey?: string;
357
390
  };
358
391
  aws?: {
359
- enabled?: boolean;
392
+ enabled: boolean;
360
393
  /**
361
- * ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.
394
+ * AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
362
395
  */
363
- controllerRoleArn: string;
396
+ controllerRoleArn?: string;
364
397
  };
398
+ /**
399
+ * Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together. Omit a field to place no restriction on that key.
400
+ */
401
+ constraints?: {
402
+ /**
403
+ * Allowed values for `karpenter.sh/capacity-type`.
404
+ */
405
+ 'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
406
+ /**
407
+ * Allowed values for `kubernetes.io/arch`.
408
+ */
409
+ 'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
410
+ /**
411
+ * Allowed values for `cfke.io/instance-family`.
412
+ */
413
+ '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'>;
414
+ /**
415
+ * Allowed values for `topology.kubernetes.io/region`.
416
+ */
417
+ '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'>;
418
+ };
419
+ /**
420
+ * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
421
+ */
422
+ scalingProfile: 'aggressive' | 'conservative';
365
423
  /**
366
424
  * Unique identifier of the kubernetes fleet.
367
425
  */
@@ -373,31 +431,56 @@ export type FleetUpdateInput = {
373
431
  */
374
432
  limits?: {
375
433
  /**
376
- * CPU limit in cores.
434
+ * CPU limit in cores. Maximum 100,000.
377
435
  */
378
- cpu: number;
436
+ cpu?: number;
379
437
  };
380
438
  gcp?: {
381
- enabled?: boolean;
439
+ enabled: boolean;
382
440
  /**
383
- * Project GCP Project id to deploy instances into
441
+ * GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.
384
442
  */
385
- project: string;
443
+ project?: string;
386
444
  };
387
445
  hetzner?: {
388
- enabled?: boolean;
446
+ enabled: boolean;
389
447
  /**
390
- * Hetzner Cloud API key with read / write access
448
+ * Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
391
449
  */
392
- apiKey: string;
450
+ apiKey?: string;
393
451
  };
394
452
  aws?: {
395
- enabled?: boolean;
453
+ enabled: boolean;
396
454
  /**
397
- * ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.
455
+ * AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
398
456
  */
399
- controllerRoleArn: string;
457
+ controllerRoleArn?: string;
400
458
  };
459
+ /**
460
+ * Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together. Omit a field to place no restriction on that key.
461
+ */
462
+ constraints?: {
463
+ /**
464
+ * Allowed values for `karpenter.sh/capacity-type`.
465
+ */
466
+ 'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
467
+ /**
468
+ * Allowed values for `kubernetes.io/arch`.
469
+ */
470
+ 'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
471
+ /**
472
+ * Allowed values for `cfke.io/instance-family`.
473
+ */
474
+ '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'>;
475
+ /**
476
+ * Allowed values for `topology.kubernetes.io/region`.
477
+ */
478
+ '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'>;
479
+ };
480
+ /**
481
+ * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
482
+ */
483
+ scalingProfile: 'aggressive' | 'conservative';
401
484
  };
402
485
  export type Invite = {
403
486
  /**
@@ -423,396 +506,718 @@ export type Invite = {
423
506
  };
424
507
  export type Invoice = {
425
508
  /**
426
- * Unique identifier of the invoice. UUID v4 string in canonical form
509
+ * Unique identifier of the invoice.
427
510
  */
428
511
  id?: string;
429
- /**
430
- * Unique identifier of the organization. UUID v4 string in canonical form
431
- */
432
- organizationId?: string;
512
+ number?: string;
433
513
  /**
434
514
  * Status of the invoice
435
515
  */
436
- status?: 'DRAFT' | 'COMMITTED' | 'VOID';
516
+ status?: string;
437
517
  /**
438
518
  * Total amount of the invoice
439
519
  */
440
- amount?: number;
520
+ total?: number;
441
521
  /**
442
522
  * Currency of the invoice
443
523
  */
444
- currency?: 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYR' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GGP' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'IMP' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JEP' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LTL' | 'LVL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SOS' | 'SPL' | 'SRD' | 'STD' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TVD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VEF' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XDR' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMW' | 'ZWD' | 'BTC';
524
+ currency?: string;
445
525
  /**
446
- * Total amount of credit adjustments
526
+ * Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
447
527
  */
448
- creditAdj?: number;
528
+ created: string;
449
529
  /**
450
- * Total amount of refund adjustments
530
+ * Billing period start timestamp. ISO 8601 date string in the UTC timezone.
451
531
  */
452
- refundAdj?: number;
532
+ period_start: string;
453
533
  /**
454
- * Date of the invoice
534
+ * Billing period end timestamp. ISO 8601 date string in the UTC timezone.
455
535
  */
456
- invoiceDate?: string;
536
+ period_end: string;
537
+ invoice_pdf?: string;
538
+ };
539
+ export type MarketplaceListingFiles = {
457
540
  /**
458
- * Target date of the invoice
541
+ * Raw Chart.yaml content from the Helm chart
459
542
  */
460
- targetDate?: string;
543
+ chartYaml?: string;
461
544
  /**
462
- * Number of the invoice
545
+ * Raw values.yaml content from the Helm chart
463
546
  */
464
- invoiceNumber?: string;
547
+ valuesYaml?: string;
465
548
  /**
466
- * Balance of the invoice
549
+ * JSON schema for values.yaml as a string
467
550
  */
468
- balance?: number;
551
+ valuesSchemaJson?: string;
552
+ };
553
+ export type MarketplaceListing = {
469
554
  /**
470
- * Bundle keys of the invoice
555
+ * Name of the chart
471
556
  */
472
- bundleKeys?: string;
557
+ name: string;
473
558
  /**
474
- * Credits of the invoice
559
+ * Available versions of the chart
475
560
  */
476
- credits?: Array<{
561
+ versions: Array<string>;
562
+ /**
563
+ * Version channels for the chart
564
+ */
565
+ version_channels: Array<string>;
566
+ /**
567
+ * Latest version of the chart
568
+ */
569
+ latestVersion: string;
570
+ /**
571
+ * Chart metadata
572
+ */
573
+ metadata?: {
477
574
  /**
478
- * Unique identifier of the invoice item. UUID v4 string in canonical form
575
+ * Chart name from metadata
479
576
  */
480
- id?: string;
577
+ name: string;
481
578
  /**
482
- * Unique identifier of the linked invoice item. UUID v4 string in canonical form
579
+ * Chart version from metadata
483
580
  */
484
- linkedInvoiceItemId?: string;
581
+ version: string;
485
582
  /**
486
- * Name of the product
583
+ * Chart description
487
584
  */
488
- productName?: string;
585
+ description?: string;
489
586
  /**
490
- * Name of the plan
587
+ * Application version
491
588
  */
492
- planName?: string;
589
+ appVersion?: string;
493
590
  /**
494
- * Name of the phase
591
+ * Helm API version
495
592
  */
496
- phaseName?: string;
593
+ apiVersion?: string;
497
594
  /**
498
- * Name of the usage
595
+ * Chart keywords
499
596
  */
500
- usageName?: string;
597
+ keywords?: Array<string>;
501
598
  /**
502
- * Pretty name of the product
599
+ * Chart home URL
503
600
  */
504
- prettyProductName?: string;
601
+ home?: string;
505
602
  /**
506
- * Pretty name of the plan
603
+ * A URL to an SVG or PNG image to be used as an icon
507
604
  */
508
- prettyPlanName?: string;
605
+ icon?: string;
509
606
  /**
510
- * Pretty name of the phase
607
+ * Chart source URLs
511
608
  */
512
- prettyPhaseName?: string;
609
+ sources?: Array<string>;
513
610
  /**
514
- * Pretty name of the usage
611
+ * Chart maintainers
515
612
  */
516
- prettyUsageName?: string;
613
+ maintainers?: Array<{
614
+ /**
615
+ * Maintainer name
616
+ */
617
+ name: string;
618
+ /**
619
+ * Maintainer email
620
+ */
621
+ email?: string;
622
+ }>;
623
+ };
624
+ };
625
+ export type OrganizationCreateInput = {
626
+ /**
627
+ * Type of the organization. `business` for legal entities, `personal` for individuals.
628
+ */
629
+ type: 'business' | 'personal';
630
+ /**
631
+ * Email address used for billing as a string.
632
+ */
633
+ email: string;
634
+ /**
635
+ * First name of the billing contact person.
636
+ */
637
+ first_name: string;
638
+ /**
639
+ * Last name of the billing contact person.
640
+ */
641
+ last_name: string;
642
+ /**
643
+ * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
644
+ */
645
+ company_name: string;
646
+ /**
647
+ * 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.
648
+ */
649
+ password: string;
650
+ };
651
+ export type OrganizationCreateOutput = {
652
+ /**
653
+ * Unique identifier of the newly created organization. Generated by the API and safe to use for client-side tracking immediately.
654
+ */
655
+ id: string;
656
+ };
657
+ export type Organization = {
658
+ /**
659
+ * Unique identifier of the organization. UUID v4 string in canonical form
660
+ */
661
+ id: string;
662
+ /**
663
+ * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
664
+ */
665
+ name?: string;
666
+ /**
667
+ * Type of the organization. `business` for legal entities, `personal` for individuals.
668
+ */
669
+ type: 'business' | 'personal';
670
+ /**
671
+ * Creation date of the organization. ISO 8601 date string in UTC timezone
672
+ */
673
+ date_created: string;
674
+ /**
675
+ * 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.
676
+ */
677
+ quota: {
517
678
  /**
518
- * Type of the invoice item
679
+ * Maximum number of Basic clusters that can be created.
519
680
  */
520
- itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
681
+ basic_clusters_max: number;
521
682
  /**
522
- * Description of the invoice item
683
+ * Available number of Basic clusters that can be created.
523
684
  */
524
- description?: string;
685
+ basic_clusters_available: number;
525
686
  /**
526
- * Start date of the invoice item
687
+ * Maximum number of Pro clusters that can be created.
527
688
  */
528
- startDate?: string;
689
+ pro_clusters_max: number;
529
690
  /**
530
- * End date of the invoice item
691
+ * Available number of Pro clusters that can be created.
531
692
  */
532
- endDate?: string;
693
+ pro_clusters_available: number;
533
694
  /**
534
- * Amount of the invoice item
695
+ * Maximum number of fleets that can be created per cluster.
535
696
  */
536
- amount?: number;
697
+ fleets_max: number;
537
698
  /**
538
- * Rate of the invoice item
699
+ * List of Cloudfleet cluster tiers available for the organization.
539
700
  */
540
- rate?: number;
701
+ cluster_tiers: Array<string>;
541
702
  /**
542
- * Currency of the invoice item
703
+ * List of Cloudfleet control plane regions available for the organization.
543
704
  */
544
- currency?: 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYR' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GGP' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'IMP' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JEP' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LTL' | 'LVL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SOS' | 'SPL' | 'SRD' | 'STD' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TVD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VEF' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XDR' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMW' | 'ZWD' | 'BTC';
705
+ regions: Array<string>;
545
706
  /**
546
- * Quantity of the invoice item
707
+ * List of CFKE control plane versions available for the organization.
547
708
  */
548
- quantity?: number;
709
+ versions: Array<{
710
+ /**
711
+ * Id of the control plane version. Used in API calls.
712
+ */
713
+ id: string;
714
+ /**
715
+ * Label of the control plane version. Used in frontent UI.
716
+ */
717
+ label: string;
718
+ }>;
549
719
  /**
550
- * Details of the invoice item
720
+ * Organization-level maximum CFCR storage volume in GB. -1 means no limit.
551
721
  */
552
- itemDetails?: string;
722
+ cfcr_storage_gb: number;
723
+ };
724
+ /**
725
+ * Status of the organization. Can be `active` or `closed`, or `suspended`.
726
+ */
727
+ status: 'active' | 'closed' | 'suspended';
728
+ /**
729
+ * 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.
730
+ */
731
+ verification: 'none' | 'submitted' | 'verified';
732
+ };
733
+ export type PaymentMethod = {
734
+ /**
735
+ * 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.
736
+ */
737
+ id: string;
738
+ /**
739
+ * Payment method type. `card`, `sepa_debit` for SEPA Direct Debit (business accounts only), or `bank_transfer` for paying invoices by bank transfer.
740
+ */
741
+ type: 'card' | 'sepa_debit' | 'bank_transfer';
742
+ /**
743
+ * 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.
744
+ */
745
+ last4: string;
746
+ /**
747
+ * Two-digit number representing the card's expiration month. Null for SEPA Direct Debit and bank transfer.
748
+ */
749
+ exp_month: number;
750
+ /**
751
+ * 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.
752
+ */
753
+ exp_year: number;
754
+ /**
755
+ * Payment card brand as reported by Stripe, e.g. `visa`, `mastercard`, `amex`, `cartes_bancaires`, or `unknown`. Null for SEPA Direct Debit and bank transfer.
756
+ */
757
+ brand: string;
758
+ /**
759
+ * 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.
760
+ */
761
+ iban: string;
762
+ /**
763
+ * BIC/SWIFT of the destination bank for bank transfers. Set only for `bank_transfer`; null otherwise.
764
+ */
765
+ bic: string;
766
+ /**
767
+ * Account holder name of the destination bank account for bank transfers. Set only for `bank_transfer`; null otherwise.
768
+ */
769
+ account_holder_name: string;
770
+ /**
771
+ * 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).
772
+ */
773
+ is_default: boolean;
774
+ };
775
+ export type PlatformQuota = {
776
+ /**
777
+ * Maximum number of Basic clusters that can be created.
778
+ */
779
+ basic_clusters_max: number;
780
+ /**
781
+ * Available number of Basic clusters that can be created.
782
+ */
783
+ basic_clusters_available: number;
784
+ /**
785
+ * Maximum number of Pro clusters that can be created.
786
+ */
787
+ pro_clusters_max: number;
788
+ /**
789
+ * Available number of Pro clusters that can be created.
790
+ */
791
+ pro_clusters_available: number;
792
+ /**
793
+ * Maximum number of fleets that can be created per cluster.
794
+ */
795
+ fleets_max: number;
796
+ /**
797
+ * List of Cloudfleet cluster tiers available for the organization.
798
+ */
799
+ cluster_tiers: Array<string>;
800
+ /**
801
+ * List of Cloudfleet control plane regions available for the organization.
802
+ */
803
+ regions: Array<string>;
804
+ /**
805
+ * List of CFKE control plane versions available for the organization.
806
+ */
807
+ versions: Array<{
553
808
  /**
554
- * Effective date of the catalog
809
+ * Id of the control plane version. Used in API calls.
555
810
  */
556
- catalogEffectiveDate?: string;
811
+ id: string;
557
812
  /**
558
- * Child items of the invoice item
813
+ * Label of the control plane version. Used in frontent UI.
559
814
  */
560
- childItems?: Array<Array<unknown> | boolean | number | {
561
- [key: string]: unknown;
562
- } | string>;
815
+ label: string;
563
816
  }>;
564
817
  /**
565
- * Items of the invoice
818
+ * Organization-level maximum CFCR storage volume in GB. -1 means no limit.
566
819
  */
567
- items?: Array<{
568
- /**
569
- * Unique identifier of the invoice item. UUID v4 string in canonical form
570
- */
571
- id?: string;
572
- /**
573
- * Unique identifier of the linked invoice item. UUID v4 string in canonical form
574
- */
575
- linkedInvoiceItemId?: string;
820
+ cfcr_storage_gb: number;
821
+ };
822
+ export type RegistryRepository = {
823
+ /**
824
+ * Repository name.
825
+ */
826
+ name: string;
827
+ /**
828
+ * Registry region.
829
+ */
830
+ region: string;
831
+ /**
832
+ * Full URI of the repository.
833
+ */
834
+ uri: string;
835
+ };
836
+ export type RegistryRepositoryWithTags = {
837
+ /**
838
+ * Repository name.
839
+ */
840
+ name: string;
841
+ /**
842
+ * Registry region.
843
+ */
844
+ region: string;
845
+ /**
846
+ * Full URI of the repository.
847
+ */
848
+ uri: string;
849
+ /**
850
+ * Array of tags in the repository.
851
+ */
852
+ tags: Array<{
576
853
  /**
577
- * Name of the product
854
+ * Tag name.
578
855
  */
579
- productName?: string;
856
+ name: string;
580
857
  /**
581
- * Name of the plan
858
+ * Size of the tag in bytes.
582
859
  */
583
- planName?: string;
860
+ size: number;
584
861
  /**
585
- * Name of the phase
862
+ * Media type of the manifest.
586
863
  */
587
- phaseName?: string;
864
+ mediaType?: string;
588
865
  /**
589
- * Name of the usage
866
+ * Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).
590
867
  */
591
- usageName?: string;
868
+ platforms?: Array<string>;
869
+ }>;
870
+ /**
871
+ * Total size of all tags in the repository in bytes.
872
+ */
873
+ totalSize: number;
874
+ };
875
+ export type RegistryTag = {
876
+ /**
877
+ * Tag name.
878
+ */
879
+ name: string;
880
+ /**
881
+ * Manifest digest for pulling by digest.
882
+ */
883
+ digest: string;
884
+ /**
885
+ * Media type of the manifest.
886
+ */
887
+ mediaType?: string;
888
+ /**
889
+ * Manifest config metadata.
890
+ */
891
+ config?: {
592
892
  /**
593
- * Pretty name of the product
893
+ * Size of the config in bytes.
594
894
  */
595
- prettyProductName?: string;
895
+ size: number;
896
+ };
897
+ /**
898
+ * Array of layer metadata.
899
+ */
900
+ layers?: Array<{
596
901
  /**
597
- * Pretty name of the plan
902
+ * Digest of the layer.
598
903
  */
599
- prettyPlanName?: string;
904
+ digest?: string;
600
905
  /**
601
- * Pretty name of the phase
906
+ * Size of the layer in bytes.
602
907
  */
603
- prettyPhaseName?: string;
908
+ size: number;
909
+ }>;
910
+ /**
911
+ * Array of manifests for multi-arch images.
912
+ */
913
+ manifests?: Array<{
604
914
  /**
605
- * Pretty name of the usage
915
+ * Digest of the manifest.
606
916
  */
607
- prettyUsageName?: string;
917
+ digest: string;
608
918
  /**
609
- * Type of the invoice item
919
+ * Platform information for the manifest.
610
920
  */
611
- itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
921
+ platform?: {
922
+ /**
923
+ * Architecture of the platform.
924
+ */
925
+ architecture: string;
926
+ /**
927
+ * Operating system of the platform.
928
+ */
929
+ os: string;
930
+ /**
931
+ * Variant of the platform (e.g., v7, v8 for ARM).
932
+ */
933
+ variant?: string;
934
+ };
612
935
  /**
613
- * Description of the invoice item
936
+ * Layers for this platform.
614
937
  */
615
- description?: string;
938
+ layers?: Array<{
939
+ /**
940
+ * Digest of the layer.
941
+ */
942
+ digest?: string;
943
+ /**
944
+ * Size of the layer in bytes.
945
+ */
946
+ size: number;
947
+ }>;
616
948
  /**
617
- * Start date of the invoice item
949
+ * Total size of this platform manifest in bytes.
618
950
  */
619
- startDate?: string;
951
+ size?: number;
952
+ }>;
953
+ /**
954
+ * Total size of the tag in bytes.
955
+ */
956
+ size: number;
957
+ /**
958
+ * Registry region.
959
+ */
960
+ region: string;
961
+ /**
962
+ * Repository name.
963
+ */
964
+ repository: string;
965
+ /**
966
+ * Full URI of the tag.
967
+ */
968
+ uri: string;
969
+ };
970
+ export type TicketAttachment = {
971
+ /**
972
+ * Unique identifier of the attachment (Mongo ObjectId).
973
+ */
974
+ id: string;
975
+ /**
976
+ * Original filename as uploaded.
977
+ */
978
+ filename: string;
979
+ /**
980
+ * MIME content type of the attachment.
981
+ */
982
+ content_type: string;
983
+ /**
984
+ * Size of the attachment in bytes.
985
+ */
986
+ size: number;
987
+ };
988
+ export type TicketCreateInput = {
989
+ /**
990
+ * Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.
991
+ */
992
+ category: 'billing' | 'technical' | 'general';
993
+ /**
994
+ * Initial message body in markdown. There is no separate subject — the first message body is the description.
995
+ */
996
+ body: string;
997
+ /**
998
+ * Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).
999
+ */
1000
+ properties?: {
1001
+ [key: string]: unknown;
1002
+ };
1003
+ };
1004
+ export type TicketListResponse = {
1005
+ /**
1006
+ * Tickets for the organization, ordered newest first. Messages are omitted from list responses.
1007
+ */
1008
+ items: Array<{
620
1009
  /**
621
- * End date of the invoice item
1010
+ * Unique identifier of the ticket (Mongo ObjectId).
622
1011
  */
623
- endDate?: string;
1012
+ id: string;
624
1013
  /**
625
- * Amount of the invoice item
1014
+ * Current state of the ticket.
626
1015
  */
627
- amount?: number;
1016
+ status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
628
1017
  /**
629
- * Rate of the invoice item
1018
+ * Ticket category.
630
1019
  */
631
- rate?: number;
1020
+ category: 'billing' | 'technical' | 'general';
632
1021
  /**
633
- * Currency of the invoice item
1022
+ * First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
634
1023
  */
635
- currency?: 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYR' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GGP' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'IMP' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JEP' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LTL' | 'LVL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SOS' | 'SPL' | 'SRD' | 'STD' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TVD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VEF' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XDR' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMW' | 'ZWD' | 'BTC';
1024
+ summary: string;
636
1025
  /**
637
- * Quantity of the invoice item
1026
+ * Closure timestamp. Null while the ticket is open.
638
1027
  */
639
- quantity?: number;
1028
+ closed_at?: string;
640
1029
  /**
641
- * Details of the invoice item
1030
+ * Creation date of the ticket. ISO 8601 UTC.
642
1031
  */
643
- itemDetails?: string;
1032
+ date_created: string;
644
1033
  /**
645
- * Effective date of the catalog
1034
+ * Last update date of the ticket. ISO 8601 UTC.
646
1035
  */
647
- catalogEffectiveDate?: string;
1036
+ date_updated: string;
648
1037
  /**
649
- * Child items of the invoice item
1038
+ * Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
650
1039
  */
651
- childItems?: Array<Array<unknown> | boolean | number | {
652
- [key: string]: unknown;
653
- } | string>;
1040
+ messages?: Array<{
1041
+ /**
1042
+ * Unique identifier of the message (Mongo ObjectId).
1043
+ */
1044
+ id: string;
1045
+ /**
1046
+ * Message type. Internal notes are filtered out of customer-facing responses.
1047
+ */
1048
+ type: 'customer_reply' | 'agent_reply';
1049
+ /**
1050
+ * Message body in markdown.
1051
+ */
1052
+ body: string;
1053
+ /**
1054
+ * First name of the author. Null when not provided.
1055
+ */
1056
+ author_first_name?: string;
1057
+ /**
1058
+ * Last name of the author. Null when not provided.
1059
+ */
1060
+ author_last_name?: string;
1061
+ /**
1062
+ * Attachments associated with this message.
1063
+ */
1064
+ attachments?: Array<{
1065
+ /**
1066
+ * Unique identifier of the attachment (Mongo ObjectId).
1067
+ */
1068
+ id: string;
1069
+ /**
1070
+ * Original filename as uploaded.
1071
+ */
1072
+ filename: string;
1073
+ /**
1074
+ * MIME content type of the attachment.
1075
+ */
1076
+ content_type: string;
1077
+ /**
1078
+ * Size of the attachment in bytes.
1079
+ */
1080
+ size: number;
1081
+ }>;
1082
+ /**
1083
+ * Creation date of the message. ISO 8601 UTC.
1084
+ */
1085
+ date_created: string;
1086
+ }>;
654
1087
  }>;
655
1088
  };
656
- export type MarketplaceListing = {
1089
+ export type TicketMessageInput = {
657
1090
  /**
658
- * Id of the chart listing
1091
+ * Reply body in markdown.
659
1092
  */
660
- id: string;
1093
+ body: string;
1094
+ };
1095
+ export type TicketMessage = {
661
1096
  /**
662
- * Name of the chart listing
1097
+ * Unique identifier of the message (Mongo ObjectId).
663
1098
  */
664
- name: string;
1099
+ id: string;
665
1100
  /**
666
- * Author of the chart listing
1101
+ * Message type. Internal notes are filtered out of customer-facing responses.
667
1102
  */
668
- developer: string;
1103
+ type: 'customer_reply' | 'agent_reply';
669
1104
  /**
670
- * Short description of the chart listing
1105
+ * Message body in markdown.
671
1106
  */
672
- description: string;
1107
+ body: string;
673
1108
  /**
674
- * Logo of the chart listing
1109
+ * First name of the author. Null when not provided.
675
1110
  */
676
- logoUrl: string;
1111
+ author_first_name?: string;
677
1112
  /**
678
- * Long description of the chart listing
1113
+ * Last name of the author. Null when not provided.
679
1114
  */
680
- longDescription: string;
1115
+ author_last_name?: string;
681
1116
  /**
682
- * Tags of the chart
1117
+ * Attachments associated with this message.
683
1118
  */
684
- categories: Array<string>;
685
- version_channels: Array<string>;
686
- value_schemas: Array<{
1119
+ attachments?: Array<{
687
1120
  /**
688
- * Version of the chart.
1121
+ * Unique identifier of the attachment (Mongo ObjectId).
689
1122
  */
690
- version: string;
1123
+ id: string;
1124
+ /**
1125
+ * Original filename as uploaded.
1126
+ */
1127
+ filename: string;
691
1128
  /**
692
- * Schema of the chart values. JSON Schema as string
1129
+ * MIME content type of the attachment.
693
1130
  */
694
- schema: string;
1131
+ content_type: string;
695
1132
  /**
696
- * Schema of the chart values
1133
+ * Size of the attachment in bytes.
697
1134
  */
698
- placeholder: string;
1135
+ size: number;
699
1136
  }>;
700
- };
701
- export type OrganizationCreateInput = {
702
1137
  /**
703
- * Email address used for billing as a string.
1138
+ * Creation date of the message. ISO 8601 UTC.
704
1139
  */
705
- email: string;
1140
+ date_created: string;
1141
+ };
1142
+ export type Ticket = {
706
1143
  /**
707
- * First name of the billing contact person.
1144
+ * Unique identifier of the ticket (Mongo ObjectId).
708
1145
  */
709
- first_name: string;
1146
+ id: string;
710
1147
  /**
711
- * Last name of the billing contact person.
1148
+ * Current state of the ticket.
712
1149
  */
713
- last_name: string;
1150
+ status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
714
1151
  /**
715
- * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
1152
+ * Ticket category.
716
1153
  */
717
- company_name: string;
1154
+ category: 'billing' | 'technical' | 'general';
718
1155
  /**
719
- * Password for the root account. Must be at least 8 characters long and contain at least one uppercase letter, one lowercase letter, one number and one special character.
1156
+ * First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
720
1157
  */
721
- password: string;
722
- };
723
- export type Organization = {
1158
+ summary: string;
724
1159
  /**
725
- * Unique identifier of the organization. UUID v4 string in canonical form
1160
+ * Closure timestamp. Null while the ticket is open.
726
1161
  */
727
- id: string;
1162
+ closed_at?: string;
728
1163
  /**
729
- * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
1164
+ * Creation date of the ticket. ISO 8601 UTC.
730
1165
  */
731
- name?: string;
1166
+ date_created: string;
732
1167
  /**
733
- * Creation date of the organization. ISO 8601 date string in UTC timezone
1168
+ * Last update date of the ticket. ISO 8601 UTC.
734
1169
  */
735
- date_created: string;
1170
+ date_updated: string;
736
1171
  /**
737
- * For security reasons, platform quota is controlled by Cloudfleet and can be updated only by Cloudfleet administrators. Please open a support ticket if you need to change the platform quota.
1172
+ * Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
738
1173
  */
739
- quota: {
1174
+ messages?: Array<{
740
1175
  /**
741
- * Maximum number of Basic clusters that can be created.
1176
+ * Unique identifier of the message (Mongo ObjectId).
742
1177
  */
743
- basic_clusters_max: number;
744
- /**
745
- * Available number of Basic clusters that can be created.
746
- */
747
- basic_clusters_available: number;
748
- /**
749
- * Maximum number of Pro clusters that can be created.
750
- */
751
- pro_clusters_max: number;
1178
+ id: string;
752
1179
  /**
753
- * Available number of Pro clusters that can be created.
1180
+ * Message type. Internal notes are filtered out of customer-facing responses.
754
1181
  */
755
- pro_clusters_available: number;
1182
+ type: 'customer_reply' | 'agent_reply';
756
1183
  /**
757
- * Maximum number of fleets that can be created per cluster.
1184
+ * Message body in markdown.
758
1185
  */
759
- fleets_max: number;
1186
+ body: string;
760
1187
  /**
761
- * List of Cloudfleet cluster tiers available for the organization.
1188
+ * First name of the author. Null when not provided.
762
1189
  */
763
- cluster_tiers: Array<string>;
1190
+ author_first_name?: string;
764
1191
  /**
765
- * List of Cloudfleet control plane regions available for the organization.
1192
+ * Last name of the author. Null when not provided.
766
1193
  */
767
- regions: Array<string>;
1194
+ author_last_name?: string;
768
1195
  /**
769
- * List of CFKE control plane versions available for the organization.
1196
+ * Attachments associated with this message.
770
1197
  */
771
- versions: Array<{
1198
+ attachments?: Array<{
772
1199
  /**
773
- * Id of the control plane version. Used in API calls.
1200
+ * Unique identifier of the attachment (Mongo ObjectId).
774
1201
  */
775
1202
  id: string;
776
1203
  /**
777
- * Label of the control plane version. Used in frontent UI.
1204
+ * Original filename as uploaded.
778
1205
  */
779
- label: string;
1206
+ filename: string;
1207
+ /**
1208
+ * MIME content type of the attachment.
1209
+ */
1210
+ content_type: string;
1211
+ /**
1212
+ * Size of the attachment in bytes.
1213
+ */
1214
+ size: number;
780
1215
  }>;
781
- };
782
- /**
783
- * Status of the organization. Can be `active` or `closed`, or `suspended`.
784
- */
785
- status: 'active' | 'closed' | 'suspended';
786
- };
787
- export type PaymentMethod = {
788
- /**
789
- * Unique identifier of the organization. UUID v4 string in canonical form.
790
- */
791
- id: string;
792
- /**
793
- * Whether organization payment method was set up and ready to use for payments.
794
- */
795
- setup: boolean;
796
- /**
797
- * Payment method type type. Only `card` payments supported at the moment.
798
- */
799
- type: 'card';
800
- /**
801
- * Last 4 digits of the payment card number.
802
- */
803
- last4: string;
804
- /**
805
- * Two-digit number representing the card's expiration month.
806
- */
807
- exp_month: number;
808
- /**
809
- * Four-digit number representing the card's expiration year.
810
- */
811
- exp_year: number;
812
- /**
813
- * Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
814
- */
815
- brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
1216
+ /**
1217
+ * Creation date of the message. ISO 8601 UTC.
1218
+ */
1219
+ date_created: string;
1220
+ }>;
816
1221
  };
817
1222
  export type TokenCreateInput = {
818
1223
  /**
@@ -856,35 +1261,85 @@ export type TokenUpdateInput = {
856
1261
  */
857
1262
  role?: 'Administrator' | 'User';
858
1263
  };
1264
+ export type UsageFacets = {
1265
+ /**
1266
+ * List of unique cluster IDs
1267
+ */
1268
+ cluster_id?: Array<string>;
1269
+ /**
1270
+ * List of unique products
1271
+ */
1272
+ product?: Array<string>;
1273
+ };
1274
+ export type UsageResponse = {
1275
+ /**
1276
+ * Usage data
1277
+ */
1278
+ data: Array<{
1279
+ /**
1280
+ * Hour of the usage
1281
+ */
1282
+ hour: string;
1283
+ /**
1284
+ * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
1285
+ */
1286
+ cluster_id: string;
1287
+ /**
1288
+ * The product the usage is associated with
1289
+ */
1290
+ product: string;
1291
+ /**
1292
+ * Consumption
1293
+ */
1294
+ value: number;
1295
+ /**
1296
+ * Price per unit
1297
+ */
1298
+ price: number;
1299
+ /**
1300
+ * Total cost
1301
+ */
1302
+ total: number;
1303
+ }>;
1304
+ /**
1305
+ * Facets for filtering
1306
+ */
1307
+ facets: {
1308
+ /**
1309
+ * List of unique cluster IDs
1310
+ */
1311
+ cluster_id?: Array<string>;
1312
+ /**
1313
+ * List of unique products
1314
+ */
1315
+ product?: Array<string>;
1316
+ };
1317
+ };
859
1318
  export type Usage = {
860
1319
  /**
861
1320
  * Hour of the usage
862
1321
  */
863
- hour?: string;
1322
+ hour: string;
864
1323
  /**
865
1324
  * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
866
1325
  */
867
1326
  cluster_id: string;
868
1327
  /**
869
- * Tier of the cluster.
1328
+ * The product the usage is associated with
870
1329
  */
871
- cluster_tier: 'basic' | 'pro' | '';
1330
+ product: string;
872
1331
  /**
873
- * The product the usage is associated with
1332
+ * Consumption
874
1333
  */
875
- product: 'cfke_controlplane' | 'cfke_connected_nodes' | 'infra_compute' | 'infra_storage' | 'infra_loadbalancing' | 'infra_traffic' | 'cfcr_storage';
1334
+ value: number;
876
1335
  /**
877
- * Name of the Kubernetes node
1336
+ * Price per unit
878
1337
  */
879
- node_name: string;
1338
+ price: number;
880
1339
  /**
881
- * SKU of the Kubernetes node
1340
+ * Total cost
882
1341
  */
883
- sku: string;
884
- cpu: number | '';
885
- price: number | '';
886
- value: number | '';
887
- total: number | '';
1342
+ total: number;
888
1343
  };
889
1344
  export type UserCreateInput = {
890
1345
  /**
@@ -971,7 +1426,12 @@ export type UserUpdateInput = {
971
1426
  export type GetUsageData = {
972
1427
  body?: never;
973
1428
  path?: never;
974
- query?: never;
1429
+ query?: {
1430
+ /**
1431
+ * 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)
1432
+ */
1433
+ granularity?: 'hourly' | 'daily' | 'monthly';
1434
+ };
975
1435
  url: '/billing/usage';
976
1436
  };
977
1437
  export type GetUsageErrors = {
@@ -982,75 +1442,121 @@ export type GetUsageErrors = {
982
1442
  };
983
1443
  export type GetUsageResponses = {
984
1444
  /**
985
- * An array of usage records.
1445
+ * Usage data with facets for filtering
986
1446
  */
987
- 200: Array<Usage>;
1447
+ 200: UsageResponse;
988
1448
  };
989
1449
  export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
990
- export type GetBalanceData = {
1450
+ export type GetPaymentMethodSecretData = {
991
1451
  body?: never;
992
1452
  path?: never;
993
1453
  query?: never;
994
- url: '/billing/balance';
1454
+ url: '/billing/payment-method';
995
1455
  };
996
- export type GetBalanceResponses = {
1456
+ export type GetPaymentMethodSecretResponses = {
997
1457
  /**
998
- * Current balance of the organization in USD as a floating-point number.
1458
+ * 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.
1459
+ *
999
1460
  */
1000
- 200: number;
1461
+ 200: {
1462
+ /**
1463
+ * The client secret.
1464
+ */
1465
+ id?: string;
1466
+ };
1001
1467
  };
1002
- export type GetBalanceResponse = GetBalanceResponses[keyof GetBalanceResponses];
1003
- export type GetPaymentMethodData = {
1468
+ export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
1469
+ export type ListPaymentMethodsData = {
1004
1470
  body?: never;
1005
1471
  path?: never;
1006
1472
  query?: never;
1007
- url: '/billing/payment-method';
1473
+ url: '/billing/payment-methods';
1008
1474
  };
1009
- export type GetPaymentMethodErrors = {
1475
+ export type ListPaymentMethodsErrors = {
1010
1476
  /**
1011
- * Returns 404 Not Found if the organization does not have a payment method set up.
1477
+ * Not authenticated
1012
1478
  */
1013
- 404: unknown;
1479
+ 401: unknown;
1014
1480
  };
1015
- export type GetPaymentMethodResponses = {
1481
+ export type ListPaymentMethodsResponses = {
1016
1482
  /**
1017
- * Redacted payment card information.
1483
+ * An array of payment methods.
1018
1484
  */
1019
- 200: PaymentMethod;
1485
+ 200: Array<PaymentMethod>;
1020
1486
  };
1021
- export type GetPaymentMethodResponse = GetPaymentMethodResponses[keyof GetPaymentMethodResponses];
1022
- export type GetPaymentMethodSecretData = {
1487
+ export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
1488
+ export type SetDefaultPaymentMethodData = {
1023
1489
  body?: never;
1024
- path?: never;
1490
+ path: {
1491
+ /**
1492
+ * Stripe payment method identifier.
1493
+ */
1494
+ paymentMethodId: string;
1495
+ };
1025
1496
  query?: never;
1026
- url: '/billing/payment-method';
1497
+ url: '/billing/payment-methods/{paymentMethodId}/default';
1027
1498
  };
1028
- export type GetPaymentMethodSecretResponses = {
1499
+ export type SetDefaultPaymentMethodErrors = {
1029
1500
  /**
1030
- * The client secret. Used for client-side retrieval using a publishable key. The client secret can be used to complete a payment from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret.
1031
- *
1501
+ * The bank transfer payment method cannot be set as the default.
1032
1502
  */
1033
- 200: {
1503
+ 400: unknown;
1504
+ /**
1505
+ * Not authenticated
1506
+ */
1507
+ 401: unknown;
1508
+ /**
1509
+ * Payment method not found.
1510
+ */
1511
+ 404: unknown;
1512
+ };
1513
+ export type SetDefaultPaymentMethodResponses = {
1514
+ /**
1515
+ * Default payment method updated.
1516
+ */
1517
+ 204: void;
1518
+ };
1519
+ export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
1520
+ export type DeletePaymentMethodData = {
1521
+ body?: never;
1522
+ path: {
1034
1523
  /**
1035
- * The client secret.
1524
+ * Stripe payment method identifier.
1036
1525
  */
1037
- id?: string;
1526
+ paymentMethodId: string;
1038
1527
  };
1528
+ query?: never;
1529
+ url: '/billing/payment-methods/{paymentMethodId}';
1039
1530
  };
1040
- export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
1531
+ export type DeletePaymentMethodErrors = {
1532
+ /**
1533
+ * The bank transfer payment method cannot be removed.
1534
+ */
1535
+ 400: unknown;
1536
+ /**
1537
+ * Not authenticated
1538
+ */
1539
+ 401: unknown;
1540
+ /**
1541
+ * Payment method not found.
1542
+ */
1543
+ 404: unknown;
1544
+ /**
1545
+ * Cannot delete the only remaining payment method.
1546
+ */
1547
+ 409: unknown;
1548
+ };
1549
+ export type DeletePaymentMethodResponses = {
1550
+ /**
1551
+ * Payment method deleted.
1552
+ */
1553
+ 204: void;
1554
+ };
1555
+ export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
1041
1556
  export type ListInvoicesData = {
1042
1557
  body?: never;
1043
1558
  path?: never;
1044
- query: {
1045
- /**
1046
- * Start date for the usage. Date of oldest data point to retrieve.
1047
- */
1048
- start_date: string;
1049
- /**
1050
- * End date for the usage. Date of newest data point to retrieve.
1051
- */
1052
- end_date: string;
1053
- };
1559
+ query?: never;
1054
1560
  url: '/billing/invoices';
1055
1561
  };
1056
1562
  export type ListInvoicesErrors = {
@@ -1066,26 +1572,6 @@ export type ListInvoicesResponses = {
1066
1572
  200: Array<Invoice>;
1067
1573
  };
1068
1574
  export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
1069
- export type GetInvoiceData = {
1070
- body?: never;
1071
- path: {
1072
- /**
1073
- * Unique invoice identifier. UUID v4 string in canonical form
1074
- */
1075
- id: string;
1076
- };
1077
- query?: never;
1078
- url: '/billing/invoices/{id}';
1079
- };
1080
- export type GetInvoiceResponses = {
1081
- /**
1082
- * Returns a single Invoice HTML representation under `html` property.
1083
- */
1084
- 200: {
1085
- html?: string;
1086
- };
1087
- };
1088
- export type GetInvoiceResponse = GetInvoiceResponses[keyof GetInvoiceResponses];
1089
1575
  export type GetContactData = {
1090
1576
  body?: never;
1091
1577
  path?: never;
@@ -1521,7 +2007,7 @@ export type GetJoinInformationResponses = {
1521
2007
  /**
1522
2008
  * An object of cluster join information
1523
2009
  */
1524
- 200: Cluster;
2010
+ 200: ClusterJoinInformation;
1525
2011
  };
1526
2012
  export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
1527
2013
  export type ListInvitesData = {
@@ -1615,24 +2101,76 @@ export type ListMarketplaceChartsResponses = {
1615
2101
  200: Array<MarketplaceListing>;
1616
2102
  };
1617
2103
  export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
1618
- export type GetMarketplaceChartData = {
2104
+ export type GetMarketplaceChartFilesData = {
1619
2105
  body?: never;
1620
2106
  path: {
1621
2107
  /**
1622
- * Unique identifier of the chart listing in the marketplace.
2108
+ * Name of the chart in the marketplace.
2109
+ */
2110
+ chart_name: string;
2111
+ /**
2112
+ * 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).
2113
+ */
2114
+ version_channel: string;
2115
+ };
2116
+ query?: never;
2117
+ url: '/marketplace/{chart_name}/files/{version_channel}';
2118
+ };
2119
+ export type GetMarketplaceChartFilesErrors = {
2120
+ /**
2121
+ * Chart not found or no version matches the channel
2122
+ */
2123
+ 404: unknown;
2124
+ };
2125
+ export type GetMarketplaceChartFilesResponses = {
2126
+ /**
2127
+ * Returns an object containing the chart files for the latest matching version.
2128
+ */
2129
+ 200: MarketplaceListingFiles;
2130
+ };
2131
+ export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
2132
+ export type PostMcpData = {
2133
+ /**
2134
+ * JSON-RPC 2.0 request payload
2135
+ */
2136
+ body: {
2137
+ jsonrpc?: string;
2138
+ method?: string;
2139
+ id?: string | number;
2140
+ /**
2141
+ * Method-specific parameters
1623
2142
  */
1624
- listing_id: string;
2143
+ params?: {
2144
+ [key: string]: unknown;
2145
+ };
1625
2146
  };
2147
+ path?: never;
1626
2148
  query?: never;
1627
- url: '/marketplace/{listing_id}';
2149
+ url: '/mcp';
1628
2150
  };
1629
- export type GetMarketplaceChartResponses = {
2151
+ export type PostMcpErrors = {
1630
2152
  /**
1631
- * Returns an object containing the chart listing details.
2153
+ * Not authenticated
2154
+ */
2155
+ 401: unknown;
2156
+ };
2157
+ export type PostMcpResponses = {
2158
+ /**
2159
+ * JSON-RPC 2.0 success or error response
1632
2160
  */
1633
- 200: MarketplaceListing;
2161
+ 200: {
2162
+ jsonrpc?: string;
2163
+ id?: string | number;
2164
+ result?: {
2165
+ [key: string]: unknown;
2166
+ };
2167
+ error?: {
2168
+ code?: number;
2169
+ message?: string;
2170
+ };
2171
+ };
1634
2172
  };
1635
- export type GetMarketplaceChartResponse = GetMarketplaceChartResponses[keyof GetMarketplaceChartResponses];
2173
+ export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
1636
2174
  export type GetOrganizationData = {
1637
2175
  body?: never;
1638
2176
  path?: never;
@@ -1654,10 +2192,255 @@ export type CreateOrganizationData = {
1654
2192
  };
1655
2193
  export type CreateOrganizationResponses = {
1656
2194
  /**
1657
- * Successfully created a new organization.
2195
+ * Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
2196
+ *
2197
+ */
2198
+ 200: OrganizationCreateOutput;
2199
+ };
2200
+ export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
2201
+ export type ListRepositoriesData = {
2202
+ body?: never;
2203
+ path?: never;
2204
+ query?: never;
2205
+ url: '/registry';
2206
+ };
2207
+ export type ListRepositoriesErrors = {
2208
+ /**
2209
+ * Not authenticated
2210
+ */
2211
+ 401: unknown;
2212
+ /**
2213
+ * Internal server error
2214
+ */
2215
+ 500: unknown;
2216
+ };
2217
+ export type ListRepositoriesResponses = {
2218
+ /**
2219
+ * List of repositories
2220
+ */
2221
+ 200: Array<RegistryRepository>;
2222
+ };
2223
+ export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
2224
+ export type ListTagsData = {
2225
+ body?: never;
2226
+ path: {
2227
+ /**
2228
+ * Region where the repository is located
2229
+ */
2230
+ region: string;
2231
+ /**
2232
+ * Name of the repository
2233
+ */
2234
+ repository: string;
2235
+ };
2236
+ query?: never;
2237
+ url: '/registry/{region}/{repository}';
2238
+ };
2239
+ export type ListTagsErrors = {
2240
+ /**
2241
+ * Not authenticated
2242
+ */
2243
+ 401: unknown;
2244
+ /**
2245
+ * Repository not found
2246
+ */
2247
+ 404: unknown;
2248
+ /**
2249
+ * Internal server error
2250
+ */
2251
+ 500: unknown;
2252
+ };
2253
+ export type ListTagsResponses = {
2254
+ /**
2255
+ * Repository with tags
2256
+ */
2257
+ 200: RegistryRepositoryWithTags;
2258
+ };
2259
+ export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
2260
+ export type DeleteTagData = {
2261
+ body?: never;
2262
+ path: {
2263
+ /**
2264
+ * Region where the repository is located
2265
+ */
2266
+ region: string;
2267
+ /**
2268
+ * Name of the repository
2269
+ */
2270
+ repository: string;
2271
+ /**
2272
+ * Name of the tag
2273
+ */
2274
+ tag: string;
2275
+ };
2276
+ query?: never;
2277
+ url: '/registry/{region}/{repository}/{tag}';
2278
+ };
2279
+ export type DeleteTagErrors = {
2280
+ /**
2281
+ * Not authenticated
2282
+ */
2283
+ 401: unknown;
2284
+ /**
2285
+ * Tag not found
2286
+ */
2287
+ 404: unknown;
2288
+ /**
2289
+ * Internal server error
2290
+ */
2291
+ 500: unknown;
2292
+ };
2293
+ export type DeleteTagResponses = {
2294
+ /**
2295
+ * Tag successfully deleted
1658
2296
  */
1659
2297
  200: unknown;
1660
2298
  };
2299
+ export type GetTagData = {
2300
+ body?: never;
2301
+ path: {
2302
+ /**
2303
+ * Region where the repository is located
2304
+ */
2305
+ region: string;
2306
+ /**
2307
+ * Name of the repository
2308
+ */
2309
+ repository: string;
2310
+ /**
2311
+ * Name of the tag
2312
+ */
2313
+ tag: string;
2314
+ };
2315
+ query?: never;
2316
+ url: '/registry/{region}/{repository}/{tag}';
2317
+ };
2318
+ export type GetTagErrors = {
2319
+ /**
2320
+ * Not authenticated
2321
+ */
2322
+ 401: unknown;
2323
+ /**
2324
+ * Tag not found
2325
+ */
2326
+ 404: unknown;
2327
+ /**
2328
+ * Internal server error
2329
+ */
2330
+ 500: unknown;
2331
+ };
2332
+ export type GetTagResponses = {
2333
+ /**
2334
+ * Tag details
2335
+ */
2336
+ 200: RegistryTag;
2337
+ };
2338
+ export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
2339
+ export type ListTicketsData = {
2340
+ body?: never;
2341
+ path?: never;
2342
+ query?: never;
2343
+ url: '/tickets';
2344
+ };
2345
+ export type ListTicketsResponses = {
2346
+ /**
2347
+ * Tickets for the organization.
2348
+ */
2349
+ 200: TicketListResponse;
2350
+ };
2351
+ export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
2352
+ export type CreateTicketData = {
2353
+ body: {
2354
+ /**
2355
+ * JSON-encoded TicketCreateInput.
2356
+ */
2357
+ payload?: string;
2358
+ attachments?: Array<Blob | File>;
2359
+ };
2360
+ path?: never;
2361
+ query?: never;
2362
+ url: '/tickets';
2363
+ };
2364
+ export type CreateTicketResponses = {
2365
+ /**
2366
+ * Ticket created.
2367
+ */
2368
+ 200: Ticket;
2369
+ };
2370
+ export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
2371
+ export type CloseTicketData = {
2372
+ body?: never;
2373
+ path: {
2374
+ ticket_id: string;
2375
+ };
2376
+ query?: never;
2377
+ url: '/tickets/{ticket_id}';
2378
+ };
2379
+ export type CloseTicketResponses = {
2380
+ /**
2381
+ * Ticket closed.
2382
+ */
2383
+ 200: Ticket;
2384
+ };
2385
+ export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
2386
+ export type GetTicketData = {
2387
+ body?: never;
2388
+ path: {
2389
+ ticket_id: string;
2390
+ };
2391
+ query?: never;
2392
+ url: '/tickets/{ticket_id}';
2393
+ };
2394
+ export type GetTicketResponses = {
2395
+ /**
2396
+ * Ticket with messages (internal notes excluded).
2397
+ */
2398
+ 200: Ticket;
2399
+ };
2400
+ export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
2401
+ export type ReplyTicketData = {
2402
+ body: {
2403
+ /**
2404
+ * JSON-encoded TicketMessageInput.
2405
+ */
2406
+ payload?: string;
2407
+ attachments?: Array<Blob | File>;
2408
+ };
2409
+ path: {
2410
+ ticket_id: string;
2411
+ };
2412
+ query?: never;
2413
+ url: '/tickets/{ticket_id}/messages';
2414
+ };
2415
+ export type ReplyTicketErrors = {
2416
+ /**
2417
+ * Ticket is closed. Open a new ticket instead.
2418
+ */
2419
+ 409: unknown;
2420
+ };
2421
+ export type ReplyTicketResponses = {
2422
+ /**
2423
+ * Reply appended.
2424
+ */
2425
+ 200: TicketMessage;
2426
+ };
2427
+ export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
2428
+ export type GetTicketAttachmentData = {
2429
+ body?: never;
2430
+ path: {
2431
+ ticket_id: string;
2432
+ attachment_id: string;
2433
+ };
2434
+ query?: never;
2435
+ url: '/tickets/{ticket_id}/attachments/{attachment_id}';
2436
+ };
2437
+ export type GetTicketAttachmentResponses = {
2438
+ /**
2439
+ * Attachment binary stream.
2440
+ */
2441
+ 200: Blob | File;
2442
+ };
2443
+ export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
1661
2444
  export type ListTokensData = {
1662
2445
  body?: never;
1663
2446
  path?: never;
@@ -1914,7 +2697,4 @@ export type UpdateUserResponses = {
1914
2697
  200: User;
1915
2698
  };
1916
2699
  export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
1917
- export type ClientOptions = {
1918
- baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
1919
- };
1920
2700
  //# sourceMappingURL=types.gen.d.ts.map