@cloudfleet/sdk 0.0.1-2bdeb58 → 0.0.1-2c9b8db

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 (73) hide show
  1. package/README.md +26 -2
  2. package/dist/@tanstack/react-query.gen.d.ts +1159 -0
  3. package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
  4. package/dist/@tanstack/react-query.gen.js +1175 -0
  5. package/dist/@tanstack/react-query.gen.js.map +1 -0
  6. package/dist/client/client.gen.d.ts +3 -0
  7. package/dist/client/client.gen.d.ts.map +1 -0
  8. package/dist/client/client.gen.js +217 -0
  9. package/dist/client/client.gen.js.map +1 -0
  10. package/dist/client/index.d.ts +9 -0
  11. package/dist/client/index.d.ts.map +1 -0
  12. package/dist/client/index.js +7 -0
  13. package/dist/client/index.js.map +1 -0
  14. package/dist/client/types.gen.d.ts +121 -0
  15. package/dist/client/types.gen.d.ts.map +1 -0
  16. package/dist/client/types.gen.js +3 -0
  17. package/dist/client/types.gen.js.map +1 -0
  18. package/dist/client/utils.gen.d.ts +38 -0
  19. package/dist/client/utils.gen.d.ts.map +1 -0
  20. package/dist/client/utils.gen.js +229 -0
  21. package/dist/client/utils.gen.js.map +1 -0
  22. package/dist/client.gen.d.ts +4 -4
  23. package/dist/client.gen.d.ts.map +1 -1
  24. package/dist/client.gen.js +2 -4
  25. package/dist/client.gen.js.map +1 -1
  26. package/dist/core/auth.gen.d.ts +19 -0
  27. package/dist/core/auth.gen.d.ts.map +1 -0
  28. package/dist/core/auth.gen.js +15 -0
  29. package/dist/core/auth.gen.js.map +1 -0
  30. package/dist/core/bodySerializer.gen.d.ts +26 -0
  31. package/dist/core/bodySerializer.gen.d.ts.map +1 -0
  32. package/dist/core/bodySerializer.gen.js +58 -0
  33. package/dist/core/bodySerializer.gen.js.map +1 -0
  34. package/dist/core/params.gen.d.ts +44 -0
  35. package/dist/core/params.gen.d.ts.map +1 -0
  36. package/dist/core/params.gen.js +101 -0
  37. package/dist/core/params.gen.js.map +1 -0
  38. package/dist/core/pathSerializer.gen.d.ts +34 -0
  39. package/dist/core/pathSerializer.gen.d.ts.map +1 -0
  40. package/dist/core/pathSerializer.gen.js +107 -0
  41. package/dist/core/pathSerializer.gen.js.map +1 -0
  42. package/dist/core/queryKeySerializer.gen.d.ts +19 -0
  43. package/dist/core/queryKeySerializer.gen.d.ts.map +1 -0
  44. package/dist/core/queryKeySerializer.gen.js +93 -0
  45. package/dist/core/queryKeySerializer.gen.js.map +1 -0
  46. package/dist/core/serverSentEvents.gen.d.ts +72 -0
  47. package/dist/core/serverSentEvents.gen.d.ts.map +1 -0
  48. package/dist/core/serverSentEvents.gen.js +133 -0
  49. package/dist/core/serverSentEvents.gen.js.map +1 -0
  50. package/dist/core/types.gen.d.ts +79 -0
  51. package/dist/core/types.gen.d.ts.map +1 -0
  52. package/dist/core/types.gen.js +3 -0
  53. package/dist/core/types.gen.js.map +1 -0
  54. package/dist/core/utils.gen.d.ts +20 -0
  55. package/dist/core/utils.gen.d.ts.map +1 -0
  56. package/dist/core/utils.gen.js +88 -0
  57. package/dist/core/utils.gen.js.map +1 -0
  58. package/dist/schemas.gen.d.ts +1739 -746
  59. package/dist/schemas.gen.d.ts.map +1 -1
  60. package/dist/schemas.gen.js +3068 -803
  61. package/dist/schemas.gen.js.map +1 -1
  62. package/dist/sdk.gen.d.ts +301 -176
  63. package/dist/sdk.gen.d.ts.map +1 -1
  64. package/dist/sdk.gen.js +430 -351
  65. package/dist/sdk.gen.js.map +1 -1
  66. package/dist/services/kubernetes/api.d.ts +20 -20
  67. package/dist/types.gen.d.ts +1843 -831
  68. package/dist/types.gen.d.ts.map +1 -1
  69. package/dist/zod.gen.d.ts +3887 -2328
  70. package/dist/zod.gen.d.ts.map +1 -1
  71. package/dist/zod.gen.js +1562 -852
  72. package/dist/zod.gen.js.map +1 -1
  73. package/package.json +28 -9
@@ -1,4 +1,11 @@
1
+ export type ClientOptions = {
2
+ baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
3
+ };
1
4
  export type BillingContact = {
5
+ /**
6
+ * Type of the organization. `business` for legal entities, `personal` for individuals.
7
+ */
8
+ type: 'business' | 'personal';
2
9
  /**
3
10
  * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
4
11
  */
@@ -36,13 +43,9 @@ export type BillingContact = {
36
43
  */
37
44
  email: string;
38
45
  /**
39
- * First name of the billing contact person.
40
- */
41
- first_name: string;
42
- /**
43
- * Last name of the billing contact person.
46
+ * Name of the billing contact person.
44
47
  */
45
- last_name: string;
48
+ individual_name: string;
46
49
  /**
47
50
  * Tax ID of the organization.
48
51
  */
@@ -50,7 +53,7 @@ export type BillingContact = {
50
53
  /**
51
54
  * Type of the tax ID.
52
55
  */
53
- tax_id_type?: 'ad_nrt' | 'ae_trn' | 'al_tin' | 'am_tin' | 'ao_tin' | 'ar_cuit' | 'au_abn' | 'au_arn' | 'ba_tin' | 'bb_tin' | 'bg_uic' | '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' | 'de_stn' | 'do_rcn' | 'ec_ruc' | 'eg_tin' | 'es_cif' | 'eu_oss_vat' | 'eu_vat' | 'gb_vat' | 'ge_vat' | 'gn_nif' | 'hk_br' | 'hr_oib' | 'hu_tin' | 'id_npwp' | 'il_vat' | 'in_gst' | 'is_vat' | 'jp_cn' | 'jp_rn' | 'jp_trn' | 'ke_pin' | 'kh_tin' | 'kr_brn' | 'kz_bin' | 'li_uid' | 'li_vat' | 'ma_vat' | 'md_vat' | 'me_pib' | 'mk_vat' | 'mr_nif' | 'mx_rfc' | 'my_frp' | 'my_itn' | 'my_sst' | 'ng_tin' | 'no_vat' | 'no_voec' | 'np_pan' | 'nz_gst' | 'om_vat' | 'pe_ruc' | 'ph_tin' | 'ro_tin' | 'rs_pib' | 'ru_inn' | 'ru_kpp' | 'sa_vat' | 'sg_gst' | 'sg_uen' | 'si_tin' | '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' | 'za_vat' | 'zm_tin' | 'zw_tin';
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' | '';
54
57
  };
55
58
  export type BillingCredits = {
56
59
  /**
@@ -58,45 +61,41 @@ export type BillingCredits = {
58
61
  */
59
62
  id?: string;
60
63
  /**
61
- * Date of the credit application. ISO 8601 date string in the UTC timezone.
62
- */
63
- date_created: string;
64
- /**
65
- * Promotional code used by the customer.
64
+ * Type of the promotional code.
66
65
  */
67
- code: string;
66
+ type: 'credit' | 'discount';
68
67
  /**
69
- * Description of the promotional code.
68
+ * Timestamp when the credit becomes active. ISO 8601 date string in the UTC timezone.
70
69
  */
71
- description?: string;
70
+ date_start: string;
72
71
  /**
73
- * List of product SKUs that the promotional code can be used on.
72
+ * Timestamp when the credit expires or becomes inactive. ISO 8601 date string in the UTC timezone.
74
73
  */
75
- products?: Array<string>;
74
+ date_end?: string;
76
75
  /**
77
- * Type of the promotional code.
76
+ * Promotional code used by the customer.
78
77
  */
79
- type: 'credit' | 'discount';
78
+ code: string;
80
79
  /**
81
- * Value of the promotional code.
80
+ * Description of the promotional code.
82
81
  */
83
- value: number;
82
+ description?: string;
84
83
  /**
85
- * Date of the billing cycle. An ISO 8601 date string in the UTC timezone.
84
+ * Total value of the promotional code.
86
85
  */
87
- billing_period: string;
86
+ value_total: number;
88
87
  /**
89
- * Value of the promotional code.
88
+ * Remaining value of the promotional code.
90
89
  */
91
90
  value_remaining?: number;
92
91
  };
93
92
  export type ChartCreateInput = {
94
93
  /**
95
- * Values to be used in the chart.
94
+ * Values to be used in the chart encoded as a JSON string.
96
95
  */
97
96
  values: string;
98
97
  /**
99
- * Version of the chart.
98
+ * Desired version range or channel for the chart.
100
99
  */
101
100
  version_channel: string;
102
101
  /**
@@ -114,11 +113,11 @@ export type ChartCreateInput = {
114
113
  };
115
114
  export type Chart = {
116
115
  /**
117
- * Values to be used in the chart.
116
+ * Values to be used in the chart encoded as a JSON string.
118
117
  */
119
118
  values: string;
120
119
  /**
121
- * Version of the chart.
120
+ * Desired version range or channel for the chart.
122
121
  */
123
122
  version_channel: string;
124
123
  /**
@@ -134,9 +133,9 @@ export type Chart = {
134
133
  */
135
134
  chart: string;
136
135
  /**
137
- * Status of the chart deployment.
136
+ * Status of the chart deployment (Flux HelmRelease Ready condition reason, e.g. InstallSucceeded, UpgradeFailed, Progressing).
138
137
  */
139
- status: 'InstallSucceeded' | 'InstallFailed' | 'UpgradeSucceeded' | 'UpgradeFailed' | 'TestSucceeded' | 'TestFailed' | 'RollbackSucceeded' | 'RollbackFailed' | 'UninstallSucceeded' | 'UninstallFailed' | 'ArtifactFailed' | 'DependencyNotReady' | 'Progressing';
138
+ status: string;
140
139
  /**
141
140
  * Current version of the chart deployment.
142
141
  */
@@ -156,31 +155,80 @@ export type Chart = {
156
155
  };
157
156
  export type ChartUpdateInput = {
158
157
  /**
159
- * Values to be used in the chart.
158
+ * Values to be used in the chart encoded as a JSON string.
160
159
  */
161
160
  values: string;
162
161
  /**
163
- * Version of the chart.
162
+ * Desired version range or channel for the chart.
164
163
  */
165
164
  version_channel: string;
166
165
  };
166
+ /**
167
+ * Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
168
+ */
167
169
  export type ClusterCreateInput = {
168
170
  /**
169
171
  * Name of the cluster.
170
172
  */
171
173
  name: string;
172
- /**
173
- * Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.
174
- */
175
- region?: 'staging' | 'northamerica-central-1';
176
174
  /**
177
175
  * Tier of the cluster.
178
176
  */
179
- tier: 'basic' | 'pro';
177
+ tier?: 'basic' | 'pro' | 'enterprise';
180
178
  /**
181
179
  * Version of the kubernetes cluster.
182
180
  */
183
181
  version_channel?: string;
182
+ /**
183
+ * Release channel for the cluster's control plane.
184
+ */
185
+ release_channel?: 'rapid' | 'stable' | 'extended';
186
+ /**
187
+ * Cluster feature toggles.
188
+ */
189
+ features?: {
190
+ /**
191
+ * GPU sharing strategy.
192
+ */
193
+ gpu_sharing_strategy?: 'none' | 'mps' | 'time_slicing';
194
+ /**
195
+ * Maximum number of pods that may share a single GPU.
196
+ */
197
+ gpu_max_shared_clients_per_gpu?: number;
198
+ /**
199
+ * Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
200
+ */
201
+ cilium_socket_lb_host_namespace_only?: boolean;
202
+ };
203
+ /**
204
+ * Cloudfleet control plane region. This field can not be updated after creation.
205
+ */
206
+ region: string;
207
+ /**
208
+ * Cluster networking configuration. Immutable after creation.
209
+ */
210
+ networking?: {
211
+ /**
212
+ * CIDR block for pod IPs.
213
+ */
214
+ pod_cidr?: string;
215
+ /**
216
+ * CIDR block for service IPs.
217
+ */
218
+ service_cidr?: string;
219
+ /**
220
+ * Enable IPv4+IPv6 dual-stack networking.
221
+ */
222
+ dual_stack?: boolean;
223
+ /**
224
+ * IPv6 pod CIDR. Requires dual_stack.
225
+ */
226
+ pod_cidr_v6?: string;
227
+ /**
228
+ * IPv6 service CIDR. Requires dual_stack.
229
+ */
230
+ service_cidr_v6?: string;
231
+ };
184
232
  };
185
233
  export type ClusterJoinInformation = {
186
234
  /**
@@ -191,6 +239,14 @@ export type ClusterJoinInformation = {
191
239
  * Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.
192
240
  */
193
241
  endpoint: string;
242
+ /**
243
+ * Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.
244
+ */
245
+ cluster_dns: string;
246
+ /**
247
+ * Pod CIDR for the cluster. Used to configure iptables rules on nodes to prevent Tailscale routing loops.
248
+ */
249
+ pod_cidr: string;
194
250
  /**
195
251
  * Authentication key for the cluster.
196
252
  */
@@ -215,6 +271,10 @@ export type ClusterJoinInformation = {
215
271
  * Containerd version of the cluster.
216
272
  */
217
273
  containerd: string;
274
+ /**
275
+ * NVIDIA driver version of the cluster.
276
+ */
277
+ nvidia_driver: string;
218
278
  };
219
279
  /**
220
280
  * OIDC Information for hosts to access to third party API's.
@@ -234,32 +294,82 @@ export type ClusterJoinInformation = {
234
294
  gcp_workload_identity_provider: string;
235
295
  };
236
296
  };
297
+ /**
298
+ * Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
299
+ */
237
300
  export type Cluster = {
238
301
  /**
239
302
  * Name of the cluster.
240
303
  */
241
304
  name: string;
242
- /**
243
- * Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.
244
- */
245
- region?: 'staging' | 'northamerica-central-1';
246
305
  /**
247
306
  * Tier of the cluster.
248
307
  */
249
- tier: 'basic' | 'pro';
308
+ tier: 'basic' | 'pro' | 'enterprise';
250
309
  /**
251
310
  * Version of the kubernetes cluster.
252
311
  */
253
- version_channel?: string;
312
+ version_channel: string;
313
+ /**
314
+ * Release channel for the cluster's control plane.
315
+ */
316
+ release_channel: 'rapid' | 'stable' | 'extended';
317
+ /**
318
+ * Cluster feature toggles.
319
+ */
320
+ features: {
321
+ /**
322
+ * GPU sharing strategy.
323
+ */
324
+ gpu_sharing_strategy: 'none' | 'mps' | 'time_slicing';
325
+ /**
326
+ * Maximum number of pods that may share a single GPU.
327
+ */
328
+ gpu_max_shared_clients_per_gpu: number;
329
+ /**
330
+ * Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
331
+ */
332
+ cilium_socket_lb_host_namespace_only: boolean;
333
+ };
334
+ /**
335
+ * Cloudfleet control plane region. This field can not be updated after creation.
336
+ */
337
+ region: string;
338
+ /**
339
+ * Cluster networking configuration. Immutable after creation.
340
+ */
341
+ networking: {
342
+ /**
343
+ * CIDR block for pod IPs.
344
+ */
345
+ pod_cidr: string;
346
+ /**
347
+ * CIDR block for service IPs.
348
+ */
349
+ service_cidr: string;
350
+ /**
351
+ * Enable IPv4+IPv6 dual-stack networking.
352
+ */
353
+ dual_stack: boolean;
354
+ /**
355
+ * IPv6 pod CIDR. Requires dual_stack.
356
+ */
357
+ pod_cidr_v6: string;
358
+ /**
359
+ * IPv6 service CIDR. Requires dual_stack.
360
+ */
361
+ service_cidr_v6: string;
362
+ };
254
363
  /**
255
364
  * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
256
365
  */
257
366
  id: string;
258
367
  /**
259
- * Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.
368
+ * Status of the cluster.
260
369
  */
261
- status: 'active' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
370
+ status: 'creating' | 'deployed' | 'updating' | 'disabled';
262
371
  endpoint?: string | '';
372
+ endpoint_public?: string | '';
263
373
  /**
264
374
  * Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
265
375
  */
@@ -279,129 +389,259 @@ export type Cluster = {
279
389
  /**
280
390
  * Indicates if the cluster is ready to be used.
281
391
  */
282
- ready?: boolean;
392
+ ready: boolean;
283
393
  };
394
+ /**
395
+ * Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
396
+ */
284
397
  export type ClusterUpdateInput = {
285
398
  /**
286
399
  * Name of the cluster.
287
400
  */
288
- name?: string;
401
+ name: string;
402
+ /**
403
+ * Tier of the cluster.
404
+ */
405
+ tier?: 'basic' | 'pro' | 'enterprise';
289
406
  /**
290
407
  * Version of the kubernetes cluster.
291
408
  */
292
409
  version_channel?: string;
410
+ /**
411
+ * Release channel for the cluster's control plane.
412
+ */
413
+ release_channel?: 'rapid' | 'stable' | 'extended';
414
+ /**
415
+ * Cluster feature toggles.
416
+ */
417
+ features?: {
418
+ /**
419
+ * GPU sharing strategy.
420
+ */
421
+ gpu_sharing_strategy?: 'none' | 'mps' | 'time_slicing';
422
+ /**
423
+ * Maximum number of pods that may share a single GPU.
424
+ */
425
+ gpu_max_shared_clients_per_gpu?: number;
426
+ /**
427
+ * Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
428
+ */
429
+ cilium_socket_lb_host_namespace_only?: boolean;
430
+ };
293
431
  };
432
+ /**
433
+ * Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
434
+ */
294
435
  export type FleetCreateInput = {
295
436
  /**
296
437
  * Limits define a set of bounds for provisioning capacity.
297
438
  */
298
439
  limits?: {
299
440
  /**
300
- * CPU limit in cores.
441
+ * CPU limit in cores. Maximum 100,000.
301
442
  */
302
- cpu: number;
443
+ cpu?: number;
303
444
  };
304
445
  gcp?: {
305
- enabled?: boolean;
446
+ enabled: boolean;
306
447
  /**
307
- * Project GCP Project id to deploy instances into
448
+ * GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.
308
449
  */
309
- project: string;
450
+ project?: string;
310
451
  };
311
452
  hetzner?: {
312
- enabled?: boolean;
313
- apiKey?: string;
314
- } | {
453
+ enabled: boolean;
454
+ /**
455
+ * Hetzner Cloud API token with read/write access (64 alphanumeric characters). Write-only: reads return a redacted placeholder, never the token. Omit the field, or send the placeholder back unchanged, to keep the existing key. Send a new value to rotate it.
456
+ */
315
457
  apiKey?: string;
316
- enabled?: boolean;
317
458
  };
318
459
  aws?: {
319
- enabled?: boolean;
460
+ enabled: boolean;
320
461
  /**
321
- * ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.
462
+ * AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
322
463
  */
323
- controllerRoleArn: string;
464
+ controllerRoleArn?: string;
324
465
  };
325
466
  /**
326
- * Unique identifier of the kubernetes fleet.
467
+ * 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.
327
468
  */
328
- id: string;
469
+ constraints?: {
470
+ /**
471
+ * Allowed values for `karpenter.sh/capacity-type`.
472
+ */
473
+ 'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
474
+ /**
475
+ * Allowed values for `kubernetes.io/arch`.
476
+ */
477
+ 'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
478
+ /**
479
+ * Allowed values for `cfke.io/instance-family`.
480
+ */
481
+ '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'>;
482
+ /**
483
+ * Allowed values for `topology.kubernetes.io/region`.
484
+ */
485
+ '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'>;
486
+ };
487
+ /**
488
+ * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet. Full-overwrite: omit to reset to the default (`conservative`).
489
+ */
490
+ scalingProfile?: 'aggressive' | 'conservative';
329
491
  /**
330
- * Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.
492
+ * Unique identifier of the kubernetes fleet.
331
493
  */
332
- type: 'managed' | 'connected';
494
+ id: string;
333
495
  };
496
+ /**
497
+ * Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
498
+ */
334
499
  export type Fleet = {
335
500
  /**
336
501
  * Limits define a set of bounds for provisioning capacity.
337
502
  */
338
503
  limits?: {
339
504
  /**
340
- * CPU limit in cores.
505
+ * CPU limit in cores. Maximum 100,000.
341
506
  */
342
- cpu: number;
507
+ cpu?: number;
343
508
  };
344
509
  gcp?: {
345
- enabled?: boolean;
510
+ enabled: boolean;
346
511
  /**
347
- * Project GCP Project id to deploy instances into
512
+ * GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.
348
513
  */
349
- project: string;
514
+ project?: string;
350
515
  };
351
516
  hetzner?: {
352
- enabled?: boolean;
353
- apiKey?: string;
354
- } | {
517
+ enabled: boolean;
518
+ /**
519
+ * Redacted Hetzner API token. Returned as 64 asterisks when a token is configured; omitted otherwise. The real value is never echoed by the API.
520
+ */
355
521
  apiKey?: string;
356
- enabled?: boolean;
357
522
  };
358
523
  aws?: {
359
- enabled?: boolean;
524
+ enabled: boolean;
525
+ /**
526
+ * AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
527
+ */
528
+ controllerRoleArn?: string;
529
+ };
530
+ /**
531
+ * 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.
532
+ */
533
+ constraints: {
534
+ /**
535
+ * Allowed values for `karpenter.sh/capacity-type`.
536
+ */
537
+ 'karpenter.sh/capacity-type': Array<'on-demand' | 'spot'>;
360
538
  /**
361
- * ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.
539
+ * Allowed values for `kubernetes.io/arch`.
362
540
  */
363
- controllerRoleArn: string;
541
+ 'kubernetes.io/arch': Array<'amd64' | 'arm64'>;
542
+ /**
543
+ * Allowed values for `cfke.io/instance-family`.
544
+ */
545
+ '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'>;
546
+ /**
547
+ * Allowed values for `topology.kubernetes.io/region`.
548
+ */
549
+ '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'>;
364
550
  };
551
+ /**
552
+ * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet. Full-overwrite: omit to reset to the default (`conservative`).
553
+ */
554
+ scalingProfile: 'aggressive' | 'conservative';
365
555
  /**
366
556
  * Unique identifier of the kubernetes fleet.
367
557
  */
368
558
  id: string;
369
559
  /**
370
- * Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.
560
+ * Indicates whether the fleet configuration is healthy.
561
+ */
562
+ ready: boolean;
563
+ /**
564
+ * Human-readable reason the fleet is not ready. Present only when `ready` is false.
565
+ */
566
+ status_message?: string;
567
+ /**
568
+ * Creation date and time of the fleet.
569
+ */
570
+ created_at: string;
571
+ /**
572
+ * Date and time the fleet was last updated.
371
573
  */
372
- type: 'managed' | 'connected';
574
+ updated_at: string;
373
575
  };
576
+ /**
577
+ * Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
578
+ */
374
579
  export type FleetUpdateInput = {
375
580
  /**
376
581
  * Limits define a set of bounds for provisioning capacity.
377
582
  */
378
583
  limits?: {
379
584
  /**
380
- * CPU limit in cores.
585
+ * CPU limit in cores. Maximum 100,000.
381
586
  */
382
- cpu: number;
587
+ cpu?: number;
383
588
  };
384
589
  gcp?: {
385
- enabled?: boolean;
590
+ enabled: boolean;
386
591
  /**
387
- * Project GCP Project id to deploy instances into
592
+ * GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.
388
593
  */
389
- project: string;
594
+ project?: string;
390
595
  };
391
596
  hetzner?: {
392
- enabled?: boolean;
393
- apiKey?: string;
394
- } | {
597
+ enabled: boolean;
598
+ /**
599
+ * Hetzner Cloud API token with read/write access (64 alphanumeric characters). Write-only: reads return a redacted placeholder, never the token. Omit the field, or send the placeholder back unchanged, to keep the existing key. Send a new value to rotate it.
600
+ */
395
601
  apiKey?: string;
396
- enabled?: boolean;
397
602
  };
398
603
  aws?: {
399
- enabled?: boolean;
604
+ enabled: boolean;
605
+ /**
606
+ * AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
607
+ */
608
+ controllerRoleArn?: string;
609
+ };
610
+ /**
611
+ * 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.
612
+ */
613
+ constraints?: {
614
+ /**
615
+ * Allowed values for `karpenter.sh/capacity-type`.
616
+ */
617
+ 'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
618
+ /**
619
+ * Allowed values for `kubernetes.io/arch`.
620
+ */
621
+ 'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
622
+ /**
623
+ * Allowed values for `cfke.io/instance-family`.
624
+ */
625
+ 'cfke.io/instance-family'?: Array<'a1' | 'a2' | 'a3' | 'a4' | 'c1' | 'c2' | 'c2d' | 'c3' | 'c3d' | 'c4' | 'c4a' | 'c4d' | 'c5' | 'c5a' | 'c5ad' | 'c5d' | 'c5n' | 'c6a' | 'c6g' | 'c6gd' | 'c6gn' | 'c6i' | 'c6id' | 'c6in' | 'c7a' | 'c7g' | 'c7gd' | 'c7gn' | 'c7i' | 'c7i-flex' | 'c8g' | 'c8gd' | 'cax' | 'ccx' | 'cpx' | 'cx' | 'd2' | 'd3' | 'd3en' | 'dl1' | 'dl2q' | 'e2' | 'f1' | 'f2' | 'g1' | 'g2' | 'g4ad' | 'g4dn' | 'g5' | 'g5g' | 'g6' | 'g6e' | 'gr6' | 'h1' | 'h3' | 'hpc6a' | 'hpc6id' | 'hpc7a' | 'hpc7g' | 'i2' | 'i3' | 'i3en' | 'i4g' | 'i4i' | 'i7i' | 'i7ie' | 'i8g' | 'im4gn' | 'inf1' | 'inf2' | 'is4gen' | 'm1' | 'm2' | 'm3' | 'm4' | 'm5' | 'm5a' | 'm5ad' | 'm5d' | 'm5dn' | 'm5n' | 'm5zn' | 'm6a' | 'm6g' | 'm6gd' | 'm6i' | 'm6id' | 'm6idn' | 'm6in' | 'm7a' | 'm7g' | 'm7gd' | 'm7i' | 'm7i-flex' | 'm8g' | 'm8gd' | 'n1' | 'n2' | 'n2d' | 'n4' | 'p3' | 'p3dn' | 'p4d' | 'p4de' | 'p5' | 'p5e' | 'p5en' | 'p6-b200' | 'r3' | 'r4' | 'r5' | 'r5a' | 'r5ad' | 'r5b' | 'r5d' | 'r5dn' | 'r5n' | 'r6a' | 'r6g' | 'r6gd' | 'r6i' | 'r6id' | 'r6idn' | 'r6in' | 'r7a' | 'r7g' | 'r7gd' | 'r7i' | 'r7iz' | 'r8g' | 'r8gd' | 't2' | 't2a' | 't2d' | 't3' | 't3a' | 't4g' | 'trn1' | 'trn1n' | 'u-3tb1' | 'u-6tb1' | 'u7i-12tb' | 'u7i-6tb' | 'u7i-8tb' | 'u7in-16tb' | 'u7in-24tb' | 'u7in-32tb' | 'vt1' | 'x1' | 'x1e' | 'x2gd' | 'x2idn' | 'x2iedn' | 'x2iezn' | 'x4' | 'x8g' | 'z1d' | 'z3'>;
400
626
  /**
401
- * ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.
627
+ * Allowed values for `topology.kubernetes.io/region`.
402
628
  */
403
- controllerRoleArn: string;
629
+ 'topology.kubernetes.io/region'?: Array<'africa-south1' | 'ap-northeast-1' | 'ap-northeast-2' | 'ap-northeast-3' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ash' | 'asia-east1' | 'asia-east2' | 'asia-northeast1' | 'asia-northeast2' | 'asia-northeast3' | 'asia-south1' | 'asia-south2' | 'asia-southeast1' | 'asia-southeast2' | 'australia-southeast1' | 'australia-southeast2' | 'ca-central-1' | 'eu-central-1' | 'eu-central-2' | 'eu-north-1' | 'eu-west-1' | 'eu-west-2' | 'eu-west-3' | 'europe-central2' | 'europe-north1' | 'europe-southwest1' | 'europe-west1' | 'europe-west10' | 'europe-west12' | 'europe-west2' | 'europe-west3' | 'europe-west4' | 'europe-west6' | 'europe-west8' | 'europe-west9' | 'fsn1' | 'hel1' | 'hil' | 'me-central1' | 'me-central2' | 'me-west1' | 'nbg1' | 'northamerica-northeast1' | 'northamerica-northeast2' | 'sa-east-1' | 'sin' | 'southamerica-east1' | 'southamerica-west1' | 'us-central1' | 'us-east-1' | 'us-east-2' | 'us-east1' | 'us-east4' | 'us-east5' | 'us-south1' | 'us-west-1' | 'us-west-2' | 'us-west1' | 'us-west2' | 'us-west3' | 'us-west4'>;
404
630
  };
631
+ /**
632
+ * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet. Full-overwrite: omit to reset to the default (`conservative`).
633
+ */
634
+ scalingProfile?: 'aggressive' | 'conservative';
635
+ };
636
+ export type InviteCreateInput = {
637
+ /**
638
+ * Email address of the user to invite.
639
+ */
640
+ email: string;
641
+ /**
642
+ * Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
643
+ */
644
+ role?: 'Administrator' | 'User';
405
645
  };
406
646
  export type Invite = {
407
647
  /**
@@ -424,433 +664,771 @@ export type Invite = {
424
664
  * Generated unique invite code.
425
665
  */
426
666
  code?: string;
667
+ /**
668
+ * Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
669
+ */
670
+ role?: 'Administrator' | 'User';
427
671
  };
428
672
  export type Invoice = {
429
673
  /**
430
- * Unique identifier of the invoice. UUID v4 string in canonical form
674
+ * Unique identifier of the invoice.
431
675
  */
432
676
  id?: string;
433
- /**
434
- * Unique identifier of the organization. UUID v4 string in canonical form
435
- */
436
- organizationId?: string;
677
+ number?: string;
437
678
  /**
438
679
  * Status of the invoice
439
680
  */
440
- status?: 'DRAFT' | 'COMMITTED' | 'VOID';
681
+ status?: string;
441
682
  /**
442
683
  * Total amount of the invoice
443
684
  */
444
- amount?: number;
685
+ total?: number;
445
686
  /**
446
687
  * Currency of the invoice
447
688
  */
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';
689
+ currency?: string;
690
+ /**
691
+ * Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
692
+ */
693
+ created: string;
694
+ /**
695
+ * Billing period start timestamp. ISO 8601 date string in the UTC timezone.
696
+ */
697
+ period_start: string;
449
698
  /**
450
- * Total amount of credit adjustments
699
+ * Billing period end timestamp. ISO 8601 date string in the UTC timezone.
451
700
  */
452
- creditAdj?: number;
701
+ period_end: string;
702
+ invoice_pdf?: string;
703
+ };
704
+ export type MarketplaceListingFiles = {
705
+ /**
706
+ * Raw Chart.yaml content from the Helm chart
707
+ */
708
+ chartYaml?: string;
453
709
  /**
454
- * Total amount of refund adjustments
710
+ * Raw values.yaml content from the Helm chart
455
711
  */
456
- refundAdj?: number;
712
+ valuesYaml?: string;
457
713
  /**
458
- * Date of the invoice
714
+ * JSON schema for values.yaml as a string
459
715
  */
460
- invoiceDate?: string;
716
+ valuesSchemaJson?: string;
717
+ };
718
+ export type MarketplaceListing = {
461
719
  /**
462
- * Target date of the invoice
720
+ * Name of the chart
463
721
  */
464
- targetDate?: string;
722
+ name: string;
465
723
  /**
466
- * Number of the invoice
724
+ * Available versions of the chart
467
725
  */
468
- invoiceNumber?: string;
726
+ versions: Array<string>;
469
727
  /**
470
- * Balance of the invoice
728
+ * Version channels for the chart
471
729
  */
472
- balance?: number;
730
+ version_channels: Array<string>;
473
731
  /**
474
- * Bundle keys of the invoice
732
+ * Latest version of the chart
475
733
  */
476
- bundleKeys?: string;
734
+ latestVersion: string;
477
735
  /**
478
- * Credits of the invoice
736
+ * Chart metadata
479
737
  */
480
- credits?: Array<{
738
+ metadata?: {
481
739
  /**
482
- * Unique identifier of the invoice item. UUID v4 string in canonical form
740
+ * Chart name from metadata
483
741
  */
484
- id?: string;
742
+ name: string;
485
743
  /**
486
- * Unique identifier of the linked invoice item. UUID v4 string in canonical form
744
+ * Chart version from metadata
487
745
  */
488
- linkedInvoiceItemId?: string;
746
+ version: string;
489
747
  /**
490
- * Name of the product
748
+ * Chart description
491
749
  */
492
- productName?: string;
750
+ description?: string;
493
751
  /**
494
- * Name of the plan
752
+ * Application version
495
753
  */
496
- planName?: string;
754
+ appVersion?: string;
497
755
  /**
498
- * Name of the phase
756
+ * Helm API version
499
757
  */
500
- phaseName?: string;
758
+ apiVersion?: string;
501
759
  /**
502
- * Name of the usage
760
+ * Chart keywords
503
761
  */
504
- usageName?: string;
762
+ keywords?: Array<string>;
505
763
  /**
506
- * Pretty name of the product
764
+ * Chart home URL
507
765
  */
508
- prettyProductName?: string;
766
+ home?: string;
509
767
  /**
510
- * Pretty name of the plan
768
+ * A URL to an SVG or PNG image to be used as an icon
511
769
  */
512
- prettyPlanName?: string;
770
+ icon?: string;
513
771
  /**
514
- * Pretty name of the phase
772
+ * Chart source URLs
515
773
  */
516
- prettyPhaseName?: string;
774
+ sources?: Array<string>;
517
775
  /**
518
- * Pretty name of the usage
776
+ * Chart maintainers
519
777
  */
520
- prettyUsageName?: string;
778
+ maintainers?: Array<{
779
+ /**
780
+ * Maintainer name
781
+ */
782
+ name: string;
783
+ /**
784
+ * Maintainer email
785
+ */
786
+ email?: string;
787
+ }>;
788
+ };
789
+ };
790
+ export type OrganizationCreateInput = {
791
+ /**
792
+ * Type of the organization. `business` for legal entities, `personal` for individuals.
793
+ */
794
+ type: 'business' | 'personal';
795
+ /**
796
+ * Email address used for billing as a string.
797
+ */
798
+ email: string;
799
+ /**
800
+ * First name of the billing contact person.
801
+ */
802
+ first_name: string;
803
+ /**
804
+ * Last name of the billing contact person.
805
+ */
806
+ last_name: string;
807
+ /**
808
+ * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
809
+ */
810
+ company_name: string;
811
+ /**
812
+ * Password for the root account. Must be at least 8 characters long and contain at least one uppercase letter, one lowercase letter, one number and one special character.
813
+ */
814
+ password: string;
815
+ };
816
+ export type OrganizationCreateOutput = {
817
+ /**
818
+ * Unique identifier of the newly created organization. Generated by the API and safe to use for client-side tracking immediately.
819
+ */
820
+ id: string;
821
+ };
822
+ export type Organization = {
823
+ /**
824
+ * Unique identifier of the organization. UUID v4 string in canonical form
825
+ */
826
+ id: string;
827
+ /**
828
+ * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
829
+ */
830
+ name?: string;
831
+ /**
832
+ * Type of the organization. `business` for legal entities, `personal` for individuals.
833
+ */
834
+ type: 'business' | 'personal';
835
+ /**
836
+ * Creation date of the organization. ISO 8601 date string in UTC timezone
837
+ */
838
+ date_created: string;
839
+ /**
840
+ * For security reasons, platform quota is controlled by Cloudfleet and can be updated only by Cloudfleet administrators. Please open a support ticket if you need to change the platform quota.
841
+ */
842
+ quota: {
521
843
  /**
522
- * Type of the invoice item
844
+ * Maximum number of Basic clusters that can be created.
523
845
  */
524
- itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
846
+ basic_clusters_max: number;
525
847
  /**
526
- * Description of the invoice item
848
+ * Available number of Basic clusters that can be created.
527
849
  */
528
- description?: string;
850
+ basic_clusters_available: number;
529
851
  /**
530
- * Start date of the invoice item
852
+ * Maximum number of Pro clusters that can be created.
531
853
  */
532
- startDate?: string;
854
+ pro_clusters_max: number;
533
855
  /**
534
- * End date of the invoice item
856
+ * Available number of Pro clusters that can be created.
535
857
  */
536
- endDate?: string;
858
+ pro_clusters_available: number;
537
859
  /**
538
- * Amount of the invoice item
860
+ * Maximum number of Enterprise clusters that can be created.
539
861
  */
540
- amount?: number;
862
+ enterprise_clusters_max: number;
541
863
  /**
542
- * Rate of the invoice item
864
+ * Available number of Enterprise clusters that can be created.
543
865
  */
544
- rate?: number;
866
+ enterprise_clusters_available: number;
545
867
  /**
546
- * Currency of the invoice item
868
+ * Maximum number of fleets that can be created per cluster.
547
869
  */
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';
870
+ fleets_max: number;
549
871
  /**
550
- * Quantity of the invoice item
872
+ * List of Cloudfleet cluster tiers available for the organization.
551
873
  */
552
- quantity?: number;
874
+ cluster_tiers: Array<string>;
553
875
  /**
554
- * Details of the invoice item
876
+ * List of Cloudfleet control plane regions available for the organization.
555
877
  */
556
- itemDetails?: string;
878
+ regions: Array<string>;
557
879
  /**
558
- * Effective date of the catalog
880
+ * List of CFKE control plane versions available for the organization.
559
881
  */
560
- catalogEffectiveDate?: string;
882
+ versions: Array<{
883
+ /**
884
+ * Id of the control plane version. Used in API calls.
885
+ */
886
+ id: string;
887
+ /**
888
+ * Label of the control plane version. Used in frontent UI.
889
+ */
890
+ label: string;
891
+ }>;
561
892
  /**
562
- * Child items of the invoice item
893
+ * Organization-level maximum CFCR storage volume in GB. -1 means no limit.
563
894
  */
564
- childItems?: Array<Array<unknown> | boolean | number | {
565
- [key: string]: unknown;
566
- } | string>;
567
- }>;
895
+ cfcr_storage_gb: number;
896
+ };
568
897
  /**
569
- * Items of the invoice
898
+ * Status of the organization. Can be `active` or `closed`, or `suspended`.
570
899
  */
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;
608
- /**
609
- * Pretty name of the usage
610
- */
611
- prettyUsageName?: string;
612
- /**
613
- * Type of the invoice item
614
- */
615
- itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
616
- /**
617
- * Description of the invoice item
618
- */
619
- description?: string;
620
- /**
621
- * Start date of the invoice item
622
- */
623
- startDate?: string;
624
- /**
625
- * End date of the invoice item
626
- */
627
- endDate?: string;
628
- /**
629
- * Amount of the invoice item
630
- */
631
- amount?: number;
900
+ status: 'active' | 'closed' | 'suspended';
901
+ /**
902
+ * 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.
903
+ */
904
+ verification: 'none' | 'submitted' | 'verified';
905
+ };
906
+ export type PaymentMethod = {
907
+ /**
908
+ * 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.
909
+ */
910
+ id: string;
911
+ /**
912
+ * Payment method type. `card`, `sepa_debit` for SEPA Direct Debit (business accounts only), or `bank_transfer` for paying invoices by bank transfer.
913
+ */
914
+ type: 'card' | 'sepa_debit' | 'bank_transfer';
915
+ /**
916
+ * 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.
917
+ */
918
+ last4: string;
919
+ /**
920
+ * Two-digit number representing the card's expiration month. Null for SEPA Direct Debit and bank transfer.
921
+ */
922
+ exp_month: number;
923
+ /**
924
+ * 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.
925
+ */
926
+ exp_year: number;
927
+ /**
928
+ * Payment card brand as reported by Stripe, e.g. `visa`, `mastercard`, `amex`, `cartes_bancaires`, or `unknown`. Null for SEPA Direct Debit and bank transfer.
929
+ */
930
+ brand: string;
931
+ /**
932
+ * 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.
933
+ */
934
+ iban: string;
935
+ /**
936
+ * BIC/SWIFT of the destination bank for bank transfers. Set only for `bank_transfer`; null otherwise.
937
+ */
938
+ bic: string;
939
+ /**
940
+ * Account holder name of the destination bank account for bank transfers. Set only for `bank_transfer`; null otherwise.
941
+ */
942
+ account_holder_name: string;
943
+ /**
944
+ * 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).
945
+ */
946
+ is_default: boolean;
947
+ };
948
+ export type PlatformQuota = {
949
+ /**
950
+ * Maximum number of Basic clusters that can be created.
951
+ */
952
+ basic_clusters_max: number;
953
+ /**
954
+ * Available number of Basic clusters that can be created.
955
+ */
956
+ basic_clusters_available: number;
957
+ /**
958
+ * Maximum number of Pro clusters that can be created.
959
+ */
960
+ pro_clusters_max: number;
961
+ /**
962
+ * Available number of Pro clusters that can be created.
963
+ */
964
+ pro_clusters_available: number;
965
+ /**
966
+ * Maximum number of Enterprise clusters that can be created.
967
+ */
968
+ enterprise_clusters_max: number;
969
+ /**
970
+ * Available number of Enterprise clusters that can be created.
971
+ */
972
+ enterprise_clusters_available: number;
973
+ /**
974
+ * Maximum number of fleets that can be created per cluster.
975
+ */
976
+ fleets_max: number;
977
+ /**
978
+ * List of Cloudfleet cluster tiers available for the organization.
979
+ */
980
+ cluster_tiers: Array<string>;
981
+ /**
982
+ * List of Cloudfleet control plane regions available for the organization.
983
+ */
984
+ regions: Array<string>;
985
+ /**
986
+ * List of CFKE control plane versions available for the organization.
987
+ */
988
+ versions: Array<{
632
989
  /**
633
- * Rate of the invoice item
990
+ * Id of the control plane version. Used in API calls.
634
991
  */
635
- rate?: number;
992
+ id: string;
636
993
  /**
637
- * Currency of the invoice item
994
+ * Label of the control plane version. Used in frontent UI.
638
995
  */
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';
996
+ label: string;
997
+ }>;
998
+ /**
999
+ * Organization-level maximum CFCR storage volume in GB. -1 means no limit.
1000
+ */
1001
+ cfcr_storage_gb: number;
1002
+ };
1003
+ export type RegistryRepository = {
1004
+ /**
1005
+ * Repository name.
1006
+ */
1007
+ name: string;
1008
+ /**
1009
+ * Registry region.
1010
+ */
1011
+ region: string;
1012
+ /**
1013
+ * Full URI of the repository.
1014
+ */
1015
+ uri: string;
1016
+ };
1017
+ export type RegistryRepositoryWithTags = {
1018
+ /**
1019
+ * Repository name.
1020
+ */
1021
+ name: string;
1022
+ /**
1023
+ * Registry region.
1024
+ */
1025
+ region: string;
1026
+ /**
1027
+ * Full URI of the repository.
1028
+ */
1029
+ uri: string;
1030
+ /**
1031
+ * Array of tags in the repository.
1032
+ */
1033
+ tags: Array<{
640
1034
  /**
641
- * Quantity of the invoice item
1035
+ * Tag name.
642
1036
  */
643
- quantity?: number;
1037
+ name: string;
644
1038
  /**
645
- * Details of the invoice item
1039
+ * Size of the tag in bytes.
646
1040
  */
647
- itemDetails?: string;
1041
+ size: number;
648
1042
  /**
649
- * Effective date of the catalog
1043
+ * Media type of the manifest.
650
1044
  */
651
- catalogEffectiveDate?: string;
1045
+ mediaType?: string;
652
1046
  /**
653
- * Child items of the invoice item
1047
+ * Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).
654
1048
  */
655
- childItems?: Array<Array<unknown> | boolean | number | {
656
- [key: string]: unknown;
657
- } | string>;
1049
+ platforms?: Array<string>;
658
1050
  }>;
659
- };
660
- export type MarketplaceListing = {
661
1051
  /**
662
- * Id of the chart listing
1052
+ * Total size of all tags in the repository in bytes.
663
1053
  */
664
- id: string;
1054
+ totalSize: number;
1055
+ };
1056
+ export type RegistryTag = {
665
1057
  /**
666
- * Name of the chart listing
1058
+ * Tag name.
667
1059
  */
668
1060
  name: string;
669
1061
  /**
670
- * Author of the chart listing
1062
+ * Manifest digest for pulling by digest.
671
1063
  */
672
- developer: string;
1064
+ digest: string;
673
1065
  /**
674
- * Short description of the chart listing
1066
+ * Media type of the manifest.
675
1067
  */
676
- description: string;
1068
+ mediaType?: string;
677
1069
  /**
678
- * Logo of the chart listing
1070
+ * Manifest config metadata.
679
1071
  */
680
- logoUrl: string;
1072
+ config?: {
1073
+ /**
1074
+ * Size of the config in bytes.
1075
+ */
1076
+ size: number;
1077
+ };
681
1078
  /**
682
- * Long description of the chart listing
1079
+ * Array of layer metadata.
683
1080
  */
684
- longDescription: string;
1081
+ layers?: Array<{
1082
+ /**
1083
+ * Digest of the layer.
1084
+ */
1085
+ digest?: string;
1086
+ /**
1087
+ * Size of the layer in bytes.
1088
+ */
1089
+ size: number;
1090
+ }>;
685
1091
  /**
686
- * Tags of the chart
1092
+ * Array of manifests for multi-arch images.
687
1093
  */
688
- categories: Array<string>;
689
- version_channels: Array<string>;
690
- value_schemas: Array<{
1094
+ manifests?: Array<{
691
1095
  /**
692
- * Version of the chart.
1096
+ * Digest of the manifest.
693
1097
  */
694
- version: string;
1098
+ digest: string;
1099
+ /**
1100
+ * Platform information for the manifest.
1101
+ */
1102
+ platform?: {
1103
+ /**
1104
+ * Architecture of the platform.
1105
+ */
1106
+ architecture: string;
1107
+ /**
1108
+ * Operating system of the platform.
1109
+ */
1110
+ os: string;
1111
+ /**
1112
+ * Variant of the platform (e.g., v7, v8 for ARM).
1113
+ */
1114
+ variant?: string;
1115
+ };
695
1116
  /**
696
- * Schema of the chart values. JSON Schema as string
1117
+ * Layers for this platform.
697
1118
  */
698
- schema: string;
1119
+ layers?: Array<{
1120
+ /**
1121
+ * Digest of the layer.
1122
+ */
1123
+ digest?: string;
1124
+ /**
1125
+ * Size of the layer in bytes.
1126
+ */
1127
+ size: number;
1128
+ }>;
699
1129
  /**
700
- * Schema of the chart values
1130
+ * Total size of this platform manifest in bytes.
701
1131
  */
702
- placeholder: string;
1132
+ size?: number;
703
1133
  }>;
704
- };
705
- export type OrganizationCreateInput = {
706
1134
  /**
707
- * Email address used for billing as a string.
1135
+ * Total size of the tag in bytes.
708
1136
  */
709
- email: string;
1137
+ size: number;
710
1138
  /**
711
- * First name of the billing contact person.
1139
+ * Registry region.
712
1140
  */
713
- first_name: string;
1141
+ region: string;
714
1142
  /**
715
- * Last name of the billing contact person.
1143
+ * Repository name.
716
1144
  */
717
- last_name: string;
1145
+ repository: string;
718
1146
  /**
719
- * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
1147
+ * Full URI of the tag.
720
1148
  */
721
- company_name: string;
1149
+ uri: string;
1150
+ };
1151
+ export type TicketAttachment = {
722
1152
  /**
723
- * Password for the root account. Must be at least 8 characters long and contain at least one uppercase letter, one lowercase letter, one number and one special character.
1153
+ * Unique identifier of the attachment (Mongo ObjectId).
724
1154
  */
725
- password: string;
1155
+ id: string;
1156
+ /**
1157
+ * Original filename as uploaded.
1158
+ */
1159
+ filename: string;
1160
+ /**
1161
+ * MIME content type of the attachment.
1162
+ */
1163
+ content_type: string;
1164
+ /**
1165
+ * Size of the attachment in bytes.
1166
+ */
1167
+ size: number;
726
1168
  };
727
- export type Organization = {
1169
+ export type TicketCreateInput = {
728
1170
  /**
729
- * Unique identifier of the organization. UUID v4 string in canonical form
1171
+ * Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.
730
1172
  */
731
- id: string;
1173
+ category: 'billing' | 'technical' | 'general';
732
1174
  /**
733
- * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
1175
+ * Initial message body in markdown. There is no separate subject the first message body is the description.
734
1176
  */
735
- name?: string;
1177
+ body: string;
736
1178
  /**
737
- * Creation date of the organization. ISO 8601 date string in UTC timezone
1179
+ * Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).
738
1180
  */
739
- date_created: string;
1181
+ properties?: {
1182
+ [key: string]: unknown;
1183
+ };
1184
+ };
1185
+ export type TicketListResponse = {
740
1186
  /**
741
- * For security reasons, platform quota is controlled by Cloudfleet and can be updated only by Cloudfleet administrators. Please open a support ticket if you need to change the platform quota.
1187
+ * Tickets for the organization, ordered newest first. Messages are omitted from list responses.
742
1188
  */
743
- quota: {
744
- /**
745
- * Maximum number of Basic clusters that can be created.
746
- */
747
- basic_clusters_max: number;
1189
+ items: Array<{
748
1190
  /**
749
- * Available number of Basic clusters that can be created.
1191
+ * Unique identifier of the ticket (Mongo ObjectId).
750
1192
  */
751
- basic_clusters_available: number;
1193
+ id: string;
752
1194
  /**
753
- * Maximum number of Pro clusters that can be created.
1195
+ * Current state of the ticket.
754
1196
  */
755
- pro_clusters_max: number;
1197
+ status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
756
1198
  /**
757
- * Available number of Pro clusters that can be created.
1199
+ * Ticket category.
758
1200
  */
759
- pro_clusters_available: number;
1201
+ category: 'billing' | 'technical' | 'general';
760
1202
  /**
761
- * Maximum number of fleets that can be created per cluster.
1203
+ * First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
762
1204
  */
763
- fleets_max: number;
1205
+ summary: string;
764
1206
  /**
765
- * Maximum number of CPU cores per managed fleet.
1207
+ * Closure timestamp. Null while the ticket is open.
766
1208
  */
767
- managed_fleets_cpu_max: number;
1209
+ closed_at?: string;
768
1210
  /**
769
- * List of Cloudfleet cluster tiers available for the organization.
1211
+ * Creation date of the ticket. ISO 8601 UTC.
770
1212
  */
771
- cluster_tiers: Array<string>;
1213
+ date_created: string;
772
1214
  /**
773
- * List of Cloudfleet control plane regions available for the organization.
1215
+ * Last update date of the ticket. ISO 8601 UTC.
774
1216
  */
775
- regions: Array<string>;
1217
+ date_updated: string;
776
1218
  /**
777
- * List of CFKE control plane versions available for the organization.
1219
+ * Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
778
1220
  */
779
- versions: Array<{
1221
+ messages?: Array<{
780
1222
  /**
781
- * Id of the control plane version. Used in API calls.
1223
+ * Unique identifier of the message (Mongo ObjectId).
782
1224
  */
783
1225
  id: string;
784
1226
  /**
785
- * Label of the control plane version. Used in frontent UI.
1227
+ * Message type. Internal notes are filtered out of customer-facing responses.
786
1228
  */
787
- label: string;
1229
+ type: 'customer_reply' | 'agent_reply';
1230
+ /**
1231
+ * Message body in markdown.
1232
+ */
1233
+ body: string;
1234
+ /**
1235
+ * First name of the author. Null when not provided.
1236
+ */
1237
+ author_first_name?: string;
1238
+ /**
1239
+ * Last name of the author. Null when not provided.
1240
+ */
1241
+ author_last_name?: string;
1242
+ /**
1243
+ * Attachments associated with this message.
1244
+ */
1245
+ attachments?: Array<{
1246
+ /**
1247
+ * Unique identifier of the attachment (Mongo ObjectId).
1248
+ */
1249
+ id: string;
1250
+ /**
1251
+ * Original filename as uploaded.
1252
+ */
1253
+ filename: string;
1254
+ /**
1255
+ * MIME content type of the attachment.
1256
+ */
1257
+ content_type: string;
1258
+ /**
1259
+ * Size of the attachment in bytes.
1260
+ */
1261
+ size: number;
1262
+ }>;
1263
+ /**
1264
+ * Creation date of the message. ISO 8601 UTC.
1265
+ */
1266
+ date_created: string;
788
1267
  }>;
789
- };
1268
+ }>;
1269
+ };
1270
+ export type TicketMessageInput = {
790
1271
  /**
791
- * Status of the organization. Can be `active` or `closed`, or `suspended`.
1272
+ * Reply body in markdown.
792
1273
  */
793
- status: 'active' | 'closed' | 'suspended';
1274
+ body: string;
794
1275
  };
795
- export type PaymentMethod = {
1276
+ export type TicketMessage = {
796
1277
  /**
797
- * Unique identifier of the organization. UUID v4 string in canonical form.
1278
+ * Unique identifier of the message (Mongo ObjectId).
798
1279
  */
799
1280
  id: string;
800
1281
  /**
801
- * Whether organization payment method was set up and ready to use for payments.
1282
+ * Message type. Internal notes are filtered out of customer-facing responses.
802
1283
  */
803
- setup: boolean;
1284
+ type: 'customer_reply' | 'agent_reply';
804
1285
  /**
805
- * Payment method type type. Only `card` payments supported at the moment.
1286
+ * Message body in markdown.
806
1287
  */
807
- type: 'card';
1288
+ body: string;
808
1289
  /**
809
- * Last 4 digits of the payment card number.
1290
+ * First name of the author. Null when not provided.
810
1291
  */
811
- last4: string;
1292
+ author_first_name?: string;
812
1293
  /**
813
- * Two-digit number representing the card's expiration month.
1294
+ * Last name of the author. Null when not provided.
814
1295
  */
815
- exp_month: number;
1296
+ author_last_name?: string;
816
1297
  /**
817
- * Four-digit number representing the card's expiration year.
1298
+ * Attachments associated with this message.
818
1299
  */
819
- exp_year: number;
1300
+ attachments?: Array<{
1301
+ /**
1302
+ * Unique identifier of the attachment (Mongo ObjectId).
1303
+ */
1304
+ id: string;
1305
+ /**
1306
+ * Original filename as uploaded.
1307
+ */
1308
+ filename: string;
1309
+ /**
1310
+ * MIME content type of the attachment.
1311
+ */
1312
+ content_type: string;
1313
+ /**
1314
+ * Size of the attachment in bytes.
1315
+ */
1316
+ size: number;
1317
+ }>;
820
1318
  /**
821
- * Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
1319
+ * Creation date of the message. ISO 8601 UTC.
822
1320
  */
823
- brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
1321
+ date_created: string;
824
1322
  };
825
- export type TokenCreateInput = {
1323
+ export type Ticket = {
826
1324
  /**
827
- * Human readable access token name.
1325
+ * Unique identifier of the ticket (Mongo ObjectId).
828
1326
  */
829
- name: string;
1327
+ id: string;
830
1328
  /**
831
- * Role assumed by the token.
1329
+ * Current state of the ticket.
832
1330
  */
833
- role: 'Administrator' | 'User';
834
- };
835
- export type Token = {
1331
+ status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
836
1332
  /**
837
- * Human readable access token name.
1333
+ * Ticket category.
838
1334
  */
839
- name: string;
1335
+ category: 'billing' | 'technical' | 'general';
840
1336
  /**
841
- * Role assumed by the token.
1337
+ * First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
842
1338
  */
843
- role: 'Administrator' | 'User';
1339
+ summary: string;
844
1340
  /**
845
- * Generated unique identifier of the access token.
1341
+ * Closure timestamp. Null while the ticket is open.
846
1342
  */
847
- id?: string;
1343
+ closed_at?: string;
848
1344
  /**
849
- * Access token secret. Unmasked only during creation.
1345
+ * Creation date of the ticket. ISO 8601 UTC.
850
1346
  */
851
- secret?: string;
1347
+ date_created: string;
852
1348
  /**
853
- * Creation date of the access token. ISO 8601 date string in UTC timezone
1349
+ * Last update date of the ticket. ISO 8601 UTC.
1350
+ */
1351
+ date_updated: string;
1352
+ /**
1353
+ * Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
1354
+ */
1355
+ messages?: Array<{
1356
+ /**
1357
+ * Unique identifier of the message (Mongo ObjectId).
1358
+ */
1359
+ id: string;
1360
+ /**
1361
+ * Message type. Internal notes are filtered out of customer-facing responses.
1362
+ */
1363
+ type: 'customer_reply' | 'agent_reply';
1364
+ /**
1365
+ * Message body in markdown.
1366
+ */
1367
+ body: string;
1368
+ /**
1369
+ * First name of the author. Null when not provided.
1370
+ */
1371
+ author_first_name?: string;
1372
+ /**
1373
+ * Last name of the author. Null when not provided.
1374
+ */
1375
+ author_last_name?: string;
1376
+ /**
1377
+ * Attachments associated with this message.
1378
+ */
1379
+ attachments?: Array<{
1380
+ /**
1381
+ * Unique identifier of the attachment (Mongo ObjectId).
1382
+ */
1383
+ id: string;
1384
+ /**
1385
+ * Original filename as uploaded.
1386
+ */
1387
+ filename: string;
1388
+ /**
1389
+ * MIME content type of the attachment.
1390
+ */
1391
+ content_type: string;
1392
+ /**
1393
+ * Size of the attachment in bytes.
1394
+ */
1395
+ size: number;
1396
+ }>;
1397
+ /**
1398
+ * Creation date of the message. ISO 8601 UTC.
1399
+ */
1400
+ date_created: string;
1401
+ }>;
1402
+ };
1403
+ export type TokenCreateInput = {
1404
+ /**
1405
+ * Human readable access token name.
1406
+ */
1407
+ name: string;
1408
+ /**
1409
+ * Role assumed by the token.
1410
+ */
1411
+ role: 'Administrator' | 'User';
1412
+ };
1413
+ export type Token = {
1414
+ /**
1415
+ * Human readable access token name.
1416
+ */
1417
+ name: string;
1418
+ /**
1419
+ * Role assumed by the token.
1420
+ */
1421
+ role: 'Administrator' | 'User';
1422
+ /**
1423
+ * Generated unique identifier of the access token.
1424
+ */
1425
+ id?: string;
1426
+ /**
1427
+ * Access token secret. Unmasked only during creation.
1428
+ */
1429
+ secret?: string;
1430
+ /**
1431
+ * Creation date of the access token. ISO 8601 date string in UTC timezone
854
1432
  */
855
1433
  date_created: string;
856
1434
  };
@@ -864,35 +1442,85 @@ export type TokenUpdateInput = {
864
1442
  */
865
1443
  role?: 'Administrator' | 'User';
866
1444
  };
1445
+ export type UsageFacets = {
1446
+ /**
1447
+ * List of unique cluster IDs
1448
+ */
1449
+ cluster_id?: Array<string>;
1450
+ /**
1451
+ * List of unique products
1452
+ */
1453
+ product?: Array<string>;
1454
+ };
1455
+ export type UsageResponse = {
1456
+ /**
1457
+ * Usage data
1458
+ */
1459
+ data: Array<{
1460
+ /**
1461
+ * Hour of the usage
1462
+ */
1463
+ hour: string;
1464
+ /**
1465
+ * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
1466
+ */
1467
+ cluster_id: string;
1468
+ /**
1469
+ * The product the usage is associated with
1470
+ */
1471
+ product: string;
1472
+ /**
1473
+ * Consumption
1474
+ */
1475
+ value: number;
1476
+ /**
1477
+ * Price per unit
1478
+ */
1479
+ price: number;
1480
+ /**
1481
+ * Total cost
1482
+ */
1483
+ total: number;
1484
+ }>;
1485
+ /**
1486
+ * Facets for filtering
1487
+ */
1488
+ facets: {
1489
+ /**
1490
+ * List of unique cluster IDs
1491
+ */
1492
+ cluster_id?: Array<string>;
1493
+ /**
1494
+ * List of unique products
1495
+ */
1496
+ product?: Array<string>;
1497
+ };
1498
+ };
867
1499
  export type Usage = {
868
1500
  /**
869
1501
  * Hour of the usage
870
1502
  */
871
- hour?: string;
1503
+ hour: string;
872
1504
  /**
873
1505
  * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
874
1506
  */
875
1507
  cluster_id: string;
876
1508
  /**
877
- * Tier of the cluster.
1509
+ * The product the usage is associated with
878
1510
  */
879
- cluster_tier: '';
1511
+ product: string;
880
1512
  /**
881
- * The product the usage is associated with
1513
+ * Consumption
882
1514
  */
883
- product: 'cfke_infra_compute' | 'cfke_nodes' | 'cfke_controlplane';
1515
+ value: number;
884
1516
  /**
885
- * Name of the Kubernetes node
1517
+ * Price per unit
886
1518
  */
887
- node_name: string;
1519
+ price: number;
888
1520
  /**
889
- * SKU of the Kubernetes node
1521
+ * Total cost
890
1522
  */
891
- sku: string;
892
- cpu: number | '';
893
- price: number | '';
894
- value: number | '';
895
- total: number | '';
1523
+ total: number;
896
1524
  };
897
1525
  export type UserCreateInput = {
898
1526
  /**
@@ -915,14 +1543,6 @@ export type UserCreateInput = {
915
1543
  * User password. Must be at least 8 characters long.
916
1544
  */
917
1545
  password: string;
918
- /**
919
- * Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.
920
- */
921
- status?: 'active' | 'inactive';
922
- /**
923
- * User role. Can be 'Administrator', 'User'.
924
- */
925
- role?: 'Administrator' | 'User';
926
1546
  };
927
1547
  export type User = {
928
1548
  /**
@@ -976,562 +1596,621 @@ export type UserUpdateInput = {
976
1596
  */
977
1597
  status?: 'active' | 'inactive';
978
1598
  };
979
- export type GetUsageData = {
1599
+ export type ListUserOrganizationsData = {
1600
+ body?: never;
1601
+ path: {
1602
+ /**
1603
+ * User email address.
1604
+ */
1605
+ email: string;
1606
+ };
1607
+ query?: never;
1608
+ url: '/users/organizations/{email}';
1609
+ };
1610
+ export type ListUserOrganizationsResponses = {
1611
+ /**
1612
+ * An array of organizations the user belongs to.
1613
+ */
1614
+ 200: Array<{
1615
+ /**
1616
+ * Unique identifier of the organization. UUID v4 string in canonical form
1617
+ */
1618
+ realm?: string;
1619
+ /**
1620
+ * Human-readable name of the organization
1621
+ */
1622
+ displayName?: string;
1623
+ }>;
1624
+ };
1625
+ export type ListUserOrganizationsResponse = ListUserOrganizationsResponses[keyof ListUserOrganizationsResponses];
1626
+ export type ListUsersData = {
980
1627
  body?: never;
981
1628
  path?: never;
982
1629
  query?: never;
983
- url: '/billing/usage';
1630
+ url: '/users';
984
1631
  };
985
- export type GetUsageErrors = {
1632
+ export type ListUsersErrors = {
986
1633
  /**
987
1634
  * Not authenticated
988
1635
  */
989
1636
  401: unknown;
990
1637
  };
991
- export type GetUsageResponses = {
1638
+ export type ListUsersResponses = {
992
1639
  /**
993
- * An array of usage records.
1640
+ * An array of users
994
1641
  */
995
- 200: Array<Usage>;
1642
+ 200: Array<User>;
996
1643
  };
997
- export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
998
- export type GetBalanceData = {
999
- body?: never;
1644
+ export type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
1645
+ export type CreateUserData = {
1646
+ body: UserCreateInput;
1000
1647
  path?: never;
1001
1648
  query?: never;
1002
- url: '/billing/balance';
1649
+ url: '/users';
1003
1650
  };
1004
- export type GetBalanceResponses = {
1651
+ export type CreateUserResponses = {
1005
1652
  /**
1006
- * Current balance of the organization in USD as a floating-point number.
1653
+ * Successfully created. Returns created user details.
1007
1654
  */
1008
- 200: number;
1655
+ 200: User;
1009
1656
  };
1010
- export type GetBalanceResponse = GetBalanceResponses[keyof GetBalanceResponses];
1011
- export type GetPaymentMethodData = {
1657
+ export type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];
1658
+ export type DeleteUserData = {
1012
1659
  body?: never;
1013
- path?: never;
1660
+ path: {
1661
+ /**
1662
+ * Unique user identifier. UUID v4 string in canonical form
1663
+ */
1664
+ user_id: string;
1665
+ };
1014
1666
  query?: never;
1015
- url: '/billing/payment-method';
1667
+ url: '/users/{user_id}';
1016
1668
  };
1017
- export type GetPaymentMethodErrors = {
1669
+ export type DeleteUserErrors = {
1018
1670
  /**
1019
- * Returns 404 Not Found if the organization does not have a payment method set up.
1671
+ * Deleting own user is not allowed. Delete your organization instead.
1020
1672
  */
1021
- 404: unknown;
1022
- };
1023
- export type GetPaymentMethodResponses = {
1673
+ 400: unknown;
1024
1674
  /**
1025
- * Redacted payment card information.
1675
+ * Not authenticated
1026
1676
  */
1027
- 200: PaymentMethod;
1028
- };
1029
- export type GetPaymentMethodResponse = GetPaymentMethodResponses[keyof GetPaymentMethodResponses];
1030
- export type GetPaymentMethodSecretData = {
1031
- body?: never;
1032
- path?: never;
1033
- query?: never;
1034
- url: '/billing/payment-method';
1677
+ 401: unknown;
1035
1678
  };
1036
- export type GetPaymentMethodSecretResponses = {
1679
+ export type DeleteUserResponses = {
1037
1680
  /**
1038
- * The client secret. Used for client-side retrieval using a publishable key. The client secret can be used to complete a payment from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret.
1039
- *
1681
+ * User profile information
1040
1682
  */
1041
- 200: {
1042
- /**
1043
- * The client secret.
1044
- */
1045
- id?: string;
1046
- };
1683
+ 200: User;
1047
1684
  };
1048
- export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
1049
- export type ListInvoicesData = {
1685
+ export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
1686
+ export type GetUserData = {
1050
1687
  body?: never;
1051
- path?: never;
1052
- query: {
1053
- /**
1054
- * Start date for the usage. Date of oldest data point to retrieve.
1055
- */
1056
- start_date: string;
1688
+ path: {
1057
1689
  /**
1058
- * End date for the usage. Date of newest data point to retrieve.
1690
+ * Unique user identifier. UUID v4 string in canonical form
1059
1691
  */
1060
- end_date: string;
1692
+ user_id: string;
1061
1693
  };
1062
- url: '/billing/invoices';
1694
+ query?: never;
1695
+ url: '/users/{user_id}';
1063
1696
  };
1064
- export type ListInvoicesErrors = {
1697
+ export type GetUserErrors = {
1065
1698
  /**
1066
1699
  * Not authenticated
1067
1700
  */
1068
1701
  401: unknown;
1069
1702
  };
1070
- export type ListInvoicesResponses = {
1703
+ export type GetUserResponses = {
1071
1704
  /**
1072
- * An array of usage records.
1705
+ * User profile information
1073
1706
  */
1074
- 200: Array<Invoice>;
1707
+ 200: User;
1075
1708
  };
1076
- export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
1077
- export type GetInvoiceData = {
1078
- body?: never;
1709
+ export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
1710
+ export type UpdateUserData = {
1711
+ body: UserUpdateInput;
1079
1712
  path: {
1080
1713
  /**
1081
- * Unique invoice identifier. UUID v4 string in canonical form
1714
+ * Unique user identifier. UUID v4 string in canonical form
1082
1715
  */
1083
- id: string;
1716
+ user_id: string;
1084
1717
  };
1085
1718
  query?: never;
1086
- url: '/billing/invoices/{id}';
1719
+ url: '/users/{user_id}';
1087
1720
  };
1088
- export type GetInvoiceResponses = {
1721
+ export type UpdateUserResponses = {
1089
1722
  /**
1090
- * Returns a single Invoice HTML representation under `html` property.
1723
+ * Successfully created. Returns created user details.
1091
1724
  */
1092
- 200: {
1093
- html?: string;
1094
- };
1725
+ 200: User;
1095
1726
  };
1096
- export type GetInvoiceResponse = GetInvoiceResponses[keyof GetInvoiceResponses];
1097
- export type GetContactData = {
1727
+ export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
1728
+ export type ListTokensData = {
1098
1729
  body?: never;
1099
1730
  path?: never;
1100
1731
  query?: never;
1101
- url: '/billing/contact';
1732
+ url: '/tokens';
1102
1733
  };
1103
- export type GetContactResponses = {
1734
+ export type ListTokensErrors = {
1104
1735
  /**
1105
- * Returns a single object containing organization contact and billing address details.
1736
+ * Not authenticated
1106
1737
  */
1107
- 200: BillingContact;
1108
- };
1109
- export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
1110
- export type UpdateContactData = {
1111
- body: BillingContact;
1112
- path?: never;
1113
- query?: never;
1114
- url: '/billing/contact';
1738
+ 401: unknown;
1115
1739
  };
1116
- export type UpdateContactResponses = {
1740
+ export type ListTokensResponses = {
1117
1741
  /**
1118
- * Successfully updated. Returns updated organization details.
1742
+ * Returns a list of access token details with masked secrets.
1119
1743
  */
1120
- 200: BillingContact;
1744
+ 200: Array<Token>;
1121
1745
  };
1122
- export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
1123
- export type GetCreditsData = {
1124
- body?: never;
1746
+ export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
1747
+ export type CreateTokenData = {
1748
+ body: TokenCreateInput;
1125
1749
  path?: never;
1126
1750
  query?: never;
1127
- url: '/billing/credits';
1751
+ url: '/tokens';
1128
1752
  };
1129
- export type GetCreditsErrors = {
1753
+ export type CreateTokenErrors = {
1130
1754
  /**
1131
1755
  * Not authenticated
1132
1756
  */
1133
1757
  401: unknown;
1134
1758
  };
1135
- export type GetCreditsResponses = {
1759
+ export type CreateTokenResponses = {
1136
1760
  /**
1137
- * An array of the applied promotional credits records.
1761
+ * Successfully created. Returns created token details with unmasked/raw secret.
1138
1762
  */
1139
- 200: Array<BillingCredits>;
1763
+ 200: Token;
1140
1764
  };
1141
- export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
1142
- export type RedeemCreditsData = {
1143
- body: {
1765
+ export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
1766
+ export type DeleteTokenData = {
1767
+ body?: never;
1768
+ path: {
1144
1769
  /**
1145
- * Promotional code to redeem
1770
+ * Generated unique identifier of the access token.
1146
1771
  */
1147
- code?: string;
1772
+ token_id: string;
1148
1773
  };
1149
- path?: never;
1150
1774
  query?: never;
1151
- url: '/billing/credits';
1152
- };
1153
- export type RedeemCreditsErrors = {
1154
- /**
1155
- * Not authenticated
1156
- */
1157
- 401: unknown;
1775
+ url: '/tokens/{token_id}';
1158
1776
  };
1159
- export type RedeemCreditsResponses = {
1777
+ export type DeleteTokenResponses = {
1160
1778
  /**
1161
- * Successfully created a new organization.
1779
+ * Successfully deleted.
1162
1780
  */
1163
1781
  200: unknown;
1164
1782
  };
1165
- export type ListChartsData = {
1783
+ export type GetTokenData = {
1166
1784
  body?: never;
1167
1785
  path: {
1168
1786
  /**
1169
- * Unique identifier of the cluster. UUID v4 string in canonical form
1787
+ * Generated unique identifier of the access token.
1170
1788
  */
1171
- cluster_id: string;
1789
+ token_id: string;
1172
1790
  };
1173
1791
  query?: never;
1174
- url: '/clusters/{cluster_id}/charts';
1792
+ url: '/tokens/{token_id}';
1175
1793
  };
1176
- export type ListChartsErrors = {
1794
+ export type GetTokenErrors = {
1177
1795
  /**
1178
1796
  * Not authenticated
1179
1797
  */
1180
1798
  401: unknown;
1181
1799
  };
1182
- export type ListChartsResponses = {
1800
+ export type GetTokenResponses = {
1183
1801
  /**
1184
- * An array of charts
1802
+ * Returns access token details with masked secret.
1185
1803
  */
1186
- 200: Array<Chart>;
1804
+ 200: Token;
1187
1805
  };
1188
- export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
1189
- export type CreateChartData = {
1190
- body: ChartCreateInput;
1806
+ export type GetTokenResponse = GetTokenResponses[keyof GetTokenResponses];
1807
+ export type UpdateTokenData = {
1808
+ body: TokenUpdateInput;
1191
1809
  path: {
1192
1810
  /**
1193
- * Unique identifier of the cluster. UUID v4 string in canonical form
1811
+ * Generated unique identifier of the access token.
1194
1812
  */
1195
- cluster_id: string;
1813
+ token_id: string;
1196
1814
  };
1197
1815
  query?: never;
1198
- url: '/clusters/{cluster_id}/charts';
1816
+ url: '/tokens/{token_id}';
1199
1817
  };
1200
- export type CreateChartResponses = {
1818
+ export type UpdateTokenErrors = {
1201
1819
  /**
1202
- * Successfully created. Returns created Chart ID.
1820
+ * Not authenticated
1203
1821
  */
1204
- 200: string;
1822
+ 401: unknown;
1205
1823
  };
1206
- export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
1207
- export type DeleteChartData = {
1824
+ export type UpdateTokenResponses = {
1825
+ /**
1826
+ * Successfully updated. Returns updated token details with masked secret.
1827
+ */
1828
+ 200: Token;
1829
+ };
1830
+ export type UpdateTokenResponse = UpdateTokenResponses[keyof UpdateTokenResponses];
1831
+ export type RegenerateTokenData = {
1208
1832
  body?: never;
1209
1833
  path: {
1210
1834
  /**
1211
- * Unique identifier of the cluster. UUID v4 string in canonical form
1212
- */
1213
- cluster_id: string;
1214
- /**
1215
- * Chart deployment name as the unique identifier of the chart.
1835
+ * Generated unique identifier of the access token.
1216
1836
  */
1217
- chart_name: string;
1837
+ token_id: string;
1218
1838
  };
1219
1839
  query?: never;
1220
- url: '/clusters/{cluster_id}/charts/{chart_name}';
1840
+ url: '/tokens/{token_id}/secret';
1221
1841
  };
1222
- export type DeleteChartResponses = {
1842
+ export type RegenerateTokenErrors = {
1223
1843
  /**
1224
- * Successfully deleted.
1844
+ * Not authenticated
1225
1845
  */
1226
- 200: string;
1846
+ 401: unknown;
1227
1847
  };
1228
- export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
1229
- export type GetChartData = {
1848
+ export type RegenerateTokenResponses = {
1849
+ /**
1850
+ * Successfully updated. Returns updated token details with unmasked / raw secret.
1851
+ */
1852
+ 200: Token;
1853
+ };
1854
+ export type RegenerateTokenResponse = RegenerateTokenResponses[keyof RegenerateTokenResponses];
1855
+ export type ListTicketsData = {
1230
1856
  body?: never;
1231
- path: {
1232
- /**
1233
- * Unique identifier of the cluster. UUID v4 string in canonical form
1234
- */
1235
- cluster_id: string;
1236
- /**
1237
- * Chart deployment name as the unique identifier of the chart.
1238
- */
1239
- chart_name: string;
1240
- };
1857
+ path?: never;
1241
1858
  query?: never;
1242
- url: '/clusters/{cluster_id}/charts/{chart_name}';
1859
+ url: '/tickets';
1243
1860
  };
1244
- export type GetChartResponses = {
1861
+ export type ListTicketsResponses = {
1245
1862
  /**
1246
- * Returns a single object containing chart details.
1863
+ * Tickets for the organization.
1247
1864
  */
1248
- 200: Chart;
1865
+ 200: TicketListResponse;
1249
1866
  };
1250
- export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
1251
- export type UpdateChartData = {
1252
- body: ChartUpdateInput;
1253
- path: {
1254
- /**
1255
- * Unique identifier of the cluster. UUID v4 string in canonical form
1256
- */
1257
- cluster_id: string;
1867
+ export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
1868
+ export type CreateTicketData = {
1869
+ body: {
1258
1870
  /**
1259
- * Chart deployment name as the unique identifier of the chart.
1871
+ * JSON-encoded TicketCreateInput.
1260
1872
  */
1261
- chart_name: string;
1873
+ payload?: string;
1874
+ attachments?: Array<Blob | File>;
1262
1875
  };
1876
+ path?: never;
1263
1877
  query?: never;
1264
- url: '/clusters/{cluster_id}/charts/{chart_name}';
1878
+ url: '/tickets';
1265
1879
  };
1266
- export type UpdateChartResponses = {
1880
+ export type CreateTicketResponses = {
1267
1881
  /**
1268
- * Successfully updated.
1882
+ * Ticket created.
1269
1883
  */
1270
- 200: string;
1884
+ 200: Ticket;
1271
1885
  };
1272
- export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
1273
- export type ListFleetsData = {
1886
+ export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
1887
+ export type CloseTicketData = {
1274
1888
  body?: never;
1275
1889
  path: {
1276
- /**
1277
- * Unique identifier of the cluster. UUID v4 string in canonical form
1278
- */
1279
- cluster_id: string;
1890
+ ticket_id: string;
1280
1891
  };
1281
1892
  query?: never;
1282
- url: '/clusters/{cluster_id}/fleets';
1893
+ url: '/tickets/{ticket_id}';
1283
1894
  };
1284
- export type ListFleetsErrors = {
1895
+ export type CloseTicketResponses = {
1285
1896
  /**
1286
- * Not authenticated
1897
+ * Ticket closed.
1287
1898
  */
1288
- 401: unknown;
1899
+ 200: Ticket;
1289
1900
  };
1290
- export type ListFleetsResponses = {
1901
+ export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
1902
+ export type GetTicketData = {
1903
+ body?: never;
1904
+ path: {
1905
+ ticket_id: string;
1906
+ };
1907
+ query?: never;
1908
+ url: '/tickets/{ticket_id}';
1909
+ };
1910
+ export type GetTicketResponses = {
1291
1911
  /**
1292
- * An array of fleets
1912
+ * Ticket with messages (internal notes excluded).
1293
1913
  */
1294
- 200: Array<Fleet>;
1914
+ 200: Ticket;
1295
1915
  };
1296
- export type ListFleetsResponse = ListFleetsResponses[keyof ListFleetsResponses];
1297
- export type CreateFleetData = {
1298
- body: FleetCreateInput;
1299
- path: {
1916
+ export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
1917
+ export type ReplyTicketData = {
1918
+ body: {
1300
1919
  /**
1301
- * Unique identifier of the cluster. UUID v4 string in canonical form
1920
+ * JSON-encoded TicketMessageInput.
1302
1921
  */
1303
- cluster_id: string;
1922
+ payload?: string;
1923
+ attachments?: Array<Blob | File>;
1924
+ };
1925
+ path: {
1926
+ ticket_id: string;
1304
1927
  };
1305
1928
  query?: never;
1306
- url: '/clusters/{cluster_id}/fleets';
1929
+ url: '/tickets/{ticket_id}/messages';
1307
1930
  };
1308
- export type CreateFleetErrors = {
1931
+ export type ReplyTicketErrors = {
1309
1932
  /**
1310
- * Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
1933
+ * Ticket is closed. Open a new ticket instead.
1311
1934
  */
1312
- 402: string;
1935
+ 409: unknown;
1313
1936
  };
1314
- export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
1315
- export type CreateFleetResponses = {
1937
+ export type ReplyTicketResponses = {
1316
1938
  /**
1317
- * Successfully created. Returns created Fleet ID.
1939
+ * Reply appended.
1318
1940
  */
1319
- 200: string;
1941
+ 200: TicketMessage;
1320
1942
  };
1321
- export type CreateFleetResponse = CreateFleetResponses[keyof CreateFleetResponses];
1322
- export type DeleteFleetData = {
1943
+ export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
1944
+ export type GetTicketAttachmentData = {
1323
1945
  body?: never;
1324
1946
  path: {
1325
- /**
1326
- * Unique identifier of the cluster. UUID v4 string in canonical form
1327
- */
1328
- cluster_id: string;
1329
- /**
1330
- * Unique identifier of the fleet. UUID v4 string in canonical form
1331
- */
1332
- fleet_name: string;
1947
+ ticket_id: string;
1948
+ attachment_id: string;
1333
1949
  };
1334
1950
  query?: never;
1335
- url: '/clusters/{cluster_id}/fleets/{fleet_name}';
1951
+ url: '/tickets/{ticket_id}/attachments/{attachment_id}';
1336
1952
  };
1337
- export type DeleteFleetResponses = {
1953
+ export type GetTicketAttachmentResponses = {
1338
1954
  /**
1339
- * Successfully deleted.
1955
+ * Attachment binary stream.
1340
1956
  */
1341
- 200: string;
1957
+ 200: Blob | File;
1342
1958
  };
1343
- export type DeleteFleetResponse = DeleteFleetResponses[keyof DeleteFleetResponses];
1344
- export type GetFleetData = {
1959
+ export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
1960
+ export type ListRepositoriesData = {
1345
1961
  body?: never;
1346
- path: {
1347
- /**
1348
- * Unique identifier of the cluster. UUID v4 string in canonical form
1349
- */
1350
- cluster_id: string;
1351
- /**
1352
- * Unique identifier of the fleet. UUID v4 string in canonical form
1353
- */
1354
- fleet_name: string;
1355
- };
1962
+ path?: never;
1356
1963
  query?: never;
1357
- url: '/clusters/{cluster_id}/fleets/{fleet_name}';
1964
+ url: '/registry';
1358
1965
  };
1359
- export type GetFleetResponses = {
1966
+ export type ListRepositoriesErrors = {
1360
1967
  /**
1361
- * Returns a single object containing fleet details.
1968
+ * Not authenticated
1362
1969
  */
1363
- 200: Fleet;
1970
+ 401: unknown;
1971
+ /**
1972
+ * Internal server error
1973
+ */
1974
+ 500: unknown;
1364
1975
  };
1365
- export type GetFleetResponse = GetFleetResponses[keyof GetFleetResponses];
1366
- export type UpdateFleetData = {
1367
- body: FleetUpdateInput;
1976
+ export type ListRepositoriesResponses = {
1977
+ /**
1978
+ * List of repositories
1979
+ */
1980
+ 200: Array<RegistryRepository>;
1981
+ };
1982
+ export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
1983
+ export type ListTagsData = {
1984
+ body?: never;
1368
1985
  path: {
1369
1986
  /**
1370
- * Unique identifier of the cluster. UUID v4 string in canonical form
1987
+ * Region where the repository is located
1371
1988
  */
1372
- cluster_id: string;
1989
+ region: string;
1373
1990
  /**
1374
- * Unique identifier of the fleet. UUID v4 string in canonical form
1991
+ * Name of the repository
1375
1992
  */
1376
- fleet_name: string;
1993
+ repository: string;
1377
1994
  };
1378
1995
  query?: never;
1379
- url: '/clusters/{cluster_id}/fleets/{fleet_name}';
1996
+ url: '/registry/{region}/{repository}';
1380
1997
  };
1381
- export type UpdateFleetErrors = {
1998
+ export type ListTagsErrors = {
1382
1999
  /**
1383
- * Organization must have a valid payment method configured to access this endpoint.
2000
+ * Not authenticated
1384
2001
  */
1385
- 402: string;
2002
+ 401: unknown;
2003
+ /**
2004
+ * Repository not found
2005
+ */
2006
+ 404: unknown;
2007
+ /**
2008
+ * Internal server error
2009
+ */
2010
+ 500: unknown;
1386
2011
  };
1387
- export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
1388
- export type UpdateFleetResponses = {
2012
+ export type ListTagsResponses = {
1389
2013
  /**
1390
- * Successfully updated.
2014
+ * Repository with tags
1391
2015
  */
1392
- 200: string;
2016
+ 200: RegistryRepositoryWithTags;
1393
2017
  };
1394
- export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
1395
- export type QueryClusterData = {
2018
+ export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
2019
+ export type DeleteTagData = {
1396
2020
  body?: never;
1397
2021
  path: {
1398
2022
  /**
1399
- * Unique identifier of the cluster. UUID v4 string in canonical form
2023
+ * Region where the repository is located
1400
2024
  */
1401
- cluster_id: string;
2025
+ region: string;
2026
+ /**
2027
+ * Name of the repository
2028
+ */
2029
+ repository: string;
2030
+ /**
2031
+ * Name of the tag
2032
+ */
2033
+ tag: string;
1402
2034
  };
1403
2035
  query?: never;
1404
- url: '/clusters/{cluster_id}/query';
2036
+ url: '/registry/{region}/{repository}/{tag}';
1405
2037
  };
1406
- export type QueryClusterErrors = {
2038
+ export type DeleteTagErrors = {
1407
2039
  /**
1408
2040
  * Not authenticated
1409
2041
  */
1410
2042
  401: unknown;
2043
+ /**
2044
+ * Tag not found
2045
+ */
2046
+ 404: unknown;
2047
+ /**
2048
+ * Internal server error
2049
+ */
2050
+ 500: unknown;
1411
2051
  };
1412
- export type QueryClusterResponses = {
2052
+ export type DeleteTagResponses = {
1413
2053
  /**
1414
- * Kubernetes API response
2054
+ * Tag successfully deleted
1415
2055
  */
1416
2056
  200: unknown;
1417
2057
  };
1418
- export type ListClustersData = {
2058
+ export type GetTagData = {
1419
2059
  body?: never;
1420
- path?: never;
2060
+ path: {
2061
+ /**
2062
+ * Region where the repository is located
2063
+ */
2064
+ region: string;
2065
+ /**
2066
+ * Name of the repository
2067
+ */
2068
+ repository: string;
2069
+ /**
2070
+ * Name of the tag
2071
+ */
2072
+ tag: string;
2073
+ };
1421
2074
  query?: never;
1422
- url: '/clusters';
2075
+ url: '/registry/{region}/{repository}/{tag}';
1423
2076
  };
1424
- export type ListClustersErrors = {
2077
+ export type GetTagErrors = {
1425
2078
  /**
1426
2079
  * Not authenticated
1427
2080
  */
1428
2081
  401: unknown;
1429
- };
1430
- export type ListClustersResponses = {
1431
2082
  /**
1432
- * An array of clusters
2083
+ * Tag not found
1433
2084
  */
1434
- 200: Array<Cluster>;
1435
- };
1436
- export type ListClustersResponse = ListClustersResponses[keyof ListClustersResponses];
1437
- export type CreateClusterData = {
1438
- body: ClusterCreateInput;
1439
- path?: never;
1440
- query?: never;
1441
- url: '/clusters';
1442
- };
1443
- export type CreateClusterErrors = {
2085
+ 404: unknown;
1444
2086
  /**
1445
- * Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
2087
+ * Internal server error
1446
2088
  */
1447
- 402: string;
2089
+ 500: unknown;
1448
2090
  };
1449
- export type CreateClusterError = CreateClusterErrors[keyof CreateClusterErrors];
1450
- export type CreateClusterResponses = {
2091
+ export type GetTagResponses = {
1451
2092
  /**
1452
- * Successfully created. Returns created Cluster ID.
2093
+ * Tag details
1453
2094
  */
1454
- 200: string;
2095
+ 200: RegistryTag;
1455
2096
  };
1456
- export type CreateClusterResponse = CreateClusterResponses[keyof CreateClusterResponses];
1457
- export type DeleteClusterData = {
2097
+ export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
2098
+ export type GetOrganizationData = {
1458
2099
  body?: never;
1459
- path: {
1460
- /**
1461
- * Unique identifier of the cluster. UUID v4 string in canonical form
1462
- */
1463
- cluster_id: string;
1464
- };
2100
+ path?: never;
1465
2101
  query?: never;
1466
- url: '/clusters/{cluster_id}';
2102
+ url: '/organization';
1467
2103
  };
1468
- export type DeleteClusterResponses = {
2104
+ export type GetOrganizationResponses = {
1469
2105
  /**
1470
- * Successfully deleted.
2106
+ * Returns a single object containing organization details.
1471
2107
  */
1472
- 200: string;
2108
+ 200: Organization;
1473
2109
  };
1474
- export type DeleteClusterResponse = DeleteClusterResponses[keyof DeleteClusterResponses];
1475
- export type GetClusterData = {
1476
- body?: never;
1477
- path: {
2110
+ export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
2111
+ export type CreateOrganizationData = {
2112
+ body: OrganizationCreateInput;
2113
+ path?: never;
2114
+ query?: never;
2115
+ url: '/organization';
2116
+ };
2117
+ export type CreateOrganizationResponses = {
2118
+ /**
2119
+ * Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
2120
+ *
2121
+ */
2122
+ 200: OrganizationCreateOutput;
2123
+ };
2124
+ export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
2125
+ export type PostMcpData = {
2126
+ /**
2127
+ * JSON-RPC 2.0 request payload
2128
+ */
2129
+ body: {
2130
+ jsonrpc?: string;
2131
+ method?: string;
2132
+ id?: string | number;
1478
2133
  /**
1479
- * Unique identifier of the cluster. UUID v4 string in canonical form
2134
+ * Method-specific parameters
1480
2135
  */
1481
- cluster_id: string;
2136
+ params?: {
2137
+ [key: string]: unknown;
2138
+ };
1482
2139
  };
2140
+ path?: never;
1483
2141
  query?: never;
1484
- url: '/clusters/{cluster_id}';
2142
+ url: '/mcp';
1485
2143
  };
1486
- export type GetClusterResponses = {
2144
+ export type PostMcpErrors = {
1487
2145
  /**
1488
- * Returns a single object containing cluster details.
2146
+ * Not authenticated
1489
2147
  */
1490
- 200: Cluster;
2148
+ 401: unknown;
1491
2149
  };
1492
- export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
1493
- export type UpdateClusterData = {
1494
- body: ClusterUpdateInput;
1495
- path: {
1496
- /**
1497
- * Unique identifier of the cluster. UUID v4 string in canonical form
1498
- */
1499
- cluster_id: string;
2150
+ export type PostMcpResponses = {
2151
+ /**
2152
+ * JSON-RPC 2.0 success or error response
2153
+ */
2154
+ 200: {
2155
+ jsonrpc?: string;
2156
+ id?: string | number;
2157
+ result?: {
2158
+ [key: string]: unknown;
2159
+ };
2160
+ error?: {
2161
+ code?: number;
2162
+ message?: string;
2163
+ };
1500
2164
  };
2165
+ };
2166
+ export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
2167
+ export type ListMarketplaceChartsData = {
2168
+ body?: never;
2169
+ path?: never;
1501
2170
  query?: never;
1502
- url: '/clusters/{cluster_id}';
2171
+ url: '/marketplace';
1503
2172
  };
1504
- export type UpdateClusterResponses = {
2173
+ export type ListMarketplaceChartsErrors = {
1505
2174
  /**
1506
- * Successfully updated. Returns updated cluster details.
2175
+ * Not authenticated
1507
2176
  */
1508
- 200: Cluster;
2177
+ 401: unknown;
1509
2178
  };
1510
- export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
1511
- export type GetJoinInformationData = {
2179
+ export type ListMarketplaceChartsResponses = {
2180
+ /**
2181
+ * An array of chart listings in the marketplace.
2182
+ */
2183
+ 200: Array<MarketplaceListing>;
2184
+ };
2185
+ export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
2186
+ export type GetMarketplaceChartFilesData = {
1512
2187
  body?: never;
1513
2188
  path: {
1514
2189
  /**
1515
- * Unique identifier of the cluster. UUID v4 string in canonical form
2190
+ * Name of the chart in the marketplace.
1516
2191
  */
1517
- cluster_id: string;
2192
+ chart_name: string;
2193
+ /**
2194
+ * 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).
2195
+ */
2196
+ version_channel: string;
1518
2197
  };
1519
2198
  query?: never;
1520
- url: '/clusters/{cluster_id}/join_information';
2199
+ url: '/marketplace/{chart_name}/files/{version_channel}';
1521
2200
  };
1522
- export type GetJoinInformationErrors = {
2201
+ export type GetMarketplaceChartFilesErrors = {
1523
2202
  /**
1524
- * Not authenticated
2203
+ * Chart not found or no version matches the channel
1525
2204
  */
1526
- 401: unknown;
2205
+ 404: unknown;
1527
2206
  };
1528
- export type GetJoinInformationResponses = {
2207
+ export type GetMarketplaceChartFilesResponses = {
1529
2208
  /**
1530
- * An object of cluster join information
2209
+ * Returns an object containing the chart files for the latest matching version.
1531
2210
  */
1532
- 200: Cluster;
2211
+ 200: MarketplaceListingFiles;
1533
2212
  };
1534
- export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
2213
+ export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
1535
2214
  export type ListInvitesData = {
1536
2215
  body?: never;
1537
2216
  path?: never;
@@ -1552,12 +2231,7 @@ export type ListInvitesResponses = {
1552
2231
  };
1553
2232
  export type ListInvitesResponse = ListInvitesResponses[keyof ListInvitesResponses];
1554
2233
  export type CreateInviteData = {
1555
- body: {
1556
- /**
1557
- * User email address
1558
- */
1559
- email?: string;
1560
- };
2234
+ body: InviteCreateInput;
1561
2235
  path?: never;
1562
2236
  query?: never;
1563
2237
  url: '/invites';
@@ -1582,9 +2256,18 @@ export type GetInviteData = {
1582
2256
  };
1583
2257
  export type GetInviteResponses = {
1584
2258
  /**
1585
- * Returns a single object containing invite details.
2259
+ * The invitation code is valid. Returns the invited email and organization.
1586
2260
  */
1587
- 200: Invite;
2261
+ 200: {
2262
+ /**
2263
+ * Email address the invite was issued to.
2264
+ */
2265
+ email?: string;
2266
+ /**
2267
+ * Identifier of the organization the invite grants access to.
2268
+ */
2269
+ organization_id?: string;
2270
+ };
1588
2271
  };
1589
2272
  export type GetInviteResponse = GetInviteResponses[keyof GetInviteResponses];
1590
2273
  export type DeleteInviteData = {
@@ -1604,325 +2287,654 @@ export type DeleteInviteResponses = {
1604
2287
  */
1605
2288
  200: unknown;
1606
2289
  };
1607
- export type ListMarketplaceChartsData = {
2290
+ export type QueryClusterData = {
1608
2291
  body?: never;
1609
- path?: never;
2292
+ path: {
2293
+ /**
2294
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2295
+ */
2296
+ cluster_id: string;
2297
+ };
1610
2298
  query?: never;
1611
- url: '/marketplace';
2299
+ url: '/clusters/{cluster_id}/query';
1612
2300
  };
1613
- export type ListMarketplaceChartsErrors = {
2301
+ export type QueryClusterErrors = {
1614
2302
  /**
1615
2303
  * Not authenticated
1616
2304
  */
1617
2305
  401: unknown;
1618
2306
  };
1619
- export type ListMarketplaceChartsResponses = {
2307
+ export type QueryClusterResponses = {
1620
2308
  /**
1621
- * An array of chart listings in the marketplace.
2309
+ * Kubernetes API response
1622
2310
  */
1623
- 200: Array<MarketplaceListing>;
2311
+ 200: unknown;
1624
2312
  };
1625
- export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
1626
- export type GetMarketplaceChartData = {
2313
+ export type ListFleetsData = {
1627
2314
  body?: never;
1628
2315
  path: {
1629
2316
  /**
1630
- * Unique identifier of the chart listing in the marketplace.
2317
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1631
2318
  */
1632
- listing_id: string;
2319
+ cluster_id: string;
1633
2320
  };
1634
2321
  query?: never;
1635
- url: '/marketplace/{listing_id}';
2322
+ url: '/clusters/{cluster_id}/fleets';
1636
2323
  };
1637
- export type GetMarketplaceChartResponses = {
2324
+ export type ListFleetsErrors = {
1638
2325
  /**
1639
- * Returns an object containing the chart listing details.
2326
+ * Not authenticated
1640
2327
  */
1641
- 200: MarketplaceListing;
1642
- };
1643
- export type GetMarketplaceChartResponse = GetMarketplaceChartResponses[keyof GetMarketplaceChartResponses];
1644
- export type GetOrganizationData = {
1645
- body?: never;
1646
- path?: never;
1647
- query?: never;
1648
- url: '/organization';
2328
+ 401: unknown;
1649
2329
  };
1650
- export type GetOrganizationResponses = {
2330
+ export type ListFleetsResponses = {
1651
2331
  /**
1652
- * Returns a single object containing organization details.
2332
+ * An array of fleets
1653
2333
  */
1654
- 200: Organization;
2334
+ 200: Array<Fleet>;
1655
2335
  };
1656
- export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
1657
- export type CreateOrganizationData = {
1658
- body: OrganizationCreateInput;
1659
- path?: never;
2336
+ export type ListFleetsResponse = ListFleetsResponses[keyof ListFleetsResponses];
2337
+ export type CreateFleetData = {
2338
+ body: FleetCreateInput;
2339
+ path: {
2340
+ /**
2341
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2342
+ */
2343
+ cluster_id: string;
2344
+ };
1660
2345
  query?: never;
1661
- url: '/organization';
2346
+ url: '/clusters/{cluster_id}/fleets';
1662
2347
  };
1663
- export type CreateOrganizationResponses = {
2348
+ export type CreateFleetErrors = {
1664
2349
  /**
1665
- * Successfully created a new organization.
2350
+ * Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
1666
2351
  */
1667
- 200: unknown;
1668
- };
1669
- export type ListTokensData = {
1670
- body?: never;
1671
- path?: never;
1672
- query?: never;
1673
- url: '/tokens';
1674
- };
1675
- export type ListTokensErrors = {
2352
+ 402: string;
1676
2353
  /**
1677
- * Not authenticated
2354
+ * The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
1678
2355
  */
1679
- 401: unknown;
2356
+ 409: string;
1680
2357
  };
1681
- export type ListTokensResponses = {
2358
+ export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
2359
+ export type CreateFleetResponses = {
1682
2360
  /**
1683
- * Returns a list of access token details with masked secrets.
2361
+ * Successfully created. Returns created Fleet ID.
1684
2362
  */
1685
- 200: Array<Token>;
2363
+ 200: string;
1686
2364
  };
1687
- export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
1688
- export type CreateTokenData = {
1689
- body: TokenCreateInput;
1690
- path?: never;
2365
+ export type CreateFleetResponse = CreateFleetResponses[keyof CreateFleetResponses];
2366
+ export type DeleteFleetData = {
2367
+ body?: never;
2368
+ path: {
2369
+ /**
2370
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2371
+ */
2372
+ cluster_id: string;
2373
+ /**
2374
+ * Unique identifier of the fleet. UUID v4 string in canonical form
2375
+ */
2376
+ fleet_name: string;
2377
+ };
1691
2378
  query?: never;
1692
- url: '/tokens';
2379
+ url: '/clusters/{cluster_id}/fleets/{fleet_name}';
1693
2380
  };
1694
- export type CreateTokenErrors = {
2381
+ export type DeleteFleetErrors = {
1695
2382
  /**
1696
- * Not authenticated
2383
+ * The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
1697
2384
  */
1698
- 401: unknown;
2385
+ 409: string;
1699
2386
  };
1700
- export type CreateTokenResponses = {
2387
+ export type DeleteFleetError = DeleteFleetErrors[keyof DeleteFleetErrors];
2388
+ export type DeleteFleetResponses = {
1701
2389
  /**
1702
- * Successfully created. Returns created token details with unmasked/raw secret.
2390
+ * Successfully deleted.
1703
2391
  */
1704
- 200: Token;
2392
+ 200: string;
1705
2393
  };
1706
- export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
1707
- export type DeleteTokenData = {
2394
+ export type DeleteFleetResponse = DeleteFleetResponses[keyof DeleteFleetResponses];
2395
+ export type GetFleetData = {
1708
2396
  body?: never;
1709
2397
  path: {
1710
2398
  /**
1711
- * Generated unique identifier of the access token.
2399
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1712
2400
  */
1713
- token_id: string;
2401
+ cluster_id: string;
2402
+ /**
2403
+ * Unique identifier of the fleet. UUID v4 string in canonical form
2404
+ */
2405
+ fleet_name: string;
1714
2406
  };
1715
2407
  query?: never;
1716
- url: '/tokens/{token_id}';
2408
+ url: '/clusters/{cluster_id}/fleets/{fleet_name}';
1717
2409
  };
1718
- export type DeleteTokenResponses = {
2410
+ export type GetFleetResponses = {
1719
2411
  /**
1720
- * Successfully deleted.
2412
+ * Returns a single object containing fleet details.
1721
2413
  */
1722
- 200: unknown;
2414
+ 200: Fleet;
1723
2415
  };
1724
- export type GetTokenData = {
1725
- body?: never;
2416
+ export type GetFleetResponse = GetFleetResponses[keyof GetFleetResponses];
2417
+ export type UpdateFleetData = {
2418
+ body: FleetUpdateInput;
1726
2419
  path: {
1727
2420
  /**
1728
- * Generated unique identifier of the access token.
2421
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1729
2422
  */
1730
- token_id: string;
2423
+ cluster_id: string;
2424
+ /**
2425
+ * Unique identifier of the fleet. UUID v4 string in canonical form
2426
+ */
2427
+ fleet_name: string;
1731
2428
  };
1732
2429
  query?: never;
1733
- url: '/tokens/{token_id}';
2430
+ url: '/clusters/{cluster_id}/fleets/{fleet_name}';
1734
2431
  };
1735
- export type GetTokenErrors = {
2432
+ export type UpdateFleetErrors = {
1736
2433
  /**
1737
- * Not authenticated
2434
+ * Organization must have a valid payment method configured to access this endpoint.
1738
2435
  */
1739
- 401: unknown;
2436
+ 402: string;
2437
+ /**
2438
+ * The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
2439
+ */
2440
+ 409: string;
1740
2441
  };
1741
- export type GetTokenResponses = {
2442
+ export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
2443
+ export type UpdateFleetResponses = {
1742
2444
  /**
1743
- * Returns access token details with masked secret.
2445
+ * Successfully updated.
1744
2446
  */
1745
- 200: Token;
2447
+ 200: string;
1746
2448
  };
1747
- export type GetTokenResponse = GetTokenResponses[keyof GetTokenResponses];
1748
- export type UpdateTokenData = {
1749
- body: TokenUpdateInput;
2449
+ export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
2450
+ export type ListChartsData = {
2451
+ body?: never;
1750
2452
  path: {
1751
2453
  /**
1752
- * Generated unique identifier of the access token.
2454
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1753
2455
  */
1754
- token_id: string;
2456
+ cluster_id: string;
1755
2457
  };
1756
2458
  query?: never;
1757
- url: '/tokens/{token_id}';
2459
+ url: '/clusters/{cluster_id}/charts';
1758
2460
  };
1759
- export type UpdateTokenErrors = {
2461
+ export type ListChartsErrors = {
1760
2462
  /**
1761
2463
  * Not authenticated
1762
2464
  */
1763
2465
  401: unknown;
1764
2466
  };
1765
- export type UpdateTokenResponses = {
2467
+ export type ListChartsResponses = {
1766
2468
  /**
1767
- * Successfully updated. Returns updated token details with masked secret.
2469
+ * An array of charts
1768
2470
  */
1769
- 200: Token;
2471
+ 200: Array<Chart>;
1770
2472
  };
1771
- export type UpdateTokenResponse = UpdateTokenResponses[keyof UpdateTokenResponses];
1772
- export type RegenerateTokenData = {
2473
+ export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
2474
+ export type CreateChartData = {
2475
+ body: ChartCreateInput;
2476
+ path: {
2477
+ /**
2478
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2479
+ */
2480
+ cluster_id: string;
2481
+ };
2482
+ query?: never;
2483
+ url: '/clusters/{cluster_id}/charts';
2484
+ };
2485
+ export type CreateChartErrors = {
2486
+ /**
2487
+ * The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
2488
+ */
2489
+ 409: string;
2490
+ };
2491
+ export type CreateChartError = CreateChartErrors[keyof CreateChartErrors];
2492
+ export type CreateChartResponses = {
2493
+ /**
2494
+ * Successfully created. Returns created Chart ID.
2495
+ */
2496
+ 200: string;
2497
+ };
2498
+ export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
2499
+ export type DeleteChartData = {
1773
2500
  body?: never;
1774
2501
  path: {
1775
2502
  /**
1776
- * Generated unique identifier of the access token.
2503
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1777
2504
  */
1778
- token_id: string;
2505
+ cluster_id: string;
2506
+ /**
2507
+ * Chart deployment name as the unique identifier of the chart.
2508
+ */
2509
+ chart_name: string;
1779
2510
  };
1780
2511
  query?: never;
1781
- url: '/tokens/{token_id}/secret';
2512
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
1782
2513
  };
1783
- export type RegenerateTokenErrors = {
2514
+ export type DeleteChartErrors = {
2515
+ /**
2516
+ * The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
2517
+ */
2518
+ 409: string;
2519
+ };
2520
+ export type DeleteChartError = DeleteChartErrors[keyof DeleteChartErrors];
2521
+ export type DeleteChartResponses = {
2522
+ /**
2523
+ * Successfully deleted.
2524
+ */
2525
+ 200: string;
2526
+ };
2527
+ export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
2528
+ export type GetChartData = {
2529
+ body?: never;
2530
+ path: {
2531
+ /**
2532
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2533
+ */
2534
+ cluster_id: string;
2535
+ /**
2536
+ * Chart deployment name as the unique identifier of the chart.
2537
+ */
2538
+ chart_name: string;
2539
+ };
2540
+ query?: never;
2541
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
2542
+ };
2543
+ export type GetChartResponses = {
2544
+ /**
2545
+ * Returns a single object containing chart details.
2546
+ */
2547
+ 200: Chart;
2548
+ };
2549
+ export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
2550
+ export type UpdateChartData = {
2551
+ body: ChartUpdateInput;
2552
+ path: {
2553
+ /**
2554
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2555
+ */
2556
+ cluster_id: string;
2557
+ /**
2558
+ * Chart deployment name as the unique identifier of the chart.
2559
+ */
2560
+ chart_name: string;
2561
+ };
2562
+ query?: never;
2563
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
2564
+ };
2565
+ export type UpdateChartErrors = {
2566
+ /**
2567
+ * The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
2568
+ */
2569
+ 409: string;
2570
+ };
2571
+ export type UpdateChartError = UpdateChartErrors[keyof UpdateChartErrors];
2572
+ export type UpdateChartResponses = {
2573
+ /**
2574
+ * Successfully updated.
2575
+ */
2576
+ 200: string;
2577
+ };
2578
+ export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
2579
+ export type ListClustersData = {
2580
+ body?: never;
2581
+ path?: never;
2582
+ query?: never;
2583
+ url: '/clusters';
2584
+ };
2585
+ export type ListClustersErrors = {
1784
2586
  /**
1785
2587
  * Not authenticated
1786
2588
  */
1787
2589
  401: unknown;
1788
2590
  };
1789
- export type RegenerateTokenResponses = {
2591
+ export type ListClustersResponses = {
1790
2592
  /**
1791
- * Successfully updated. Returns updated token details with unmasked / raw secret.
2593
+ * An array of clusters
1792
2594
  */
1793
- 200: Token;
2595
+ 200: Array<Cluster>;
1794
2596
  };
1795
- export type RegenerateTokenResponse = RegenerateTokenResponses[keyof RegenerateTokenResponses];
1796
- export type ListUserOrganizationsData = {
2597
+ export type ListClustersResponse = ListClustersResponses[keyof ListClustersResponses];
2598
+ export type CreateClusterData = {
2599
+ body: ClusterCreateInput;
2600
+ path?: never;
2601
+ query?: never;
2602
+ url: '/clusters';
2603
+ };
2604
+ export type CreateClusterErrors = {
2605
+ /**
2606
+ * Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
2607
+ */
2608
+ 402: string;
2609
+ };
2610
+ export type CreateClusterError = CreateClusterErrors[keyof CreateClusterErrors];
2611
+ export type CreateClusterResponses = {
2612
+ /**
2613
+ * Successfully created. Returns created Cluster ID.
2614
+ */
2615
+ 200: string;
2616
+ };
2617
+ export type CreateClusterResponse = CreateClusterResponses[keyof CreateClusterResponses];
2618
+ export type DeleteClusterData = {
1797
2619
  body?: never;
1798
2620
  path: {
1799
2621
  /**
1800
- * User email address.
2622
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1801
2623
  */
1802
- email: string;
2624
+ cluster_id: string;
1803
2625
  };
1804
2626
  query?: never;
1805
- url: '/users/organizations/{email}';
2627
+ url: '/clusters/{cluster_id}';
1806
2628
  };
1807
- export type ListUserOrganizationsResponses = {
2629
+ export type DeleteClusterErrors = {
1808
2630
  /**
1809
- * An array of organizations the user belongs to.
2631
+ * Cluster not found; it does not exist or has already been deleted.
1810
2632
  */
1811
- 200: Array<{
2633
+ 404: unknown;
2634
+ /**
2635
+ * The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
2636
+ */
2637
+ 409: string;
2638
+ /**
2639
+ * Transient failure tearing down the cluster; retry the request.
2640
+ */
2641
+ 503: unknown;
2642
+ };
2643
+ export type DeleteClusterError = DeleteClusterErrors[keyof DeleteClusterErrors];
2644
+ export type DeleteClusterResponses = {
2645
+ /**
2646
+ * Successfully deleted. The cluster has been torn down.
2647
+ */
2648
+ 200: string;
2649
+ };
2650
+ export type DeleteClusterResponse = DeleteClusterResponses[keyof DeleteClusterResponses];
2651
+ export type GetClusterData = {
2652
+ body?: never;
2653
+ path: {
1812
2654
  /**
1813
- * Unique identifier of the organization. UUID v4 string in canonical form
2655
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1814
2656
  */
1815
- realm?: string;
2657
+ cluster_id: string;
2658
+ };
2659
+ query?: never;
2660
+ url: '/clusters/{cluster_id}';
2661
+ };
2662
+ export type GetClusterResponses = {
2663
+ /**
2664
+ * Returns a single object containing cluster details.
2665
+ */
2666
+ 200: Cluster;
2667
+ };
2668
+ export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
2669
+ export type UpdateClusterData = {
2670
+ body: ClusterUpdateInput;
2671
+ path: {
1816
2672
  /**
1817
- * Human-readable name of the organization
2673
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1818
2674
  */
1819
- displayName?: string;
1820
- }>;
2675
+ cluster_id: string;
2676
+ };
2677
+ query?: never;
2678
+ url: '/clusters/{cluster_id}';
1821
2679
  };
1822
- export type ListUserOrganizationsResponse = ListUserOrganizationsResponses[keyof ListUserOrganizationsResponses];
1823
- export type ListUsersData = {
2680
+ export type UpdateClusterErrors = {
2681
+ /**
2682
+ * The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
2683
+ */
2684
+ 409: string;
2685
+ };
2686
+ export type UpdateClusterError = UpdateClusterErrors[keyof UpdateClusterErrors];
2687
+ export type UpdateClusterResponses = {
2688
+ /**
2689
+ * Successfully updated. Returns updated cluster details.
2690
+ */
2691
+ 200: Cluster;
2692
+ };
2693
+ export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
2694
+ export type GetJoinInformationData = {
1824
2695
  body?: never;
1825
- path?: never;
2696
+ path: {
2697
+ /**
2698
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2699
+ */
2700
+ cluster_id: string;
2701
+ };
1826
2702
  query?: never;
1827
- url: '/users';
2703
+ url: '/clusters/{cluster_id}/join_information';
1828
2704
  };
1829
- export type ListUsersErrors = {
2705
+ export type GetJoinInformationErrors = {
1830
2706
  /**
1831
2707
  * Not authenticated
1832
2708
  */
1833
2709
  401: unknown;
2710
+ /**
2711
+ * The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
2712
+ */
2713
+ 409: string;
1834
2714
  };
1835
- export type ListUsersResponses = {
2715
+ export type GetJoinInformationError = GetJoinInformationErrors[keyof GetJoinInformationErrors];
2716
+ export type GetJoinInformationResponses = {
1836
2717
  /**
1837
- * An array of users
2718
+ * An object of cluster join information
1838
2719
  */
1839
- 200: Array<User>;
2720
+ 200: ClusterJoinInformation;
1840
2721
  };
1841
- export type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
1842
- export type CreateUserData = {
1843
- body: UserCreateInput;
2722
+ export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
2723
+ export type GetUsageData = {
2724
+ body?: never;
2725
+ path?: never;
2726
+ query?: {
2727
+ /**
2728
+ * 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)
2729
+ */
2730
+ granularity?: 'hourly' | 'daily' | 'monthly';
2731
+ };
2732
+ url: '/billing/usage';
2733
+ };
2734
+ export type GetUsageErrors = {
2735
+ /**
2736
+ * Not authenticated
2737
+ */
2738
+ 401: unknown;
2739
+ };
2740
+ export type GetUsageResponses = {
2741
+ /**
2742
+ * Usage data with facets for filtering
2743
+ */
2744
+ 200: UsageResponse;
2745
+ };
2746
+ export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
2747
+ export type GetPaymentMethodSecretData = {
2748
+ body?: never;
1844
2749
  path?: never;
1845
2750
  query?: never;
1846
- url: '/users';
2751
+ url: '/billing/payment-method';
1847
2752
  };
1848
- export type CreateUserResponses = {
2753
+ export type GetPaymentMethodSecretResponses = {
1849
2754
  /**
1850
- * Successfully created. Returns created user details.
2755
+ * 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.
2756
+ *
1851
2757
  */
1852
- 200: User;
2758
+ 200: {
2759
+ /**
2760
+ * The client secret.
2761
+ */
2762
+ id?: string;
2763
+ };
1853
2764
  };
1854
- export type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];
1855
- export type DeleteUserData = {
2765
+ export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
2766
+ export type ListPaymentMethodsData = {
2767
+ body?: never;
2768
+ path?: never;
2769
+ query?: never;
2770
+ url: '/billing/payment-methods';
2771
+ };
2772
+ export type ListPaymentMethodsErrors = {
2773
+ /**
2774
+ * Not authenticated
2775
+ */
2776
+ 401: unknown;
2777
+ };
2778
+ export type ListPaymentMethodsResponses = {
2779
+ /**
2780
+ * An array of payment methods.
2781
+ */
2782
+ 200: Array<PaymentMethod>;
2783
+ };
2784
+ export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
2785
+ export type SetDefaultPaymentMethodData = {
1856
2786
  body?: never;
1857
2787
  path: {
1858
2788
  /**
1859
- * Unique user identifier. UUID v4 string in canonical form
2789
+ * Stripe payment method identifier.
1860
2790
  */
1861
- user_id: string;
2791
+ paymentMethodId: string;
1862
2792
  };
1863
2793
  query?: never;
1864
- url: '/users/{user_id}';
2794
+ url: '/billing/payment-methods/{paymentMethodId}/default';
1865
2795
  };
1866
- export type DeleteUserErrors = {
2796
+ export type SetDefaultPaymentMethodErrors = {
1867
2797
  /**
1868
- * Deleting own user is not allowed. Delete your organization instead.
2798
+ * The bank transfer payment method cannot be set as the default.
1869
2799
  */
1870
2800
  400: unknown;
1871
2801
  /**
1872
2802
  * Not authenticated
1873
2803
  */
1874
2804
  401: unknown;
2805
+ /**
2806
+ * Payment method not found.
2807
+ */
2808
+ 404: unknown;
1875
2809
  };
1876
- export type DeleteUserResponses = {
2810
+ export type SetDefaultPaymentMethodResponses = {
1877
2811
  /**
1878
- * User profile information
2812
+ * Default payment method updated.
1879
2813
  */
1880
- 200: User;
2814
+ 204: void;
1881
2815
  };
1882
- export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
1883
- export type GetUserData = {
2816
+ export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
2817
+ export type DeletePaymentMethodData = {
1884
2818
  body?: never;
1885
2819
  path: {
1886
2820
  /**
1887
- * Unique user identifier. UUID v4 string in canonical form
2821
+ * Stripe payment method identifier.
1888
2822
  */
1889
- user_id: string;
2823
+ paymentMethodId: string;
1890
2824
  };
1891
2825
  query?: never;
1892
- url: '/users/{user_id}';
2826
+ url: '/billing/payment-methods/{paymentMethodId}';
1893
2827
  };
1894
- export type GetUserErrors = {
2828
+ export type DeletePaymentMethodErrors = {
2829
+ /**
2830
+ * The bank transfer payment method cannot be removed.
2831
+ */
2832
+ 400: unknown;
1895
2833
  /**
1896
2834
  * Not authenticated
1897
2835
  */
1898
2836
  401: unknown;
2837
+ /**
2838
+ * Payment method not found.
2839
+ */
2840
+ 404: unknown;
2841
+ /**
2842
+ * Cannot delete the only remaining payment method.
2843
+ */
2844
+ 409: unknown;
1899
2845
  };
1900
- export type GetUserResponses = {
2846
+ export type DeletePaymentMethodResponses = {
1901
2847
  /**
1902
- * User profile information
2848
+ * Payment method deleted.
1903
2849
  */
1904
- 200: User;
2850
+ 204: void;
1905
2851
  };
1906
- export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
1907
- export type UpdateUserData = {
1908
- body: UserUpdateInput;
1909
- path: {
2852
+ export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
2853
+ export type ListInvoicesData = {
2854
+ body?: never;
2855
+ path?: never;
2856
+ query?: never;
2857
+ url: '/billing/invoices';
2858
+ };
2859
+ export type ListInvoicesErrors = {
2860
+ /**
2861
+ * Not authenticated
2862
+ */
2863
+ 401: unknown;
2864
+ };
2865
+ export type ListInvoicesResponses = {
2866
+ /**
2867
+ * An array of usage records.
2868
+ */
2869
+ 200: Array<Invoice>;
2870
+ };
2871
+ export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
2872
+ export type GetContactData = {
2873
+ body?: never;
2874
+ path?: never;
2875
+ query?: never;
2876
+ url: '/billing/contact';
2877
+ };
2878
+ export type GetContactResponses = {
2879
+ /**
2880
+ * Returns a single object containing organization contact and billing address details.
2881
+ */
2882
+ 200: BillingContact;
2883
+ };
2884
+ export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
2885
+ export type UpdateContactData = {
2886
+ body: BillingContact;
2887
+ path?: never;
2888
+ query?: never;
2889
+ url: '/billing/contact';
2890
+ };
2891
+ export type UpdateContactResponses = {
2892
+ /**
2893
+ * Successfully updated. Returns updated organization details.
2894
+ */
2895
+ 200: BillingContact;
2896
+ };
2897
+ export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
2898
+ export type GetCreditsData = {
2899
+ body?: never;
2900
+ path?: never;
2901
+ query?: never;
2902
+ url: '/billing/credits';
2903
+ };
2904
+ export type GetCreditsErrors = {
2905
+ /**
2906
+ * Not authenticated
2907
+ */
2908
+ 401: unknown;
2909
+ };
2910
+ export type GetCreditsResponses = {
2911
+ /**
2912
+ * An array of the applied promotional credits records.
2913
+ */
2914
+ 200: Array<BillingCredits>;
2915
+ };
2916
+ export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
2917
+ export type RedeemCreditsData = {
2918
+ body: {
1910
2919
  /**
1911
- * Unique user identifier. UUID v4 string in canonical form
2920
+ * Promotional code to redeem
1912
2921
  */
1913
- user_id: string;
2922
+ code?: string;
1914
2923
  };
2924
+ path?: never;
1915
2925
  query?: never;
1916
- url: '/users/{user_id}';
2926
+ url: '/billing/credits';
1917
2927
  };
1918
- export type UpdateUserResponses = {
2928
+ export type RedeemCreditsErrors = {
1919
2929
  /**
1920
- * Successfully created. Returns created user details.
2930
+ * Not authenticated
1921
2931
  */
1922
- 200: User;
2932
+ 401: unknown;
1923
2933
  };
1924
- export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
1925
- export type ClientOptions = {
1926
- baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
2934
+ export type RedeemCreditsResponses = {
2935
+ /**
2936
+ * Successfully created a new organization.
2937
+ */
2938
+ 200: unknown;
1927
2939
  };
1928
2940
  //# sourceMappingURL=types.gen.d.ts.map