@cloudfleet/sdk 0.0.1-90aedea → 0.0.1-95c9d9a

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 +1125 -0
  2. package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
  3. package/dist/@tanstack/react-query.gen.js +1129 -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} +11 -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} +16 -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 +130 -20
  62. package/dist/sdk.gen.d.ts.map +1 -1
  63. package/dist/sdk.gen.js +217 -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 +1007 -336
  67. package/dist/types.gen.d.ts.map +1 -1
  68. package/dist/zod.gen.d.ts +2723 -1940
  69. package/dist/zod.gen.d.ts.map +1 -1
  70. package/dist/zod.gen.js +1202 -1084
  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 -146
  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.
42
+ * Name of the billing contact person.
40
43
  */
41
- first_name: string;
42
- /**
43
- * Last name of the billing contact person.
44
- */
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,280 +501,121 @@ 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 = {
473
549
  /**
474
- * Bundle keys of the invoice
550
+ * Name of the chart
475
551
  */
476
- bundleKeys?: string;
552
+ name: string;
477
553
  /**
478
- * Credits of the invoice
554
+ * Available versions of the chart
479
555
  */
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
- }>;
556
+ versions: Array<string>;
568
557
  /**
569
- * Items of the invoice
558
+ * Version channels for the chart
570
559
  */
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;
560
+ version_channels: Array<string>;
561
+ /**
562
+ * Latest version of the chart
563
+ */
564
+ latestVersion: string;
565
+ /**
566
+ * Chart metadata
567
+ */
568
+ metadata?: {
608
569
  /**
609
- * Pretty name of the usage
570
+ * Chart name from metadata
610
571
  */
611
- prettyUsageName?: string;
572
+ name: string;
612
573
  /**
613
- * Type of the invoice item
574
+ * Chart version from metadata
614
575
  */
615
- itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
576
+ version: string;
616
577
  /**
617
- * Description of the invoice item
578
+ * Chart description
618
579
  */
619
580
  description?: string;
620
581
  /**
621
- * Start date of the invoice item
582
+ * Application version
622
583
  */
623
- startDate?: string;
584
+ appVersion?: string;
624
585
  /**
625
- * End date of the invoice item
586
+ * Helm API version
626
587
  */
627
- endDate?: string;
588
+ apiVersion?: string;
628
589
  /**
629
- * Amount of the invoice item
590
+ * Chart keywords
630
591
  */
631
- amount?: number;
592
+ keywords?: Array<string>;
632
593
  /**
633
- * Rate of the invoice item
594
+ * Chart home URL
634
595
  */
635
- rate?: number;
596
+ home?: string;
636
597
  /**
637
- * Currency of the invoice item
598
+ * A URL to an SVG or PNG image to be used as an icon
638
599
  */
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';
600
+ icon?: string;
640
601
  /**
641
- * Quantity of the invoice item
602
+ * Chart source URLs
642
603
  */
643
- quantity?: number;
604
+ sources?: Array<string>;
644
605
  /**
645
- * Details of the invoice item
606
+ * Chart maintainers
646
607
  */
647
- itemDetails?: string;
648
- /**
649
- * Effective date of the catalog
650
- */
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
- }>;
659
- };
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;
685
- /**
686
- * Tags of the chart
687
- */
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
- }>;
608
+ maintainers?: Array<{
609
+ /**
610
+ * Maintainer name
611
+ */
612
+ name: string;
613
+ /**
614
+ * Maintainer email
615
+ */
616
+ email?: string;
617
+ }>;
618
+ };
704
619
  };
705
620
  export type OrganizationCreateInput = {
706
621
  /**
@@ -782,6 +697,10 @@ export type Organization = {
782
697
  */
783
698
  label: string;
784
699
  }>;
700
+ /**
701
+ * Organization-level maximum CFCR storage volume in GB. -1 means no limit.
702
+ */
703
+ cfcr_storage_gb: number;
785
704
  };
786
705
  /**
787
706
  * Status of the organization. Can be `active` or `closed`, or `suspended`.
@@ -818,6 +737,453 @@ export type PaymentMethod = {
818
737
  */
819
738
  brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
820
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<{
773
+ /**
774
+ * Id of the control plane version. Used in API calls.
775
+ */
776
+ id: string;
777
+ /**
778
+ * Label of the control plane version. Used in frontent UI.
779
+ */
780
+ label: string;
781
+ }>;
782
+ /**
783
+ * Organization-level maximum CFCR storage volume in GB. -1 means no limit.
784
+ */
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<{
818
+ /**
819
+ * Tag name.
820
+ */
821
+ name: string;
822
+ /**
823
+ * Size of the tag in bytes.
824
+ */
825
+ size: number;
826
+ /**
827
+ * Media type of the manifest.
828
+ */
829
+ mediaType?: string;
830
+ /**
831
+ * Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).
832
+ */
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?: {
857
+ /**
858
+ * Size of the config in bytes.
859
+ */
860
+ size: number;
861
+ };
862
+ /**
863
+ * Array of layer metadata.
864
+ */
865
+ layers?: Array<{
866
+ /**
867
+ * Digest of the layer.
868
+ */
869
+ digest?: string;
870
+ /**
871
+ * Size of the layer in bytes.
872
+ */
873
+ size: number;
874
+ }>;
875
+ /**
876
+ * Array of manifests for multi-arch images.
877
+ */
878
+ manifests?: Array<{
879
+ /**
880
+ * Digest of the manifest.
881
+ */
882
+ digest: string;
883
+ /**
884
+ * Platform information for the manifest.
885
+ */
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
+ };
900
+ /**
901
+ * Layers for this platform.
902
+ */
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
+ }>;
913
+ /**
914
+ * Total size of this platform manifest in bytes.
915
+ */
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<{
974
+ /**
975
+ * Unique identifier of the ticket (Mongo ObjectId).
976
+ */
977
+ id: string;
978
+ /**
979
+ * Current state of the ticket.
980
+ */
981
+ status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
982
+ /**
983
+ * Ticket category.
984
+ */
985
+ category: 'billing' | 'technical' | 'general';
986
+ /**
987
+ * First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
988
+ */
989
+ summary: string;
990
+ /**
991
+ * Closure timestamp. Null while the ticket is open.
992
+ */
993
+ closed_at?: string;
994
+ /**
995
+ * Creation date of the ticket. ISO 8601 UTC.
996
+ */
997
+ date_created: string;
998
+ /**
999
+ * Last update date of the ticket. ISO 8601 UTC.
1000
+ */
1001
+ date_updated: string;
1002
+ /**
1003
+ * Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
1004
+ */
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
+ }>;
1052
+ }>;
1053
+ };
1054
+ export type TicketMessageInput = {
1055
+ /**
1056
+ * Reply body in markdown.
1057
+ */
1058
+ body: string;
1059
+ };
1060
+ export type TicketMessage = {
1061
+ /**
1062
+ * Unique identifier of the message (Mongo ObjectId).
1063
+ */
1064
+ id: string;
1065
+ /**
1066
+ * Message type. Internal notes are filtered out of customer-facing responses.
1067
+ */
1068
+ type: 'customer_reply' | 'agent_reply';
1069
+ /**
1070
+ * Message body in markdown.
1071
+ */
1072
+ body: string;
1073
+ /**
1074
+ * First name of the author. Null when not provided.
1075
+ */
1076
+ author_first_name?: string;
1077
+ /**
1078
+ * Last name of the author. Null when not provided.
1079
+ */
1080
+ author_last_name?: string;
1081
+ /**
1082
+ * Attachments associated with this message.
1083
+ */
1084
+ attachments?: Array<{
1085
+ /**
1086
+ * Unique identifier of the attachment (Mongo ObjectId).
1087
+ */
1088
+ id: string;
1089
+ /**
1090
+ * Original filename as uploaded.
1091
+ */
1092
+ filename: string;
1093
+ /**
1094
+ * MIME content type of the attachment.
1095
+ */
1096
+ content_type: string;
1097
+ /**
1098
+ * Size of the attachment in bytes.
1099
+ */
1100
+ size: number;
1101
+ }>;
1102
+ /**
1103
+ * Creation date of the message. ISO 8601 UTC.
1104
+ */
1105
+ date_created: string;
1106
+ };
1107
+ export type Ticket = {
1108
+ /**
1109
+ * Unique identifier of the ticket (Mongo ObjectId).
1110
+ */
1111
+ id: string;
1112
+ /**
1113
+ * Current state of the ticket.
1114
+ */
1115
+ status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
1116
+ /**
1117
+ * Ticket category.
1118
+ */
1119
+ category: 'billing' | 'technical' | 'general';
1120
+ /**
1121
+ * First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
1122
+ */
1123
+ summary: string;
1124
+ /**
1125
+ * Closure timestamp. Null while the ticket is open.
1126
+ */
1127
+ closed_at?: string;
1128
+ /**
1129
+ * Creation date of the ticket. ISO 8601 UTC.
1130
+ */
1131
+ date_created: string;
1132
+ /**
1133
+ * Last update date of the ticket. ISO 8601 UTC.
1134
+ */
1135
+ date_updated: string;
1136
+ /**
1137
+ * Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
1138
+ */
1139
+ messages?: Array<{
1140
+ /**
1141
+ * Unique identifier of the message (Mongo ObjectId).
1142
+ */
1143
+ id: string;
1144
+ /**
1145
+ * Message type. Internal notes are filtered out of customer-facing responses.
1146
+ */
1147
+ type: 'customer_reply' | 'agent_reply';
1148
+ /**
1149
+ * Message body in markdown.
1150
+ */
1151
+ body: string;
1152
+ /**
1153
+ * First name of the author. Null when not provided.
1154
+ */
1155
+ author_first_name?: string;
1156
+ /**
1157
+ * Last name of the author. Null when not provided.
1158
+ */
1159
+ author_last_name?: string;
1160
+ /**
1161
+ * Attachments associated with this message.
1162
+ */
1163
+ attachments?: Array<{
1164
+ /**
1165
+ * Unique identifier of the attachment (Mongo ObjectId).
1166
+ */
1167
+ id: string;
1168
+ /**
1169
+ * Original filename as uploaded.
1170
+ */
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
+ }>;
1186
+ };
821
1187
  export type TokenCreateInput = {
822
1188
  /**
823
1189
  * Human readable access token name.
@@ -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;
@@ -1619,24 +1998,76 @@ export type ListMarketplaceChartsResponses = {
1619
1998
  200: Array<MarketplaceListing>;
1620
1999
  };
1621
2000
  export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
1622
- export type GetMarketplaceChartData = {
2001
+ export type GetMarketplaceChartFilesData = {
1623
2002
  body?: never;
1624
2003
  path: {
1625
2004
  /**
1626
- * Unique identifier of the chart listing in the marketplace.
2005
+ * Name of the chart in the marketplace.
2006
+ */
2007
+ chart_name: string;
2008
+ /**
2009
+ * 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).
2010
+ */
2011
+ version_channel: string;
2012
+ };
2013
+ query?: never;
2014
+ url: '/marketplace/{chart_name}/files/{version_channel}';
2015
+ };
2016
+ export type GetMarketplaceChartFilesErrors = {
2017
+ /**
2018
+ * Chart not found or no version matches the channel
2019
+ */
2020
+ 404: unknown;
2021
+ };
2022
+ export type GetMarketplaceChartFilesResponses = {
2023
+ /**
2024
+ * Returns an object containing the chart files for the latest matching version.
2025
+ */
2026
+ 200: MarketplaceListingFiles;
2027
+ };
2028
+ export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
2029
+ export type PostMcpData = {
2030
+ /**
2031
+ * JSON-RPC 2.0 request payload
2032
+ */
2033
+ body: {
2034
+ jsonrpc?: string;
2035
+ method?: string;
2036
+ id?: string | number;
2037
+ /**
2038
+ * Method-specific parameters
1627
2039
  */
1628
- listing_id: string;
2040
+ params?: {
2041
+ [key: string]: unknown;
2042
+ };
1629
2043
  };
2044
+ path?: never;
1630
2045
  query?: never;
1631
- url: '/marketplace/{listing_id}';
2046
+ url: '/mcp';
2047
+ };
2048
+ export type PostMcpErrors = {
2049
+ /**
2050
+ * Not authenticated
2051
+ */
2052
+ 401: unknown;
1632
2053
  };
1633
- export type GetMarketplaceChartResponses = {
2054
+ export type PostMcpResponses = {
1634
2055
  /**
1635
- * Returns an object containing the chart listing details.
2056
+ * JSON-RPC 2.0 success or error response
1636
2057
  */
1637
- 200: MarketplaceListing;
2058
+ 200: {
2059
+ jsonrpc?: string;
2060
+ id?: string | number;
2061
+ result?: {
2062
+ [key: string]: unknown;
2063
+ };
2064
+ error?: {
2065
+ code?: number;
2066
+ message?: string;
2067
+ };
2068
+ };
1638
2069
  };
1639
- export type GetMarketplaceChartResponse = GetMarketplaceChartResponses[keyof GetMarketplaceChartResponses];
2070
+ export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
1640
2071
  export type GetOrganizationData = {
1641
2072
  body?: never;
1642
2073
  path?: never;
@@ -1662,6 +2093,249 @@ export type CreateOrganizationResponses = {
1662
2093
  */
1663
2094
  200: unknown;
1664
2095
  };
2096
+ export type ListRepositoriesData = {
2097
+ body?: never;
2098
+ path?: never;
2099
+ query?: never;
2100
+ url: '/registry';
2101
+ };
2102
+ export type ListRepositoriesErrors = {
2103
+ /**
2104
+ * Not authenticated
2105
+ */
2106
+ 401: unknown;
2107
+ /**
2108
+ * Internal server error
2109
+ */
2110
+ 500: unknown;
2111
+ };
2112
+ export type ListRepositoriesResponses = {
2113
+ /**
2114
+ * List of repositories
2115
+ */
2116
+ 200: Array<RegistryRepository>;
2117
+ };
2118
+ export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
2119
+ export type ListTagsData = {
2120
+ body?: never;
2121
+ path: {
2122
+ /**
2123
+ * Region where the repository is located
2124
+ */
2125
+ region: string;
2126
+ /**
2127
+ * Name of the repository
2128
+ */
2129
+ repository: string;
2130
+ };
2131
+ query?: never;
2132
+ url: '/registry/{region}/{repository}';
2133
+ };
2134
+ export type ListTagsErrors = {
2135
+ /**
2136
+ * Not authenticated
2137
+ */
2138
+ 401: unknown;
2139
+ /**
2140
+ * Repository not found
2141
+ */
2142
+ 404: unknown;
2143
+ /**
2144
+ * Internal server error
2145
+ */
2146
+ 500: unknown;
2147
+ };
2148
+ export type ListTagsResponses = {
2149
+ /**
2150
+ * Repository with tags
2151
+ */
2152
+ 200: RegistryRepositoryWithTags;
2153
+ };
2154
+ export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
2155
+ export type DeleteTagData = {
2156
+ body?: never;
2157
+ path: {
2158
+ /**
2159
+ * Region where the repository is located
2160
+ */
2161
+ region: string;
2162
+ /**
2163
+ * Name of the repository
2164
+ */
2165
+ repository: string;
2166
+ /**
2167
+ * Name of the tag
2168
+ */
2169
+ tag: string;
2170
+ };
2171
+ query?: never;
2172
+ url: '/registry/{region}/{repository}/{tag}';
2173
+ };
2174
+ export type DeleteTagErrors = {
2175
+ /**
2176
+ * Not authenticated
2177
+ */
2178
+ 401: unknown;
2179
+ /**
2180
+ * Tag not found
2181
+ */
2182
+ 404: unknown;
2183
+ /**
2184
+ * Internal server error
2185
+ */
2186
+ 500: unknown;
2187
+ };
2188
+ export type DeleteTagResponses = {
2189
+ /**
2190
+ * Tag successfully deleted
2191
+ */
2192
+ 200: unknown;
2193
+ };
2194
+ export type GetTagData = {
2195
+ body?: never;
2196
+ path: {
2197
+ /**
2198
+ * Region where the repository is located
2199
+ */
2200
+ region: string;
2201
+ /**
2202
+ * Name of the repository
2203
+ */
2204
+ repository: string;
2205
+ /**
2206
+ * Name of the tag
2207
+ */
2208
+ tag: string;
2209
+ };
2210
+ query?: never;
2211
+ url: '/registry/{region}/{repository}/{tag}';
2212
+ };
2213
+ export type GetTagErrors = {
2214
+ /**
2215
+ * Not authenticated
2216
+ */
2217
+ 401: unknown;
2218
+ /**
2219
+ * Tag not found
2220
+ */
2221
+ 404: unknown;
2222
+ /**
2223
+ * Internal server error
2224
+ */
2225
+ 500: unknown;
2226
+ };
2227
+ export type GetTagResponses = {
2228
+ /**
2229
+ * Tag details
2230
+ */
2231
+ 200: RegistryTag;
2232
+ };
2233
+ export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
2234
+ export type ListTicketsData = {
2235
+ body?: never;
2236
+ path?: never;
2237
+ query?: never;
2238
+ url: '/tickets';
2239
+ };
2240
+ export type ListTicketsResponses = {
2241
+ /**
2242
+ * Tickets for the organization.
2243
+ */
2244
+ 200: TicketListResponse;
2245
+ };
2246
+ export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
2247
+ export type CreateTicketData = {
2248
+ body: {
2249
+ /**
2250
+ * JSON-encoded TicketCreateInput.
2251
+ */
2252
+ payload?: string;
2253
+ attachments?: Array<Blob | File>;
2254
+ };
2255
+ path?: never;
2256
+ query?: never;
2257
+ url: '/tickets';
2258
+ };
2259
+ export type CreateTicketResponses = {
2260
+ /**
2261
+ * Ticket created.
2262
+ */
2263
+ 200: Ticket;
2264
+ };
2265
+ export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
2266
+ export type CloseTicketData = {
2267
+ body?: never;
2268
+ path: {
2269
+ ticket_id: string;
2270
+ };
2271
+ query?: never;
2272
+ url: '/tickets/{ticket_id}';
2273
+ };
2274
+ export type CloseTicketResponses = {
2275
+ /**
2276
+ * Ticket closed.
2277
+ */
2278
+ 200: Ticket;
2279
+ };
2280
+ export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
2281
+ export type GetTicketData = {
2282
+ body?: never;
2283
+ path: {
2284
+ ticket_id: string;
2285
+ };
2286
+ query?: never;
2287
+ url: '/tickets/{ticket_id}';
2288
+ };
2289
+ export type GetTicketResponses = {
2290
+ /**
2291
+ * Ticket with messages (internal notes excluded).
2292
+ */
2293
+ 200: Ticket;
2294
+ };
2295
+ export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
2296
+ export type ReplyTicketData = {
2297
+ body: {
2298
+ /**
2299
+ * JSON-encoded TicketMessageInput.
2300
+ */
2301
+ payload?: string;
2302
+ attachments?: Array<Blob | File>;
2303
+ };
2304
+ path: {
2305
+ ticket_id: string;
2306
+ };
2307
+ query?: never;
2308
+ url: '/tickets/{ticket_id}/messages';
2309
+ };
2310
+ export type ReplyTicketErrors = {
2311
+ /**
2312
+ * Ticket is closed. Open a new ticket instead.
2313
+ */
2314
+ 409: unknown;
2315
+ };
2316
+ export type ReplyTicketResponses = {
2317
+ /**
2318
+ * Reply appended.
2319
+ */
2320
+ 200: TicketMessage;
2321
+ };
2322
+ export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
2323
+ export type GetTicketAttachmentData = {
2324
+ body?: never;
2325
+ path: {
2326
+ ticket_id: string;
2327
+ attachment_id: string;
2328
+ };
2329
+ query?: never;
2330
+ url: '/tickets/{ticket_id}/attachments/{attachment_id}';
2331
+ };
2332
+ export type GetTicketAttachmentResponses = {
2333
+ /**
2334
+ * Attachment binary stream.
2335
+ */
2336
+ 200: Blob | File;
2337
+ };
2338
+ export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
1665
2339
  export type ListTokensData = {
1666
2340
  body?: never;
1667
2341
  path?: never;
@@ -1918,7 +2592,4 @@ export type UpdateUserResponses = {
1918
2592
  200: User;
1919
2593
  };
1920
2594
  export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
1921
- export type ClientOptions = {
1922
- baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
1923
- };
1924
2595
  //# sourceMappingURL=types.gen.d.ts.map