@cloudfleet/sdk 0.0.1-76812fb → 0.0.1-768ab1e

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 (83) hide show
  1. package/dist/client/client.gen.d.ts +3 -0
  2. package/dist/client/client.gen.d.ts.map +1 -0
  3. package/dist/client/client.gen.js +205 -0
  4. package/dist/client/client.gen.js.map +1 -0
  5. package/dist/client/index.d.ts +9 -0
  6. package/dist/client/index.d.ts.map +1 -0
  7. package/dist/client/index.js +7 -0
  8. package/dist/client/index.js.map +1 -0
  9. package/dist/client/types.gen.d.ts +125 -0
  10. package/dist/client/types.gen.d.ts.map +1 -0
  11. package/dist/client/types.gen.js +3 -0
  12. package/dist/client/types.gen.js.map +1 -0
  13. package/dist/client/utils.gen.d.ts +34 -0
  14. package/dist/client/utils.gen.d.ts.map +1 -0
  15. package/dist/client/utils.gen.js +231 -0
  16. package/dist/client/utils.gen.js.map +1 -0
  17. package/dist/client.gen.d.ts +13 -0
  18. package/dist/client.gen.d.ts.map +1 -0
  19. package/dist/client.gen.js +6 -0
  20. package/dist/client.gen.js.map +1 -0
  21. package/dist/core/auth.gen.d.ts +19 -0
  22. package/dist/core/auth.gen.d.ts.map +1 -0
  23. package/dist/core/auth.gen.js +15 -0
  24. package/dist/core/auth.gen.js.map +1 -0
  25. package/dist/core/bodySerializer.gen.d.ts +18 -0
  26. package/dist/core/bodySerializer.gen.d.ts.map +1 -0
  27. package/dist/core/bodySerializer.gen.js +58 -0
  28. package/dist/core/bodySerializer.gen.js.map +1 -0
  29. package/dist/core/params.gen.d.ts +34 -0
  30. package/dist/core/params.gen.d.ts.map +1 -0
  31. package/dist/core/params.gen.js +89 -0
  32. package/dist/core/params.gen.js.map +1 -0
  33. package/dist/core/pathSerializer.gen.d.ts +34 -0
  34. package/dist/core/pathSerializer.gen.d.ts.map +1 -0
  35. package/dist/core/pathSerializer.gen.js +115 -0
  36. package/dist/core/pathSerializer.gen.js.map +1 -0
  37. package/dist/core/queryKeySerializer.gen.d.ts +19 -0
  38. package/dist/core/queryKeySerializer.gen.d.ts.map +1 -0
  39. package/dist/core/queryKeySerializer.gen.js +100 -0
  40. package/dist/core/queryKeySerializer.gen.js.map +1 -0
  41. package/dist/core/serverSentEvents.gen.d.ts +72 -0
  42. package/dist/core/serverSentEvents.gen.d.ts.map +1 -0
  43. package/dist/core/serverSentEvents.gen.js +136 -0
  44. package/dist/core/serverSentEvents.gen.js.map +1 -0
  45. package/dist/core/types.gen.d.ts +79 -0
  46. package/dist/core/types.gen.d.ts.map +1 -0
  47. package/dist/core/types.gen.js +3 -0
  48. package/dist/core/types.gen.js.map +1 -0
  49. package/dist/core/utils.gen.d.ts +20 -0
  50. package/dist/core/utils.gen.d.ts.map +1 -0
  51. package/dist/core/utils.gen.js +88 -0
  52. package/dist/core/utils.gen.js.map +1 -0
  53. package/dist/index.d.ts +3 -0
  54. package/dist/index.d.ts.map +1 -1
  55. package/dist/index.js +3 -0
  56. package/dist/index.js.map +1 -1
  57. package/dist/schemas.gen.d.ts +521 -672
  58. package/dist/schemas.gen.d.ts.map +1 -1
  59. package/dist/schemas.gen.js +524 -671
  60. package/dist/schemas.gen.js.map +1 -1
  61. package/dist/sdk.gen.d.ts +146 -140
  62. package/dist/sdk.gen.d.ts.map +1 -1
  63. package/dist/sdk.gen.js +204 -138
  64. package/dist/sdk.gen.js.map +1 -1
  65. package/dist/services/kubernetes/api.d.ts +196 -0
  66. package/dist/services/kubernetes/api.d.ts.map +1 -0
  67. package/dist/services/kubernetes/api.js +140 -0
  68. package/dist/services/kubernetes/api.js.map +1 -0
  69. package/dist/services/kubernetes/index.d.ts +44 -0
  70. package/dist/services/kubernetes/index.d.ts.map +1 -0
  71. package/dist/services/kubernetes/index.js +68 -0
  72. package/dist/services/kubernetes/index.js.map +1 -0
  73. package/dist/services/kubernetes/types.d.ts +1335 -0
  74. package/dist/services/kubernetes/types.d.ts.map +1 -0
  75. package/dist/services/kubernetes/types.js +2 -0
  76. package/dist/services/kubernetes/types.js.map +1 -0
  77. package/dist/types.gen.d.ts +520 -740
  78. package/dist/types.gen.d.ts.map +1 -1
  79. package/dist/zod.gen.d.ts +2816 -2743
  80. package/dist/zod.gen.d.ts.map +1 -1
  81. package/dist/zod.gen.js +889 -347
  82. package/dist/zod.gen.js.map +1 -1
  83. package/package.json +8 -5
@@ -1,16 +1,185 @@
1
- export type ClusterCreateInput = {
1
+ export type ClientOptions = {
2
+ baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
3
+ };
4
+ export type BillingContact = {
2
5
  /**
3
- * Name of the cluster.
6
+ * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
7
+ */
8
+ company?: string;
9
+ /**
10
+ * Street address, P.O. box, c/o
11
+ */
12
+ address1?: string;
13
+ /**
14
+ * Apartment, suite, unit, building, floor, etc.
15
+ */
16
+ address2?: string;
17
+ /**
18
+ * Postal code as a string.
19
+ */
20
+ postalCode?: string;
21
+ /**
22
+ * City or town name.
23
+ */
24
+ city?: string;
25
+ /**
26
+ * State, province, or region name.
27
+ */
28
+ state?: string;
29
+ /**
30
+ * Country as a ISO 3166-1 alpha-2 country code.
31
+ */
32
+ country?: string;
33
+ /**
34
+ * Phone number as a string.
35
+ */
36
+ phone?: string;
37
+ /**
38
+ * Email address used for billing as a string.
39
+ */
40
+ email: string;
41
+ /**
42
+ * First name of the billing contact person.
43
+ */
44
+ first_name: string;
45
+ /**
46
+ * Last name of the billing contact person.
47
+ */
48
+ last_name: string;
49
+ /**
50
+ * Tax ID of the organization.
51
+ */
52
+ tax_id?: string;
53
+ /**
54
+ * Type of the tax ID.
55
+ */
56
+ tax_id_type?: 'ad_nrt' | 'ae_trn' | 'al_tin' | 'am_tin' | 'ao_tin' | 'ar_cuit' | 'at_vat' | 'au_abn' | 'au_arn' | 'ba_tin' | 'bb_tin' | 'be_vat' | 'bg_uic' | 'bg_vat' | 'bh_vat' | 'bo_tin' | 'br_cnpj' | 'br_cpf' | 'bs_tin' | 'by_tin' | 'ca_bn' | 'ca_gst_hst' | 'ca_pst_bc' | 'ca_pst_mb' | 'ca_pst_sk' | 'ca_qst' | 'cd_nif' | 'ch_uid' | 'ch_vat' | 'cl_tin' | 'cn_tin' | 'co_nit' | 'cr_tin' | 'cy_vat' | 'cz_vat' | 'de_stn' | 'de_vat' | 'dk_vat' | 'do_rcn' | 'ec_ruc' | 'ee_vat' | 'eg_tin' | 'es_cif' | 'es_vat' | 'eu_oss_vat' | 'fi_vat' | 'fr_vat' | 'gb_vat' | 'ge_vat' | 'gn_nif' | 'gr_vat' | 'hk_br' | 'hr_oib' | 'hr_vat' | 'hu_tin' | 'hu_vat' | 'id_npwp' | 'ie_vat' | 'il_vat' | 'in_gst' | 'is_vat' | 'it_vat' | 'jp_cn' | 'jp_rn' | 'jp_trn' | 'ke_pin' | 'kh_tin' | 'kr_brn' | 'kz_bin' | 'li_uid' | 'li_vat' | 'lt_vat' | 'lu_vat' | 'lv_vat' | 'ma_vat' | 'md_vat' | 'me_pib' | 'mk_vat' | 'mr_nif' | 'mt_vat' | 'mx_rfc' | 'my_frp' | 'my_itn' | 'my_sst' | 'ng_tin' | 'nl_vat' | 'no_vat' | 'no_voec' | 'np_pan' | 'nz_gst' | 'om_vat' | 'pe_ruc' | 'ph_tin' | 'pl_vat' | 'pt_vat' | 'ro_tin' | 'ro_vat' | 'rs_pib' | 'ru_inn' | 'ru_kpp' | 'sa_vat' | 'se_vat' | 'sg_gst' | 'sg_uen' | 'si_tin' | 'si_vat' | 'sk_vat' | 'sn_ninea' | 'sr_fin' | 'sv_nit' | 'th_vat' | 'tj_tin' | 'tr_tin' | 'tw_vat' | 'tz_vat' | 'ua_vat' | 'ug_tin' | 'us_ein' | 'uy_ruc' | 'uz_tin' | 'uz_vat' | 've_rif' | 'vn_tin' | 'xi_vat' | 'za_vat' | 'zm_tin' | 'zw_tin' | '';
57
+ };
58
+ export type BillingCredits = {
59
+ /**
60
+ * Generated unique identifier of the promotional code.
61
+ */
62
+ id?: string;
63
+ /**
64
+ * Date of the credit application. ISO 8601 date string in the UTC timezone.
65
+ */
66
+ date_created: string;
67
+ /**
68
+ * Promotional code used by the customer.
69
+ */
70
+ code: string;
71
+ /**
72
+ * Description of the promotional code.
73
+ */
74
+ description?: string;
75
+ /**
76
+ * List of product SKUs that the promotional code can be used on.
77
+ */
78
+ products?: Array<string>;
79
+ /**
80
+ * Type of the promotional code.
81
+ */
82
+ type: 'credit' | 'discount';
83
+ /**
84
+ * Value of the promotional code.
85
+ */
86
+ value: number;
87
+ /**
88
+ * Date of the billing cycle. An ISO 8601 date string in the UTC timezone.
89
+ */
90
+ billing_period: string;
91
+ /**
92
+ * Value of the promotional code.
93
+ */
94
+ value_remaining?: number;
95
+ };
96
+ export type ChartCreateInput = {
97
+ /**
98
+ * Values to be used in the chart encoded as a JSON string.
99
+ */
100
+ values: string;
101
+ /**
102
+ * Desired version range or channel for the chart.
103
+ */
104
+ version_channel: string;
105
+ /**
106
+ * Unique identifier of the chart deployment aka name of the helm release.
4
107
  */
5
108
  name: string;
6
109
  /**
7
- * Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.
110
+ * Namespace of the chart deployment
111
+ */
112
+ namespace: string;
113
+ /**
114
+ * Name of the chart listing
115
+ */
116
+ chart: string;
117
+ };
118
+ export type Chart = {
119
+ /**
120
+ * Values to be used in the chart encoded as a JSON string.
121
+ */
122
+ values: string;
123
+ /**
124
+ * Desired version range or channel for the chart.
125
+ */
126
+ version_channel: string;
127
+ /**
128
+ * Unique identifier of the chart deployment aka name of the helm release.
129
+ */
130
+ name: string;
131
+ /**
132
+ * Namespace of the chart deployment
133
+ */
134
+ namespace: string;
135
+ /**
136
+ * Name of the chart listing
137
+ */
138
+ chart: string;
139
+ /**
140
+ * Status of the chart deployment.
8
141
  */
9
- region?: 'staging' | 'northamerica-central-1';
142
+ status: 'InstallSucceeded' | 'InstallFailed' | 'UpgradeSucceeded' | 'UpgradeFailed' | 'TestSucceeded' | 'TestFailed' | 'RollbackSucceeded' | 'RollbackFailed' | 'UninstallSucceeded' | 'UninstallFailed' | 'ArtifactFailed' | 'DependencyNotReady' | 'Progressing' | 'SourceNotReady';
143
+ /**
144
+ * Current version of the chart deployment.
145
+ */
146
+ version_current: string;
147
+ /**
148
+ * Creation date and time of the chart deployment.
149
+ */
150
+ created_at: string;
151
+ /**
152
+ * Last update date and time of the chart deployment.
153
+ */
154
+ updated_at: string;
155
+ /**
156
+ * Indicates if the chart deployment is ready to be used.
157
+ */
158
+ ready: boolean;
159
+ };
160
+ export type ChartUpdateInput = {
161
+ /**
162
+ * Values to be used in the chart encoded as a JSON string.
163
+ */
164
+ values: string;
165
+ /**
166
+ * Desired version range or channel for the chart.
167
+ */
168
+ version_channel: string;
169
+ };
170
+ export type ClusterCreateInput = {
171
+ /**
172
+ * Name of the cluster.
173
+ */
174
+ name: string;
10
175
  /**
11
176
  * Tier of the cluster.
12
177
  */
13
178
  tier: 'basic' | 'pro';
179
+ /**
180
+ * Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
181
+ */
182
+ region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
14
183
  /**
15
184
  * Version of the kubernetes cluster.
16
185
  */
@@ -49,6 +218,27 @@ export type ClusterJoinInformation = {
49
218
  * Containerd version of the cluster.
50
219
  */
51
220
  containerd: string;
221
+ /**
222
+ * NVIDIA driver version of the cluster.
223
+ */
224
+ nvidia_driver: string;
225
+ };
226
+ /**
227
+ * OIDC Information for hosts to access to third party API's.
228
+ */
229
+ third_party_api_access_config: {
230
+ /**
231
+ * Kubernetes metadata server.
232
+ */
233
+ metadata_url: string;
234
+ /**
235
+ * AWS Role ARN.
236
+ */
237
+ aws_role_arn: string;
238
+ /**
239
+ * GCP Workload Identity provider.
240
+ */
241
+ gcp_workload_identity_provider: string;
52
242
  };
53
243
  };
54
244
  export type Cluster = {
@@ -56,14 +246,14 @@ export type Cluster = {
56
246
  * Name of the cluster.
57
247
  */
58
248
  name: string;
59
- /**
60
- * Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.
61
- */
62
- region?: 'staging' | 'northamerica-central-1';
63
249
  /**
64
250
  * Tier of the cluster.
65
251
  */
66
252
  tier: 'basic' | 'pro';
253
+ /**
254
+ * Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
255
+ */
256
+ region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
67
257
  /**
68
258
  * Version of the kubernetes cluster.
69
259
  */
@@ -103,6 +293,10 @@ export type ClusterUpdateInput = {
103
293
  * Name of the cluster.
104
294
  */
105
295
  name?: string;
296
+ /**
297
+ * Tier of the cluster.
298
+ */
299
+ tier: 'basic' | 'pro';
106
300
  /**
107
301
  * Version of the kubernetes cluster.
108
302
  */
@@ -127,10 +321,10 @@ export type FleetCreateInput = {
127
321
  };
128
322
  hetzner?: {
129
323
  enabled?: boolean;
130
- apiKey?: string;
131
- } | {
132
- apiKey?: string;
133
- enabled?: boolean;
324
+ /**
325
+ * Hetzner Cloud API key with read / write access
326
+ */
327
+ apiKey: string;
134
328
  };
135
329
  aws?: {
136
330
  enabled?: boolean;
@@ -143,10 +337,6 @@ export type FleetCreateInput = {
143
337
  * Unique identifier of the kubernetes fleet.
144
338
  */
145
339
  id: string;
146
- /**
147
- * Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.
148
- */
149
- type: 'managed' | 'connected';
150
340
  };
151
341
  export type Fleet = {
152
342
  /**
@@ -167,10 +357,10 @@ export type Fleet = {
167
357
  };
168
358
  hetzner?: {
169
359
  enabled?: boolean;
170
- apiKey?: string;
171
- } | {
172
- apiKey?: string;
173
- enabled?: boolean;
360
+ /**
361
+ * Hetzner Cloud API key with read / write access
362
+ */
363
+ apiKey: string;
174
364
  };
175
365
  aws?: {
176
366
  enabled?: boolean;
@@ -183,10 +373,6 @@ export type Fleet = {
183
373
  * Unique identifier of the kubernetes fleet.
184
374
  */
185
375
  id: string;
186
- /**
187
- * Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.
188
- */
189
- type: 'managed' | 'connected';
190
376
  };
191
377
  export type FleetUpdateInput = {
192
378
  /**
@@ -207,10 +393,10 @@ export type FleetUpdateInput = {
207
393
  };
208
394
  hetzner?: {
209
395
  enabled?: boolean;
210
- apiKey?: string;
211
- } | {
212
- apiKey?: string;
213
- enabled?: boolean;
396
+ /**
397
+ * Hetzner Cloud API key with read / write access
398
+ */
399
+ apiKey: string;
214
400
  };
215
401
  aws?: {
216
402
  enabled?: boolean;
@@ -220,178 +406,6 @@ export type FleetUpdateInput = {
220
406
  controllerRoleArn: string;
221
407
  };
222
408
  };
223
- export type InfrastructureFilter = {
224
- /**
225
- * Version of the infrastructure filter definition. Currently only version 1 is supported.
226
- */
227
- version?: 1;
228
- /**
229
- * Limit selection of cloud providers to this list. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
230
- */
231
- provider?: Array<string>;
232
- /**
233
- * 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/)
234
- */
235
- region?: Array<string>;
236
- /**
237
- * 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/)
238
- */
239
- sub_region?: Array<string>;
240
- /**
241
- * Limits selection of cloud regions to this list of canonical provider regions
242
- */
243
- csp_region?: Array<string>;
244
- /**
245
- * Limits selection of instance types to this list. Instance / VM type as defined by the cloud service provider
246
- */
247
- instance_type?: Array<string>;
248
- /**
249
- * 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
250
- */
251
- accelerator_name?: Array<string>;
252
- /**
253
- * List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
254
- */
255
- accelerator_manufacturer?: Array<string>;
256
- /**
257
- * 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.
258
- */
259
- accelerator_count_min?: number;
260
- /**
261
- * 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.
262
- */
263
- accelerator_count_max?: number;
264
- /**
265
- * 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
266
- */
267
- accelerator_memory_min?: number;
268
- /**
269
- * 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
270
- */
271
- accelerator_memory_max?: number;
272
- /**
273
- * Minimum amount of RAM in gibibytes (GiB)
274
- */
275
- memory_min?: number;
276
- /**
277
- * Maximum amount of RAM in gibibytes (GiB)
278
- */
279
- memory_max?: number;
280
- /**
281
- * 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.
282
- */
283
- vcpu_min?: number;
284
- /**
285
- * 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.
286
- */
287
- vcpu_max?: number;
288
- /**
289
- * Minimum total storage in GiB (attached and local)
290
- */
291
- storage_total_min?: number;
292
- /**
293
- * Maximum total storage in GiB (attached and local)
294
- */
295
- storage_total_max?: number;
296
- /**
297
- * Minimum volume of directly attached, block-device local storage in gibibytes (GiB)
298
- */
299
- storage_local_min?: number;
300
- /**
301
- * Maximum volume of directly attached, block-device local storage in gibibytes (GiB)
302
- */
303
- storage_local_max?: number;
304
- /**
305
- * Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
306
- */
307
- price_min?: number;
308
- /**
309
- * Maximum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
310
- */
311
- price_max?: number;
312
- };
313
- export type InfrastructureInstance = {
314
- /**
315
- * Cloudfleet instance SKU. Has a format of <provider>-<csp_region>-<instance_type>.
316
- */
317
- sku: string;
318
- /**
319
- * Normalized cloud service provider name. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
320
- */
321
- provider: string;
322
- /**
323
- * 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/)
324
- */
325
- region: string;
326
- /**
327
- * 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/)
328
- */
329
- sub_region: string;
330
- /**
331
- * Region as defined by the cloud service provider
332
- */
333
- csp_region: string;
334
- /**
335
- * Availability zone as defined by the cloud service provider
336
- */
337
- csp_zone: string;
338
- /**
339
- * Instance / VM type as defined by the cloud service provider
340
- */
341
- instance_type: string;
342
- /**
343
- * Instance CPU architecture
344
- */
345
- architecture: string;
346
- /**
347
- * Instance operating system
348
- */
349
- os: string;
350
- /**
351
- * 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.
352
- */
353
- vcpu: number;
354
- /**
355
- * Total amount of RAM in gibibytes (GiB)
356
- */
357
- memory: number;
358
- /**
359
- * Volume of directly attached, block-device local storage in gibibytes (GiB)
360
- */
361
- local_storage: number;
362
- /**
363
- * 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
364
- */
365
- accelerator_name?: string;
366
- /**
367
- * Normalized manufacturer name of accelerator. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
368
- */
369
- accelerator_manufacturer?: string;
370
- /**
371
- * 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.
372
- */
373
- accelerator_count?: number;
374
- /**
375
- * 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
376
- */
377
- accelerator_memory?: number;
378
- /**
379
- * Maximum number of pods that can be run on this instance type.
380
- */
381
- pods_capacity?: number;
382
- /**
383
- * Capacity type of the instance. E.g. `on-demand`, `spot`.
384
- */
385
- capacity_type?: string;
386
- /**
387
- * Price of running the inctance per hour in USD as defined by the cloud service provider
388
- */
389
- price: number;
390
- /**
391
- * Whether this instance type is available.
392
- */
393
- available?: boolean;
394
- };
395
409
  export type Invite = {
396
410
  /**
397
411
  * Unique identifier of the invitation.
@@ -646,35 +660,52 @@ export type Invoice = {
646
660
  } | string>;
647
661
  }>;
648
662
  };
649
- export type OrganizationContactInfo = {
663
+ export type MarketplaceListing = {
650
664
  /**
651
- * Street address, P.O. box, c/o
665
+ * Id of the chart listing
652
666
  */
653
- address1?: string;
667
+ id: string;
654
668
  /**
655
- * Apartment, suite, unit, building, floor, etc.
669
+ * Name of the chart listing
656
670
  */
657
- address2?: string;
671
+ name: string;
658
672
  /**
659
- * Postal code as a string.
673
+ * Author of the chart listing
660
674
  */
661
- postalCode?: string;
675
+ developer: string;
662
676
  /**
663
- * City or town name.
677
+ * Short description of the chart listing
664
678
  */
665
- city?: string;
679
+ description: string;
666
680
  /**
667
- * State, province, or region name.
681
+ * Logo of the chart listing
668
682
  */
669
- state?: string;
683
+ logoUrl: string;
670
684
  /**
671
- * Country as a ISO 3166-1 alpha-2 country code.
685
+ * Long description of the chart listing
672
686
  */
673
- country?: string;
687
+ longDescription: string;
674
688
  /**
675
- * Phone number as a string.
689
+ * Tags of the chart
676
690
  */
677
- phone?: string;
691
+ categories: Array<string>;
692
+ version_channels: Array<string>;
693
+ value_schemas: Array<{
694
+ /**
695
+ * Version of the chart.
696
+ */
697
+ version: string;
698
+ /**
699
+ * Schema of the chart values. JSON Schema as string
700
+ */
701
+ schema: string;
702
+ /**
703
+ * Schema of the chart values
704
+ */
705
+ placeholder: string;
706
+ }>;
707
+ };
708
+ export type OrganizationCreateInput = {
678
709
  /**
679
710
  * Email address used for billing as a string.
680
711
  */
@@ -687,116 +718,24 @@ export type OrganizationContactInfo = {
687
718
  * Last name of the billing contact person.
688
719
  */
689
720
  last_name: string;
690
- };
691
- export type OrganizationCreateInput = {
692
721
  /**
693
722
  * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
694
723
  */
695
- name: string;
696
- /**
697
- * Organization contact information and billing address.
698
- */
699
- contactInfo: {
700
- /**
701
- * Street address, P.O. box, c/o
702
- */
703
- address1?: string;
704
- /**
705
- * Apartment, suite, unit, building, floor, etc.
706
- */
707
- address2?: string;
708
- /**
709
- * Postal code as a string.
710
- */
711
- postalCode?: string;
712
- /**
713
- * City or town name.
714
- */
715
- city?: string;
716
- /**
717
- * State, province, or region name.
718
- */
719
- state?: string;
720
- /**
721
- * Country as a ISO 3166-1 alpha-2 country code.
722
- */
723
- country?: string;
724
- /**
725
- * Phone number as a string.
726
- */
727
- phone?: string;
728
- /**
729
- * Email address used for billing as a string.
730
- */
731
- email: string;
732
- /**
733
- * First name of the billing contact person.
734
- */
735
- first_name: string;
736
- /**
737
- * Last name of the billing contact person.
738
- */
739
- last_name: string;
740
- };
724
+ company_name: string;
741
725
  /**
742
726
  * Password for the root account. Must be at least 8 characters long and contain at least one uppercase letter, one lowercase letter, one number and one special character.
743
727
  */
744
728
  password: string;
745
729
  };
746
730
  export type Organization = {
747
- /**
748
- * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
749
- */
750
- name: string;
751
- /**
752
- * Organization contact information and billing address.
753
- */
754
- contactInfo: {
755
- /**
756
- * Street address, P.O. box, c/o
757
- */
758
- address1?: string;
759
- /**
760
- * Apartment, suite, unit, building, floor, etc.
761
- */
762
- address2?: string;
763
- /**
764
- * Postal code as a string.
765
- */
766
- postalCode?: string;
767
- /**
768
- * City or town name.
769
- */
770
- city?: string;
771
- /**
772
- * State, province, or region name.
773
- */
774
- state?: string;
775
- /**
776
- * Country as a ISO 3166-1 alpha-2 country code.
777
- */
778
- country?: string;
779
- /**
780
- * Phone number as a string.
781
- */
782
- phone?: string;
783
- /**
784
- * Email address used for billing as a string.
785
- */
786
- email: string;
787
- /**
788
- * First name of the billing contact person.
789
- */
790
- first_name: string;
791
- /**
792
- * Last name of the billing contact person.
793
- */
794
- last_name: string;
795
- };
796
731
  /**
797
732
  * Unique identifier of the organization. UUID v4 string in canonical form
798
733
  */
799
734
  id: string;
735
+ /**
736
+ * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
737
+ */
738
+ name?: string;
800
739
  /**
801
740
  * Creation date of the organization. ISO 8601 date string in UTC timezone
802
741
  */
@@ -825,10 +764,6 @@ export type Organization = {
825
764
  * Maximum number of fleets that can be created per cluster.
826
765
  */
827
766
  fleets_max: number;
828
- /**
829
- * Maximum number of CPU cores per managed fleet.
830
- */
831
- managed_fleets_cpu_max: number;
832
767
  /**
833
768
  * List of Cloudfleet cluster tiers available for the organization.
834
769
  */
@@ -851,66 +786,11 @@ export type Organization = {
851
786
  label: string;
852
787
  }>;
853
788
  };
854
- /**
855
- * List of pending actions that the user needs to complete. Used in Cloudfleet console to guide the user through the onboarding process.
856
- */
857
- pending_actions: Array<'signup-billing-address' | 'signup-payment-method' | 'signup-invite-team' | 'signup-create-cluster'>;
858
789
  /**
859
790
  * Status of the organization. Can be `active` or `closed`, or `suspended`.
860
791
  */
861
792
  status: 'active' | 'closed' | 'suspended';
862
793
  };
863
- export type OrganizationUpdateInput = {
864
- /**
865
- * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
866
- */
867
- name?: string;
868
- /**
869
- * Organization contact information and billing address.
870
- */
871
- contactInfo: {
872
- /**
873
- * Street address, P.O. box, c/o
874
- */
875
- address1?: string;
876
- /**
877
- * Apartment, suite, unit, building, floor, etc.
878
- */
879
- address2?: string;
880
- /**
881
- * Postal code as a string.
882
- */
883
- postalCode?: string;
884
- /**
885
- * City or town name.
886
- */
887
- city?: string;
888
- /**
889
- * State, province, or region name.
890
- */
891
- state?: string;
892
- /**
893
- * Country as a ISO 3166-1 alpha-2 country code.
894
- */
895
- country?: string;
896
- /**
897
- * Phone number as a string.
898
- */
899
- phone?: string;
900
- /**
901
- * Email address used for billing as a string.
902
- */
903
- email: string;
904
- /**
905
- * First name of the billing contact person.
906
- */
907
- first_name: string;
908
- /**
909
- * Last name of the billing contact person.
910
- */
911
- last_name: string;
912
- };
913
- };
914
794
  export type PaymentMethod = {
915
795
  /**
916
796
  * Unique identifier of the organization. UUID v4 string in canonical form.
@@ -985,18 +865,33 @@ export type TokenUpdateInput = {
985
865
  };
986
866
  export type Usage = {
987
867
  /**
988
- * Unique identifier of the Usage object, equal to subscription id of the task . UUID v4 string in canonical form
868
+ * Hour of the usage
989
869
  */
990
- id: string;
870
+ hour?: string;
871
+ /**
872
+ * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
873
+ */
874
+ cluster_id: string;
991
875
  /**
992
- * Unique identifier of the project. UUID v4 string in canonical form
876
+ * Tier of the cluster.
877
+ */
878
+ cluster_tier: 'basic' | 'pro' | '';
879
+ /**
880
+ * The product the usage is associated with
881
+ */
882
+ product: 'cfke_controlplane' | 'cfke_connected_nodes' | 'infra_compute' | 'infra_storage' | 'infra_loadbalancing' | 'infra_traffic' | 'cfcr_storage';
883
+ /**
884
+ * Name of the Kubernetes node
993
885
  */
994
- task_id: string;
886
+ node_name: string;
995
887
  /**
996
- * Unit of measurement. E.g. GiB, seconds, etc
888
+ * SKU of the Kubernetes node
997
889
  */
998
- unit: string;
999
- amount: number;
890
+ sku: string;
891
+ cpu: number | '';
892
+ price: number | '';
893
+ value: number | '';
894
+ total: number | '';
1000
895
  };
1001
896
  export type UserCreateInput = {
1002
897
  /**
@@ -1016,7 +911,7 @@ export type UserCreateInput = {
1016
911
  */
1017
912
  code: string;
1018
913
  /**
1019
- * User password. Must be at least 8 characters long and contain at least one uppercase letter, one lowercase letter, one number and one special character.
914
+ * User password. Must be at least 8 characters long.
1020
915
  */
1021
916
  password: string;
1022
917
  /**
@@ -1057,16 +952,6 @@ export type User = {
1057
952
  * Creation date of the user. ISO 8601 date string in UTC timezone
1058
953
  */
1059
954
  date_created: string;
1060
- cluster_permissions?: Array<{
1061
- /**
1062
- * Unique identifier of the cluster. UUID v4 string in canonical form
1063
- */
1064
- cluster_id: string;
1065
- /**
1066
- * User permissions to access the cluster. Can be `readwrite` or `readonly`.
1067
- */
1068
- permissions: 'readwrite' | 'readonly';
1069
- }>;
1070
955
  };
1071
956
  export type UserUpdateInput = {
1072
957
  /**
@@ -1093,16 +978,7 @@ export type UserUpdateInput = {
1093
978
  export type GetUsageData = {
1094
979
  body?: never;
1095
980
  path?: never;
1096
- query: {
1097
- /**
1098
- * Start date for the usage. Date of oldest data point to retrieve.
1099
- */
1100
- start_date: string;
1101
- /**
1102
- * End date for the usage. Date of newest data point to retrieve.
1103
- */
1104
- end_date: string;
1105
- };
981
+ query?: never;
1106
982
  url: '/billing/usage';
1107
983
  };
1108
984
  export type GetUsageErrors = {
@@ -1163,60 +1039,236 @@ export type GetPaymentMethodSecretResponses = {
1163
1039
  */
1164
1040
  200: {
1165
1041
  /**
1166
- * The client secret.
1042
+ * The client secret.
1043
+ */
1044
+ id?: string;
1045
+ };
1046
+ };
1047
+ export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
1048
+ export type ListInvoicesData = {
1049
+ body?: never;
1050
+ path?: never;
1051
+ query: {
1052
+ /**
1053
+ * Start date for the usage. Date of oldest data point to retrieve.
1054
+ */
1055
+ start_date: string;
1056
+ /**
1057
+ * End date for the usage. Date of newest data point to retrieve.
1058
+ */
1059
+ end_date: string;
1060
+ };
1061
+ url: '/billing/invoices';
1062
+ };
1063
+ export type ListInvoicesErrors = {
1064
+ /**
1065
+ * Not authenticated
1066
+ */
1067
+ 401: unknown;
1068
+ };
1069
+ export type ListInvoicesResponses = {
1070
+ /**
1071
+ * An array of usage records.
1072
+ */
1073
+ 200: Array<Invoice>;
1074
+ };
1075
+ export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
1076
+ export type GetInvoiceData = {
1077
+ body?: never;
1078
+ path: {
1079
+ /**
1080
+ * Unique invoice identifier. UUID v4 string in canonical form
1081
+ */
1082
+ id: string;
1083
+ };
1084
+ query?: never;
1085
+ url: '/billing/invoices/{id}';
1086
+ };
1087
+ export type GetInvoiceResponses = {
1088
+ /**
1089
+ * Returns a single Invoice HTML representation under `html` property.
1090
+ */
1091
+ 200: {
1092
+ html?: string;
1093
+ };
1094
+ };
1095
+ export type GetInvoiceResponse = GetInvoiceResponses[keyof GetInvoiceResponses];
1096
+ export type GetContactData = {
1097
+ body?: never;
1098
+ path?: never;
1099
+ query?: never;
1100
+ url: '/billing/contact';
1101
+ };
1102
+ export type GetContactResponses = {
1103
+ /**
1104
+ * Returns a single object containing organization contact and billing address details.
1105
+ */
1106
+ 200: BillingContact;
1107
+ };
1108
+ export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
1109
+ export type UpdateContactData = {
1110
+ body: BillingContact;
1111
+ path?: never;
1112
+ query?: never;
1113
+ url: '/billing/contact';
1114
+ };
1115
+ export type UpdateContactResponses = {
1116
+ /**
1117
+ * Successfully updated. Returns updated organization details.
1118
+ */
1119
+ 200: BillingContact;
1120
+ };
1121
+ export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
1122
+ export type GetCreditsData = {
1123
+ body?: never;
1124
+ path?: never;
1125
+ query?: never;
1126
+ url: '/billing/credits';
1127
+ };
1128
+ export type GetCreditsErrors = {
1129
+ /**
1130
+ * Not authenticated
1131
+ */
1132
+ 401: unknown;
1133
+ };
1134
+ export type GetCreditsResponses = {
1135
+ /**
1136
+ * An array of the applied promotional credits records.
1137
+ */
1138
+ 200: Array<BillingCredits>;
1139
+ };
1140
+ export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
1141
+ export type RedeemCreditsData = {
1142
+ body: {
1143
+ /**
1144
+ * Promotional code to redeem
1145
+ */
1146
+ code?: string;
1147
+ };
1148
+ path?: never;
1149
+ query?: never;
1150
+ url: '/billing/credits';
1151
+ };
1152
+ export type RedeemCreditsErrors = {
1153
+ /**
1154
+ * Not authenticated
1155
+ */
1156
+ 401: unknown;
1157
+ };
1158
+ export type RedeemCreditsResponses = {
1159
+ /**
1160
+ * Successfully created a new organization.
1161
+ */
1162
+ 200: unknown;
1163
+ };
1164
+ export type ListChartsData = {
1165
+ body?: never;
1166
+ path: {
1167
+ /**
1168
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1169
+ */
1170
+ cluster_id: string;
1171
+ };
1172
+ query?: never;
1173
+ url: '/clusters/{cluster_id}/charts';
1174
+ };
1175
+ export type ListChartsErrors = {
1176
+ /**
1177
+ * Not authenticated
1178
+ */
1179
+ 401: unknown;
1180
+ };
1181
+ export type ListChartsResponses = {
1182
+ /**
1183
+ * An array of charts
1184
+ */
1185
+ 200: Array<Chart>;
1186
+ };
1187
+ export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
1188
+ export type CreateChartData = {
1189
+ body: ChartCreateInput;
1190
+ path: {
1191
+ /**
1192
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1167
1193
  */
1168
- id?: string;
1194
+ cluster_id: string;
1169
1195
  };
1196
+ query?: never;
1197
+ url: '/clusters/{cluster_id}/charts';
1170
1198
  };
1171
- export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
1172
- export type ListInvoicesData = {
1199
+ export type CreateChartResponses = {
1200
+ /**
1201
+ * Successfully created. Returns created Chart ID.
1202
+ */
1203
+ 200: string;
1204
+ };
1205
+ export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
1206
+ export type DeleteChartData = {
1173
1207
  body?: never;
1174
- path?: never;
1175
- query: {
1208
+ path: {
1176
1209
  /**
1177
- * Start date for the usage. Date of oldest data point to retrieve.
1210
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1178
1211
  */
1179
- start_date: string;
1212
+ cluster_id: string;
1180
1213
  /**
1181
- * End date for the usage. Date of newest data point to retrieve.
1214
+ * Chart deployment name as the unique identifier of the chart.
1182
1215
  */
1183
- end_date: string;
1216
+ chart_name: string;
1184
1217
  };
1185
- url: '/billing/invoices';
1218
+ query?: never;
1219
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
1186
1220
  };
1187
- export type ListInvoicesErrors = {
1221
+ export type DeleteChartResponses = {
1188
1222
  /**
1189
- * Not authenticated
1223
+ * Successfully deleted.
1190
1224
  */
1191
- 401: unknown;
1225
+ 200: string;
1192
1226
  };
1193
- export type ListInvoicesResponses = {
1227
+ export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
1228
+ export type GetChartData = {
1229
+ body?: never;
1230
+ path: {
1231
+ /**
1232
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1233
+ */
1234
+ cluster_id: string;
1235
+ /**
1236
+ * Chart deployment name as the unique identifier of the chart.
1237
+ */
1238
+ chart_name: string;
1239
+ };
1240
+ query?: never;
1241
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
1242
+ };
1243
+ export type GetChartResponses = {
1194
1244
  /**
1195
- * An array of usage records.
1245
+ * Returns a single object containing chart details.
1196
1246
  */
1197
- 200: Array<Invoice>;
1247
+ 200: Chart;
1198
1248
  };
1199
- export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
1200
- export type GetInvoiceData = {
1201
- body?: never;
1249
+ export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
1250
+ export type UpdateChartData = {
1251
+ body: ChartUpdateInput;
1202
1252
  path: {
1203
1253
  /**
1204
- * Unique invoice identifier. UUID v4 string in canonical form
1254
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1205
1255
  */
1206
- id: string;
1256
+ cluster_id: string;
1257
+ /**
1258
+ * Chart deployment name as the unique identifier of the chart.
1259
+ */
1260
+ chart_name: string;
1207
1261
  };
1208
1262
  query?: never;
1209
- url: '/billing/invoices/{id}';
1263
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
1210
1264
  };
1211
- export type GetInvoiceResponses = {
1265
+ export type UpdateChartResponses = {
1212
1266
  /**
1213
- * Returns a single Invoice HTML representation under `html` property.
1267
+ * Successfully updated.
1214
1268
  */
1215
- 200: {
1216
- html?: string;
1217
- };
1269
+ 200: string;
1218
1270
  };
1219
- export type GetInvoiceResponse = GetInvoiceResponses[keyof GetInvoiceResponses];
1271
+ export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
1220
1272
  export type ListFleetsData = {
1221
1273
  body?: never;
1222
1274
  path: {
@@ -1476,255 +1528,9 @@ export type GetJoinInformationResponses = {
1476
1528
  /**
1477
1529
  * An object of cluster join information
1478
1530
  */
1479
- 200: Cluster;
1531
+ 200: ClusterJoinInformation;
1480
1532
  };
1481
1533
  export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
1482
- export type GetInfrastructureData = {
1483
- body?: never;
1484
- path?: never;
1485
- query?: {
1486
- /**
1487
- * Version of the task definition. Currently only version 1 is supported.
1488
- */
1489
- version?: 1;
1490
- /**
1491
- * Limit selection of cloud providers to this list. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
1492
- */
1493
- provider?: Array<string>;
1494
- /**
1495
- * 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/)
1496
- */
1497
- region?: Array<string>;
1498
- /**
1499
- * 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/)
1500
- */
1501
- sub_region?: Array<string>;
1502
- /**
1503
- * Limits selection of cloud regions to this list of canonical provider regions
1504
- */
1505
- csp_region?: Array<string>;
1506
- /**
1507
- * Limits selection of instance types to this list. Instance / VM type as defined by the cloud service provider
1508
- */
1509
- instance_type?: Array<string>;
1510
- /**
1511
- * 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
1512
- */
1513
- accelerator_name?: Array<string>;
1514
- /**
1515
- * List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
1516
- */
1517
- accelerator_manufacturer?: Array<string>;
1518
- /**
1519
- * 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.
1520
- */
1521
- accelerator_count_min?: number;
1522
- /**
1523
- * 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.
1524
- */
1525
- accelerator_count_max?: number;
1526
- /**
1527
- * 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
1528
- */
1529
- accelerator_memory_min?: number;
1530
- /**
1531
- * 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
1532
- */
1533
- accelerator_memory_max?: number;
1534
- /**
1535
- * Minimum amount of RAM in gibibytes (GiB)
1536
- */
1537
- memory_min?: number;
1538
- /**
1539
- * Maximum amount of RAM in gibibytes (GiB)
1540
- */
1541
- memory_max?: number;
1542
- /**
1543
- * 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.
1544
- */
1545
- vcpu_min?: number;
1546
- /**
1547
- * 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.
1548
- */
1549
- vcpu_max?: number;
1550
- /**
1551
- * Minimum total storage in GiB (attached and local)
1552
- */
1553
- storage_total_min?: number;
1554
- /**
1555
- * Maximum total storage in GiB (attached and local)
1556
- */
1557
- storage_total_max?: number;
1558
- /**
1559
- * Minimum volume of directly attached, block-device local storage in gibibytes (GiB)
1560
- */
1561
- storage_local_min?: number;
1562
- /**
1563
- * Maximum volume of directly attached, block-device local storage in gibibytes (GiB)
1564
- */
1565
- storage_local_max?: number;
1566
- /**
1567
- * Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
1568
- */
1569
- price_min?: number;
1570
- /**
1571
- * Maximum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
1572
- */
1573
- price_max?: number;
1574
- };
1575
- url: '/infrastructure';
1576
- };
1577
- export type GetInfrastructureErrors = {
1578
- /**
1579
- * Returns a validation error if any of the search parameters in the request are invalid
1580
- */
1581
- 400: Blob | File;
1582
- };
1583
- export type GetInfrastructureError = GetInfrastructureErrors[keyof GetInfrastructureErrors];
1584
- export type GetInfrastructureResponses = {
1585
- /**
1586
- * An array of instances returned by the search
1587
- */
1588
- 200: Array<InfrastructureInstance>;
1589
- };
1590
- export type GetInfrastructureResponse = GetInfrastructureResponses[keyof GetInfrastructureResponses];
1591
- export type GetFacetsData = {
1592
- body?: never;
1593
- path?: never;
1594
- query?: never;
1595
- url: '/infrastructure/facets';
1596
- };
1597
- export type GetFacetsResponses = {
1598
- /**
1599
- * Calculates search facets of the infrastructure catalog
1600
- */
1601
- 200: Array<{
1602
- /**
1603
- * Limit selection of cloud providers to this list. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
1604
- */
1605
- provider?: Array<string>;
1606
- /**
1607
- * 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/)
1608
- */
1609
- region?: Array<string>;
1610
- /**
1611
- * 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/)
1612
- */
1613
- sub_region?: Array<string>;
1614
- /**
1615
- * Limits selection of cloud regions to this list of canonical provider regions
1616
- */
1617
- csp_region?: Array<string>;
1618
- /**
1619
- * 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.
1620
- */
1621
- vcpu_min?: number;
1622
- /**
1623
- * 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.
1624
- */
1625
- vcpu_max?: number;
1626
- /**
1627
- * Minimum amount of RAM in gibibytes (GiB)
1628
- */
1629
- memory_min?: number;
1630
- /**
1631
- * Maximum amount of RAM in gibibytes (GiB)
1632
- */
1633
- memory_max?: number;
1634
- /**
1635
- * Minimum volume of directly attached, block-device local storage in gibibytes (GiB)
1636
- */
1637
- storage_local_min?: number;
1638
- /**
1639
- * Maximum volume of directly attached, block-device local storage in gibibytes (GiB)
1640
- */
1641
- storage_local_max?: number;
1642
- /**
1643
- * 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
1644
- */
1645
- accelerator_name?: Array<string>;
1646
- /**
1647
- * List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
1648
- */
1649
- accelerator_manufacturer?: Array<string>;
1650
- /**
1651
- * 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.
1652
- */
1653
- accelerator_count_min?: number;
1654
- /**
1655
- * 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.
1656
- */
1657
- accelerator_count_max?: number;
1658
- /**
1659
- * 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
1660
- */
1661
- accelerator_memory_min?: number;
1662
- /**
1663
- * 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
1664
- */
1665
- accelerator_memory_max?: number;
1666
- /**
1667
- * Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
1668
- */
1669
- price_min?: number;
1670
- /**
1671
- * Maximum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
1672
- */
1673
- price_max?: number;
1674
- /**
1675
- * Structured array of regions and sub-regions
1676
- */
1677
- regions_struct?: Array<{
1678
- /**
1679
- * 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/)
1680
- */
1681
- region?: string;
1682
- sub_region?: Array<string>;
1683
- }>;
1684
- /**
1685
- * Structured array of regions and sub-regions
1686
- */
1687
- accelerators_struct?: Array<{
1688
- /**
1689
- * List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
1690
- */
1691
- accelerator_manufacturer?: string;
1692
- accelerator_name?: Array<string>;
1693
- }>;
1694
- /**
1695
- * Total number of instances in the catalog
1696
- */
1697
- count_total?: number;
1698
- /**
1699
- * Total number of instances in the catalog with at least 1 accelerator
1700
- */
1701
- count_accelerators?: number;
1702
- /**
1703
- * Total number of unique instances types in the catalog
1704
- */
1705
- count_instance_types?: number;
1706
- /**
1707
- * Total number of unique instances types in the catalog with at least 1 accelerator
1708
- */
1709
- count_accelerators_instance_types?: number;
1710
- }>;
1711
- };
1712
- export type GetFacetsResponse = GetFacetsResponses[keyof GetFacetsResponses];
1713
- export type GetRegionsData = {
1714
- body?: never;
1715
- path?: never;
1716
- query?: never;
1717
- url: '/infrastructure/regions';
1718
- };
1719
- export type GetRegionsResponses = {
1720
- /**
1721
- * Available Cloudfleet regions and Kubernetes versions.
1722
- */
1723
- 200: {
1724
- [key: string]: unknown;
1725
- };
1726
- };
1727
- export type GetRegionsResponse = GetRegionsResponses[keyof GetRegionsResponses];
1728
1534
  export type ListInvitesData = {
1729
1535
  body?: never;
1730
1536
  path?: never;
@@ -1797,6 +1603,43 @@ export type DeleteInviteResponses = {
1797
1603
  */
1798
1604
  200: unknown;
1799
1605
  };
1606
+ export type ListMarketplaceChartsData = {
1607
+ body?: never;
1608
+ path?: never;
1609
+ query?: never;
1610
+ url: '/marketplace';
1611
+ };
1612
+ export type ListMarketplaceChartsErrors = {
1613
+ /**
1614
+ * Not authenticated
1615
+ */
1616
+ 401: unknown;
1617
+ };
1618
+ export type ListMarketplaceChartsResponses = {
1619
+ /**
1620
+ * An array of chart listings in the marketplace.
1621
+ */
1622
+ 200: Array<MarketplaceListing>;
1623
+ };
1624
+ export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
1625
+ export type GetMarketplaceChartData = {
1626
+ body?: never;
1627
+ path: {
1628
+ /**
1629
+ * Unique identifier of the chart listing in the marketplace.
1630
+ */
1631
+ listing_id: string;
1632
+ };
1633
+ query?: never;
1634
+ url: '/marketplace/{listing_id}';
1635
+ };
1636
+ export type GetMarketplaceChartResponses = {
1637
+ /**
1638
+ * Returns an object containing the chart listing details.
1639
+ */
1640
+ 200: MarketplaceListing;
1641
+ };
1642
+ export type GetMarketplaceChartResponse = GetMarketplaceChartResponses[keyof GetMarketplaceChartResponses];
1800
1643
  export type GetOrganizationData = {
1801
1644
  body?: never;
1802
1645
  path?: never;
@@ -1818,24 +1661,10 @@ export type CreateOrganizationData = {
1818
1661
  };
1819
1662
  export type CreateOrganizationResponses = {
1820
1663
  /**
1821
- * Successfully created a new organization. Returns organization details.
1822
- */
1823
- 200: Organization;
1824
- };
1825
- export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
1826
- export type UpdateOrganizationData = {
1827
- body: OrganizationUpdateInput;
1828
- path?: never;
1829
- query?: never;
1830
- url: '/organization';
1831
- };
1832
- export type UpdateOrganizationResponses = {
1833
- /**
1834
- * Successfully updated. Returns updated organization details.
1664
+ * Successfully created a new organization.
1835
1665
  */
1836
- 200: Organization;
1666
+ 200: unknown;
1837
1667
  };
1838
- export type UpdateOrganizationResponse = UpdateOrganizationResponses[keyof UpdateOrganizationResponses];
1839
1668
  export type ListTokensData = {
1840
1669
  body?: never;
1841
1670
  path?: never;
@@ -2092,53 +1921,4 @@ export type UpdateUserResponses = {
2092
1921
  200: User;
2093
1922
  };
2094
1923
  export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
2095
- export type DeleteClusterPermissionsData = {
2096
- body?: never;
2097
- path: {
2098
- /**
2099
- * Unique user identifier. UUID v4 string in canonical form
2100
- */
2101
- user_id: string;
2102
- /**
2103
- * Unique cluster identifier. UUID v4 string in canonical form
2104
- */
2105
- cluster_id: string;
2106
- };
2107
- query?: never;
2108
- url: '/users/{user_id}/clusters/{cluster_id}';
2109
- };
2110
- export type DeleteClusterPermissionsResponses = {
2111
- /**
2112
- * Successfully removed user from the cluster. Returns updated user details.
2113
- */
2114
- 200: User;
2115
- };
2116
- export type DeleteClusterPermissionsResponse = DeleteClusterPermissionsResponses[keyof DeleteClusterPermissionsResponses];
2117
- export type SetClusterPermissionsData = {
2118
- body: {
2119
- /**
2120
- * Level of permissions for the user to access the cluster
2121
- */
2122
- permissions?: 'readwrite' | 'readonly';
2123
- };
2124
- path: {
2125
- /**
2126
- * Unique user identifier. UUID v4 string in canonical form
2127
- */
2128
- user_id: string;
2129
- /**
2130
- * Unique cluster identifier. UUID v4 string in canonical form
2131
- */
2132
- cluster_id: string;
2133
- };
2134
- query?: never;
2135
- url: '/users/{user_id}/clusters/{cluster_id}';
2136
- };
2137
- export type SetClusterPermissionsResponses = {
2138
- /**
2139
- * Successfully created. Returns created user details.
2140
- */
2141
- 200: User;
2142
- };
2143
- export type SetClusterPermissionsResponse = SetClusterPermissionsResponses[keyof SetClusterPermissionsResponses];
2144
1924
  //# sourceMappingURL=types.gen.d.ts.map