@cloudfleet/sdk 0.0.1-b9e1348 → 0.0.1-bbca6e3

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 (87) hide show
  1. package/dist/@tanstack/react-query.gen.d.ts +1151 -0
  2. package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
  3. package/dist/@tanstack/react-query.gen.js +1167 -0
  4. package/dist/@tanstack/react-query.gen.js.map +1 -0
  5. package/dist/client/client.gen.d.ts +3 -0
  6. package/dist/client/client.gen.d.ts.map +1 -0
  7. package/dist/client/client.gen.js +220 -0
  8. package/dist/client/client.gen.js.map +1 -0
  9. package/dist/client/index.d.ts +9 -0
  10. package/dist/client/index.d.ts.map +1 -0
  11. package/dist/client/index.js +7 -0
  12. package/dist/client/index.js.map +1 -0
  13. package/dist/client/types.gen.d.ts +121 -0
  14. package/dist/client/types.gen.d.ts.map +1 -0
  15. package/dist/client/types.gen.js +3 -0
  16. package/dist/client/types.gen.js.map +1 -0
  17. package/dist/client/utils.gen.d.ts +38 -0
  18. package/dist/client/utils.gen.d.ts.map +1 -0
  19. package/dist/client/utils.gen.js +229 -0
  20. package/dist/client/utils.gen.js.map +1 -0
  21. package/dist/client.gen.d.ts +4 -4
  22. package/dist/client.gen.d.ts.map +1 -1
  23. package/dist/client.gen.js +2 -4
  24. package/dist/client.gen.js.map +1 -1
  25. package/dist/core/auth.gen.d.ts +19 -0
  26. package/dist/core/auth.gen.d.ts.map +1 -0
  27. package/dist/core/auth.gen.js +15 -0
  28. package/dist/core/auth.gen.js.map +1 -0
  29. package/dist/core/bodySerializer.gen.d.ts +26 -0
  30. package/dist/core/bodySerializer.gen.d.ts.map +1 -0
  31. package/dist/core/bodySerializer.gen.js +58 -0
  32. package/dist/core/bodySerializer.gen.js.map +1 -0
  33. package/dist/core/params.gen.d.ts +44 -0
  34. package/dist/core/params.gen.d.ts.map +1 -0
  35. package/dist/core/params.gen.js +101 -0
  36. package/dist/core/params.gen.js.map +1 -0
  37. package/dist/core/pathSerializer.gen.d.ts +34 -0
  38. package/dist/core/pathSerializer.gen.d.ts.map +1 -0
  39. package/dist/core/pathSerializer.gen.js +107 -0
  40. package/dist/core/pathSerializer.gen.js.map +1 -0
  41. package/dist/core/queryKeySerializer.gen.d.ts +19 -0
  42. package/dist/core/queryKeySerializer.gen.d.ts.map +1 -0
  43. package/dist/core/queryKeySerializer.gen.js +93 -0
  44. package/dist/core/queryKeySerializer.gen.js.map +1 -0
  45. package/dist/core/serverSentEvents.gen.d.ts +72 -0
  46. package/dist/core/serverSentEvents.gen.d.ts.map +1 -0
  47. package/dist/core/serverSentEvents.gen.js +133 -0
  48. package/dist/core/serverSentEvents.gen.js.map +1 -0
  49. package/dist/core/types.gen.d.ts +79 -0
  50. package/dist/core/types.gen.d.ts.map +1 -0
  51. package/dist/core/types.gen.js +3 -0
  52. package/dist/core/types.gen.js.map +1 -0
  53. package/dist/core/utils.gen.d.ts +20 -0
  54. package/dist/core/utils.gen.d.ts.map +1 -0
  55. package/dist/core/utils.gen.js +88 -0
  56. package/dist/core/utils.gen.js.map +1 -0
  57. package/dist/index.d.ts +3 -0
  58. package/dist/index.d.ts.map +1 -1
  59. package/dist/index.js +3 -0
  60. package/dist/index.js.map +1 -1
  61. package/dist/schemas.gen.d.ts +1601 -626
  62. package/dist/schemas.gen.d.ts.map +1 -1
  63. package/dist/schemas.gen.js +2875 -694
  64. package/dist/schemas.gen.js.map +1 -1
  65. package/dist/sdk.gen.d.ts +263 -88
  66. package/dist/sdk.gen.d.ts.map +1 -1
  67. package/dist/sdk.gen.js +361 -189
  68. package/dist/sdk.gen.js.map +1 -1
  69. package/dist/services/kubernetes/api.d.ts +196 -0
  70. package/dist/services/kubernetes/api.d.ts.map +1 -0
  71. package/dist/services/kubernetes/api.js +140 -0
  72. package/dist/services/kubernetes/api.js.map +1 -0
  73. package/dist/services/kubernetes/index.d.ts +44 -0
  74. package/dist/services/kubernetes/index.d.ts.map +1 -0
  75. package/dist/services/kubernetes/index.js +68 -0
  76. package/dist/services/kubernetes/index.js.map +1 -0
  77. package/dist/services/kubernetes/types.d.ts +1335 -0
  78. package/dist/services/kubernetes/types.d.ts.map +1 -0
  79. package/dist/services/kubernetes/types.js +2 -0
  80. package/dist/services/kubernetes/types.js.map +1 -0
  81. package/dist/types.gen.d.ts +1498 -408
  82. package/dist/types.gen.d.ts.map +1 -1
  83. package/dist/zod.gen.d.ts +3667 -2121
  84. package/dist/zod.gen.d.ts.map +1 -1
  85. package/dist/zod.gen.js +1542 -794
  86. package/dist/zod.gen.js.map +1 -1
  87. package/package.json +31 -5
@@ -1,4 +1,11 @@
1
+ export type ClientOptions = {
2
+ baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
3
+ };
1
4
  export type BillingContact = {
5
+ /**
6
+ * Type of the organization. `business` for legal entities, `personal` for individuals.
7
+ */
8
+ type: 'business' | 'personal';
2
9
  /**
3
10
  * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
4
11
  */
@@ -36,27 +43,139 @@ export type BillingContact = {
36
43
  */
37
44
  email: string;
38
45
  /**
39
- * First name of the billing contact person.
46
+ * Name of the billing contact person.
40
47
  */
41
- first_name: string;
48
+ individual_name: string;
42
49
  /**
43
- * Last name of the billing contact person.
50
+ * Tax ID of the organization.
44
51
  */
45
- last_name: string;
52
+ tax_id?: string;
53
+ /**
54
+ * Type of the tax ID.
55
+ */
56
+ tax_id_type?: 'ad_nrt' | 'ae_trn' | 'al_tin' | 'am_tin' | 'ao_tin' | 'ar_cuit' | 'at_vat' | 'au_abn' | 'au_arn' | 'ba_tin' | 'bb_tin' | 'be_vat' | 'bg_uic' | 'bg_vat' | 'bh_vat' | 'bo_tin' | 'br_cnpj' | 'br_cpf' | 'bs_tin' | 'by_tin' | 'ca_bn' | 'ca_gst_hst' | 'ca_pst_bc' | 'ca_pst_mb' | 'ca_pst_sk' | 'ca_qst' | 'cd_nif' | 'ch_uid' | 'ch_vat' | 'cl_tin' | 'cn_tin' | 'co_nit' | 'cr_tin' | 'cy_vat' | 'cz_vat' | 'de_stn' | 'de_vat' | 'dk_vat' | 'do_rcn' | 'ec_ruc' | 'ee_vat' | 'eg_tin' | 'es_cif' | 'es_vat' | 'eu_oss_vat' | 'fi_vat' | 'fr_vat' | 'gb_vat' | 'ge_vat' | 'gn_nif' | 'gr_vat' | 'hk_br' | 'hr_oib' | 'hr_vat' | 'hu_tin' | 'hu_vat' | 'id_npwp' | 'ie_vat' | 'il_vat' | 'in_gst' | 'is_vat' | 'it_vat' | 'jp_cn' | 'jp_rn' | 'jp_trn' | 'ke_pin' | 'kh_tin' | 'kr_brn' | 'kz_bin' | 'li_uid' | 'li_vat' | 'lt_vat' | 'lu_vat' | 'lv_vat' | 'ma_vat' | 'md_vat' | 'me_pib' | 'mk_vat' | 'mr_nif' | 'mt_vat' | 'mx_rfc' | 'my_frp' | 'my_itn' | 'my_sst' | 'ng_tin' | 'nl_vat' | 'no_vat' | 'no_voec' | 'np_pan' | 'nz_gst' | 'om_vat' | 'pe_ruc' | 'ph_tin' | 'pl_vat' | 'pt_vat' | 'ro_tin' | 'ro_vat' | 'rs_pib' | 'ru_inn' | 'ru_kpp' | 'sa_vat' | 'se_vat' | 'sg_gst' | 'sg_uen' | 'si_tin' | 'si_vat' | 'sk_vat' | 'sn_ninea' | 'sr_fin' | 'sv_nit' | 'th_vat' | 'tj_tin' | 'tr_tin' | 'tw_vat' | 'tz_vat' | 'ua_vat' | 'ug_tin' | 'us_ein' | 'uy_ruc' | 'uz_tin' | 'uz_vat' | 've_rif' | 'vn_tin' | 'xi_vat' | 'za_vat' | 'zm_tin' | 'zw_tin' | '';
46
57
  };
47
- export type ClusterCreateInput = {
58
+ export type BillingCredits = {
48
59
  /**
49
- * Name of the cluster.
60
+ * Generated unique identifier of the promotional code.
61
+ */
62
+ id?: string;
63
+ /**
64
+ * Type of the promotional code.
65
+ */
66
+ type: 'credit' | 'discount';
67
+ /**
68
+ * Timestamp when the credit becomes active. ISO 8601 date string in the UTC timezone.
69
+ */
70
+ date_start: string;
71
+ /**
72
+ * Timestamp when the credit expires or becomes inactive. ISO 8601 date string in the UTC timezone.
73
+ */
74
+ date_end?: string;
75
+ /**
76
+ * Promotional code used by the customer.
77
+ */
78
+ code: string;
79
+ /**
80
+ * Description of the promotional code.
81
+ */
82
+ description?: string;
83
+ /**
84
+ * Total value of the promotional code.
85
+ */
86
+ value_total: number;
87
+ /**
88
+ * Remaining value of the promotional code.
89
+ */
90
+ value_remaining?: number;
91
+ };
92
+ export type ChartCreateInput = {
93
+ /**
94
+ * Values to be used in the chart encoded as a JSON string.
95
+ */
96
+ values: string;
97
+ /**
98
+ * Desired version range or channel for the chart.
99
+ */
100
+ version_channel: string;
101
+ /**
102
+ * Unique identifier of the chart deployment aka name of the helm release.
103
+ */
104
+ name: string;
105
+ /**
106
+ * Namespace of the chart deployment
107
+ */
108
+ namespace: string;
109
+ /**
110
+ * Name of the chart listing
111
+ */
112
+ chart: string;
113
+ };
114
+ export type Chart = {
115
+ /**
116
+ * Values to be used in the chart encoded as a JSON string.
117
+ */
118
+ values: string;
119
+ /**
120
+ * Desired version range or channel for the chart.
121
+ */
122
+ version_channel: string;
123
+ /**
124
+ * Unique identifier of the chart deployment aka name of the helm release.
50
125
  */
51
126
  name: string;
52
127
  /**
53
- * Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.
128
+ * Namespace of the chart deployment
129
+ */
130
+ namespace: string;
131
+ /**
132
+ * Name of the chart listing
133
+ */
134
+ chart: string;
135
+ /**
136
+ * Status of the chart deployment (Flux HelmRelease Ready condition reason, e.g. InstallSucceeded, UpgradeFailed, Progressing).
137
+ */
138
+ status: string;
139
+ /**
140
+ * Current version of the chart deployment.
141
+ */
142
+ version_current: string;
143
+ /**
144
+ * Creation date and time of the chart deployment.
145
+ */
146
+ created_at: string;
147
+ /**
148
+ * Last update date and time of the chart deployment.
149
+ */
150
+ updated_at: string;
151
+ /**
152
+ * Indicates if the chart deployment is ready to be used.
153
+ */
154
+ ready: boolean;
155
+ };
156
+ export type ChartUpdateInput = {
157
+ /**
158
+ * Values to be used in the chart encoded as a JSON string.
159
+ */
160
+ values: string;
161
+ /**
162
+ * Desired version range or channel for the chart.
163
+ */
164
+ version_channel: string;
165
+ };
166
+ export type ClusterCreateInput = {
167
+ /**
168
+ * Name of the cluster.
54
169
  */
55
- region?: 'staging' | 'northamerica-central-1';
170
+ name: string;
56
171
  /**
57
172
  * Tier of the cluster.
58
173
  */
59
174
  tier: 'basic' | 'pro';
175
+ /**
176
+ * Cloudfleet control plane region. This field can not be updated after creation.
177
+ */
178
+ region: string;
60
179
  /**
61
180
  * Version of the kubernetes cluster.
62
181
  */
@@ -71,6 +190,14 @@ export type ClusterJoinInformation = {
71
190
  * Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.
72
191
  */
73
192
  endpoint: string;
193
+ /**
194
+ * Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.
195
+ */
196
+ cluster_dns: string;
197
+ /**
198
+ * Pod CIDR for the cluster. Used to configure iptables rules on nodes to prevent Tailscale routing loops.
199
+ */
200
+ pod_cidr: string;
74
201
  /**
75
202
  * Authentication key for the cluster.
76
203
  */
@@ -95,6 +222,10 @@ export type ClusterJoinInformation = {
95
222
  * Containerd version of the cluster.
96
223
  */
97
224
  containerd: string;
225
+ /**
226
+ * NVIDIA driver version of the cluster.
227
+ */
228
+ nvidia_driver: string;
98
229
  };
99
230
  /**
100
231
  * OIDC Information for hosts to access to third party API's.
@@ -119,18 +250,14 @@ export type Cluster = {
119
250
  * Name of the cluster.
120
251
  */
121
252
  name: string;
122
- /**
123
- * Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.
124
- */
125
- region?: 'staging' | 'northamerica-central-1';
126
253
  /**
127
254
  * Tier of the cluster.
128
255
  */
129
256
  tier: 'basic' | 'pro';
130
257
  /**
131
- * Version of the kubernetes cluster.
258
+ * Cloudfleet control plane region. This field can not be updated after creation.
132
259
  */
133
- version_channel?: string;
260
+ region: string;
134
261
  /**
135
262
  * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
136
263
  */
@@ -138,8 +265,9 @@ export type Cluster = {
138
265
  /**
139
266
  * Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.
140
267
  */
141
- status: 'active' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
268
+ status: 'active' | 'disabled' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
142
269
  endpoint?: string | '';
270
+ endpoint_public?: string | '';
143
271
  /**
144
272
  * Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
145
273
  */
@@ -160,12 +288,20 @@ export type Cluster = {
160
288
  * Indicates if the cluster is ready to be used.
161
289
  */
162
290
  ready?: boolean;
291
+ /**
292
+ * Version of the kubernetes cluster.
293
+ */
294
+ version_channel?: string;
163
295
  };
164
296
  export type ClusterUpdateInput = {
165
297
  /**
166
298
  * Name of the cluster.
167
299
  */
168
300
  name?: string;
301
+ /**
302
+ * Tier of the cluster.
303
+ */
304
+ tier: 'basic' | 'pro';
169
305
  /**
170
306
  * Version of the kubernetes cluster.
171
307
  */
@@ -177,39 +313,60 @@ export type FleetCreateInput = {
177
313
  */
178
314
  limits?: {
179
315
  /**
180
- * CPU limit in cores.
316
+ * CPU limit in cores. Maximum 100,000.
181
317
  */
182
- cpu: number;
318
+ cpu?: number;
183
319
  };
184
320
  gcp?: {
185
- enabled?: boolean;
321
+ enabled: boolean;
186
322
  /**
187
- * Project GCP Project id to deploy instances into
323
+ * GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.
188
324
  */
189
- project: string;
325
+ project?: string;
190
326
  };
191
327
  hetzner?: {
192
- enabled?: boolean;
193
- apiKey?: string;
194
- } | {
328
+ enabled: boolean;
329
+ /**
330
+ * Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
331
+ */
195
332
  apiKey?: string;
196
- enabled?: boolean;
197
333
  };
198
334
  aws?: {
199
- enabled?: boolean;
335
+ enabled: boolean;
200
336
  /**
201
- * ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.
337
+ * AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
202
338
  */
203
- controllerRoleArn: string;
339
+ controllerRoleArn?: string;
204
340
  };
205
341
  /**
206
- * Unique identifier of the kubernetes fleet.
342
+ * Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together. Omit a field to place no restriction on that key.
207
343
  */
208
- id: string;
344
+ constraints?: {
345
+ /**
346
+ * Allowed values for `karpenter.sh/capacity-type`.
347
+ */
348
+ 'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
349
+ /**
350
+ * Allowed values for `kubernetes.io/arch`.
351
+ */
352
+ 'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
353
+ /**
354
+ * Allowed values for `cfke.io/instance-family`.
355
+ */
356
+ 'cfke.io/instance-family'?: Array<'a1' | 'a2' | 'a3' | 'a4' | 'c1' | 'c2' | 'c2d' | 'c3' | 'c3d' | 'c4' | 'c4a' | 'c4d' | 'c5' | 'c5a' | 'c5ad' | 'c5d' | 'c5n' | 'c6a' | 'c6g' | 'c6gd' | 'c6gn' | 'c6i' | 'c6id' | 'c6in' | 'c7a' | 'c7g' | 'c7gd' | 'c7gn' | 'c7i' | 'c7i-flex' | 'c8g' | 'c8gd' | 'cax' | 'ccx' | 'cpx' | 'cx' | 'd2' | 'd3' | 'd3en' | 'dl1' | 'dl2q' | 'e2' | 'f1' | 'f2' | 'g1' | 'g2' | 'g4ad' | 'g4dn' | 'g5' | 'g5g' | 'g6' | 'g6e' | 'gr6' | 'h1' | 'h3' | 'hpc6a' | 'hpc6id' | 'hpc7a' | 'hpc7g' | 'i2' | 'i3' | 'i3en' | 'i4g' | 'i4i' | 'i7i' | 'i7ie' | 'i8g' | 'im4gn' | 'inf1' | 'inf2' | 'is4gen' | 'm1' | 'm2' | 'm3' | 'm4' | 'm5' | 'm5a' | 'm5ad' | 'm5d' | 'm5dn' | 'm5n' | 'm5zn' | 'm6a' | 'm6g' | 'm6gd' | 'm6i' | 'm6id' | 'm6idn' | 'm6in' | 'm7a' | 'm7g' | 'm7gd' | 'm7i' | 'm7i-flex' | 'm8g' | 'm8gd' | 'n1' | 'n2' | 'n2d' | 'n4' | 'p3' | 'p3dn' | 'p4d' | 'p4de' | 'p5' | 'p5e' | 'p5en' | 'p6-b200' | 'r3' | 'r4' | 'r5' | 'r5a' | 'r5ad' | 'r5b' | 'r5d' | 'r5dn' | 'r5n' | 'r6a' | 'r6g' | 'r6gd' | 'r6i' | 'r6id' | 'r6idn' | 'r6in' | 'r7a' | 'r7g' | 'r7gd' | 'r7i' | 'r7iz' | 'r8g' | 'r8gd' | 't2' | 't2a' | 't2d' | 't3' | 't3a' | 't4g' | 'trn1' | 'trn1n' | 'u-3tb1' | 'u-6tb1' | 'u7i-12tb' | 'u7i-6tb' | 'u7i-8tb' | 'u7in-16tb' | 'u7in-24tb' | 'u7in-32tb' | 'vt1' | 'x1' | 'x1e' | 'x2gd' | 'x2idn' | 'x2iedn' | 'x2iezn' | 'x4' | 'x8g' | 'z1d' | 'z3'>;
357
+ /**
358
+ * Allowed values for `topology.kubernetes.io/region`.
359
+ */
360
+ 'topology.kubernetes.io/region'?: Array<'africa-south1' | 'ap-northeast-1' | 'ap-northeast-2' | 'ap-northeast-3' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ash' | 'asia-east1' | 'asia-east2' | 'asia-northeast1' | 'asia-northeast2' | 'asia-northeast3' | 'asia-south1' | 'asia-south2' | 'asia-southeast1' | 'asia-southeast2' | 'australia-southeast1' | 'australia-southeast2' | 'ca-central-1' | 'eu-central-1' | 'eu-central-2' | 'eu-north-1' | 'eu-west-1' | 'eu-west-2' | 'eu-west-3' | 'europe-central2' | 'europe-north1' | 'europe-southwest1' | 'europe-west1' | 'europe-west10' | 'europe-west12' | 'europe-west2' | 'europe-west3' | 'europe-west4' | 'europe-west6' | 'europe-west8' | 'europe-west9' | 'fsn1' | 'hel1' | 'hil' | 'me-central1' | 'me-central2' | 'me-west1' | 'nbg1' | 'northamerica-northeast1' | 'northamerica-northeast2' | 'sa-east-1' | 'sin' | 'southamerica-east1' | 'southamerica-west1' | 'us-central1' | 'us-east-1' | 'us-east-2' | 'us-east1' | 'us-east4' | 'us-east5' | 'us-south1' | 'us-west-1' | 'us-west-2' | 'us-west1' | 'us-west2' | 'us-west3' | 'us-west4'>;
361
+ };
362
+ /**
363
+ * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
364
+ */
365
+ scalingProfile?: 'aggressive' | 'conservative';
209
366
  /**
210
- * Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.
367
+ * Unique identifier of the kubernetes fleet.
211
368
  */
212
- type: 'managed' | 'connected';
369
+ id: string;
213
370
  };
214
371
  export type Fleet = {
215
372
  /**
@@ -217,39 +374,60 @@ export type Fleet = {
217
374
  */
218
375
  limits?: {
219
376
  /**
220
- * CPU limit in cores.
377
+ * CPU limit in cores. Maximum 100,000.
221
378
  */
222
- cpu: number;
379
+ cpu?: number;
223
380
  };
224
381
  gcp?: {
225
- enabled?: boolean;
382
+ enabled: boolean;
226
383
  /**
227
- * Project GCP Project id to deploy instances into
384
+ * GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.
228
385
  */
229
- project: string;
386
+ project?: string;
230
387
  };
231
388
  hetzner?: {
232
- enabled?: boolean;
233
- apiKey?: string;
234
- } | {
389
+ enabled: boolean;
390
+ /**
391
+ * Redacted Hetzner API token. Returned as 64 asterisks when a token is configured; omitted otherwise. The real value is never echoed by the API.
392
+ */
235
393
  apiKey?: string;
236
- enabled?: boolean;
237
394
  };
238
395
  aws?: {
239
- enabled?: boolean;
396
+ enabled: boolean;
240
397
  /**
241
- * ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.
398
+ * AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
242
399
  */
243
- controllerRoleArn: string;
400
+ controllerRoleArn?: string;
244
401
  };
245
402
  /**
246
- * Unique identifier of the kubernetes fleet.
403
+ * Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together. Omit a field to place no restriction on that key.
247
404
  */
248
- id: string;
405
+ constraints?: {
406
+ /**
407
+ * Allowed values for `karpenter.sh/capacity-type`.
408
+ */
409
+ 'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
410
+ /**
411
+ * Allowed values for `kubernetes.io/arch`.
412
+ */
413
+ 'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
414
+ /**
415
+ * Allowed values for `cfke.io/instance-family`.
416
+ */
417
+ 'cfke.io/instance-family'?: Array<'a1' | 'a2' | 'a3' | 'a4' | 'c1' | 'c2' | 'c2d' | 'c3' | 'c3d' | 'c4' | 'c4a' | 'c4d' | 'c5' | 'c5a' | 'c5ad' | 'c5d' | 'c5n' | 'c6a' | 'c6g' | 'c6gd' | 'c6gn' | 'c6i' | 'c6id' | 'c6in' | 'c7a' | 'c7g' | 'c7gd' | 'c7gn' | 'c7i' | 'c7i-flex' | 'c8g' | 'c8gd' | 'cax' | 'ccx' | 'cpx' | 'cx' | 'd2' | 'd3' | 'd3en' | 'dl1' | 'dl2q' | 'e2' | 'f1' | 'f2' | 'g1' | 'g2' | 'g4ad' | 'g4dn' | 'g5' | 'g5g' | 'g6' | 'g6e' | 'gr6' | 'h1' | 'h3' | 'hpc6a' | 'hpc6id' | 'hpc7a' | 'hpc7g' | 'i2' | 'i3' | 'i3en' | 'i4g' | 'i4i' | 'i7i' | 'i7ie' | 'i8g' | 'im4gn' | 'inf1' | 'inf2' | 'is4gen' | 'm1' | 'm2' | 'm3' | 'm4' | 'm5' | 'm5a' | 'm5ad' | 'm5d' | 'm5dn' | 'm5n' | 'm5zn' | 'm6a' | 'm6g' | 'm6gd' | 'm6i' | 'm6id' | 'm6idn' | 'm6in' | 'm7a' | 'm7g' | 'm7gd' | 'm7i' | 'm7i-flex' | 'm8g' | 'm8gd' | 'n1' | 'n2' | 'n2d' | 'n4' | 'p3' | 'p3dn' | 'p4d' | 'p4de' | 'p5' | 'p5e' | 'p5en' | 'p6-b200' | 'r3' | 'r4' | 'r5' | 'r5a' | 'r5ad' | 'r5b' | 'r5d' | 'r5dn' | 'r5n' | 'r6a' | 'r6g' | 'r6gd' | 'r6i' | 'r6id' | 'r6idn' | 'r6in' | 'r7a' | 'r7g' | 'r7gd' | 'r7i' | 'r7iz' | 'r8g' | 'r8gd' | 't2' | 't2a' | 't2d' | 't3' | 't3a' | 't4g' | 'trn1' | 'trn1n' | 'u-3tb1' | 'u-6tb1' | 'u7i-12tb' | 'u7i-6tb' | 'u7i-8tb' | 'u7in-16tb' | 'u7in-24tb' | 'u7in-32tb' | 'vt1' | 'x1' | 'x1e' | 'x2gd' | 'x2idn' | 'x2iedn' | 'x2iezn' | 'x4' | 'x8g' | 'z1d' | 'z3'>;
418
+ /**
419
+ * Allowed values for `topology.kubernetes.io/region`.
420
+ */
421
+ 'topology.kubernetes.io/region'?: Array<'africa-south1' | 'ap-northeast-1' | 'ap-northeast-2' | 'ap-northeast-3' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ash' | 'asia-east1' | 'asia-east2' | 'asia-northeast1' | 'asia-northeast2' | 'asia-northeast3' | 'asia-south1' | 'asia-south2' | 'asia-southeast1' | 'asia-southeast2' | 'australia-southeast1' | 'australia-southeast2' | 'ca-central-1' | 'eu-central-1' | 'eu-central-2' | 'eu-north-1' | 'eu-west-1' | 'eu-west-2' | 'eu-west-3' | 'europe-central2' | 'europe-north1' | 'europe-southwest1' | 'europe-west1' | 'europe-west10' | 'europe-west12' | 'europe-west2' | 'europe-west3' | 'europe-west4' | 'europe-west6' | 'europe-west8' | 'europe-west9' | 'fsn1' | 'hel1' | 'hil' | 'me-central1' | 'me-central2' | 'me-west1' | 'nbg1' | 'northamerica-northeast1' | 'northamerica-northeast2' | 'sa-east-1' | 'sin' | 'southamerica-east1' | 'southamerica-west1' | 'us-central1' | 'us-east-1' | 'us-east-2' | 'us-east1' | 'us-east4' | 'us-east5' | 'us-south1' | 'us-west-1' | 'us-west-2' | 'us-west1' | 'us-west2' | 'us-west3' | 'us-west4'>;
422
+ };
423
+ /**
424
+ * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
425
+ */
426
+ scalingProfile: 'aggressive' | 'conservative';
249
427
  /**
250
- * Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.
428
+ * Unique identifier of the kubernetes fleet.
251
429
  */
252
- type: 'managed' | 'connected';
430
+ id: string;
253
431
  };
254
432
  export type FleetUpdateInput = {
255
433
  /**
@@ -257,31 +435,66 @@ export type FleetUpdateInput = {
257
435
  */
258
436
  limits?: {
259
437
  /**
260
- * CPU limit in cores.
438
+ * CPU limit in cores. Maximum 100,000.
261
439
  */
262
- cpu: number;
440
+ cpu?: number;
263
441
  };
264
442
  gcp?: {
265
- enabled?: boolean;
443
+ enabled: boolean;
266
444
  /**
267
- * Project GCP Project id to deploy instances into
445
+ * GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.
268
446
  */
269
- project: string;
447
+ project?: string;
270
448
  };
271
449
  hetzner?: {
272
- enabled?: boolean;
273
- apiKey?: string;
274
- } | {
450
+ enabled: boolean;
451
+ /**
452
+ * Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
453
+ */
275
454
  apiKey?: string;
276
- enabled?: boolean;
277
455
  };
278
456
  aws?: {
279
- enabled?: boolean;
457
+ enabled: boolean;
458
+ /**
459
+ * AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
460
+ */
461
+ controllerRoleArn?: string;
462
+ };
463
+ /**
464
+ * Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together. Omit a field to place no restriction on that key.
465
+ */
466
+ constraints?: {
467
+ /**
468
+ * Allowed values for `karpenter.sh/capacity-type`.
469
+ */
470
+ 'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
471
+ /**
472
+ * Allowed values for `kubernetes.io/arch`.
473
+ */
474
+ 'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
475
+ /**
476
+ * Allowed values for `cfke.io/instance-family`.
477
+ */
478
+ 'cfke.io/instance-family'?: Array<'a1' | 'a2' | 'a3' | 'a4' | 'c1' | 'c2' | 'c2d' | 'c3' | 'c3d' | 'c4' | 'c4a' | 'c4d' | 'c5' | 'c5a' | 'c5ad' | 'c5d' | 'c5n' | 'c6a' | 'c6g' | 'c6gd' | 'c6gn' | 'c6i' | 'c6id' | 'c6in' | 'c7a' | 'c7g' | 'c7gd' | 'c7gn' | 'c7i' | 'c7i-flex' | 'c8g' | 'c8gd' | 'cax' | 'ccx' | 'cpx' | 'cx' | 'd2' | 'd3' | 'd3en' | 'dl1' | 'dl2q' | 'e2' | 'f1' | 'f2' | 'g1' | 'g2' | 'g4ad' | 'g4dn' | 'g5' | 'g5g' | 'g6' | 'g6e' | 'gr6' | 'h1' | 'h3' | 'hpc6a' | 'hpc6id' | 'hpc7a' | 'hpc7g' | 'i2' | 'i3' | 'i3en' | 'i4g' | 'i4i' | 'i7i' | 'i7ie' | 'i8g' | 'im4gn' | 'inf1' | 'inf2' | 'is4gen' | 'm1' | 'm2' | 'm3' | 'm4' | 'm5' | 'm5a' | 'm5ad' | 'm5d' | 'm5dn' | 'm5n' | 'm5zn' | 'm6a' | 'm6g' | 'm6gd' | 'm6i' | 'm6id' | 'm6idn' | 'm6in' | 'm7a' | 'm7g' | 'm7gd' | 'm7i' | 'm7i-flex' | 'm8g' | 'm8gd' | 'n1' | 'n2' | 'n2d' | 'n4' | 'p3' | 'p3dn' | 'p4d' | 'p4de' | 'p5' | 'p5e' | 'p5en' | 'p6-b200' | 'r3' | 'r4' | 'r5' | 'r5a' | 'r5ad' | 'r5b' | 'r5d' | 'r5dn' | 'r5n' | 'r6a' | 'r6g' | 'r6gd' | 'r6i' | 'r6id' | 'r6idn' | 'r6in' | 'r7a' | 'r7g' | 'r7gd' | 'r7i' | 'r7iz' | 'r8g' | 'r8gd' | 't2' | 't2a' | 't2d' | 't3' | 't3a' | 't4g' | 'trn1' | 'trn1n' | 'u-3tb1' | 'u-6tb1' | 'u7i-12tb' | 'u7i-6tb' | 'u7i-8tb' | 'u7in-16tb' | 'u7in-24tb' | 'u7in-32tb' | 'vt1' | 'x1' | 'x1e' | 'x2gd' | 'x2idn' | 'x2iedn' | 'x2iezn' | 'x4' | 'x8g' | 'z1d' | 'z3'>;
280
479
  /**
281
- * ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.
480
+ * Allowed values for `topology.kubernetes.io/region`.
282
481
  */
283
- controllerRoleArn: string;
482
+ 'topology.kubernetes.io/region'?: Array<'africa-south1' | 'ap-northeast-1' | 'ap-northeast-2' | 'ap-northeast-3' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ash' | 'asia-east1' | 'asia-east2' | 'asia-northeast1' | 'asia-northeast2' | 'asia-northeast3' | 'asia-south1' | 'asia-south2' | 'asia-southeast1' | 'asia-southeast2' | 'australia-southeast1' | 'australia-southeast2' | 'ca-central-1' | 'eu-central-1' | 'eu-central-2' | 'eu-north-1' | 'eu-west-1' | 'eu-west-2' | 'eu-west-3' | 'europe-central2' | 'europe-north1' | 'europe-southwest1' | 'europe-west1' | 'europe-west10' | 'europe-west12' | 'europe-west2' | 'europe-west3' | 'europe-west4' | 'europe-west6' | 'europe-west8' | 'europe-west9' | 'fsn1' | 'hel1' | 'hil' | 'me-central1' | 'me-central2' | 'me-west1' | 'nbg1' | 'northamerica-northeast1' | 'northamerica-northeast2' | 'sa-east-1' | 'sin' | 'southamerica-east1' | 'southamerica-west1' | 'us-central1' | 'us-east-1' | 'us-east-2' | 'us-east1' | 'us-east4' | 'us-east5' | 'us-south1' | 'us-west-1' | 'us-west-2' | 'us-west1' | 'us-west2' | 'us-west3' | 'us-west4'>;
284
483
  };
484
+ /**
485
+ * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
486
+ */
487
+ scalingProfile: 'aggressive' | 'conservative';
488
+ };
489
+ export type InviteCreateInput = {
490
+ /**
491
+ * Email address of the user to invite.
492
+ */
493
+ email: string;
494
+ /**
495
+ * Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
496
+ */
497
+ role?: 'Administrator' | 'User';
285
498
  };
286
499
  export type Invite = {
287
500
  /**
@@ -304,240 +517,134 @@ export type Invite = {
304
517
  * Generated unique invite code.
305
518
  */
306
519
  code?: string;
520
+ /**
521
+ * Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
522
+ */
523
+ role?: 'Administrator' | 'User';
307
524
  };
308
525
  export type Invoice = {
309
526
  /**
310
- * Unique identifier of the invoice. UUID v4 string in canonical form
527
+ * Unique identifier of the invoice.
311
528
  */
312
529
  id?: string;
313
- /**
314
- * Unique identifier of the organization. UUID v4 string in canonical form
315
- */
316
- organizationId?: string;
530
+ number?: string;
317
531
  /**
318
532
  * Status of the invoice
319
533
  */
320
- status?: 'DRAFT' | 'COMMITTED' | 'VOID';
534
+ status?: string;
321
535
  /**
322
536
  * Total amount of the invoice
323
537
  */
324
- amount?: number;
538
+ total?: number;
325
539
  /**
326
540
  * Currency of the invoice
327
541
  */
328
- currency?: 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYR' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GGP' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'IMP' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JEP' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LTL' | 'LVL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SOS' | 'SPL' | 'SRD' | 'STD' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TVD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VEF' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XDR' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMW' | 'ZWD' | 'BTC';
542
+ currency?: string;
329
543
  /**
330
- * Total amount of credit adjustments
544
+ * Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
331
545
  */
332
- creditAdj?: number;
546
+ created: string;
333
547
  /**
334
- * Total amount of refund adjustments
548
+ * Billing period start timestamp. ISO 8601 date string in the UTC timezone.
335
549
  */
336
- refundAdj?: number;
550
+ period_start: string;
337
551
  /**
338
- * Date of the invoice
552
+ * Billing period end timestamp. ISO 8601 date string in the UTC timezone.
339
553
  */
340
- invoiceDate?: string;
554
+ period_end: string;
555
+ invoice_pdf?: string;
556
+ };
557
+ export type MarketplaceListingFiles = {
341
558
  /**
342
- * Target date of the invoice
559
+ * Raw Chart.yaml content from the Helm chart
343
560
  */
344
- targetDate?: string;
561
+ chartYaml?: string;
345
562
  /**
346
- * Number of the invoice
563
+ * Raw values.yaml content from the Helm chart
347
564
  */
348
- invoiceNumber?: string;
565
+ valuesYaml?: string;
349
566
  /**
350
- * Balance of the invoice
567
+ * JSON schema for values.yaml as a string
351
568
  */
352
- balance?: number;
569
+ valuesSchemaJson?: string;
570
+ };
571
+ export type MarketplaceListing = {
353
572
  /**
354
- * Bundle keys of the invoice
573
+ * Name of the chart
355
574
  */
356
- bundleKeys?: string;
575
+ name: string;
357
576
  /**
358
- * Credits of the invoice
577
+ * Available versions of the chart
359
578
  */
360
- credits?: Array<{
361
- /**
362
- * Unique identifier of the invoice item. UUID v4 string in canonical form
363
- */
364
- id?: string;
365
- /**
366
- * Unique identifier of the linked invoice item. UUID v4 string in canonical form
367
- */
368
- linkedInvoiceItemId?: string;
369
- /**
370
- * Name of the product
371
- */
372
- productName?: string;
373
- /**
374
- * Name of the plan
375
- */
376
- planName?: string;
377
- /**
378
- * Name of the phase
379
- */
380
- phaseName?: string;
381
- /**
382
- * Name of the usage
383
- */
384
- usageName?: string;
385
- /**
386
- * Pretty name of the product
387
- */
388
- prettyProductName?: string;
389
- /**
390
- * Pretty name of the plan
391
- */
392
- prettyPlanName?: string;
393
- /**
394
- * Pretty name of the phase
395
- */
396
- prettyPhaseName?: string;
397
- /**
398
- * Pretty name of the usage
399
- */
400
- prettyUsageName?: string;
401
- /**
402
- * Type of the invoice item
403
- */
404
- itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
405
- /**
406
- * Description of the invoice item
407
- */
408
- description?: string;
409
- /**
410
- * Start date of the invoice item
411
- */
412
- startDate?: string;
413
- /**
414
- * End date of the invoice item
415
- */
416
- endDate?: string;
417
- /**
418
- * Amount of the invoice item
419
- */
420
- amount?: number;
421
- /**
422
- * Rate of the invoice item
423
- */
424
- rate?: number;
425
- /**
426
- * Currency of the invoice item
427
- */
428
- 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';
429
- /**
430
- * Quantity of the invoice item
431
- */
432
- quantity?: number;
433
- /**
434
- * Details of the invoice item
435
- */
436
- itemDetails?: string;
437
- /**
438
- * Effective date of the catalog
439
- */
440
- catalogEffectiveDate?: string;
441
- /**
442
- * Child items of the invoice item
443
- */
444
- childItems?: Array<Array<unknown> | boolean | number | {
445
- [key: string]: unknown;
446
- } | string>;
447
- }>;
579
+ versions: Array<string>;
448
580
  /**
449
- * Items of the invoice
581
+ * Version channels for the chart
450
582
  */
451
- items?: Array<{
452
- /**
453
- * Unique identifier of the invoice item. UUID v4 string in canonical form
454
- */
455
- id?: string;
456
- /**
457
- * Unique identifier of the linked invoice item. UUID v4 string in canonical form
458
- */
459
- linkedInvoiceItemId?: string;
460
- /**
461
- * Name of the product
462
- */
463
- productName?: string;
464
- /**
465
- * Name of the plan
466
- */
467
- planName?: string;
468
- /**
469
- * Name of the phase
470
- */
471
- phaseName?: string;
472
- /**
473
- * Name of the usage
474
- */
475
- usageName?: string;
476
- /**
477
- * Pretty name of the product
478
- */
479
- prettyProductName?: string;
480
- /**
481
- * Pretty name of the plan
482
- */
483
- prettyPlanName?: string;
484
- /**
485
- * Pretty name of the phase
486
- */
487
- prettyPhaseName?: string;
583
+ version_channels: Array<string>;
584
+ /**
585
+ * Latest version of the chart
586
+ */
587
+ latestVersion: string;
588
+ /**
589
+ * Chart metadata
590
+ */
591
+ metadata?: {
488
592
  /**
489
- * Pretty name of the usage
593
+ * Chart name from metadata
490
594
  */
491
- prettyUsageName?: string;
595
+ name: string;
492
596
  /**
493
- * Type of the invoice item
597
+ * Chart version from metadata
494
598
  */
495
- itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
599
+ version: string;
496
600
  /**
497
- * Description of the invoice item
601
+ * Chart description
498
602
  */
499
603
  description?: string;
500
604
  /**
501
- * Start date of the invoice item
502
- */
503
- startDate?: string;
504
- /**
505
- * End date of the invoice item
506
- */
507
- endDate?: string;
508
- /**
509
- * Amount of the invoice item
605
+ * Application version
510
606
  */
511
- amount?: number;
607
+ appVersion?: string;
512
608
  /**
513
- * Rate of the invoice item
609
+ * Helm API version
514
610
  */
515
- rate?: number;
611
+ apiVersion?: string;
516
612
  /**
517
- * Currency of the invoice item
613
+ * Chart keywords
518
614
  */
519
- currency?: 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYR' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GGP' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'IMP' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JEP' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LTL' | 'LVL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SOS' | 'SPL' | 'SRD' | 'STD' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TVD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VEF' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XDR' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMW' | 'ZWD' | 'BTC';
615
+ keywords?: Array<string>;
520
616
  /**
521
- * Quantity of the invoice item
617
+ * Chart home URL
522
618
  */
523
- quantity?: number;
619
+ home?: string;
524
620
  /**
525
- * Details of the invoice item
621
+ * A URL to an SVG or PNG image to be used as an icon
526
622
  */
527
- itemDetails?: string;
623
+ icon?: string;
528
624
  /**
529
- * Effective date of the catalog
625
+ * Chart source URLs
530
626
  */
531
- catalogEffectiveDate?: string;
627
+ sources?: Array<string>;
532
628
  /**
533
- * Child items of the invoice item
629
+ * Chart maintainers
534
630
  */
535
- childItems?: Array<Array<unknown> | boolean | number | {
536
- [key: string]: unknown;
537
- } | string>;
538
- }>;
631
+ maintainers?: Array<{
632
+ /**
633
+ * Maintainer name
634
+ */
635
+ name: string;
636
+ /**
637
+ * Maintainer email
638
+ */
639
+ email?: string;
640
+ }>;
641
+ };
539
642
  };
540
643
  export type OrganizationCreateInput = {
644
+ /**
645
+ * Type of the organization. `business` for legal entities, `personal` for individuals.
646
+ */
647
+ type: 'business' | 'personal';
541
648
  /**
542
649
  * Email address used for billing as a string.
543
650
  */
@@ -559,6 +666,12 @@ export type OrganizationCreateInput = {
559
666
  */
560
667
  password: string;
561
668
  };
669
+ export type OrganizationCreateOutput = {
670
+ /**
671
+ * Unique identifier of the newly created organization. Generated by the API and safe to use for client-side tracking immediately.
672
+ */
673
+ id: string;
674
+ };
562
675
  export type Organization = {
563
676
  /**
564
677
  * Unique identifier of the organization. UUID v4 string in canonical form
@@ -568,6 +681,10 @@ export type Organization = {
568
681
  * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
569
682
  */
570
683
  name?: string;
684
+ /**
685
+ * Type of the organization. `business` for legal entities, `personal` for individuals.
686
+ */
687
+ type: 'business' | 'personal';
571
688
  /**
572
689
  * Creation date of the organization. ISO 8601 date string in UTC timezone
573
690
  */
@@ -596,10 +713,6 @@ export type Organization = {
596
713
  * Maximum number of fleets that can be created per cluster.
597
714
  */
598
715
  fleets_max: number;
599
- /**
600
- * Maximum number of CPU cores per managed fleet.
601
- */
602
- managed_fleets_cpu_max: number;
603
716
  /**
604
717
  * List of Cloudfleet cluster tiers available for the organization.
605
718
  */
@@ -621,41 +734,508 @@ export type Organization = {
621
734
  */
622
735
  label: string;
623
736
  }>;
737
+ /**
738
+ * Organization-level maximum CFCR storage volume in GB. -1 means no limit.
739
+ */
740
+ cfcr_storage_gb: number;
624
741
  };
625
742
  /**
626
743
  * Status of the organization. Can be `active` or `closed`, or `suspended`.
627
744
  */
628
745
  status: 'active' | 'closed' | 'suspended';
746
+ /**
747
+ * Verification status of the organization, which determines the assigned quota. `none` when billing information is incomplete, `submitted` when billing information is complete but the organization is not yet verified, `verified` when the organization is verified.
748
+ */
749
+ verification: 'none' | 'submitted' | 'verified';
629
750
  };
630
751
  export type PaymentMethod = {
631
752
  /**
632
- * Unique identifier of the organization. UUID v4 string in canonical form.
753
+ * Payment method identifier. Stripe payment method id for cards/SEPA; the constant `bank_transfer` for the invoice/bank-transfer method. Used to set as default or delete the payment method.
633
754
  */
634
755
  id: string;
635
756
  /**
636
- * Whether organization payment method was set up and ready to use for payments.
637
- */
638
- setup: boolean;
639
- /**
640
- * Payment method type type. Only `card` payments supported at the moment.
757
+ * Payment method type. `card`, `sepa_debit` for SEPA Direct Debit (business accounts only), or `bank_transfer` for paying invoices by bank transfer.
641
758
  */
642
- type: 'card';
759
+ type: 'card' | 'sepa_debit' | 'bank_transfer';
643
760
  /**
644
- * Last 4 digits of the payment card number.
761
+ * Last 4 digits of the payment card number, of the bank account (IBAN) for SEPA Direct Debit, or of the destination IBAN for bank transfer.
645
762
  */
646
763
  last4: string;
647
764
  /**
648
- * Two-digit number representing the card's expiration month.
765
+ * Two-digit number representing the card's expiration month. Null for SEPA Direct Debit and bank transfer.
649
766
  */
650
767
  exp_month: number;
651
768
  /**
652
- * Four-digit number representing the card's expiration year.
769
+ * Four-digit number representing the card's expiration year. May be in the past for an expired card still on file. Null for SEPA Direct Debit and bank transfer.
653
770
  */
654
771
  exp_year: number;
655
772
  /**
656
- * Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
773
+ * Payment card brand as reported by Stripe, e.g. `visa`, `mastercard`, `amex`, `cartes_bancaires`, or `unknown`. Null for SEPA Direct Debit and bank transfer.
657
774
  */
658
- brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
775
+ brand: string;
776
+ /**
777
+ * Full destination IBAN to send bank transfers to. Set only for `bank_transfer`; null otherwise. This is Cloudfleet's virtual receiving account, shown in full so the customer can pay into it.
778
+ */
779
+ iban: string;
780
+ /**
781
+ * BIC/SWIFT of the destination bank for bank transfers. Set only for `bank_transfer`; null otherwise.
782
+ */
783
+ bic: string;
784
+ /**
785
+ * Account holder name of the destination bank account for bank transfers. Set only for `bank_transfer`; null otherwise.
786
+ */
787
+ account_holder_name: string;
788
+ /**
789
+ * Whether this payment method is the default used for invoices and active subscriptions. Always false for `bank_transfer` (it cannot be a Stripe default payment method).
790
+ */
791
+ is_default: boolean;
792
+ };
793
+ export type PlatformQuota = {
794
+ /**
795
+ * Maximum number of Basic clusters that can be created.
796
+ */
797
+ basic_clusters_max: number;
798
+ /**
799
+ * Available number of Basic clusters that can be created.
800
+ */
801
+ basic_clusters_available: number;
802
+ /**
803
+ * Maximum number of Pro clusters that can be created.
804
+ */
805
+ pro_clusters_max: number;
806
+ /**
807
+ * Available number of Pro clusters that can be created.
808
+ */
809
+ pro_clusters_available: number;
810
+ /**
811
+ * Maximum number of fleets that can be created per cluster.
812
+ */
813
+ fleets_max: number;
814
+ /**
815
+ * List of Cloudfleet cluster tiers available for the organization.
816
+ */
817
+ cluster_tiers: Array<string>;
818
+ /**
819
+ * List of Cloudfleet control plane regions available for the organization.
820
+ */
821
+ regions: Array<string>;
822
+ /**
823
+ * List of CFKE control plane versions available for the organization.
824
+ */
825
+ versions: Array<{
826
+ /**
827
+ * Id of the control plane version. Used in API calls.
828
+ */
829
+ id: string;
830
+ /**
831
+ * Label of the control plane version. Used in frontent UI.
832
+ */
833
+ label: string;
834
+ }>;
835
+ /**
836
+ * Organization-level maximum CFCR storage volume in GB. -1 means no limit.
837
+ */
838
+ cfcr_storage_gb: number;
839
+ };
840
+ export type RegistryRepository = {
841
+ /**
842
+ * Repository name.
843
+ */
844
+ name: string;
845
+ /**
846
+ * Registry region.
847
+ */
848
+ region: string;
849
+ /**
850
+ * Full URI of the repository.
851
+ */
852
+ uri: string;
853
+ };
854
+ export type RegistryRepositoryWithTags = {
855
+ /**
856
+ * Repository name.
857
+ */
858
+ name: string;
859
+ /**
860
+ * Registry region.
861
+ */
862
+ region: string;
863
+ /**
864
+ * Full URI of the repository.
865
+ */
866
+ uri: string;
867
+ /**
868
+ * Array of tags in the repository.
869
+ */
870
+ tags: Array<{
871
+ /**
872
+ * Tag name.
873
+ */
874
+ name: string;
875
+ /**
876
+ * Size of the tag in bytes.
877
+ */
878
+ size: number;
879
+ /**
880
+ * Media type of the manifest.
881
+ */
882
+ mediaType?: string;
883
+ /**
884
+ * Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).
885
+ */
886
+ platforms?: Array<string>;
887
+ }>;
888
+ /**
889
+ * Total size of all tags in the repository in bytes.
890
+ */
891
+ totalSize: number;
892
+ };
893
+ export type RegistryTag = {
894
+ /**
895
+ * Tag name.
896
+ */
897
+ name: string;
898
+ /**
899
+ * Manifest digest for pulling by digest.
900
+ */
901
+ digest: string;
902
+ /**
903
+ * Media type of the manifest.
904
+ */
905
+ mediaType?: string;
906
+ /**
907
+ * Manifest config metadata.
908
+ */
909
+ config?: {
910
+ /**
911
+ * Size of the config in bytes.
912
+ */
913
+ size: number;
914
+ };
915
+ /**
916
+ * Array of layer metadata.
917
+ */
918
+ layers?: Array<{
919
+ /**
920
+ * Digest of the layer.
921
+ */
922
+ digest?: string;
923
+ /**
924
+ * Size of the layer in bytes.
925
+ */
926
+ size: number;
927
+ }>;
928
+ /**
929
+ * Array of manifests for multi-arch images.
930
+ */
931
+ manifests?: Array<{
932
+ /**
933
+ * Digest of the manifest.
934
+ */
935
+ digest: string;
936
+ /**
937
+ * Platform information for the manifest.
938
+ */
939
+ platform?: {
940
+ /**
941
+ * Architecture of the platform.
942
+ */
943
+ architecture: string;
944
+ /**
945
+ * Operating system of the platform.
946
+ */
947
+ os: string;
948
+ /**
949
+ * Variant of the platform (e.g., v7, v8 for ARM).
950
+ */
951
+ variant?: string;
952
+ };
953
+ /**
954
+ * Layers for this platform.
955
+ */
956
+ layers?: Array<{
957
+ /**
958
+ * Digest of the layer.
959
+ */
960
+ digest?: string;
961
+ /**
962
+ * Size of the layer in bytes.
963
+ */
964
+ size: number;
965
+ }>;
966
+ /**
967
+ * Total size of this platform manifest in bytes.
968
+ */
969
+ size?: number;
970
+ }>;
971
+ /**
972
+ * Total size of the tag in bytes.
973
+ */
974
+ size: number;
975
+ /**
976
+ * Registry region.
977
+ */
978
+ region: string;
979
+ /**
980
+ * Repository name.
981
+ */
982
+ repository: string;
983
+ /**
984
+ * Full URI of the tag.
985
+ */
986
+ uri: string;
987
+ };
988
+ export type TicketAttachment = {
989
+ /**
990
+ * Unique identifier of the attachment (Mongo ObjectId).
991
+ */
992
+ id: string;
993
+ /**
994
+ * Original filename as uploaded.
995
+ */
996
+ filename: string;
997
+ /**
998
+ * MIME content type of the attachment.
999
+ */
1000
+ content_type: string;
1001
+ /**
1002
+ * Size of the attachment in bytes.
1003
+ */
1004
+ size: number;
1005
+ };
1006
+ export type TicketCreateInput = {
1007
+ /**
1008
+ * Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.
1009
+ */
1010
+ category: 'billing' | 'technical' | 'general';
1011
+ /**
1012
+ * Initial message body in markdown. There is no separate subject — the first message body is the description.
1013
+ */
1014
+ body: string;
1015
+ /**
1016
+ * Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).
1017
+ */
1018
+ properties?: {
1019
+ [key: string]: unknown;
1020
+ };
1021
+ };
1022
+ export type TicketListResponse = {
1023
+ /**
1024
+ * Tickets for the organization, ordered newest first. Messages are omitted from list responses.
1025
+ */
1026
+ items: Array<{
1027
+ /**
1028
+ * Unique identifier of the ticket (Mongo ObjectId).
1029
+ */
1030
+ id: string;
1031
+ /**
1032
+ * Current state of the ticket.
1033
+ */
1034
+ status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
1035
+ /**
1036
+ * Ticket category.
1037
+ */
1038
+ category: 'billing' | 'technical' | 'general';
1039
+ /**
1040
+ * First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
1041
+ */
1042
+ summary: string;
1043
+ /**
1044
+ * Closure timestamp. Null while the ticket is open.
1045
+ */
1046
+ closed_at?: string;
1047
+ /**
1048
+ * Creation date of the ticket. ISO 8601 UTC.
1049
+ */
1050
+ date_created: string;
1051
+ /**
1052
+ * Last update date of the ticket. ISO 8601 UTC.
1053
+ */
1054
+ date_updated: string;
1055
+ /**
1056
+ * Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
1057
+ */
1058
+ messages?: Array<{
1059
+ /**
1060
+ * Unique identifier of the message (Mongo ObjectId).
1061
+ */
1062
+ id: string;
1063
+ /**
1064
+ * Message type. Internal notes are filtered out of customer-facing responses.
1065
+ */
1066
+ type: 'customer_reply' | 'agent_reply';
1067
+ /**
1068
+ * Message body in markdown.
1069
+ */
1070
+ body: string;
1071
+ /**
1072
+ * First name of the author. Null when not provided.
1073
+ */
1074
+ author_first_name?: string;
1075
+ /**
1076
+ * Last name of the author. Null when not provided.
1077
+ */
1078
+ author_last_name?: string;
1079
+ /**
1080
+ * Attachments associated with this message.
1081
+ */
1082
+ attachments?: Array<{
1083
+ /**
1084
+ * Unique identifier of the attachment (Mongo ObjectId).
1085
+ */
1086
+ id: string;
1087
+ /**
1088
+ * Original filename as uploaded.
1089
+ */
1090
+ filename: string;
1091
+ /**
1092
+ * MIME content type of the attachment.
1093
+ */
1094
+ content_type: string;
1095
+ /**
1096
+ * Size of the attachment in bytes.
1097
+ */
1098
+ size: number;
1099
+ }>;
1100
+ /**
1101
+ * Creation date of the message. ISO 8601 UTC.
1102
+ */
1103
+ date_created: string;
1104
+ }>;
1105
+ }>;
1106
+ };
1107
+ export type TicketMessageInput = {
1108
+ /**
1109
+ * Reply body in markdown.
1110
+ */
1111
+ body: string;
1112
+ };
1113
+ export type TicketMessage = {
1114
+ /**
1115
+ * Unique identifier of the message (Mongo ObjectId).
1116
+ */
1117
+ id: string;
1118
+ /**
1119
+ * Message type. Internal notes are filtered out of customer-facing responses.
1120
+ */
1121
+ type: 'customer_reply' | 'agent_reply';
1122
+ /**
1123
+ * Message body in markdown.
1124
+ */
1125
+ body: string;
1126
+ /**
1127
+ * First name of the author. Null when not provided.
1128
+ */
1129
+ author_first_name?: string;
1130
+ /**
1131
+ * Last name of the author. Null when not provided.
1132
+ */
1133
+ author_last_name?: string;
1134
+ /**
1135
+ * Attachments associated with this message.
1136
+ */
1137
+ attachments?: Array<{
1138
+ /**
1139
+ * Unique identifier of the attachment (Mongo ObjectId).
1140
+ */
1141
+ id: string;
1142
+ /**
1143
+ * Original filename as uploaded.
1144
+ */
1145
+ filename: string;
1146
+ /**
1147
+ * MIME content type of the attachment.
1148
+ */
1149
+ content_type: string;
1150
+ /**
1151
+ * Size of the attachment in bytes.
1152
+ */
1153
+ size: number;
1154
+ }>;
1155
+ /**
1156
+ * Creation date of the message. ISO 8601 UTC.
1157
+ */
1158
+ date_created: string;
1159
+ };
1160
+ export type Ticket = {
1161
+ /**
1162
+ * Unique identifier of the ticket (Mongo ObjectId).
1163
+ */
1164
+ id: string;
1165
+ /**
1166
+ * Current state of the ticket.
1167
+ */
1168
+ status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
1169
+ /**
1170
+ * Ticket category.
1171
+ */
1172
+ category: 'billing' | 'technical' | 'general';
1173
+ /**
1174
+ * First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
1175
+ */
1176
+ summary: string;
1177
+ /**
1178
+ * Closure timestamp. Null while the ticket is open.
1179
+ */
1180
+ closed_at?: string;
1181
+ /**
1182
+ * Creation date of the ticket. ISO 8601 UTC.
1183
+ */
1184
+ date_created: string;
1185
+ /**
1186
+ * Last update date of the ticket. ISO 8601 UTC.
1187
+ */
1188
+ date_updated: string;
1189
+ /**
1190
+ * Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
1191
+ */
1192
+ messages?: Array<{
1193
+ /**
1194
+ * Unique identifier of the message (Mongo ObjectId).
1195
+ */
1196
+ id: string;
1197
+ /**
1198
+ * Message type. Internal notes are filtered out of customer-facing responses.
1199
+ */
1200
+ type: 'customer_reply' | 'agent_reply';
1201
+ /**
1202
+ * Message body in markdown.
1203
+ */
1204
+ body: string;
1205
+ /**
1206
+ * First name of the author. Null when not provided.
1207
+ */
1208
+ author_first_name?: string;
1209
+ /**
1210
+ * Last name of the author. Null when not provided.
1211
+ */
1212
+ author_last_name?: string;
1213
+ /**
1214
+ * Attachments associated with this message.
1215
+ */
1216
+ attachments?: Array<{
1217
+ /**
1218
+ * Unique identifier of the attachment (Mongo ObjectId).
1219
+ */
1220
+ id: string;
1221
+ /**
1222
+ * Original filename as uploaded.
1223
+ */
1224
+ filename: string;
1225
+ /**
1226
+ * MIME content type of the attachment.
1227
+ */
1228
+ content_type: string;
1229
+ /**
1230
+ * Size of the attachment in bytes.
1231
+ */
1232
+ size: number;
1233
+ }>;
1234
+ /**
1235
+ * Creation date of the message. ISO 8601 UTC.
1236
+ */
1237
+ date_created: string;
1238
+ }>;
659
1239
  };
660
1240
  export type TokenCreateInput = {
661
1241
  /**
@@ -699,35 +1279,85 @@ export type TokenUpdateInput = {
699
1279
  */
700
1280
  role?: 'Administrator' | 'User';
701
1281
  };
1282
+ export type UsageFacets = {
1283
+ /**
1284
+ * List of unique cluster IDs
1285
+ */
1286
+ cluster_id?: Array<string>;
1287
+ /**
1288
+ * List of unique products
1289
+ */
1290
+ product?: Array<string>;
1291
+ };
1292
+ export type UsageResponse = {
1293
+ /**
1294
+ * Usage data
1295
+ */
1296
+ data: Array<{
1297
+ /**
1298
+ * Hour of the usage
1299
+ */
1300
+ hour: string;
1301
+ /**
1302
+ * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
1303
+ */
1304
+ cluster_id: string;
1305
+ /**
1306
+ * The product the usage is associated with
1307
+ */
1308
+ product: string;
1309
+ /**
1310
+ * Consumption
1311
+ */
1312
+ value: number;
1313
+ /**
1314
+ * Price per unit
1315
+ */
1316
+ price: number;
1317
+ /**
1318
+ * Total cost
1319
+ */
1320
+ total: number;
1321
+ }>;
1322
+ /**
1323
+ * Facets for filtering
1324
+ */
1325
+ facets: {
1326
+ /**
1327
+ * List of unique cluster IDs
1328
+ */
1329
+ cluster_id?: Array<string>;
1330
+ /**
1331
+ * List of unique products
1332
+ */
1333
+ product?: Array<string>;
1334
+ };
1335
+ };
702
1336
  export type Usage = {
703
1337
  /**
704
1338
  * Hour of the usage
705
1339
  */
706
- hour?: string;
1340
+ hour: string;
707
1341
  /**
708
1342
  * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
709
1343
  */
710
1344
  cluster_id: string;
711
1345
  /**
712
- * Tier of the cluster.
1346
+ * The product the usage is associated with
713
1347
  */
714
- cluster_tier: '';
1348
+ product: string;
715
1349
  /**
716
- * The product the usage is associated with
1350
+ * Consumption
717
1351
  */
718
- product: 'cfke_infra_compute' | 'cfke_nodes' | 'cfke_controlplane';
1352
+ value: number;
719
1353
  /**
720
- * Name of the Kubernetes node
1354
+ * Price per unit
721
1355
  */
722
- node_name: string;
1356
+ price: number;
723
1357
  /**
724
- * SKU of the Kubernetes node
1358
+ * Total cost
725
1359
  */
726
- sku: string;
727
- cpu: number | '';
728
- price: number | '';
729
- value: number | '';
730
- total: number | '';
1360
+ total: number;
731
1361
  };
732
1362
  export type UserCreateInput = {
733
1363
  /**
@@ -750,14 +1380,6 @@ export type UserCreateInput = {
750
1380
  * User password. Must be at least 8 characters long.
751
1381
  */
752
1382
  password: string;
753
- /**
754
- * Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.
755
- */
756
- status?: 'active' | 'inactive';
757
- /**
758
- * User role. Can be 'Administrator', 'User'.
759
- */
760
- role?: 'Administrator' | 'User';
761
1383
  };
762
1384
  export type User = {
763
1385
  /**
@@ -788,16 +1410,6 @@ export type User = {
788
1410
  * Creation date of the user. ISO 8601 date string in UTC timezone
789
1411
  */
790
1412
  date_created: string;
791
- cluster_permissions?: Array<{
792
- /**
793
- * Unique identifier of the cluster. UUID v4 string in canonical form
794
- */
795
- cluster_id: string;
796
- /**
797
- * User permissions to access the cluster. Can be `readwrite` or `readonly`.
798
- */
799
- permissions: 'readwrite' | 'readonly';
800
- }>;
801
1413
  };
802
1414
  export type UserUpdateInput = {
803
1415
  /**
@@ -824,7 +1436,12 @@ export type UserUpdateInput = {
824
1436
  export type GetUsageData = {
825
1437
  body?: never;
826
1438
  path?: never;
827
- query?: never;
1439
+ query?: {
1440
+ /**
1441
+ * Time granularity for usage aggregation - hourly (Past 48 hours aggregated by hour), daily (Past 30 days aggregated by day), monthly (Past 12 months aggregated by month)
1442
+ */
1443
+ granularity?: 'hourly' | 'daily' | 'monthly';
1444
+ };
828
1445
  url: '/billing/usage';
829
1446
  };
830
1447
  export type GetUsageErrors = {
@@ -835,75 +1452,121 @@ export type GetUsageErrors = {
835
1452
  };
836
1453
  export type GetUsageResponses = {
837
1454
  /**
838
- * An array of usage records.
1455
+ * Usage data with facets for filtering
839
1456
  */
840
- 200: Array<Usage>;
1457
+ 200: UsageResponse;
841
1458
  };
842
1459
  export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
843
- export type GetBalanceData = {
1460
+ export type GetPaymentMethodSecretData = {
844
1461
  body?: never;
845
1462
  path?: never;
846
1463
  query?: never;
847
- url: '/billing/balance';
1464
+ url: '/billing/payment-method';
848
1465
  };
849
- export type GetBalanceResponses = {
1466
+ export type GetPaymentMethodSecretResponses = {
850
1467
  /**
851
- * Current balance of the organization in USD as a floating-point number.
1468
+ * The client secret. Used for client-side retrieval using a publishable key. The client secret can be used to complete a payment from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret.
1469
+ *
852
1470
  */
853
- 200: number;
1471
+ 200: {
1472
+ /**
1473
+ * The client secret.
1474
+ */
1475
+ id?: string;
1476
+ };
854
1477
  };
855
- export type GetBalanceResponse = GetBalanceResponses[keyof GetBalanceResponses];
856
- export type GetPaymentMethodData = {
1478
+ export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
1479
+ export type ListPaymentMethodsData = {
857
1480
  body?: never;
858
1481
  path?: never;
859
1482
  query?: never;
860
- url: '/billing/payment-method';
1483
+ url: '/billing/payment-methods';
861
1484
  };
862
- export type GetPaymentMethodErrors = {
1485
+ export type ListPaymentMethodsErrors = {
863
1486
  /**
864
- * Returns 404 Not Found if the organization does not have a payment method set up.
1487
+ * Not authenticated
865
1488
  */
866
- 404: unknown;
1489
+ 401: unknown;
867
1490
  };
868
- export type GetPaymentMethodResponses = {
1491
+ export type ListPaymentMethodsResponses = {
869
1492
  /**
870
- * Redacted payment card information.
1493
+ * An array of payment methods.
871
1494
  */
872
- 200: PaymentMethod;
1495
+ 200: Array<PaymentMethod>;
873
1496
  };
874
- export type GetPaymentMethodResponse = GetPaymentMethodResponses[keyof GetPaymentMethodResponses];
875
- export type GetPaymentMethodSecretData = {
1497
+ export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
1498
+ export type SetDefaultPaymentMethodData = {
876
1499
  body?: never;
877
- path?: never;
1500
+ path: {
1501
+ /**
1502
+ * Stripe payment method identifier.
1503
+ */
1504
+ paymentMethodId: string;
1505
+ };
878
1506
  query?: never;
879
- url: '/billing/payment-method';
1507
+ url: '/billing/payment-methods/{paymentMethodId}/default';
880
1508
  };
881
- export type GetPaymentMethodSecretResponses = {
1509
+ export type SetDefaultPaymentMethodErrors = {
882
1510
  /**
883
- * The client secret. Used for client-side retrieval using a publishable key. The client secret can be used to complete a payment from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret.
884
- *
1511
+ * The bank transfer payment method cannot be set as the default.
885
1512
  */
886
- 200: {
1513
+ 400: unknown;
1514
+ /**
1515
+ * Not authenticated
1516
+ */
1517
+ 401: unknown;
1518
+ /**
1519
+ * Payment method not found.
1520
+ */
1521
+ 404: unknown;
1522
+ };
1523
+ export type SetDefaultPaymentMethodResponses = {
1524
+ /**
1525
+ * Default payment method updated.
1526
+ */
1527
+ 204: void;
1528
+ };
1529
+ export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
1530
+ export type DeletePaymentMethodData = {
1531
+ body?: never;
1532
+ path: {
887
1533
  /**
888
- * The client secret.
1534
+ * Stripe payment method identifier.
889
1535
  */
890
- id?: string;
1536
+ paymentMethodId: string;
891
1537
  };
1538
+ query?: never;
1539
+ url: '/billing/payment-methods/{paymentMethodId}';
892
1540
  };
893
- export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
1541
+ export type DeletePaymentMethodErrors = {
1542
+ /**
1543
+ * The bank transfer payment method cannot be removed.
1544
+ */
1545
+ 400: unknown;
1546
+ /**
1547
+ * Not authenticated
1548
+ */
1549
+ 401: unknown;
1550
+ /**
1551
+ * Payment method not found.
1552
+ */
1553
+ 404: unknown;
1554
+ /**
1555
+ * Cannot delete the only remaining payment method.
1556
+ */
1557
+ 409: unknown;
1558
+ };
1559
+ export type DeletePaymentMethodResponses = {
1560
+ /**
1561
+ * Payment method deleted.
1562
+ */
1563
+ 204: void;
1564
+ };
1565
+ export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
894
1566
  export type ListInvoicesData = {
895
1567
  body?: never;
896
1568
  path?: never;
897
- query: {
898
- /**
899
- * Start date for the usage. Date of oldest data point to retrieve.
900
- */
901
- start_date: string;
902
- /**
903
- * End date for the usage. Date of newest data point to retrieve.
904
- */
905
- end_date: string;
906
- };
1569
+ query?: never;
907
1570
  url: '/billing/invoices';
908
1571
  };
909
1572
  export type ListInvoicesErrors = {
@@ -919,26 +1582,6 @@ export type ListInvoicesResponses = {
919
1582
  200: Array<Invoice>;
920
1583
  };
921
1584
  export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
922
- export type GetInvoiceData = {
923
- body?: never;
924
- path: {
925
- /**
926
- * Unique invoice identifier. UUID v4 string in canonical form
927
- */
928
- id: string;
929
- };
930
- query?: never;
931
- url: '/billing/invoices/{id}';
932
- };
933
- export type GetInvoiceResponses = {
934
- /**
935
- * Returns a single Invoice HTML representation under `html` property.
936
- */
937
- 200: {
938
- html?: string;
939
- };
940
- };
941
- export type GetInvoiceResponse = GetInvoiceResponses[keyof GetInvoiceResponses];
942
1585
  export type GetContactData = {
943
1586
  body?: never;
944
1587
  path?: never;
@@ -962,9 +1605,159 @@ export type UpdateContactResponses = {
962
1605
  /**
963
1606
  * Successfully updated. Returns updated organization details.
964
1607
  */
965
- 200: BillingContact;
1608
+ 200: BillingContact;
1609
+ };
1610
+ export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
1611
+ export type GetCreditsData = {
1612
+ body?: never;
1613
+ path?: never;
1614
+ query?: never;
1615
+ url: '/billing/credits';
1616
+ };
1617
+ export type GetCreditsErrors = {
1618
+ /**
1619
+ * Not authenticated
1620
+ */
1621
+ 401: unknown;
1622
+ };
1623
+ export type GetCreditsResponses = {
1624
+ /**
1625
+ * An array of the applied promotional credits records.
1626
+ */
1627
+ 200: Array<BillingCredits>;
1628
+ };
1629
+ export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
1630
+ export type RedeemCreditsData = {
1631
+ body: {
1632
+ /**
1633
+ * Promotional code to redeem
1634
+ */
1635
+ code?: string;
1636
+ };
1637
+ path?: never;
1638
+ query?: never;
1639
+ url: '/billing/credits';
1640
+ };
1641
+ export type RedeemCreditsErrors = {
1642
+ /**
1643
+ * Not authenticated
1644
+ */
1645
+ 401: unknown;
1646
+ };
1647
+ export type RedeemCreditsResponses = {
1648
+ /**
1649
+ * Successfully created a new organization.
1650
+ */
1651
+ 200: unknown;
1652
+ };
1653
+ export type ListChartsData = {
1654
+ body?: never;
1655
+ path: {
1656
+ /**
1657
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1658
+ */
1659
+ cluster_id: string;
1660
+ };
1661
+ query?: never;
1662
+ url: '/clusters/{cluster_id}/charts';
1663
+ };
1664
+ export type ListChartsErrors = {
1665
+ /**
1666
+ * Not authenticated
1667
+ */
1668
+ 401: unknown;
1669
+ };
1670
+ export type ListChartsResponses = {
1671
+ /**
1672
+ * An array of charts
1673
+ */
1674
+ 200: Array<Chart>;
1675
+ };
1676
+ export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
1677
+ export type CreateChartData = {
1678
+ body: ChartCreateInput;
1679
+ path: {
1680
+ /**
1681
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1682
+ */
1683
+ cluster_id: string;
1684
+ };
1685
+ query?: never;
1686
+ url: '/clusters/{cluster_id}/charts';
1687
+ };
1688
+ export type CreateChartResponses = {
1689
+ /**
1690
+ * Successfully created. Returns created Chart ID.
1691
+ */
1692
+ 200: string;
1693
+ };
1694
+ export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
1695
+ export type DeleteChartData = {
1696
+ body?: never;
1697
+ path: {
1698
+ /**
1699
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1700
+ */
1701
+ cluster_id: string;
1702
+ /**
1703
+ * Chart deployment name as the unique identifier of the chart.
1704
+ */
1705
+ chart_name: string;
1706
+ };
1707
+ query?: never;
1708
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
1709
+ };
1710
+ export type DeleteChartResponses = {
1711
+ /**
1712
+ * Successfully deleted.
1713
+ */
1714
+ 200: string;
1715
+ };
1716
+ export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
1717
+ export type GetChartData = {
1718
+ body?: never;
1719
+ path: {
1720
+ /**
1721
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1722
+ */
1723
+ cluster_id: string;
1724
+ /**
1725
+ * Chart deployment name as the unique identifier of the chart.
1726
+ */
1727
+ chart_name: string;
1728
+ };
1729
+ query?: never;
1730
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
1731
+ };
1732
+ export type GetChartResponses = {
1733
+ /**
1734
+ * Returns a single object containing chart details.
1735
+ */
1736
+ 200: Chart;
1737
+ };
1738
+ export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
1739
+ export type UpdateChartData = {
1740
+ body: ChartUpdateInput;
1741
+ path: {
1742
+ /**
1743
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1744
+ */
1745
+ cluster_id: string;
1746
+ /**
1747
+ * Chart deployment name as the unique identifier of the chart.
1748
+ */
1749
+ chart_name: string;
1750
+ };
1751
+ query?: never;
1752
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
1753
+ };
1754
+ export type UpdateChartResponses = {
1755
+ /**
1756
+ * Successfully updated.
1757
+ */
1758
+ 200: string;
966
1759
  };
967
- export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
1760
+ export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
968
1761
  export type ListFleetsData = {
969
1762
  body?: never;
970
1763
  path: {
@@ -1160,9 +1953,20 @@ export type DeleteClusterData = {
1160
1953
  query?: never;
1161
1954
  url: '/clusters/{cluster_id}';
1162
1955
  };
1956
+ export type DeleteClusterErrors = {
1957
+ /**
1958
+ * Cluster not found — it does not exist or has already been deleted.
1959
+ */
1960
+ 404: unknown;
1961
+ /**
1962
+ * The cluster could not be torn down due to a transient failure. The cluster is left intact; retry the request.
1963
+ *
1964
+ */
1965
+ 503: unknown;
1966
+ };
1163
1967
  export type DeleteClusterResponses = {
1164
1968
  /**
1165
- * Successfully deleted.
1969
+ * Successfully deleted. The cluster has been torn down.
1166
1970
  */
1167
1971
  200: string;
1168
1972
  };
@@ -1224,7 +2028,7 @@ export type GetJoinInformationResponses = {
1224
2028
  /**
1225
2029
  * An object of cluster join information
1226
2030
  */
1227
- 200: Cluster;
2031
+ 200: ClusterJoinInformation;
1228
2032
  };
1229
2033
  export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
1230
2034
  export type ListInvitesData = {
@@ -1247,12 +2051,7 @@ export type ListInvitesResponses = {
1247
2051
  };
1248
2052
  export type ListInvitesResponse = ListInvitesResponses[keyof ListInvitesResponses];
1249
2053
  export type CreateInviteData = {
1250
- body: {
1251
- /**
1252
- * User email address
1253
- */
1254
- email?: string;
1255
- };
2054
+ body: InviteCreateInput;
1256
2055
  path?: never;
1257
2056
  query?: never;
1258
2057
  url: '/invites';
@@ -1277,9 +2076,18 @@ export type GetInviteData = {
1277
2076
  };
1278
2077
  export type GetInviteResponses = {
1279
2078
  /**
1280
- * Returns a single object containing invite details.
2079
+ * The invitation code is valid. Returns the invited email and organization.
1281
2080
  */
1282
- 200: Invite;
2081
+ 200: {
2082
+ /**
2083
+ * Email address the invite was issued to.
2084
+ */
2085
+ email?: string;
2086
+ /**
2087
+ * Identifier of the organization the invite grants access to.
2088
+ */
2089
+ organization_id?: string;
2090
+ };
1283
2091
  };
1284
2092
  export type GetInviteResponse = GetInviteResponses[keyof GetInviteResponses];
1285
2093
  export type DeleteInviteData = {
@@ -1299,6 +2107,95 @@ export type DeleteInviteResponses = {
1299
2107
  */
1300
2108
  200: unknown;
1301
2109
  };
2110
+ export type ListMarketplaceChartsData = {
2111
+ body?: never;
2112
+ path?: never;
2113
+ query?: never;
2114
+ url: '/marketplace';
2115
+ };
2116
+ export type ListMarketplaceChartsErrors = {
2117
+ /**
2118
+ * Not authenticated
2119
+ */
2120
+ 401: unknown;
2121
+ };
2122
+ export type ListMarketplaceChartsResponses = {
2123
+ /**
2124
+ * An array of chart listings in the marketplace.
2125
+ */
2126
+ 200: Array<MarketplaceListing>;
2127
+ };
2128
+ export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
2129
+ export type GetMarketplaceChartFilesData = {
2130
+ body?: never;
2131
+ path: {
2132
+ /**
2133
+ * Name of the chart in the marketplace.
2134
+ */
2135
+ chart_name: string;
2136
+ /**
2137
+ * Version channel pattern to match (e.g., "1.31.x-cfke.x" for latest 1.31 patch, "1.x.x-cfke.x" for latest 1.x minor).
2138
+ */
2139
+ version_channel: string;
2140
+ };
2141
+ query?: never;
2142
+ url: '/marketplace/{chart_name}/files/{version_channel}';
2143
+ };
2144
+ export type GetMarketplaceChartFilesErrors = {
2145
+ /**
2146
+ * Chart not found or no version matches the channel
2147
+ */
2148
+ 404: unknown;
2149
+ };
2150
+ export type GetMarketplaceChartFilesResponses = {
2151
+ /**
2152
+ * Returns an object containing the chart files for the latest matching version.
2153
+ */
2154
+ 200: MarketplaceListingFiles;
2155
+ };
2156
+ export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
2157
+ export type PostMcpData = {
2158
+ /**
2159
+ * JSON-RPC 2.0 request payload
2160
+ */
2161
+ body: {
2162
+ jsonrpc?: string;
2163
+ method?: string;
2164
+ id?: string | number;
2165
+ /**
2166
+ * Method-specific parameters
2167
+ */
2168
+ params?: {
2169
+ [key: string]: unknown;
2170
+ };
2171
+ };
2172
+ path?: never;
2173
+ query?: never;
2174
+ url: '/mcp';
2175
+ };
2176
+ export type PostMcpErrors = {
2177
+ /**
2178
+ * Not authenticated
2179
+ */
2180
+ 401: unknown;
2181
+ };
2182
+ export type PostMcpResponses = {
2183
+ /**
2184
+ * JSON-RPC 2.0 success or error response
2185
+ */
2186
+ 200: {
2187
+ jsonrpc?: string;
2188
+ id?: string | number;
2189
+ result?: {
2190
+ [key: string]: unknown;
2191
+ };
2192
+ error?: {
2193
+ code?: number;
2194
+ message?: string;
2195
+ };
2196
+ };
2197
+ };
2198
+ export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
1302
2199
  export type GetOrganizationData = {
1303
2200
  body?: never;
1304
2201
  path?: never;
@@ -1320,10 +2217,255 @@ export type CreateOrganizationData = {
1320
2217
  };
1321
2218
  export type CreateOrganizationResponses = {
1322
2219
  /**
1323
- * Successfully created a new organization.
2220
+ * Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
2221
+ *
2222
+ */
2223
+ 200: OrganizationCreateOutput;
2224
+ };
2225
+ export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
2226
+ export type ListRepositoriesData = {
2227
+ body?: never;
2228
+ path?: never;
2229
+ query?: never;
2230
+ url: '/registry';
2231
+ };
2232
+ export type ListRepositoriesErrors = {
2233
+ /**
2234
+ * Not authenticated
2235
+ */
2236
+ 401: unknown;
2237
+ /**
2238
+ * Internal server error
2239
+ */
2240
+ 500: unknown;
2241
+ };
2242
+ export type ListRepositoriesResponses = {
2243
+ /**
2244
+ * List of repositories
2245
+ */
2246
+ 200: Array<RegistryRepository>;
2247
+ };
2248
+ export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
2249
+ export type ListTagsData = {
2250
+ body?: never;
2251
+ path: {
2252
+ /**
2253
+ * Region where the repository is located
2254
+ */
2255
+ region: string;
2256
+ /**
2257
+ * Name of the repository
2258
+ */
2259
+ repository: string;
2260
+ };
2261
+ query?: never;
2262
+ url: '/registry/{region}/{repository}';
2263
+ };
2264
+ export type ListTagsErrors = {
2265
+ /**
2266
+ * Not authenticated
2267
+ */
2268
+ 401: unknown;
2269
+ /**
2270
+ * Repository not found
2271
+ */
2272
+ 404: unknown;
2273
+ /**
2274
+ * Internal server error
2275
+ */
2276
+ 500: unknown;
2277
+ };
2278
+ export type ListTagsResponses = {
2279
+ /**
2280
+ * Repository with tags
2281
+ */
2282
+ 200: RegistryRepositoryWithTags;
2283
+ };
2284
+ export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
2285
+ export type DeleteTagData = {
2286
+ body?: never;
2287
+ path: {
2288
+ /**
2289
+ * Region where the repository is located
2290
+ */
2291
+ region: string;
2292
+ /**
2293
+ * Name of the repository
2294
+ */
2295
+ repository: string;
2296
+ /**
2297
+ * Name of the tag
2298
+ */
2299
+ tag: string;
2300
+ };
2301
+ query?: never;
2302
+ url: '/registry/{region}/{repository}/{tag}';
2303
+ };
2304
+ export type DeleteTagErrors = {
2305
+ /**
2306
+ * Not authenticated
2307
+ */
2308
+ 401: unknown;
2309
+ /**
2310
+ * Tag not found
2311
+ */
2312
+ 404: unknown;
2313
+ /**
2314
+ * Internal server error
2315
+ */
2316
+ 500: unknown;
2317
+ };
2318
+ export type DeleteTagResponses = {
2319
+ /**
2320
+ * Tag successfully deleted
1324
2321
  */
1325
2322
  200: unknown;
1326
2323
  };
2324
+ export type GetTagData = {
2325
+ body?: never;
2326
+ path: {
2327
+ /**
2328
+ * Region where the repository is located
2329
+ */
2330
+ region: string;
2331
+ /**
2332
+ * Name of the repository
2333
+ */
2334
+ repository: string;
2335
+ /**
2336
+ * Name of the tag
2337
+ */
2338
+ tag: string;
2339
+ };
2340
+ query?: never;
2341
+ url: '/registry/{region}/{repository}/{tag}';
2342
+ };
2343
+ export type GetTagErrors = {
2344
+ /**
2345
+ * Not authenticated
2346
+ */
2347
+ 401: unknown;
2348
+ /**
2349
+ * Tag not found
2350
+ */
2351
+ 404: unknown;
2352
+ /**
2353
+ * Internal server error
2354
+ */
2355
+ 500: unknown;
2356
+ };
2357
+ export type GetTagResponses = {
2358
+ /**
2359
+ * Tag details
2360
+ */
2361
+ 200: RegistryTag;
2362
+ };
2363
+ export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
2364
+ export type ListTicketsData = {
2365
+ body?: never;
2366
+ path?: never;
2367
+ query?: never;
2368
+ url: '/tickets';
2369
+ };
2370
+ export type ListTicketsResponses = {
2371
+ /**
2372
+ * Tickets for the organization.
2373
+ */
2374
+ 200: TicketListResponse;
2375
+ };
2376
+ export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
2377
+ export type CreateTicketData = {
2378
+ body: {
2379
+ /**
2380
+ * JSON-encoded TicketCreateInput.
2381
+ */
2382
+ payload?: string;
2383
+ attachments?: Array<Blob | File>;
2384
+ };
2385
+ path?: never;
2386
+ query?: never;
2387
+ url: '/tickets';
2388
+ };
2389
+ export type CreateTicketResponses = {
2390
+ /**
2391
+ * Ticket created.
2392
+ */
2393
+ 200: Ticket;
2394
+ };
2395
+ export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
2396
+ export type CloseTicketData = {
2397
+ body?: never;
2398
+ path: {
2399
+ ticket_id: string;
2400
+ };
2401
+ query?: never;
2402
+ url: '/tickets/{ticket_id}';
2403
+ };
2404
+ export type CloseTicketResponses = {
2405
+ /**
2406
+ * Ticket closed.
2407
+ */
2408
+ 200: Ticket;
2409
+ };
2410
+ export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
2411
+ export type GetTicketData = {
2412
+ body?: never;
2413
+ path: {
2414
+ ticket_id: string;
2415
+ };
2416
+ query?: never;
2417
+ url: '/tickets/{ticket_id}';
2418
+ };
2419
+ export type GetTicketResponses = {
2420
+ /**
2421
+ * Ticket with messages (internal notes excluded).
2422
+ */
2423
+ 200: Ticket;
2424
+ };
2425
+ export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
2426
+ export type ReplyTicketData = {
2427
+ body: {
2428
+ /**
2429
+ * JSON-encoded TicketMessageInput.
2430
+ */
2431
+ payload?: string;
2432
+ attachments?: Array<Blob | File>;
2433
+ };
2434
+ path: {
2435
+ ticket_id: string;
2436
+ };
2437
+ query?: never;
2438
+ url: '/tickets/{ticket_id}/messages';
2439
+ };
2440
+ export type ReplyTicketErrors = {
2441
+ /**
2442
+ * Ticket is closed. Open a new ticket instead.
2443
+ */
2444
+ 409: unknown;
2445
+ };
2446
+ export type ReplyTicketResponses = {
2447
+ /**
2448
+ * Reply appended.
2449
+ */
2450
+ 200: TicketMessage;
2451
+ };
2452
+ export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
2453
+ export type GetTicketAttachmentData = {
2454
+ body?: never;
2455
+ path: {
2456
+ ticket_id: string;
2457
+ attachment_id: string;
2458
+ };
2459
+ query?: never;
2460
+ url: '/tickets/{ticket_id}/attachments/{attachment_id}';
2461
+ };
2462
+ export type GetTicketAttachmentResponses = {
2463
+ /**
2464
+ * Attachment binary stream.
2465
+ */
2466
+ 200: Blob | File;
2467
+ };
2468
+ export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
1327
2469
  export type ListTokensData = {
1328
2470
  body?: never;
1329
2471
  path?: never;
@@ -1580,56 +2722,4 @@ export type UpdateUserResponses = {
1580
2722
  200: User;
1581
2723
  };
1582
2724
  export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
1583
- export type DeleteClusterPermissionsData = {
1584
- body?: never;
1585
- path: {
1586
- /**
1587
- * Unique user identifier. UUID v4 string in canonical form
1588
- */
1589
- user_id: string;
1590
- /**
1591
- * Unique cluster identifier. UUID v4 string in canonical form
1592
- */
1593
- cluster_id: string;
1594
- };
1595
- query?: never;
1596
- url: '/users/{user_id}/clusters/{cluster_id}';
1597
- };
1598
- export type DeleteClusterPermissionsResponses = {
1599
- /**
1600
- * Successfully removed user from the cluster. Returns updated user details.
1601
- */
1602
- 200: User;
1603
- };
1604
- export type DeleteClusterPermissionsResponse = DeleteClusterPermissionsResponses[keyof DeleteClusterPermissionsResponses];
1605
- export type SetClusterPermissionsData = {
1606
- body: {
1607
- /**
1608
- * Level of permissions for the user to access the cluster
1609
- */
1610
- permissions?: 'readwrite' | 'readonly';
1611
- };
1612
- path: {
1613
- /**
1614
- * Unique user identifier. UUID v4 string in canonical form
1615
- */
1616
- user_id: string;
1617
- /**
1618
- * Unique cluster identifier. UUID v4 string in canonical form
1619
- */
1620
- cluster_id: string;
1621
- };
1622
- query?: never;
1623
- url: '/users/{user_id}/clusters/{cluster_id}';
1624
- };
1625
- export type SetClusterPermissionsResponses = {
1626
- /**
1627
- * Successfully created. Returns created user details.
1628
- */
1629
- 200: User;
1630
- };
1631
- export type SetClusterPermissionsResponse = SetClusterPermissionsResponses[keyof SetClusterPermissionsResponses];
1632
- export type ClientOptions = {
1633
- baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
1634
- };
1635
2725
  //# sourceMappingURL=types.gen.d.ts.map