@cloudfleet/sdk 0.0.1-d940b00 → 0.0.1-da466c0

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 (46) hide show
  1. package/README.md +56 -2
  2. package/dist/@tanstack/react-query.gen.d.ts +420 -626
  3. package/dist/@tanstack/react-query.gen.d.ts.map +1 -1
  4. package/dist/@tanstack/react-query.gen.js +410 -419
  5. package/dist/@tanstack/react-query.gen.js.map +1 -1
  6. package/dist/client/client.gen.d.ts.map +1 -1
  7. package/dist/client/client.gen.js +1 -4
  8. package/dist/client/client.gen.js.map +1 -1
  9. package/dist/client/types.gen.d.ts +1 -1
  10. package/dist/client/types.gen.d.ts.map +1 -1
  11. package/dist/client/utils.gen.d.ts +2 -2
  12. package/dist/client/utils.gen.d.ts.map +1 -1
  13. package/dist/client/utils.gen.js +3 -3
  14. package/dist/client/utils.gen.js.map +1 -1
  15. package/dist/core/params.gen.js +4 -4
  16. package/dist/core/params.gen.js.map +1 -1
  17. package/dist/errors.d.ts +42 -0
  18. package/dist/errors.d.ts.map +1 -0
  19. package/dist/errors.js +83 -0
  20. package/dist/errors.js.map +1 -0
  21. package/dist/index.d.ts +1 -0
  22. package/dist/index.d.ts.map +1 -1
  23. package/dist/index.js +4 -0
  24. package/dist/index.js.map +1 -1
  25. package/dist/schemas.gen.d.ts +521 -492
  26. package/dist/schemas.gen.d.ts.map +1 -1
  27. package/dist/schemas.gen.js +719 -583
  28. package/dist/schemas.gen.js.map +1 -1
  29. package/dist/sdk.gen.d.ts +221 -228
  30. package/dist/sdk.gen.d.ts.map +1 -1
  31. package/dist/sdk.gen.js +339 -339
  32. package/dist/sdk.gen.js.map +1 -1
  33. package/dist/services/kubernetes/api.d.ts +18 -55
  34. package/dist/services/kubernetes/api.d.ts.map +1 -1
  35. package/dist/services/kubernetes/api.js +36 -75
  36. package/dist/services/kubernetes/api.js.map +1 -1
  37. package/dist/services/kubernetes/index.d.ts.map +1 -1
  38. package/dist/services/kubernetes/index.js +36 -37
  39. package/dist/services/kubernetes/index.js.map +1 -1
  40. package/dist/types.gen.d.ts +1002 -1056
  41. package/dist/types.gen.d.ts.map +1 -1
  42. package/dist/zod.gen.d.ts +1775 -1563
  43. package/dist/zod.gen.d.ts.map +1 -1
  44. package/dist/zod.gen.js +506 -378
  45. package/dist/zod.gen.js.map +1 -1
  46. package/package.json +10 -15
@@ -53,7 +53,7 @@ export type BillingContact = {
53
53
  /**
54
54
  * Type of the tax ID.
55
55
  */
56
- tax_id_type?: 'ad_nrt' | 'ae_trn' | 'al_tin' | 'am_tin' | 'ao_tin' | 'ar_cuit' | 'at_vat' | 'au_abn' | 'au_arn' | 'ba_tin' | 'bb_tin' | 'be_vat' | 'bg_uic' | 'bg_vat' | 'bh_vat' | 'bo_tin' | 'br_cnpj' | 'br_cpf' | 'bs_tin' | 'by_tin' | 'ca_bn' | 'ca_gst_hst' | 'ca_pst_bc' | 'ca_pst_mb' | 'ca_pst_sk' | 'ca_qst' | 'cd_nif' | 'ch_uid' | 'ch_vat' | 'cl_tin' | 'cn_tin' | 'co_nit' | 'cr_tin' | 'cy_vat' | 'cz_vat' | 'de_stn' | 'de_vat' | 'dk_vat' | 'do_rcn' | 'ec_ruc' | 'ee_vat' | 'eg_tin' | 'es_cif' | 'es_vat' | 'eu_oss_vat' | 'fi_vat' | 'fr_vat' | 'gb_vat' | 'ge_vat' | 'gn_nif' | 'gr_vat' | 'hk_br' | 'hr_oib' | 'hr_vat' | 'hu_tin' | 'hu_vat' | 'id_npwp' | 'ie_vat' | 'il_vat' | 'in_gst' | 'is_vat' | 'it_vat' | 'jp_cn' | 'jp_rn' | 'jp_trn' | 'ke_pin' | 'kh_tin' | 'kr_brn' | 'kz_bin' | 'li_uid' | 'li_vat' | 'lt_vat' | 'lu_vat' | 'lv_vat' | 'ma_vat' | 'md_vat' | 'me_pib' | 'mk_vat' | 'mr_nif' | 'mt_vat' | 'mx_rfc' | 'my_frp' | 'my_itn' | 'my_sst' | 'ng_tin' | 'nl_vat' | 'no_vat' | 'no_voec' | 'np_pan' | 'nz_gst' | 'om_vat' | 'pe_ruc' | 'ph_tin' | 'pl_vat' | 'pt_vat' | 'ro_tin' | 'ro_vat' | 'rs_pib' | 'ru_inn' | 'ru_kpp' | 'sa_vat' | 'se_vat' | 'sg_gst' | 'sg_uen' | 'si_tin' | 'si_vat' | 'sk_vat' | 'sn_ninea' | 'sr_fin' | 'sv_nit' | 'th_vat' | 'tj_tin' | 'tr_tin' | 'tw_vat' | 'tz_vat' | 'ua_vat' | 'ug_tin' | 'us_ein' | 'uy_ruc' | 'uz_tin' | 'uz_vat' | 've_rif' | 'vn_tin' | 'xi_vat' | 'za_vat' | 'zm_tin' | 'zw_tin' | '';
56
+ tax_id_type?: 'ad_nrt' | 'ae_trn' | 'al_tin' | 'am_tin' | 'ao_tin' | 'ar_cuit' | 'at_vat' | 'au_abn' | 'au_arn' | 'aw_tin' | 'az_tin' | 'ba_tin' | 'bb_tin' | 'bd_bin' | 'be_vat' | 'bf_ifu' | 'bg_uic' | 'bg_vat' | 'bh_vat' | 'bj_ifu' | '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' | 'cm_niu' | 'cn_tin' | 'co_nit' | 'cr_tin' | 'cv_nif' | 'cy_vat' | 'cz_vat' | 'de_stn' | 'de_vat' | 'dk_vat' | 'do_rcn' | 'ec_ruc' | 'ee_vat' | 'eg_tin' | 'es_cif' | 'es_vat' | 'et_tin' | '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' | 'kg_tin' | 'kh_tin' | 'kr_brn' | 'kz_bin' | 'la_tin' | 'li_uid' | 'li_vat' | 'lk_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' | '';
57
57
  };
58
58
  export type BillingCredits = {
59
59
  /**
@@ -89,80 +89,9 @@ export type BillingCredits = {
89
89
  */
90
90
  value_remaining?: number;
91
91
  };
92
- export type ChartCreateInput = {
93
- /**
94
- * Values to be used in the chart encoded as a JSON string.
95
- */
96
- values: string;
97
- /**
98
- * Desired version range or channel for the chart.
99
- */
100
- version_channel: string;
101
- /**
102
- * Unique identifier of the chart deployment aka name of the helm release.
103
- */
104
- name: string;
105
- /**
106
- * Namespace of the chart deployment
107
- */
108
- namespace: string;
109
- /**
110
- * Name of the chart listing
111
- */
112
- chart: string;
113
- };
114
- export type Chart = {
115
- /**
116
- * Values to be used in the chart encoded as a JSON string.
117
- */
118
- values: string;
119
- /**
120
- * Desired version range or channel for the chart.
121
- */
122
- version_channel: string;
123
- /**
124
- * Unique identifier of the chart deployment aka name of the helm release.
125
- */
126
- name: string;
127
- /**
128
- * Namespace of the chart deployment
129
- */
130
- namespace: string;
131
- /**
132
- * Name of the chart listing
133
- */
134
- chart: string;
135
- /**
136
- * Status of the chart deployment (Flux HelmRelease Ready condition reason, e.g. InstallSucceeded, UpgradeFailed, Progressing).
137
- */
138
- status: string;
139
- /**
140
- * Current version of the chart deployment.
141
- */
142
- version_current: string;
143
- /**
144
- * Creation date and time of the chart deployment.
145
- */
146
- created_at: string;
147
- /**
148
- * Last update date and time of the chart deployment.
149
- */
150
- updated_at: string;
151
- /**
152
- * Indicates if the chart deployment is ready to be used.
153
- */
154
- ready: boolean;
155
- };
156
- export type ChartUpdateInput = {
157
- /**
158
- * Values to be used in the chart encoded as a JSON string.
159
- */
160
- values: string;
161
- /**
162
- * Desired version range or channel for the chart.
163
- */
164
- version_channel: string;
165
- };
92
+ /**
93
+ * Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
94
+ */
166
95
  export type ClusterCreateInput = {
167
96
  /**
168
97
  * Name of the cluster.
@@ -171,11 +100,7 @@ export type ClusterCreateInput = {
171
100
  /**
172
101
  * Tier of the cluster.
173
102
  */
174
- tier: 'basic' | 'pro';
175
- /**
176
- * Cloudfleet control plane region. This field can not be updated after creation.
177
- */
178
- region: string;
103
+ tier?: 'basic' | 'pro' | 'enterprise';
179
104
  /**
180
105
  * Version of the kubernetes cluster.
181
106
  */
@@ -191,16 +116,20 @@ export type ClusterCreateInput = {
191
116
  /**
192
117
  * GPU sharing strategy.
193
118
  */
194
- gpu_sharing_strategy: 'none' | 'mps' | 'time_slicing';
119
+ gpu_sharing_strategy?: 'none' | 'mps' | 'time_slicing';
195
120
  /**
196
121
  * Maximum number of pods that may share a single GPU.
197
122
  */
198
- gpu_max_shared_clients_per_gpu: number;
123
+ gpu_max_shared_clients_per_gpu?: number;
199
124
  /**
200
125
  * Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
201
126
  */
202
127
  cilium_socket_lb_host_namespace_only?: boolean;
203
128
  };
129
+ /**
130
+ * Cloudfleet control plane region. This field can not be updated after creation.
131
+ */
132
+ region: string;
204
133
  /**
205
134
  * Cluster networking configuration. Immutable after creation.
206
135
  */
@@ -213,10 +142,6 @@ export type ClusterCreateInput = {
213
142
  * CIDR block for service IPs.
214
143
  */
215
144
  service_cidr?: string;
216
- /**
217
- * CoreDNS service IP.
218
- */
219
- cluster_dns?: string;
220
145
  /**
221
146
  * Enable IPv4+IPv6 dual-stack networking.
222
147
  */
@@ -252,6 +177,10 @@ export type ClusterJoinInformation = {
252
177
  * Authentication key for the cluster.
253
178
  */
254
179
  auth_key: string;
180
+ /**
181
+ * Coordination server the node registers against. Empty on data plane v1 clusters, where the node advertises its own tag instead. A non-empty value requires a client that declares the dataplane-v2 capability.
182
+ */
183
+ login_server: string;
255
184
  /**
256
185
  * Bootstrap token for the cluster.
257
186
  */
@@ -295,6 +224,9 @@ export type ClusterJoinInformation = {
295
224
  gcp_workload_identity_provider: string;
296
225
  };
297
226
  };
227
+ /**
228
+ * Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
229
+ */
298
230
  export type Cluster = {
299
231
  /**
300
232
  * Name of the cluster.
@@ -303,7 +235,32 @@ export type Cluster = {
303
235
  /**
304
236
  * Tier of the cluster.
305
237
  */
306
- tier: 'basic' | 'pro';
238
+ tier: 'basic' | 'pro' | 'enterprise';
239
+ /**
240
+ * Version of the kubernetes cluster.
241
+ */
242
+ version_channel: string;
243
+ /**
244
+ * Release channel for the cluster's control plane.
245
+ */
246
+ release_channel: 'rapid' | 'stable' | 'extended';
247
+ /**
248
+ * Cluster feature toggles.
249
+ */
250
+ features: {
251
+ /**
252
+ * GPU sharing strategy.
253
+ */
254
+ gpu_sharing_strategy: 'none' | 'mps' | 'time_slicing';
255
+ /**
256
+ * Maximum number of pods that may share a single GPU.
257
+ */
258
+ gpu_max_shared_clients_per_gpu: number;
259
+ /**
260
+ * Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
261
+ */
262
+ cilium_socket_lb_host_namespace_only: boolean;
263
+ };
307
264
  /**
308
265
  * Cloudfleet control plane region. This field can not be updated after creation.
309
266
  */
@@ -311,52 +268,27 @@ export type Cluster = {
311
268
  /**
312
269
  * Cluster networking configuration. Immutable after creation.
313
270
  */
314
- networking?: {
271
+ networking: {
315
272
  /**
316
273
  * CIDR block for pod IPs.
317
274
  */
318
- pod_cidr?: string;
275
+ pod_cidr: string;
319
276
  /**
320
277
  * CIDR block for service IPs.
321
278
  */
322
- service_cidr?: string;
323
- /**
324
- * CoreDNS service IP.
325
- */
326
- cluster_dns?: string;
279
+ service_cidr: string;
327
280
  /**
328
281
  * Enable IPv4+IPv6 dual-stack networking.
329
282
  */
330
- dual_stack?: boolean;
283
+ dual_stack: boolean;
331
284
  /**
332
285
  * IPv6 pod CIDR. Requires dual_stack.
333
286
  */
334
- pod_cidr_v6?: string;
287
+ pod_cidr_v6: string;
335
288
  /**
336
289
  * IPv6 service CIDR. Requires dual_stack.
337
290
  */
338
- service_cidr_v6?: string;
339
- };
340
- /**
341
- * Release channel for the cluster's control plane.
342
- */
343
- release_channel?: 'rapid' | 'stable' | 'extended';
344
- /**
345
- * Cluster feature toggles.
346
- */
347
- features?: {
348
- /**
349
- * GPU sharing strategy.
350
- */
351
- gpu_sharing_strategy: 'none' | 'mps' | 'time_slicing';
352
- /**
353
- * Maximum number of pods that may share a single GPU.
354
- */
355
- gpu_max_shared_clients_per_gpu: number;
356
- /**
357
- * Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
358
- */
359
- cilium_socket_lb_host_namespace_only?: boolean;
291
+ service_cidr_v6: string;
360
292
  };
361
293
  /**
362
294
  * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
@@ -387,21 +319,20 @@ export type Cluster = {
387
319
  /**
388
320
  * Indicates if the cluster is ready to be used.
389
321
  */
390
- ready?: boolean;
391
- /**
392
- * Version of the kubernetes cluster.
393
- */
394
- version_channel?: string;
322
+ ready: boolean;
395
323
  };
324
+ /**
325
+ * Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
326
+ */
396
327
  export type ClusterUpdateInput = {
397
328
  /**
398
329
  * Name of the cluster.
399
330
  */
400
- name?: string;
331
+ name: string;
401
332
  /**
402
333
  * Tier of the cluster.
403
334
  */
404
- tier: 'basic' | 'pro';
335
+ tier?: 'basic' | 'pro' | 'enterprise';
405
336
  /**
406
337
  * Version of the kubernetes cluster.
407
338
  */
@@ -417,17 +348,48 @@ export type ClusterUpdateInput = {
417
348
  /**
418
349
  * GPU sharing strategy.
419
350
  */
420
- gpu_sharing_strategy: 'none' | 'mps' | 'time_slicing';
351
+ gpu_sharing_strategy?: 'none' | 'mps' | 'time_slicing';
421
352
  /**
422
353
  * Maximum number of pods that may share a single GPU.
423
354
  */
424
- gpu_max_shared_clients_per_gpu: number;
355
+ gpu_max_shared_clients_per_gpu?: number;
425
356
  /**
426
357
  * Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
427
358
  */
428
359
  cilium_socket_lb_host_namespace_only?: boolean;
429
360
  };
430
361
  };
362
+ export type FeedbackCreateInput = {
363
+ /**
364
+ * Overall sentiment: positive, neutral or negative.
365
+ */
366
+ sentiment: 'positive' | 'neutral' | 'negative';
367
+ /**
368
+ * What was useful, confusing, wrong or missing.
369
+ */
370
+ message: string;
371
+ /**
372
+ * What you were trying to do when it happened.
373
+ */
374
+ context?: string;
375
+ /**
376
+ * Where the feedback was sent from: cli, mcp, plugin, console or api. Defaults to api.
377
+ */
378
+ source?: 'cli' | 'mcp' | 'plugin' | 'console' | 'api';
379
+ /**
380
+ * Name and version of the sending client.
381
+ */
382
+ client?: string;
383
+ };
384
+ export type Feedback = {
385
+ /**
386
+ * Unique identifier of the feedback entry (Mongo ObjectId).
387
+ */
388
+ id: string;
389
+ };
390
+ /**
391
+ * Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
392
+ */
431
393
  export type FleetCreateInput = {
432
394
  /**
433
395
  * Limits define a set of bounds for provisioning capacity.
@@ -448,7 +410,7 @@ export type FleetCreateInput = {
448
410
  hetzner?: {
449
411
  enabled: boolean;
450
412
  /**
451
- * Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
413
+ * 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.
452
414
  */
453
415
  apiKey?: string;
454
416
  };
@@ -460,7 +422,7 @@ export type FleetCreateInput = {
460
422
  controllerRoleArn?: string;
461
423
  };
462
424
  /**
463
- * Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together. Omit a field to place no restriction on that key.
425
+ * 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.
464
426
  */
465
427
  constraints?: {
466
428
  /**
@@ -481,14 +443,34 @@ export type FleetCreateInput = {
481
443
  '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'>;
482
444
  };
483
445
  /**
484
- * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
446
+ * 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`).
485
447
  */
486
448
  scalingProfile?: 'aggressive' | 'conservative';
449
+ /**
450
+ * Taints applied to every node the fleet provisions, so only pods that tolerate them schedule there. Each key and effect pair may appear once. Full-overwrite: omit to remove all taints.
451
+ */
452
+ taints?: Array<{
453
+ /**
454
+ * Taint key: a Kubernetes qualified name with an optional DNS subdomain prefix. Keys under `node.kubernetes.io`, `node.cloudprovider.kubernetes.io`, `node.cilium.io`, `karpenter.sh` and `cfke.io` (and their subdomains) are reserved.
455
+ */
456
+ key: string;
457
+ /**
458
+ * Taint value. Optional.
459
+ */
460
+ value?: string;
461
+ /**
462
+ * Taint effect.
463
+ */
464
+ effect: 'NoSchedule' | 'PreferNoSchedule' | 'NoExecute';
465
+ }>;
487
466
  /**
488
467
  * Unique identifier of the kubernetes fleet.
489
468
  */
490
469
  id: string;
491
470
  };
471
+ /**
472
+ * Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
473
+ */
492
474
  export type Fleet = {
493
475
  /**
494
476
  * Limits define a set of bounds for provisioning capacity.
@@ -521,17 +503,17 @@ export type Fleet = {
521
503
  controllerRoleArn?: string;
522
504
  };
523
505
  /**
524
- * Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together. Omit a field to place no restriction on that key.
506
+ * 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.
525
507
  */
526
- constraints?: {
508
+ constraints: {
527
509
  /**
528
510
  * Allowed values for `karpenter.sh/capacity-type`.
529
511
  */
530
- 'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
512
+ 'karpenter.sh/capacity-type': Array<'on-demand' | 'spot'>;
531
513
  /**
532
514
  * Allowed values for `kubernetes.io/arch`.
533
515
  */
534
- 'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
516
+ 'kubernetes.io/arch': Array<'amd64' | 'arm64'>;
535
517
  /**
536
518
  * Allowed values for `cfke.io/instance-family`.
537
519
  */
@@ -542,9 +524,26 @@ export type Fleet = {
542
524
  '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'>;
543
525
  };
544
526
  /**
545
- * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
527
+ * 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`).
546
528
  */
547
529
  scalingProfile: 'aggressive' | 'conservative';
530
+ /**
531
+ * Taints applied to every node the fleet provisions, so only pods that tolerate them schedule there. Each key and effect pair may appear once. Full-overwrite: omit to remove all taints.
532
+ */
533
+ taints: Array<{
534
+ /**
535
+ * Taint key: a Kubernetes qualified name with an optional DNS subdomain prefix. Keys under `node.kubernetes.io`, `node.cloudprovider.kubernetes.io`, `node.cilium.io`, `karpenter.sh` and `cfke.io` (and their subdomains) are reserved.
536
+ */
537
+ key: string;
538
+ /**
539
+ * Taint value. Optional.
540
+ */
541
+ value?: string;
542
+ /**
543
+ * Taint effect.
544
+ */
545
+ effect: 'NoSchedule' | 'PreferNoSchedule' | 'NoExecute';
546
+ }>;
548
547
  /**
549
548
  * Unique identifier of the kubernetes fleet.
550
549
  */
@@ -566,6 +565,9 @@ export type Fleet = {
566
565
  */
567
566
  updated_at: string;
568
567
  };
568
+ /**
569
+ * Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
570
+ */
569
571
  export type FleetUpdateInput = {
570
572
  /**
571
573
  * Limits define a set of bounds for provisioning capacity.
@@ -586,7 +588,7 @@ export type FleetUpdateInput = {
586
588
  hetzner?: {
587
589
  enabled: boolean;
588
590
  /**
589
- * Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
591
+ * 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.
590
592
  */
591
593
  apiKey?: string;
592
594
  };
@@ -598,7 +600,7 @@ export type FleetUpdateInput = {
598
600
  controllerRoleArn?: string;
599
601
  };
600
602
  /**
601
- * Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together. Omit a field to place no restriction on that key.
603
+ * 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.
602
604
  */
603
605
  constraints?: {
604
606
  /**
@@ -619,9 +621,26 @@ export type FleetUpdateInput = {
619
621
  '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'>;
620
622
  };
621
623
  /**
622
- * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
624
+ * 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`).
623
625
  */
624
- scalingProfile: 'aggressive' | 'conservative';
626
+ scalingProfile?: 'aggressive' | 'conservative';
627
+ /**
628
+ * Taints applied to every node the fleet provisions, so only pods that tolerate them schedule there. Each key and effect pair may appear once. Full-overwrite: omit to remove all taints.
629
+ */
630
+ taints?: Array<{
631
+ /**
632
+ * Taint key: a Kubernetes qualified name with an optional DNS subdomain prefix. Keys under `node.kubernetes.io`, `node.cloudprovider.kubernetes.io`, `node.cilium.io`, `karpenter.sh` and `cfke.io` (and their subdomains) are reserved.
633
+ */
634
+ key: string;
635
+ /**
636
+ * Taint value. Optional.
637
+ */
638
+ value?: string;
639
+ /**
640
+ * Taint effect.
641
+ */
642
+ effect: 'NoSchedule' | 'PreferNoSchedule' | 'NoExecute';
643
+ }>;
625
644
  };
626
645
  export type InviteCreateInput = {
627
646
  /**
@@ -659,123 +678,118 @@ export type Invite = {
659
678
  */
660
679
  role?: 'Administrator' | 'User';
661
680
  };
662
- export type Invoice = {
663
- /**
664
- * Unique identifier of the invoice.
665
- */
666
- id?: string;
667
- number?: string;
668
- /**
669
- * Status of the invoice
670
- */
671
- status?: string;
681
+ export type InvoicePaymentAttempt = {
672
682
  /**
673
- * Total amount of the invoice
683
+ * Identifier of the invoice.
674
684
  */
675
- total?: number;
685
+ invoice_id: string;
676
686
  /**
677
- * Currency of the invoice
687
+ * Invoice number. Null if the invoice has no number.
678
688
  */
679
- currency?: string;
689
+ number: string;
680
690
  /**
681
- * Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
691
+ * Amount outstanding when the charge was attempted, in the smallest currency unit.
682
692
  */
683
- created: string;
693
+ amount: number;
684
694
  /**
685
- * Billing period start timestamp. ISO 8601 date string in the UTC timezone.
695
+ * Currency of the invoice.
686
696
  */
687
- period_start: string;
697
+ currency: string;
688
698
  /**
689
- * Billing period end timestamp. ISO 8601 date string in the UTC timezone.
699
+ * Outcome for this invoice: `paid`, `processing` (accepted, not yet settled), `requires_action` (awaiting customer authentication), or `failed` (declined).
690
700
  */
691
- period_end: string;
692
- invoice_pdf?: string;
693
- };
694
- export type MarketplaceListingFiles = {
701
+ status: 'paid' | 'processing' | 'requires_action' | 'failed';
695
702
  /**
696
- * Raw Chart.yaml content from the Helm chart
703
+ * Client secret used to complete customer authentication. Set only when `status` is `requires_action`.
697
704
  */
698
- chartYaml?: string;
705
+ client_secret: string;
699
706
  /**
700
- * Raw values.yaml content from the Helm chart
707
+ * Decline code. Set only when `status` is `failed`.
701
708
  */
702
- valuesYaml?: string;
709
+ failure_code: string;
703
710
  /**
704
- * JSON schema for values.yaml as a string
711
+ * Explanation of the decline, suitable for display. Set only when `status` is `failed`.
705
712
  */
706
- valuesSchemaJson?: string;
713
+ failure_message: string;
707
714
  };
708
- export type MarketplaceListing = {
709
- /**
710
- * Name of the chart
711
- */
712
- name: string;
713
- /**
714
- * Available versions of the chart
715
- */
716
- versions: Array<string>;
715
+ export type InvoicePaymentResult = {
717
716
  /**
718
- * Version channels for the chart
717
+ * Overall outcome: `paid` (nothing outstanding), `processing` (all accepted, not yet settled), `action_required` (one or more await customer authentication), `partially_paid`, `failed`, `nothing_due`, or `bank_transfer_due` (the organization pays by bank transfer; nothing was charged).
719
718
  */
720
- version_channels: Array<string>;
719
+ code: 'paid' | 'processing' | 'action_required' | 'partially_paid' | 'failed' | 'nothing_due' | 'bank_transfer_due';
721
720
  /**
722
- * Latest version of the chart
721
+ * Summary of the outcome, suitable for display.
723
722
  */
724
- latestVersion: string;
723
+ message: string;
725
724
  /**
726
- * Chart metadata
725
+ * One entry per invoice charged, oldest first.
727
726
  */
728
- metadata?: {
729
- /**
730
- * Chart name from metadata
731
- */
732
- name: string;
727
+ results: Array<{
733
728
  /**
734
- * Chart version from metadata
729
+ * Identifier of the invoice.
735
730
  */
736
- version: string;
731
+ invoice_id: string;
737
732
  /**
738
- * Chart description
733
+ * Invoice number. Null if the invoice has no number.
739
734
  */
740
- description?: string;
735
+ number: string;
741
736
  /**
742
- * Application version
737
+ * Amount outstanding when the charge was attempted, in the smallest currency unit.
743
738
  */
744
- appVersion?: string;
739
+ amount: number;
745
740
  /**
746
- * Helm API version
741
+ * Currency of the invoice.
747
742
  */
748
- apiVersion?: string;
743
+ currency: string;
749
744
  /**
750
- * Chart keywords
745
+ * Outcome for this invoice: `paid`, `processing` (accepted, not yet settled), `requires_action` (awaiting customer authentication), or `failed` (declined).
751
746
  */
752
- keywords?: Array<string>;
747
+ status: 'paid' | 'processing' | 'requires_action' | 'failed';
753
748
  /**
754
- * Chart home URL
749
+ * Client secret used to complete customer authentication. Set only when `status` is `requires_action`.
755
750
  */
756
- home?: string;
751
+ client_secret: string;
757
752
  /**
758
- * A URL to an SVG or PNG image to be used as an icon
753
+ * Decline code. Set only when `status` is `failed`.
759
754
  */
760
- icon?: string;
755
+ failure_code: string;
761
756
  /**
762
- * Chart source URLs
757
+ * Explanation of the decline, suitable for display. Set only when `status` is `failed`.
763
758
  */
764
- sources?: Array<string>;
765
- /**
766
- * Chart maintainers
767
- */
768
- maintainers?: Array<{
769
- /**
770
- * Maintainer name
771
- */
772
- name: string;
773
- /**
774
- * Maintainer email
775
- */
776
- email?: string;
777
- }>;
778
- };
759
+ failure_message: string;
760
+ }>;
761
+ };
762
+ export type Invoice = {
763
+ /**
764
+ * Unique identifier of the invoice.
765
+ */
766
+ id?: string;
767
+ number?: string;
768
+ /**
769
+ * Status of the invoice
770
+ */
771
+ status?: string;
772
+ /**
773
+ * Total amount of the invoice
774
+ */
775
+ total?: number;
776
+ /**
777
+ * Currency of the invoice
778
+ */
779
+ currency?: string;
780
+ /**
781
+ * Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
782
+ */
783
+ created: string;
784
+ /**
785
+ * Billing period start timestamp. ISO 8601 date string in the UTC timezone.
786
+ */
787
+ period_start: string;
788
+ /**
789
+ * Billing period end timestamp. ISO 8601 date string in the UTC timezone.
790
+ */
791
+ period_end: string;
792
+ invoice_pdf?: string;
779
793
  };
780
794
  export type OrganizationCreateInput = {
781
795
  /**
@@ -846,6 +860,14 @@ export type Organization = {
846
860
  * Available number of Pro clusters that can be created.
847
861
  */
848
862
  pro_clusters_available: number;
863
+ /**
864
+ * Maximum number of Enterprise clusters that can be created.
865
+ */
866
+ enterprise_clusters_max: number;
867
+ /**
868
+ * Available number of Enterprise clusters that can be created.
869
+ */
870
+ enterprise_clusters_available: number;
849
871
  /**
850
872
  * Maximum number of fleets that can be created per cluster.
851
873
  */
@@ -944,6 +966,14 @@ export type PlatformQuota = {
944
966
  * Available number of Pro clusters that can be created.
945
967
  */
946
968
  pro_clusters_available: number;
969
+ /**
970
+ * Maximum number of Enterprise clusters that can be created.
971
+ */
972
+ enterprise_clusters_max: number;
973
+ /**
974
+ * Available number of Enterprise clusters that can be created.
975
+ */
976
+ enterprise_clusters_available: number;
947
977
  /**
948
978
  * Maximum number of fleets that can be created per cluster.
949
979
  */
@@ -1122,23 +1152,49 @@ export type RegistryTag = {
1122
1152
  */
1123
1153
  uri: string;
1124
1154
  };
1125
- export type TicketAttachment = {
1155
+ export type RoadmapItemCreateInput = {
1126
1156
  /**
1127
- * Unique identifier of the attachment (Mongo ObjectId).
1157
+ * Your suggestion in one or two sentences. It is reviewed before it appears on the roadmap.
1128
1158
  */
1129
- id: string;
1159
+ text: string;
1160
+ };
1161
+ export type RoadmapItem = {
1130
1162
  /**
1131
- * Original filename as uploaded.
1163
+ * Unique identifier of the roadmap item (Mongo ObjectId).
1132
1164
  */
1133
- filename: string;
1165
+ id: string;
1134
1166
  /**
1135
- * MIME content type of the attachment.
1167
+ * Short description of the roadmap item.
1136
1168
  */
1137
- content_type: string;
1169
+ text: string;
1138
1170
  /**
1139
- * Size of the attachment in bytes.
1171
+ * The caller's vote on this item: -1 (down), 1 (up), 2 (double up), or null if the caller has not voted.
1140
1172
  */
1141
- size: number;
1173
+ vote: -1 | 1 | 2;
1174
+ };
1175
+ export type RoadmapVoteInput = {
1176
+ /**
1177
+ * Vote value: -1 (down), 1 (up), or 2 (double up).
1178
+ */
1179
+ value: -1 | 1 | 2;
1180
+ };
1181
+ export type TicketAttachment = {
1182
+ /**
1183
+ * Unique identifier of the attachment (Mongo ObjectId).
1184
+ */
1185
+ id: string;
1186
+ /**
1187
+ * Original filename as uploaded.
1188
+ */
1189
+ filename: string;
1190
+ /**
1191
+ * MIME content type of the attachment.
1192
+ */
1193
+ content_type: string;
1194
+ /**
1195
+ * Size of the attachment in bytes.
1196
+ */
1197
+ size: number;
1142
1198
  };
1143
1199
  export type TicketCreateInput = {
1144
1200
  /**
@@ -1155,91 +1211,10 @@ export type TicketCreateInput = {
1155
1211
  properties?: {
1156
1212
  [key: string]: unknown;
1157
1213
  };
1158
- };
1159
- export type TicketListResponse = {
1160
1214
  /**
1161
- * Tickets for the organization, ordered newest first. Messages are omitted from list responses.
1215
+ * Grant Cloudfleet support staff access to the organization's resources while the ticket is open. Access cannot be revoked; it ends when the ticket is closed.
1162
1216
  */
1163
- items: Array<{
1164
- /**
1165
- * Unique identifier of the ticket (Mongo ObjectId).
1166
- */
1167
- id: string;
1168
- /**
1169
- * Current state of the ticket.
1170
- */
1171
- status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
1172
- /**
1173
- * Ticket category.
1174
- */
1175
- category: 'billing' | 'technical' | 'general';
1176
- /**
1177
- * First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
1178
- */
1179
- summary: string;
1180
- /**
1181
- * Closure timestamp. Null while the ticket is open.
1182
- */
1183
- closed_at?: string;
1184
- /**
1185
- * Creation date of the ticket. ISO 8601 UTC.
1186
- */
1187
- date_created: string;
1188
- /**
1189
- * Last update date of the ticket. ISO 8601 UTC.
1190
- */
1191
- date_updated: string;
1192
- /**
1193
- * Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
1194
- */
1195
- messages?: Array<{
1196
- /**
1197
- * Unique identifier of the message (Mongo ObjectId).
1198
- */
1199
- id: string;
1200
- /**
1201
- * Message type. Internal notes are filtered out of customer-facing responses.
1202
- */
1203
- type: 'customer_reply' | 'agent_reply';
1204
- /**
1205
- * Message body in markdown.
1206
- */
1207
- body: string;
1208
- /**
1209
- * First name of the author. Null when not provided.
1210
- */
1211
- author_first_name?: string;
1212
- /**
1213
- * Last name of the author. Null when not provided.
1214
- */
1215
- author_last_name?: string;
1216
- /**
1217
- * Attachments associated with this message.
1218
- */
1219
- attachments?: Array<{
1220
- /**
1221
- * Unique identifier of the attachment (Mongo ObjectId).
1222
- */
1223
- id: string;
1224
- /**
1225
- * Original filename as uploaded.
1226
- */
1227
- filename: string;
1228
- /**
1229
- * MIME content type of the attachment.
1230
- */
1231
- content_type: string;
1232
- /**
1233
- * Size of the attachment in bytes.
1234
- */
1235
- size: number;
1236
- }>;
1237
- /**
1238
- * Creation date of the message. ISO 8601 UTC.
1239
- */
1240
- date_created: string;
1241
- }>;
1242
- }>;
1217
+ grant_support_access?: boolean;
1243
1218
  };
1244
1219
  export type TicketMessageInput = {
1245
1220
  /**
@@ -1311,6 +1286,14 @@ export type Ticket = {
1311
1286
  * First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
1312
1287
  */
1313
1288
  summary: string;
1289
+ /**
1290
+ * Whether Cloudfleet support staff currently have access to the organization's resources. True once access is granted and until the ticket is closed.
1291
+ */
1292
+ support_access_granted: boolean;
1293
+ /**
1294
+ * When support access was granted. Null if it never was. Kept after the ticket is closed.
1295
+ */
1296
+ support_access_granted_at: string;
1314
1297
  /**
1315
1298
  * Closure timestamp. Null while the ticket is open.
1316
1299
  */
@@ -1424,7 +1407,7 @@ export type UsageFacets = {
1424
1407
  /**
1425
1408
  * List of unique products
1426
1409
  */
1427
- product?: Array<string>;
1410
+ product?: Array<'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage'>;
1428
1411
  };
1429
1412
  export type UsageResponse = {
1430
1413
  /**
@@ -1442,7 +1425,7 @@ export type UsageResponse = {
1442
1425
  /**
1443
1426
  * The product the usage is associated with
1444
1427
  */
1445
- product: string;
1428
+ product: 'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage';
1446
1429
  /**
1447
1430
  * Consumption
1448
1431
  */
@@ -1467,7 +1450,7 @@ export type UsageResponse = {
1467
1450
  /**
1468
1451
  * List of unique products
1469
1452
  */
1470
- product?: Array<string>;
1453
+ product?: Array<'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage'>;
1471
1454
  };
1472
1455
  };
1473
1456
  export type Usage = {
@@ -1482,7 +1465,7 @@ export type Usage = {
1482
1465
  /**
1483
1466
  * The product the usage is associated with
1484
1467
  */
1485
- product: string;
1468
+ product: 'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage';
1486
1469
  /**
1487
1470
  * Consumption
1488
1471
  */
@@ -1570,656 +1553,663 @@ export type UserUpdateInput = {
1570
1553
  */
1571
1554
  status?: 'active' | 'inactive';
1572
1555
  };
1573
- export type GetUsageData = {
1556
+ export type ListUserOrganizationsData = {
1574
1557
  body?: never;
1575
- path?: never;
1576
- query?: {
1558
+ path: {
1577
1559
  /**
1578
- * 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)
1560
+ * User email address.
1579
1561
  */
1580
- granularity?: 'hourly' | 'daily' | 'monthly';
1562
+ email: string;
1581
1563
  };
1582
- url: '/billing/usage';
1583
- };
1584
- export type GetUsageErrors = {
1585
- /**
1586
- * Not authenticated
1587
- */
1588
- 401: unknown;
1589
- };
1590
- export type GetUsageResponses = {
1591
- /**
1592
- * Usage data with facets for filtering
1593
- */
1594
- 200: UsageResponse;
1595
- };
1596
- export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
1597
- export type GetPaymentMethodSecretData = {
1598
- body?: never;
1599
- path?: never;
1600
1564
  query?: never;
1601
- url: '/billing/payment-method';
1565
+ url: '/users/organizations/{email}';
1602
1566
  };
1603
- export type GetPaymentMethodSecretResponses = {
1567
+ export type ListUserOrganizationsResponses = {
1604
1568
  /**
1605
- * 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.
1606
- *
1569
+ * An array of organizations the user belongs to.
1607
1570
  */
1608
- 200: {
1571
+ 200: Array<{
1609
1572
  /**
1610
- * The client secret.
1573
+ * Unique identifier of the organization. UUID v4 string in canonical form
1611
1574
  */
1612
- id?: string;
1613
- };
1575
+ realm?: string;
1576
+ /**
1577
+ * Human-readable name of the organization
1578
+ */
1579
+ displayName?: string;
1580
+ }>;
1614
1581
  };
1615
- export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
1616
- export type ListPaymentMethodsData = {
1582
+ export type ListUserOrganizationsResponse = ListUserOrganizationsResponses[keyof ListUserOrganizationsResponses];
1583
+ export type ListUsersData = {
1617
1584
  body?: never;
1618
1585
  path?: never;
1619
1586
  query?: never;
1620
- url: '/billing/payment-methods';
1587
+ url: '/users';
1621
1588
  };
1622
- export type ListPaymentMethodsErrors = {
1589
+ export type ListUsersErrors = {
1623
1590
  /**
1624
1591
  * Not authenticated
1625
1592
  */
1626
1593
  401: unknown;
1627
1594
  };
1628
- export type ListPaymentMethodsResponses = {
1595
+ export type ListUsersResponses = {
1629
1596
  /**
1630
- * An array of payment methods.
1597
+ * An array of users
1631
1598
  */
1632
- 200: Array<PaymentMethod>;
1599
+ 200: Array<User>;
1633
1600
  };
1634
- export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
1635
- export type SetDefaultPaymentMethodData = {
1601
+ export type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
1602
+ export type CreateUserData = {
1603
+ body: UserCreateInput;
1604
+ path?: never;
1605
+ query?: never;
1606
+ url: '/users';
1607
+ };
1608
+ export type CreateUserResponses = {
1609
+ /**
1610
+ * Successfully created. Returns created user details.
1611
+ */
1612
+ 200: User;
1613
+ };
1614
+ export type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];
1615
+ export type DeleteUserData = {
1636
1616
  body?: never;
1637
1617
  path: {
1638
1618
  /**
1639
- * Stripe payment method identifier.
1619
+ * Unique user identifier. UUID v4 string in canonical form
1640
1620
  */
1641
- paymentMethodId: string;
1621
+ user_id: string;
1642
1622
  };
1643
1623
  query?: never;
1644
- url: '/billing/payment-methods/{paymentMethodId}/default';
1624
+ url: '/users/{user_id}';
1645
1625
  };
1646
- export type SetDefaultPaymentMethodErrors = {
1626
+ export type DeleteUserErrors = {
1647
1627
  /**
1648
- * The bank transfer payment method cannot be set as the default.
1628
+ * Deleting own user is not allowed. Delete your organization instead.
1649
1629
  */
1650
1630
  400: unknown;
1651
1631
  /**
1652
1632
  * Not authenticated
1653
1633
  */
1654
1634
  401: unknown;
1655
- /**
1656
- * Payment method not found.
1657
- */
1658
- 404: unknown;
1659
1635
  };
1660
- export type SetDefaultPaymentMethodResponses = {
1636
+ export type DeleteUserResponses = {
1661
1637
  /**
1662
- * Default payment method updated.
1638
+ * User profile information
1663
1639
  */
1664
- 204: void;
1640
+ 200: User;
1665
1641
  };
1666
- export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
1667
- export type DeletePaymentMethodData = {
1642
+ export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
1643
+ export type GetUserData = {
1668
1644
  body?: never;
1669
1645
  path: {
1670
1646
  /**
1671
- * Stripe payment method identifier.
1647
+ * Unique user identifier. UUID v4 string in canonical form
1672
1648
  */
1673
- paymentMethodId: string;
1649
+ user_id: string;
1674
1650
  };
1675
1651
  query?: never;
1676
- url: '/billing/payment-methods/{paymentMethodId}';
1652
+ url: '/users/{user_id}';
1677
1653
  };
1678
- export type DeletePaymentMethodErrors = {
1679
- /**
1680
- * The bank transfer payment method cannot be removed.
1681
- */
1682
- 400: unknown;
1654
+ export type GetUserErrors = {
1683
1655
  /**
1684
1656
  * Not authenticated
1685
1657
  */
1686
1658
  401: unknown;
1687
- /**
1688
- * Payment method not found.
1689
- */
1690
- 404: unknown;
1691
- /**
1692
- * Cannot delete the only remaining payment method.
1693
- */
1694
- 409: unknown;
1695
1659
  };
1696
- export type DeletePaymentMethodResponses = {
1660
+ export type GetUserResponses = {
1697
1661
  /**
1698
- * Payment method deleted.
1662
+ * User profile information
1699
1663
  */
1700
- 204: void;
1664
+ 200: User;
1701
1665
  };
1702
- export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
1703
- export type ListInvoicesData = {
1704
- body?: never;
1705
- path?: never;
1666
+ export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
1667
+ export type UpdateUserData = {
1668
+ body: UserUpdateInput;
1669
+ path: {
1670
+ /**
1671
+ * Unique user identifier. UUID v4 string in canonical form
1672
+ */
1673
+ user_id: string;
1674
+ };
1706
1675
  query?: never;
1707
- url: '/billing/invoices';
1708
- };
1709
- export type ListInvoicesErrors = {
1710
- /**
1711
- * Not authenticated
1712
- */
1713
- 401: unknown;
1676
+ url: '/users/{user_id}';
1714
1677
  };
1715
- export type ListInvoicesResponses = {
1678
+ export type UpdateUserResponses = {
1716
1679
  /**
1717
- * An array of usage records.
1680
+ * Successfully created. Returns created user details.
1718
1681
  */
1719
- 200: Array<Invoice>;
1682
+ 200: User;
1720
1683
  };
1721
- export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
1722
- export type GetContactData = {
1684
+ export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
1685
+ export type ListTokensData = {
1723
1686
  body?: never;
1724
1687
  path?: never;
1725
1688
  query?: never;
1726
- url: '/billing/contact';
1689
+ url: '/tokens';
1727
1690
  };
1728
- export type GetContactResponses = {
1691
+ export type ListTokensErrors = {
1729
1692
  /**
1730
- * Returns a single object containing organization contact and billing address details.
1693
+ * Not authenticated
1731
1694
  */
1732
- 200: BillingContact;
1733
- };
1734
- export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
1735
- export type UpdateContactData = {
1736
- body: BillingContact;
1737
- path?: never;
1738
- query?: never;
1739
- url: '/billing/contact';
1695
+ 401: unknown;
1740
1696
  };
1741
- export type UpdateContactResponses = {
1697
+ export type ListTokensResponses = {
1742
1698
  /**
1743
- * Successfully updated. Returns updated organization details.
1699
+ * Returns a list of access token details with masked secrets.
1744
1700
  */
1745
- 200: BillingContact;
1701
+ 200: Array<Token>;
1746
1702
  };
1747
- export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
1748
- export type GetCreditsData = {
1749
- body?: never;
1703
+ export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
1704
+ export type CreateTokenData = {
1705
+ body: TokenCreateInput;
1750
1706
  path?: never;
1751
1707
  query?: never;
1752
- url: '/billing/credits';
1708
+ url: '/tokens';
1753
1709
  };
1754
- export type GetCreditsErrors = {
1710
+ export type CreateTokenErrors = {
1755
1711
  /**
1756
1712
  * Not authenticated
1757
1713
  */
1758
1714
  401: unknown;
1759
1715
  };
1760
- export type GetCreditsResponses = {
1716
+ export type CreateTokenResponses = {
1761
1717
  /**
1762
- * An array of the applied promotional credits records.
1718
+ * Successfully created. Returns created token details with unmasked/raw secret.
1763
1719
  */
1764
- 200: Array<BillingCredits>;
1720
+ 200: Token;
1765
1721
  };
1766
- export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
1767
- export type RedeemCreditsData = {
1768
- body: {
1722
+ export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
1723
+ export type DeleteTokenData = {
1724
+ body?: never;
1725
+ path: {
1769
1726
  /**
1770
- * Promotional code to redeem
1727
+ * Generated unique identifier of the access token.
1771
1728
  */
1772
- code?: string;
1729
+ token_id: string;
1773
1730
  };
1774
- path?: never;
1775
1731
  query?: never;
1776
- url: '/billing/credits';
1777
- };
1778
- export type RedeemCreditsErrors = {
1779
- /**
1780
- * Not authenticated
1781
- */
1782
- 401: unknown;
1732
+ url: '/tokens/{token_id}';
1783
1733
  };
1784
- export type RedeemCreditsResponses = {
1734
+ export type DeleteTokenResponses = {
1785
1735
  /**
1786
- * Successfully created a new organization.
1736
+ * Successfully deleted.
1787
1737
  */
1788
1738
  200: unknown;
1789
1739
  };
1790
- export type ListChartsData = {
1740
+ export type GetTokenData = {
1791
1741
  body?: never;
1792
1742
  path: {
1793
1743
  /**
1794
- * Unique identifier of the cluster. UUID v4 string in canonical form
1744
+ * Generated unique identifier of the access token.
1795
1745
  */
1796
- cluster_id: string;
1746
+ token_id: string;
1797
1747
  };
1798
1748
  query?: never;
1799
- url: '/clusters/{cluster_id}/charts';
1749
+ url: '/tokens/{token_id}';
1800
1750
  };
1801
- export type ListChartsErrors = {
1751
+ export type GetTokenErrors = {
1802
1752
  /**
1803
1753
  * Not authenticated
1804
1754
  */
1805
1755
  401: unknown;
1806
1756
  };
1807
- export type ListChartsResponses = {
1757
+ export type GetTokenResponses = {
1808
1758
  /**
1809
- * An array of charts
1759
+ * Returns access token details with masked secret.
1810
1760
  */
1811
- 200: Array<Chart>;
1761
+ 200: Token;
1812
1762
  };
1813
- export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
1814
- export type CreateChartData = {
1815
- body: ChartCreateInput;
1763
+ export type GetTokenResponse = GetTokenResponses[keyof GetTokenResponses];
1764
+ export type UpdateTokenData = {
1765
+ body: TokenUpdateInput;
1816
1766
  path: {
1817
1767
  /**
1818
- * Unique identifier of the cluster. UUID v4 string in canonical form
1768
+ * Generated unique identifier of the access token.
1819
1769
  */
1820
- cluster_id: string;
1770
+ token_id: string;
1821
1771
  };
1822
1772
  query?: never;
1823
- url: '/clusters/{cluster_id}/charts';
1773
+ url: '/tokens/{token_id}';
1824
1774
  };
1825
- export type CreateChartErrors = {
1775
+ export type UpdateTokenErrors = {
1826
1776
  /**
1827
- * 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.
1777
+ * Not authenticated
1828
1778
  */
1829
- 409: string;
1779
+ 401: unknown;
1830
1780
  };
1831
- export type CreateChartError = CreateChartErrors[keyof CreateChartErrors];
1832
- export type CreateChartResponses = {
1781
+ export type UpdateTokenResponses = {
1833
1782
  /**
1834
- * Successfully created. Returns created Chart ID.
1783
+ * Successfully updated. Returns updated token details with masked secret.
1835
1784
  */
1836
- 200: string;
1785
+ 200: Token;
1837
1786
  };
1838
- export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
1839
- export type DeleteChartData = {
1787
+ export type UpdateTokenResponse = UpdateTokenResponses[keyof UpdateTokenResponses];
1788
+ export type RegenerateTokenData = {
1840
1789
  body?: never;
1841
1790
  path: {
1842
1791
  /**
1843
- * Unique identifier of the cluster. UUID v4 string in canonical form
1844
- */
1845
- cluster_id: string;
1846
- /**
1847
- * Chart deployment name as the unique identifier of the chart.
1792
+ * Generated unique identifier of the access token.
1848
1793
  */
1849
- chart_name: string;
1794
+ token_id: string;
1850
1795
  };
1851
1796
  query?: never;
1852
- url: '/clusters/{cluster_id}/charts/{chart_name}';
1797
+ url: '/tokens/{token_id}/secret';
1853
1798
  };
1854
- export type DeleteChartErrors = {
1799
+ export type RegenerateTokenErrors = {
1855
1800
  /**
1856
- * 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.
1801
+ * Not authenticated
1857
1802
  */
1858
- 409: string;
1803
+ 401: unknown;
1859
1804
  };
1860
- export type DeleteChartError = DeleteChartErrors[keyof DeleteChartErrors];
1861
- export type DeleteChartResponses = {
1805
+ export type RegenerateTokenResponses = {
1862
1806
  /**
1863
- * Successfully deleted.
1807
+ * Successfully updated. Returns updated token details with unmasked / raw secret.
1864
1808
  */
1865
- 200: string;
1809
+ 200: Token;
1866
1810
  };
1867
- export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
1868
- export type GetChartData = {
1811
+ export type RegenerateTokenResponse = RegenerateTokenResponses[keyof RegenerateTokenResponses];
1812
+ export type ListTicketsData = {
1869
1813
  body?: never;
1870
- path: {
1871
- /**
1872
- * Unique identifier of the cluster. UUID v4 string in canonical form
1873
- */
1874
- cluster_id: string;
1814
+ path?: never;
1815
+ query?: never;
1816
+ url: '/tickets';
1817
+ };
1818
+ export type ListTicketsResponses = {
1819
+ /**
1820
+ * An array of tickets for the organization, newest first.
1821
+ */
1822
+ 200: Array<Ticket>;
1823
+ };
1824
+ export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
1825
+ export type CreateTicketData = {
1826
+ body: {
1875
1827
  /**
1876
- * Chart deployment name as the unique identifier of the chart.
1828
+ * JSON-encoded TicketCreateInput.
1877
1829
  */
1878
- chart_name: string;
1830
+ payload?: string;
1831
+ attachments?: Array<Blob | File>;
1879
1832
  };
1833
+ path?: never;
1880
1834
  query?: never;
1881
- url: '/clusters/{cluster_id}/charts/{chart_name}';
1835
+ url: '/tickets';
1882
1836
  };
1883
- export type GetChartResponses = {
1837
+ export type CreateTicketResponses = {
1884
1838
  /**
1885
- * Returns a single object containing chart details.
1839
+ * Ticket created.
1886
1840
  */
1887
- 200: Chart;
1841
+ 200: Ticket;
1888
1842
  };
1889
- export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
1890
- export type UpdateChartData = {
1891
- body: ChartUpdateInput;
1843
+ export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
1844
+ export type CloseTicketData = {
1845
+ body?: never;
1892
1846
  path: {
1893
- /**
1894
- * Unique identifier of the cluster. UUID v4 string in canonical form
1895
- */
1896
- cluster_id: string;
1897
- /**
1898
- * Chart deployment name as the unique identifier of the chart.
1899
- */
1900
- chart_name: string;
1847
+ ticket_id: string;
1901
1848
  };
1902
1849
  query?: never;
1903
- url: '/clusters/{cluster_id}/charts/{chart_name}';
1850
+ url: '/tickets/{ticket_id}';
1904
1851
  };
1905
- export type UpdateChartErrors = {
1852
+ export type CloseTicketResponses = {
1906
1853
  /**
1907
- * 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.
1854
+ * Ticket closed.
1908
1855
  */
1909
- 409: string;
1856
+ 200: Ticket;
1910
1857
  };
1911
- export type UpdateChartError = UpdateChartErrors[keyof UpdateChartErrors];
1912
- export type UpdateChartResponses = {
1858
+ export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
1859
+ export type GetTicketData = {
1860
+ body?: never;
1861
+ path: {
1862
+ ticket_id: string;
1863
+ };
1864
+ query?: never;
1865
+ url: '/tickets/{ticket_id}';
1866
+ };
1867
+ export type GetTicketResponses = {
1913
1868
  /**
1914
- * Successfully updated.
1869
+ * Ticket with messages (internal notes excluded).
1915
1870
  */
1916
- 200: string;
1871
+ 200: Ticket;
1917
1872
  };
1918
- export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
1919
- export type ListFleetsData = {
1873
+ export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
1874
+ export type GrantTicketSupportAccessData = {
1920
1875
  body?: never;
1921
1876
  path: {
1922
- /**
1923
- * Unique identifier of the cluster. UUID v4 string in canonical form
1924
- */
1925
- cluster_id: string;
1877
+ ticket_id: string;
1926
1878
  };
1927
1879
  query?: never;
1928
- url: '/clusters/{cluster_id}/fleets';
1880
+ url: '/tickets/{ticket_id}/support-access';
1929
1881
  };
1930
- export type ListFleetsErrors = {
1882
+ export type GrantTicketSupportAccessErrors = {
1931
1883
  /**
1932
- * Not authenticated
1884
+ * Ticket is closed. Open a new ticket instead.
1933
1885
  */
1934
- 401: unknown;
1886
+ 409: unknown;
1935
1887
  };
1936
- export type ListFleetsResponses = {
1888
+ export type GrantTicketSupportAccessResponses = {
1937
1889
  /**
1938
- * An array of fleets
1890
+ * Support access granted.
1939
1891
  */
1940
- 200: Array<Fleet>;
1892
+ 200: Ticket;
1941
1893
  };
1942
- export type ListFleetsResponse = ListFleetsResponses[keyof ListFleetsResponses];
1943
- export type CreateFleetData = {
1944
- body: FleetCreateInput;
1945
- path: {
1894
+ export type GrantTicketSupportAccessResponse = GrantTicketSupportAccessResponses[keyof GrantTicketSupportAccessResponses];
1895
+ export type ReplyTicketData = {
1896
+ body: {
1946
1897
  /**
1947
- * Unique identifier of the cluster. UUID v4 string in canonical form
1898
+ * JSON-encoded TicketMessageInput.
1948
1899
  */
1949
- cluster_id: string;
1900
+ payload?: string;
1901
+ attachments?: Array<Blob | File>;
1902
+ };
1903
+ path: {
1904
+ ticket_id: string;
1950
1905
  };
1951
1906
  query?: never;
1952
- url: '/clusters/{cluster_id}/fleets';
1907
+ url: '/tickets/{ticket_id}/messages';
1953
1908
  };
1954
- export type CreateFleetErrors = {
1955
- /**
1956
- * Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
1957
- */
1958
- 402: string;
1909
+ export type ReplyTicketErrors = {
1959
1910
  /**
1960
- * 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.
1911
+ * Ticket is closed. Open a new ticket instead.
1961
1912
  */
1962
- 409: string;
1913
+ 409: unknown;
1963
1914
  };
1964
- export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
1965
- export type CreateFleetResponses = {
1915
+ export type ReplyTicketResponses = {
1966
1916
  /**
1967
- * Successfully created. Returns created Fleet ID.
1917
+ * Reply appended.
1968
1918
  */
1969
- 200: string;
1919
+ 200: TicketMessage;
1970
1920
  };
1971
- export type CreateFleetResponse = CreateFleetResponses[keyof CreateFleetResponses];
1972
- export type DeleteFleetData = {
1921
+ export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
1922
+ export type GetTicketAttachmentData = {
1973
1923
  body?: never;
1974
1924
  path: {
1975
- /**
1976
- * Unique identifier of the cluster. UUID v4 string in canonical form
1977
- */
1978
- cluster_id: string;
1979
- /**
1980
- * Unique identifier of the fleet. UUID v4 string in canonical form
1981
- */
1982
- fleet_name: string;
1925
+ ticket_id: string;
1926
+ attachment_id: string;
1983
1927
  };
1984
1928
  query?: never;
1985
- url: '/clusters/{cluster_id}/fleets/{fleet_name}';
1929
+ url: '/tickets/{ticket_id}/attachments/{attachment_id}';
1986
1930
  };
1987
- export type DeleteFleetErrors = {
1931
+ export type GetTicketAttachmentResponses = {
1988
1932
  /**
1989
- * 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.
1933
+ * Attachment binary stream.
1990
1934
  */
1991
- 409: string;
1935
+ 200: Blob | File;
1992
1936
  };
1993
- export type DeleteFleetError = DeleteFleetErrors[keyof DeleteFleetErrors];
1994
- export type DeleteFleetResponses = {
1937
+ export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
1938
+ export type ListRoadmapData = {
1939
+ body?: never;
1940
+ path?: never;
1941
+ query?: never;
1942
+ url: '/roadmap';
1943
+ };
1944
+ export type ListRoadmapResponses = {
1995
1945
  /**
1996
- * Successfully deleted.
1946
+ * An array of roadmap items, newest first.
1997
1947
  */
1998
- 200: string;
1948
+ 200: Array<RoadmapItem>;
1999
1949
  };
2000
- export type DeleteFleetResponse = DeleteFleetResponses[keyof DeleteFleetResponses];
2001
- export type GetFleetData = {
1950
+ export type ListRoadmapResponse = ListRoadmapResponses[keyof ListRoadmapResponses];
1951
+ export type SuggestRoadmapData = {
1952
+ body: RoadmapItemCreateInput;
1953
+ path?: never;
1954
+ query?: never;
1955
+ url: '/roadmap';
1956
+ };
1957
+ export type SuggestRoadmapResponses = {
1958
+ /**
1959
+ * Suggestion submitted for review.
1960
+ */
1961
+ 200: RoadmapItem;
1962
+ };
1963
+ export type SuggestRoadmapResponse = SuggestRoadmapResponses[keyof SuggestRoadmapResponses];
1964
+ export type UnvoteRoadmapData = {
2002
1965
  body?: never;
2003
1966
  path: {
2004
- /**
2005
- * Unique identifier of the cluster. UUID v4 string in canonical form
2006
- */
2007
- cluster_id: string;
2008
- /**
2009
- * Unique identifier of the fleet. UUID v4 string in canonical form
2010
- */
2011
- fleet_name: string;
1967
+ item_id: string;
2012
1968
  };
2013
1969
  query?: never;
2014
- url: '/clusters/{cluster_id}/fleets/{fleet_name}';
1970
+ url: '/roadmap/{item_id}/vote';
2015
1971
  };
2016
- export type GetFleetResponses = {
1972
+ export type UnvoteRoadmapErrors = {
2017
1973
  /**
2018
- * Returns a single object containing fleet details.
1974
+ * Roadmap item not found.
2019
1975
  */
2020
- 200: Fleet;
1976
+ 404: unknown;
2021
1977
  };
2022
- export type GetFleetResponse = GetFleetResponses[keyof GetFleetResponses];
2023
- export type UpdateFleetData = {
2024
- body: FleetUpdateInput;
1978
+ export type UnvoteRoadmapResponses = {
1979
+ /**
1980
+ * Vote removed. Returns the item without a vote.
1981
+ */
1982
+ 200: RoadmapItem;
1983
+ };
1984
+ export type UnvoteRoadmapResponse = UnvoteRoadmapResponses[keyof UnvoteRoadmapResponses];
1985
+ export type VoteRoadmapData = {
1986
+ body: RoadmapVoteInput;
2025
1987
  path: {
2026
- /**
2027
- * Unique identifier of the cluster. UUID v4 string in canonical form
2028
- */
2029
- cluster_id: string;
2030
- /**
2031
- * Unique identifier of the fleet. UUID v4 string in canonical form
2032
- */
2033
- fleet_name: string;
1988
+ item_id: string;
2034
1989
  };
2035
1990
  query?: never;
2036
- url: '/clusters/{cluster_id}/fleets/{fleet_name}';
1991
+ url: '/roadmap/{item_id}/vote';
2037
1992
  };
2038
- export type UpdateFleetErrors = {
2039
- /**
2040
- * Organization must have a valid payment method configured to access this endpoint.
2041
- */
2042
- 402: string;
1993
+ export type VoteRoadmapErrors = {
2043
1994
  /**
2044
- * 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.
1995
+ * Roadmap item not found.
2045
1996
  */
2046
- 409: string;
1997
+ 404: unknown;
2047
1998
  };
2048
- export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
2049
- export type UpdateFleetResponses = {
1999
+ export type VoteRoadmapResponses = {
2050
2000
  /**
2051
- * Successfully updated.
2001
+ * Vote saved. Returns the item with your vote.
2052
2002
  */
2053
- 200: string;
2003
+ 200: RoadmapItem;
2054
2004
  };
2055
- export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
2056
- export type QueryClusterData = {
2005
+ export type VoteRoadmapResponse = VoteRoadmapResponses[keyof VoteRoadmapResponses];
2006
+ export type ListRepositoriesData = {
2057
2007
  body?: never;
2058
- path: {
2059
- /**
2060
- * Unique identifier of the cluster. UUID v4 string in canonical form
2061
- */
2062
- cluster_id: string;
2063
- };
2008
+ path?: never;
2064
2009
  query?: never;
2065
- url: '/clusters/{cluster_id}/query';
2010
+ url: '/registry';
2066
2011
  };
2067
- export type QueryClusterErrors = {
2012
+ export type ListRepositoriesErrors = {
2068
2013
  /**
2069
2014
  * Not authenticated
2070
2015
  */
2071
2016
  401: unknown;
2017
+ /**
2018
+ * Internal server error
2019
+ */
2020
+ 500: unknown;
2072
2021
  };
2073
- export type QueryClusterResponses = {
2022
+ export type ListRepositoriesResponses = {
2074
2023
  /**
2075
- * Kubernetes API response
2024
+ * List of repositories
2076
2025
  */
2077
- 200: unknown;
2026
+ 200: Array<RegistryRepository>;
2078
2027
  };
2079
- export type ListClustersData = {
2028
+ export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
2029
+ export type ListTagsData = {
2080
2030
  body?: never;
2081
- path?: never;
2031
+ path: {
2032
+ /**
2033
+ * Region where the repository is located
2034
+ */
2035
+ region: string;
2036
+ /**
2037
+ * Name of the repository
2038
+ */
2039
+ repository: string;
2040
+ };
2082
2041
  query?: never;
2083
- url: '/clusters';
2042
+ url: '/registry/{region}/{repository}';
2084
2043
  };
2085
- export type ListClustersErrors = {
2044
+ export type ListTagsErrors = {
2086
2045
  /**
2087
2046
  * Not authenticated
2088
2047
  */
2089
2048
  401: unknown;
2090
- };
2091
- export type ListClustersResponses = {
2092
2049
  /**
2093
- * An array of clusters
2050
+ * Repository not found
2094
2051
  */
2095
- 200: Array<Cluster>;
2096
- };
2097
- export type ListClustersResponse = ListClustersResponses[keyof ListClustersResponses];
2098
- export type CreateClusterData = {
2099
- body: ClusterCreateInput;
2100
- path?: never;
2101
- query?: never;
2102
- url: '/clusters';
2103
- };
2104
- export type CreateClusterErrors = {
2052
+ 404: unknown;
2105
2053
  /**
2106
- * Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
2054
+ * Internal server error
2107
2055
  */
2108
- 402: string;
2056
+ 500: unknown;
2109
2057
  };
2110
- export type CreateClusterError = CreateClusterErrors[keyof CreateClusterErrors];
2111
- export type CreateClusterResponses = {
2058
+ export type ListTagsResponses = {
2112
2059
  /**
2113
- * Successfully created. Returns created Cluster ID.
2060
+ * Repository with tags
2114
2061
  */
2115
- 200: string;
2062
+ 200: RegistryRepositoryWithTags;
2116
2063
  };
2117
- export type CreateClusterResponse = CreateClusterResponses[keyof CreateClusterResponses];
2118
- export type DeleteClusterData = {
2064
+ export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
2065
+ export type DeleteTagData = {
2119
2066
  body?: never;
2120
2067
  path: {
2121
2068
  /**
2122
- * Unique identifier of the cluster. UUID v4 string in canonical form
2069
+ * Region where the repository is located
2123
2070
  */
2124
- cluster_id: string;
2071
+ region: string;
2072
+ /**
2073
+ * Name of the repository
2074
+ */
2075
+ repository: string;
2076
+ /**
2077
+ * Name of the tag
2078
+ */
2079
+ tag: string;
2125
2080
  };
2126
2081
  query?: never;
2127
- url: '/clusters/{cluster_id}';
2082
+ url: '/registry/{region}/{repository}/{tag}';
2128
2083
  };
2129
- export type DeleteClusterErrors = {
2084
+ export type DeleteTagErrors = {
2130
2085
  /**
2131
- * Cluster not found — it does not exist or has already been deleted.
2086
+ * Not authenticated
2132
2087
  */
2133
- 404: unknown;
2088
+ 401: unknown;
2134
2089
  /**
2135
- * 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.
2090
+ * Tag not found
2136
2091
  */
2137
- 409: string;
2092
+ 404: unknown;
2138
2093
  /**
2139
- * Transient failure tearing down the cluster; retry the request.
2094
+ * Internal server error
2140
2095
  */
2141
- 503: unknown;
2096
+ 500: unknown;
2142
2097
  };
2143
- export type DeleteClusterError = DeleteClusterErrors[keyof DeleteClusterErrors];
2144
- export type DeleteClusterResponses = {
2098
+ export type DeleteTagResponses = {
2145
2099
  /**
2146
- * Successfully deleted. The cluster has been torn down.
2100
+ * Tag successfully deleted
2147
2101
  */
2148
- 200: string;
2102
+ 200: unknown;
2149
2103
  };
2150
- export type DeleteClusterResponse = DeleteClusterResponses[keyof DeleteClusterResponses];
2151
- export type GetClusterData = {
2104
+ export type GetTagData = {
2152
2105
  body?: never;
2153
2106
  path: {
2154
2107
  /**
2155
- * Unique identifier of the cluster. UUID v4 string in canonical form
2108
+ * Region where the repository is located
2156
2109
  */
2157
- cluster_id: string;
2110
+ region: string;
2111
+ /**
2112
+ * Name of the repository
2113
+ */
2114
+ repository: string;
2115
+ /**
2116
+ * Name of the tag
2117
+ */
2118
+ tag: string;
2158
2119
  };
2159
2120
  query?: never;
2160
- url: '/clusters/{cluster_id}';
2121
+ url: '/registry/{region}/{repository}/{tag}';
2161
2122
  };
2162
- export type GetClusterResponses = {
2123
+ export type GetTagErrors = {
2163
2124
  /**
2164
- * Returns a single object containing cluster details.
2125
+ * Not authenticated
2165
2126
  */
2166
- 200: Cluster;
2127
+ 401: unknown;
2128
+ /**
2129
+ * Tag not found
2130
+ */
2131
+ 404: unknown;
2132
+ /**
2133
+ * Internal server error
2134
+ */
2135
+ 500: unknown;
2167
2136
  };
2168
- export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
2169
- export type UpdateClusterData = {
2170
- body: ClusterUpdateInput;
2171
- path: {
2172
- /**
2173
- * Unique identifier of the cluster. UUID v4 string in canonical form
2174
- */
2175
- cluster_id: string;
2176
- };
2137
+ export type GetTagResponses = {
2138
+ /**
2139
+ * Tag details
2140
+ */
2141
+ 200: RegistryTag;
2142
+ };
2143
+ export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
2144
+ export type GetOrganizationData = {
2145
+ body?: never;
2146
+ path?: never;
2177
2147
  query?: never;
2178
- url: '/clusters/{cluster_id}';
2148
+ url: '/organization';
2179
2149
  };
2180
- export type UpdateClusterErrors = {
2150
+ export type GetOrganizationResponses = {
2181
2151
  /**
2182
- * 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.
2152
+ * Returns a single object containing organization details.
2183
2153
  */
2184
- 409: string;
2154
+ 200: Organization;
2185
2155
  };
2186
- export type UpdateClusterError = UpdateClusterErrors[keyof UpdateClusterErrors];
2187
- export type UpdateClusterResponses = {
2156
+ export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
2157
+ export type CreateOrganizationData = {
2158
+ body: OrganizationCreateInput;
2159
+ path?: never;
2160
+ query?: never;
2161
+ url: '/organization';
2162
+ };
2163
+ export type CreateOrganizationResponses = {
2188
2164
  /**
2189
- * Successfully updated. Returns updated cluster details.
2165
+ * Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
2166
+ *
2190
2167
  */
2191
- 200: Cluster;
2168
+ 200: OrganizationCreateOutput;
2192
2169
  };
2193
- export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
2194
- export type GetJoinInformationData = {
2195
- body?: never;
2196
- path: {
2170
+ export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
2171
+ export type PostMcpData = {
2172
+ /**
2173
+ * JSON-RPC 2.0 request payload
2174
+ */
2175
+ body: {
2176
+ jsonrpc?: string;
2177
+ method?: string;
2178
+ id?: string | number;
2197
2179
  /**
2198
- * Unique identifier of the cluster. UUID v4 string in canonical form
2180
+ * Method-specific parameters
2199
2181
  */
2200
- cluster_id: string;
2182
+ params?: {
2183
+ [key: string]: unknown;
2184
+ };
2201
2185
  };
2186
+ path?: never;
2202
2187
  query?: never;
2203
- url: '/clusters/{cluster_id}/join_information';
2188
+ url: '/mcp';
2204
2189
  };
2205
- export type GetJoinInformationErrors = {
2190
+ export type PostMcpErrors = {
2206
2191
  /**
2207
2192
  * Not authenticated
2208
2193
  */
2209
2194
  401: unknown;
2210
- /**
2211
- * 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.
2212
- */
2213
- 409: string;
2214
2195
  };
2215
- export type GetJoinInformationError = GetJoinInformationErrors[keyof GetJoinInformationErrors];
2216
- export type GetJoinInformationResponses = {
2196
+ export type PostMcpResponses = {
2217
2197
  /**
2218
- * An object of cluster join information
2198
+ * JSON-RPC 2.0 success or error response
2219
2199
  */
2220
- 200: ClusterJoinInformation;
2200
+ 200: {
2201
+ jsonrpc?: string;
2202
+ id?: string | number;
2203
+ result?: {
2204
+ [key: string]: unknown;
2205
+ };
2206
+ error?: {
2207
+ code?: number;
2208
+ message?: string;
2209
+ };
2210
+ };
2221
2211
  };
2222
- export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
2212
+ export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
2223
2213
  export type ListInvitesData = {
2224
2214
  body?: never;
2225
2215
  path?: never;
@@ -2296,619 +2286,575 @@ export type DeleteInviteResponses = {
2296
2286
  */
2297
2287
  200: unknown;
2298
2288
  };
2299
- export type ListMarketplaceChartsData = {
2300
- body?: never;
2289
+ export type SendFeedbackData = {
2290
+ body: FeedbackCreateInput;
2301
2291
  path?: never;
2302
2292
  query?: never;
2303
- url: '/marketplace';
2293
+ url: '/feedback';
2304
2294
  };
2305
- export type ListMarketplaceChartsErrors = {
2295
+ export type SendFeedbackErrors = {
2306
2296
  /**
2307
- * Not authenticated
2297
+ * Too much feedback from this organization in the last hour.
2308
2298
  */
2309
- 401: unknown;
2299
+ 429: unknown;
2310
2300
  };
2311
- export type ListMarketplaceChartsResponses = {
2301
+ export type SendFeedbackResponses = {
2312
2302
  /**
2313
- * An array of chart listings in the marketplace.
2303
+ * Feedback received.
2314
2304
  */
2315
- 200: Array<MarketplaceListing>;
2305
+ 200: Feedback;
2316
2306
  };
2317
- export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
2318
- export type GetMarketplaceChartFilesData = {
2307
+ export type SendFeedbackResponse = SendFeedbackResponses[keyof SendFeedbackResponses];
2308
+ export type QueryClusterData = {
2319
2309
  body?: never;
2320
2310
  path: {
2321
2311
  /**
2322
- * Name of the chart in the marketplace.
2323
- */
2324
- chart_name: string;
2325
- /**
2326
- * 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).
2312
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2327
2313
  */
2328
- version_channel: string;
2314
+ cluster_id: string;
2329
2315
  };
2330
2316
  query?: never;
2331
- url: '/marketplace/{chart_name}/files/{version_channel}';
2317
+ url: '/clusters/{cluster_id}/query';
2332
2318
  };
2333
- export type GetMarketplaceChartFilesErrors = {
2319
+ export type QueryClusterErrors = {
2334
2320
  /**
2335
- * Chart not found or no version matches the channel
2321
+ * Not authenticated
2336
2322
  */
2337
- 404: unknown;
2323
+ 401: unknown;
2338
2324
  };
2339
- export type GetMarketplaceChartFilesResponses = {
2325
+ export type QueryClusterResponses = {
2340
2326
  /**
2341
- * Returns an object containing the chart files for the latest matching version.
2327
+ * Kubernetes API response
2342
2328
  */
2343
- 200: MarketplaceListingFiles;
2329
+ 200: unknown;
2344
2330
  };
2345
- export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
2346
- export type PostMcpData = {
2347
- /**
2348
- * JSON-RPC 2.0 request payload
2349
- */
2350
- body: {
2351
- jsonrpc?: string;
2352
- method?: string;
2353
- id?: string | number;
2331
+ export type ListFleetsData = {
2332
+ body?: never;
2333
+ path: {
2354
2334
  /**
2355
- * Method-specific parameters
2335
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2356
2336
  */
2357
- params?: {
2358
- [key: string]: unknown;
2359
- };
2337
+ cluster_id: string;
2360
2338
  };
2361
- path?: never;
2362
2339
  query?: never;
2363
- url: '/mcp';
2340
+ url: '/clusters/{cluster_id}/fleets';
2364
2341
  };
2365
- export type PostMcpErrors = {
2342
+ export type ListFleetsErrors = {
2366
2343
  /**
2367
2344
  * Not authenticated
2368
2345
  */
2369
2346
  401: unknown;
2370
2347
  };
2371
- export type PostMcpResponses = {
2372
- /**
2373
- * JSON-RPC 2.0 success or error response
2374
- */
2375
- 200: {
2376
- jsonrpc?: string;
2377
- id?: string | number;
2378
- result?: {
2379
- [key: string]: unknown;
2380
- };
2381
- error?: {
2382
- code?: number;
2383
- message?: string;
2384
- };
2385
- };
2386
- };
2387
- export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
2388
- export type GetOrganizationData = {
2389
- body?: never;
2390
- path?: never;
2391
- query?: never;
2392
- url: '/organization';
2393
- };
2394
- export type GetOrganizationResponses = {
2395
- /**
2396
- * Returns a single object containing organization details.
2397
- */
2398
- 200: Organization;
2399
- };
2400
- export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
2401
- export type CreateOrganizationData = {
2402
- body: OrganizationCreateInput;
2403
- path?: never;
2404
- query?: never;
2405
- url: '/organization';
2406
- };
2407
- export type CreateOrganizationResponses = {
2348
+ export type ListFleetsResponses = {
2408
2349
  /**
2409
- * Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
2410
- *
2350
+ * An array of fleets
2411
2351
  */
2412
- 200: OrganizationCreateOutput;
2352
+ 200: Array<Fleet>;
2413
2353
  };
2414
- export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
2415
- export type ListRepositoriesData = {
2416
- body?: never;
2417
- path?: never;
2354
+ export type ListFleetsResponse = ListFleetsResponses[keyof ListFleetsResponses];
2355
+ export type CreateFleetData = {
2356
+ body: FleetCreateInput;
2357
+ path: {
2358
+ /**
2359
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2360
+ */
2361
+ cluster_id: string;
2362
+ };
2418
2363
  query?: never;
2419
- url: '/registry';
2364
+ url: '/clusters/{cluster_id}/fleets';
2420
2365
  };
2421
- export type ListRepositoriesErrors = {
2366
+ export type CreateFleetErrors = {
2422
2367
  /**
2423
- * Not authenticated
2368
+ * Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
2424
2369
  */
2425
- 401: unknown;
2370
+ 402: string;
2426
2371
  /**
2427
- * Internal server error
2372
+ * 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.
2428
2373
  */
2429
- 500: unknown;
2374
+ 409: string;
2430
2375
  };
2431
- export type ListRepositoriesResponses = {
2376
+ export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
2377
+ export type CreateFleetResponses = {
2432
2378
  /**
2433
- * List of repositories
2379
+ * Successfully created. Returns created Fleet ID.
2434
2380
  */
2435
- 200: Array<RegistryRepository>;
2381
+ 200: string;
2436
2382
  };
2437
- export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
2438
- export type ListTagsData = {
2383
+ export type CreateFleetResponse = CreateFleetResponses[keyof CreateFleetResponses];
2384
+ export type DeleteFleetData = {
2439
2385
  body?: never;
2440
2386
  path: {
2441
2387
  /**
2442
- * Region where the repository is located
2388
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2443
2389
  */
2444
- region: string;
2390
+ cluster_id: string;
2445
2391
  /**
2446
- * Name of the repository
2392
+ * Unique identifier of the fleet. UUID v4 string in canonical form
2447
2393
  */
2448
- repository: string;
2394
+ fleet_name: string;
2449
2395
  };
2450
2396
  query?: never;
2451
- url: '/registry/{region}/{repository}';
2397
+ url: '/clusters/{cluster_id}/fleets/{fleet_name}';
2452
2398
  };
2453
- export type ListTagsErrors = {
2454
- /**
2455
- * Not authenticated
2456
- */
2457
- 401: unknown;
2458
- /**
2459
- * Repository not found
2460
- */
2461
- 404: unknown;
2399
+ export type DeleteFleetErrors = {
2462
2400
  /**
2463
- * Internal server error
2401
+ * 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.
2464
2402
  */
2465
- 500: unknown;
2403
+ 409: string;
2466
2404
  };
2467
- export type ListTagsResponses = {
2405
+ export type DeleteFleetError = DeleteFleetErrors[keyof DeleteFleetErrors];
2406
+ export type DeleteFleetResponses = {
2468
2407
  /**
2469
- * Repository with tags
2408
+ * Successfully deleted.
2470
2409
  */
2471
- 200: RegistryRepositoryWithTags;
2410
+ 200: string;
2472
2411
  };
2473
- export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
2474
- export type DeleteTagData = {
2412
+ export type DeleteFleetResponse = DeleteFleetResponses[keyof DeleteFleetResponses];
2413
+ export type GetFleetData = {
2475
2414
  body?: never;
2476
2415
  path: {
2477
2416
  /**
2478
- * Region where the repository is located
2479
- */
2480
- region: string;
2481
- /**
2482
- * Name of the repository
2417
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2483
2418
  */
2484
- repository: string;
2419
+ cluster_id: string;
2485
2420
  /**
2486
- * Name of the tag
2421
+ * Unique identifier of the fleet. UUID v4 string in canonical form
2487
2422
  */
2488
- tag: string;
2423
+ fleet_name: string;
2489
2424
  };
2490
2425
  query?: never;
2491
- url: '/registry/{region}/{repository}/{tag}';
2492
- };
2493
- export type DeleteTagErrors = {
2494
- /**
2495
- * Not authenticated
2496
- */
2497
- 401: unknown;
2498
- /**
2499
- * Tag not found
2500
- */
2501
- 404: unknown;
2502
- /**
2503
- * Internal server error
2504
- */
2505
- 500: unknown;
2426
+ url: '/clusters/{cluster_id}/fleets/{fleet_name}';
2506
2427
  };
2507
- export type DeleteTagResponses = {
2428
+ export type GetFleetResponses = {
2508
2429
  /**
2509
- * Tag successfully deleted
2430
+ * Returns a single object containing fleet details.
2510
2431
  */
2511
- 200: unknown;
2432
+ 200: Fleet;
2512
2433
  };
2513
- export type GetTagData = {
2514
- body?: never;
2434
+ export type GetFleetResponse = GetFleetResponses[keyof GetFleetResponses];
2435
+ export type UpdateFleetData = {
2436
+ body: FleetUpdateInput;
2515
2437
  path: {
2516
2438
  /**
2517
- * Region where the repository is located
2518
- */
2519
- region: string;
2520
- /**
2521
- * Name of the repository
2439
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2522
2440
  */
2523
- repository: string;
2441
+ cluster_id: string;
2524
2442
  /**
2525
- * Name of the tag
2443
+ * Unique identifier of the fleet. UUID v4 string in canonical form
2526
2444
  */
2527
- tag: string;
2445
+ fleet_name: string;
2528
2446
  };
2529
2447
  query?: never;
2530
- url: '/registry/{region}/{repository}/{tag}';
2448
+ url: '/clusters/{cluster_id}/fleets/{fleet_name}';
2531
2449
  };
2532
- export type GetTagErrors = {
2533
- /**
2534
- * Not authenticated
2535
- */
2536
- 401: unknown;
2450
+ export type UpdateFleetErrors = {
2537
2451
  /**
2538
- * Tag not found
2452
+ * Organization must have a valid payment method configured to access this endpoint.
2539
2453
  */
2540
- 404: unknown;
2454
+ 402: string;
2541
2455
  /**
2542
- * Internal server error
2456
+ * 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.
2543
2457
  */
2544
- 500: unknown;
2458
+ 409: string;
2545
2459
  };
2546
- export type GetTagResponses = {
2460
+ export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
2461
+ export type UpdateFleetResponses = {
2547
2462
  /**
2548
- * Tag details
2463
+ * Successfully updated.
2549
2464
  */
2550
- 200: RegistryTag;
2465
+ 200: string;
2551
2466
  };
2552
- export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
2553
- export type ListTicketsData = {
2467
+ export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
2468
+ export type ListClustersData = {
2554
2469
  body?: never;
2555
2470
  path?: never;
2556
2471
  query?: never;
2557
- url: '/tickets';
2472
+ url: '/clusters';
2558
2473
  };
2559
- export type ListTicketsResponses = {
2474
+ export type ListClustersErrors = {
2560
2475
  /**
2561
- * Tickets for the organization.
2476
+ * Not authenticated
2562
2477
  */
2563
- 200: TicketListResponse;
2478
+ 401: unknown;
2564
2479
  };
2565
- export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
2566
- export type CreateTicketData = {
2567
- body: {
2568
- /**
2569
- * JSON-encoded TicketCreateInput.
2570
- */
2571
- payload?: string;
2572
- attachments?: Array<Blob | File>;
2573
- };
2480
+ export type ListClustersResponses = {
2481
+ /**
2482
+ * An array of clusters
2483
+ */
2484
+ 200: Array<Cluster>;
2485
+ };
2486
+ export type ListClustersResponse = ListClustersResponses[keyof ListClustersResponses];
2487
+ export type CreateClusterData = {
2488
+ body: ClusterCreateInput;
2574
2489
  path?: never;
2575
2490
  query?: never;
2576
- url: '/tickets';
2491
+ url: '/clusters';
2577
2492
  };
2578
- export type CreateTicketResponses = {
2493
+ export type CreateClusterErrors = {
2579
2494
  /**
2580
- * Ticket created.
2495
+ * Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
2581
2496
  */
2582
- 200: Ticket;
2497
+ 402: string;
2583
2498
  };
2584
- export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
2585
- export type CloseTicketData = {
2499
+ export type CreateClusterError = CreateClusterErrors[keyof CreateClusterErrors];
2500
+ export type CreateClusterResponses = {
2501
+ /**
2502
+ * Successfully created. Returns created Cluster ID.
2503
+ */
2504
+ 200: string;
2505
+ };
2506
+ export type CreateClusterResponse = CreateClusterResponses[keyof CreateClusterResponses];
2507
+ export type DeleteClusterData = {
2586
2508
  body?: never;
2587
2509
  path: {
2588
- ticket_id: string;
2510
+ /**
2511
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2512
+ */
2513
+ cluster_id: string;
2589
2514
  };
2590
2515
  query?: never;
2591
- url: '/tickets/{ticket_id}';
2516
+ url: '/clusters/{cluster_id}';
2592
2517
  };
2593
- export type CloseTicketResponses = {
2518
+ export type DeleteClusterErrors = {
2594
2519
  /**
2595
- * Ticket closed.
2520
+ * Cluster not found; it does not exist or has already been deleted.
2596
2521
  */
2597
- 200: Ticket;
2522
+ 404: unknown;
2523
+ /**
2524
+ * 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.
2525
+ */
2526
+ 409: string;
2527
+ /**
2528
+ * Transient failure tearing down the cluster; retry the request.
2529
+ */
2530
+ 503: unknown;
2598
2531
  };
2599
- export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
2600
- export type GetTicketData = {
2532
+ export type DeleteClusterError = DeleteClusterErrors[keyof DeleteClusterErrors];
2533
+ export type DeleteClusterResponses = {
2534
+ /**
2535
+ * Successfully deleted. The cluster has been torn down.
2536
+ */
2537
+ 200: string;
2538
+ };
2539
+ export type DeleteClusterResponse = DeleteClusterResponses[keyof DeleteClusterResponses];
2540
+ export type GetClusterData = {
2601
2541
  body?: never;
2602
2542
  path: {
2603
- ticket_id: string;
2543
+ /**
2544
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2545
+ */
2546
+ cluster_id: string;
2604
2547
  };
2605
2548
  query?: never;
2606
- url: '/tickets/{ticket_id}';
2549
+ url: '/clusters/{cluster_id}';
2607
2550
  };
2608
- export type GetTicketResponses = {
2551
+ export type GetClusterResponses = {
2609
2552
  /**
2610
- * Ticket with messages (internal notes excluded).
2553
+ * Returns a single object containing cluster details.
2611
2554
  */
2612
- 200: Ticket;
2555
+ 200: Cluster;
2613
2556
  };
2614
- export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
2615
- export type ReplyTicketData = {
2616
- body: {
2557
+ export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
2558
+ export type UpdateClusterData = {
2559
+ body: ClusterUpdateInput;
2560
+ path: {
2617
2561
  /**
2618
- * JSON-encoded TicketMessageInput.
2562
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2619
2563
  */
2620
- payload?: string;
2621
- attachments?: Array<Blob | File>;
2622
- };
2623
- path: {
2624
- ticket_id: string;
2564
+ cluster_id: string;
2625
2565
  };
2626
2566
  query?: never;
2627
- url: '/tickets/{ticket_id}/messages';
2567
+ url: '/clusters/{cluster_id}';
2628
2568
  };
2629
- export type ReplyTicketErrors = {
2569
+ export type UpdateClusterErrors = {
2630
2570
  /**
2631
- * Ticket is closed. Open a new ticket instead.
2571
+ * 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.
2632
2572
  */
2633
- 409: unknown;
2573
+ 409: string;
2634
2574
  };
2635
- export type ReplyTicketResponses = {
2575
+ export type UpdateClusterError = UpdateClusterErrors[keyof UpdateClusterErrors];
2576
+ export type UpdateClusterResponses = {
2636
2577
  /**
2637
- * Reply appended.
2578
+ * Successfully updated. Returns updated cluster details.
2638
2579
  */
2639
- 200: TicketMessage;
2580
+ 200: Cluster;
2640
2581
  };
2641
- export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
2642
- export type GetTicketAttachmentData = {
2582
+ export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
2583
+ export type GetJoinInformationData = {
2643
2584
  body?: never;
2644
2585
  path: {
2645
- ticket_id: string;
2646
- attachment_id: string;
2586
+ /**
2587
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2588
+ */
2589
+ cluster_id: string;
2647
2590
  };
2648
2591
  query?: never;
2649
- url: '/tickets/{ticket_id}/attachments/{attachment_id}';
2650
- };
2651
- export type GetTicketAttachmentResponses = {
2652
- /**
2653
- * Attachment binary stream.
2654
- */
2655
- 200: Blob | File;
2656
- };
2657
- export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
2658
- export type ListTokensData = {
2659
- body?: never;
2660
- path?: never;
2661
- query?: never;
2662
- url: '/tokens';
2592
+ url: '/clusters/{cluster_id}/join_information';
2663
2593
  };
2664
- export type ListTokensErrors = {
2594
+ export type GetJoinInformationErrors = {
2665
2595
  /**
2666
2596
  * Not authenticated
2667
2597
  */
2668
2598
  401: unknown;
2599
+ /**
2600
+ * 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.
2601
+ */
2602
+ 409: string;
2603
+ /**
2604
+ * The cluster runs on Cloudfleet data plane v2 and the calling client did not declare the dataplane-v2 capability, so it cannot provision a node for it. Upgrade the Cloudfleet CLI or Terraform provider.
2605
+ */
2606
+ 426: string;
2669
2607
  };
2670
- export type ListTokensResponses = {
2608
+ export type GetJoinInformationError = GetJoinInformationErrors[keyof GetJoinInformationErrors];
2609
+ export type GetJoinInformationResponses = {
2671
2610
  /**
2672
- * Returns a list of access token details with masked secrets.
2611
+ * An object of cluster join information
2673
2612
  */
2674
- 200: Array<Token>;
2613
+ 200: ClusterJoinInformation;
2675
2614
  };
2676
- export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
2677
- export type CreateTokenData = {
2678
- body: TokenCreateInput;
2615
+ export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
2616
+ export type GetUsageData = {
2617
+ body?: never;
2679
2618
  path?: never;
2680
- query?: never;
2681
- url: '/tokens';
2619
+ query?: {
2620
+ /**
2621
+ * 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)
2622
+ */
2623
+ granularity?: 'hourly' | 'daily' | 'monthly';
2624
+ };
2625
+ url: '/billing/usage';
2682
2626
  };
2683
- export type CreateTokenErrors = {
2627
+ export type GetUsageErrors = {
2684
2628
  /**
2685
2629
  * Not authenticated
2686
2630
  */
2687
2631
  401: unknown;
2688
2632
  };
2689
- export type CreateTokenResponses = {
2633
+ export type GetUsageResponses = {
2690
2634
  /**
2691
- * Successfully created. Returns created token details with unmasked/raw secret.
2635
+ * Usage data with facets for filtering
2692
2636
  */
2693
- 200: Token;
2637
+ 200: UsageResponse;
2694
2638
  };
2695
- export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
2696
- export type DeleteTokenData = {
2639
+ export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
2640
+ export type GetPaymentMethodSecretData = {
2697
2641
  body?: never;
2698
- path: {
2699
- /**
2700
- * Generated unique identifier of the access token.
2701
- */
2702
- token_id: string;
2703
- };
2642
+ path?: never;
2704
2643
  query?: never;
2705
- url: '/tokens/{token_id}';
2644
+ url: '/billing/payment-method';
2706
2645
  };
2707
- export type DeleteTokenResponses = {
2646
+ export type GetPaymentMethodSecretResponses = {
2708
2647
  /**
2709
- * Successfully deleted.
2648
+ * 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.
2649
+ *
2710
2650
  */
2711
- 200: unknown;
2712
- };
2713
- export type GetTokenData = {
2714
- body?: never;
2715
- path: {
2651
+ 200: {
2716
2652
  /**
2717
- * Generated unique identifier of the access token.
2653
+ * The client secret.
2718
2654
  */
2719
- token_id: string;
2655
+ id?: string;
2720
2656
  };
2657
+ };
2658
+ export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
2659
+ export type ListPaymentMethodsData = {
2660
+ body?: never;
2661
+ path?: never;
2721
2662
  query?: never;
2722
- url: '/tokens/{token_id}';
2663
+ url: '/billing/payment-methods';
2723
2664
  };
2724
- export type GetTokenErrors = {
2665
+ export type ListPaymentMethodsErrors = {
2725
2666
  /**
2726
2667
  * Not authenticated
2727
2668
  */
2728
2669
  401: unknown;
2729
2670
  };
2730
- export type GetTokenResponses = {
2671
+ export type ListPaymentMethodsResponses = {
2731
2672
  /**
2732
- * Returns access token details with masked secret.
2673
+ * An array of payment methods.
2733
2674
  */
2734
- 200: Token;
2675
+ 200: Array<PaymentMethod>;
2735
2676
  };
2736
- export type GetTokenResponse = GetTokenResponses[keyof GetTokenResponses];
2737
- export type UpdateTokenData = {
2738
- body: TokenUpdateInput;
2677
+ export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
2678
+ export type SetDefaultPaymentMethodData = {
2679
+ body?: never;
2739
2680
  path: {
2740
2681
  /**
2741
- * Generated unique identifier of the access token.
2682
+ * Stripe payment method identifier.
2742
2683
  */
2743
- token_id: string;
2684
+ paymentMethodId: string;
2744
2685
  };
2745
2686
  query?: never;
2746
- url: '/tokens/{token_id}';
2687
+ url: '/billing/payment-methods/{paymentMethodId}/default';
2747
2688
  };
2748
- export type UpdateTokenErrors = {
2689
+ export type SetDefaultPaymentMethodErrors = {
2690
+ /**
2691
+ * The bank transfer payment method cannot be set as the default.
2692
+ */
2693
+ 400: unknown;
2749
2694
  /**
2750
2695
  * Not authenticated
2751
2696
  */
2752
2697
  401: unknown;
2698
+ /**
2699
+ * Payment method not found.
2700
+ */
2701
+ 404: unknown;
2753
2702
  };
2754
- export type UpdateTokenResponses = {
2703
+ export type SetDefaultPaymentMethodResponses = {
2755
2704
  /**
2756
- * Successfully updated. Returns updated token details with masked secret.
2705
+ * Default payment method updated.
2757
2706
  */
2758
- 200: Token;
2707
+ 204: void;
2759
2708
  };
2760
- export type UpdateTokenResponse = UpdateTokenResponses[keyof UpdateTokenResponses];
2761
- export type RegenerateTokenData = {
2709
+ export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
2710
+ export type DeletePaymentMethodData = {
2762
2711
  body?: never;
2763
2712
  path: {
2764
2713
  /**
2765
- * Generated unique identifier of the access token.
2714
+ * Stripe payment method identifier.
2766
2715
  */
2767
- token_id: string;
2716
+ paymentMethodId: string;
2768
2717
  };
2769
2718
  query?: never;
2770
- url: '/tokens/{token_id}/secret';
2719
+ url: '/billing/payment-methods/{paymentMethodId}';
2771
2720
  };
2772
- export type RegenerateTokenErrors = {
2721
+ export type DeletePaymentMethodErrors = {
2722
+ /**
2723
+ * The bank transfer payment method cannot be removed.
2724
+ */
2725
+ 400: unknown;
2773
2726
  /**
2774
2727
  * Not authenticated
2775
2728
  */
2776
2729
  401: unknown;
2730
+ /**
2731
+ * Payment method not found.
2732
+ */
2733
+ 404: unknown;
2734
+ /**
2735
+ * Cannot delete the only remaining payment method.
2736
+ */
2737
+ 409: unknown;
2777
2738
  };
2778
- export type RegenerateTokenResponses = {
2739
+ export type DeletePaymentMethodResponses = {
2779
2740
  /**
2780
- * Successfully updated. Returns updated token details with unmasked / raw secret.
2741
+ * Payment method deleted.
2781
2742
  */
2782
- 200: Token;
2743
+ 204: void;
2783
2744
  };
2784
- export type RegenerateTokenResponse = RegenerateTokenResponses[keyof RegenerateTokenResponses];
2785
- export type ListUserOrganizationsData = {
2745
+ export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
2746
+ export type ListInvoicesData = {
2786
2747
  body?: never;
2787
- path: {
2788
- /**
2789
- * User email address.
2790
- */
2791
- email: string;
2792
- };
2748
+ path?: never;
2793
2749
  query?: never;
2794
- url: '/users/organizations/{email}';
2750
+ url: '/billing/invoices';
2795
2751
  };
2796
- export type ListUserOrganizationsResponses = {
2752
+ export type ListInvoicesErrors = {
2797
2753
  /**
2798
- * An array of organizations the user belongs to.
2754
+ * Not authenticated
2799
2755
  */
2800
- 200: Array<{
2801
- /**
2802
- * Unique identifier of the organization. UUID v4 string in canonical form
2803
- */
2804
- realm?: string;
2805
- /**
2806
- * Human-readable name of the organization
2807
- */
2808
- displayName?: string;
2809
- }>;
2756
+ 401: unknown;
2810
2757
  };
2811
- export type ListUserOrganizationsResponse = ListUserOrganizationsResponses[keyof ListUserOrganizationsResponses];
2812
- export type ListUsersData = {
2758
+ export type ListInvoicesResponses = {
2759
+ /**
2760
+ * An array of usage records.
2761
+ */
2762
+ 200: Array<Invoice>;
2763
+ };
2764
+ export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
2765
+ export type PayOpenInvoicesData = {
2813
2766
  body?: never;
2814
2767
  path?: never;
2815
2768
  query?: never;
2816
- url: '/users';
2769
+ url: '/billing/invoices/pay';
2817
2770
  };
2818
- export type ListUsersErrors = {
2771
+ export type PayOpenInvoicesErrors = {
2772
+ /**
2773
+ * The organization has no payment method that can be charged.
2774
+ */
2775
+ 400: unknown;
2819
2776
  /**
2820
2777
  * Not authenticated
2821
2778
  */
2822
2779
  401: unknown;
2780
+ /**
2781
+ * Too many payment attempts for this organization.
2782
+ */
2783
+ 429: unknown;
2823
2784
  };
2824
- export type ListUsersResponses = {
2785
+ export type PayOpenInvoicesResponses = {
2825
2786
  /**
2826
- * An array of users
2787
+ * The outcome of the attempt.
2827
2788
  */
2828
- 200: Array<User>;
2789
+ 200: InvoicePaymentResult;
2829
2790
  };
2830
- export type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
2831
- export type CreateUserData = {
2832
- body: UserCreateInput;
2791
+ export type PayOpenInvoicesResponse = PayOpenInvoicesResponses[keyof PayOpenInvoicesResponses];
2792
+ export type GetContactData = {
2793
+ body?: never;
2833
2794
  path?: never;
2834
2795
  query?: never;
2835
- url: '/users';
2796
+ url: '/billing/contact';
2836
2797
  };
2837
- export type CreateUserResponses = {
2798
+ export type GetContactResponses = {
2838
2799
  /**
2839
- * Successfully created. Returns created user details.
2800
+ * Returns a single object containing organization contact and billing address details.
2840
2801
  */
2841
- 200: User;
2802
+ 200: BillingContact;
2842
2803
  };
2843
- export type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];
2844
- export type DeleteUserData = {
2845
- body?: never;
2846
- path: {
2847
- /**
2848
- * Unique user identifier. UUID v4 string in canonical form
2849
- */
2850
- user_id: string;
2851
- };
2804
+ export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
2805
+ export type UpdateContactData = {
2806
+ body: BillingContact;
2807
+ path?: never;
2852
2808
  query?: never;
2853
- url: '/users/{user_id}';
2809
+ url: '/billing/contact';
2854
2810
  };
2855
- export type DeleteUserErrors = {
2811
+ export type UpdateContactResponses = {
2856
2812
  /**
2857
- * Deleting own user is not allowed. Delete your organization instead.
2813
+ * Successfully updated. Returns updated organization details.
2858
2814
  */
2859
- 400: unknown;
2815
+ 200: BillingContact;
2816
+ };
2817
+ export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
2818
+ export type GetCreditsData = {
2819
+ body?: never;
2820
+ path?: never;
2821
+ query?: never;
2822
+ url: '/billing/credits';
2823
+ };
2824
+ export type GetCreditsErrors = {
2860
2825
  /**
2861
2826
  * Not authenticated
2862
2827
  */
2863
2828
  401: unknown;
2864
2829
  };
2865
- export type DeleteUserResponses = {
2830
+ export type GetCreditsResponses = {
2866
2831
  /**
2867
- * User profile information
2832
+ * An array of the applied promotional credits records.
2868
2833
  */
2869
- 200: User;
2834
+ 200: Array<BillingCredits>;
2870
2835
  };
2871
- export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
2872
- export type GetUserData = {
2873
- body?: never;
2874
- path: {
2836
+ export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
2837
+ export type RedeemCreditsData = {
2838
+ body: {
2875
2839
  /**
2876
- * Unique user identifier. UUID v4 string in canonical form
2840
+ * Promotional code to redeem
2877
2841
  */
2878
- user_id: string;
2842
+ code?: string;
2879
2843
  };
2844
+ path?: never;
2880
2845
  query?: never;
2881
- url: '/users/{user_id}';
2846
+ url: '/billing/credits';
2882
2847
  };
2883
- export type GetUserErrors = {
2848
+ export type RedeemCreditsErrors = {
2884
2849
  /**
2885
2850
  * Not authenticated
2886
2851
  */
2887
2852
  401: unknown;
2888
2853
  };
2889
- export type GetUserResponses = {
2890
- /**
2891
- * User profile information
2892
- */
2893
- 200: User;
2894
- };
2895
- export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
2896
- export type UpdateUserData = {
2897
- body: UserUpdateInput;
2898
- path: {
2899
- /**
2900
- * Unique user identifier. UUID v4 string in canonical form
2901
- */
2902
- user_id: string;
2903
- };
2904
- query?: never;
2905
- url: '/users/{user_id}';
2906
- };
2907
- export type UpdateUserResponses = {
2854
+ export type RedeemCreditsResponses = {
2908
2855
  /**
2909
- * Successfully created. Returns created user details.
2856
+ * Successfully created a new organization.
2910
2857
  */
2911
- 200: User;
2858
+ 200: unknown;
2912
2859
  };
2913
- export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
2914
2860
  //# sourceMappingURL=types.gen.d.ts.map