@cloudfleet/sdk 0.0.1-3de42b3 → 0.0.1-3f9bef8

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 +1151 -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 +1367 -650
  58. package/dist/schemas.gen.d.ts.map +1 -1
  59. package/dist/schemas.gen.js +2690 -768
  60. package/dist/schemas.gen.js.map +1 -1
  61. package/dist/sdk.gen.d.ts +200 -83
  62. package/dist/sdk.gen.d.ts.map +1 -1
  63. package/dist/sdk.gen.js +263 -192
  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 +1243 -446
  67. package/dist/types.gen.d.ts.map +1 -1
  68. package/dist/zod.gen.d.ts +3607 -2234
  69. package/dist/zod.gen.d.ts.map +1 -1
  70. package/dist/zod.gen.js +1373 -828
  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.
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
  */
@@ -169,14 +168,14 @@ export type ClusterCreateInput = {
169
168
  * Name of the cluster.
170
169
  */
171
170
  name: string;
172
- /**
173
- * Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.
174
- */
175
- region?: 'staging' | 'northamerica-central-1';
176
171
  /**
177
172
  * Tier of the cluster.
178
173
  */
179
174
  tier: 'basic' | 'pro';
175
+ /**
176
+ * Cloudfleet control plane region. This field can not be updated after creation.
177
+ */
178
+ region: string;
180
179
  /**
181
180
  * Version of the kubernetes cluster.
182
181
  */
@@ -191,6 +190,14 @@ 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;
197
+ /**
198
+ * Pod CIDR for the cluster. Used to configure iptables rules on nodes to prevent Tailscale routing loops.
199
+ */
200
+ pod_cidr: string;
194
201
  /**
195
202
  * Authentication key for the cluster.
196
203
  */
@@ -215,6 +222,10 @@ export type ClusterJoinInformation = {
215
222
  * Containerd version of the cluster.
216
223
  */
217
224
  containerd: string;
225
+ /**
226
+ * NVIDIA driver version of the cluster.
227
+ */
228
+ nvidia_driver: string;
218
229
  };
219
230
  /**
220
231
  * OIDC Information for hosts to access to third party API's.
@@ -239,18 +250,14 @@ export type Cluster = {
239
250
  * Name of the cluster.
240
251
  */
241
252
  name: string;
242
- /**
243
- * Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.
244
- */
245
- region?: 'staging' | 'northamerica-central-1';
246
253
  /**
247
254
  * Tier of the cluster.
248
255
  */
249
256
  tier: 'basic' | 'pro';
250
257
  /**
251
- * Version of the kubernetes cluster.
258
+ * Cloudfleet control plane region. This field can not be updated after creation.
252
259
  */
253
- version_channel?: string;
260
+ region: string;
254
261
  /**
255
262
  * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
256
263
  */
@@ -258,8 +265,9 @@ export type Cluster = {
258
265
  /**
259
266
  * Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.
260
267
  */
261
- status: 'active' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
268
+ status: 'active' | 'disabled' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
262
269
  endpoint?: string | '';
270
+ endpoint_public?: string | '';
263
271
  /**
264
272
  * Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
265
273
  */
@@ -280,12 +288,20 @@ export type Cluster = {
280
288
  * Indicates if the cluster is ready to be used.
281
289
  */
282
290
  ready?: boolean;
291
+ /**
292
+ * Version of the kubernetes cluster.
293
+ */
294
+ version_channel?: string;
283
295
  };
284
296
  export type ClusterUpdateInput = {
285
297
  /**
286
298
  * Name of the cluster.
287
299
  */
288
300
  name?: string;
301
+ /**
302
+ * Tier of the cluster.
303
+ */
304
+ tier: 'basic' | 'pro';
289
305
  /**
290
306
  * Version of the kubernetes cluster.
291
307
  */
@@ -297,39 +313,60 @@ export type FleetCreateInput = {
297
313
  */
298
314
  limits?: {
299
315
  /**
300
- * CPU limit in cores.
316
+ * CPU limit in cores. Maximum 100,000.
301
317
  */
302
- cpu: number;
318
+ cpu?: number;
303
319
  };
304
320
  gcp?: {
305
- enabled?: boolean;
321
+ enabled: boolean;
306
322
  /**
307
- * Project GCP Project id to deploy instances into
323
+ * 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.
308
324
  */
309
- project: string;
325
+ project?: string;
310
326
  };
311
327
  hetzner?: {
312
- enabled?: boolean;
313
- apiKey?: string;
314
- } | {
328
+ enabled: boolean;
329
+ /**
330
+ * Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
331
+ */
315
332
  apiKey?: string;
316
- enabled?: boolean;
317
333
  };
318
334
  aws?: {
319
- enabled?: boolean;
335
+ enabled: boolean;
320
336
  /**
321
- * ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.
337
+ * AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
322
338
  */
323
- controllerRoleArn: string;
339
+ controllerRoleArn?: string;
324
340
  };
325
341
  /**
326
- * Unique identifier of the kubernetes fleet.
342
+ * 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.
327
343
  */
328
- id: string;
344
+ constraints?: {
345
+ /**
346
+ * Allowed values for `karpenter.sh/capacity-type`.
347
+ */
348
+ 'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
349
+ /**
350
+ * Allowed values for `kubernetes.io/arch`.
351
+ */
352
+ 'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
353
+ /**
354
+ * Allowed values for `cfke.io/instance-family`.
355
+ */
356
+ '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'>;
357
+ /**
358
+ * Allowed values for `topology.kubernetes.io/region`.
359
+ */
360
+ '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'>;
361
+ };
362
+ /**
363
+ * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
364
+ */
365
+ scalingProfile?: 'aggressive' | 'conservative';
329
366
  /**
330
- * Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.
367
+ * Unique identifier of the kubernetes fleet.
331
368
  */
332
- type: 'managed' | 'connected';
369
+ id: string;
333
370
  };
334
371
  export type Fleet = {
335
372
  /**
@@ -337,39 +374,60 @@ export type Fleet = {
337
374
  */
338
375
  limits?: {
339
376
  /**
340
- * CPU limit in cores.
377
+ * CPU limit in cores. Maximum 100,000.
341
378
  */
342
- cpu: number;
379
+ cpu?: number;
343
380
  };
344
381
  gcp?: {
345
- enabled?: boolean;
382
+ enabled: boolean;
346
383
  /**
347
- * Project GCP Project id to deploy instances into
384
+ * 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
385
  */
349
- project: string;
386
+ project?: string;
350
387
  };
351
388
  hetzner?: {
352
- enabled?: boolean;
353
- apiKey?: string;
354
- } | {
389
+ enabled: boolean;
390
+ /**
391
+ * Redacted Hetzner API token. Returned as 64 asterisks when a token is configured; omitted otherwise. The real value is never echoed by the API.
392
+ */
355
393
  apiKey?: string;
356
- enabled?: boolean;
357
394
  };
358
395
  aws?: {
359
- enabled?: boolean;
396
+ enabled: boolean;
360
397
  /**
361
- * ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.
398
+ * AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
362
399
  */
363
- controllerRoleArn: string;
400
+ controllerRoleArn?: string;
364
401
  };
365
402
  /**
366
- * Unique identifier of the kubernetes fleet.
403
+ * 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.
367
404
  */
368
- id: string;
405
+ constraints?: {
406
+ /**
407
+ * Allowed values for `karpenter.sh/capacity-type`.
408
+ */
409
+ 'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
410
+ /**
411
+ * Allowed values for `kubernetes.io/arch`.
412
+ */
413
+ 'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
414
+ /**
415
+ * Allowed values for `cfke.io/instance-family`.
416
+ */
417
+ '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'>;
418
+ /**
419
+ * Allowed values for `topology.kubernetes.io/region`.
420
+ */
421
+ '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'>;
422
+ };
423
+ /**
424
+ * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
425
+ */
426
+ scalingProfile: 'aggressive' | 'conservative';
369
427
  /**
370
- * Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.
428
+ * Unique identifier of the kubernetes fleet.
371
429
  */
372
- type: 'managed' | 'connected';
430
+ id: string;
373
431
  };
374
432
  export type FleetUpdateInput = {
375
433
  /**
@@ -377,31 +435,66 @@ export type FleetUpdateInput = {
377
435
  */
378
436
  limits?: {
379
437
  /**
380
- * CPU limit in cores.
438
+ * CPU limit in cores. Maximum 100,000.
381
439
  */
382
- cpu: number;
440
+ cpu?: number;
383
441
  };
384
442
  gcp?: {
385
- enabled?: boolean;
443
+ enabled: boolean;
386
444
  /**
387
- * Project GCP Project id to deploy instances into
445
+ * 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
446
  */
389
- project: string;
447
+ project?: string;
390
448
  };
391
449
  hetzner?: {
392
- enabled?: boolean;
393
- apiKey?: string;
394
- } | {
450
+ enabled: boolean;
451
+ /**
452
+ * Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
453
+ */
395
454
  apiKey?: string;
396
- enabled?: boolean;
397
455
  };
398
456
  aws?: {
399
- enabled?: boolean;
457
+ enabled: boolean;
458
+ /**
459
+ * AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
460
+ */
461
+ controllerRoleArn?: string;
462
+ };
463
+ /**
464
+ * 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.
465
+ */
466
+ constraints?: {
467
+ /**
468
+ * Allowed values for `karpenter.sh/capacity-type`.
469
+ */
470
+ 'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
471
+ /**
472
+ * Allowed values for `kubernetes.io/arch`.
473
+ */
474
+ 'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
475
+ /**
476
+ * Allowed values for `cfke.io/instance-family`.
477
+ */
478
+ '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
479
  /**
401
- * ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.
480
+ * Allowed values for `topology.kubernetes.io/region`.
402
481
  */
403
- controllerRoleArn: string;
482
+ '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
483
  };
484
+ /**
485
+ * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
486
+ */
487
+ scalingProfile: 'aggressive' | 'conservative';
488
+ };
489
+ export type InviteCreateInput = {
490
+ /**
491
+ * Email address of the user to invite.
492
+ */
493
+ email: string;
494
+ /**
495
+ * Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
496
+ */
497
+ role?: 'Administrator' | 'User';
405
498
  };
406
499
  export type Invite = {
407
500
  /**
@@ -424,285 +517,134 @@ export type Invite = {
424
517
  * Generated unique invite code.
425
518
  */
426
519
  code?: string;
520
+ /**
521
+ * Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
522
+ */
523
+ role?: 'Administrator' | 'User';
427
524
  };
428
525
  export type Invoice = {
429
526
  /**
430
- * Unique identifier of the invoice. UUID v4 string in canonical form
527
+ * Unique identifier of the invoice.
431
528
  */
432
529
  id?: string;
433
- /**
434
- * Unique identifier of the organization. UUID v4 string in canonical form
435
- */
436
- organizationId?: string;
530
+ number?: string;
437
531
  /**
438
532
  * Status of the invoice
439
533
  */
440
- status?: 'DRAFT' | 'COMMITTED' | 'VOID';
534
+ status?: string;
441
535
  /**
442
536
  * Total amount of the invoice
443
537
  */
444
- amount?: number;
538
+ total?: number;
445
539
  /**
446
540
  * Currency of the invoice
447
541
  */
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';
542
+ currency?: string;
449
543
  /**
450
- * Total amount of credit adjustments
544
+ * Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
451
545
  */
452
- creditAdj?: number;
546
+ created: string;
453
547
  /**
454
- * Total amount of refund adjustments
548
+ * Billing period start timestamp. ISO 8601 date string in the UTC timezone.
455
549
  */
456
- refundAdj?: number;
550
+ period_start: string;
457
551
  /**
458
- * Date of the invoice
552
+ * Billing period end timestamp. ISO 8601 date string in the UTC timezone.
459
553
  */
460
- invoiceDate?: string;
554
+ period_end: string;
555
+ invoice_pdf?: string;
556
+ };
557
+ export type MarketplaceListingFiles = {
461
558
  /**
462
- * Target date of the invoice
559
+ * Raw Chart.yaml content from the Helm chart
463
560
  */
464
- targetDate?: string;
561
+ chartYaml?: string;
465
562
  /**
466
- * Number of the invoice
563
+ * Raw values.yaml content from the Helm chart
467
564
  */
468
- invoiceNumber?: string;
565
+ valuesYaml?: string;
469
566
  /**
470
- * Balance of the invoice
567
+ * JSON schema for values.yaml as a string
471
568
  */
472
- balance?: number;
569
+ valuesSchemaJson?: string;
570
+ };
571
+ export type MarketplaceListing = {
473
572
  /**
474
- * Bundle keys of the invoice
573
+ * Name of the chart
475
574
  */
476
- bundleKeys?: string;
575
+ name: string;
477
576
  /**
478
- * Credits of the invoice
577
+ * Available versions of the chart
479
578
  */
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;
489
- /**
490
- * Name of the product
491
- */
492
- productName?: string;
493
- /**
494
- * Name of the plan
495
- */
496
- planName?: string;
497
- /**
498
- * Name of the phase
499
- */
500
- phaseName?: string;
501
- /**
502
- * Name of the usage
503
- */
504
- usageName?: string;
505
- /**
506
- * Pretty name of the product
507
- */
508
- prettyProductName?: string;
509
- /**
510
- * Pretty name of the plan
511
- */
512
- prettyPlanName?: string;
513
- /**
514
- * Pretty name of the phase
515
- */
516
- prettyPhaseName?: string;
517
- /**
518
- * Pretty name of the usage
519
- */
520
- prettyUsageName?: string;
521
- /**
522
- * Type of the invoice item
523
- */
524
- itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
525
- /**
526
- * Description of the invoice item
527
- */
528
- description?: string;
529
- /**
530
- * Start date of the invoice item
531
- */
532
- startDate?: string;
533
- /**
534
- * End date of the invoice item
535
- */
536
- endDate?: string;
537
- /**
538
- * Amount of the invoice item
539
- */
540
- amount?: number;
541
- /**
542
- * Rate of the invoice item
543
- */
544
- rate?: number;
545
- /**
546
- * Currency of the invoice item
547
- */
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';
549
- /**
550
- * Quantity of the invoice item
551
- */
552
- quantity?: number;
553
- /**
554
- * Details of the invoice item
555
- */
556
- itemDetails?: string;
557
- /**
558
- * Effective date of the catalog
559
- */
560
- catalogEffectiveDate?: string;
561
- /**
562
- * Child items of the invoice item
563
- */
564
- childItems?: Array<Array<unknown> | boolean | number | {
565
- [key: string]: unknown;
566
- } | string>;
567
- }>;
579
+ versions: Array<string>;
568
580
  /**
569
- * Items of the invoice
581
+ * Version channels for the chart
570
582
  */
571
- items?: Array<{
572
- /**
573
- * Unique identifier of the invoice item. UUID v4 string in canonical form
574
- */
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;
583
+ version_channels: Array<string>;
584
+ /**
585
+ * Latest version of the chart
586
+ */
587
+ latestVersion: string;
588
+ /**
589
+ * Chart metadata
590
+ */
591
+ metadata?: {
608
592
  /**
609
- * Pretty name of the usage
593
+ * Chart name from metadata
610
594
  */
611
- prettyUsageName?: string;
595
+ name: string;
612
596
  /**
613
- * Type of the invoice item
597
+ * Chart version from metadata
614
598
  */
615
- itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
599
+ version: string;
616
600
  /**
617
- * Description of the invoice item
601
+ * Chart description
618
602
  */
619
603
  description?: string;
620
604
  /**
621
- * Start date of the invoice item
622
- */
623
- startDate?: string;
624
- /**
625
- * End date of the invoice item
626
- */
627
- endDate?: string;
628
- /**
629
- * Amount of the invoice item
605
+ * Application version
630
606
  */
631
- amount?: number;
607
+ appVersion?: string;
632
608
  /**
633
- * Rate of the invoice item
609
+ * Helm API version
634
610
  */
635
- rate?: number;
611
+ apiVersion?: string;
636
612
  /**
637
- * Currency of the invoice item
613
+ * Chart keywords
638
614
  */
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';
615
+ keywords?: Array<string>;
640
616
  /**
641
- * Quantity of the invoice item
617
+ * Chart home URL
642
618
  */
643
- quantity?: number;
619
+ home?: string;
644
620
  /**
645
- * Details of the invoice item
621
+ * A URL to an SVG or PNG image to be used as an icon
646
622
  */
647
- itemDetails?: string;
623
+ icon?: string;
648
624
  /**
649
- * Effective date of the catalog
625
+ * Chart source URLs
650
626
  */
651
- catalogEffectiveDate?: string;
627
+ sources?: Array<string>;
652
628
  /**
653
- * Child items of the invoice item
629
+ * Chart maintainers
654
630
  */
655
- childItems?: Array<Array<unknown> | boolean | number | {
656
- [key: string]: unknown;
657
- } | string>;
658
- }>;
631
+ maintainers?: Array<{
632
+ /**
633
+ * Maintainer name
634
+ */
635
+ name: string;
636
+ /**
637
+ * Maintainer email
638
+ */
639
+ email?: string;
640
+ }>;
641
+ };
659
642
  };
660
- export type MarketplaceListing = {
661
- /**
662
- * Id of the chart listing
663
- */
664
- id: string;
665
- /**
666
- * Name of the chart listing
667
- */
668
- name: string;
669
- /**
670
- * Author of the chart listing
671
- */
672
- developer: string;
673
- /**
674
- * Short description of the chart listing
675
- */
676
- description: string;
677
- /**
678
- * Logo of the chart listing
679
- */
680
- logoUrl: string;
681
- /**
682
- * Long description of the chart listing
683
- */
684
- longDescription: string;
643
+ export type OrganizationCreateInput = {
685
644
  /**
686
- * Tags of the chart
645
+ * Type of the organization. `business` for legal entities, `personal` for individuals.
687
646
  */
688
- categories: Array<string>;
689
- version_channels: Array<string>;
690
- value_schemas: Array<{
691
- /**
692
- * Version of the chart.
693
- */
694
- version: string;
695
- /**
696
- * Schema of the chart values. JSON Schema as string
697
- */
698
- schema: string;
699
- /**
700
- * Schema of the chart values
701
- */
702
- placeholder: string;
703
- }>;
704
- };
705
- export type OrganizationCreateInput = {
647
+ type: 'business' | 'personal';
706
648
  /**
707
649
  * Email address used for billing as a string.
708
650
  */
@@ -724,6 +666,12 @@ export type OrganizationCreateInput = {
724
666
  */
725
667
  password: string;
726
668
  };
669
+ export type OrganizationCreateOutput = {
670
+ /**
671
+ * Unique identifier of the newly created organization. Generated by the API and safe to use for client-side tracking immediately.
672
+ */
673
+ id: string;
674
+ };
727
675
  export type Organization = {
728
676
  /**
729
677
  * Unique identifier of the organization. UUID v4 string in canonical form
@@ -733,6 +681,10 @@ export type Organization = {
733
681
  * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
734
682
  */
735
683
  name?: string;
684
+ /**
685
+ * Type of the organization. `business` for legal entities, `personal` for individuals.
686
+ */
687
+ type: 'business' | 'personal';
736
688
  /**
737
689
  * Creation date of the organization. ISO 8601 date string in UTC timezone
738
690
  */
@@ -761,10 +713,6 @@ export type Organization = {
761
713
  * Maximum number of fleets that can be created per cluster.
762
714
  */
763
715
  fleets_max: number;
764
- /**
765
- * Maximum number of CPU cores per managed fleet.
766
- */
767
- managed_fleets_cpu_max: number;
768
716
  /**
769
717
  * List of Cloudfleet cluster tiers available for the organization.
770
718
  */
@@ -786,61 +734,528 @@ export type Organization = {
786
734
  */
787
735
  label: string;
788
736
  }>;
737
+ /**
738
+ * Organization-level maximum CFCR storage volume in GB. -1 means no limit.
739
+ */
740
+ cfcr_storage_gb: number;
789
741
  };
790
742
  /**
791
743
  * Status of the organization. Can be `active` or `closed`, or `suspended`.
792
744
  */
793
745
  status: 'active' | 'closed' | 'suspended';
746
+ /**
747
+ * 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.
748
+ */
749
+ verification: 'none' | 'submitted' | 'verified';
794
750
  };
795
751
  export type PaymentMethod = {
796
752
  /**
797
- * Unique identifier of the organization. UUID v4 string in canonical form.
753
+ * 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.
798
754
  */
799
755
  id: string;
800
756
  /**
801
- * Whether organization payment method was set up and ready to use for payments.
802
- */
803
- setup: boolean;
804
- /**
805
- * Payment method type type. Only `card` payments supported at the moment.
757
+ * Payment method type. `card`, `sepa_debit` for SEPA Direct Debit (business accounts only), or `bank_transfer` for paying invoices by bank transfer.
806
758
  */
807
- type: 'card';
759
+ type: 'card' | 'sepa_debit' | 'bank_transfer';
808
760
  /**
809
- * Last 4 digits of the payment card number.
761
+ * 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.
810
762
  */
811
763
  last4: string;
812
764
  /**
813
- * Two-digit number representing the card's expiration month.
765
+ * Two-digit number representing the card's expiration month. Null for SEPA Direct Debit and bank transfer.
814
766
  */
815
767
  exp_month: number;
816
768
  /**
817
- * Four-digit number representing the card's expiration year.
769
+ * 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.
818
770
  */
819
771
  exp_year: number;
820
772
  /**
821
- * Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
773
+ * Payment card brand as reported by Stripe, e.g. `visa`, `mastercard`, `amex`, `cartes_bancaires`, or `unknown`. Null for SEPA Direct Debit and bank transfer.
822
774
  */
823
- brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
824
- };
825
- export type TokenCreateInput = {
775
+ brand: string;
826
776
  /**
827
- * Human readable access token name.
777
+ * 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.
828
778
  */
829
- name: string;
779
+ iban: string;
830
780
  /**
831
- * Role assumed by the token.
781
+ * BIC/SWIFT of the destination bank for bank transfers. Set only for `bank_transfer`; null otherwise.
832
782
  */
833
- role: 'Administrator' | 'User';
834
- };
835
- export type Token = {
783
+ bic: string;
836
784
  /**
837
- * Human readable access token name.
785
+ * Account holder name of the destination bank account for bank transfers. Set only for `bank_transfer`; null otherwise.
838
786
  */
839
- name: string;
787
+ account_holder_name: string;
840
788
  /**
841
- * Role assumed by the token.
789
+ * 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).
842
790
  */
843
- role: 'Administrator' | 'User';
791
+ is_default: boolean;
792
+ };
793
+ export type PlatformQuota = {
794
+ /**
795
+ * Maximum number of Basic clusters that can be created.
796
+ */
797
+ basic_clusters_max: number;
798
+ /**
799
+ * Available number of Basic clusters that can be created.
800
+ */
801
+ basic_clusters_available: number;
802
+ /**
803
+ * Maximum number of Pro clusters that can be created.
804
+ */
805
+ pro_clusters_max: number;
806
+ /**
807
+ * Available number of Pro clusters that can be created.
808
+ */
809
+ pro_clusters_available: number;
810
+ /**
811
+ * Maximum number of fleets that can be created per cluster.
812
+ */
813
+ fleets_max: number;
814
+ /**
815
+ * List of Cloudfleet cluster tiers available for the organization.
816
+ */
817
+ cluster_tiers: Array<string>;
818
+ /**
819
+ * List of Cloudfleet control plane regions available for the organization.
820
+ */
821
+ regions: Array<string>;
822
+ /**
823
+ * List of CFKE control plane versions available for the organization.
824
+ */
825
+ versions: Array<{
826
+ /**
827
+ * Id of the control plane version. Used in API calls.
828
+ */
829
+ id: string;
830
+ /**
831
+ * Label of the control plane version. Used in frontent UI.
832
+ */
833
+ label: string;
834
+ }>;
835
+ /**
836
+ * Organization-level maximum CFCR storage volume in GB. -1 means no limit.
837
+ */
838
+ cfcr_storage_gb: number;
839
+ };
840
+ export type RegistryRepository = {
841
+ /**
842
+ * Repository name.
843
+ */
844
+ name: string;
845
+ /**
846
+ * Registry region.
847
+ */
848
+ region: string;
849
+ /**
850
+ * Full URI of the repository.
851
+ */
852
+ uri: string;
853
+ };
854
+ export type RegistryRepositoryWithTags = {
855
+ /**
856
+ * Repository name.
857
+ */
858
+ name: string;
859
+ /**
860
+ * Registry region.
861
+ */
862
+ region: string;
863
+ /**
864
+ * Full URI of the repository.
865
+ */
866
+ uri: string;
867
+ /**
868
+ * Array of tags in the repository.
869
+ */
870
+ tags: Array<{
871
+ /**
872
+ * Tag name.
873
+ */
874
+ name: string;
875
+ /**
876
+ * Size of the tag in bytes.
877
+ */
878
+ size: number;
879
+ /**
880
+ * Media type of the manifest.
881
+ */
882
+ mediaType?: string;
883
+ /**
884
+ * Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).
885
+ */
886
+ platforms?: Array<string>;
887
+ }>;
888
+ /**
889
+ * Total size of all tags in the repository in bytes.
890
+ */
891
+ totalSize: number;
892
+ };
893
+ export type RegistryTag = {
894
+ /**
895
+ * Tag name.
896
+ */
897
+ name: string;
898
+ /**
899
+ * Manifest digest for pulling by digest.
900
+ */
901
+ digest: string;
902
+ /**
903
+ * Media type of the manifest.
904
+ */
905
+ mediaType?: string;
906
+ /**
907
+ * Manifest config metadata.
908
+ */
909
+ config?: {
910
+ /**
911
+ * Size of the config in bytes.
912
+ */
913
+ size: number;
914
+ };
915
+ /**
916
+ * Array of layer metadata.
917
+ */
918
+ layers?: Array<{
919
+ /**
920
+ * Digest of the layer.
921
+ */
922
+ digest?: string;
923
+ /**
924
+ * Size of the layer in bytes.
925
+ */
926
+ size: number;
927
+ }>;
928
+ /**
929
+ * Array of manifests for multi-arch images.
930
+ */
931
+ manifests?: Array<{
932
+ /**
933
+ * Digest of the manifest.
934
+ */
935
+ digest: string;
936
+ /**
937
+ * Platform information for the manifest.
938
+ */
939
+ platform?: {
940
+ /**
941
+ * Architecture of the platform.
942
+ */
943
+ architecture: string;
944
+ /**
945
+ * Operating system of the platform.
946
+ */
947
+ os: string;
948
+ /**
949
+ * Variant of the platform (e.g., v7, v8 for ARM).
950
+ */
951
+ variant?: string;
952
+ };
953
+ /**
954
+ * Layers for this platform.
955
+ */
956
+ layers?: Array<{
957
+ /**
958
+ * Digest of the layer.
959
+ */
960
+ digest?: string;
961
+ /**
962
+ * Size of the layer in bytes.
963
+ */
964
+ size: number;
965
+ }>;
966
+ /**
967
+ * Total size of this platform manifest in bytes.
968
+ */
969
+ size?: number;
970
+ }>;
971
+ /**
972
+ * Total size of the tag in bytes.
973
+ */
974
+ size: number;
975
+ /**
976
+ * Registry region.
977
+ */
978
+ region: string;
979
+ /**
980
+ * Repository name.
981
+ */
982
+ repository: string;
983
+ /**
984
+ * Full URI of the tag.
985
+ */
986
+ uri: string;
987
+ };
988
+ export type TicketAttachment = {
989
+ /**
990
+ * Unique identifier of the attachment (Mongo ObjectId).
991
+ */
992
+ id: string;
993
+ /**
994
+ * Original filename as uploaded.
995
+ */
996
+ filename: string;
997
+ /**
998
+ * MIME content type of the attachment.
999
+ */
1000
+ content_type: string;
1001
+ /**
1002
+ * Size of the attachment in bytes.
1003
+ */
1004
+ size: number;
1005
+ };
1006
+ export type TicketCreateInput = {
1007
+ /**
1008
+ * Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.
1009
+ */
1010
+ category: 'billing' | 'technical' | 'general';
1011
+ /**
1012
+ * Initial message body in markdown. There is no separate subject — the first message body is the description.
1013
+ */
1014
+ body: string;
1015
+ /**
1016
+ * Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).
1017
+ */
1018
+ properties?: {
1019
+ [key: string]: unknown;
1020
+ };
1021
+ };
1022
+ export type TicketListResponse = {
1023
+ /**
1024
+ * Tickets for the organization, ordered newest first. Messages are omitted from list responses.
1025
+ */
1026
+ items: Array<{
1027
+ /**
1028
+ * Unique identifier of the ticket (Mongo ObjectId).
1029
+ */
1030
+ id: string;
1031
+ /**
1032
+ * Current state of the ticket.
1033
+ */
1034
+ status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
1035
+ /**
1036
+ * Ticket category.
1037
+ */
1038
+ category: 'billing' | 'technical' | 'general';
1039
+ /**
1040
+ * First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
1041
+ */
1042
+ summary: string;
1043
+ /**
1044
+ * Closure timestamp. Null while the ticket is open.
1045
+ */
1046
+ closed_at?: string;
1047
+ /**
1048
+ * Creation date of the ticket. ISO 8601 UTC.
1049
+ */
1050
+ date_created: string;
1051
+ /**
1052
+ * Last update date of the ticket. ISO 8601 UTC.
1053
+ */
1054
+ date_updated: string;
1055
+ /**
1056
+ * Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
1057
+ */
1058
+ messages?: Array<{
1059
+ /**
1060
+ * Unique identifier of the message (Mongo ObjectId).
1061
+ */
1062
+ id: string;
1063
+ /**
1064
+ * Message type. Internal notes are filtered out of customer-facing responses.
1065
+ */
1066
+ type: 'customer_reply' | 'agent_reply';
1067
+ /**
1068
+ * Message body in markdown.
1069
+ */
1070
+ body: string;
1071
+ /**
1072
+ * First name of the author. Null when not provided.
1073
+ */
1074
+ author_first_name?: string;
1075
+ /**
1076
+ * Last name of the author. Null when not provided.
1077
+ */
1078
+ author_last_name?: string;
1079
+ /**
1080
+ * Attachments associated with this message.
1081
+ */
1082
+ attachments?: Array<{
1083
+ /**
1084
+ * Unique identifier of the attachment (Mongo ObjectId).
1085
+ */
1086
+ id: string;
1087
+ /**
1088
+ * Original filename as uploaded.
1089
+ */
1090
+ filename: string;
1091
+ /**
1092
+ * MIME content type of the attachment.
1093
+ */
1094
+ content_type: string;
1095
+ /**
1096
+ * Size of the attachment in bytes.
1097
+ */
1098
+ size: number;
1099
+ }>;
1100
+ /**
1101
+ * Creation date of the message. ISO 8601 UTC.
1102
+ */
1103
+ date_created: string;
1104
+ }>;
1105
+ }>;
1106
+ };
1107
+ export type TicketMessageInput = {
1108
+ /**
1109
+ * Reply body in markdown.
1110
+ */
1111
+ body: string;
1112
+ };
1113
+ export type TicketMessage = {
1114
+ /**
1115
+ * Unique identifier of the message (Mongo ObjectId).
1116
+ */
1117
+ id: string;
1118
+ /**
1119
+ * Message type. Internal notes are filtered out of customer-facing responses.
1120
+ */
1121
+ type: 'customer_reply' | 'agent_reply';
1122
+ /**
1123
+ * Message body in markdown.
1124
+ */
1125
+ body: string;
1126
+ /**
1127
+ * First name of the author. Null when not provided.
1128
+ */
1129
+ author_first_name?: string;
1130
+ /**
1131
+ * Last name of the author. Null when not provided.
1132
+ */
1133
+ author_last_name?: string;
1134
+ /**
1135
+ * Attachments associated with this message.
1136
+ */
1137
+ attachments?: Array<{
1138
+ /**
1139
+ * Unique identifier of the attachment (Mongo ObjectId).
1140
+ */
1141
+ id: string;
1142
+ /**
1143
+ * Original filename as uploaded.
1144
+ */
1145
+ filename: string;
1146
+ /**
1147
+ * MIME content type of the attachment.
1148
+ */
1149
+ content_type: string;
1150
+ /**
1151
+ * Size of the attachment in bytes.
1152
+ */
1153
+ size: number;
1154
+ }>;
1155
+ /**
1156
+ * Creation date of the message. ISO 8601 UTC.
1157
+ */
1158
+ date_created: string;
1159
+ };
1160
+ export type Ticket = {
1161
+ /**
1162
+ * Unique identifier of the ticket (Mongo ObjectId).
1163
+ */
1164
+ id: string;
1165
+ /**
1166
+ * Current state of the ticket.
1167
+ */
1168
+ status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
1169
+ /**
1170
+ * Ticket category.
1171
+ */
1172
+ category: 'billing' | 'technical' | 'general';
1173
+ /**
1174
+ * First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
1175
+ */
1176
+ summary: string;
1177
+ /**
1178
+ * Closure timestamp. Null while the ticket is open.
1179
+ */
1180
+ closed_at?: string;
1181
+ /**
1182
+ * Creation date of the ticket. ISO 8601 UTC.
1183
+ */
1184
+ date_created: string;
1185
+ /**
1186
+ * Last update date of the ticket. ISO 8601 UTC.
1187
+ */
1188
+ date_updated: string;
1189
+ /**
1190
+ * Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
1191
+ */
1192
+ messages?: Array<{
1193
+ /**
1194
+ * Unique identifier of the message (Mongo ObjectId).
1195
+ */
1196
+ id: string;
1197
+ /**
1198
+ * Message type. Internal notes are filtered out of customer-facing responses.
1199
+ */
1200
+ type: 'customer_reply' | 'agent_reply';
1201
+ /**
1202
+ * Message body in markdown.
1203
+ */
1204
+ body: string;
1205
+ /**
1206
+ * First name of the author. Null when not provided.
1207
+ */
1208
+ author_first_name?: string;
1209
+ /**
1210
+ * Last name of the author. Null when not provided.
1211
+ */
1212
+ author_last_name?: string;
1213
+ /**
1214
+ * Attachments associated with this message.
1215
+ */
1216
+ attachments?: Array<{
1217
+ /**
1218
+ * Unique identifier of the attachment (Mongo ObjectId).
1219
+ */
1220
+ id: string;
1221
+ /**
1222
+ * Original filename as uploaded.
1223
+ */
1224
+ filename: string;
1225
+ /**
1226
+ * MIME content type of the attachment.
1227
+ */
1228
+ content_type: string;
1229
+ /**
1230
+ * Size of the attachment in bytes.
1231
+ */
1232
+ size: number;
1233
+ }>;
1234
+ /**
1235
+ * Creation date of the message. ISO 8601 UTC.
1236
+ */
1237
+ date_created: string;
1238
+ }>;
1239
+ };
1240
+ export type TokenCreateInput = {
1241
+ /**
1242
+ * Human readable access token name.
1243
+ */
1244
+ name: string;
1245
+ /**
1246
+ * Role assumed by the token.
1247
+ */
1248
+ role: 'Administrator' | 'User';
1249
+ };
1250
+ export type Token = {
1251
+ /**
1252
+ * Human readable access token name.
1253
+ */
1254
+ name: string;
1255
+ /**
1256
+ * Role assumed by the token.
1257
+ */
1258
+ role: 'Administrator' | 'User';
844
1259
  /**
845
1260
  * Generated unique identifier of the access token.
846
1261
  */
@@ -864,35 +1279,85 @@ export type TokenUpdateInput = {
864
1279
  */
865
1280
  role?: 'Administrator' | 'User';
866
1281
  };
1282
+ export type UsageFacets = {
1283
+ /**
1284
+ * List of unique cluster IDs
1285
+ */
1286
+ cluster_id?: Array<string>;
1287
+ /**
1288
+ * List of unique products
1289
+ */
1290
+ product?: Array<string>;
1291
+ };
1292
+ export type UsageResponse = {
1293
+ /**
1294
+ * Usage data
1295
+ */
1296
+ data: Array<{
1297
+ /**
1298
+ * Hour of the usage
1299
+ */
1300
+ hour: string;
1301
+ /**
1302
+ * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
1303
+ */
1304
+ cluster_id: string;
1305
+ /**
1306
+ * The product the usage is associated with
1307
+ */
1308
+ product: string;
1309
+ /**
1310
+ * Consumption
1311
+ */
1312
+ value: number;
1313
+ /**
1314
+ * Price per unit
1315
+ */
1316
+ price: number;
1317
+ /**
1318
+ * Total cost
1319
+ */
1320
+ total: number;
1321
+ }>;
1322
+ /**
1323
+ * Facets for filtering
1324
+ */
1325
+ facets: {
1326
+ /**
1327
+ * List of unique cluster IDs
1328
+ */
1329
+ cluster_id?: Array<string>;
1330
+ /**
1331
+ * List of unique products
1332
+ */
1333
+ product?: Array<string>;
1334
+ };
1335
+ };
867
1336
  export type Usage = {
868
1337
  /**
869
1338
  * Hour of the usage
870
1339
  */
871
- hour?: string;
1340
+ hour: string;
872
1341
  /**
873
1342
  * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
874
1343
  */
875
1344
  cluster_id: string;
876
1345
  /**
877
- * Tier of the cluster.
1346
+ * The product the usage is associated with
878
1347
  */
879
- cluster_tier: 'basic' | 'pro' | '';
1348
+ product: string;
880
1349
  /**
881
- * The product the usage is associated with
1350
+ * Consumption
882
1351
  */
883
- product: 'cfke_controlplane' | 'cfke_connected_nodes' | 'infra_compute' | 'infra_storage' | 'infra_loadbalancing' | 'infra_traffic' | 'cfcr_storage';
1352
+ value: number;
884
1353
  /**
885
- * Name of the Kubernetes node
1354
+ * Price per unit
886
1355
  */
887
- node_name: string;
1356
+ price: number;
888
1357
  /**
889
- * SKU of the Kubernetes node
1358
+ * Total cost
890
1359
  */
891
- sku: string;
892
- cpu: number | '';
893
- price: number | '';
894
- value: number | '';
895
- total: number | '';
1360
+ total: number;
896
1361
  };
897
1362
  export type UserCreateInput = {
898
1363
  /**
@@ -915,14 +1380,6 @@ export type UserCreateInput = {
915
1380
  * User password. Must be at least 8 characters long.
916
1381
  */
917
1382
  password: string;
918
- /**
919
- * Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.
920
- */
921
- status?: 'active' | 'inactive';
922
- /**
923
- * User role. Can be 'Administrator', 'User'.
924
- */
925
- role?: 'Administrator' | 'User';
926
1383
  };
927
1384
  export type User = {
928
1385
  /**
@@ -979,7 +1436,12 @@ export type UserUpdateInput = {
979
1436
  export type GetUsageData = {
980
1437
  body?: never;
981
1438
  path?: never;
982
- query?: never;
1439
+ query?: {
1440
+ /**
1441
+ * 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)
1442
+ */
1443
+ granularity?: 'hourly' | 'daily' | 'monthly';
1444
+ };
983
1445
  url: '/billing/usage';
984
1446
  };
985
1447
  export type GetUsageErrors = {
@@ -987,78 +1449,124 @@ export type GetUsageErrors = {
987
1449
  * Not authenticated
988
1450
  */
989
1451
  401: unknown;
990
- };
991
- export type GetUsageResponses = {
1452
+ };
1453
+ export type GetUsageResponses = {
1454
+ /**
1455
+ * Usage data with facets for filtering
1456
+ */
1457
+ 200: UsageResponse;
1458
+ };
1459
+ export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
1460
+ export type GetPaymentMethodSecretData = {
1461
+ body?: never;
1462
+ path?: never;
1463
+ query?: never;
1464
+ url: '/billing/payment-method';
1465
+ };
1466
+ export type GetPaymentMethodSecretResponses = {
1467
+ /**
1468
+ * 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.
1469
+ *
1470
+ */
1471
+ 200: {
1472
+ /**
1473
+ * The client secret.
1474
+ */
1475
+ id?: string;
1476
+ };
1477
+ };
1478
+ export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
1479
+ export type ListPaymentMethodsData = {
1480
+ body?: never;
1481
+ path?: never;
1482
+ query?: never;
1483
+ url: '/billing/payment-methods';
1484
+ };
1485
+ export type ListPaymentMethodsErrors = {
1486
+ /**
1487
+ * Not authenticated
1488
+ */
1489
+ 401: unknown;
1490
+ };
1491
+ export type ListPaymentMethodsResponses = {
1492
+ /**
1493
+ * An array of payment methods.
1494
+ */
1495
+ 200: Array<PaymentMethod>;
1496
+ };
1497
+ export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
1498
+ export type SetDefaultPaymentMethodData = {
1499
+ body?: never;
1500
+ path: {
1501
+ /**
1502
+ * Stripe payment method identifier.
1503
+ */
1504
+ paymentMethodId: string;
1505
+ };
1506
+ query?: never;
1507
+ url: '/billing/payment-methods/{paymentMethodId}/default';
1508
+ };
1509
+ export type SetDefaultPaymentMethodErrors = {
1510
+ /**
1511
+ * The bank transfer payment method cannot be set as the default.
1512
+ */
1513
+ 400: unknown;
1514
+ /**
1515
+ * Not authenticated
1516
+ */
1517
+ 401: unknown;
992
1518
  /**
993
- * An array of usage records.
1519
+ * Payment method not found.
994
1520
  */
995
- 200: Array<Usage>;
996
- };
997
- export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
998
- export type GetBalanceData = {
999
- body?: never;
1000
- path?: never;
1001
- query?: never;
1002
- url: '/billing/balance';
1521
+ 404: unknown;
1003
1522
  };
1004
- export type GetBalanceResponses = {
1523
+ export type SetDefaultPaymentMethodResponses = {
1005
1524
  /**
1006
- * Current balance of the organization in USD as a floating-point number.
1525
+ * Default payment method updated.
1007
1526
  */
1008
- 200: number;
1527
+ 204: void;
1009
1528
  };
1010
- export type GetBalanceResponse = GetBalanceResponses[keyof GetBalanceResponses];
1011
- export type GetPaymentMethodData = {
1529
+ export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
1530
+ export type DeletePaymentMethodData = {
1012
1531
  body?: never;
1013
- path?: never;
1532
+ path: {
1533
+ /**
1534
+ * Stripe payment method identifier.
1535
+ */
1536
+ paymentMethodId: string;
1537
+ };
1014
1538
  query?: never;
1015
- url: '/billing/payment-method';
1539
+ url: '/billing/payment-methods/{paymentMethodId}';
1016
1540
  };
1017
- export type GetPaymentMethodErrors = {
1541
+ export type DeletePaymentMethodErrors = {
1542
+ /**
1543
+ * The bank transfer payment method cannot be removed.
1544
+ */
1545
+ 400: unknown;
1546
+ /**
1547
+ * Not authenticated
1548
+ */
1549
+ 401: unknown;
1018
1550
  /**
1019
- * Returns 404 Not Found if the organization does not have a payment method set up.
1551
+ * Payment method not found.
1020
1552
  */
1021
1553
  404: unknown;
1022
- };
1023
- export type GetPaymentMethodResponses = {
1024
1554
  /**
1025
- * Redacted payment card information.
1555
+ * Cannot delete the only remaining payment method.
1026
1556
  */
1027
- 200: PaymentMethod;
1028
- };
1029
- export type GetPaymentMethodResponse = GetPaymentMethodResponses[keyof GetPaymentMethodResponses];
1030
- export type GetPaymentMethodSecretData = {
1031
- body?: never;
1032
- path?: never;
1033
- query?: never;
1034
- url: '/billing/payment-method';
1557
+ 409: unknown;
1035
1558
  };
1036
- export type GetPaymentMethodSecretResponses = {
1559
+ export type DeletePaymentMethodResponses = {
1037
1560
  /**
1038
- * 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.
1039
- *
1561
+ * Payment method deleted.
1040
1562
  */
1041
- 200: {
1042
- /**
1043
- * The client secret.
1044
- */
1045
- id?: string;
1046
- };
1563
+ 204: void;
1047
1564
  };
1048
- export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
1565
+ export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
1049
1566
  export type ListInvoicesData = {
1050
1567
  body?: never;
1051
1568
  path?: never;
1052
- query: {
1053
- /**
1054
- * Start date for the usage. Date of oldest data point to retrieve.
1055
- */
1056
- start_date: string;
1057
- /**
1058
- * End date for the usage. Date of newest data point to retrieve.
1059
- */
1060
- end_date: string;
1061
- };
1569
+ query?: never;
1062
1570
  url: '/billing/invoices';
1063
1571
  };
1064
1572
  export type ListInvoicesErrors = {
@@ -1074,26 +1582,6 @@ export type ListInvoicesResponses = {
1074
1582
  200: Array<Invoice>;
1075
1583
  };
1076
1584
  export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
1077
- export type GetInvoiceData = {
1078
- body?: never;
1079
- path: {
1080
- /**
1081
- * Unique invoice identifier. UUID v4 string in canonical form
1082
- */
1083
- id: string;
1084
- };
1085
- query?: never;
1086
- url: '/billing/invoices/{id}';
1087
- };
1088
- export type GetInvoiceResponses = {
1089
- /**
1090
- * Returns a single Invoice HTML representation under `html` property.
1091
- */
1092
- 200: {
1093
- html?: string;
1094
- };
1095
- };
1096
- export type GetInvoiceResponse = GetInvoiceResponses[keyof GetInvoiceResponses];
1097
1585
  export type GetContactData = {
1098
1586
  body?: never;
1099
1587
  path?: never;
@@ -1465,9 +1953,20 @@ export type DeleteClusterData = {
1465
1953
  query?: never;
1466
1954
  url: '/clusters/{cluster_id}';
1467
1955
  };
1956
+ export type DeleteClusterErrors = {
1957
+ /**
1958
+ * Cluster not found — it does not exist or has already been deleted.
1959
+ */
1960
+ 404: unknown;
1961
+ /**
1962
+ * The cluster could not be torn down due to a transient failure. The cluster is left intact; retry the request.
1963
+ *
1964
+ */
1965
+ 503: unknown;
1966
+ };
1468
1967
  export type DeleteClusterResponses = {
1469
1968
  /**
1470
- * Successfully deleted.
1969
+ * Successfully deleted. The cluster has been torn down.
1471
1970
  */
1472
1971
  200: string;
1473
1972
  };
@@ -1529,7 +2028,7 @@ export type GetJoinInformationResponses = {
1529
2028
  /**
1530
2029
  * An object of cluster join information
1531
2030
  */
1532
- 200: Cluster;
2031
+ 200: ClusterJoinInformation;
1533
2032
  };
1534
2033
  export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
1535
2034
  export type ListInvitesData = {
@@ -1552,12 +2051,7 @@ export type ListInvitesResponses = {
1552
2051
  };
1553
2052
  export type ListInvitesResponse = ListInvitesResponses[keyof ListInvitesResponses];
1554
2053
  export type CreateInviteData = {
1555
- body: {
1556
- /**
1557
- * User email address
1558
- */
1559
- email?: string;
1560
- };
2054
+ body: InviteCreateInput;
1561
2055
  path?: never;
1562
2056
  query?: never;
1563
2057
  url: '/invites';
@@ -1582,9 +2076,18 @@ export type GetInviteData = {
1582
2076
  };
1583
2077
  export type GetInviteResponses = {
1584
2078
  /**
1585
- * Returns a single object containing invite details.
2079
+ * The invitation code is valid. Returns the invited email and organization.
1586
2080
  */
1587
- 200: Invite;
2081
+ 200: {
2082
+ /**
2083
+ * Email address the invite was issued to.
2084
+ */
2085
+ email?: string;
2086
+ /**
2087
+ * Identifier of the organization the invite grants access to.
2088
+ */
2089
+ organization_id?: string;
2090
+ };
1588
2091
  };
1589
2092
  export type GetInviteResponse = GetInviteResponses[keyof GetInviteResponses];
1590
2093
  export type DeleteInviteData = {
@@ -1623,24 +2126,76 @@ export type ListMarketplaceChartsResponses = {
1623
2126
  200: Array<MarketplaceListing>;
1624
2127
  };
1625
2128
  export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
1626
- export type GetMarketplaceChartData = {
2129
+ export type GetMarketplaceChartFilesData = {
1627
2130
  body?: never;
1628
2131
  path: {
1629
2132
  /**
1630
- * Unique identifier of the chart listing in the marketplace.
2133
+ * Name of the chart in the marketplace.
2134
+ */
2135
+ chart_name: string;
2136
+ /**
2137
+ * 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).
2138
+ */
2139
+ version_channel: string;
2140
+ };
2141
+ query?: never;
2142
+ url: '/marketplace/{chart_name}/files/{version_channel}';
2143
+ };
2144
+ export type GetMarketplaceChartFilesErrors = {
2145
+ /**
2146
+ * Chart not found or no version matches the channel
2147
+ */
2148
+ 404: unknown;
2149
+ };
2150
+ export type GetMarketplaceChartFilesResponses = {
2151
+ /**
2152
+ * Returns an object containing the chart files for the latest matching version.
2153
+ */
2154
+ 200: MarketplaceListingFiles;
2155
+ };
2156
+ export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
2157
+ export type PostMcpData = {
2158
+ /**
2159
+ * JSON-RPC 2.0 request payload
2160
+ */
2161
+ body: {
2162
+ jsonrpc?: string;
2163
+ method?: string;
2164
+ id?: string | number;
2165
+ /**
2166
+ * Method-specific parameters
1631
2167
  */
1632
- listing_id: string;
2168
+ params?: {
2169
+ [key: string]: unknown;
2170
+ };
1633
2171
  };
2172
+ path?: never;
1634
2173
  query?: never;
1635
- url: '/marketplace/{listing_id}';
2174
+ url: '/mcp';
1636
2175
  };
1637
- export type GetMarketplaceChartResponses = {
2176
+ export type PostMcpErrors = {
1638
2177
  /**
1639
- * Returns an object containing the chart listing details.
2178
+ * Not authenticated
2179
+ */
2180
+ 401: unknown;
2181
+ };
2182
+ export type PostMcpResponses = {
2183
+ /**
2184
+ * JSON-RPC 2.0 success or error response
1640
2185
  */
1641
- 200: MarketplaceListing;
2186
+ 200: {
2187
+ jsonrpc?: string;
2188
+ id?: string | number;
2189
+ result?: {
2190
+ [key: string]: unknown;
2191
+ };
2192
+ error?: {
2193
+ code?: number;
2194
+ message?: string;
2195
+ };
2196
+ };
1642
2197
  };
1643
- export type GetMarketplaceChartResponse = GetMarketplaceChartResponses[keyof GetMarketplaceChartResponses];
2198
+ export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
1644
2199
  export type GetOrganizationData = {
1645
2200
  body?: never;
1646
2201
  path?: never;
@@ -1662,10 +2217,255 @@ export type CreateOrganizationData = {
1662
2217
  };
1663
2218
  export type CreateOrganizationResponses = {
1664
2219
  /**
1665
- * Successfully created a new organization.
2220
+ * Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
2221
+ *
2222
+ */
2223
+ 200: OrganizationCreateOutput;
2224
+ };
2225
+ export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
2226
+ export type ListRepositoriesData = {
2227
+ body?: never;
2228
+ path?: never;
2229
+ query?: never;
2230
+ url: '/registry';
2231
+ };
2232
+ export type ListRepositoriesErrors = {
2233
+ /**
2234
+ * Not authenticated
2235
+ */
2236
+ 401: unknown;
2237
+ /**
2238
+ * Internal server error
2239
+ */
2240
+ 500: unknown;
2241
+ };
2242
+ export type ListRepositoriesResponses = {
2243
+ /**
2244
+ * List of repositories
2245
+ */
2246
+ 200: Array<RegistryRepository>;
2247
+ };
2248
+ export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
2249
+ export type ListTagsData = {
2250
+ body?: never;
2251
+ path: {
2252
+ /**
2253
+ * Region where the repository is located
2254
+ */
2255
+ region: string;
2256
+ /**
2257
+ * Name of the repository
2258
+ */
2259
+ repository: string;
2260
+ };
2261
+ query?: never;
2262
+ url: '/registry/{region}/{repository}';
2263
+ };
2264
+ export type ListTagsErrors = {
2265
+ /**
2266
+ * Not authenticated
2267
+ */
2268
+ 401: unknown;
2269
+ /**
2270
+ * Repository not found
2271
+ */
2272
+ 404: unknown;
2273
+ /**
2274
+ * Internal server error
2275
+ */
2276
+ 500: unknown;
2277
+ };
2278
+ export type ListTagsResponses = {
2279
+ /**
2280
+ * Repository with tags
2281
+ */
2282
+ 200: RegistryRepositoryWithTags;
2283
+ };
2284
+ export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
2285
+ export type DeleteTagData = {
2286
+ body?: never;
2287
+ path: {
2288
+ /**
2289
+ * Region where the repository is located
2290
+ */
2291
+ region: string;
2292
+ /**
2293
+ * Name of the repository
2294
+ */
2295
+ repository: string;
2296
+ /**
2297
+ * Name of the tag
2298
+ */
2299
+ tag: string;
2300
+ };
2301
+ query?: never;
2302
+ url: '/registry/{region}/{repository}/{tag}';
2303
+ };
2304
+ export type DeleteTagErrors = {
2305
+ /**
2306
+ * Not authenticated
2307
+ */
2308
+ 401: unknown;
2309
+ /**
2310
+ * Tag not found
2311
+ */
2312
+ 404: unknown;
2313
+ /**
2314
+ * Internal server error
2315
+ */
2316
+ 500: unknown;
2317
+ };
2318
+ export type DeleteTagResponses = {
2319
+ /**
2320
+ * Tag successfully deleted
1666
2321
  */
1667
2322
  200: unknown;
1668
2323
  };
2324
+ export type GetTagData = {
2325
+ body?: never;
2326
+ path: {
2327
+ /**
2328
+ * Region where the repository is located
2329
+ */
2330
+ region: string;
2331
+ /**
2332
+ * Name of the repository
2333
+ */
2334
+ repository: string;
2335
+ /**
2336
+ * Name of the tag
2337
+ */
2338
+ tag: string;
2339
+ };
2340
+ query?: never;
2341
+ url: '/registry/{region}/{repository}/{tag}';
2342
+ };
2343
+ export type GetTagErrors = {
2344
+ /**
2345
+ * Not authenticated
2346
+ */
2347
+ 401: unknown;
2348
+ /**
2349
+ * Tag not found
2350
+ */
2351
+ 404: unknown;
2352
+ /**
2353
+ * Internal server error
2354
+ */
2355
+ 500: unknown;
2356
+ };
2357
+ export type GetTagResponses = {
2358
+ /**
2359
+ * Tag details
2360
+ */
2361
+ 200: RegistryTag;
2362
+ };
2363
+ export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
2364
+ export type ListTicketsData = {
2365
+ body?: never;
2366
+ path?: never;
2367
+ query?: never;
2368
+ url: '/tickets';
2369
+ };
2370
+ export type ListTicketsResponses = {
2371
+ /**
2372
+ * Tickets for the organization.
2373
+ */
2374
+ 200: TicketListResponse;
2375
+ };
2376
+ export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
2377
+ export type CreateTicketData = {
2378
+ body: {
2379
+ /**
2380
+ * JSON-encoded TicketCreateInput.
2381
+ */
2382
+ payload?: string;
2383
+ attachments?: Array<Blob | File>;
2384
+ };
2385
+ path?: never;
2386
+ query?: never;
2387
+ url: '/tickets';
2388
+ };
2389
+ export type CreateTicketResponses = {
2390
+ /**
2391
+ * Ticket created.
2392
+ */
2393
+ 200: Ticket;
2394
+ };
2395
+ export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
2396
+ export type CloseTicketData = {
2397
+ body?: never;
2398
+ path: {
2399
+ ticket_id: string;
2400
+ };
2401
+ query?: never;
2402
+ url: '/tickets/{ticket_id}';
2403
+ };
2404
+ export type CloseTicketResponses = {
2405
+ /**
2406
+ * Ticket closed.
2407
+ */
2408
+ 200: Ticket;
2409
+ };
2410
+ export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
2411
+ export type GetTicketData = {
2412
+ body?: never;
2413
+ path: {
2414
+ ticket_id: string;
2415
+ };
2416
+ query?: never;
2417
+ url: '/tickets/{ticket_id}';
2418
+ };
2419
+ export type GetTicketResponses = {
2420
+ /**
2421
+ * Ticket with messages (internal notes excluded).
2422
+ */
2423
+ 200: Ticket;
2424
+ };
2425
+ export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
2426
+ export type ReplyTicketData = {
2427
+ body: {
2428
+ /**
2429
+ * JSON-encoded TicketMessageInput.
2430
+ */
2431
+ payload?: string;
2432
+ attachments?: Array<Blob | File>;
2433
+ };
2434
+ path: {
2435
+ ticket_id: string;
2436
+ };
2437
+ query?: never;
2438
+ url: '/tickets/{ticket_id}/messages';
2439
+ };
2440
+ export type ReplyTicketErrors = {
2441
+ /**
2442
+ * Ticket is closed. Open a new ticket instead.
2443
+ */
2444
+ 409: unknown;
2445
+ };
2446
+ export type ReplyTicketResponses = {
2447
+ /**
2448
+ * Reply appended.
2449
+ */
2450
+ 200: TicketMessage;
2451
+ };
2452
+ export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
2453
+ export type GetTicketAttachmentData = {
2454
+ body?: never;
2455
+ path: {
2456
+ ticket_id: string;
2457
+ attachment_id: string;
2458
+ };
2459
+ query?: never;
2460
+ url: '/tickets/{ticket_id}/attachments/{attachment_id}';
2461
+ };
2462
+ export type GetTicketAttachmentResponses = {
2463
+ /**
2464
+ * Attachment binary stream.
2465
+ */
2466
+ 200: Blob | File;
2467
+ };
2468
+ export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
1669
2469
  export type ListTokensData = {
1670
2470
  body?: never;
1671
2471
  path?: never;
@@ -1922,7 +2722,4 @@ export type UpdateUserResponses = {
1922
2722
  200: User;
1923
2723
  };
1924
2724
  export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
1925
- export type ClientOptions = {
1926
- baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
1927
- };
1928
2725
  //# sourceMappingURL=types.gen.d.ts.map