@cloudfleet/sdk 0.0.1-08e325d → 0.0.1-092d0b4

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 (93) 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 +8 -7
  10. package/dist/client/index.d.ts.map +1 -1
  11. package/dist/client/index.js +6 -4
  12. package/dist/client/index.js.map +1 -1
  13. package/dist/client/{types.d.ts → types.gen.d.ts} +23 -22
  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.d.ts → utils.gen.d.ts} +15 -23
  18. package/dist/client/utils.gen.d.ts.map +1 -0
  19. package/dist/client/{utils.js → utils.gen.js} +63 -119
  20. package/dist/client/utils.gen.js.map +1 -0
  21. package/dist/client.gen.d.ts +3 -3
  22. package/dist/client.gen.d.ts.map +1 -1
  23. package/dist/client.gen.js +1 -3
  24. package/dist/client.gen.js.map +1 -1
  25. package/dist/core/{auth.d.ts → auth.gen.d.ts} +1 -1
  26. package/dist/core/auth.gen.d.ts.map +1 -0
  27. package/dist/core/{auth.js → auth.gen.js} +2 -1
  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.js → bodySerializer.gen.js} +6 -2
  32. package/dist/core/bodySerializer.gen.js.map +1 -0
  33. package/dist/core/{params.d.ts → params.gen.d.ts} +21 -1
  34. package/dist/core/params.gen.d.ts.map +1 -0
  35. package/dist/core/{params.js → params.gen.js} +20 -7
  36. package/dist/core/params.gen.js.map +1 -0
  37. package/dist/core/{pathSerializer.d.ts → pathSerializer.gen.d.ts} +1 -1
  38. package/dist/core/pathSerializer.gen.d.ts.map +1 -0
  39. package/dist/core/{pathSerializer.js → pathSerializer.gen.js} +5 -12
  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.d.ts → types.gen.d.ts} +21 -16
  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 +1346 -589
  58. package/dist/schemas.gen.d.ts.map +1 -1
  59. package/dist/schemas.gen.js +2664 -693
  60. package/dist/schemas.gen.js.map +1 -1
  61. package/dist/sdk.gen.d.ts +155 -31
  62. package/dist/sdk.gen.d.ts.map +1 -1
  63. package/dist/sdk.gen.js +244 -173
  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 +1247 -446
  67. package/dist/types.gen.d.ts.map +1 -1
  68. package/dist/zod.gen.d.ts +3467 -3604
  69. package/dist/zod.gen.d.ts.map +1 -1
  70. package/dist/zod.gen.js +1214 -1090
  71. package/dist/zod.gen.js.map +1 -1
  72. package/package.json +29 -6
  73. package/dist/client/client.d.ts +0 -3
  74. package/dist/client/client.d.ts.map +0 -1
  75. package/dist/client/client.js +0 -144
  76. package/dist/client/client.js.map +0 -1
  77. package/dist/client/types.d.ts.map +0 -1
  78. package/dist/client/types.js +0 -2
  79. package/dist/client/types.js.map +0 -1
  80. package/dist/client/utils.d.ts.map +0 -1
  81. package/dist/client/utils.js.map +0 -1
  82. package/dist/core/auth.d.ts.map +0 -1
  83. package/dist/core/auth.js.map +0 -1
  84. package/dist/core/bodySerializer.d.ts +0 -18
  85. package/dist/core/bodySerializer.d.ts.map +0 -1
  86. package/dist/core/bodySerializer.js.map +0 -1
  87. package/dist/core/params.d.ts.map +0 -1
  88. package/dist/core/params.js.map +0 -1
  89. package/dist/core/pathSerializer.d.ts.map +0 -1
  90. package/dist/core/pathSerializer.js.map +0 -1
  91. package/dist/core/types.d.ts.map +0 -1
  92. package/dist/core/types.js +0 -2
  93. package/dist/core/types.js.map +0 -1
@@ -1,4 +1,11 @@
1
+ export type ClientOptions = {
2
+ baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
3
+ };
1
4
  export type BillingContact = {
5
+ /**
6
+ * Type of the organization. `business` for legal entities, `personal` for individuals.
7
+ */
8
+ type: 'business' | 'personal';
2
9
  /**
3
10
  * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
4
11
  */
@@ -36,13 +43,9 @@ export type BillingContact = {
36
43
  */
37
44
  email: string;
38
45
  /**
39
- * First name of the billing contact person.
40
- */
41
- first_name: string;
42
- /**
43
- * Last name of the billing contact person.
46
+ * Name of the billing contact person.
44
47
  */
45
- last_name: string;
48
+ individual_name: string;
46
49
  /**
47
50
  * Tax ID of the organization.
48
51
  */
@@ -58,35 +61,31 @@ export type BillingCredits = {
58
61
  */
59
62
  id?: string;
60
63
  /**
61
- * Date of the credit application. ISO 8601 date string in the UTC timezone.
62
- */
63
- date_created: string;
64
- /**
65
- * Promotional code used by the customer.
64
+ * Type of the promotional code.
66
65
  */
67
- code: string;
66
+ type: 'credit' | 'discount';
68
67
  /**
69
- * Description of the promotional code.
68
+ * Timestamp when the credit becomes active. ISO 8601 date string in the UTC timezone.
70
69
  */
71
- description?: string;
70
+ date_start: string;
72
71
  /**
73
- * List of product SKUs that the promotional code can be used on.
72
+ * Timestamp when the credit expires or becomes inactive. ISO 8601 date string in the UTC timezone.
74
73
  */
75
- products?: Array<string>;
74
+ date_end?: string;
76
75
  /**
77
- * Type of the promotional code.
76
+ * Promotional code used by the customer.
78
77
  */
79
- type: 'credit' | 'discount';
78
+ code: string;
80
79
  /**
81
- * Value of the promotional code.
80
+ * Description of the promotional code.
82
81
  */
83
- value: number;
82
+ description?: string;
84
83
  /**
85
- * Date of the billing cycle. An ISO 8601 date string in the UTC timezone.
84
+ * Total value of the promotional code.
86
85
  */
87
- billing_period: string;
86
+ value_total: number;
88
87
  /**
89
- * Value of the promotional code.
88
+ * Remaining value of the promotional code.
90
89
  */
91
90
  value_remaining?: number;
92
91
  };
@@ -134,9 +133,9 @@ export type Chart = {
134
133
  */
135
134
  chart: string;
136
135
  /**
137
- * Status of the chart deployment.
136
+ * Status of the chart deployment (Flux HelmRelease Ready condition reason, e.g. InstallSucceeded, UpgradeFailed, Progressing).
138
137
  */
139
- status: 'InstallSucceeded' | 'InstallFailed' | 'UpgradeSucceeded' | 'UpgradeFailed' | 'TestSucceeded' | 'TestFailed' | 'RollbackSucceeded' | 'RollbackFailed' | 'UninstallSucceeded' | 'UninstallFailed' | 'ArtifactFailed' | 'DependencyNotReady' | 'Progressing' | 'SourceNotReady';
138
+ status: string;
140
139
  /**
141
140
  * Current version of the chart deployment.
142
141
  */
@@ -174,9 +173,9 @@ export type ClusterCreateInput = {
174
173
  */
175
174
  tier: 'basic' | 'pro';
176
175
  /**
177
- * Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a". This field can not be updated after creation.
176
+ * Cloudfleet control plane region. This field can not be updated after creation.
178
177
  */
179
- region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a';
178
+ region: string;
180
179
  /**
181
180
  * Version of the kubernetes cluster.
182
181
  */
@@ -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
  */
@@ -248,13 +255,9 @@ export type Cluster = {
248
255
  */
249
256
  tier: 'basic' | 'pro';
250
257
  /**
251
- * Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a". This field can not be updated after creation.
252
- */
253
- region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a';
254
- /**
255
- * Version of the kubernetes cluster.
258
+ * Cloudfleet control plane region. This field can not be updated after creation.
256
259
  */
257
- version_channel?: string;
260
+ region: string;
258
261
  /**
259
262
  * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
260
263
  */
@@ -262,8 +265,9 @@ export type Cluster = {
262
265
  /**
263
266
  * Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.
264
267
  */
265
- status: 'active' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
268
+ status: 'active' | 'disabled' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
266
269
  endpoint?: string | '';
270
+ endpoint_public?: string | '';
267
271
  /**
268
272
  * Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
269
273
  */
@@ -284,6 +288,10 @@ export type Cluster = {
284
288
  * Indicates if the cluster is ready to be used.
285
289
  */
286
290
  ready?: boolean;
291
+ /**
292
+ * Version of the kubernetes cluster.
293
+ */
294
+ version_channel?: string;
287
295
  };
288
296
  export type ClusterUpdateInput = {
289
297
  /**
@@ -305,31 +313,56 @@ export type FleetCreateInput = {
305
313
  */
306
314
  limits?: {
307
315
  /**
308
- * CPU limit in cores.
316
+ * CPU limit in cores. Maximum 100,000.
309
317
  */
310
- cpu: number;
318
+ cpu?: number;
311
319
  };
312
320
  gcp?: {
313
- enabled?: boolean;
321
+ enabled: boolean;
314
322
  /**
315
- * 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.
316
324
  */
317
- project: string;
325
+ project?: string;
318
326
  };
319
327
  hetzner?: {
320
- enabled?: boolean;
328
+ enabled: boolean;
321
329
  /**
322
- * Hetzner Cloud API key with read / write access
330
+ * Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
323
331
  */
324
- apiKey: string;
332
+ apiKey?: string;
325
333
  };
326
334
  aws?: {
327
- enabled?: boolean;
335
+ enabled: boolean;
336
+ /**
337
+ * AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
338
+ */
339
+ controllerRoleArn?: string;
340
+ };
341
+ /**
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.
343
+ */
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'>;
328
353
  /**
329
- * ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.
354
+ * Allowed values for `cfke.io/instance-family`.
330
355
  */
331
- controllerRoleArn: string;
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'>;
332
361
  };
362
+ /**
363
+ * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
364
+ */
365
+ scalingProfile?: 'aggressive' | 'conservative';
333
366
  /**
334
367
  * Unique identifier of the kubernetes fleet.
335
368
  */
@@ -341,31 +374,56 @@ export type Fleet = {
341
374
  */
342
375
  limits?: {
343
376
  /**
344
- * CPU limit in cores.
377
+ * CPU limit in cores. Maximum 100,000.
345
378
  */
346
- cpu: number;
379
+ cpu?: number;
347
380
  };
348
381
  gcp?: {
349
- enabled?: boolean;
382
+ enabled: boolean;
350
383
  /**
351
- * 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.
352
385
  */
353
- project: string;
386
+ project?: string;
354
387
  };
355
388
  hetzner?: {
356
- enabled?: boolean;
389
+ enabled: boolean;
357
390
  /**
358
- * Hetzner Cloud API key with read / write access
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.
359
392
  */
360
- apiKey: string;
393
+ apiKey?: string;
361
394
  };
362
395
  aws?: {
363
- enabled?: boolean;
396
+ enabled: boolean;
397
+ /**
398
+ * AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
399
+ */
400
+ controllerRoleArn?: string;
401
+ };
402
+ /**
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.
404
+ */
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'>;
364
418
  /**
365
- * ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.
419
+ * Allowed values for `topology.kubernetes.io/region`.
366
420
  */
367
- controllerRoleArn: string;
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'>;
368
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
428
  * Unique identifier of the kubernetes fleet.
371
429
  */
@@ -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;
450
+ enabled: boolean;
393
451
  /**
394
- * Hetzner Cloud API key with read / write access
452
+ * Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
395
453
  */
396
- apiKey: string;
454
+ apiKey?: string;
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'>;
400
471
  /**
401
- * ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.
472
+ * Allowed values for `kubernetes.io/arch`.
402
473
  */
403
- controllerRoleArn: string;
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'>;
479
+ /**
480
+ * Allowed values for `topology.kubernetes.io/region`.
481
+ */
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
605
+ * Application version
626
606
  */
627
- endDate?: string;
607
+ appVersion?: string;
628
608
  /**
629
- * Amount of the invoice item
609
+ * Helm API version
630
610
  */
631
- amount?: number;
611
+ apiVersion?: string;
632
612
  /**
633
- * Rate of the invoice item
613
+ * Chart keywords
634
614
  */
635
- rate?: number;
615
+ keywords?: Array<string>;
636
616
  /**
637
- * Currency of the invoice item
617
+ * Chart home URL
638
618
  */
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';
619
+ home?: string;
640
620
  /**
641
- * Quantity of the invoice item
621
+ * A URL to an SVG or PNG image to be used as an icon
642
622
  */
643
- quantity?: number;
623
+ icon?: string;
644
624
  /**
645
- * Details of the invoice item
625
+ * Chart source URLs
646
626
  */
647
- itemDetails?: string;
627
+ sources?: Array<string>;
648
628
  /**
649
- * Effective date of the catalog
629
+ * Chart maintainers
650
630
  */
651
- catalogEffectiveDate?: string;
652
- /**
653
- * Child items of the invoice item
654
- */
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
  */
@@ -782,113 +734,630 @@ export type Organization = {
782
734
  */
783
735
  label: string;
784
736
  }>;
737
+ /**
738
+ * Organization-level maximum CFCR storage volume in GB. -1 means no limit.
739
+ */
740
+ cfcr_storage_gb: number;
785
741
  };
786
742
  /**
787
743
  * Status of the organization. Can be `active` or `closed`, or `suspended`.
788
744
  */
789
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';
790
750
  };
791
751
  export type PaymentMethod = {
792
752
  /**
793
- * 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.
794
754
  */
795
755
  id: string;
796
756
  /**
797
- * Whether organization payment method was set up and ready to use for payments.
757
+ * Payment method type. `card`, `sepa_debit` for SEPA Direct Debit (business accounts only), or `bank_transfer` for paying invoices by bank transfer.
798
758
  */
799
- setup: boolean;
759
+ type: 'card' | 'sepa_debit' | 'bank_transfer';
800
760
  /**
801
- * Payment method type type. Only `card` payments supported at the moment.
802
- */
803
- type: 'card';
804
- /**
805
- * 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.
806
762
  */
807
763
  last4: string;
808
764
  /**
809
- * 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.
810
766
  */
811
767
  exp_month: number;
812
768
  /**
813
- * 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.
814
770
  */
815
771
  exp_year: number;
816
772
  /**
817
- * 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.
818
774
  */
819
- brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
820
- };
821
- export type TokenCreateInput = {
775
+ brand: string;
822
776
  /**
823
- * 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.
824
778
  */
825
- name: string;
779
+ iban: string;
826
780
  /**
827
- * Role assumed by the token.
781
+ * BIC/SWIFT of the destination bank for bank transfers. Set only for `bank_transfer`; null otherwise.
828
782
  */
829
- role: 'Administrator' | 'User';
830
- };
831
- export type Token = {
783
+ bic: string;
832
784
  /**
833
- * Human readable access token name.
785
+ * Account holder name of the destination bank account for bank transfers. Set only for `bank_transfer`; null otherwise.
834
786
  */
835
- name: string;
787
+ account_holder_name: string;
836
788
  /**
837
- * 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).
838
790
  */
839
- role: 'Administrator' | 'User';
791
+ is_default: boolean;
792
+ };
793
+ export type PlatformQuota = {
840
794
  /**
841
- * Generated unique identifier of the access token.
795
+ * Maximum number of Basic clusters that can be created.
842
796
  */
843
- id?: string;
797
+ basic_clusters_max: number;
844
798
  /**
845
- * Access token secret. Unmasked only during creation.
799
+ * Available number of Basic clusters that can be created.
846
800
  */
847
- secret?: string;
801
+ basic_clusters_available: number;
848
802
  /**
849
- * Creation date of the access token. ISO 8601 date string in UTC timezone
803
+ * Maximum number of Pro clusters that can be created.
850
804
  */
851
- date_created: string;
852
- };
853
- export type TokenUpdateInput = {
805
+ pro_clusters_max: number;
854
806
  /**
855
- * Human readable access token name.
807
+ * Available number of Pro clusters that can be created.
856
808
  */
857
- name?: string;
809
+ pro_clusters_available: number;
858
810
  /**
859
- * Role assumed by the token.
811
+ * Maximum number of fleets that can be created per cluster.
860
812
  */
861
- role?: 'Administrator' | 'User';
862
- };
863
- export type Usage = {
813
+ fleets_max: number;
864
814
  /**
865
- * Hour of the usage
815
+ * List of Cloudfleet cluster tiers available for the organization.
866
816
  */
867
- hour?: string;
817
+ cluster_tiers: Array<string>;
868
818
  /**
869
- * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
819
+ * List of Cloudfleet control plane regions available for the organization.
870
820
  */
871
- cluster_id: string;
821
+ regions: Array<string>;
872
822
  /**
873
- * Tier of the cluster.
823
+ * List of CFKE control plane versions available for the organization.
874
824
  */
875
- cluster_tier: 'basic' | 'pro' | '';
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
+ }>;
876
835
  /**
877
- * The product the usage is associated with
836
+ * Organization-level maximum CFCR storage volume in GB. -1 means no limit.
878
837
  */
879
- product: 'cfke_controlplane' | 'cfke_connected_nodes' | 'infra_compute' | 'infra_storage' | 'infra_loadbalancing' | 'infra_traffic' | 'cfcr_storage';
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';
1259
+ /**
1260
+ * Generated unique identifier of the access token.
1261
+ */
1262
+ id?: string;
1263
+ /**
1264
+ * Access token secret. Unmasked only during creation.
1265
+ */
1266
+ secret?: string;
1267
+ /**
1268
+ * Creation date of the access token. ISO 8601 date string in UTC timezone
1269
+ */
1270
+ date_created: string;
1271
+ };
1272
+ export type TokenUpdateInput = {
1273
+ /**
1274
+ * Human readable access token name.
1275
+ */
1276
+ name?: string;
1277
+ /**
1278
+ * Role assumed by the token.
1279
+ */
1280
+ role?: 'Administrator' | 'User';
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
+ }>;
880
1322
  /**
881
- * Name of the Kubernetes node
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
+ };
1336
+ export type Usage = {
1337
+ /**
1338
+ * Hour of the usage
1339
+ */
1340
+ hour: string;
1341
+ /**
1342
+ * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
1343
+ */
1344
+ cluster_id: string;
1345
+ /**
1346
+ * The product the usage is associated with
882
1347
  */
883
- node_name: string;
1348
+ product: string;
884
1349
  /**
885
- * SKU of the Kubernetes node
1350
+ * Consumption
886
1351
  */
887
- sku: string;
888
- cpu: number | '';
889
- price: number | '';
890
- value: number | '';
891
- total: number | '';
1352
+ value: number;
1353
+ /**
1354
+ * Price per unit
1355
+ */
1356
+ price: number;
1357
+ /**
1358
+ * Total cost
1359
+ */
1360
+ total: number;
892
1361
  };
893
1362
  export type UserCreateInput = {
894
1363
  /**
@@ -911,14 +1380,6 @@ export type UserCreateInput = {
911
1380
  * User password. Must be at least 8 characters long.
912
1381
  */
913
1382
  password: string;
914
- /**
915
- * Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.
916
- */
917
- status?: 'active' | 'inactive';
918
- /**
919
- * User role. Can be 'Administrator', 'User'.
920
- */
921
- role?: 'Administrator' | 'User';
922
1383
  };
923
1384
  export type User = {
924
1385
  /**
@@ -975,86 +1436,137 @@ export type UserUpdateInput = {
975
1436
  export type GetUsageData = {
976
1437
  body?: never;
977
1438
  path?: never;
978
- 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
+ };
979
1445
  url: '/billing/usage';
980
1446
  };
981
- export type GetUsageErrors = {
1447
+ export type GetUsageErrors = {
1448
+ /**
1449
+ * Not authenticated
1450
+ */
1451
+ 401: unknown;
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;
982
1514
  /**
983
1515
  * Not authenticated
984
1516
  */
985
1517
  401: unknown;
986
- };
987
- export type GetUsageResponses = {
988
1518
  /**
989
- * An array of usage records.
1519
+ * Payment method not found.
990
1520
  */
991
- 200: Array<Usage>;
992
- };
993
- export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
994
- export type GetBalanceData = {
995
- body?: never;
996
- path?: never;
997
- query?: never;
998
- url: '/billing/balance';
1521
+ 404: unknown;
999
1522
  };
1000
- export type GetBalanceResponses = {
1523
+ export type SetDefaultPaymentMethodResponses = {
1001
1524
  /**
1002
- * Current balance of the organization in USD as a floating-point number.
1525
+ * Default payment method updated.
1003
1526
  */
1004
- 200: number;
1527
+ 204: void;
1005
1528
  };
1006
- export type GetBalanceResponse = GetBalanceResponses[keyof GetBalanceResponses];
1007
- export type GetPaymentMethodData = {
1529
+ export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
1530
+ export type DeletePaymentMethodData = {
1008
1531
  body?: never;
1009
- path?: never;
1532
+ path: {
1533
+ /**
1534
+ * Stripe payment method identifier.
1535
+ */
1536
+ paymentMethodId: string;
1537
+ };
1010
1538
  query?: never;
1011
- url: '/billing/payment-method';
1539
+ url: '/billing/payment-methods/{paymentMethodId}';
1012
1540
  };
1013
- 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;
1014
1550
  /**
1015
- * Returns 404 Not Found if the organization does not have a payment method set up.
1551
+ * Payment method not found.
1016
1552
  */
1017
1553
  404: unknown;
1018
- };
1019
- export type GetPaymentMethodResponses = {
1020
1554
  /**
1021
- * Redacted payment card information.
1555
+ * Cannot delete the only remaining payment method.
1022
1556
  */
1023
- 200: PaymentMethod;
1024
- };
1025
- export type GetPaymentMethodResponse = GetPaymentMethodResponses[keyof GetPaymentMethodResponses];
1026
- export type GetPaymentMethodSecretData = {
1027
- body?: never;
1028
- path?: never;
1029
- query?: never;
1030
- url: '/billing/payment-method';
1557
+ 409: unknown;
1031
1558
  };
1032
- export type GetPaymentMethodSecretResponses = {
1559
+ export type DeletePaymentMethodResponses = {
1033
1560
  /**
1034
- * The client secret. Used for client-side retrieval using a publishable key. The client secret can be used to complete a payment from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret.
1035
- *
1561
+ * Payment method deleted.
1036
1562
  */
1037
- 200: {
1038
- /**
1039
- * The client secret.
1040
- */
1041
- id?: string;
1042
- };
1563
+ 204: void;
1043
1564
  };
1044
- export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
1565
+ export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
1045
1566
  export type ListInvoicesData = {
1046
1567
  body?: never;
1047
1568
  path?: never;
1048
- query: {
1049
- /**
1050
- * Start date for the usage. Date of oldest data point to retrieve.
1051
- */
1052
- start_date: string;
1053
- /**
1054
- * End date for the usage. Date of newest data point to retrieve.
1055
- */
1056
- end_date: string;
1057
- };
1569
+ query?: never;
1058
1570
  url: '/billing/invoices';
1059
1571
  };
1060
1572
  export type ListInvoicesErrors = {
@@ -1070,26 +1582,6 @@ export type ListInvoicesResponses = {
1070
1582
  200: Array<Invoice>;
1071
1583
  };
1072
1584
  export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
1073
- export type GetInvoiceData = {
1074
- body?: never;
1075
- path: {
1076
- /**
1077
- * Unique invoice identifier. UUID v4 string in canonical form
1078
- */
1079
- id: string;
1080
- };
1081
- query?: never;
1082
- url: '/billing/invoices/{id}';
1083
- };
1084
- export type GetInvoiceResponses = {
1085
- /**
1086
- * Returns a single Invoice HTML representation under `html` property.
1087
- */
1088
- 200: {
1089
- html?: string;
1090
- };
1091
- };
1092
- export type GetInvoiceResponse = GetInvoiceResponses[keyof GetInvoiceResponses];
1093
1585
  export type GetContactData = {
1094
1586
  body?: never;
1095
1587
  path?: never;
@@ -1461,9 +1953,20 @@ export type DeleteClusterData = {
1461
1953
  query?: never;
1462
1954
  url: '/clusters/{cluster_id}';
1463
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
+ };
1464
1967
  export type DeleteClusterResponses = {
1465
1968
  /**
1466
- * Successfully deleted.
1969
+ * Successfully deleted. The cluster has been torn down.
1467
1970
  */
1468
1971
  200: string;
1469
1972
  };
@@ -1548,12 +2051,7 @@ export type ListInvitesResponses = {
1548
2051
  };
1549
2052
  export type ListInvitesResponse = ListInvitesResponses[keyof ListInvitesResponses];
1550
2053
  export type CreateInviteData = {
1551
- body: {
1552
- /**
1553
- * User email address
1554
- */
1555
- email?: string;
1556
- };
2054
+ body: InviteCreateInput;
1557
2055
  path?: never;
1558
2056
  query?: never;
1559
2057
  url: '/invites';
@@ -1578,9 +2076,18 @@ export type GetInviteData = {
1578
2076
  };
1579
2077
  export type GetInviteResponses = {
1580
2078
  /**
1581
- * Returns a single object containing invite details.
2079
+ * The invitation code is valid. Returns the invited email and organization.
1582
2080
  */
1583
- 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
+ };
1584
2091
  };
1585
2092
  export type GetInviteResponse = GetInviteResponses[keyof GetInviteResponses];
1586
2093
  export type DeleteInviteData = {
@@ -1619,24 +2126,76 @@ export type ListMarketplaceChartsResponses = {
1619
2126
  200: Array<MarketplaceListing>;
1620
2127
  };
1621
2128
  export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
1622
- export type GetMarketplaceChartData = {
2129
+ export type GetMarketplaceChartFilesData = {
1623
2130
  body?: never;
1624
2131
  path: {
1625
2132
  /**
1626
- * 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
1627
2167
  */
1628
- listing_id: string;
2168
+ params?: {
2169
+ [key: string]: unknown;
2170
+ };
1629
2171
  };
2172
+ path?: never;
1630
2173
  query?: never;
1631
- url: '/marketplace/{listing_id}';
2174
+ url: '/mcp';
1632
2175
  };
1633
- export type GetMarketplaceChartResponses = {
2176
+ export type PostMcpErrors = {
1634
2177
  /**
1635
- * 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
1636
2185
  */
1637
- 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
+ };
1638
2197
  };
1639
- export type GetMarketplaceChartResponse = GetMarketplaceChartResponses[keyof GetMarketplaceChartResponses];
2198
+ export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
1640
2199
  export type GetOrganizationData = {
1641
2200
  body?: never;
1642
2201
  path?: never;
@@ -1658,10 +2217,255 @@ export type CreateOrganizationData = {
1658
2217
  };
1659
2218
  export type CreateOrganizationResponses = {
1660
2219
  /**
1661
- * 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
1662
2321
  */
1663
2322
  200: unknown;
1664
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];
1665
2469
  export type ListTokensData = {
1666
2470
  body?: never;
1667
2471
  path?: never;
@@ -1918,7 +2722,4 @@ export type UpdateUserResponses = {
1918
2722
  200: User;
1919
2723
  };
1920
2724
  export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
1921
- export type ClientOptions = {
1922
- baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
1923
- };
1924
2725
  //# sourceMappingURL=types.gen.d.ts.map