@cloudfleet/sdk 0.0.1-0f4a5ef → 0.0.1-0fed956

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 +911 -986
  58. package/dist/schemas.gen.d.ts.map +1 -1
  59. package/dist/schemas.gen.js +934 -1024
  60. package/dist/schemas.gen.js.map +1 -1
  61. package/dist/sdk.gen.d.ts +218 -142
  62. package/dist/sdk.gen.d.ts.map +1 -1
  63. package/dist/sdk.gen.js +300 -145
  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 +943 -957
  78. package/dist/types.gen.d.ts.map +1 -1
  79. package/dist/zod.gen.d.ts +1889 -2836
  80. package/dist/zod.gen.d.ts.map +1 -1
  81. package/dist/zod.gen.js +929 -869
  82. package/dist/zod.gen.js.map +1 -1
  83. package/package.json +8 -5
@@ -1,20 +1,181 @@
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
+ * Name of the billing contact person.
43
+ */
44
+ individual_name: string;
45
+ /**
46
+ * Tax ID of the organization.
47
+ */
48
+ tax_id?: string;
49
+ /**
50
+ * Type of the tax ID.
51
+ */
52
+ 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' | '';
53
+ };
54
+ export type BillingCredits = {
55
+ /**
56
+ * Generated unique identifier of the promotional code.
57
+ */
58
+ id?: string;
59
+ /**
60
+ * Type of the promotional code.
61
+ */
62
+ type: 'credit' | 'discount';
63
+ /**
64
+ * Timestamp when the credit becomes active. ISO 8601 date string in the UTC timezone.
65
+ */
66
+ date_start: string;
67
+ /**
68
+ * Timestamp when the credit expires or becomes inactive. ISO 8601 date string in the UTC timezone.
69
+ */
70
+ date_end?: string;
71
+ /**
72
+ * Promotional code used by the customer.
73
+ */
74
+ code: string;
75
+ /**
76
+ * Description of the promotional code.
77
+ */
78
+ description?: string;
79
+ /**
80
+ * Total value of the promotional code.
81
+ */
82
+ value_total: number;
83
+ /**
84
+ * Remaining value of the promotional code.
85
+ */
86
+ value_remaining?: number;
87
+ };
88
+ export type ChartCreateInput = {
89
+ /**
90
+ * Values to be used in the chart encoded as a JSON string.
91
+ */
92
+ values: string;
93
+ /**
94
+ * Desired version range or channel for the chart.
95
+ */
96
+ version_channel: string;
97
+ /**
98
+ * Unique identifier of the chart deployment aka name of the helm release.
99
+ */
100
+ name: string;
101
+ /**
102
+ * Namespace of the chart deployment
103
+ */
104
+ namespace: string;
105
+ /**
106
+ * Name of the chart listing
107
+ */
108
+ chart: string;
109
+ };
110
+ export type Chart = {
111
+ /**
112
+ * Values to be used in the chart encoded as a JSON string.
113
+ */
114
+ values: string;
115
+ /**
116
+ * Desired version range or channel for the chart.
117
+ */
118
+ version_channel: string;
119
+ /**
120
+ * Unique identifier of the chart deployment aka name of the helm release.
4
121
  */
5
122
  name: string;
6
123
  /**
7
- * Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.
124
+ * Namespace of the chart deployment
125
+ */
126
+ namespace: string;
127
+ /**
128
+ * Name of the chart listing
129
+ */
130
+ chart: string;
131
+ /**
132
+ * Status of the chart deployment.
133
+ */
134
+ status: 'InstallSucceeded' | 'InstallFailed' | 'UpgradeSucceeded' | 'UpgradeFailed' | 'TestSucceeded' | 'TestFailed' | 'RollbackSucceeded' | 'RollbackFailed' | 'UninstallSucceeded' | 'UninstallFailed' | 'ArtifactFailed' | 'DependencyNotReady' | 'Progressing' | 'SourceNotReady';
135
+ /**
136
+ * Current version of the chart deployment.
137
+ */
138
+ version_current: string;
139
+ /**
140
+ * Creation date and time of the chart deployment.
141
+ */
142
+ created_at: string;
143
+ /**
144
+ * Last update date and time of the chart deployment.
145
+ */
146
+ updated_at: string;
147
+ /**
148
+ * Indicates if the chart deployment is ready to be used.
149
+ */
150
+ ready: boolean;
151
+ };
152
+ export type ChartUpdateInput = {
153
+ /**
154
+ * Values to be used in the chart encoded as a JSON string.
155
+ */
156
+ values: string;
157
+ /**
158
+ * Desired version range or channel for the chart.
159
+ */
160
+ version_channel: string;
161
+ };
162
+ export type ClusterCreateInput = {
163
+ /**
164
+ * Name of the cluster.
8
165
  */
9
- region?: 'staging' | 'northamerica-central-1';
166
+ name: string;
10
167
  /**
11
168
  * Tier of the cluster.
12
169
  */
13
170
  tier: 'basic' | 'pro';
171
+ /**
172
+ * Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
173
+ */
174
+ region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
14
175
  /**
15
176
  * Version of the kubernetes cluster.
16
177
  */
17
- version_channel?: string;
178
+ version_channel?: '1.x.x-cfke.x' | '1.31.x-cfke.x' | '1.32.x-cfke.x' | '1.33.x-cfke.x';
18
179
  };
19
180
  export type ClusterJoinInformation = {
20
181
  /**
@@ -49,6 +210,27 @@ export type ClusterJoinInformation = {
49
210
  * Containerd version of the cluster.
50
211
  */
51
212
  containerd: string;
213
+ /**
214
+ * NVIDIA driver version of the cluster.
215
+ */
216
+ nvidia_driver: string;
217
+ };
218
+ /**
219
+ * OIDC Information for hosts to access to third party API's.
220
+ */
221
+ third_party_api_access_config: {
222
+ /**
223
+ * Kubernetes metadata server.
224
+ */
225
+ metadata_url: string;
226
+ /**
227
+ * AWS Role ARN.
228
+ */
229
+ aws_role_arn: string;
230
+ /**
231
+ * GCP Workload Identity provider.
232
+ */
233
+ gcp_workload_identity_provider: string;
52
234
  };
53
235
  };
54
236
  export type Cluster = {
@@ -56,18 +238,14 @@ export type Cluster = {
56
238
  * Name of the cluster.
57
239
  */
58
240
  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
241
  /**
64
242
  * Tier of the cluster.
65
243
  */
66
244
  tier: 'basic' | 'pro';
67
245
  /**
68
- * Version of the kubernetes cluster.
246
+ * Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
69
247
  */
70
- version_channel?: string;
248
+ region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
71
249
  /**
72
250
  * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
73
251
  */
@@ -75,7 +253,7 @@ export type Cluster = {
75
253
  /**
76
254
  * Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.
77
255
  */
78
- status: 'active' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
256
+ status: 'active' | 'disabled' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
79
257
  endpoint?: string | '';
80
258
  /**
81
259
  * Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
@@ -97,12 +275,20 @@ export type Cluster = {
97
275
  * Indicates if the cluster is ready to be used.
98
276
  */
99
277
  ready?: boolean;
278
+ /**
279
+ * Version of the kubernetes cluster.
280
+ */
281
+ version_channel?: string;
100
282
  };
101
283
  export type ClusterUpdateInput = {
102
284
  /**
103
285
  * Name of the cluster.
104
286
  */
105
287
  name?: string;
288
+ /**
289
+ * Tier of the cluster.
290
+ */
291
+ tier: 'basic' | 'pro';
106
292
  /**
107
293
  * Version of the kubernetes cluster.
108
294
  */
@@ -127,10 +313,10 @@ export type FleetCreateInput = {
127
313
  };
128
314
  hetzner?: {
129
315
  enabled?: boolean;
130
- apiKey?: string;
131
- } | {
132
- apiKey?: string;
133
- enabled?: boolean;
316
+ /**
317
+ * Hetzner Cloud API key with read / write access
318
+ */
319
+ apiKey: string;
134
320
  };
135
321
  aws?: {
136
322
  enabled?: boolean;
@@ -143,10 +329,6 @@ export type FleetCreateInput = {
143
329
  * Unique identifier of the kubernetes fleet.
144
330
  */
145
331
  id: string;
146
- /**
147
- * Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.
148
- */
149
- type: 'managed' | 'connected';
150
332
  };
151
333
  export type Fleet = {
152
334
  /**
@@ -167,10 +349,10 @@ export type Fleet = {
167
349
  };
168
350
  hetzner?: {
169
351
  enabled?: boolean;
170
- apiKey?: string;
171
- } | {
172
- apiKey?: string;
173
- enabled?: boolean;
352
+ /**
353
+ * Hetzner Cloud API key with read / write access
354
+ */
355
+ apiKey: string;
174
356
  };
175
357
  aws?: {
176
358
  enabled?: boolean;
@@ -183,10 +365,6 @@ export type Fleet = {
183
365
  * Unique identifier of the kubernetes fleet.
184
366
  */
185
367
  id: string;
186
- /**
187
- * Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.
188
- */
189
- type: 'managed' | 'connected';
190
368
  };
191
369
  export type FleetUpdateInput = {
192
370
  /**
@@ -207,10 +385,10 @@ export type FleetUpdateInput = {
207
385
  };
208
386
  hetzner?: {
209
387
  enabled?: boolean;
210
- apiKey?: string;
211
- } | {
212
- apiKey?: string;
213
- enabled?: boolean;
388
+ /**
389
+ * Hetzner Cloud API key with read / write access
390
+ */
391
+ apiKey: string;
214
392
  };
215
393
  aws?: {
216
394
  enabled?: boolean;
@@ -220,178 +398,6 @@ export type FleetUpdateInput = {
220
398
  controllerRoleArn: string;
221
399
  };
222
400
  };
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
401
  export type Invite = {
396
402
  /**
397
403
  * Unique identifier of the invitation.
@@ -419,262 +425,116 @@ export type Invoice = {
419
425
  * Unique identifier of the invoice. UUID v4 string in canonical form
420
426
  */
421
427
  id?: string;
422
- /**
423
- * Unique identifier of the organization. UUID v4 string in canonical form
424
- */
425
- organizationId?: string;
428
+ number?: string;
426
429
  /**
427
430
  * Status of the invoice
428
431
  */
429
- status?: 'DRAFT' | 'COMMITTED' | 'VOID';
432
+ status?: string;
430
433
  /**
431
434
  * Total amount of the invoice
432
435
  */
433
- amount?: number;
436
+ total?: number;
434
437
  /**
435
438
  * Currency of the invoice
436
439
  */
437
- 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';
440
+ currency?: string;
438
441
  /**
439
- * Total amount of credit adjustments
442
+ * Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
440
443
  */
441
- creditAdj?: number;
444
+ created: string;
442
445
  /**
443
- * Total amount of refund adjustments
446
+ * Billing period start timestamp. ISO 8601 date string in the UTC timezone.
444
447
  */
445
- refundAdj?: number;
448
+ period_start: string;
446
449
  /**
447
- * Date of the invoice
450
+ * Billing period end timestamp. ISO 8601 date string in the UTC timezone.
448
451
  */
449
- invoiceDate?: string;
452
+ period_end: string;
453
+ invoice_pdf?: string;
454
+ };
455
+ export type MarketplaceListingFiles = {
450
456
  /**
451
- * Target date of the invoice
457
+ * Raw Chart.yaml content from the Helm chart
452
458
  */
453
- targetDate?: string;
459
+ chartYaml?: string;
454
460
  /**
455
- * Number of the invoice
461
+ * Raw values.yaml content from the Helm chart
456
462
  */
457
- invoiceNumber?: string;
463
+ valuesYaml?: string;
458
464
  /**
459
- * Balance of the invoice
465
+ * JSON schema for values.yaml as a string
460
466
  */
461
- balance?: number;
467
+ valuesSchemaJson?: string;
468
+ };
469
+ export type MarketplaceListing = {
462
470
  /**
463
- * Bundle keys of the invoice
471
+ * Name of the chart
464
472
  */
465
- bundleKeys?: string;
473
+ name: string;
466
474
  /**
467
- * Credits of the invoice
475
+ * Available versions of the chart
468
476
  */
469
- credits?: Array<{
470
- /**
471
- * Unique identifier of the invoice item. UUID v4 string in canonical form
472
- */
473
- id?: string;
474
- /**
475
- * Unique identifier of the linked invoice item. UUID v4 string in canonical form
476
- */
477
- linkedInvoiceItemId?: string;
478
- /**
479
- * Name of the product
480
- */
481
- productName?: string;
482
- /**
483
- * Name of the plan
484
- */
485
- planName?: string;
486
- /**
487
- * Name of the phase
488
- */
489
- phaseName?: string;
477
+ versions: Array<string>;
478
+ /**
479
+ * Version channels for the chart
480
+ */
481
+ version_channels: Array<string>;
482
+ /**
483
+ * Latest version of the chart
484
+ */
485
+ latestVersion: string;
486
+ /**
487
+ * Chart metadata
488
+ */
489
+ metadata?: {
490
490
  /**
491
- * Name of the usage
491
+ * Chart name from metadata
492
492
  */
493
- usageName?: string;
493
+ name: string;
494
494
  /**
495
- * Pretty name of the product
495
+ * Chart version from metadata
496
496
  */
497
- prettyProductName?: string;
497
+ version: string;
498
498
  /**
499
- * Pretty name of the plan
499
+ * Chart description
500
500
  */
501
- prettyPlanName?: string;
501
+ description?: string;
502
502
  /**
503
- * Pretty name of the phase
503
+ * Application version
504
504
  */
505
- prettyPhaseName?: string;
505
+ appVersion?: string;
506
506
  /**
507
- * Pretty name of the usage
507
+ * Helm API version
508
508
  */
509
- prettyUsageName?: string;
509
+ apiVersion?: string;
510
510
  /**
511
- * Type of the invoice item
511
+ * Chart keywords
512
512
  */
513
- itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
513
+ keywords?: Array<string>;
514
514
  /**
515
- * Description of the invoice item
515
+ * Chart home URL
516
516
  */
517
- description?: string;
517
+ home?: string;
518
518
  /**
519
- * Start date of the invoice item
519
+ * Chart source URLs
520
520
  */
521
- startDate?: string;
521
+ sources?: Array<string>;
522
522
  /**
523
- * End date of the invoice item
523
+ * Chart maintainers
524
524
  */
525
- endDate?: string;
526
- /**
527
- * Amount of the invoice item
528
- */
529
- amount?: number;
530
- /**
531
- * Rate of the invoice item
532
- */
533
- rate?: number;
534
- /**
535
- * Currency of the invoice item
536
- */
537
- 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';
538
- /**
539
- * Quantity of the invoice item
540
- */
541
- quantity?: number;
542
- /**
543
- * Details of the invoice item
544
- */
545
- itemDetails?: string;
546
- /**
547
- * Effective date of the catalog
548
- */
549
- catalogEffectiveDate?: string;
550
- /**
551
- * Child items of the invoice item
552
- */
553
- childItems?: Array<Array<unknown> | boolean | number | {
554
- [key: string]: unknown;
555
- } | string>;
556
- }>;
557
- /**
558
- * Items of the invoice
559
- */
560
- items?: Array<{
561
- /**
562
- * Unique identifier of the invoice item. UUID v4 string in canonical form
563
- */
564
- id?: string;
565
- /**
566
- * Unique identifier of the linked invoice item. UUID v4 string in canonical form
567
- */
568
- linkedInvoiceItemId?: string;
569
- /**
570
- * Name of the product
571
- */
572
- productName?: string;
573
- /**
574
- * Name of the plan
575
- */
576
- planName?: string;
577
- /**
578
- * Name of the phase
579
- */
580
- phaseName?: string;
581
- /**
582
- * Name of the usage
583
- */
584
- usageName?: string;
585
- /**
586
- * Pretty name of the product
587
- */
588
- prettyProductName?: string;
589
- /**
590
- * Pretty name of the plan
591
- */
592
- prettyPlanName?: string;
593
- /**
594
- * Pretty name of the phase
595
- */
596
- prettyPhaseName?: string;
597
- /**
598
- * Pretty name of the usage
599
- */
600
- prettyUsageName?: string;
601
- /**
602
- * Type of the invoice item
603
- */
604
- itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
605
- /**
606
- * Description of the invoice item
607
- */
608
- description?: string;
609
- /**
610
- * Start date of the invoice item
611
- */
612
- startDate?: string;
613
- /**
614
- * End date of the invoice item
615
- */
616
- endDate?: string;
617
- /**
618
- * Amount of the invoice item
619
- */
620
- amount?: number;
621
- /**
622
- * Rate of the invoice item
623
- */
624
- rate?: number;
625
- /**
626
- * Currency of the invoice item
627
- */
628
- 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';
629
- /**
630
- * Quantity of the invoice item
631
- */
632
- quantity?: number;
633
- /**
634
- * Details of the invoice item
635
- */
636
- itemDetails?: string;
637
- /**
638
- * Effective date of the catalog
639
- */
640
- catalogEffectiveDate?: string;
641
- /**
642
- * Child items of the invoice item
643
- */
644
- childItems?: Array<Array<unknown> | boolean | number | {
645
- [key: string]: unknown;
646
- } | string>;
647
- }>;
525
+ maintainers?: Array<{
526
+ /**
527
+ * Maintainer name
528
+ */
529
+ name: string;
530
+ /**
531
+ * Maintainer email
532
+ */
533
+ email?: string;
534
+ }>;
535
+ };
648
536
  };
649
- export type OrganizationContactInfo = {
650
- /**
651
- * Street address, P.O. box, c/o
652
- */
653
- address1?: string;
654
- /**
655
- * Apartment, suite, unit, building, floor, etc.
656
- */
657
- address2?: string;
658
- /**
659
- * Postal code as a string.
660
- */
661
- postalCode?: string;
662
- /**
663
- * City or town name.
664
- */
665
- city?: string;
666
- /**
667
- * State, province, or region name.
668
- */
669
- state?: string;
670
- /**
671
- * Country as a ISO 3166-1 alpha-2 country code.
672
- */
673
- country?: string;
674
- /**
675
- * Phone number as a string.
676
- */
677
- phone?: string;
537
+ export type OrganizationCreateInput = {
678
538
  /**
679
539
  * Email address used for billing as a string.
680
540
  */
@@ -687,116 +547,24 @@ export type OrganizationContactInfo = {
687
547
  * Last name of the billing contact person.
688
548
  */
689
549
  last_name: string;
690
- };
691
- export type OrganizationCreateInput = {
692
550
  /**
693
551
  * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
694
552
  */
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
- };
553
+ company_name: string;
741
554
  /**
742
555
  * 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
556
  */
744
557
  password: string;
745
558
  };
746
559
  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
560
  /**
797
561
  * Unique identifier of the organization. UUID v4 string in canonical form
798
562
  */
799
563
  id: string;
564
+ /**
565
+ * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
566
+ */
567
+ name?: string;
800
568
  /**
801
569
  * Creation date of the organization. ISO 8601 date string in UTC timezone
802
570
  */
@@ -825,10 +593,6 @@ export type Organization = {
825
593
  * Maximum number of fleets that can be created per cluster.
826
594
  */
827
595
  fleets_max: number;
828
- /**
829
- * Maximum number of CPU cores per managed fleet.
830
- */
831
- managed_fleets_cpu_max: number;
832
596
  /**
833
597
  * List of Cloudfleet cluster tiers available for the organization.
834
598
  */
@@ -850,96 +614,215 @@ export type Organization = {
850
614
  */
851
615
  label: string;
852
616
  }>;
617
+ /**
618
+ * User-level maximum number of tokens Cloudfleet Copilot can process per hour.
619
+ */
620
+ copilot_user_hourly_tokens: number;
621
+ /**
622
+ * Organization-level maximum number of tokens Cloudfleet Copilot can process per hour.
623
+ */
624
+ copilot_organization_hourly_tokens: number;
853
625
  };
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
626
  /**
859
627
  * Status of the organization. Can be `active` or `closed`, or `suspended`.
860
628
  */
861
629
  status: 'active' | 'closed' | 'suspended';
862
630
  };
863
- export type OrganizationUpdateInput = {
631
+ export type PaymentMethod = {
864
632
  /**
865
- * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
633
+ * Unique identifier of the organization. UUID v4 string in canonical form.
866
634
  */
867
- name?: string;
635
+ id: string;
868
636
  /**
869
- * Organization contact information and billing address.
637
+ * Whether organization payment method was set up and ready to use for payments.
870
638
  */
871
- contactInfo: {
872
- /**
873
- * Street address, P.O. box, c/o
874
- */
875
- address1?: string;
639
+ setup: boolean;
640
+ /**
641
+ * Payment method type type. Only `card` payments supported at the moment.
642
+ */
643
+ type: 'card';
644
+ /**
645
+ * Last 4 digits of the payment card number.
646
+ */
647
+ last4: string;
648
+ /**
649
+ * Two-digit number representing the card's expiration month.
650
+ */
651
+ exp_month: number;
652
+ /**
653
+ * Four-digit number representing the card's expiration year.
654
+ */
655
+ exp_year: number;
656
+ /**
657
+ * Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
658
+ */
659
+ brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
660
+ };
661
+ export type PlatformQuota = {
662
+ /**
663
+ * Maximum number of Basic clusters that can be created.
664
+ */
665
+ basic_clusters_max: number;
666
+ /**
667
+ * Available number of Basic clusters that can be created.
668
+ */
669
+ basic_clusters_available: number;
670
+ /**
671
+ * Maximum number of Pro clusters that can be created.
672
+ */
673
+ pro_clusters_max: number;
674
+ /**
675
+ * Available number of Pro clusters that can be created.
676
+ */
677
+ pro_clusters_available: number;
678
+ /**
679
+ * Maximum number of fleets that can be created per cluster.
680
+ */
681
+ fleets_max: number;
682
+ /**
683
+ * List of Cloudfleet cluster tiers available for the organization.
684
+ */
685
+ cluster_tiers: Array<string>;
686
+ /**
687
+ * List of Cloudfleet control plane regions available for the organization.
688
+ */
689
+ regions: Array<string>;
690
+ /**
691
+ * List of CFKE control plane versions available for the organization.
692
+ */
693
+ versions: Array<{
876
694
  /**
877
- * Apartment, suite, unit, building, floor, etc.
695
+ * Id of the control plane version. Used in API calls.
878
696
  */
879
- address2?: string;
697
+ id: string;
880
698
  /**
881
- * Postal code as a string.
699
+ * Label of the control plane version. Used in frontent UI.
882
700
  */
883
- postalCode?: string;
701
+ label: string;
702
+ }>;
703
+ /**
704
+ * User-level maximum number of tokens Cloudfleet Copilot can process per hour.
705
+ */
706
+ copilot_user_hourly_tokens: number;
707
+ /**
708
+ * Organization-level maximum number of tokens Cloudfleet Copilot can process per hour.
709
+ */
710
+ copilot_organization_hourly_tokens: number;
711
+ };
712
+ export type RegistryRepository = {
713
+ /**
714
+ * Repository name.
715
+ */
716
+ name: string;
717
+ /**
718
+ * Registry region.
719
+ */
720
+ region: string;
721
+ /**
722
+ * Full URI of the repository.
723
+ */
724
+ uri: string;
725
+ };
726
+ export type RegistryRepositoryWithTags = {
727
+ /**
728
+ * Repository name.
729
+ */
730
+ name: string;
731
+ /**
732
+ * Registry region.
733
+ */
734
+ region: string;
735
+ /**
736
+ * Full URI of the repository.
737
+ */
738
+ uri: string;
739
+ /**
740
+ * Array of tags in the repository.
741
+ */
742
+ tags: Array<{
884
743
  /**
885
- * City or town name.
744
+ * Tag name.
886
745
  */
887
- city?: string;
746
+ name: string;
888
747
  /**
889
- * State, province, or region name.
748
+ * Size of the tag in bytes.
890
749
  */
891
- state?: string;
750
+ size: number;
892
751
  /**
893
- * Country as a ISO 3166-1 alpha-2 country code.
752
+ * Media type of the manifest.
894
753
  */
895
- country?: string;
754
+ mediaType?: string;
755
+ }>;
756
+ /**
757
+ * Total size of all tags in the repository in bytes.
758
+ */
759
+ totalSize: number;
760
+ };
761
+ export type RegistryTag = {
762
+ /**
763
+ * Tag name.
764
+ */
765
+ name: string;
766
+ /**
767
+ * Media type of the manifest.
768
+ */
769
+ mediaType?: string;
770
+ /**
771
+ * Manifest config metadata.
772
+ */
773
+ config?: {
896
774
  /**
897
- * Phone number as a string.
775
+ * Size of the config in bytes.
898
776
  */
899
- phone?: string;
777
+ size: number;
778
+ };
779
+ /**
780
+ * Array of layer metadata.
781
+ */
782
+ layers?: Array<{
900
783
  /**
901
- * Email address used for billing as a string.
784
+ * Size of the layer in bytes.
902
785
  */
903
- email: string;
786
+ size: number;
787
+ }>;
788
+ /**
789
+ * Array of manifests for multi-arch images.
790
+ */
791
+ manifests?: Array<{
904
792
  /**
905
- * First name of the billing contact person.
793
+ * Digest of the manifest.
906
794
  */
907
- first_name: string;
795
+ digest: string;
908
796
  /**
909
- * Last name of the billing contact person.
797
+ * Platform information for the manifest.
910
798
  */
911
- last_name: string;
912
- };
913
- };
914
- export type PaymentMethod = {
915
- /**
916
- * Unique identifier of the organization. UUID v4 string in canonical form.
917
- */
918
- id: string;
919
- /**
920
- * Whether organization payment method was set up and ready to use for payments.
921
- */
922
- setup: boolean;
923
- /**
924
- * Payment method type type. Only `card` payments supported at the moment.
925
- */
926
- type: 'card';
799
+ platform?: {
800
+ /**
801
+ * Architecture of the platform.
802
+ */
803
+ architecture: string;
804
+ /**
805
+ * Operating system of the platform.
806
+ */
807
+ os: string;
808
+ };
809
+ }>;
927
810
  /**
928
- * Last 4 digits of the payment card number.
811
+ * Total size of the tag in bytes.
929
812
  */
930
- last4: string;
813
+ size: number;
931
814
  /**
932
- * Two-digit number representing the card's expiration month.
815
+ * Registry region.
933
816
  */
934
- exp_month: number;
817
+ region: string;
935
818
  /**
936
- * Four-digit number representing the card's expiration year.
819
+ * Repository name.
937
820
  */
938
- exp_year: number;
821
+ repository: string;
939
822
  /**
940
- * Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
823
+ * Full URI of the tag.
941
824
  */
942
- brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
825
+ uri: string;
943
826
  };
944
827
  export type TokenCreateInput = {
945
828
  /**
@@ -983,20 +866,85 @@ export type TokenUpdateInput = {
983
866
  */
984
867
  role?: 'Administrator' | 'User';
985
868
  };
869
+ export type UsageFacets = {
870
+ /**
871
+ * List of unique cluster IDs
872
+ */
873
+ cluster_id?: Array<string>;
874
+ /**
875
+ * List of unique products
876
+ */
877
+ product?: Array<string>;
878
+ };
879
+ export type UsageResponse = {
880
+ /**
881
+ * Usage data
882
+ */
883
+ data: Array<{
884
+ /**
885
+ * Hour of the usage
886
+ */
887
+ hour: string;
888
+ /**
889
+ * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
890
+ */
891
+ cluster_id: string;
892
+ /**
893
+ * The product the usage is associated with
894
+ */
895
+ product: string;
896
+ /**
897
+ * Consumption
898
+ */
899
+ value: number;
900
+ /**
901
+ * Price per unit
902
+ */
903
+ price: number;
904
+ /**
905
+ * Total cost
906
+ */
907
+ total: number;
908
+ }>;
909
+ /**
910
+ * Facets for filtering
911
+ */
912
+ facets: {
913
+ /**
914
+ * List of unique cluster IDs
915
+ */
916
+ cluster_id?: Array<string>;
917
+ /**
918
+ * List of unique products
919
+ */
920
+ product?: Array<string>;
921
+ };
922
+ };
986
923
  export type Usage = {
987
924
  /**
988
- * Unique identifier of the Usage object, equal to subscription id of the task . UUID v4 string in canonical form
925
+ * Hour of the usage
989
926
  */
990
- id: string;
927
+ hour: string;
928
+ /**
929
+ * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
930
+ */
931
+ cluster_id: string;
932
+ /**
933
+ * The product the usage is associated with
934
+ */
935
+ product: string;
936
+ /**
937
+ * Consumption
938
+ */
939
+ value: number;
991
940
  /**
992
- * Unique identifier of the project. UUID v4 string in canonical form
941
+ * Price per unit
993
942
  */
994
- task_id: string;
943
+ price: number;
995
944
  /**
996
- * Unit of measurement. E.g. GiB, seconds, etc
945
+ * Total cost
997
946
  */
998
- unit: string;
999
- amount: number;
947
+ total: number;
1000
948
  };
1001
949
  export type UserCreateInput = {
1002
950
  /**
@@ -1016,7 +964,7 @@ export type UserCreateInput = {
1016
964
  */
1017
965
  code: string;
1018
966
  /**
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.
967
+ * User password. Must be at least 8 characters long.
1020
968
  */
1021
969
  password: string;
1022
970
  /**
@@ -1057,16 +1005,6 @@ export type User = {
1057
1005
  * Creation date of the user. ISO 8601 date string in UTC timezone
1058
1006
  */
1059
1007
  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
1008
  };
1071
1009
  export type UserUpdateInput = {
1072
1010
  /**
@@ -1093,15 +1031,11 @@ export type UserUpdateInput = {
1093
1031
  export type GetUsageData = {
1094
1032
  body?: never;
1095
1033
  path?: never;
1096
- query: {
1097
- /**
1098
- * Start date for the usage. Date of oldest data point to retrieve.
1099
- */
1100
- start_date: string;
1034
+ query?: {
1101
1035
  /**
1102
- * End date for the usage. Date of newest data point to retrieve.
1036
+ * 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)
1103
1037
  */
1104
- end_date: string;
1038
+ granularity?: 'hourly' | 'daily' | 'monthly';
1105
1039
  };
1106
1040
  url: '/billing/usage';
1107
1041
  };
@@ -1113,24 +1047,11 @@ export type GetUsageErrors = {
1113
1047
  };
1114
1048
  export type GetUsageResponses = {
1115
1049
  /**
1116
- * An array of usage records.
1050
+ * Usage data with facets for filtering
1117
1051
  */
1118
- 200: Array<Usage>;
1052
+ 200: UsageResponse;
1119
1053
  };
1120
1054
  export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
1121
- export type GetBalanceData = {
1122
- body?: never;
1123
- path?: never;
1124
- query?: never;
1125
- url: '/billing/balance';
1126
- };
1127
- export type GetBalanceResponses = {
1128
- /**
1129
- * Current balance of the organization in USD as a floating-point number.
1130
- */
1131
- 200: number;
1132
- };
1133
- export type GetBalanceResponse = GetBalanceResponses[keyof GetBalanceResponses];
1134
1055
  export type GetPaymentMethodData = {
1135
1056
  body?: never;
1136
1057
  path?: never;
@@ -1172,16 +1093,7 @@ export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[key
1172
1093
  export type ListInvoicesData = {
1173
1094
  body?: never;
1174
1095
  path?: never;
1175
- query: {
1176
- /**
1177
- * Start date for the usage. Date of oldest data point to retrieve.
1178
- */
1179
- start_date: string;
1180
- /**
1181
- * End date for the usage. Date of newest data point to retrieve.
1182
- */
1183
- end_date: string;
1184
- };
1096
+ query?: never;
1185
1097
  url: '/billing/invoices';
1186
1098
  };
1187
1099
  export type ListInvoicesErrors = {
@@ -1197,26 +1109,182 @@ export type ListInvoicesResponses = {
1197
1109
  200: Array<Invoice>;
1198
1110
  };
1199
1111
  export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
1200
- export type GetInvoiceData = {
1112
+ export type GetContactData = {
1113
+ body?: never;
1114
+ path?: never;
1115
+ query?: never;
1116
+ url: '/billing/contact';
1117
+ };
1118
+ export type GetContactResponses = {
1119
+ /**
1120
+ * Returns a single object containing organization contact and billing address details.
1121
+ */
1122
+ 200: BillingContact;
1123
+ };
1124
+ export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
1125
+ export type UpdateContactData = {
1126
+ body: BillingContact;
1127
+ path?: never;
1128
+ query?: never;
1129
+ url: '/billing/contact';
1130
+ };
1131
+ export type UpdateContactResponses = {
1132
+ /**
1133
+ * Successfully updated. Returns updated organization details.
1134
+ */
1135
+ 200: BillingContact;
1136
+ };
1137
+ export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
1138
+ export type GetCreditsData = {
1139
+ body?: never;
1140
+ path?: never;
1141
+ query?: never;
1142
+ url: '/billing/credits';
1143
+ };
1144
+ export type GetCreditsErrors = {
1145
+ /**
1146
+ * Not authenticated
1147
+ */
1148
+ 401: unknown;
1149
+ };
1150
+ export type GetCreditsResponses = {
1151
+ /**
1152
+ * An array of the applied promotional credits records.
1153
+ */
1154
+ 200: Array<BillingCredits>;
1155
+ };
1156
+ export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
1157
+ export type RedeemCreditsData = {
1158
+ body: {
1159
+ /**
1160
+ * Promotional code to redeem
1161
+ */
1162
+ code?: string;
1163
+ };
1164
+ path?: never;
1165
+ query?: never;
1166
+ url: '/billing/credits';
1167
+ };
1168
+ export type RedeemCreditsErrors = {
1169
+ /**
1170
+ * Not authenticated
1171
+ */
1172
+ 401: unknown;
1173
+ };
1174
+ export type RedeemCreditsResponses = {
1175
+ /**
1176
+ * Successfully created a new organization.
1177
+ */
1178
+ 200: unknown;
1179
+ };
1180
+ export type ListChartsData = {
1201
1181
  body?: never;
1202
1182
  path: {
1203
1183
  /**
1204
- * Unique invoice identifier. UUID v4 string in canonical form
1184
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1205
1185
  */
1206
- id: string;
1186
+ cluster_id: string;
1187
+ };
1188
+ query?: never;
1189
+ url: '/clusters/{cluster_id}/charts';
1190
+ };
1191
+ export type ListChartsErrors = {
1192
+ /**
1193
+ * Not authenticated
1194
+ */
1195
+ 401: unknown;
1196
+ };
1197
+ export type ListChartsResponses = {
1198
+ /**
1199
+ * An array of charts
1200
+ */
1201
+ 200: Array<Chart>;
1202
+ };
1203
+ export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
1204
+ export type CreateChartData = {
1205
+ body: ChartCreateInput;
1206
+ path: {
1207
+ /**
1208
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1209
+ */
1210
+ cluster_id: string;
1207
1211
  };
1208
1212
  query?: never;
1209
- url: '/billing/invoices/{id}';
1213
+ url: '/clusters/{cluster_id}/charts';
1210
1214
  };
1211
- export type GetInvoiceResponses = {
1215
+ export type CreateChartResponses = {
1212
1216
  /**
1213
- * Returns a single Invoice HTML representation under `html` property.
1217
+ * Successfully created. Returns created Chart ID.
1214
1218
  */
1215
- 200: {
1216
- html?: string;
1219
+ 200: string;
1220
+ };
1221
+ export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
1222
+ export type DeleteChartData = {
1223
+ body?: never;
1224
+ path: {
1225
+ /**
1226
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1227
+ */
1228
+ cluster_id: string;
1229
+ /**
1230
+ * Chart deployment name as the unique identifier of the chart.
1231
+ */
1232
+ chart_name: string;
1233
+ };
1234
+ query?: never;
1235
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
1236
+ };
1237
+ export type DeleteChartResponses = {
1238
+ /**
1239
+ * Successfully deleted.
1240
+ */
1241
+ 200: string;
1242
+ };
1243
+ export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
1244
+ export type GetChartData = {
1245
+ body?: never;
1246
+ path: {
1247
+ /**
1248
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1249
+ */
1250
+ cluster_id: string;
1251
+ /**
1252
+ * Chart deployment name as the unique identifier of the chart.
1253
+ */
1254
+ chart_name: string;
1255
+ };
1256
+ query?: never;
1257
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
1258
+ };
1259
+ export type GetChartResponses = {
1260
+ /**
1261
+ * Returns a single object containing chart details.
1262
+ */
1263
+ 200: Chart;
1264
+ };
1265
+ export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
1266
+ export type UpdateChartData = {
1267
+ body: ChartUpdateInput;
1268
+ path: {
1269
+ /**
1270
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1271
+ */
1272
+ cluster_id: string;
1273
+ /**
1274
+ * Chart deployment name as the unique identifier of the chart.
1275
+ */
1276
+ chart_name: string;
1217
1277
  };
1278
+ query?: never;
1279
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
1218
1280
  };
1219
- export type GetInvoiceResponse = GetInvoiceResponses[keyof GetInvoiceResponses];
1281
+ export type UpdateChartResponses = {
1282
+ /**
1283
+ * Successfully updated.
1284
+ */
1285
+ 200: string;
1286
+ };
1287
+ export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
1220
1288
  export type ListFleetsData = {
1221
1289
  body?: never;
1222
1290
  path: {
@@ -1443,288 +1511,42 @@ export type UpdateClusterData = {
1443
1511
  /**
1444
1512
  * Unique identifier of the cluster. UUID v4 string in canonical form
1445
1513
  */
1446
- cluster_id: string;
1447
- };
1448
- query?: never;
1449
- url: '/clusters/{cluster_id}';
1450
- };
1451
- export type UpdateClusterResponses = {
1452
- /**
1453
- * Successfully updated. Returns updated cluster details.
1454
- */
1455
- 200: Cluster;
1456
- };
1457
- export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
1458
- export type GetJoinInformationData = {
1459
- body?: never;
1460
- path: {
1461
- /**
1462
- * Unique identifier of the cluster. UUID v4 string in canonical form
1463
- */
1464
- cluster_id: string;
1465
- };
1466
- query?: never;
1467
- url: '/clusters/{cluster_id}/join_information';
1468
- };
1469
- export type GetJoinInformationErrors = {
1470
- /**
1471
- * Not authenticated
1472
- */
1473
- 401: unknown;
1474
- };
1475
- export type GetJoinInformationResponses = {
1476
- /**
1477
- * An object of cluster join information
1478
- */
1479
- 200: Cluster;
1480
- };
1481
- 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;
1514
+ cluster_id: string;
1574
1515
  };
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;
1516
+ query?: never;
1517
+ url: '/clusters/{cluster_id}';
1582
1518
  };
1583
- export type GetInfrastructureError = GetInfrastructureErrors[keyof GetInfrastructureErrors];
1584
- export type GetInfrastructureResponses = {
1519
+ export type UpdateClusterResponses = {
1585
1520
  /**
1586
- * An array of instances returned by the search
1521
+ * Successfully updated. Returns updated cluster details.
1587
1522
  */
1588
- 200: Array<InfrastructureInstance>;
1523
+ 200: Cluster;
1589
1524
  };
1590
- export type GetInfrastructureResponse = GetInfrastructureResponses[keyof GetInfrastructureResponses];
1591
- export type GetFacetsData = {
1525
+ export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
1526
+ export type GetJoinInformationData = {
1592
1527
  body?: never;
1593
- path?: never;
1528
+ path: {
1529
+ /**
1530
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1531
+ */
1532
+ cluster_id: string;
1533
+ };
1594
1534
  query?: never;
1595
- url: '/infrastructure/facets';
1535
+ url: '/clusters/{cluster_id}/join_information';
1596
1536
  };
1597
- export type GetFacetsResponses = {
1537
+ export type GetJoinInformationErrors = {
1598
1538
  /**
1599
- * Calculates search facets of the infrastructure catalog
1539
+ * Not authenticated
1600
1540
  */
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';
1541
+ 401: unknown;
1718
1542
  };
1719
- export type GetRegionsResponses = {
1543
+ export type GetJoinInformationResponses = {
1720
1544
  /**
1721
- * Available Cloudfleet regions and Kubernetes versions.
1545
+ * An object of cluster join information
1722
1546
  */
1723
- 200: {
1724
- [key: string]: unknown;
1725
- };
1547
+ 200: ClusterJoinInformation;
1726
1548
  };
1727
- export type GetRegionsResponse = GetRegionsResponses[keyof GetRegionsResponses];
1549
+ export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
1728
1550
  export type ListInvitesData = {
1729
1551
  body?: never;
1730
1552
  path?: never;
@@ -1797,6 +1619,95 @@ export type DeleteInviteResponses = {
1797
1619
  */
1798
1620
  200: unknown;
1799
1621
  };
1622
+ export type ListMarketplaceChartsData = {
1623
+ body?: never;
1624
+ path?: never;
1625
+ query?: never;
1626
+ url: '/marketplace';
1627
+ };
1628
+ export type ListMarketplaceChartsErrors = {
1629
+ /**
1630
+ * Not authenticated
1631
+ */
1632
+ 401: unknown;
1633
+ };
1634
+ export type ListMarketplaceChartsResponses = {
1635
+ /**
1636
+ * An array of chart listings in the marketplace.
1637
+ */
1638
+ 200: Array<MarketplaceListing>;
1639
+ };
1640
+ export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
1641
+ export type GetMarketplaceChartFilesData = {
1642
+ body?: never;
1643
+ path: {
1644
+ /**
1645
+ * Name of the chart in the marketplace.
1646
+ */
1647
+ chart_name: string;
1648
+ /**
1649
+ * Version of the chart.
1650
+ */
1651
+ version: string;
1652
+ };
1653
+ query?: never;
1654
+ url: '/marketplace/{chart_name}/files/{version}';
1655
+ };
1656
+ export type GetMarketplaceChartFilesErrors = {
1657
+ /**
1658
+ * Chart or version not found
1659
+ */
1660
+ 404: unknown;
1661
+ };
1662
+ export type GetMarketplaceChartFilesResponses = {
1663
+ /**
1664
+ * Returns an object containing the chart files.
1665
+ */
1666
+ 200: MarketplaceListingFiles;
1667
+ };
1668
+ export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
1669
+ export type PostMcpData = {
1670
+ /**
1671
+ * JSON-RPC 2.0 request payload
1672
+ */
1673
+ body: {
1674
+ jsonrpc?: string;
1675
+ method?: string;
1676
+ id?: string | number;
1677
+ /**
1678
+ * Method-specific parameters
1679
+ */
1680
+ params?: {
1681
+ [key: string]: unknown;
1682
+ };
1683
+ };
1684
+ path?: never;
1685
+ query?: never;
1686
+ url: '/mcp';
1687
+ };
1688
+ export type PostMcpErrors = {
1689
+ /**
1690
+ * Not authenticated
1691
+ */
1692
+ 401: unknown;
1693
+ };
1694
+ export type PostMcpResponses = {
1695
+ /**
1696
+ * JSON-RPC 2.0 success or error response
1697
+ */
1698
+ 200: {
1699
+ jsonrpc?: string;
1700
+ id?: string | number;
1701
+ result?: {
1702
+ [key: string]: unknown;
1703
+ };
1704
+ error?: {
1705
+ code?: number;
1706
+ message?: string;
1707
+ };
1708
+ };
1709
+ };
1710
+ export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
1800
1711
  export type GetOrganizationData = {
1801
1712
  body?: never;
1802
1713
  path?: never;
@@ -1818,24 +1729,148 @@ export type CreateOrganizationData = {
1818
1729
  };
1819
1730
  export type CreateOrganizationResponses = {
1820
1731
  /**
1821
- * Successfully created a new organization. Returns organization details.
1732
+ * Successfully created a new organization.
1822
1733
  */
1823
- 200: Organization;
1734
+ 200: unknown;
1824
1735
  };
1825
- export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
1826
- export type UpdateOrganizationData = {
1827
- body: OrganizationUpdateInput;
1736
+ export type ListRepositoriesData = {
1737
+ body?: never;
1828
1738
  path?: never;
1829
1739
  query?: never;
1830
- url: '/organization';
1740
+ url: '/registry';
1831
1741
  };
1832
- export type UpdateOrganizationResponses = {
1742
+ export type ListRepositoriesErrors = {
1833
1743
  /**
1834
- * Successfully updated. Returns updated organization details.
1744
+ * Not authenticated
1835
1745
  */
1836
- 200: Organization;
1746
+ 401: unknown;
1747
+ /**
1748
+ * Internal server error
1749
+ */
1750
+ 500: unknown;
1751
+ };
1752
+ export type ListRepositoriesResponses = {
1753
+ /**
1754
+ * List of repositories
1755
+ */
1756
+ 200: Array<RegistryRepository>;
1757
+ };
1758
+ export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
1759
+ export type ListTagsData = {
1760
+ body?: never;
1761
+ path: {
1762
+ /**
1763
+ * Region where the repository is located
1764
+ */
1765
+ region: string;
1766
+ /**
1767
+ * Name of the repository
1768
+ */
1769
+ repository: string;
1770
+ };
1771
+ query?: never;
1772
+ url: '/registry/{region}/{repository}';
1773
+ };
1774
+ export type ListTagsErrors = {
1775
+ /**
1776
+ * Not authenticated
1777
+ */
1778
+ 401: unknown;
1779
+ /**
1780
+ * Repository not found
1781
+ */
1782
+ 404: unknown;
1783
+ /**
1784
+ * Internal server error
1785
+ */
1786
+ 500: unknown;
1787
+ };
1788
+ export type ListTagsResponses = {
1789
+ /**
1790
+ * Repository with tags
1791
+ */
1792
+ 200: RegistryRepositoryWithTags;
1793
+ };
1794
+ export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
1795
+ export type DeleteTagData = {
1796
+ body?: never;
1797
+ path: {
1798
+ /**
1799
+ * Region where the repository is located
1800
+ */
1801
+ region: string;
1802
+ /**
1803
+ * Name of the repository
1804
+ */
1805
+ repository: string;
1806
+ /**
1807
+ * Name of the tag
1808
+ */
1809
+ tag: string;
1810
+ };
1811
+ query?: never;
1812
+ url: '/registry/{region}/{repository}/{tag}';
1813
+ };
1814
+ export type DeleteTagErrors = {
1815
+ /**
1816
+ * Not authenticated
1817
+ */
1818
+ 401: unknown;
1819
+ /**
1820
+ * Tag not found
1821
+ */
1822
+ 404: unknown;
1823
+ /**
1824
+ * Internal server error
1825
+ */
1826
+ 500: unknown;
1837
1827
  };
1838
- export type UpdateOrganizationResponse = UpdateOrganizationResponses[keyof UpdateOrganizationResponses];
1828
+ export type DeleteTagResponses = {
1829
+ /**
1830
+ * Tag successfully deleted
1831
+ */
1832
+ 200: unknown;
1833
+ };
1834
+ export type GetTagData = {
1835
+ body?: never;
1836
+ path: {
1837
+ /**
1838
+ * Region where the repository is located
1839
+ */
1840
+ region: string;
1841
+ /**
1842
+ * Name of the repository
1843
+ */
1844
+ repository: string;
1845
+ /**
1846
+ * Name of the tag
1847
+ */
1848
+ tag: string;
1849
+ };
1850
+ query?: never;
1851
+ url: '/registry/{region}/{repository}/{tag}';
1852
+ };
1853
+ export type GetTagErrors = {
1854
+ /**
1855
+ * Not authenticated
1856
+ */
1857
+ 401: unknown;
1858
+ /**
1859
+ * Tag not found
1860
+ */
1861
+ 404: unknown;
1862
+ /**
1863
+ * Internal server error
1864
+ */
1865
+ 500: unknown;
1866
+ };
1867
+ export type GetTagResponses = {
1868
+ /**
1869
+ * Tag details
1870
+ */
1871
+ 200: RegistryTag;
1872
+ };
1873
+ export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
1839
1874
  export type ListTokensData = {
1840
1875
  body?: never;
1841
1876
  path?: never;
@@ -2092,53 +2127,4 @@ export type UpdateUserResponses = {
2092
2127
  200: User;
2093
2128
  };
2094
2129
  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
2130
  //# sourceMappingURL=types.gen.d.ts.map