@cloudfleet/sdk 0.0.1-638a41b → 0.0.1-64ee009

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 +235 -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 +118 -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 +229 -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 +4 -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 +26 -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 +44 -0
  30. package/dist/core/params.gen.d.ts.map +1 -0
  31. package/dist/core/params.gen.js +101 -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 +107 -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 +93 -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 +134 -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 +983 -887
  58. package/dist/schemas.gen.d.ts.map +1 -1
  59. package/dist/schemas.gen.js +1458 -937
  60. package/dist/schemas.gen.js.map +1 -1
  61. package/dist/sdk.gen.d.ts +216 -142
  62. package/dist/sdk.gen.d.ts.map +1 -1
  63. package/dist/sdk.gen.js +269 -226
  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 +914 -785
  78. package/dist/types.gen.d.ts.map +1 -1
  79. package/dist/zod.gen.d.ts +1881 -2401
  80. package/dist/zod.gen.d.ts.map +1 -1
  81. package/dist/zod.gen.js +875 -841
  82. package/dist/zod.gen.js.map +1 -1
  83. package/package.json +12 -5
@@ -57,18 +57,203 @@ export declare const BillingContactSchema: {
57
57
  readonly description: "Email address used for billing as a string.";
58
58
  readonly example: "email@example.com";
59
59
  };
60
- readonly first_name: {
60
+ readonly individual_name: {
61
61
  readonly type: "string";
62
- readonly description: "First name of the billing contact person.";
63
- readonly example: "John";
62
+ readonly description: "Name of the billing contact person.";
63
+ readonly example: "John Doe";
64
64
  };
65
- readonly last_name: {
65
+ readonly tax_id: {
66
66
  readonly type: "string";
67
- readonly description: "Last name of the billing contact person.";
68
- readonly example: "Doe";
67
+ readonly nullable: true;
68
+ readonly description: "Tax ID of the organization.";
69
+ readonly example: "DE123456789";
70
+ };
71
+ readonly tax_id_type: {
72
+ readonly type: "string";
73
+ readonly nullable: true;
74
+ readonly description: "Type of the tax ID.";
75
+ readonly example: "de_vat";
76
+ 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", ""];
77
+ };
78
+ };
79
+ readonly required: readonly ["email", "individual_name"];
80
+ readonly additionalProperties: false;
81
+ };
82
+ export declare const BillingCreditsSchema: {
83
+ readonly type: "object";
84
+ readonly properties: {
85
+ readonly id: {
86
+ readonly type: "string";
87
+ readonly description: "Generated unique identifier of the promotional code.";
88
+ readonly example: "7kUZnH7nnKUFfvc4NK2KQF";
89
+ };
90
+ readonly type: {
91
+ readonly type: "string";
92
+ readonly description: "Type of the promotional code.";
93
+ readonly example: "credit";
94
+ readonly enum: readonly ["credit", "discount"];
95
+ };
96
+ readonly date_start: {
97
+ readonly type: "string";
98
+ readonly format: "date-time";
99
+ readonly description: "Timestamp when the credit becomes active. ISO 8601 date string in the UTC timezone.";
100
+ readonly example: "2023-12-20T13:53:32.000Z";
101
+ };
102
+ readonly date_end: {
103
+ readonly type: "string";
104
+ readonly format: "date-time";
105
+ readonly description: "Timestamp when the credit expires or becomes inactive. ISO 8601 date string in the UTC timezone.";
106
+ readonly example: "2023-12-20T13:53:32.000Z";
107
+ };
108
+ readonly code: {
109
+ readonly type: "string";
110
+ readonly description: "Promotional code used by the customer.";
111
+ readonly example: "VQ4SCMB";
112
+ };
113
+ readonly description: {
114
+ readonly type: "string";
115
+ readonly description: "Description of the promotional code.";
116
+ readonly example: "10% off on all products";
117
+ };
118
+ readonly value_total: {
119
+ readonly type: "number";
120
+ readonly format: "float";
121
+ readonly description: "Total value of the promotional code.";
122
+ readonly example: 10;
123
+ };
124
+ readonly value_remaining: {
125
+ readonly type: "number";
126
+ readonly format: "float";
127
+ readonly description: "Remaining value of the promotional code.";
128
+ readonly example: 8;
129
+ };
130
+ };
131
+ readonly required: readonly ["type", "date_start", "code", "value_total"];
132
+ readonly additionalProperties: false;
133
+ };
134
+ export declare const ChartCreateInputSchema: {
135
+ readonly type: "object";
136
+ readonly properties: {
137
+ readonly values: {
138
+ readonly type: "string";
139
+ readonly description: "Values to be used in the chart encoded as a JSON string.";
140
+ };
141
+ readonly version_channel: {
142
+ readonly type: "string";
143
+ 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-]+)*))?$";
144
+ readonly description: "Desired version range or channel for the chart.";
145
+ readonly example: "2.x.x-cfke.x";
146
+ };
147
+ readonly name: {
148
+ readonly type: "string";
149
+ readonly maxLength: 63;
150
+ readonly minLength: 1;
151
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
152
+ readonly description: "Unique identifier of the chart deployment aka name of the helm release.";
153
+ readonly example: "postgresql-0";
154
+ };
155
+ readonly namespace: {
156
+ readonly type: "string";
157
+ readonly maxLength: 63;
158
+ readonly minLength: 1;
159
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
160
+ readonly description: "Namespace of the chart deployment";
161
+ readonly example: "default";
162
+ };
163
+ readonly chart: {
164
+ readonly type: "string";
165
+ readonly maxLength: 63;
166
+ readonly minLength: 1;
167
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
168
+ readonly description: "Name of the chart listing";
169
+ readonly example: "postgresql";
170
+ };
171
+ };
172
+ readonly required: readonly ["values", "version_channel", "name", "namespace", "chart"];
173
+ readonly additionalProperties: false;
174
+ };
175
+ export declare const ChartSchema: {
176
+ readonly type: "object";
177
+ readonly properties: {
178
+ readonly values: {
179
+ readonly type: "string";
180
+ readonly description: "Values to be used in the chart encoded as a JSON string.";
181
+ };
182
+ readonly version_channel: {
183
+ readonly type: "string";
184
+ 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-]+)*))?$";
185
+ readonly description: "Desired version range or channel for the chart.";
186
+ readonly example: "2.x.x-cfke.x";
187
+ };
188
+ readonly name: {
189
+ readonly type: "string";
190
+ readonly maxLength: 63;
191
+ readonly minLength: 1;
192
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
193
+ readonly description: "Unique identifier of the chart deployment aka name of the helm release.";
194
+ readonly example: "postgresql-0";
195
+ };
196
+ readonly namespace: {
197
+ readonly type: "string";
198
+ readonly maxLength: 63;
199
+ readonly minLength: 1;
200
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
201
+ readonly description: "Namespace of the chart deployment";
202
+ readonly example: "default";
203
+ };
204
+ readonly chart: {
205
+ readonly type: "string";
206
+ readonly maxLength: 63;
207
+ readonly minLength: 1;
208
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
209
+ readonly description: "Name of the chart listing";
210
+ readonly example: "postgresql";
211
+ };
212
+ readonly status: {
213
+ readonly type: "string";
214
+ readonly description: "Status of the chart deployment.";
215
+ readonly example: "active";
216
+ readonly enum: readonly ["InstallSucceeded", "InstallFailed", "UpgradeSucceeded", "UpgradeFailed", "TestSucceeded", "TestFailed", "RollbackSucceeded", "RollbackFailed", "UninstallSucceeded", "UninstallFailed", "ArtifactFailed", "DependencyNotReady", "Progressing", "SourceNotReady"];
217
+ };
218
+ readonly version_current: {
219
+ readonly type: "string";
220
+ readonly description: "Current version of the chart deployment.";
221
+ readonly example: "2.1.33-cfke.11";
222
+ };
223
+ readonly created_at: {
224
+ readonly type: "string";
225
+ readonly description: "Creation date and time of the chart deployment.";
226
+ readonly example: "2024-09-12T09:11:27Z";
227
+ };
228
+ readonly updated_at: {
229
+ readonly type: "string";
230
+ readonly description: "Last update date and time of the chart deployment.";
231
+ readonly example: "2024-09-12T09:11:27Z";
232
+ };
233
+ readonly ready: {
234
+ readonly type: "boolean";
235
+ readonly description: "Indicates if the chart deployment is ready to be used.";
236
+ readonly example: true;
237
+ };
238
+ };
239
+ readonly required: readonly ["values", "version_channel", "name", "namespace", "chart", "status", "version_current", "created_at", "updated_at", "ready"];
240
+ readonly additionalProperties: false;
241
+ };
242
+ export declare const ChartUpdateInputSchema: {
243
+ readonly type: "object";
244
+ readonly properties: {
245
+ readonly values: {
246
+ readonly type: "string";
247
+ readonly description: "Values to be used in the chart encoded as a JSON string.";
248
+ };
249
+ readonly version_channel: {
250
+ readonly type: "string";
251
+ 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-]+)*))?$";
252
+ readonly description: "Desired version range or channel for the chart.";
253
+ readonly example: "2.x.x-cfke.x";
69
254
  };
70
255
  };
71
- readonly required: readonly ["email", "first_name", "last_name"];
256
+ readonly required: readonly ["values", "version_channel"];
72
257
  readonly additionalProperties: false;
73
258
  };
74
259
  export declare const ClusterCreateInputSchema: {
@@ -82,25 +267,26 @@ export declare const ClusterCreateInputSchema: {
82
267
  readonly description: "Name of the cluster.";
83
268
  readonly example: "production-cluster";
84
269
  };
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
270
  readonly tier: {
93
271
  readonly type: "string";
94
272
  readonly description: "Tier of the cluster.";
95
273
  readonly example: "pro";
96
274
  readonly enum: readonly ["basic", "pro"];
97
275
  };
276
+ readonly region: {
277
+ readonly type: "string";
278
+ readonly description: "Cloudfleet control plane region. One of \"staging-1a\", \"northamerica-central-1\", \"europe-central-1a\", \"northamerica-central-1a\". This field can not be updated after creation.";
279
+ readonly default: "staging-1a";
280
+ readonly example: "northamerica-central-1a";
281
+ readonly enum: readonly ["staging-1a", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a"];
282
+ };
98
283
  readonly version_channel: {
99
284
  readonly type: "string";
100
285
  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-]+)*))?$";
101
286
  readonly description: "Version of the kubernetes cluster.";
102
287
  readonly default: "1.x.x-cfke.x";
103
- readonly example: "1.29.x-cfke.x";
288
+ readonly example: "1.x.x-cfke.x";
289
+ readonly enum: readonly ["1.x.x-cfke.x", "1.31.x-cfke.x", "1.32.x-cfke.x", "1.33.x-cfke.x"];
104
290
  };
105
291
  };
106
292
  readonly required: readonly ["name", "tier"];
@@ -120,6 +306,11 @@ export declare const ClusterJoinInformationSchema: {
120
306
  readonly description: "Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.";
121
307
  readonly example: "https://10.31.64.7:6443";
122
308
  };
309
+ readonly cluster_dns: {
310
+ readonly type: "string";
311
+ readonly description: "Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.";
312
+ readonly example: "10.96.0.10";
313
+ };
123
314
  readonly auth_key: {
124
315
  readonly type: "string";
125
316
  readonly description: "Authentication key for the cluster.";
@@ -136,7 +327,7 @@ export declare const ClusterJoinInformationSchema: {
136
327
  readonly kubernetes: {
137
328
  readonly type: "string";
138
329
  readonly description: "Kubernetes version of the cluster.";
139
- readonly example: "1.29.3";
330
+ readonly example: "1.33.7";
140
331
  };
141
332
  readonly tailscale: {
142
333
  readonly type: "string";
@@ -148,8 +339,13 @@ export declare const ClusterJoinInformationSchema: {
148
339
  readonly description: "Containerd version of the cluster.";
149
340
  readonly example: "1.7.19";
150
341
  };
342
+ readonly nvidia_driver: {
343
+ readonly type: "string";
344
+ readonly description: "NVIDIA driver version of the cluster.";
345
+ readonly example: "565.0.0";
346
+ };
151
347
  };
152
- readonly required: readonly ["kubernetes", "tailscale", "containerd"];
348
+ readonly required: readonly ["kubernetes", "tailscale", "containerd", "nvidia_driver"];
153
349
  readonly additionalProperties: false;
154
350
  readonly description: "Versions of the different components of the cluster.";
155
351
  };
@@ -177,7 +373,7 @@ export declare const ClusterJoinInformationSchema: {
177
373
  readonly description: "OIDC Information for hosts to access to third party API's.";
178
374
  };
179
375
  };
180
- readonly required: readonly ["certificate_authority", "endpoint", "auth_key", "bootstrap_token", "versions", "third_party_api_access_config"];
376
+ readonly required: readonly ["certificate_authority", "endpoint", "cluster_dns", "auth_key", "bootstrap_token", "versions", "third_party_api_access_config"];
181
377
  readonly additionalProperties: false;
182
378
  };
183
379
  export declare const ClusterSchema: {
@@ -191,25 +387,18 @@ export declare const ClusterSchema: {
191
387
  readonly description: "Name of the cluster.";
192
388
  readonly example: "production-cluster";
193
389
  };
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
390
  readonly tier: {
202
391
  readonly type: "string";
203
392
  readonly description: "Tier of the cluster.";
204
393
  readonly example: "pro";
205
394
  readonly enum: readonly ["basic", "pro"];
206
395
  };
207
- readonly version_channel: {
396
+ readonly region: {
208
397
  readonly type: "string";
209
- 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-]+)*))?$";
210
- readonly description: "Version of the kubernetes cluster.";
211
- readonly default: "1.x.x-cfke.x";
212
- readonly example: "1.29.x-cfke.x";
398
+ readonly description: "Cloudfleet control plane region. One of \"staging-1a\", \"northamerica-central-1\", \"europe-central-1a\", \"northamerica-central-1a\". This field can not be updated after creation.";
399
+ readonly default: "staging-1a";
400
+ readonly example: "northamerica-central-1a";
401
+ readonly enum: readonly ["staging-1a", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a"];
213
402
  };
214
403
  readonly id: {
215
404
  readonly type: "string";
@@ -221,7 +410,7 @@ export declare const ClusterSchema: {
221
410
  readonly type: "string";
222
411
  readonly description: "Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.";
223
412
  readonly example: "active";
224
- readonly enum: readonly ["active", "deleted", "creating", "deployed", "failed", "updating"];
413
+ readonly enum: readonly ["active", "disabled", "deleted", "creating", "deployed", "failed", "updating"];
225
414
  };
226
415
  readonly endpoint: {
227
416
  readonly anyOf: readonly [{
@@ -242,7 +431,7 @@ export declare const ClusterSchema: {
242
431
  readonly version_current: {
243
432
  readonly type: "string";
244
433
  readonly description: "Current version of the cluster.";
245
- readonly example: "1.29.3-cfke.52";
434
+ readonly example: "1.33.7-cfke.264";
246
435
  };
247
436
  readonly created_at: {
248
437
  readonly type: "string";
@@ -259,6 +448,12 @@ export declare const ClusterSchema: {
259
448
  readonly description: "Indicates if the cluster is ready to be used.";
260
449
  readonly example: true;
261
450
  };
451
+ readonly version_channel: {
452
+ readonly type: "string";
453
+ 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-]+)*))?$";
454
+ readonly description: "Version of the kubernetes cluster.";
455
+ readonly example: "1.x.x-cfke.x";
456
+ };
262
457
  };
263
458
  readonly required: readonly ["name", "tier", "id", "status"];
264
459
  readonly additionalProperties: false;
@@ -274,13 +469,20 @@ export declare const ClusterUpdateInputSchema: {
274
469
  readonly description: "Name of the cluster.";
275
470
  readonly example: "production-cluster";
276
471
  };
472
+ readonly tier: {
473
+ readonly type: "string";
474
+ readonly description: "Tier of the cluster.";
475
+ readonly example: "pro";
476
+ readonly enum: readonly ["basic", "pro"];
477
+ };
277
478
  readonly version_channel: {
278
479
  readonly type: "string";
279
480
  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-]+)*))?$";
280
481
  readonly description: "Version of the kubernetes cluster.";
281
- readonly example: "1.29.x-cfke.x";
482
+ readonly example: "1.x.x-cfke.x";
282
483
  };
283
484
  };
485
+ readonly required: readonly ["tier"];
284
486
  readonly additionalProperties: false;
285
487
  };
286
488
  export declare const FleetCreateInputSchema: {
@@ -316,31 +518,19 @@ export declare const FleetCreateInputSchema: {
316
518
  readonly additionalProperties: false;
317
519
  };
318
520
  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
- };
521
+ readonly type: "object";
522
+ readonly properties: {
523
+ readonly enabled: {
524
+ readonly type: "boolean";
525
+ readonly default: true;
329
526
  };
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
- };
527
+ readonly apiKey: {
528
+ readonly type: "string";
529
+ readonly description: "Hetzner Cloud API key with read / write access";
341
530
  };
342
- readonly additionalProperties: false;
343
- }];
531
+ };
532
+ readonly required: readonly ["apiKey"];
533
+ readonly additionalProperties: false;
344
534
  };
345
535
  readonly aws: {
346
536
  readonly type: "object";
@@ -365,13 +555,8 @@ export declare const FleetCreateInputSchema: {
365
555
  readonly description: "Unique identifier of the kubernetes fleet.";
366
556
  readonly example: "new-clouds-fleet";
367
557
  };
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
558
  };
374
- readonly required: readonly ["id", "type"];
559
+ readonly required: readonly ["id"];
375
560
  readonly additionalProperties: false;
376
561
  };
377
562
  export declare const FleetSchema: {
@@ -407,31 +592,19 @@ export declare const FleetSchema: {
407
592
  readonly additionalProperties: false;
408
593
  };
409
594
  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
- };
595
+ readonly type: "object";
596
+ readonly properties: {
597
+ readonly enabled: {
598
+ readonly type: "boolean";
599
+ readonly default: true;
420
600
  };
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
- };
601
+ readonly apiKey: {
602
+ readonly type: "string";
603
+ readonly description: "Hetzner Cloud API key with read / write access";
432
604
  };
433
- readonly additionalProperties: false;
434
- }];
605
+ };
606
+ readonly required: readonly ["apiKey"];
607
+ readonly additionalProperties: false;
435
608
  };
436
609
  readonly aws: {
437
610
  readonly type: "object";
@@ -456,13 +629,8 @@ export declare const FleetSchema: {
456
629
  readonly description: "Unique identifier of the kubernetes fleet.";
457
630
  readonly example: "new-clouds-fleet";
458
631
  };
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
632
  };
465
- readonly required: readonly ["id", "type"];
633
+ readonly required: readonly ["id"];
466
634
  readonly additionalProperties: false;
467
635
  };
468
636
  export declare const FleetUpdateInputSchema: {
@@ -498,31 +666,19 @@ export declare const FleetUpdateInputSchema: {
498
666
  readonly additionalProperties: false;
499
667
  };
500
668
  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
- };
669
+ readonly type: "object";
670
+ readonly properties: {
671
+ readonly enabled: {
672
+ readonly type: "boolean";
673
+ readonly default: true;
511
674
  };
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
- };
675
+ readonly apiKey: {
676
+ readonly type: "string";
677
+ readonly description: "Hetzner Cloud API key with read / write access";
523
678
  };
524
- readonly additionalProperties: false;
525
- }];
679
+ };
680
+ readonly required: readonly ["apiKey"];
681
+ readonly additionalProperties: false;
526
682
  };
527
683
  readonly aws: {
528
684
  readonly type: "object";
@@ -542,295 +698,25 @@ export declare const FleetUpdateInputSchema: {
542
698
  };
543
699
  readonly additionalProperties: false;
544
700
  };
545
- export declare const InfrastructureFilterSchema: {
701
+ export declare const InviteSchema: {
546
702
  readonly type: "object";
547
703
  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];
704
+ readonly id: {
705
+ readonly type: "string";
706
+ readonly description: "Unique identifier of the invitation.";
707
+ readonly example: "65831dd20d20165489cbb868";
554
708
  };
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";
709
+ readonly organization_id: {
710
+ readonly type: "string";
711
+ readonly format: "uuid";
712
+ readonly description: "Unique identifier of the organization the project belongs to. UUID v4 string in canonical form";
713
+ readonly example: "e94d30ec-a2dd-4dcb-832c-ac2be144ba91";
562
714
  };
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
- export declare const InviteSchema: {
816
- readonly type: "object";
817
- readonly properties: {
818
- readonly id: {
819
- readonly type: "string";
820
- readonly description: "Unique identifier of the invitation.";
821
- readonly example: "65831dd20d20165489cbb868";
822
- };
823
- readonly organization_id: {
824
- readonly type: "string";
825
- readonly format: "uuid";
826
- readonly description: "Unique identifier of the organization the project belongs to. UUID v4 string in canonical form";
827
- readonly example: "e94d30ec-a2dd-4dcb-832c-ac2be144ba91";
828
- };
829
- readonly date_created: {
830
- readonly type: "string";
831
- readonly format: "date-time";
832
- readonly description: "Creation date of the project. ISO 8601 date string in UTC timezone";
833
- readonly example: "2023-11-02T16:08:14.338Z";
715
+ readonly date_created: {
716
+ readonly type: "string";
717
+ readonly format: "date-time";
718
+ readonly description: "Creation date of the project. ISO 8601 date string in UTC timezone";
719
+ readonly example: "2023-11-02T16:08:14.338Z";
834
720
  };
835
721
  readonly email: {
836
722
  readonly type: "string";
@@ -852,23 +738,18 @@ export declare const InvoiceSchema: {
852
738
  readonly properties: {
853
739
  readonly id: {
854
740
  readonly type: "string";
855
- readonly format: "uuid";
856
- readonly description: "Unique identifier of the invoice. UUID v4 string in canonical form";
857
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
741
+ readonly description: "Unique identifier of the invoice.";
742
+ readonly example: "in_1234567890xCrwxghOTj1234";
858
743
  };
859
- readonly organizationId: {
744
+ readonly number: {
860
745
  readonly type: "string";
861
- readonly format: "uuid";
862
- readonly description: "Unique identifier of the organization. UUID v4 string in canonical form";
863
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
864
746
  };
865
747
  readonly status: {
866
748
  readonly type: "string";
867
749
  readonly description: "Status of the invoice";
868
- readonly example: "DRAFT";
869
- readonly enum: readonly ["DRAFT", "COMMITTED", "VOID"];
750
+ readonly example: "paid";
870
751
  };
871
- readonly amount: {
752
+ readonly total: {
872
753
  readonly type: "number";
873
754
  readonly format: "float";
874
755
  readonly description: "Total amount of the invoice";
@@ -877,318 +758,169 @@ export declare const InvoiceSchema: {
877
758
  readonly currency: {
878
759
  readonly type: "string";
879
760
  readonly description: "Currency of the invoice";
880
- readonly example: "USD";
881
- readonly enum: readonly ["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"];
761
+ readonly example: "usd";
882
762
  };
883
- readonly creditAdj: {
884
- readonly type: "number";
885
- readonly format: "float";
886
- readonly description: "Total amount of credit adjustments";
887
- readonly example: 0;
763
+ readonly created: {
764
+ readonly type: "string";
765
+ readonly format: "date-time";
766
+ readonly description: "Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.";
767
+ readonly example: "2023-12-20T13:53:32.000Z";
888
768
  };
889
- readonly refundAdj: {
890
- readonly type: "number";
891
- readonly format: "float";
892
- readonly description: "Total amount of refund adjustments";
893
- readonly example: 0;
769
+ readonly period_start: {
770
+ readonly type: "string";
771
+ readonly format: "date-time";
772
+ readonly description: "Billing period start timestamp. ISO 8601 date string in the UTC timezone.";
773
+ readonly example: "2023-12-20T13:53:32.000Z";
894
774
  };
895
- readonly invoiceDate: {
775
+ readonly period_end: {
896
776
  readonly type: "string";
897
- readonly description: "Date of the invoice";
898
- readonly example: "2019-01-01T00:00:00.000Z";
777
+ readonly format: "date-time";
778
+ readonly description: "Billing period end timestamp. ISO 8601 date string in the UTC timezone.";
779
+ readonly example: "2023-12-20T13:53:32.000Z";
899
780
  };
900
- readonly targetDate: {
781
+ readonly invoice_pdf: {
901
782
  readonly type: "string";
902
- readonly description: "Target date of the invoice";
903
- readonly example: "2019-01-01T00:00:00.000Z";
904
783
  };
905
- readonly invoiceNumber: {
784
+ };
785
+ readonly required: readonly ["created", "period_start", "period_end"];
786
+ readonly additionalProperties: false;
787
+ };
788
+ export declare const MarketplaceListingFilesSchema: {
789
+ readonly type: "object";
790
+ readonly properties: {
791
+ readonly chartYaml: {
792
+ readonly type: "string";
793
+ readonly description: "Raw Chart.yaml content from the Helm chart";
794
+ readonly example: "apiVersion: v2\nname: nginx-ingress\nversion: 1.18.2-cfke.45\nappVersion: 1.9.4";
795
+ };
796
+ readonly valuesYaml: {
906
797
  readonly type: "string";
907
- readonly description: "Number of the invoice";
908
- readonly example: "INV-0001";
798
+ readonly description: "Raw values.yaml content from the Helm chart";
799
+ readonly example: "replicaCount: 1\nimage:\n repository: nginx\n tag: latest";
909
800
  };
910
- readonly balance: {
911
- readonly type: "number";
912
- readonly format: "float";
913
- readonly description: "Balance of the invoice";
914
- readonly example: 100;
801
+ readonly valuesSchemaJson: {
802
+ readonly type: "string";
803
+ readonly description: "JSON schema for values.yaml as a string";
804
+ readonly example: "{\"type\":\"object\",\"properties\":{\"replicaCount\":{\"type\":\"number\"}}}";
915
805
  };
916
- readonly bundleKeys: {
806
+ };
807
+ readonly additionalProperties: false;
808
+ };
809
+ export declare const MarketplaceListingSchema: {
810
+ readonly type: "object";
811
+ readonly properties: {
812
+ readonly name: {
917
813
  readonly type: "string";
918
- readonly description: "Bundle keys of the invoice";
919
- readonly example: "bundleKey1,bundleKey2";
814
+ readonly description: "Name of the chart";
815
+ readonly example: "nginx-ingress";
920
816
  };
921
- readonly credits: {
817
+ readonly versions: {
922
818
  readonly type: "array";
923
819
  readonly items: {
924
- readonly type: "object";
925
- readonly properties: {
926
- readonly id: {
927
- readonly type: "string";
928
- readonly format: "uuid";
929
- readonly description: "Unique identifier of the invoice item. UUID v4 string in canonical form";
930
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
931
- };
932
- readonly linkedInvoiceItemId: {
933
- readonly type: "string";
934
- readonly format: "uuid";
935
- readonly description: "Unique identifier of the linked invoice item. UUID v4 string in canonical form";
936
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
937
- };
938
- readonly productName: {
939
- readonly type: "string";
940
- readonly description: "Name of the product";
941
- readonly example: "Research team";
942
- };
943
- readonly planName: {
944
- readonly type: "string";
945
- readonly description: "Name of the plan";
946
- readonly example: "Plan A";
947
- };
948
- readonly phaseName: {
949
- readonly type: "string";
950
- readonly description: "Name of the phase";
951
- readonly example: "Phase A";
952
- };
953
- readonly usageName: {
954
- readonly type: "string";
955
- readonly description: "Name of the usage";
956
- readonly example: "Usage A";
957
- };
958
- readonly prettyProductName: {
959
- readonly type: "string";
960
- readonly description: "Pretty name of the product";
961
- readonly example: "Research team";
962
- };
963
- readonly prettyPlanName: {
964
- readonly type: "string";
965
- readonly description: "Pretty name of the plan";
966
- readonly example: "Plan A";
967
- };
968
- readonly prettyPhaseName: {
969
- readonly type: "string";
970
- readonly description: "Pretty name of the phase";
971
- readonly example: "Phase A";
972
- };
973
- readonly prettyUsageName: {
974
- readonly type: "string";
975
- readonly description: "Pretty name of the usage";
976
- readonly example: "Usage A";
977
- };
978
- readonly itemType: {
979
- readonly type: "string";
980
- readonly description: "Type of the invoice item";
981
- readonly example: "EXTERNAL_CHARGE";
982
- readonly enum: readonly ["EXTERNAL_CHARGE", "FIXED", "RECURRING", "REPAIR_ADJ", "CBA_ADJ", "CREDIT_ADJ", "ITEM_ADJ", "USAGE", "TAX", "PARENT_SUMMARY"];
983
- };
984
- readonly description: {
985
- readonly type: "string";
986
- readonly description: "Description of the invoice item";
987
- readonly example: "Description of the invoice item";
988
- };
989
- readonly startDate: {
990
- readonly type: "string";
991
- readonly description: "Start date of the invoice item";
992
- readonly example: "2019-01-01T00:00:00.000Z";
993
- };
994
- readonly endDate: {
995
- readonly type: "string";
996
- readonly description: "End date of the invoice item";
997
- readonly example: "2019-01-01T00:00:00.000Z";
998
- };
999
- readonly amount: {
1000
- readonly type: "number";
1001
- readonly format: "float";
1002
- readonly description: "Amount of the invoice item";
1003
- readonly example: 100;
1004
- };
1005
- readonly rate: {
1006
- readonly type: "number";
1007
- readonly format: "float";
1008
- readonly description: "Rate of the invoice item";
1009
- readonly example: 100;
1010
- };
1011
- readonly currency: {
1012
- readonly type: "string";
1013
- readonly description: "Currency of the invoice item";
1014
- readonly example: "USD";
1015
- readonly enum: readonly ["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"];
1016
- };
1017
- readonly quantity: {
1018
- readonly type: "number";
1019
- readonly format: "float";
1020
- readonly description: "Quantity of the invoice item";
1021
- readonly example: 1;
1022
- };
1023
- readonly itemDetails: {
1024
- readonly type: "string";
1025
- readonly description: "Details of the invoice item";
1026
- readonly example: "Details of the invoice item";
1027
- };
1028
- readonly catalogEffectiveDate: {
1029
- readonly type: "string";
1030
- readonly description: "Effective date of the catalog";
1031
- readonly example: "2019-01-01T00:00:00.000Z";
1032
- };
1033
- readonly childItems: {
1034
- readonly type: "array";
1035
- readonly items: {
1036
- readonly oneOf: readonly [{
1037
- readonly type: "array";
1038
- }, {
1039
- readonly type: "boolean";
1040
- }, {
1041
- readonly type: "number";
1042
- }, {
1043
- readonly type: "object";
1044
- readonly additionalProperties: true;
1045
- }, {
1046
- readonly type: "string";
1047
- }];
1048
- };
1049
- readonly description: "Child items of the invoice item";
1050
- };
1051
- };
1052
- readonly additionalProperties: false;
820
+ readonly type: "string";
821
+ readonly pattern: "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(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-]+)*))?$";
822
+ readonly description: "Specific version of the chart";
823
+ readonly example: "1.18.2-cfke.45";
1053
824
  };
1054
- readonly description: "Credits of the invoice";
825
+ readonly description: "Available versions of the chart";
1055
826
  };
1056
- readonly items: {
827
+ readonly version_channels: {
1057
828
  readonly type: "array";
1058
829
  readonly items: {
1059
- readonly type: "object";
1060
- readonly properties: {
1061
- readonly id: {
1062
- readonly type: "string";
1063
- readonly format: "uuid";
1064
- readonly description: "Unique identifier of the invoice item. UUID v4 string in canonical form";
1065
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
1066
- };
1067
- readonly linkedInvoiceItemId: {
1068
- readonly type: "string";
1069
- readonly format: "uuid";
1070
- readonly description: "Unique identifier of the linked invoice item. UUID v4 string in canonical form";
1071
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
1072
- };
1073
- readonly productName: {
1074
- readonly type: "string";
1075
- readonly description: "Name of the product";
1076
- readonly example: "Research team";
1077
- };
1078
- readonly planName: {
1079
- readonly type: "string";
1080
- readonly description: "Name of the plan";
1081
- readonly example: "Plan A";
1082
- };
1083
- readonly phaseName: {
1084
- readonly type: "string";
1085
- readonly description: "Name of the phase";
1086
- readonly example: "Phase A";
1087
- };
1088
- readonly usageName: {
1089
- readonly type: "string";
1090
- readonly description: "Name of the usage";
1091
- readonly example: "Usage A";
1092
- };
1093
- readonly prettyProductName: {
1094
- readonly type: "string";
1095
- readonly description: "Pretty name of the product";
1096
- readonly example: "Research team";
1097
- };
1098
- readonly prettyPlanName: {
1099
- readonly type: "string";
1100
- readonly description: "Pretty name of the plan";
1101
- readonly example: "Plan A";
1102
- };
1103
- readonly prettyPhaseName: {
1104
- readonly type: "string";
1105
- readonly description: "Pretty name of the phase";
1106
- readonly example: "Phase A";
1107
- };
1108
- readonly prettyUsageName: {
1109
- readonly type: "string";
1110
- readonly description: "Pretty name of the usage";
1111
- readonly example: "Usage A";
1112
- };
1113
- readonly itemType: {
1114
- readonly type: "string";
1115
- readonly description: "Type of the invoice item";
1116
- readonly example: "EXTERNAL_CHARGE";
1117
- readonly enum: readonly ["EXTERNAL_CHARGE", "FIXED", "RECURRING", "REPAIR_ADJ", "CBA_ADJ", "CREDIT_ADJ", "ITEM_ADJ", "USAGE", "TAX", "PARENT_SUMMARY"];
1118
- };
1119
- readonly description: {
1120
- readonly type: "string";
1121
- readonly description: "Description of the invoice item";
1122
- readonly example: "Description of the invoice item";
1123
- };
1124
- readonly startDate: {
1125
- readonly type: "string";
1126
- readonly description: "Start date of the invoice item";
1127
- readonly example: "2019-01-01T00:00:00.000Z";
1128
- };
1129
- readonly endDate: {
1130
- readonly type: "string";
1131
- readonly description: "End date of the invoice item";
1132
- readonly example: "2019-01-01T00:00:00.000Z";
1133
- };
1134
- readonly amount: {
1135
- readonly type: "number";
1136
- readonly format: "float";
1137
- readonly description: "Amount of the invoice item";
1138
- readonly example: 100;
1139
- };
1140
- readonly rate: {
1141
- readonly type: "number";
1142
- readonly format: "float";
1143
- readonly description: "Rate of the invoice item";
1144
- readonly example: 100;
1145
- };
1146
- readonly currency: {
1147
- readonly type: "string";
1148
- readonly description: "Currency of the invoice item";
1149
- readonly example: "USD";
1150
- readonly enum: readonly ["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"];
1151
- };
1152
- readonly quantity: {
1153
- readonly type: "number";
1154
- readonly format: "float";
1155
- readonly description: "Quantity of the invoice item";
1156
- readonly example: 1;
1157
- };
1158
- readonly itemDetails: {
830
+ readonly type: "string";
831
+ 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-]+)*))?$";
832
+ readonly description: "Version channel pattern";
833
+ readonly example: "1.18.x-cfke.x";
834
+ };
835
+ readonly description: "Version channels for the chart";
836
+ };
837
+ readonly latestVersion: {
838
+ readonly type: "string";
839
+ readonly description: "Latest version of the chart";
840
+ readonly example: "1.18.2-cfke.45";
841
+ };
842
+ readonly metadata: {
843
+ readonly type: "object";
844
+ readonly properties: {
845
+ readonly name: {
846
+ readonly type: "string";
847
+ readonly description: "Chart name from metadata";
848
+ readonly example: "nginx-ingress";
849
+ };
850
+ readonly version: {
851
+ readonly type: "string";
852
+ readonly description: "Chart version from metadata";
853
+ readonly example: "1.18.2-cfke.45";
854
+ };
855
+ readonly description: {
856
+ readonly type: "string";
857
+ readonly description: "Chart description";
858
+ readonly example: "NGINX Ingress Controller for Kubernetes";
859
+ };
860
+ readonly appVersion: {
861
+ readonly type: "string";
862
+ readonly description: "Application version";
863
+ readonly example: "1.9.4";
864
+ };
865
+ readonly apiVersion: {
866
+ readonly type: "string";
867
+ readonly description: "Helm API version";
868
+ readonly example: "v2";
869
+ };
870
+ readonly keywords: {
871
+ readonly type: "array";
872
+ readonly items: {
1159
873
  readonly type: "string";
1160
- readonly description: "Details of the invoice item";
1161
- readonly example: "Details of the invoice item";
1162
874
  };
1163
- readonly catalogEffectiveDate: {
875
+ readonly description: "Chart keywords";
876
+ readonly example: readonly ["ingress", "nginx", "load-balancer"];
877
+ };
878
+ readonly home: {
879
+ readonly type: "string";
880
+ readonly description: "Chart home URL";
881
+ readonly example: "https://kubernetes.github.io/ingress-nginx/";
882
+ };
883
+ readonly icon: {
884
+ readonly type: "string";
885
+ readonly description: "A URL to an SVG or PNG image to be used as an icon";
886
+ readonly example: "https://cloudfleet.ai/images/marketplace/icons/ingress-nginx.png";
887
+ };
888
+ readonly sources: {
889
+ readonly type: "array";
890
+ readonly items: {
1164
891
  readonly type: "string";
1165
- readonly description: "Effective date of the catalog";
1166
- readonly example: "2019-01-01T00:00:00.000Z";
1167
892
  };
1168
- readonly childItems: {
1169
- readonly type: "array";
1170
- readonly items: {
1171
- readonly oneOf: readonly [{
1172
- readonly type: "array";
1173
- }, {
1174
- readonly type: "boolean";
1175
- }, {
1176
- readonly type: "number";
1177
- }, {
1178
- readonly type: "object";
1179
- readonly additionalProperties: true;
1180
- }, {
893
+ readonly description: "Chart source URLs";
894
+ readonly example: readonly ["https://github.com/kubernetes/ingress-nginx"];
895
+ };
896
+ readonly maintainers: {
897
+ readonly type: "array";
898
+ readonly items: {
899
+ readonly type: "object";
900
+ readonly properties: {
901
+ readonly name: {
902
+ readonly type: "string";
903
+ readonly description: "Maintainer name";
904
+ readonly example: "NGINX Team";
905
+ };
906
+ readonly email: {
1181
907
  readonly type: "string";
1182
- }];
908
+ readonly description: "Maintainer email";
909
+ readonly example: "support@nginx.org";
910
+ };
1183
911
  };
1184
- readonly description: "Child items of the invoice item";
912
+ readonly required: readonly ["name"];
913
+ readonly additionalProperties: false;
1185
914
  };
915
+ readonly description: "Chart maintainers";
1186
916
  };
1187
- readonly additionalProperties: false;
1188
917
  };
1189
- readonly description: "Items of the invoice";
918
+ readonly required: readonly ["name", "version"];
919
+ readonly additionalProperties: false;
920
+ readonly description: "Chart metadata";
1190
921
  };
1191
922
  };
923
+ readonly required: readonly ["name", "versions", "version_channels", "latestVersion"];
1192
924
  readonly additionalProperties: false;
1193
925
  };
1194
926
  export declare const OrganizationCreateInputSchema: {
@@ -1249,148 +981,484 @@ export declare const OrganizationSchema: {
1249
981
  readonly description: "Creation date of the organization. ISO 8601 date string in UTC timezone";
1250
982
  readonly example: "2023-11-02T16:08:14.338Z";
1251
983
  };
1252
- readonly quota: {
984
+ readonly quota: {
985
+ readonly type: "object";
986
+ readonly properties: {
987
+ readonly basic_clusters_max: {
988
+ readonly type: "integer";
989
+ readonly minimum: 0;
990
+ readonly description: "Maximum number of Basic clusters that can be created.";
991
+ readonly example: 999;
992
+ };
993
+ readonly basic_clusters_available: {
994
+ readonly type: "integer";
995
+ readonly description: "Available number of Basic clusters that can be created.";
996
+ readonly example: 999;
997
+ };
998
+ readonly pro_clusters_max: {
999
+ readonly type: "integer";
1000
+ readonly minimum: 0;
1001
+ readonly description: "Maximum number of Pro clusters that can be created.";
1002
+ readonly example: 999;
1003
+ };
1004
+ readonly pro_clusters_available: {
1005
+ readonly type: "integer";
1006
+ readonly description: "Available number of Pro clusters that can be created.";
1007
+ readonly example: 999;
1008
+ };
1009
+ readonly fleets_max: {
1010
+ readonly type: "integer";
1011
+ readonly minimum: 0;
1012
+ readonly description: "Maximum number of fleets that can be created per cluster.";
1013
+ readonly example: 999;
1014
+ };
1015
+ readonly cluster_tiers: {
1016
+ readonly type: "array";
1017
+ readonly items: {
1018
+ readonly type: "string";
1019
+ readonly example: "basic";
1020
+ };
1021
+ readonly minItems: 0;
1022
+ readonly description: "List of Cloudfleet cluster tiers available for the organization.";
1023
+ };
1024
+ readonly regions: {
1025
+ readonly type: "array";
1026
+ readonly items: {
1027
+ readonly type: "string";
1028
+ readonly example: "northamerica-central-1";
1029
+ };
1030
+ readonly minItems: 1;
1031
+ readonly description: "List of Cloudfleet control plane regions available for the organization.";
1032
+ };
1033
+ readonly versions: {
1034
+ readonly type: "array";
1035
+ readonly items: {
1036
+ readonly type: "object";
1037
+ readonly properties: {
1038
+ readonly id: {
1039
+ readonly type: "string";
1040
+ readonly description: "Id of the control plane version. Used in API calls.";
1041
+ readonly example: "1.33.x-cfke.x";
1042
+ };
1043
+ readonly label: {
1044
+ readonly type: "string";
1045
+ readonly description: "Label of the control plane version. Used in frontent UI.";
1046
+ readonly example: "1.33.x (Always latest 1.33 patch version)";
1047
+ };
1048
+ };
1049
+ readonly required: readonly ["id", "label"];
1050
+ readonly additionalProperties: false;
1051
+ };
1052
+ readonly minItems: 1;
1053
+ readonly description: "List of CFKE control plane versions available for the organization.";
1054
+ };
1055
+ readonly copilot_user_hourly_tokens: {
1056
+ readonly type: "integer";
1057
+ readonly minimum: 0;
1058
+ readonly description: "User-level maximum number of tokens Cloudfleet Copilot can process per hour.";
1059
+ readonly example: 42000;
1060
+ };
1061
+ readonly copilot_organization_hourly_tokens: {
1062
+ readonly type: "integer";
1063
+ readonly minimum: 0;
1064
+ readonly description: "Organization-level maximum number of tokens Cloudfleet Copilot can process per hour.";
1065
+ readonly example: 242000;
1066
+ };
1067
+ readonly cfcr_storage_gb: {
1068
+ readonly type: "integer";
1069
+ readonly minimum: -1;
1070
+ readonly description: "Organization-level maximum CFCR storage volume in GB. -1 means no limit.";
1071
+ readonly example: 500;
1072
+ };
1073
+ };
1074
+ readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions", "copilot_user_hourly_tokens", "copilot_organization_hourly_tokens", "cfcr_storage_gb"];
1075
+ readonly additionalProperties: false;
1076
+ 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.";
1077
+ };
1078
+ readonly status: {
1079
+ readonly type: "string";
1080
+ readonly description: "Status of the organization. Can be `active` or `closed`, or `suspended`.";
1081
+ readonly enum: readonly ["active", "closed", "suspended"];
1082
+ };
1083
+ };
1084
+ readonly required: readonly ["id", "date_created", "quota", "status"];
1085
+ readonly additionalProperties: false;
1086
+ };
1087
+ export declare const PaymentMethodSchema: {
1088
+ readonly type: "object";
1089
+ readonly properties: {
1090
+ readonly id: {
1091
+ readonly type: "string";
1092
+ readonly format: "uuid";
1093
+ readonly description: "Unique identifier of the organization. UUID v4 string in canonical form.";
1094
+ readonly example: "e94d30ec-a2dd-4dcb-832c-ac2be144ba91";
1095
+ };
1096
+ readonly setup: {
1097
+ readonly type: "boolean";
1098
+ readonly description: "Whether organization payment method was set up and ready to use for payments.";
1099
+ readonly example: true;
1100
+ };
1101
+ readonly type: {
1102
+ readonly type: "string";
1103
+ readonly nullable: true;
1104
+ readonly description: "Payment method type type. Only `card` payments supported at the moment.";
1105
+ readonly example: "card";
1106
+ readonly enum: readonly ["card"];
1107
+ };
1108
+ readonly last4: {
1109
+ readonly type: "string";
1110
+ readonly nullable: true;
1111
+ readonly description: "Last 4 digits of the payment card number.";
1112
+ readonly example: "4242";
1113
+ };
1114
+ readonly exp_month: {
1115
+ readonly type: "integer";
1116
+ readonly minimum: 1;
1117
+ readonly maximum: 12;
1118
+ readonly nullable: true;
1119
+ readonly description: "Two-digit number representing the card's expiration month.";
1120
+ readonly example: "12";
1121
+ };
1122
+ readonly exp_year: {
1123
+ readonly type: "integer";
1124
+ readonly minimum: 2024;
1125
+ readonly nullable: true;
1126
+ readonly description: "Four-digit number representing the card's expiration year.";
1127
+ readonly example: "2028";
1128
+ };
1129
+ readonly brand: {
1130
+ readonly type: "string";
1131
+ readonly nullable: true;
1132
+ readonly description: "Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.";
1133
+ readonly example: "visa";
1134
+ readonly enum: readonly ["amex", "diners", "discover", "eftpos_au", "jcb", "mastercard", "unionpay", "visa", "unknown"];
1135
+ };
1136
+ };
1137
+ readonly required: readonly ["id", "setup", "type", "last4", "exp_month", "exp_year", "brand"];
1138
+ readonly additionalProperties: false;
1139
+ };
1140
+ export declare const PlatformQuotaSchema: {
1141
+ readonly type: "object";
1142
+ readonly properties: {
1143
+ readonly basic_clusters_max: {
1144
+ readonly type: "integer";
1145
+ readonly minimum: 0;
1146
+ readonly description: "Maximum number of Basic clusters that can be created.";
1147
+ readonly example: 999;
1148
+ };
1149
+ readonly basic_clusters_available: {
1150
+ readonly type: "integer";
1151
+ readonly description: "Available number of Basic clusters that can be created.";
1152
+ readonly example: 999;
1153
+ };
1154
+ readonly pro_clusters_max: {
1155
+ readonly type: "integer";
1156
+ readonly minimum: 0;
1157
+ readonly description: "Maximum number of Pro clusters that can be created.";
1158
+ readonly example: 999;
1159
+ };
1160
+ readonly pro_clusters_available: {
1161
+ readonly type: "integer";
1162
+ readonly description: "Available number of Pro clusters that can be created.";
1163
+ readonly example: 999;
1164
+ };
1165
+ readonly fleets_max: {
1166
+ readonly type: "integer";
1167
+ readonly minimum: 0;
1168
+ readonly description: "Maximum number of fleets that can be created per cluster.";
1169
+ readonly example: 999;
1170
+ };
1171
+ readonly cluster_tiers: {
1172
+ readonly type: "array";
1173
+ readonly items: {
1174
+ readonly type: "string";
1175
+ readonly example: "basic";
1176
+ };
1177
+ readonly minItems: 0;
1178
+ readonly description: "List of Cloudfleet cluster tiers available for the organization.";
1179
+ };
1180
+ readonly regions: {
1181
+ readonly type: "array";
1182
+ readonly items: {
1183
+ readonly type: "string";
1184
+ readonly example: "northamerica-central-1";
1185
+ };
1186
+ readonly minItems: 1;
1187
+ readonly description: "List of Cloudfleet control plane regions available for the organization.";
1188
+ };
1189
+ readonly versions: {
1190
+ readonly type: "array";
1191
+ readonly items: {
1192
+ readonly type: "object";
1193
+ readonly properties: {
1194
+ readonly id: {
1195
+ readonly type: "string";
1196
+ readonly description: "Id of the control plane version. Used in API calls.";
1197
+ readonly example: "1.33.x-cfke.x";
1198
+ };
1199
+ readonly label: {
1200
+ readonly type: "string";
1201
+ readonly description: "Label of the control plane version. Used in frontent UI.";
1202
+ readonly example: "1.33.x (Always latest 1.33 patch version)";
1203
+ };
1204
+ };
1205
+ readonly required: readonly ["id", "label"];
1206
+ readonly additionalProperties: false;
1207
+ };
1208
+ readonly minItems: 1;
1209
+ readonly description: "List of CFKE control plane versions available for the organization.";
1210
+ };
1211
+ readonly copilot_user_hourly_tokens: {
1212
+ readonly type: "integer";
1213
+ readonly minimum: 0;
1214
+ readonly description: "User-level maximum number of tokens Cloudfleet Copilot can process per hour.";
1215
+ readonly example: 42000;
1216
+ };
1217
+ readonly copilot_organization_hourly_tokens: {
1218
+ readonly type: "integer";
1219
+ readonly minimum: 0;
1220
+ readonly description: "Organization-level maximum number of tokens Cloudfleet Copilot can process per hour.";
1221
+ readonly example: 242000;
1222
+ };
1223
+ readonly cfcr_storage_gb: {
1224
+ readonly type: "integer";
1225
+ readonly minimum: -1;
1226
+ readonly description: "Organization-level maximum CFCR storage volume in GB. -1 means no limit.";
1227
+ readonly example: 500;
1228
+ };
1229
+ };
1230
+ readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions", "copilot_user_hourly_tokens", "copilot_organization_hourly_tokens", "cfcr_storage_gb"];
1231
+ readonly additionalProperties: false;
1232
+ };
1233
+ export declare const RegistryRepositorySchema: {
1234
+ readonly type: "object";
1235
+ readonly properties: {
1236
+ readonly name: {
1237
+ readonly type: "string";
1238
+ readonly description: "Repository name.";
1239
+ readonly example: "my-app";
1240
+ };
1241
+ readonly region: {
1242
+ readonly type: "string";
1243
+ readonly description: "Registry region.";
1244
+ readonly example: "northamerica";
1245
+ };
1246
+ readonly uri: {
1247
+ readonly type: "string";
1248
+ readonly description: "Full URI of the repository.";
1249
+ readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app";
1250
+ };
1251
+ };
1252
+ readonly required: readonly ["name", "region", "uri"];
1253
+ readonly additionalProperties: false;
1254
+ };
1255
+ export declare const RegistryRepositoryWithTagsSchema: {
1256
+ readonly type: "object";
1257
+ readonly properties: {
1258
+ readonly name: {
1259
+ readonly type: "string";
1260
+ readonly description: "Repository name.";
1261
+ readonly example: "my-app";
1262
+ };
1263
+ readonly region: {
1264
+ readonly type: "string";
1265
+ readonly description: "Registry region.";
1266
+ readonly example: "northamerica";
1267
+ };
1268
+ readonly uri: {
1269
+ readonly type: "string";
1270
+ readonly description: "Full URI of the repository.";
1271
+ readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app";
1272
+ };
1273
+ readonly tags: {
1274
+ readonly type: "array";
1275
+ readonly items: {
1276
+ readonly type: "object";
1277
+ readonly properties: {
1278
+ readonly name: {
1279
+ readonly type: "string";
1280
+ readonly description: "Tag name.";
1281
+ readonly example: "latest";
1282
+ };
1283
+ readonly size: {
1284
+ readonly type: "number";
1285
+ readonly format: "float";
1286
+ readonly description: "Size of the tag in bytes.";
1287
+ readonly example: 123456789;
1288
+ };
1289
+ readonly mediaType: {
1290
+ readonly type: "string";
1291
+ readonly description: "Media type of the manifest.";
1292
+ readonly example: "application/vnd.docker.distribution.manifest.v2+json";
1293
+ };
1294
+ readonly platforms: {
1295
+ readonly type: "array";
1296
+ readonly items: {
1297
+ readonly type: "string";
1298
+ };
1299
+ readonly description: "Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).";
1300
+ readonly example: readonly ["linux/amd64", "linux/arm64"];
1301
+ };
1302
+ };
1303
+ readonly required: readonly ["name", "size"];
1304
+ readonly additionalProperties: false;
1305
+ };
1306
+ readonly description: "Array of tags in the repository.";
1307
+ };
1308
+ readonly totalSize: {
1309
+ readonly type: "number";
1310
+ readonly format: "float";
1311
+ readonly description: "Total size of all tags in the repository in bytes.";
1312
+ readonly example: 987654321;
1313
+ };
1314
+ };
1315
+ readonly required: readonly ["name", "region", "uri", "tags", "totalSize"];
1316
+ readonly additionalProperties: false;
1317
+ };
1318
+ export declare const RegistryTagSchema: {
1319
+ readonly type: "object";
1320
+ readonly properties: {
1321
+ readonly name: {
1322
+ readonly type: "string";
1323
+ readonly description: "Tag name.";
1324
+ readonly example: "latest";
1325
+ };
1326
+ readonly digest: {
1327
+ readonly type: "string";
1328
+ readonly description: "Manifest digest for pulling by digest.";
1329
+ readonly example: "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890";
1330
+ };
1331
+ readonly mediaType: {
1332
+ readonly type: "string";
1333
+ readonly description: "Media type of the manifest.";
1334
+ readonly example: "application/vnd.docker.distribution.manifest.v2+json";
1335
+ };
1336
+ readonly config: {
1253
1337
  readonly type: "object";
1254
1338
  readonly properties: {
1255
- readonly basic_clusters_max: {
1256
- readonly type: "integer";
1257
- readonly minimum: 0;
1258
- readonly description: "Maximum number of Basic clusters that can be created.";
1259
- readonly example: 999;
1260
- };
1261
- readonly basic_clusters_available: {
1262
- readonly type: "integer";
1263
- readonly description: "Available number of Basic clusters that can be created.";
1264
- readonly example: 999;
1265
- };
1266
- readonly pro_clusters_max: {
1267
- readonly type: "integer";
1268
- readonly minimum: 0;
1269
- readonly description: "Maximum number of Pro clusters that can be created.";
1270
- readonly example: 999;
1271
- };
1272
- readonly pro_clusters_available: {
1273
- readonly type: "integer";
1274
- readonly description: "Available number of Pro clusters that can be created.";
1275
- readonly example: 999;
1276
- };
1277
- readonly fleets_max: {
1278
- readonly type: "integer";
1279
- readonly minimum: 0;
1280
- readonly description: "Maximum number of fleets that can be created per cluster.";
1281
- readonly example: 999;
1282
- };
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;
1339
+ readonly size: {
1340
+ readonly type: "number";
1341
+ readonly format: "float";
1342
+ readonly description: "Size of the config in bytes.";
1343
+ readonly example: 1234;
1288
1344
  };
1289
- readonly cluster_tiers: {
1290
- readonly type: "array";
1291
- readonly items: {
1345
+ };
1346
+ readonly required: readonly ["size"];
1347
+ readonly additionalProperties: false;
1348
+ readonly description: "Manifest config metadata.";
1349
+ };
1350
+ readonly layers: {
1351
+ readonly type: "array";
1352
+ readonly items: {
1353
+ readonly type: "object";
1354
+ readonly properties: {
1355
+ readonly digest: {
1292
1356
  readonly type: "string";
1293
- readonly example: "basic";
1357
+ readonly description: "Digest of the layer.";
1358
+ readonly example: "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890";
1359
+ };
1360
+ readonly size: {
1361
+ readonly type: "number";
1362
+ readonly format: "float";
1363
+ readonly description: "Size of the layer in bytes.";
1364
+ readonly example: 5678;
1294
1365
  };
1295
- readonly minItems: 0;
1296
- readonly description: "List of Cloudfleet cluster tiers available for the organization.";
1297
1366
  };
1298
- readonly regions: {
1299
- readonly type: "array";
1300
- readonly items: {
1367
+ readonly required: readonly ["size"];
1368
+ readonly additionalProperties: false;
1369
+ };
1370
+ readonly description: "Array of layer metadata.";
1371
+ };
1372
+ readonly manifests: {
1373
+ readonly type: "array";
1374
+ readonly items: {
1375
+ readonly type: "object";
1376
+ readonly properties: {
1377
+ readonly digest: {
1301
1378
  readonly type: "string";
1302
- readonly example: "northamerica-central-1";
1379
+ readonly description: "Digest of the manifest.";
1380
+ readonly example: "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890";
1303
1381
  };
1304
- readonly minItems: 1;
1305
- readonly description: "List of Cloudfleet control plane regions available for the organization.";
1306
- };
1307
- readonly versions: {
1308
- readonly type: "array";
1309
- readonly items: {
1382
+ readonly platform: {
1310
1383
  readonly type: "object";
1311
1384
  readonly properties: {
1312
- readonly id: {
1385
+ readonly architecture: {
1313
1386
  readonly type: "string";
1314
- readonly description: "Id of the control plane version. Used in API calls.";
1315
- readonly example: "1.29.x-cfke.x";
1387
+ readonly description: "Architecture of the platform.";
1388
+ readonly example: "amd64";
1316
1389
  };
1317
- readonly label: {
1390
+ readonly os: {
1318
1391
  readonly type: "string";
1319
- readonly description: "Label of the control plane version. Used in frontent UI.";
1320
- readonly example: "1.29.x (Always latest 1.29 patch version)";
1392
+ readonly description: "Operating system of the platform.";
1393
+ readonly example: "linux";
1394
+ };
1395
+ readonly variant: {
1396
+ readonly type: "string";
1397
+ readonly description: "Variant of the platform (e.g., v7, v8 for ARM).";
1398
+ readonly example: "v8";
1321
1399
  };
1322
1400
  };
1323
- readonly required: readonly ["id", "label"];
1401
+ readonly required: readonly ["architecture", "os"];
1324
1402
  readonly additionalProperties: false;
1403
+ readonly description: "Platform information for the manifest.";
1404
+ };
1405
+ readonly layers: {
1406
+ readonly type: "array";
1407
+ readonly items: {
1408
+ readonly type: "object";
1409
+ readonly properties: {
1410
+ readonly digest: {
1411
+ readonly type: "string";
1412
+ readonly description: "Digest of the layer.";
1413
+ readonly example: "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890";
1414
+ };
1415
+ readonly size: {
1416
+ readonly type: "number";
1417
+ readonly format: "float";
1418
+ readonly description: "Size of the layer in bytes.";
1419
+ readonly example: 5678;
1420
+ };
1421
+ };
1422
+ readonly required: readonly ["size"];
1423
+ readonly additionalProperties: false;
1424
+ };
1425
+ readonly description: "Layers for this platform.";
1426
+ };
1427
+ readonly size: {
1428
+ readonly type: "number";
1429
+ readonly format: "float";
1430
+ readonly description: "Total size of this platform manifest in bytes.";
1431
+ readonly example: 12345678;
1325
1432
  };
1326
- readonly minItems: 1;
1327
- readonly description: "List of CFKE control plane versions available for the organization.";
1328
1433
  };
1434
+ readonly required: readonly ["digest"];
1435
+ readonly additionalProperties: false;
1329
1436
  };
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"];
1331
- readonly additionalProperties: false;
1332
- 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
- };
1334
- readonly status: {
1335
- readonly type: "string";
1336
- readonly description: "Status of the organization. Can be `active` or `closed`, or `suspended`.";
1337
- readonly enum: readonly ["active", "closed", "suspended"];
1338
- };
1339
- };
1340
- readonly required: readonly ["id", "date_created", "quota", "status"];
1341
- readonly additionalProperties: false;
1342
- };
1343
- export declare const PaymentMethodSchema: {
1344
- readonly type: "object";
1345
- readonly properties: {
1346
- readonly id: {
1347
- readonly type: "string";
1348
- readonly format: "uuid";
1349
- readonly description: "Unique identifier of the organization. UUID v4 string in canonical form.";
1350
- readonly example: "e94d30ec-a2dd-4dcb-832c-ac2be144ba91";
1437
+ readonly description: "Array of manifests for multi-arch images.";
1351
1438
  };
1352
- readonly setup: {
1353
- readonly type: "boolean";
1354
- readonly description: "Whether organization payment method was set up and ready to use for payments.";
1355
- readonly example: true;
1439
+ readonly size: {
1440
+ readonly type: "number";
1441
+ readonly format: "float";
1442
+ readonly description: "Total size of the tag in bytes.";
1443
+ readonly example: 123456789;
1356
1444
  };
1357
- readonly type: {
1445
+ readonly region: {
1358
1446
  readonly type: "string";
1359
- readonly nullable: true;
1360
- readonly description: "Payment method type type. Only `card` payments supported at the moment.";
1361
- readonly example: "card";
1362
- readonly enum: readonly ["card"];
1447
+ readonly description: "Registry region.";
1448
+ readonly example: "northamerica";
1363
1449
  };
1364
- readonly last4: {
1450
+ readonly repository: {
1365
1451
  readonly type: "string";
1366
- readonly nullable: true;
1367
- readonly description: "Last 4 digits of the payment card number.";
1368
- readonly example: "4242";
1369
- };
1370
- readonly exp_month: {
1371
- readonly type: "integer";
1372
- readonly minimum: 1;
1373
- readonly maximum: 12;
1374
- readonly nullable: true;
1375
- readonly description: "Two-digit number representing the card's expiration month.";
1376
- readonly example: "12";
1377
- };
1378
- readonly exp_year: {
1379
- readonly type: "integer";
1380
- readonly minimum: 2024;
1381
- readonly nullable: true;
1382
- readonly description: "Four-digit number representing the card's expiration year.";
1383
- readonly example: "2028";
1452
+ readonly description: "Repository name.";
1453
+ readonly example: "my-app";
1384
1454
  };
1385
- readonly brand: {
1455
+ readonly uri: {
1386
1456
  readonly type: "string";
1387
- readonly nullable: true;
1388
- readonly description: "Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.";
1389
- readonly example: "visa";
1390
- readonly enum: readonly ["amex", "diners", "discover", "eftpos_au", "jcb", "mastercard", "unionpay", "visa", "unknown"];
1457
+ readonly description: "Full URI of the tag.";
1458
+ readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app:latest";
1391
1459
  };
1392
1460
  };
1393
- readonly required: readonly ["id", "setup", "type", "last4", "exp_month", "exp_year", "brand"];
1461
+ readonly required: readonly ["name", "digest", "size", "region", "repository", "uri"];
1394
1462
  readonly additionalProperties: false;
1395
1463
  };
1396
1464
  export declare const TokenCreateInputSchema: {
@@ -1471,6 +1539,101 @@ export declare const TokenUpdateInputSchema: {
1471
1539
  };
1472
1540
  readonly additionalProperties: false;
1473
1541
  };
1542
+ export declare const UsageFacetsSchema: {
1543
+ readonly type: "object";
1544
+ readonly properties: {
1545
+ readonly cluster_id: {
1546
+ readonly type: "array";
1547
+ readonly items: {
1548
+ readonly type: "string";
1549
+ };
1550
+ readonly description: "List of unique cluster IDs";
1551
+ readonly example: readonly ["6b5439b1-923a-4f2b-a371-d554e5ea23fa"];
1552
+ };
1553
+ readonly product: {
1554
+ readonly type: "array";
1555
+ readonly items: {
1556
+ readonly type: "string";
1557
+ };
1558
+ readonly description: "List of unique products";
1559
+ readonly example: readonly ["cfke_controlplane", "cfke_connected_nodes"];
1560
+ };
1561
+ };
1562
+ readonly additionalProperties: false;
1563
+ };
1564
+ export declare const UsageResponseSchema: {
1565
+ readonly type: "object";
1566
+ readonly properties: {
1567
+ readonly data: {
1568
+ readonly type: "array";
1569
+ readonly items: {
1570
+ readonly type: "object";
1571
+ readonly properties: {
1572
+ readonly hour: {
1573
+ readonly type: "string";
1574
+ readonly description: "Hour of the usage";
1575
+ readonly example: "2019-01-01T00:00:00.000Z";
1576
+ };
1577
+ readonly cluster_id: {
1578
+ readonly type: "string";
1579
+ readonly description: "Unique identifier of the kubernetes cluster. UUID v4 string in canonical form";
1580
+ readonly example: "6b5439b1-923a-4f2b-a371-d554e5ea23fa";
1581
+ };
1582
+ readonly product: {
1583
+ readonly type: "string";
1584
+ readonly description: "The product the usage is associated with";
1585
+ readonly example: "cfke_controlplane";
1586
+ };
1587
+ readonly value: {
1588
+ readonly type: "number";
1589
+ readonly format: "float";
1590
+ readonly description: "Consumption";
1591
+ readonly example: 4;
1592
+ };
1593
+ readonly price: {
1594
+ readonly type: "number";
1595
+ readonly format: "float";
1596
+ readonly description: "Price per unit";
1597
+ readonly example: 0.01;
1598
+ };
1599
+ readonly total: {
1600
+ readonly type: "number";
1601
+ readonly format: "float";
1602
+ readonly description: "Total cost";
1603
+ };
1604
+ };
1605
+ readonly required: readonly ["hour", "cluster_id", "product", "value", "price", "total"];
1606
+ readonly additionalProperties: false;
1607
+ };
1608
+ readonly description: "Usage data";
1609
+ };
1610
+ readonly facets: {
1611
+ readonly type: "object";
1612
+ readonly properties: {
1613
+ readonly cluster_id: {
1614
+ readonly type: "array";
1615
+ readonly items: {
1616
+ readonly type: "string";
1617
+ };
1618
+ readonly description: "List of unique cluster IDs";
1619
+ readonly example: readonly ["6b5439b1-923a-4f2b-a371-d554e5ea23fa"];
1620
+ };
1621
+ readonly product: {
1622
+ readonly type: "array";
1623
+ readonly items: {
1624
+ readonly type: "string";
1625
+ };
1626
+ readonly description: "List of unique products";
1627
+ readonly example: readonly ["cfke_controlplane", "cfke_connected_nodes"];
1628
+ };
1629
+ };
1630
+ readonly additionalProperties: false;
1631
+ readonly description: "Facets for filtering";
1632
+ };
1633
+ };
1634
+ readonly required: readonly ["data", "facets"];
1635
+ readonly additionalProperties: false;
1636
+ };
1474
1637
  export declare const UsageSchema: {
1475
1638
  readonly type: "object";
1476
1639
  readonly properties: {
@@ -1481,78 +1644,33 @@ export declare const UsageSchema: {
1481
1644
  };
1482
1645
  readonly cluster_id: {
1483
1646
  readonly type: "string";
1484
- readonly format: "uuid";
1485
1647
  readonly description: "Unique identifier of the kubernetes cluster. UUID v4 string in canonical form";
1486
1648
  readonly example: "6b5439b1-923a-4f2b-a371-d554e5ea23fa";
1487
1649
  };
1488
- readonly cluster_tier: {
1489
- readonly type: "string";
1490
- readonly description: "Tier of the cluster.";
1491
- readonly example: "pro";
1492
- readonly enum: readonly [""];
1493
- };
1494
1650
  readonly product: {
1495
1651
  readonly type: "string";
1496
1652
  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"];
1499
- };
1500
- readonly node_name: {
1501
- readonly type: "string";
1502
- readonly description: "Name of the Kubernetes node";
1503
- readonly example: "flexible-moth-956037384";
1653
+ readonly example: "cfke_controlplane";
1504
1654
  };
1505
- readonly sku: {
1506
- readonly type: "string";
1507
- readonly description: "SKU of the Kubernetes node";
1508
- readonly example: "GCP-NORTHAMERICA-NORTHEAST1-A-G1-SMALL-SPOT";
1509
- };
1510
- readonly cpu: {
1511
- readonly anyOf: readonly [{
1512
- readonly type: "number";
1513
- readonly format: "float";
1514
- readonly description: "CPU core count of the node";
1515
- readonly example: 4;
1516
- }, {
1517
- readonly type: "string";
1518
- readonly enum: readonly [""];
1519
- }];
1655
+ readonly value: {
1656
+ readonly type: "number";
1657
+ readonly format: "float";
1658
+ readonly description: "Consumption";
1659
+ readonly example: 4;
1520
1660
  };
1521
1661
  readonly price: {
1522
- readonly anyOf: readonly [{
1523
- readonly type: "number";
1524
- readonly format: "float";
1525
- readonly description: "Price";
1526
- readonly example: 4;
1527
- }, {
1528
- readonly type: "string";
1529
- readonly enum: readonly [""];
1530
- }];
1531
- };
1532
- readonly value: {
1533
- readonly anyOf: readonly [{
1534
- readonly type: "number";
1535
- readonly format: "float";
1536
- readonly description: "Value";
1537
- readonly example: 4;
1538
- }, {
1539
- readonly type: "string";
1540
- readonly enum: readonly [""];
1541
- }];
1662
+ readonly type: "number";
1663
+ readonly format: "float";
1664
+ readonly description: "Price per unit";
1665
+ readonly example: 0.01;
1542
1666
  };
1543
1667
  readonly total: {
1544
- readonly anyOf: readonly [{
1545
- readonly type: "number";
1546
- readonly format: "float";
1547
- readonly description: "Total";
1548
- readonly example: 4;
1549
- }, {
1550
- readonly type: "string";
1551
- readonly enum: readonly [""];
1552
- }];
1668
+ readonly type: "number";
1669
+ readonly format: "float";
1670
+ readonly description: "Total cost";
1553
1671
  };
1554
1672
  };
1555
- readonly required: readonly ["cluster_id", "cluster_tier", "product", "node_name", "sku", "cpu", "price", "value", "total"];
1673
+ readonly required: readonly ["hour", "cluster_id", "product", "value", "price", "total"];
1556
1674
  readonly additionalProperties: false;
1557
1675
  };
1558
1676
  export declare const UserCreateInputSchema: {
@@ -1652,28 +1770,6 @@ export declare const UserSchema: {
1652
1770
  readonly description: "Creation date of the user. ISO 8601 date string in UTC timezone";
1653
1771
  readonly example: "2023-11-02T16:08:14.338Z";
1654
1772
  };
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
1773
  };
1678
1774
  readonly required: readonly ["email", "first_name", "last_name", "role", "status", "id", "date_created"];
1679
1775
  readonly additionalProperties: false;