@cloudfleet/sdk 0.0.1-f1d40ff → 0.0.1-f367cfd

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 +1156 -0
  2. package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
  3. package/dist/@tanstack/react-query.gen.js +1148 -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 +1212 -558
  58. package/dist/schemas.gen.d.ts.map +1 -1
  59. package/dist/schemas.gen.js +2507 -652
  60. package/dist/schemas.gen.js.map +1 -1
  61. package/dist/sdk.gen.d.ts +137 -20
  62. package/dist/sdk.gen.d.ts.map +1 -1
  63. package/dist/sdk.gen.js +226 -164
  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 +1029 -334
  67. package/dist/types.gen.d.ts.map +1 -1
  68. package/dist/zod.gen.d.ts +3453 -3572
  69. package/dist/zod.gen.d.ts.map +1 -1
  70. package/dist/zod.gen.js +1162 -1037
  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,3 +1,6 @@
1
+ export type ClientOptions = {
2
+ baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
3
+ };
1
4
  export type BillingContact = {
2
5
  /**
3
6
  * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
@@ -36,13 +39,9 @@ export type BillingContact = {
36
39
  */
37
40
  email: string;
38
41
  /**
39
- * First name of the billing contact person.
40
- */
41
- first_name: string;
42
- /**
43
- * Last name of the billing contact person.
42
+ * Name of the billing contact person.
44
43
  */
45
- last_name: string;
44
+ individual_name: string;
46
45
  /**
47
46
  * Tax ID of the organization.
48
47
  */
@@ -58,35 +57,31 @@ export type BillingCredits = {
58
57
  */
59
58
  id?: string;
60
59
  /**
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.
60
+ * Type of the promotional code.
66
61
  */
67
- code: string;
62
+ type: 'credit' | 'discount';
68
63
  /**
69
- * Description of the promotional code.
64
+ * Timestamp when the credit becomes active. ISO 8601 date string in the UTC timezone.
70
65
  */
71
- description?: string;
66
+ date_start: string;
72
67
  /**
73
- * List of product SKUs that the promotional code can be used on.
68
+ * Timestamp when the credit expires or becomes inactive. ISO 8601 date string in the UTC timezone.
74
69
  */
75
- products?: Array<string>;
70
+ date_end?: string;
76
71
  /**
77
- * Type of the promotional code.
72
+ * Promotional code used by the customer.
78
73
  */
79
- type: 'credit' | 'discount';
74
+ code: string;
80
75
  /**
81
- * Value of the promotional code.
76
+ * Description of the promotional code.
82
77
  */
83
- value: number;
78
+ description?: string;
84
79
  /**
85
- * Date of the billing cycle. An ISO 8601 date string in the UTC timezone.
80
+ * Total value of the promotional code.
86
81
  */
87
- billing_period: string;
82
+ value_total: number;
88
83
  /**
89
- * Value of the promotional code.
84
+ * Remaining value of the promotional code.
90
85
  */
91
86
  value_remaining?: number;
92
87
  };
@@ -174,13 +169,13 @@ export type ClusterCreateInput = {
174
169
  */
175
170
  tier: 'basic' | 'pro';
176
171
  /**
177
- * Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a". This field can not be updated after creation.
172
+ * Cloudfleet control plane region. One of "staging-1a", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
178
173
  */
179
- region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a';
174
+ region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
180
175
  /**
181
176
  * Version of the kubernetes cluster.
182
177
  */
183
- version_channel?: string;
178
+ version_channel?: '1.x.x-cfke.x' | '1.31.x-cfke.x' | '1.32.x-cfke.x' | '1.33.x-cfke.x';
184
179
  };
185
180
  export type ClusterJoinInformation = {
186
181
  /**
@@ -191,6 +186,10 @@ export type ClusterJoinInformation = {
191
186
  * Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.
192
187
  */
193
188
  endpoint: string;
189
+ /**
190
+ * Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.
191
+ */
192
+ cluster_dns: string;
194
193
  /**
195
194
  * Authentication key for the cluster.
196
195
  */
@@ -248,13 +247,9 @@ export type Cluster = {
248
247
  */
249
248
  tier: 'basic' | 'pro';
250
249
  /**
251
- * Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a". This field can not be updated after creation.
250
+ * Cloudfleet control plane region. One of "staging-1a", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
252
251
  */
253
- region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a';
254
- /**
255
- * Version of the kubernetes cluster.
256
- */
257
- version_channel?: string;
252
+ region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
258
253
  /**
259
254
  * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
260
255
  */
@@ -262,7 +257,7 @@ export type Cluster = {
262
257
  /**
263
258
  * Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.
264
259
  */
265
- status: 'active' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
260
+ status: 'active' | 'disabled' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
266
261
  endpoint?: string | '';
267
262
  /**
268
263
  * Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
@@ -284,6 +279,10 @@ export type Cluster = {
284
279
  * Indicates if the cluster is ready to be used.
285
280
  */
286
281
  ready?: boolean;
282
+ /**
283
+ * Version of the kubernetes cluster.
284
+ */
285
+ version_channel?: string;
287
286
  };
288
287
  export type ClusterUpdateInput = {
289
288
  /**
@@ -307,7 +306,7 @@ export type FleetCreateInput = {
307
306
  /**
308
307
  * CPU limit in cores.
309
308
  */
310
- cpu: number;
309
+ cpu?: number;
311
310
  };
312
311
  gcp?: {
313
312
  enabled?: boolean;
@@ -319,9 +318,9 @@ export type FleetCreateInput = {
319
318
  hetzner?: {
320
319
  enabled?: boolean;
321
320
  /**
322
- * Hetzner Cloud API key with read / write access
321
+ * Hetzner Cloud API key with read / write access. On update, omit this field to keep the existing value.
323
322
  */
324
- apiKey: string;
323
+ apiKey?: string;
325
324
  };
326
325
  aws?: {
327
326
  enabled?: boolean;
@@ -330,6 +329,31 @@ export type FleetCreateInput = {
330
329
  */
331
330
  controllerRoleArn: string;
332
331
  };
332
+ /**
333
+ * 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.
334
+ */
335
+ constraints?: {
336
+ /**
337
+ * Allowed values for `karpenter.sh/capacity-type`.
338
+ */
339
+ 'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
340
+ /**
341
+ * Allowed values for `kubernetes.io/arch`.
342
+ */
343
+ 'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
344
+ /**
345
+ * Allowed values for `cfke.io/instance-family`.
346
+ */
347
+ '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'>;
348
+ /**
349
+ * Allowed values for `topology.kubernetes.io/region`.
350
+ */
351
+ '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'>;
352
+ };
353
+ /**
354
+ * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
355
+ */
356
+ scalingProfile?: 'aggressive' | 'conservative';
333
357
  /**
334
358
  * Unique identifier of the kubernetes fleet.
335
359
  */
@@ -343,7 +367,7 @@ export type Fleet = {
343
367
  /**
344
368
  * CPU limit in cores.
345
369
  */
346
- cpu: number;
370
+ cpu?: number;
347
371
  };
348
372
  gcp?: {
349
373
  enabled?: boolean;
@@ -355,9 +379,9 @@ export type Fleet = {
355
379
  hetzner?: {
356
380
  enabled?: boolean;
357
381
  /**
358
- * Hetzner Cloud API key with read / write access
382
+ * Hetzner Cloud API key with read / write access. On update, omit this field to keep the existing value.
359
383
  */
360
- apiKey: string;
384
+ apiKey?: string;
361
385
  };
362
386
  aws?: {
363
387
  enabled?: boolean;
@@ -366,6 +390,31 @@ export type Fleet = {
366
390
  */
367
391
  controllerRoleArn: string;
368
392
  };
393
+ /**
394
+ * 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.
395
+ */
396
+ constraints?: {
397
+ /**
398
+ * Allowed values for `karpenter.sh/capacity-type`.
399
+ */
400
+ 'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
401
+ /**
402
+ * Allowed values for `kubernetes.io/arch`.
403
+ */
404
+ 'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
405
+ /**
406
+ * Allowed values for `cfke.io/instance-family`.
407
+ */
408
+ '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'>;
409
+ /**
410
+ * Allowed values for `topology.kubernetes.io/region`.
411
+ */
412
+ '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'>;
413
+ };
414
+ /**
415
+ * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
416
+ */
417
+ scalingProfile?: 'aggressive' | 'conservative';
369
418
  /**
370
419
  * Unique identifier of the kubernetes fleet.
371
420
  */
@@ -379,7 +428,7 @@ export type FleetUpdateInput = {
379
428
  /**
380
429
  * CPU limit in cores.
381
430
  */
382
- cpu: number;
431
+ cpu?: number;
383
432
  };
384
433
  gcp?: {
385
434
  enabled?: boolean;
@@ -391,9 +440,9 @@ export type FleetUpdateInput = {
391
440
  hetzner?: {
392
441
  enabled?: boolean;
393
442
  /**
394
- * Hetzner Cloud API key with read / write access
443
+ * Hetzner Cloud API key with read / write access. On update, omit this field to keep the existing value.
395
444
  */
396
- apiKey: string;
445
+ apiKey?: string;
397
446
  };
398
447
  aws?: {
399
448
  enabled?: boolean;
@@ -402,6 +451,31 @@ export type FleetUpdateInput = {
402
451
  */
403
452
  controllerRoleArn: string;
404
453
  };
454
+ /**
455
+ * 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.
456
+ */
457
+ constraints?: {
458
+ /**
459
+ * Allowed values for `karpenter.sh/capacity-type`.
460
+ */
461
+ 'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
462
+ /**
463
+ * Allowed values for `kubernetes.io/arch`.
464
+ */
465
+ 'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
466
+ /**
467
+ * Allowed values for `cfke.io/instance-family`.
468
+ */
469
+ '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'>;
470
+ /**
471
+ * Allowed values for `topology.kubernetes.io/region`.
472
+ */
473
+ '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'>;
474
+ };
475
+ /**
476
+ * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
477
+ */
478
+ scalingProfile?: 'aggressive' | 'conservative';
405
479
  };
406
480
  export type Invite = {
407
481
  /**
@@ -427,396 +501,688 @@ export type Invite = {
427
501
  };
428
502
  export type Invoice = {
429
503
  /**
430
- * Unique identifier of the invoice. UUID v4 string in canonical form
504
+ * Unique identifier of the invoice.
431
505
  */
432
506
  id?: string;
433
- /**
434
- * Unique identifier of the organization. UUID v4 string in canonical form
435
- */
436
- organizationId?: string;
507
+ number?: string;
437
508
  /**
438
509
  * Status of the invoice
439
510
  */
440
- status?: 'DRAFT' | 'COMMITTED' | 'VOID';
511
+ status?: string;
441
512
  /**
442
513
  * Total amount of the invoice
443
514
  */
444
- amount?: number;
515
+ total?: number;
445
516
  /**
446
517
  * Currency of the invoice
447
518
  */
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';
519
+ currency?: string;
449
520
  /**
450
- * Total amount of credit adjustments
521
+ * Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
451
522
  */
452
- creditAdj?: number;
523
+ created: string;
453
524
  /**
454
- * Total amount of refund adjustments
525
+ * Billing period start timestamp. ISO 8601 date string in the UTC timezone.
455
526
  */
456
- refundAdj?: number;
527
+ period_start: string;
457
528
  /**
458
- * Date of the invoice
529
+ * Billing period end timestamp. ISO 8601 date string in the UTC timezone.
459
530
  */
460
- invoiceDate?: string;
531
+ period_end: string;
532
+ invoice_pdf?: string;
533
+ };
534
+ export type MarketplaceListingFiles = {
461
535
  /**
462
- * Target date of the invoice
536
+ * Raw Chart.yaml content from the Helm chart
463
537
  */
464
- targetDate?: string;
538
+ chartYaml?: string;
465
539
  /**
466
- * Number of the invoice
540
+ * Raw values.yaml content from the Helm chart
467
541
  */
468
- invoiceNumber?: string;
542
+ valuesYaml?: string;
469
543
  /**
470
- * Balance of the invoice
544
+ * JSON schema for values.yaml as a string
471
545
  */
472
- balance?: number;
546
+ valuesSchemaJson?: string;
547
+ };
548
+ export type MarketplaceListing = {
549
+ /**
550
+ * Name of the chart
551
+ */
552
+ name: string;
473
553
  /**
474
- * Bundle keys of the invoice
554
+ * Available versions of the chart
475
555
  */
476
- bundleKeys?: string;
556
+ versions: Array<string>;
557
+ /**
558
+ * Version channels for the chart
559
+ */
560
+ version_channels: Array<string>;
477
561
  /**
478
- * Credits of the invoice
562
+ * Latest version of the chart
479
563
  */
480
- credits?: Array<{
564
+ latestVersion: string;
565
+ /**
566
+ * Chart metadata
567
+ */
568
+ metadata?: {
481
569
  /**
482
- * Unique identifier of the invoice item. UUID v4 string in canonical form
570
+ * Chart name from metadata
483
571
  */
484
- id?: string;
572
+ name: string;
485
573
  /**
486
- * Unique identifier of the linked invoice item. UUID v4 string in canonical form
574
+ * Chart version from metadata
487
575
  */
488
- linkedInvoiceItemId?: string;
576
+ version: string;
489
577
  /**
490
- * Name of the product
578
+ * Chart description
491
579
  */
492
- productName?: string;
580
+ description?: string;
493
581
  /**
494
- * Name of the plan
582
+ * Application version
495
583
  */
496
- planName?: string;
584
+ appVersion?: string;
497
585
  /**
498
- * Name of the phase
586
+ * Helm API version
499
587
  */
500
- phaseName?: string;
588
+ apiVersion?: string;
501
589
  /**
502
- * Name of the usage
590
+ * Chart keywords
503
591
  */
504
- usageName?: string;
592
+ keywords?: Array<string>;
505
593
  /**
506
- * Pretty name of the product
594
+ * Chart home URL
507
595
  */
508
- prettyProductName?: string;
596
+ home?: string;
509
597
  /**
510
- * Pretty name of the plan
598
+ * A URL to an SVG or PNG image to be used as an icon
511
599
  */
512
- prettyPlanName?: string;
600
+ icon?: string;
513
601
  /**
514
- * Pretty name of the phase
602
+ * Chart source URLs
515
603
  */
516
- prettyPhaseName?: string;
604
+ sources?: Array<string>;
517
605
  /**
518
- * Pretty name of the usage
606
+ * Chart maintainers
519
607
  */
520
- prettyUsageName?: string;
608
+ maintainers?: Array<{
609
+ /**
610
+ * Maintainer name
611
+ */
612
+ name: string;
613
+ /**
614
+ * Maintainer email
615
+ */
616
+ email?: string;
617
+ }>;
618
+ };
619
+ };
620
+ export type OrganizationCreateInput = {
621
+ /**
622
+ * Email address used for billing as a string.
623
+ */
624
+ email: string;
625
+ /**
626
+ * First name of the billing contact person.
627
+ */
628
+ first_name: string;
629
+ /**
630
+ * Last name of the billing contact person.
631
+ */
632
+ last_name: string;
633
+ /**
634
+ * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
635
+ */
636
+ company_name: string;
637
+ /**
638
+ * Password for the root account. Must be at least 8 characters long and contain at least one uppercase letter, one lowercase letter, one number and one special character.
639
+ */
640
+ password: string;
641
+ };
642
+ export type Organization = {
643
+ /**
644
+ * Unique identifier of the organization. UUID v4 string in canonical form
645
+ */
646
+ id: string;
647
+ /**
648
+ * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
649
+ */
650
+ name?: string;
651
+ /**
652
+ * Creation date of the organization. ISO 8601 date string in UTC timezone
653
+ */
654
+ date_created: string;
655
+ /**
656
+ * For security reasons, platform quota is controlled by Cloudfleet and can be updated only by Cloudfleet administrators. Please open a support ticket if you need to change the platform quota.
657
+ */
658
+ quota: {
521
659
  /**
522
- * Type of the invoice item
660
+ * Maximum number of Basic clusters that can be created.
523
661
  */
524
- itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
662
+ basic_clusters_max: number;
525
663
  /**
526
- * Description of the invoice item
664
+ * Available number of Basic clusters that can be created.
527
665
  */
528
- description?: string;
666
+ basic_clusters_available: number;
529
667
  /**
530
- * Start date of the invoice item
668
+ * Maximum number of Pro clusters that can be created.
531
669
  */
532
- startDate?: string;
670
+ pro_clusters_max: number;
533
671
  /**
534
- * End date of the invoice item
672
+ * Available number of Pro clusters that can be created.
535
673
  */
536
- endDate?: string;
674
+ pro_clusters_available: number;
537
675
  /**
538
- * Amount of the invoice item
676
+ * Maximum number of fleets that can be created per cluster.
539
677
  */
540
- amount?: number;
678
+ fleets_max: number;
541
679
  /**
542
- * Rate of the invoice item
680
+ * List of Cloudfleet cluster tiers available for the organization.
543
681
  */
544
- rate?: number;
682
+ cluster_tiers: Array<string>;
545
683
  /**
546
- * Currency of the invoice item
684
+ * List of Cloudfleet control plane regions available for the organization.
547
685
  */
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';
686
+ regions: Array<string>;
549
687
  /**
550
- * Quantity of the invoice item
688
+ * List of CFKE control plane versions available for the organization.
551
689
  */
552
- quantity?: number;
690
+ versions: Array<{
691
+ /**
692
+ * Id of the control plane version. Used in API calls.
693
+ */
694
+ id: string;
695
+ /**
696
+ * Label of the control plane version. Used in frontent UI.
697
+ */
698
+ label: string;
699
+ }>;
553
700
  /**
554
- * Details of the invoice item
701
+ * Organization-level maximum CFCR storage volume in GB. -1 means no limit.
555
702
  */
556
- itemDetails?: string;
703
+ cfcr_storage_gb: number;
704
+ };
705
+ /**
706
+ * Status of the organization. Can be `active` or `closed`, or `suspended`.
707
+ */
708
+ status: 'active' | 'closed' | 'suspended';
709
+ };
710
+ export type PaymentMethod = {
711
+ /**
712
+ * Unique identifier of the organization. UUID v4 string in canonical form.
713
+ */
714
+ id: string;
715
+ /**
716
+ * Whether organization payment method was set up and ready to use for payments.
717
+ */
718
+ setup: boolean;
719
+ /**
720
+ * Payment method type type. Only `card` payments supported at the moment.
721
+ */
722
+ type: 'card';
723
+ /**
724
+ * Last 4 digits of the payment card number.
725
+ */
726
+ last4: string;
727
+ /**
728
+ * Two-digit number representing the card's expiration month.
729
+ */
730
+ exp_month: number;
731
+ /**
732
+ * Four-digit number representing the card's expiration year.
733
+ */
734
+ exp_year: number;
735
+ /**
736
+ * Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
737
+ */
738
+ brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
739
+ };
740
+ export type PlatformQuota = {
741
+ /**
742
+ * Maximum number of Basic clusters that can be created.
743
+ */
744
+ basic_clusters_max: number;
745
+ /**
746
+ * Available number of Basic clusters that can be created.
747
+ */
748
+ basic_clusters_available: number;
749
+ /**
750
+ * Maximum number of Pro clusters that can be created.
751
+ */
752
+ pro_clusters_max: number;
753
+ /**
754
+ * Available number of Pro clusters that can be created.
755
+ */
756
+ pro_clusters_available: number;
757
+ /**
758
+ * Maximum number of fleets that can be created per cluster.
759
+ */
760
+ fleets_max: number;
761
+ /**
762
+ * List of Cloudfleet cluster tiers available for the organization.
763
+ */
764
+ cluster_tiers: Array<string>;
765
+ /**
766
+ * List of Cloudfleet control plane regions available for the organization.
767
+ */
768
+ regions: Array<string>;
769
+ /**
770
+ * List of CFKE control plane versions available for the organization.
771
+ */
772
+ versions: Array<{
557
773
  /**
558
- * Effective date of the catalog
774
+ * Id of the control plane version. Used in API calls.
559
775
  */
560
- catalogEffectiveDate?: string;
776
+ id: string;
561
777
  /**
562
- * Child items of the invoice item
778
+ * Label of the control plane version. Used in frontent UI.
563
779
  */
564
- childItems?: Array<Array<unknown> | boolean | number | {
565
- [key: string]: unknown;
566
- } | string>;
780
+ label: string;
567
781
  }>;
568
782
  /**
569
- * Items of the invoice
783
+ * Organization-level maximum CFCR storage volume in GB. -1 means no limit.
570
784
  */
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;
785
+ cfcr_storage_gb: number;
786
+ };
787
+ export type RegistryRepository = {
788
+ /**
789
+ * Repository name.
790
+ */
791
+ name: string;
792
+ /**
793
+ * Registry region.
794
+ */
795
+ region: string;
796
+ /**
797
+ * Full URI of the repository.
798
+ */
799
+ uri: string;
800
+ };
801
+ export type RegistryRepositoryWithTags = {
802
+ /**
803
+ * Repository name.
804
+ */
805
+ name: string;
806
+ /**
807
+ * Registry region.
808
+ */
809
+ region: string;
810
+ /**
811
+ * Full URI of the repository.
812
+ */
813
+ uri: string;
814
+ /**
815
+ * Array of tags in the repository.
816
+ */
817
+ tags: Array<{
580
818
  /**
581
- * Name of the product
819
+ * Tag name.
582
820
  */
583
- productName?: string;
821
+ name: string;
584
822
  /**
585
- * Name of the plan
823
+ * Size of the tag in bytes.
586
824
  */
587
- planName?: string;
825
+ size: number;
588
826
  /**
589
- * Name of the phase
827
+ * Media type of the manifest.
590
828
  */
591
- phaseName?: string;
829
+ mediaType?: string;
592
830
  /**
593
- * Name of the usage
831
+ * Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).
594
832
  */
595
- usageName?: string;
833
+ platforms?: Array<string>;
834
+ }>;
835
+ /**
836
+ * Total size of all tags in the repository in bytes.
837
+ */
838
+ totalSize: number;
839
+ };
840
+ export type RegistryTag = {
841
+ /**
842
+ * Tag name.
843
+ */
844
+ name: string;
845
+ /**
846
+ * Manifest digest for pulling by digest.
847
+ */
848
+ digest: string;
849
+ /**
850
+ * Media type of the manifest.
851
+ */
852
+ mediaType?: string;
853
+ /**
854
+ * Manifest config metadata.
855
+ */
856
+ config?: {
596
857
  /**
597
- * Pretty name of the product
858
+ * Size of the config in bytes.
598
859
  */
599
- prettyProductName?: string;
860
+ size: number;
861
+ };
862
+ /**
863
+ * Array of layer metadata.
864
+ */
865
+ layers?: Array<{
600
866
  /**
601
- * Pretty name of the plan
867
+ * Digest of the layer.
602
868
  */
603
- prettyPlanName?: string;
869
+ digest?: string;
604
870
  /**
605
- * Pretty name of the phase
871
+ * Size of the layer in bytes.
606
872
  */
607
- prettyPhaseName?: string;
873
+ size: number;
874
+ }>;
875
+ /**
876
+ * Array of manifests for multi-arch images.
877
+ */
878
+ manifests?: Array<{
608
879
  /**
609
- * Pretty name of the usage
880
+ * Digest of the manifest.
610
881
  */
611
- prettyUsageName?: string;
882
+ digest: string;
612
883
  /**
613
- * Type of the invoice item
884
+ * Platform information for the manifest.
614
885
  */
615
- itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
886
+ platform?: {
887
+ /**
888
+ * Architecture of the platform.
889
+ */
890
+ architecture: string;
891
+ /**
892
+ * Operating system of the platform.
893
+ */
894
+ os: string;
895
+ /**
896
+ * Variant of the platform (e.g., v7, v8 for ARM).
897
+ */
898
+ variant?: string;
899
+ };
616
900
  /**
617
- * Description of the invoice item
901
+ * Layers for this platform.
618
902
  */
619
- description?: string;
903
+ layers?: Array<{
904
+ /**
905
+ * Digest of the layer.
906
+ */
907
+ digest?: string;
908
+ /**
909
+ * Size of the layer in bytes.
910
+ */
911
+ size: number;
912
+ }>;
620
913
  /**
621
- * Start date of the invoice item
914
+ * Total size of this platform manifest in bytes.
622
915
  */
623
- startDate?: string;
916
+ size?: number;
917
+ }>;
918
+ /**
919
+ * Total size of the tag in bytes.
920
+ */
921
+ size: number;
922
+ /**
923
+ * Registry region.
924
+ */
925
+ region: string;
926
+ /**
927
+ * Repository name.
928
+ */
929
+ repository: string;
930
+ /**
931
+ * Full URI of the tag.
932
+ */
933
+ uri: string;
934
+ };
935
+ export type TicketAttachment = {
936
+ /**
937
+ * Unique identifier of the attachment (Mongo ObjectId).
938
+ */
939
+ id: string;
940
+ /**
941
+ * Original filename as uploaded.
942
+ */
943
+ filename: string;
944
+ /**
945
+ * MIME content type of the attachment.
946
+ */
947
+ content_type: string;
948
+ /**
949
+ * Size of the attachment in bytes.
950
+ */
951
+ size: number;
952
+ };
953
+ export type TicketCreateInput = {
954
+ /**
955
+ * Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.
956
+ */
957
+ category: 'billing' | 'technical' | 'general';
958
+ /**
959
+ * Initial message body in markdown. There is no separate subject — the first message body is the description.
960
+ */
961
+ body: string;
962
+ /**
963
+ * Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).
964
+ */
965
+ properties?: {
966
+ [key: string]: unknown;
967
+ };
968
+ };
969
+ export type TicketListResponse = {
970
+ /**
971
+ * Tickets for the organization, ordered newest first. Messages are omitted from list responses.
972
+ */
973
+ items: Array<{
624
974
  /**
625
- * End date of the invoice item
975
+ * Unique identifier of the ticket (Mongo ObjectId).
626
976
  */
627
- endDate?: string;
977
+ id: string;
628
978
  /**
629
- * Amount of the invoice item
979
+ * Current state of the ticket.
630
980
  */
631
- amount?: number;
981
+ status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
632
982
  /**
633
- * Rate of the invoice item
983
+ * Ticket category.
634
984
  */
635
- rate?: number;
985
+ category: 'billing' | 'technical' | 'general';
636
986
  /**
637
- * Currency of the invoice item
987
+ * First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
638
988
  */
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';
989
+ summary: string;
640
990
  /**
641
- * Quantity of the invoice item
991
+ * Closure timestamp. Null while the ticket is open.
642
992
  */
643
- quantity?: number;
993
+ closed_at?: string;
644
994
  /**
645
- * Details of the invoice item
995
+ * Creation date of the ticket. ISO 8601 UTC.
646
996
  */
647
- itemDetails?: string;
997
+ date_created: string;
648
998
  /**
649
- * Effective date of the catalog
999
+ * Last update date of the ticket. ISO 8601 UTC.
650
1000
  */
651
- catalogEffectiveDate?: string;
1001
+ date_updated: string;
652
1002
  /**
653
- * Child items of the invoice item
1003
+ * Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
654
1004
  */
655
- childItems?: Array<Array<unknown> | boolean | number | {
656
- [key: string]: unknown;
657
- } | string>;
1005
+ messages?: Array<{
1006
+ /**
1007
+ * Unique identifier of the message (Mongo ObjectId).
1008
+ */
1009
+ id: string;
1010
+ /**
1011
+ * Message type. Internal notes are filtered out of customer-facing responses.
1012
+ */
1013
+ type: 'customer_reply' | 'agent_reply';
1014
+ /**
1015
+ * Message body in markdown.
1016
+ */
1017
+ body: string;
1018
+ /**
1019
+ * First name of the author. Null when not provided.
1020
+ */
1021
+ author_first_name?: string;
1022
+ /**
1023
+ * Last name of the author. Null when not provided.
1024
+ */
1025
+ author_last_name?: string;
1026
+ /**
1027
+ * Attachments associated with this message.
1028
+ */
1029
+ attachments?: Array<{
1030
+ /**
1031
+ * Unique identifier of the attachment (Mongo ObjectId).
1032
+ */
1033
+ id: string;
1034
+ /**
1035
+ * Original filename as uploaded.
1036
+ */
1037
+ filename: string;
1038
+ /**
1039
+ * MIME content type of the attachment.
1040
+ */
1041
+ content_type: string;
1042
+ /**
1043
+ * Size of the attachment in bytes.
1044
+ */
1045
+ size: number;
1046
+ }>;
1047
+ /**
1048
+ * Creation date of the message. ISO 8601 UTC.
1049
+ */
1050
+ date_created: string;
1051
+ }>;
658
1052
  }>;
659
1053
  };
660
- export type MarketplaceListing = {
1054
+ export type TicketMessageInput = {
661
1055
  /**
662
- * Id of the chart listing
1056
+ * Reply body in markdown.
663
1057
  */
664
- id: string;
1058
+ body: string;
1059
+ };
1060
+ export type TicketMessage = {
665
1061
  /**
666
- * Name of the chart listing
1062
+ * Unique identifier of the message (Mongo ObjectId).
667
1063
  */
668
- name: string;
1064
+ id: string;
669
1065
  /**
670
- * Author of the chart listing
1066
+ * Message type. Internal notes are filtered out of customer-facing responses.
671
1067
  */
672
- developer: string;
1068
+ type: 'customer_reply' | 'agent_reply';
673
1069
  /**
674
- * Short description of the chart listing
1070
+ * Message body in markdown.
675
1071
  */
676
- description: string;
1072
+ body: string;
677
1073
  /**
678
- * Logo of the chart listing
1074
+ * First name of the author. Null when not provided.
679
1075
  */
680
- logoUrl: string;
1076
+ author_first_name?: string;
681
1077
  /**
682
- * Long description of the chart listing
1078
+ * Last name of the author. Null when not provided.
683
1079
  */
684
- longDescription: string;
1080
+ author_last_name?: string;
685
1081
  /**
686
- * Tags of the chart
1082
+ * Attachments associated with this message.
687
1083
  */
688
- categories: Array<string>;
689
- version_channels: Array<string>;
690
- value_schemas: Array<{
1084
+ attachments?: Array<{
691
1085
  /**
692
- * Version of the chart.
1086
+ * Unique identifier of the attachment (Mongo ObjectId).
693
1087
  */
694
- version: string;
1088
+ id: string;
695
1089
  /**
696
- * Schema of the chart values. JSON Schema as string
1090
+ * Original filename as uploaded.
697
1091
  */
698
- schema: string;
1092
+ filename: string;
699
1093
  /**
700
- * Schema of the chart values
1094
+ * MIME content type of the attachment.
701
1095
  */
702
- placeholder: string;
1096
+ content_type: string;
1097
+ /**
1098
+ * Size of the attachment in bytes.
1099
+ */
1100
+ size: number;
703
1101
  }>;
704
- };
705
- export type OrganizationCreateInput = {
706
1102
  /**
707
- * Email address used for billing as a string.
1103
+ * Creation date of the message. ISO 8601 UTC.
708
1104
  */
709
- email: string;
1105
+ date_created: string;
1106
+ };
1107
+ export type Ticket = {
710
1108
  /**
711
- * First name of the billing contact person.
1109
+ * Unique identifier of the ticket (Mongo ObjectId).
712
1110
  */
713
- first_name: string;
1111
+ id: string;
714
1112
  /**
715
- * Last name of the billing contact person.
1113
+ * Current state of the ticket.
716
1114
  */
717
- last_name: string;
1115
+ status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
718
1116
  /**
719
- * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
1117
+ * Ticket category.
720
1118
  */
721
- company_name: string;
1119
+ category: 'billing' | 'technical' | 'general';
722
1120
  /**
723
- * Password for the root account. Must be at least 8 characters long and contain at least one uppercase letter, one lowercase letter, one number and one special character.
1121
+ * First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
724
1122
  */
725
- password: string;
726
- };
727
- export type Organization = {
1123
+ summary: string;
728
1124
  /**
729
- * Unique identifier of the organization. UUID v4 string in canonical form
1125
+ * Closure timestamp. Null while the ticket is open.
730
1126
  */
731
- id: string;
1127
+ closed_at?: string;
732
1128
  /**
733
- * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
1129
+ * Creation date of the ticket. ISO 8601 UTC.
734
1130
  */
735
- name?: string;
1131
+ date_created: string;
736
1132
  /**
737
- * Creation date of the organization. ISO 8601 date string in UTC timezone
1133
+ * Last update date of the ticket. ISO 8601 UTC.
738
1134
  */
739
- date_created: string;
1135
+ date_updated: string;
740
1136
  /**
741
- * For security reasons, platform quota is controlled by Cloudfleet and can be updated only by Cloudfleet administrators. Please open a support ticket if you need to change the platform quota.
1137
+ * Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
742
1138
  */
743
- quota: {
1139
+ messages?: Array<{
744
1140
  /**
745
- * Maximum number of Basic clusters that can be created.
1141
+ * Unique identifier of the message (Mongo ObjectId).
746
1142
  */
747
- basic_clusters_max: number;
1143
+ id: string;
748
1144
  /**
749
- * Available number of Basic clusters that can be created.
1145
+ * Message type. Internal notes are filtered out of customer-facing responses.
750
1146
  */
751
- basic_clusters_available: number;
1147
+ type: 'customer_reply' | 'agent_reply';
752
1148
  /**
753
- * Maximum number of Pro clusters that can be created.
1149
+ * Message body in markdown.
754
1150
  */
755
- pro_clusters_max: number;
1151
+ body: string;
756
1152
  /**
757
- * Available number of Pro clusters that can be created.
1153
+ * First name of the author. Null when not provided.
758
1154
  */
759
- pro_clusters_available: number;
1155
+ author_first_name?: string;
760
1156
  /**
761
- * Maximum number of fleets that can be created per cluster.
1157
+ * Last name of the author. Null when not provided.
762
1158
  */
763
- fleets_max: number;
1159
+ author_last_name?: string;
764
1160
  /**
765
- * List of Cloudfleet cluster tiers available for the organization.
1161
+ * Attachments associated with this message.
766
1162
  */
767
- cluster_tiers: Array<string>;
768
- /**
769
- * List of Cloudfleet control plane regions available for the organization.
770
- */
771
- regions: Array<string>;
772
- /**
773
- * List of CFKE control plane versions available for the organization.
774
- */
775
- versions: Array<{
1163
+ attachments?: Array<{
776
1164
  /**
777
- * Id of the control plane version. Used in API calls.
1165
+ * Unique identifier of the attachment (Mongo ObjectId).
778
1166
  */
779
1167
  id: string;
780
1168
  /**
781
- * Label of the control plane version. Used in frontent UI.
1169
+ * Original filename as uploaded.
782
1170
  */
783
- label: string;
784
- }>;
785
- };
786
- /**
787
- * Status of the organization. Can be `active` or `closed`, or `suspended`.
788
- */
789
- status: 'active' | 'closed' | 'suspended';
790
- };
791
- export type PaymentMethod = {
792
- /**
793
- * Unique identifier of the organization. UUID v4 string in canonical form.
794
- */
795
- id: string;
796
- /**
797
- * Whether organization payment method was set up and ready to use for payments.
798
- */
799
- setup: boolean;
800
- /**
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.
806
- */
807
- last4: string;
808
- /**
809
- * Two-digit number representing the card's expiration month.
810
- */
811
- exp_month: number;
812
- /**
813
- * Four-digit number representing the card's expiration year.
814
- */
815
- exp_year: number;
816
- /**
817
- * Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
818
- */
819
- brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
1171
+ filename: string;
1172
+ /**
1173
+ * MIME content type of the attachment.
1174
+ */
1175
+ content_type: string;
1176
+ /**
1177
+ * Size of the attachment in bytes.
1178
+ */
1179
+ size: number;
1180
+ }>;
1181
+ /**
1182
+ * Creation date of the message. ISO 8601 UTC.
1183
+ */
1184
+ date_created: string;
1185
+ }>;
820
1186
  };
821
1187
  export type TokenCreateInput = {
822
1188
  /**
@@ -860,35 +1226,85 @@ export type TokenUpdateInput = {
860
1226
  */
861
1227
  role?: 'Administrator' | 'User';
862
1228
  };
1229
+ export type UsageFacets = {
1230
+ /**
1231
+ * List of unique cluster IDs
1232
+ */
1233
+ cluster_id?: Array<string>;
1234
+ /**
1235
+ * List of unique products
1236
+ */
1237
+ product?: Array<string>;
1238
+ };
1239
+ export type UsageResponse = {
1240
+ /**
1241
+ * Usage data
1242
+ */
1243
+ data: Array<{
1244
+ /**
1245
+ * Hour of the usage
1246
+ */
1247
+ hour: string;
1248
+ /**
1249
+ * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
1250
+ */
1251
+ cluster_id: string;
1252
+ /**
1253
+ * The product the usage is associated with
1254
+ */
1255
+ product: string;
1256
+ /**
1257
+ * Consumption
1258
+ */
1259
+ value: number;
1260
+ /**
1261
+ * Price per unit
1262
+ */
1263
+ price: number;
1264
+ /**
1265
+ * Total cost
1266
+ */
1267
+ total: number;
1268
+ }>;
1269
+ /**
1270
+ * Facets for filtering
1271
+ */
1272
+ facets: {
1273
+ /**
1274
+ * List of unique cluster IDs
1275
+ */
1276
+ cluster_id?: Array<string>;
1277
+ /**
1278
+ * List of unique products
1279
+ */
1280
+ product?: Array<string>;
1281
+ };
1282
+ };
863
1283
  export type Usage = {
864
1284
  /**
865
1285
  * Hour of the usage
866
1286
  */
867
- hour?: string;
1287
+ hour: string;
868
1288
  /**
869
1289
  * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
870
1290
  */
871
1291
  cluster_id: string;
872
1292
  /**
873
- * Tier of the cluster.
1293
+ * The product the usage is associated with
874
1294
  */
875
- cluster_tier: 'basic' | 'pro' | '';
1295
+ product: string;
876
1296
  /**
877
- * The product the usage is associated with
1297
+ * Consumption
878
1298
  */
879
- product: 'cfke_controlplane' | 'cfke_connected_nodes' | 'infra_compute' | 'infra_storage' | 'infra_loadbalancing' | 'infra_traffic' | 'cfcr_storage';
1299
+ value: number;
880
1300
  /**
881
- * Name of the Kubernetes node
1301
+ * Price per unit
882
1302
  */
883
- node_name: string;
1303
+ price: number;
884
1304
  /**
885
- * SKU of the Kubernetes node
1305
+ * Total cost
886
1306
  */
887
- sku: string;
888
- cpu: number | '';
889
- price: number | '';
890
- value: number | '';
891
- total: number | '';
1307
+ total: number;
892
1308
  };
893
1309
  export type UserCreateInput = {
894
1310
  /**
@@ -975,7 +1391,12 @@ export type UserUpdateInput = {
975
1391
  export type GetUsageData = {
976
1392
  body?: never;
977
1393
  path?: never;
978
- query?: never;
1394
+ query?: {
1395
+ /**
1396
+ * 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)
1397
+ */
1398
+ granularity?: 'hourly' | 'daily' | 'monthly';
1399
+ };
979
1400
  url: '/billing/usage';
980
1401
  };
981
1402
  export type GetUsageErrors = {
@@ -986,24 +1407,11 @@ export type GetUsageErrors = {
986
1407
  };
987
1408
  export type GetUsageResponses = {
988
1409
  /**
989
- * An array of usage records.
1410
+ * Usage data with facets for filtering
990
1411
  */
991
- 200: Array<Usage>;
1412
+ 200: UsageResponse;
992
1413
  };
993
1414
  export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
994
- export type GetBalanceData = {
995
- body?: never;
996
- path?: never;
997
- query?: never;
998
- url: '/billing/balance';
999
- };
1000
- export type GetBalanceResponses = {
1001
- /**
1002
- * Current balance of the organization in USD as a floating-point number.
1003
- */
1004
- 200: number;
1005
- };
1006
- export type GetBalanceResponse = GetBalanceResponses[keyof GetBalanceResponses];
1007
1415
  export type GetPaymentMethodData = {
1008
1416
  body?: never;
1009
1417
  path?: never;
@@ -1045,16 +1453,7 @@ export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[key
1045
1453
  export type ListInvoicesData = {
1046
1454
  body?: never;
1047
1455
  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
- };
1456
+ query?: never;
1058
1457
  url: '/billing/invoices';
1059
1458
  };
1060
1459
  export type ListInvoicesErrors = {
@@ -1070,26 +1469,6 @@ export type ListInvoicesResponses = {
1070
1469
  200: Array<Invoice>;
1071
1470
  };
1072
1471
  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
1472
  export type GetContactData = {
1094
1473
  body?: never;
1095
1474
  path?: never;
@@ -1504,6 +1883,30 @@ export type UpdateClusterResponses = {
1504
1883
  200: Cluster;
1505
1884
  };
1506
1885
  export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
1886
+ export type GetClusterCaData = {
1887
+ body?: never;
1888
+ path: {
1889
+ /**
1890
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1891
+ */
1892
+ cluster_id: string;
1893
+ };
1894
+ query?: never;
1895
+ url: '/clusters/{cluster_id}/ca';
1896
+ };
1897
+ export type GetClusterCaErrors = {
1898
+ /**
1899
+ * Cluster not found, or its certificate authority is not available yet.
1900
+ */
1901
+ 404: unknown;
1902
+ };
1903
+ export type GetClusterCaResponses = {
1904
+ /**
1905
+ * PEM-encoded certificate authority of the cluster.
1906
+ */
1907
+ 200: string;
1908
+ };
1909
+ export type GetClusterCaResponse = GetClusterCaResponses[keyof GetClusterCaResponses];
1507
1910
  export type GetJoinInformationData = {
1508
1911
  body?: never;
1509
1912
  path: {
@@ -1619,24 +2022,76 @@ export type ListMarketplaceChartsResponses = {
1619
2022
  200: Array<MarketplaceListing>;
1620
2023
  };
1621
2024
  export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
1622
- export type GetMarketplaceChartData = {
2025
+ export type GetMarketplaceChartFilesData = {
1623
2026
  body?: never;
1624
2027
  path: {
1625
2028
  /**
1626
- * Unique identifier of the chart listing in the marketplace.
2029
+ * Name of the chart in the marketplace.
2030
+ */
2031
+ chart_name: string;
2032
+ /**
2033
+ * 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).
2034
+ */
2035
+ version_channel: string;
2036
+ };
2037
+ query?: never;
2038
+ url: '/marketplace/{chart_name}/files/{version_channel}';
2039
+ };
2040
+ export type GetMarketplaceChartFilesErrors = {
2041
+ /**
2042
+ * Chart not found or no version matches the channel
2043
+ */
2044
+ 404: unknown;
2045
+ };
2046
+ export type GetMarketplaceChartFilesResponses = {
2047
+ /**
2048
+ * Returns an object containing the chart files for the latest matching version.
2049
+ */
2050
+ 200: MarketplaceListingFiles;
2051
+ };
2052
+ export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
2053
+ export type PostMcpData = {
2054
+ /**
2055
+ * JSON-RPC 2.0 request payload
2056
+ */
2057
+ body: {
2058
+ jsonrpc?: string;
2059
+ method?: string;
2060
+ id?: string | number;
2061
+ /**
2062
+ * Method-specific parameters
1627
2063
  */
1628
- listing_id: string;
2064
+ params?: {
2065
+ [key: string]: unknown;
2066
+ };
1629
2067
  };
2068
+ path?: never;
1630
2069
  query?: never;
1631
- url: '/marketplace/{listing_id}';
2070
+ url: '/mcp';
2071
+ };
2072
+ export type PostMcpErrors = {
2073
+ /**
2074
+ * Not authenticated
2075
+ */
2076
+ 401: unknown;
1632
2077
  };
1633
- export type GetMarketplaceChartResponses = {
2078
+ export type PostMcpResponses = {
1634
2079
  /**
1635
- * Returns an object containing the chart listing details.
2080
+ * JSON-RPC 2.0 success or error response
1636
2081
  */
1637
- 200: MarketplaceListing;
2082
+ 200: {
2083
+ jsonrpc?: string;
2084
+ id?: string | number;
2085
+ result?: {
2086
+ [key: string]: unknown;
2087
+ };
2088
+ error?: {
2089
+ code?: number;
2090
+ message?: string;
2091
+ };
2092
+ };
1638
2093
  };
1639
- export type GetMarketplaceChartResponse = GetMarketplaceChartResponses[keyof GetMarketplaceChartResponses];
2094
+ export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
1640
2095
  export type GetOrganizationData = {
1641
2096
  body?: never;
1642
2097
  path?: never;
@@ -1662,6 +2117,249 @@ export type CreateOrganizationResponses = {
1662
2117
  */
1663
2118
  200: unknown;
1664
2119
  };
2120
+ export type ListRepositoriesData = {
2121
+ body?: never;
2122
+ path?: never;
2123
+ query?: never;
2124
+ url: '/registry';
2125
+ };
2126
+ export type ListRepositoriesErrors = {
2127
+ /**
2128
+ * Not authenticated
2129
+ */
2130
+ 401: unknown;
2131
+ /**
2132
+ * Internal server error
2133
+ */
2134
+ 500: unknown;
2135
+ };
2136
+ export type ListRepositoriesResponses = {
2137
+ /**
2138
+ * List of repositories
2139
+ */
2140
+ 200: Array<RegistryRepository>;
2141
+ };
2142
+ export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
2143
+ export type ListTagsData = {
2144
+ body?: never;
2145
+ path: {
2146
+ /**
2147
+ * Region where the repository is located
2148
+ */
2149
+ region: string;
2150
+ /**
2151
+ * Name of the repository
2152
+ */
2153
+ repository: string;
2154
+ };
2155
+ query?: never;
2156
+ url: '/registry/{region}/{repository}';
2157
+ };
2158
+ export type ListTagsErrors = {
2159
+ /**
2160
+ * Not authenticated
2161
+ */
2162
+ 401: unknown;
2163
+ /**
2164
+ * Repository not found
2165
+ */
2166
+ 404: unknown;
2167
+ /**
2168
+ * Internal server error
2169
+ */
2170
+ 500: unknown;
2171
+ };
2172
+ export type ListTagsResponses = {
2173
+ /**
2174
+ * Repository with tags
2175
+ */
2176
+ 200: RegistryRepositoryWithTags;
2177
+ };
2178
+ export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
2179
+ export type DeleteTagData = {
2180
+ body?: never;
2181
+ path: {
2182
+ /**
2183
+ * Region where the repository is located
2184
+ */
2185
+ region: string;
2186
+ /**
2187
+ * Name of the repository
2188
+ */
2189
+ repository: string;
2190
+ /**
2191
+ * Name of the tag
2192
+ */
2193
+ tag: string;
2194
+ };
2195
+ query?: never;
2196
+ url: '/registry/{region}/{repository}/{tag}';
2197
+ };
2198
+ export type DeleteTagErrors = {
2199
+ /**
2200
+ * Not authenticated
2201
+ */
2202
+ 401: unknown;
2203
+ /**
2204
+ * Tag not found
2205
+ */
2206
+ 404: unknown;
2207
+ /**
2208
+ * Internal server error
2209
+ */
2210
+ 500: unknown;
2211
+ };
2212
+ export type DeleteTagResponses = {
2213
+ /**
2214
+ * Tag successfully deleted
2215
+ */
2216
+ 200: unknown;
2217
+ };
2218
+ export type GetTagData = {
2219
+ body?: never;
2220
+ path: {
2221
+ /**
2222
+ * Region where the repository is located
2223
+ */
2224
+ region: string;
2225
+ /**
2226
+ * Name of the repository
2227
+ */
2228
+ repository: string;
2229
+ /**
2230
+ * Name of the tag
2231
+ */
2232
+ tag: string;
2233
+ };
2234
+ query?: never;
2235
+ url: '/registry/{region}/{repository}/{tag}';
2236
+ };
2237
+ export type GetTagErrors = {
2238
+ /**
2239
+ * Not authenticated
2240
+ */
2241
+ 401: unknown;
2242
+ /**
2243
+ * Tag not found
2244
+ */
2245
+ 404: unknown;
2246
+ /**
2247
+ * Internal server error
2248
+ */
2249
+ 500: unknown;
2250
+ };
2251
+ export type GetTagResponses = {
2252
+ /**
2253
+ * Tag details
2254
+ */
2255
+ 200: RegistryTag;
2256
+ };
2257
+ export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
2258
+ export type ListTicketsData = {
2259
+ body?: never;
2260
+ path?: never;
2261
+ query?: never;
2262
+ url: '/tickets';
2263
+ };
2264
+ export type ListTicketsResponses = {
2265
+ /**
2266
+ * Tickets for the organization.
2267
+ */
2268
+ 200: TicketListResponse;
2269
+ };
2270
+ export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
2271
+ export type CreateTicketData = {
2272
+ body: {
2273
+ /**
2274
+ * JSON-encoded TicketCreateInput.
2275
+ */
2276
+ payload?: string;
2277
+ attachments?: Array<Blob | File>;
2278
+ };
2279
+ path?: never;
2280
+ query?: never;
2281
+ url: '/tickets';
2282
+ };
2283
+ export type CreateTicketResponses = {
2284
+ /**
2285
+ * Ticket created.
2286
+ */
2287
+ 200: Ticket;
2288
+ };
2289
+ export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
2290
+ export type CloseTicketData = {
2291
+ body?: never;
2292
+ path: {
2293
+ ticket_id: string;
2294
+ };
2295
+ query?: never;
2296
+ url: '/tickets/{ticket_id}';
2297
+ };
2298
+ export type CloseTicketResponses = {
2299
+ /**
2300
+ * Ticket closed.
2301
+ */
2302
+ 200: Ticket;
2303
+ };
2304
+ export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
2305
+ export type GetTicketData = {
2306
+ body?: never;
2307
+ path: {
2308
+ ticket_id: string;
2309
+ };
2310
+ query?: never;
2311
+ url: '/tickets/{ticket_id}';
2312
+ };
2313
+ export type GetTicketResponses = {
2314
+ /**
2315
+ * Ticket with messages (internal notes excluded).
2316
+ */
2317
+ 200: Ticket;
2318
+ };
2319
+ export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
2320
+ export type ReplyTicketData = {
2321
+ body: {
2322
+ /**
2323
+ * JSON-encoded TicketMessageInput.
2324
+ */
2325
+ payload?: string;
2326
+ attachments?: Array<Blob | File>;
2327
+ };
2328
+ path: {
2329
+ ticket_id: string;
2330
+ };
2331
+ query?: never;
2332
+ url: '/tickets/{ticket_id}/messages';
2333
+ };
2334
+ export type ReplyTicketErrors = {
2335
+ /**
2336
+ * Ticket is closed. Open a new ticket instead.
2337
+ */
2338
+ 409: unknown;
2339
+ };
2340
+ export type ReplyTicketResponses = {
2341
+ /**
2342
+ * Reply appended.
2343
+ */
2344
+ 200: TicketMessage;
2345
+ };
2346
+ export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
2347
+ export type GetTicketAttachmentData = {
2348
+ body?: never;
2349
+ path: {
2350
+ ticket_id: string;
2351
+ attachment_id: string;
2352
+ };
2353
+ query?: never;
2354
+ url: '/tickets/{ticket_id}/attachments/{attachment_id}';
2355
+ };
2356
+ export type GetTicketAttachmentResponses = {
2357
+ /**
2358
+ * Attachment binary stream.
2359
+ */
2360
+ 200: Blob | File;
2361
+ };
2362
+ export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
1665
2363
  export type ListTokensData = {
1666
2364
  body?: never;
1667
2365
  path?: never;
@@ -1918,7 +2616,4 @@ export type UpdateUserResponses = {
1918
2616
  200: User;
1919
2617
  };
1920
2618
  export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
1921
- export type ClientOptions = {
1922
- baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
1923
- };
1924
2619
  //# sourceMappingURL=types.gen.d.ts.map