@cloudfleet/sdk 0.0.1-e644e0d → 0.0.1-e717067

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 (71) 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 +149 -0
  4. package/dist/client/client.gen.js.map +1 -0
  5. package/dist/client/index.d.ts +8 -0
  6. package/dist/client/index.d.ts.map +1 -0
  7. package/dist/client/index.js +6 -0
  8. package/dist/client/index.js.map +1 -0
  9. package/dist/client/types.gen.d.ts +123 -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 +46 -0
  14. package/dist/client/utils.gen.d.ts.map +1 -0
  15. package/dist/client/utils.gen.js +286 -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 +55 -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/types.gen.d.ts +79 -0
  38. package/dist/core/types.gen.d.ts.map +1 -0
  39. package/dist/core/types.gen.js +3 -0
  40. package/dist/core/types.gen.js.map +1 -0
  41. package/dist/index.d.ts +3 -0
  42. package/dist/index.d.ts.map +1 -1
  43. package/dist/index.js +3 -0
  44. package/dist/index.js.map +1 -1
  45. package/dist/schemas.gen.d.ts +347 -399
  46. package/dist/schemas.gen.d.ts.map +1 -1
  47. package/dist/schemas.gen.js +348 -408
  48. package/dist/schemas.gen.js.map +1 -1
  49. package/dist/sdk.gen.d.ts +135 -133
  50. package/dist/sdk.gen.d.ts.map +1 -1
  51. package/dist/sdk.gen.js +189 -132
  52. package/dist/sdk.gen.js.map +1 -1
  53. package/dist/services/kubernetes/api.d.ts +196 -0
  54. package/dist/services/kubernetes/api.d.ts.map +1 -0
  55. package/dist/services/kubernetes/api.js +140 -0
  56. package/dist/services/kubernetes/api.js.map +1 -0
  57. package/dist/services/kubernetes/index.d.ts +44 -0
  58. package/dist/services/kubernetes/index.d.ts.map +1 -0
  59. package/dist/services/kubernetes/index.js +68 -0
  60. package/dist/services/kubernetes/index.js.map +1 -0
  61. package/dist/services/kubernetes/types.d.ts +1335 -0
  62. package/dist/services/kubernetes/types.d.ts.map +1 -0
  63. package/dist/services/kubernetes/types.js +2 -0
  64. package/dist/services/kubernetes/types.js.map +1 -0
  65. package/dist/types.gen.d.ts +386 -512
  66. package/dist/types.gen.d.ts.map +1 -1
  67. package/dist/zod.gen.d.ts +2774 -2299
  68. package/dist/zod.gen.d.ts.map +1 -1
  69. package/dist/zod.gen.js +846 -300
  70. package/dist/zod.gen.js.map +1 -1
  71. package/package.json +8 -5
@@ -67,10 +67,208 @@ export declare const BillingContactSchema: {
67
67
  readonly description: "Last name of the billing contact person.";
68
68
  readonly example: "Doe";
69
69
  };
70
+ readonly tax_id: {
71
+ readonly type: "string";
72
+ readonly nullable: true;
73
+ readonly description: "Tax ID of the organization.";
74
+ readonly example: "DE123456789";
75
+ };
76
+ readonly tax_id_type: {
77
+ readonly type: "string";
78
+ readonly nullable: true;
79
+ readonly description: "Type of the tax ID.";
80
+ readonly example: "de_vat";
81
+ readonly enum: readonly ["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", ""];
82
+ };
70
83
  };
71
84
  readonly required: readonly ["email", "first_name", "last_name"];
72
85
  readonly additionalProperties: false;
73
86
  };
87
+ export declare const BillingCreditsSchema: {
88
+ readonly type: "object";
89
+ readonly properties: {
90
+ readonly id: {
91
+ readonly type: "string";
92
+ readonly description: "Generated unique identifier of the promotional code.";
93
+ readonly example: "7kUZnH7nnKUFfvc4NK2KQF";
94
+ };
95
+ readonly date_created: {
96
+ readonly type: "string";
97
+ readonly format: "date-time";
98
+ readonly description: "Date of the credit application. ISO 8601 date string in the UTC timezone.";
99
+ readonly example: "2023-12-20T13:53:32.000Z";
100
+ };
101
+ readonly code: {
102
+ readonly type: "string";
103
+ readonly description: "Promotional code used by the customer.";
104
+ readonly example: "VQ4SCMB";
105
+ };
106
+ readonly description: {
107
+ readonly type: "string";
108
+ readonly description: "Description of the promotional code.";
109
+ readonly example: "10% off on all products";
110
+ };
111
+ readonly products: {
112
+ readonly type: "array";
113
+ readonly items: {
114
+ readonly type: "string";
115
+ };
116
+ readonly description: "List of product SKUs that the promotional code can be used on.";
117
+ readonly example: readonly ["cfke_controlplane", "cfke_connected_nodes", "infra_compute", "infra_storage", "infra_loadbalancing", "infra_traffic", "cfcr_storage"];
118
+ };
119
+ readonly type: {
120
+ readonly type: "string";
121
+ readonly description: "Type of the promotional code.";
122
+ readonly example: "credit";
123
+ readonly enum: readonly ["credit", "discount"];
124
+ };
125
+ readonly value: {
126
+ readonly type: "number";
127
+ readonly format: "float";
128
+ readonly description: "Value of the promotional code.";
129
+ readonly example: 10;
130
+ };
131
+ readonly billing_period: {
132
+ readonly type: "string";
133
+ readonly format: "date-time";
134
+ readonly description: "Date of the billing cycle. An ISO 8601 date string in the UTC timezone.";
135
+ readonly example: "2023-12-20T13:53:32.000Z";
136
+ };
137
+ readonly value_remaining: {
138
+ readonly type: "number";
139
+ readonly format: "float";
140
+ readonly description: "Value of the promotional code.";
141
+ readonly example: 10;
142
+ };
143
+ };
144
+ readonly required: readonly ["date_created", "code", "type", "value", "billing_period"];
145
+ readonly additionalProperties: false;
146
+ };
147
+ export declare const ChartCreateInputSchema: {
148
+ readonly type: "object";
149
+ readonly properties: {
150
+ readonly values: {
151
+ readonly type: "string";
152
+ readonly description: "Values to be used in the chart encoded as a JSON string.";
153
+ };
154
+ readonly version_channel: {
155
+ readonly type: "string";
156
+ readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
157
+ readonly description: "Desired version range or channel for the chart.";
158
+ readonly example: "2.x.x-cfke.x";
159
+ };
160
+ readonly name: {
161
+ readonly type: "string";
162
+ readonly maxLength: 63;
163
+ readonly minLength: 1;
164
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
165
+ readonly description: "Unique identifier of the chart deployment aka name of the helm release.";
166
+ readonly example: "postgresql-0";
167
+ };
168
+ readonly namespace: {
169
+ readonly type: "string";
170
+ readonly maxLength: 63;
171
+ readonly minLength: 1;
172
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
173
+ readonly description: "Namespace of the chart deployment";
174
+ readonly example: "default";
175
+ };
176
+ readonly chart: {
177
+ readonly type: "string";
178
+ readonly maxLength: 63;
179
+ readonly minLength: 1;
180
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
181
+ readonly description: "Name of the chart listing";
182
+ readonly example: "postgresql";
183
+ };
184
+ };
185
+ readonly required: readonly ["values", "version_channel", "name", "namespace", "chart"];
186
+ readonly additionalProperties: false;
187
+ };
188
+ export declare const ChartSchema: {
189
+ readonly type: "object";
190
+ readonly properties: {
191
+ readonly values: {
192
+ readonly type: "string";
193
+ readonly description: "Values to be used in the chart encoded as a JSON string.";
194
+ };
195
+ readonly version_channel: {
196
+ readonly type: "string";
197
+ readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
198
+ readonly description: "Desired version range or channel for the chart.";
199
+ readonly example: "2.x.x-cfke.x";
200
+ };
201
+ readonly name: {
202
+ readonly type: "string";
203
+ readonly maxLength: 63;
204
+ readonly minLength: 1;
205
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
206
+ readonly description: "Unique identifier of the chart deployment aka name of the helm release.";
207
+ readonly example: "postgresql-0";
208
+ };
209
+ readonly namespace: {
210
+ readonly type: "string";
211
+ readonly maxLength: 63;
212
+ readonly minLength: 1;
213
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
214
+ readonly description: "Namespace of the chart deployment";
215
+ readonly example: "default";
216
+ };
217
+ readonly chart: {
218
+ readonly type: "string";
219
+ readonly maxLength: 63;
220
+ readonly minLength: 1;
221
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
222
+ readonly description: "Name of the chart listing";
223
+ readonly example: "postgresql";
224
+ };
225
+ readonly status: {
226
+ readonly type: "string";
227
+ readonly description: "Status of the chart deployment.";
228
+ readonly example: "active";
229
+ readonly enum: readonly ["InstallSucceeded", "InstallFailed", "UpgradeSucceeded", "UpgradeFailed", "TestSucceeded", "TestFailed", "RollbackSucceeded", "RollbackFailed", "UninstallSucceeded", "UninstallFailed", "ArtifactFailed", "DependencyNotReady", "Progressing", "SourceNotReady"];
230
+ };
231
+ readonly version_current: {
232
+ readonly type: "string";
233
+ readonly description: "Current version of the chart deployment.";
234
+ readonly example: "2.1.33-cfke.11";
235
+ };
236
+ readonly created_at: {
237
+ readonly type: "string";
238
+ readonly description: "Creation date and time of the chart deployment.";
239
+ readonly example: "2024-09-12T09:11:27Z";
240
+ };
241
+ readonly updated_at: {
242
+ readonly type: "string";
243
+ readonly description: "Last update date and time of the chart deployment.";
244
+ readonly example: "2024-09-12T09:11:27Z";
245
+ };
246
+ readonly ready: {
247
+ readonly type: "boolean";
248
+ readonly description: "Indicates if the chart deployment is ready to be used.";
249
+ readonly example: true;
250
+ };
251
+ };
252
+ readonly required: readonly ["values", "version_channel", "name", "namespace", "chart", "status", "version_current", "created_at", "updated_at", "ready"];
253
+ readonly additionalProperties: false;
254
+ };
255
+ export declare const ChartUpdateInputSchema: {
256
+ readonly type: "object";
257
+ readonly properties: {
258
+ readonly values: {
259
+ readonly type: "string";
260
+ readonly description: "Values to be used in the chart encoded as a JSON string.";
261
+ };
262
+ readonly version_channel: {
263
+ readonly type: "string";
264
+ readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
265
+ readonly description: "Desired version range or channel for the chart.";
266
+ readonly example: "2.x.x-cfke.x";
267
+ };
268
+ };
269
+ readonly required: readonly ["values", "version_channel"];
270
+ readonly additionalProperties: false;
271
+ };
74
272
  export declare const ClusterCreateInputSchema: {
75
273
  readonly type: "object";
76
274
  readonly properties: {
@@ -82,19 +280,19 @@ export declare const ClusterCreateInputSchema: {
82
280
  readonly description: "Name of the cluster.";
83
281
  readonly example: "production-cluster";
84
282
  };
85
- readonly region: {
86
- readonly type: "string";
87
- readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\". This field can not be updated after creation.";
88
- readonly default: "staging";
89
- readonly example: "northamerica-central-1";
90
- readonly enum: readonly ["staging", "northamerica-central-1"];
91
- };
92
283
  readonly tier: {
93
284
  readonly type: "string";
94
285
  readonly description: "Tier of the cluster.";
95
286
  readonly example: "pro";
96
287
  readonly enum: readonly ["basic", "pro"];
97
288
  };
289
+ readonly region: {
290
+ readonly type: "string";
291
+ readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\", \"europe-central-1a\", \"northamerica-central-1a\". This field can not be updated after creation.";
292
+ readonly default: "staging";
293
+ readonly example: "northamerica-central-1a";
294
+ readonly enum: readonly ["staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a"];
295
+ };
98
296
  readonly version_channel: {
99
297
  readonly type: "string";
100
298
  readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
@@ -148,8 +346,13 @@ export declare const ClusterJoinInformationSchema: {
148
346
  readonly description: "Containerd version of the cluster.";
149
347
  readonly example: "1.7.19";
150
348
  };
349
+ readonly nvidia_driver: {
350
+ readonly type: "string";
351
+ readonly description: "NVIDIA driver version of the cluster.";
352
+ readonly example: "565.0.0";
353
+ };
151
354
  };
152
- readonly required: readonly ["kubernetes", "tailscale", "containerd"];
355
+ readonly required: readonly ["kubernetes", "tailscale", "containerd", "nvidia_driver"];
153
356
  readonly additionalProperties: false;
154
357
  readonly description: "Versions of the different components of the cluster.";
155
358
  };
@@ -191,19 +394,19 @@ export declare const ClusterSchema: {
191
394
  readonly description: "Name of the cluster.";
192
395
  readonly example: "production-cluster";
193
396
  };
194
- readonly region: {
195
- readonly type: "string";
196
- readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\". This field can not be updated after creation.";
197
- readonly default: "staging";
198
- readonly example: "northamerica-central-1";
199
- readonly enum: readonly ["staging", "northamerica-central-1"];
200
- };
201
397
  readonly tier: {
202
398
  readonly type: "string";
203
399
  readonly description: "Tier of the cluster.";
204
400
  readonly example: "pro";
205
401
  readonly enum: readonly ["basic", "pro"];
206
402
  };
403
+ readonly region: {
404
+ readonly type: "string";
405
+ readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\", \"europe-central-1a\", \"northamerica-central-1a\". This field can not be updated after creation.";
406
+ readonly default: "staging";
407
+ readonly example: "northamerica-central-1a";
408
+ readonly enum: readonly ["staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a"];
409
+ };
207
410
  readonly version_channel: {
208
411
  readonly type: "string";
209
412
  readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
@@ -274,6 +477,12 @@ export declare const ClusterUpdateInputSchema: {
274
477
  readonly description: "Name of the cluster.";
275
478
  readonly example: "production-cluster";
276
479
  };
480
+ readonly tier: {
481
+ readonly type: "string";
482
+ readonly description: "Tier of the cluster.";
483
+ readonly example: "pro";
484
+ readonly enum: readonly ["basic", "pro"];
485
+ };
277
486
  readonly version_channel: {
278
487
  readonly type: "string";
279
488
  readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
@@ -281,6 +490,7 @@ export declare const ClusterUpdateInputSchema: {
281
490
  readonly example: "1.29.x-cfke.x";
282
491
  };
283
492
  };
493
+ readonly required: readonly ["tier"];
284
494
  readonly additionalProperties: false;
285
495
  };
286
496
  export declare const FleetCreateInputSchema: {
@@ -316,31 +526,19 @@ export declare const FleetCreateInputSchema: {
316
526
  readonly additionalProperties: false;
317
527
  };
318
528
  readonly hetzner: {
319
- readonly oneOf: readonly [{
320
- readonly type: "object";
321
- readonly properties: {
322
- readonly enabled: {
323
- readonly type: "boolean";
324
- readonly default: true;
325
- };
326
- readonly apiKey: {
327
- readonly type: "string";
328
- };
529
+ readonly type: "object";
530
+ readonly properties: {
531
+ readonly enabled: {
532
+ readonly type: "boolean";
533
+ readonly default: true;
329
534
  };
330
- readonly additionalProperties: false;
331
- }, {
332
- readonly type: "object";
333
- readonly properties: {
334
- readonly apiKey: {
335
- readonly type: "string";
336
- };
337
- readonly enabled: {
338
- readonly type: "boolean";
339
- readonly default: true;
340
- };
535
+ readonly apiKey: {
536
+ readonly type: "string";
537
+ readonly description: "Hetzner Cloud API key with read / write access";
341
538
  };
342
- readonly additionalProperties: false;
343
- }];
539
+ };
540
+ readonly required: readonly ["apiKey"];
541
+ readonly additionalProperties: false;
344
542
  };
345
543
  readonly aws: {
346
544
  readonly type: "object";
@@ -365,13 +563,8 @@ export declare const FleetCreateInputSchema: {
365
563
  readonly description: "Unique identifier of the kubernetes fleet.";
366
564
  readonly example: "new-clouds-fleet";
367
565
  };
368
- readonly type: {
369
- readonly type: "string";
370
- readonly description: "Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.";
371
- readonly enum: readonly ["managed", "connected"];
372
- };
373
566
  };
374
- readonly required: readonly ["id", "type"];
567
+ readonly required: readonly ["id"];
375
568
  readonly additionalProperties: false;
376
569
  };
377
570
  export declare const FleetSchema: {
@@ -407,31 +600,19 @@ export declare const FleetSchema: {
407
600
  readonly additionalProperties: false;
408
601
  };
409
602
  readonly hetzner: {
410
- readonly oneOf: readonly [{
411
- readonly type: "object";
412
- readonly properties: {
413
- readonly enabled: {
414
- readonly type: "boolean";
415
- readonly default: true;
416
- };
417
- readonly apiKey: {
418
- readonly type: "string";
419
- };
603
+ readonly type: "object";
604
+ readonly properties: {
605
+ readonly enabled: {
606
+ readonly type: "boolean";
607
+ readonly default: true;
420
608
  };
421
- readonly additionalProperties: false;
422
- }, {
423
- readonly type: "object";
424
- readonly properties: {
425
- readonly apiKey: {
426
- readonly type: "string";
427
- };
428
- readonly enabled: {
429
- readonly type: "boolean";
430
- readonly default: true;
431
- };
609
+ readonly apiKey: {
610
+ readonly type: "string";
611
+ readonly description: "Hetzner Cloud API key with read / write access";
432
612
  };
433
- readonly additionalProperties: false;
434
- }];
613
+ };
614
+ readonly required: readonly ["apiKey"];
615
+ readonly additionalProperties: false;
435
616
  };
436
617
  readonly aws: {
437
618
  readonly type: "object";
@@ -456,13 +637,8 @@ export declare const FleetSchema: {
456
637
  readonly description: "Unique identifier of the kubernetes fleet.";
457
638
  readonly example: "new-clouds-fleet";
458
639
  };
459
- readonly type: {
460
- readonly type: "string";
461
- readonly description: "Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.";
462
- readonly enum: readonly ["managed", "connected"];
463
- };
464
640
  };
465
- readonly required: readonly ["id", "type"];
641
+ readonly required: readonly ["id"];
466
642
  readonly additionalProperties: false;
467
643
  };
468
644
  export declare const FleetUpdateInputSchema: {
@@ -498,31 +674,19 @@ export declare const FleetUpdateInputSchema: {
498
674
  readonly additionalProperties: false;
499
675
  };
500
676
  readonly hetzner: {
501
- readonly oneOf: readonly [{
502
- readonly type: "object";
503
- readonly properties: {
504
- readonly enabled: {
505
- readonly type: "boolean";
506
- readonly default: true;
507
- };
508
- readonly apiKey: {
509
- readonly type: "string";
510
- };
677
+ readonly type: "object";
678
+ readonly properties: {
679
+ readonly enabled: {
680
+ readonly type: "boolean";
681
+ readonly default: true;
511
682
  };
512
- readonly additionalProperties: false;
513
- }, {
514
- readonly type: "object";
515
- readonly properties: {
516
- readonly apiKey: {
517
- readonly type: "string";
518
- };
519
- readonly enabled: {
520
- readonly type: "boolean";
521
- readonly default: true;
522
- };
683
+ readonly apiKey: {
684
+ readonly type: "string";
685
+ readonly description: "Hetzner Cloud API key with read / write access";
523
686
  };
524
- readonly additionalProperties: false;
525
- }];
687
+ };
688
+ readonly required: readonly ["apiKey"];
689
+ readonly additionalProperties: false;
526
690
  };
527
691
  readonly aws: {
528
692
  readonly type: "object";
@@ -542,276 +706,6 @@ export declare const FleetUpdateInputSchema: {
542
706
  };
543
707
  readonly additionalProperties: false;
544
708
  };
545
- export declare const InfrastructureFilterSchema: {
546
- readonly type: "object";
547
- readonly properties: {
548
- readonly version: {
549
- readonly type: "integer";
550
- readonly description: "Version of the infrastructure filter definition. Currently only version 1 is supported.";
551
- readonly default: 1;
552
- readonly example: 1;
553
- readonly enum: readonly [1];
554
- };
555
- readonly provider: {
556
- readonly type: "array";
557
- readonly items: {
558
- readonly type: "string";
559
- };
560
- readonly description: "Limit selection of cloud providers to this list. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)";
561
- readonly example: "AWS";
562
- };
563
- readonly region: {
564
- readonly type: "array";
565
- readonly items: {
566
- readonly type: "string";
567
- };
568
- readonly description: "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/)";
569
- readonly example: "northamerica";
570
- };
571
- readonly sub_region: {
572
- readonly type: "array";
573
- readonly items: {
574
- readonly type: "string";
575
- };
576
- readonly description: "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/)";
577
- readonly example: "west";
578
- };
579
- readonly csp_region: {
580
- readonly type: "array";
581
- readonly items: {
582
- readonly type: "string";
583
- };
584
- readonly description: "Limits selection of cloud regions to this list of canonical provider regions";
585
- readonly example: "eu-west-1";
586
- };
587
- readonly instance_type: {
588
- readonly type: "array";
589
- readonly items: {
590
- readonly type: "string";
591
- };
592
- readonly description: "Limits selection of instance types to this list. Instance / VM type as defined by the cloud service provider";
593
- readonly example: "p4d.24xlarge";
594
- };
595
- readonly accelerator_name: {
596
- readonly type: "array";
597
- readonly items: {
598
- readonly type: "string";
599
- };
600
- readonly description: "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";
601
- readonly example: "A100";
602
- };
603
- readonly accelerator_manufacturer: {
604
- readonly type: "array";
605
- readonly items: {
606
- readonly type: "string";
607
- };
608
- readonly description: "List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer";
609
- readonly example: "NVIDIA";
610
- };
611
- readonly accelerator_count_min: {
612
- readonly type: "integer";
613
- readonly minimum: 0;
614
- readonly description: "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.";
615
- readonly example: 1;
616
- };
617
- readonly accelerator_count_max: {
618
- readonly type: "integer";
619
- readonly minimum: 0;
620
- readonly description: "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.";
621
- readonly example: 8;
622
- };
623
- readonly accelerator_memory_min: {
624
- readonly type: "number";
625
- readonly format: "float";
626
- readonly description: "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";
627
- readonly example: 40;
628
- };
629
- readonly accelerator_memory_max: {
630
- readonly type: "number";
631
- readonly format: "float";
632
- readonly description: "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";
633
- readonly example: 80;
634
- };
635
- readonly memory_min: {
636
- readonly type: "integer";
637
- readonly minimum: 0;
638
- readonly description: "Minimum amount of RAM in gibibytes (GiB)";
639
- readonly example: 32;
640
- };
641
- readonly memory_max: {
642
- readonly type: "integer";
643
- readonly minimum: 0;
644
- readonly description: "Maximum amount of RAM in gibibytes (GiB)";
645
- readonly example: 64;
646
- };
647
- readonly vcpu_min: {
648
- readonly type: "integer";
649
- readonly minimum: 1;
650
- readonly description: "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.";
651
- readonly example: 32;
652
- };
653
- readonly vcpu_max: {
654
- readonly type: "integer";
655
- readonly minimum: 1;
656
- readonly description: "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.";
657
- readonly example: 128;
658
- };
659
- readonly storage_total_min: {
660
- readonly type: "number";
661
- readonly format: "float";
662
- readonly minimum: 10;
663
- readonly description: "Minimum total storage in GiB (attached and local)";
664
- readonly example: 128;
665
- };
666
- readonly storage_total_max: {
667
- readonly type: "number";
668
- readonly format: "float";
669
- readonly minimum: 10;
670
- readonly description: "Maximum total storage in GiB (attached and local)";
671
- readonly example: 256;
672
- };
673
- readonly storage_local_min: {
674
- readonly type: "number";
675
- readonly format: "float";
676
- readonly description: "Minimum volume of directly attached, block-device local storage in gibibytes (GiB)";
677
- readonly example: 24;
678
- };
679
- readonly storage_local_max: {
680
- readonly type: "number";
681
- readonly format: "float";
682
- readonly description: "Maximum volume of directly attached, block-device local storage in gibibytes (GiB)";
683
- readonly example: 128;
684
- };
685
- readonly price_min: {
686
- readonly type: "number";
687
- readonly format: "float";
688
- readonly description: "Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.";
689
- readonly example: 10;
690
- };
691
- readonly price_max: {
692
- readonly type: "number";
693
- readonly format: "float";
694
- readonly description: "Maximum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.";
695
- readonly example: 50;
696
- };
697
- };
698
- readonly additionalProperties: false;
699
- };
700
- export declare const InfrastructureInstanceSchema: {
701
- readonly type: "object";
702
- readonly properties: {
703
- readonly sku: {
704
- readonly type: "string";
705
- readonly description: "Cloudfleet instance SKU. Has a format of <provider>-<csp_region>-<instance_type>.";
706
- readonly example: "AWS-EU-WEST-1C-P4D.24XLARGE";
707
- };
708
- readonly provider: {
709
- readonly type: "string";
710
- readonly description: "Normalized cloud service provider name. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)";
711
- readonly example: "AWS";
712
- };
713
- readonly region: {
714
- readonly type: "string";
715
- readonly description: "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/)";
716
- readonly example: "europe";
717
- };
718
- readonly sub_region: {
719
- readonly type: "string";
720
- readonly description: "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/)";
721
- readonly example: "west";
722
- };
723
- readonly csp_region: {
724
- readonly type: "string";
725
- readonly description: "Region as defined by the cloud service provider";
726
- readonly example: "eu-west-1";
727
- };
728
- readonly csp_zone: {
729
- readonly type: "string";
730
- readonly description: "Availability zone as defined by the cloud service provider";
731
- readonly example: "eu-west-1a";
732
- };
733
- readonly instance_type: {
734
- readonly type: "string";
735
- readonly description: "Instance / VM type as defined by the cloud service provider";
736
- readonly example: "p4d.24xlarge";
737
- };
738
- readonly architecture: {
739
- readonly type: "string";
740
- readonly description: "Instance CPU architecture";
741
- readonly example: "amd64";
742
- };
743
- readonly os: {
744
- readonly type: "string";
745
- readonly description: "Instance operating system";
746
- readonly example: "linux";
747
- };
748
- readonly vcpu: {
749
- readonly type: "number";
750
- readonly format: "float";
751
- readonly minimum: 1;
752
- readonly description: "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.";
753
- readonly example: 96;
754
- };
755
- readonly memory: {
756
- readonly type: "number";
757
- readonly format: "float";
758
- readonly minimum: 1;
759
- readonly description: "Total amount of RAM in gibibytes (GiB)";
760
- readonly example: 1152;
761
- };
762
- readonly local_storage: {
763
- readonly type: "number";
764
- readonly format: "float";
765
- readonly description: "Volume of directly attached, block-device local storage in gibibytes (GiB)";
766
- readonly example: 8000;
767
- };
768
- readonly accelerator_name: {
769
- readonly type: "string";
770
- readonly description: "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";
771
- readonly example: "A100";
772
- };
773
- readonly accelerator_manufacturer: {
774
- readonly type: "string";
775
- readonly description: "Normalized manufacturer name of accelerator. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer";
776
- readonly example: "NVIDIA";
777
- };
778
- readonly accelerator_count: {
779
- readonly type: "integer";
780
- readonly description: "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.";
781
- readonly example: 8;
782
- };
783
- readonly accelerator_memory: {
784
- readonly type: "number";
785
- readonly format: "float";
786
- readonly description: "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";
787
- readonly example: 40;
788
- };
789
- readonly pods_capacity: {
790
- readonly type: "number";
791
- readonly format: "float";
792
- readonly description: "Maximum number of pods that can be run on this instance type.";
793
- readonly example: 110;
794
- };
795
- readonly capacity_type: {
796
- readonly type: "string";
797
- readonly description: "Capacity type of the instance. E.g. `on-demand`, `spot`.";
798
- readonly example: "on-demand";
799
- };
800
- readonly price: {
801
- readonly type: "number";
802
- readonly format: "float";
803
- readonly description: "Price of running the inctance per hour in USD as defined by the cloud service provider";
804
- readonly example: 35.39655;
805
- };
806
- readonly available: {
807
- readonly type: "boolean";
808
- readonly description: "Whether this instance type is available.";
809
- readonly example: true;
810
- };
811
- };
812
- readonly required: readonly ["sku", "provider", "region", "sub_region", "csp_region", "csp_zone", "instance_type", "architecture", "os", "vcpu", "memory", "local_storage", "price"];
813
- readonly additionalProperties: false;
814
- };
815
709
  export declare const InviteSchema: {
816
710
  readonly type: "object";
817
711
  readonly properties: {
@@ -1191,6 +1085,88 @@ export declare const InvoiceSchema: {
1191
1085
  };
1192
1086
  readonly additionalProperties: false;
1193
1087
  };
1088
+ export declare const MarketplaceListingSchema: {
1089
+ readonly type: "object";
1090
+ readonly properties: {
1091
+ readonly id: {
1092
+ readonly type: "string";
1093
+ readonly maxLength: 63;
1094
+ readonly minLength: 1;
1095
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
1096
+ readonly description: "Id of the chart listing";
1097
+ readonly example: "portworx-enterprise-disaster-recovery-baremetal";
1098
+ };
1099
+ readonly name: {
1100
+ readonly type: "string";
1101
+ readonly description: "Name of the chart listing";
1102
+ readonly example: "Portworx Enterprise + Disaster Recovery - Baremetal";
1103
+ };
1104
+ readonly developer: {
1105
+ readonly type: "string";
1106
+ readonly description: "Author of the chart listing";
1107
+ readonly example: "Portworx";
1108
+ };
1109
+ readonly description: {
1110
+ readonly type: "string";
1111
+ readonly description: "Short description of the chart listing";
1112
+ readonly example: "Run Kubernetes with unmatched scalability, availability, and self-service access to any storage";
1113
+ };
1114
+ readonly logoUrl: {
1115
+ readonly type: "string";
1116
+ readonly description: "Logo of the chart listing";
1117
+ readonly example: "https://portworx.com/wp-content/themes/portworx/assets/images/header/portworx-logo.png";
1118
+ };
1119
+ readonly longDescription: {
1120
+ readonly type: "string";
1121
+ readonly description: "Long description of the chart listing";
1122
+ readonly example: "Portworx-Enterprise is the complete multi-cloud ready Kubernetes storage platform for running mission-critical apps in production....";
1123
+ };
1124
+ readonly categories: {
1125
+ readonly type: "array";
1126
+ readonly items: {
1127
+ readonly type: "string";
1128
+ readonly example: "AI & Machine Learning";
1129
+ };
1130
+ readonly description: "Tags of the chart";
1131
+ };
1132
+ readonly version_channels: {
1133
+ readonly type: "array";
1134
+ readonly items: {
1135
+ readonly type: "string";
1136
+ readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
1137
+ readonly description: "Version of the chart.";
1138
+ readonly example: "2.x.x-cfke.x";
1139
+ };
1140
+ };
1141
+ readonly value_schemas: {
1142
+ readonly type: "array";
1143
+ readonly items: {
1144
+ readonly type: "object";
1145
+ readonly properties: {
1146
+ readonly version: {
1147
+ readonly type: "string";
1148
+ readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
1149
+ readonly description: "Version of the chart.";
1150
+ readonly example: "2.1.1-cfke.123";
1151
+ };
1152
+ readonly schema: {
1153
+ readonly type: "string";
1154
+ readonly description: "Schema of the chart values. JSON Schema as string";
1155
+ };
1156
+ readonly placeholder: {
1157
+ readonly type: "string";
1158
+ readonly description: "Schema of the chart values";
1159
+ readonly example: "foo: 1\nbar: example";
1160
+ };
1161
+ };
1162
+ readonly required: readonly ["version", "schema", "placeholder"];
1163
+ readonly additionalProperties: false;
1164
+ };
1165
+ };
1166
+ };
1167
+ readonly required: readonly ["id", "name", "developer", "description", "logoUrl", "longDescription", "categories", "version_channels", "value_schemas"];
1168
+ readonly additionalProperties: false;
1169
+ };
1194
1170
  export declare const OrganizationCreateInputSchema: {
1195
1171
  readonly type: "object";
1196
1172
  readonly properties: {
@@ -1280,12 +1256,6 @@ export declare const OrganizationSchema: {
1280
1256
  readonly description: "Maximum number of fleets that can be created per cluster.";
1281
1257
  readonly example: 999;
1282
1258
  };
1283
- readonly managed_fleets_cpu_max: {
1284
- readonly type: "integer";
1285
- readonly minimum: 0;
1286
- readonly description: "Maximum number of CPU cores per managed fleet.";
1287
- readonly example: 999;
1288
- };
1289
1259
  readonly cluster_tiers: {
1290
1260
  readonly type: "array";
1291
1261
  readonly items: {
@@ -1327,7 +1297,7 @@ export declare const OrganizationSchema: {
1327
1297
  readonly description: "List of CFKE control plane versions available for the organization.";
1328
1298
  };
1329
1299
  };
1330
- readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "managed_fleets_cpu_max", "cluster_tiers", "regions", "versions"];
1300
+ readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions"];
1331
1301
  readonly additionalProperties: false;
1332
1302
  readonly description: "For security reasons, platform quota is controlled by Cloudfleet and can be updated only by Cloudfleet administrators. Please open a support ticket if you need to change the platform quota.";
1333
1303
  };
@@ -1489,13 +1459,13 @@ export declare const UsageSchema: {
1489
1459
  readonly type: "string";
1490
1460
  readonly description: "Tier of the cluster.";
1491
1461
  readonly example: "pro";
1492
- readonly enum: readonly [""];
1462
+ readonly enum: readonly ["basic", "pro", ""];
1493
1463
  };
1494
1464
  readonly product: {
1495
1465
  readonly type: "string";
1496
1466
  readonly description: "The product the usage is associated with";
1497
- readonly example: "cfke_infra_compute";
1498
- readonly enum: readonly ["cfke_infra_compute", "cfke_nodes", "cfke_controlplane"];
1467
+ readonly example: "cfke_controlplane";
1468
+ readonly enum: readonly ["cfke_controlplane", "cfke_connected_nodes", "infra_compute", "infra_storage", "infra_loadbalancing", "infra_traffic", "cfcr_storage"];
1499
1469
  };
1500
1470
  readonly node_name: {
1501
1471
  readonly type: "string";
@@ -1587,7 +1557,7 @@ export declare const UserCreateInputSchema: {
1587
1557
  readonly password: {
1588
1558
  readonly type: "string";
1589
1559
  readonly minLength: 8;
1590
- readonly description: "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.";
1560
+ readonly description: "User password. Must be at least 8 characters long.";
1591
1561
  };
1592
1562
  readonly status: {
1593
1563
  readonly type: "string";
@@ -1652,28 +1622,6 @@ export declare const UserSchema: {
1652
1622
  readonly description: "Creation date of the user. ISO 8601 date string in UTC timezone";
1653
1623
  readonly example: "2023-11-02T16:08:14.338Z";
1654
1624
  };
1655
- readonly cluster_permissions: {
1656
- readonly type: "array";
1657
- readonly items: {
1658
- readonly type: "object";
1659
- readonly properties: {
1660
- readonly cluster_id: {
1661
- readonly type: "string";
1662
- readonly format: "uuid";
1663
- readonly description: "Unique identifier of the cluster. UUID v4 string in canonical form";
1664
- readonly example: "035ce46d-44d8-4e58-a8a2-b0192d1c27df";
1665
- };
1666
- readonly permissions: {
1667
- readonly type: "string";
1668
- readonly description: "User permissions to access the cluster. Can be `readwrite` or `readonly`.";
1669
- readonly example: "readwrite";
1670
- readonly enum: readonly ["readwrite", "readonly"];
1671
- };
1672
- };
1673
- readonly required: readonly ["cluster_id", "permissions"];
1674
- readonly additionalProperties: false;
1675
- };
1676
- };
1677
1625
  };
1678
1626
  readonly required: readonly ["email", "first_name", "last_name", "role", "status", "id", "date_created"];
1679
1627
  readonly additionalProperties: false;