@cloudfleet/sdk 0.0.1-76e2a56 → 0.0.1-7796b47

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