@cloudfleet/sdk 0.0.1-76e2a56 → 0.0.1-79703f6

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 (87) hide show
  1. package/dist/@tanstack/react-query.gen.d.ts +1125 -0
  2. package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
  3. package/dist/@tanstack/react-query.gen.js +1129 -0
  4. package/dist/@tanstack/react-query.gen.js.map +1 -0
  5. package/dist/client/client.gen.d.ts +3 -0
  6. package/dist/client/client.gen.d.ts.map +1 -0
  7. package/dist/client/client.gen.js +220 -0
  8. package/dist/client/client.gen.js.map +1 -0
  9. package/dist/client/index.d.ts +9 -0
  10. package/dist/client/index.d.ts.map +1 -0
  11. package/dist/client/index.js +7 -0
  12. package/dist/client/index.js.map +1 -0
  13. package/dist/client/types.gen.d.ts +121 -0
  14. package/dist/client/types.gen.d.ts.map +1 -0
  15. package/dist/client/types.gen.js +3 -0
  16. package/dist/client/types.gen.js.map +1 -0
  17. package/dist/client/utils.gen.d.ts +38 -0
  18. package/dist/client/utils.gen.d.ts.map +1 -0
  19. package/dist/client/utils.gen.js +229 -0
  20. package/dist/client/utils.gen.js.map +1 -0
  21. package/dist/client.gen.d.ts +4 -4
  22. package/dist/client.gen.d.ts.map +1 -1
  23. package/dist/client.gen.js +2 -4
  24. package/dist/client.gen.js.map +1 -1
  25. package/dist/core/auth.gen.d.ts +19 -0
  26. package/dist/core/auth.gen.d.ts.map +1 -0
  27. package/dist/core/auth.gen.js +15 -0
  28. package/dist/core/auth.gen.js.map +1 -0
  29. package/dist/core/bodySerializer.gen.d.ts +26 -0
  30. package/dist/core/bodySerializer.gen.d.ts.map +1 -0
  31. package/dist/core/bodySerializer.gen.js +58 -0
  32. package/dist/core/bodySerializer.gen.js.map +1 -0
  33. package/dist/core/params.gen.d.ts +44 -0
  34. package/dist/core/params.gen.d.ts.map +1 -0
  35. package/dist/core/params.gen.js +101 -0
  36. package/dist/core/params.gen.js.map +1 -0
  37. package/dist/core/pathSerializer.gen.d.ts +34 -0
  38. package/dist/core/pathSerializer.gen.d.ts.map +1 -0
  39. package/dist/core/pathSerializer.gen.js +107 -0
  40. package/dist/core/pathSerializer.gen.js.map +1 -0
  41. package/dist/core/queryKeySerializer.gen.d.ts +19 -0
  42. package/dist/core/queryKeySerializer.gen.d.ts.map +1 -0
  43. package/dist/core/queryKeySerializer.gen.js +93 -0
  44. package/dist/core/queryKeySerializer.gen.js.map +1 -0
  45. package/dist/core/serverSentEvents.gen.d.ts +72 -0
  46. package/dist/core/serverSentEvents.gen.d.ts.map +1 -0
  47. package/dist/core/serverSentEvents.gen.js +133 -0
  48. package/dist/core/serverSentEvents.gen.js.map +1 -0
  49. package/dist/core/types.gen.d.ts +79 -0
  50. package/dist/core/types.gen.d.ts.map +1 -0
  51. package/dist/core/types.gen.js +3 -0
  52. package/dist/core/types.gen.js.map +1 -0
  53. package/dist/core/utils.gen.d.ts +20 -0
  54. package/dist/core/utils.gen.d.ts.map +1 -0
  55. package/dist/core/utils.gen.js +88 -0
  56. package/dist/core/utils.gen.js.map +1 -0
  57. package/dist/index.d.ts +3 -0
  58. package/dist/index.d.ts.map +1 -1
  59. package/dist/index.js +3 -0
  60. package/dist/index.js.map +1 -1
  61. package/dist/schemas.gen.d.ts +1505 -866
  62. package/dist/schemas.gen.d.ts.map +1 -1
  63. package/dist/schemas.gen.js +2809 -953
  64. package/dist/schemas.gen.js.map +1 -1
  65. package/dist/sdk.gen.d.ts +242 -142
  66. package/dist/sdk.gen.d.ts.map +1 -1
  67. package/dist/sdk.gen.js +336 -225
  68. package/dist/sdk.gen.js.map +1 -1
  69. package/dist/services/kubernetes/api.d.ts +196 -0
  70. package/dist/services/kubernetes/api.d.ts.map +1 -0
  71. package/dist/services/kubernetes/api.js +140 -0
  72. package/dist/services/kubernetes/api.js.map +1 -0
  73. package/dist/services/kubernetes/index.d.ts +44 -0
  74. package/dist/services/kubernetes/index.d.ts.map +1 -0
  75. package/dist/services/kubernetes/index.js +68 -0
  76. package/dist/services/kubernetes/index.js.map +1 -0
  77. package/dist/services/kubernetes/types.d.ts +1335 -0
  78. package/dist/services/kubernetes/types.d.ts.map +1 -0
  79. package/dist/services/kubernetes/types.js +2 -0
  80. package/dist/services/kubernetes/types.js.map +1 -0
  81. package/dist/types.gen.d.ts +1373 -830
  82. package/dist/types.gen.d.ts.map +1 -1
  83. package/dist/zod.gen.d.ts +3687 -2423
  84. package/dist/zod.gen.d.ts.map +1 -1
  85. package/dist/zod.gen.js +1523 -857
  86. package/dist/zod.gen.js.map +1 -1
  87. package/package.json +31 -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,19 +410,30 @@ 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 [{
228
417
  readonly type: "string";
229
418
  readonly format: "uri";
230
- readonly description: "URL of the Kubernetes cluster control plane. This is the endpoint that kubectl uses to connect to the cluster.";
419
+ readonly description: "URL signed by the private CA of the Kubernetes cluster control plane. This is the endpoint that kubectl uses to connect to the cluster. (Deprecated, use endpoint_public instead)";
231
420
  readonly example: "https://2ae6557c-c61f-49c6-b4c1-a65473470a03.staging.cfke.cloudfleet.dev:6443";
232
421
  }, {
233
422
  readonly type: "string";
234
423
  readonly enum: readonly [""];
235
424
  }];
236
425
  };
426
+ readonly endpoint_public: {
427
+ readonly anyOf: readonly [{
428
+ readonly type: "string";
429
+ readonly format: "uri";
430
+ readonly description: "URL signed by a public CA of the Kubernetes cluster control plane. This is the endpoint that kubectl uses to connect to the cluster.";
431
+ readonly example: "https://2ae6557c-c61f-49c6-b4c1-a65473470a03.staging.cfke.io";
432
+ }, {
433
+ readonly type: "string";
434
+ readonly enum: readonly [""];
435
+ }];
436
+ };
237
437
  readonly certificate_ca: {
238
438
  readonly type: "string";
239
439
  readonly description: "Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.";
@@ -242,7 +442,7 @@ export declare const ClusterSchema: {
242
442
  readonly version_current: {
243
443
  readonly type: "string";
244
444
  readonly description: "Current version of the cluster.";
245
- readonly example: "1.29.3-cfke.52";
445
+ readonly example: "1.33.7-cfke.264";
246
446
  };
247
447
  readonly created_at: {
248
448
  readonly type: "string";
@@ -259,6 +459,12 @@ export declare const ClusterSchema: {
259
459
  readonly description: "Indicates if the cluster is ready to be used.";
260
460
  readonly example: true;
261
461
  };
462
+ readonly version_channel: {
463
+ readonly type: "string";
464
+ 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-]+)*))?$";
465
+ readonly description: "Version of the kubernetes cluster.";
466
+ readonly example: "1.x.x-cfke.x";
467
+ };
262
468
  };
263
469
  readonly required: readonly ["name", "tier", "id", "status"];
264
470
  readonly additionalProperties: false;
@@ -274,13 +480,20 @@ export declare const ClusterUpdateInputSchema: {
274
480
  readonly description: "Name of the cluster.";
275
481
  readonly example: "production-cluster";
276
482
  };
483
+ readonly tier: {
484
+ readonly type: "string";
485
+ readonly description: "Tier of the cluster.";
486
+ readonly example: "pro";
487
+ readonly enum: readonly ["basic", "pro"];
488
+ };
277
489
  readonly version_channel: {
278
490
  readonly type: "string";
279
491
  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
492
  readonly description: "Version of the kubernetes cluster.";
281
- readonly example: "1.29.x-cfke.x";
493
+ readonly example: "1.x.x-cfke.x";
282
494
  };
283
495
  };
496
+ readonly required: readonly ["tier"];
284
497
  readonly additionalProperties: false;
285
498
  };
286
499
  export declare const FleetCreateInputSchema: {
@@ -290,13 +503,12 @@ export declare const FleetCreateInputSchema: {
290
503
  readonly type: "object";
291
504
  readonly properties: {
292
505
  readonly cpu: {
293
- readonly type: "number";
294
- readonly format: "float";
506
+ readonly type: "integer";
295
507
  readonly minimum: 0;
296
- readonly description: "CPU limit in cores.";
508
+ readonly maximum: 100000;
509
+ readonly description: "CPU limit in cores. Maximum 100,000.";
297
510
  };
298
511
  };
299
- readonly required: readonly ["cpu"];
300
512
  readonly additionalProperties: false;
301
513
  readonly description: "Limits define a set of bounds for provisioning capacity.";
302
514
  };
@@ -305,57 +517,99 @@ export declare const FleetCreateInputSchema: {
305
517
  readonly properties: {
306
518
  readonly enabled: {
307
519
  readonly type: "boolean";
308
- readonly default: true;
309
520
  };
310
521
  readonly project: {
311
522
  readonly type: "string";
312
- readonly description: "Project GCP Project id to deploy instances into";
523
+ readonly pattern: "^[a-z][a-z0-9-]{4,28}[a-z0-9]$";
524
+ readonly description: "GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.";
525
+ readonly example: "my-cloudfleet-project";
313
526
  };
314
527
  };
315
- readonly required: readonly ["project"];
528
+ readonly required: readonly ["enabled"];
316
529
  readonly additionalProperties: false;
317
530
  };
318
531
  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
- };
532
+ readonly type: "object";
533
+ readonly properties: {
534
+ readonly enabled: {
535
+ readonly type: "boolean";
329
536
  };
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
- };
537
+ readonly apiKey: {
538
+ readonly type: "string";
539
+ readonly maxLength: 64;
540
+ readonly minLength: 64;
541
+ readonly pattern: "^[A-Za-z0-9]+$";
542
+ readonly description: "Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.";
341
543
  };
342
- readonly additionalProperties: false;
343
- }];
544
+ };
545
+ readonly required: readonly ["enabled"];
546
+ readonly additionalProperties: false;
344
547
  };
345
548
  readonly aws: {
346
549
  readonly type: "object";
347
550
  readonly properties: {
348
551
  readonly enabled: {
349
552
  readonly type: "boolean";
350
- readonly default: true;
351
553
  };
352
554
  readonly controllerRoleArn: {
353
555
  readonly type: "string";
354
- readonly description: "ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.";
556
+ readonly pattern: "^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$";
557
+ readonly description: "AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.";
558
+ readonly example: "arn:aws:iam::123456789012:role/Cloudfleet";
559
+ };
560
+ };
561
+ readonly required: readonly ["enabled"];
562
+ readonly additionalProperties: false;
563
+ };
564
+ readonly constraints: {
565
+ readonly type: "object";
566
+ readonly properties: {
567
+ readonly 'karpenter.sh/capacity-type': {
568
+ readonly type: "array";
569
+ readonly items: {
570
+ readonly type: "string";
571
+ readonly enum: readonly ["on-demand", "spot"];
572
+ };
573
+ readonly minItems: 1;
574
+ readonly description: "Allowed values for `karpenter.sh/capacity-type`.";
575
+ readonly default: readonly ["on-demand", "spot"];
576
+ };
577
+ readonly 'kubernetes.io/arch': {
578
+ readonly type: "array";
579
+ readonly items: {
580
+ readonly type: "string";
581
+ readonly enum: readonly ["amd64", "arm64"];
582
+ };
583
+ readonly minItems: 1;
584
+ readonly description: "Allowed values for `kubernetes.io/arch`.";
585
+ readonly default: readonly ["amd64"];
586
+ };
587
+ readonly 'cfke.io/instance-family': {
588
+ readonly type: "array";
589
+ readonly items: {
590
+ readonly type: "string";
591
+ readonly enum: readonly ["a1", "a2", "a3", "a4", "c1", "c2", "c2d", "c3", "c3d", "c4", "c4a", "c4d", "c5", "c5a", "c5ad", "c5d", "c5n", "c6a", "c6g", "c6gd", "c6gn", "c6i", "c6id", "c6in", "c7a", "c7g", "c7gd", "c7gn", "c7i", "c7i-flex", "c8g", "c8gd", "cax", "ccx", "cpx", "cx", "d2", "d3", "d3en", "dl1", "dl2q", "e2", "f1", "f2", "g1", "g2", "g4ad", "g4dn", "g5", "g5g", "g6", "g6e", "gr6", "h1", "h3", "hpc6a", "hpc6id", "hpc7a", "hpc7g", "i2", "i3", "i3en", "i4g", "i4i", "i7i", "i7ie", "i8g", "im4gn", "inf1", "inf2", "is4gen", "m1", "m2", "m3", "m4", "m5", "m5a", "m5ad", "m5d", "m5dn", "m5n", "m5zn", "m6a", "m6g", "m6gd", "m6i", "m6id", "m6idn", "m6in", "m7a", "m7g", "m7gd", "m7i", "m7i-flex", "m8g", "m8gd", "n1", "n2", "n2d", "n4", "p3", "p3dn", "p4d", "p4de", "p5", "p5e", "p5en", "p6-b200", "r3", "r4", "r5", "r5a", "r5ad", "r5b", "r5d", "r5dn", "r5n", "r6a", "r6g", "r6gd", "r6i", "r6id", "r6idn", "r6in", "r7a", "r7g", "r7gd", "r7i", "r7iz", "r8g", "r8gd", "t2", "t2a", "t2d", "t3", "t3a", "t4g", "trn1", "trn1n", "u-3tb1", "u-6tb1", "u7i-12tb", "u7i-6tb", "u7i-8tb", "u7in-16tb", "u7in-24tb", "u7in-32tb", "vt1", "x1", "x1e", "x2gd", "x2idn", "x2iedn", "x2iezn", "x4", "x8g", "z1d", "z3"];
592
+ };
593
+ readonly description: "Allowed values for `cfke.io/instance-family`.";
594
+ };
595
+ readonly 'topology.kubernetes.io/region': {
596
+ readonly type: "array";
597
+ readonly items: {
598
+ readonly type: "string";
599
+ readonly enum: readonly ["africa-south1", "ap-northeast-1", "ap-northeast-2", "ap-northeast-3", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ash", "asia-east1", "asia-east2", "asia-northeast1", "asia-northeast2", "asia-northeast3", "asia-south1", "asia-south2", "asia-southeast1", "asia-southeast2", "australia-southeast1", "australia-southeast2", "ca-central-1", "eu-central-1", "eu-central-2", "eu-north-1", "eu-west-1", "eu-west-2", "eu-west-3", "europe-central2", "europe-north1", "europe-southwest1", "europe-west1", "europe-west10", "europe-west12", "europe-west2", "europe-west3", "europe-west4", "europe-west6", "europe-west8", "europe-west9", "fsn1", "hel1", "hil", "me-central1", "me-central2", "me-west1", "nbg1", "northamerica-northeast1", "northamerica-northeast2", "sa-east-1", "sin", "southamerica-east1", "southamerica-west1", "us-central1", "us-east-1", "us-east-2", "us-east1", "us-east4", "us-east5", "us-south1", "us-west-1", "us-west-2", "us-west1", "us-west2", "us-west3", "us-west4"];
600
+ };
601
+ readonly description: "Allowed values for `topology.kubernetes.io/region`.";
355
602
  };
356
603
  };
357
- readonly required: readonly ["controllerRoleArn"];
358
604
  readonly additionalProperties: false;
605
+ readonly description: "Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together. Omit a field to place no restriction on that key.";
606
+ };
607
+ readonly scalingProfile: {
608
+ readonly type: "string";
609
+ readonly description: "Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.";
610
+ readonly default: "conservative";
611
+ readonly example: "conservative";
612
+ readonly enum: readonly ["aggressive", "conservative"];
359
613
  };
360
614
  readonly id: {
361
615
  readonly type: "string";
@@ -365,13 +619,8 @@ export declare const FleetCreateInputSchema: {
365
619
  readonly description: "Unique identifier of the kubernetes fleet.";
366
620
  readonly example: "new-clouds-fleet";
367
621
  };
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
622
  };
374
- readonly required: readonly ["id", "type"];
623
+ readonly required: readonly ["id"];
375
624
  readonly additionalProperties: false;
376
625
  };
377
626
  export declare const FleetSchema: {
@@ -381,13 +630,12 @@ export declare const FleetSchema: {
381
630
  readonly type: "object";
382
631
  readonly properties: {
383
632
  readonly cpu: {
384
- readonly type: "number";
385
- readonly format: "float";
633
+ readonly type: "integer";
386
634
  readonly minimum: 0;
387
- readonly description: "CPU limit in cores.";
635
+ readonly maximum: 100000;
636
+ readonly description: "CPU limit in cores. Maximum 100,000.";
388
637
  };
389
638
  };
390
- readonly required: readonly ["cpu"];
391
639
  readonly additionalProperties: false;
392
640
  readonly description: "Limits define a set of bounds for provisioning capacity.";
393
641
  };
@@ -396,73 +644,108 @@ export declare const FleetSchema: {
396
644
  readonly properties: {
397
645
  readonly enabled: {
398
646
  readonly type: "boolean";
399
- readonly default: true;
400
647
  };
401
648
  readonly project: {
402
649
  readonly type: "string";
403
- readonly description: "Project GCP Project id to deploy instances into";
650
+ readonly pattern: "^[a-z][a-z0-9-]{4,28}[a-z0-9]$";
651
+ readonly description: "GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.";
652
+ readonly example: "my-cloudfleet-project";
404
653
  };
405
654
  };
406
- readonly required: readonly ["project"];
655
+ readonly required: readonly ["enabled"];
407
656
  readonly additionalProperties: false;
408
657
  };
409
658
  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
- };
659
+ readonly type: "object";
660
+ readonly properties: {
661
+ readonly enabled: {
662
+ readonly type: "boolean";
420
663
  };
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
- };
664
+ readonly apiKey: {
665
+ readonly type: "string";
666
+ readonly pattern: "^\\*{64}$";
667
+ readonly description: "Redacted Hetzner API token. Returned as 64 asterisks when a token is configured; omitted otherwise. The real value is never echoed by the API.";
432
668
  };
433
- readonly additionalProperties: false;
434
- }];
669
+ };
670
+ readonly required: readonly ["enabled"];
671
+ readonly additionalProperties: false;
435
672
  };
436
673
  readonly aws: {
437
674
  readonly type: "object";
438
675
  readonly properties: {
439
676
  readonly enabled: {
440
677
  readonly type: "boolean";
441
- readonly default: true;
442
678
  };
443
679
  readonly controllerRoleArn: {
444
680
  readonly type: "string";
445
- readonly description: "ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.";
681
+ readonly pattern: "^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$";
682
+ readonly description: "AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.";
683
+ readonly example: "arn:aws:iam::123456789012:role/Cloudfleet";
446
684
  };
447
685
  };
448
- readonly required: readonly ["controllerRoleArn"];
686
+ readonly required: readonly ["enabled"];
449
687
  readonly additionalProperties: false;
450
688
  };
451
- readonly id: {
452
- readonly type: "string";
453
- readonly maxLength: 63;
454
- readonly minLength: 1;
455
- readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
456
- readonly description: "Unique identifier of the kubernetes fleet.";
457
- readonly example: "new-clouds-fleet";
458
- };
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
- };
465
- readonly required: readonly ["id", "type"];
689
+ readonly constraints: {
690
+ readonly type: "object";
691
+ readonly properties: {
692
+ readonly 'karpenter.sh/capacity-type': {
693
+ readonly type: "array";
694
+ readonly items: {
695
+ readonly type: "string";
696
+ readonly enum: readonly ["on-demand", "spot"];
697
+ };
698
+ readonly minItems: 1;
699
+ readonly description: "Allowed values for `karpenter.sh/capacity-type`.";
700
+ readonly default: readonly ["on-demand", "spot"];
701
+ };
702
+ readonly 'kubernetes.io/arch': {
703
+ readonly type: "array";
704
+ readonly items: {
705
+ readonly type: "string";
706
+ readonly enum: readonly ["amd64", "arm64"];
707
+ };
708
+ readonly minItems: 1;
709
+ readonly description: "Allowed values for `kubernetes.io/arch`.";
710
+ readonly default: readonly ["amd64"];
711
+ };
712
+ readonly 'cfke.io/instance-family': {
713
+ readonly type: "array";
714
+ readonly items: {
715
+ readonly type: "string";
716
+ readonly enum: readonly ["a1", "a2", "a3", "a4", "c1", "c2", "c2d", "c3", "c3d", "c4", "c4a", "c4d", "c5", "c5a", "c5ad", "c5d", "c5n", "c6a", "c6g", "c6gd", "c6gn", "c6i", "c6id", "c6in", "c7a", "c7g", "c7gd", "c7gn", "c7i", "c7i-flex", "c8g", "c8gd", "cax", "ccx", "cpx", "cx", "d2", "d3", "d3en", "dl1", "dl2q", "e2", "f1", "f2", "g1", "g2", "g4ad", "g4dn", "g5", "g5g", "g6", "g6e", "gr6", "h1", "h3", "hpc6a", "hpc6id", "hpc7a", "hpc7g", "i2", "i3", "i3en", "i4g", "i4i", "i7i", "i7ie", "i8g", "im4gn", "inf1", "inf2", "is4gen", "m1", "m2", "m3", "m4", "m5", "m5a", "m5ad", "m5d", "m5dn", "m5n", "m5zn", "m6a", "m6g", "m6gd", "m6i", "m6id", "m6idn", "m6in", "m7a", "m7g", "m7gd", "m7i", "m7i-flex", "m8g", "m8gd", "n1", "n2", "n2d", "n4", "p3", "p3dn", "p4d", "p4de", "p5", "p5e", "p5en", "p6-b200", "r3", "r4", "r5", "r5a", "r5ad", "r5b", "r5d", "r5dn", "r5n", "r6a", "r6g", "r6gd", "r6i", "r6id", "r6idn", "r6in", "r7a", "r7g", "r7gd", "r7i", "r7iz", "r8g", "r8gd", "t2", "t2a", "t2d", "t3", "t3a", "t4g", "trn1", "trn1n", "u-3tb1", "u-6tb1", "u7i-12tb", "u7i-6tb", "u7i-8tb", "u7in-16tb", "u7in-24tb", "u7in-32tb", "vt1", "x1", "x1e", "x2gd", "x2idn", "x2iedn", "x2iezn", "x4", "x8g", "z1d", "z3"];
717
+ };
718
+ readonly description: "Allowed values for `cfke.io/instance-family`.";
719
+ };
720
+ readonly 'topology.kubernetes.io/region': {
721
+ readonly type: "array";
722
+ readonly items: {
723
+ readonly type: "string";
724
+ readonly enum: readonly ["africa-south1", "ap-northeast-1", "ap-northeast-2", "ap-northeast-3", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ash", "asia-east1", "asia-east2", "asia-northeast1", "asia-northeast2", "asia-northeast3", "asia-south1", "asia-south2", "asia-southeast1", "asia-southeast2", "australia-southeast1", "australia-southeast2", "ca-central-1", "eu-central-1", "eu-central-2", "eu-north-1", "eu-west-1", "eu-west-2", "eu-west-3", "europe-central2", "europe-north1", "europe-southwest1", "europe-west1", "europe-west10", "europe-west12", "europe-west2", "europe-west3", "europe-west4", "europe-west6", "europe-west8", "europe-west9", "fsn1", "hel1", "hil", "me-central1", "me-central2", "me-west1", "nbg1", "northamerica-northeast1", "northamerica-northeast2", "sa-east-1", "sin", "southamerica-east1", "southamerica-west1", "us-central1", "us-east-1", "us-east-2", "us-east1", "us-east4", "us-east5", "us-south1", "us-west-1", "us-west-2", "us-west1", "us-west2", "us-west3", "us-west4"];
725
+ };
726
+ readonly description: "Allowed values for `topology.kubernetes.io/region`.";
727
+ };
728
+ };
729
+ readonly additionalProperties: false;
730
+ readonly description: "Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together. Omit a field to place no restriction on that key.";
731
+ };
732
+ readonly scalingProfile: {
733
+ readonly type: "string";
734
+ readonly description: "Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.";
735
+ readonly default: "conservative";
736
+ readonly example: "conservative";
737
+ readonly enum: readonly ["aggressive", "conservative"];
738
+ };
739
+ readonly id: {
740
+ readonly type: "string";
741
+ readonly maxLength: 63;
742
+ readonly minLength: 1;
743
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
744
+ readonly description: "Unique identifier of the kubernetes fleet.";
745
+ readonly example: "new-clouds-fleet";
746
+ };
747
+ };
748
+ readonly required: readonly ["scalingProfile", "id"];
466
749
  readonly additionalProperties: false;
467
750
  };
468
751
  export declare const FleetUpdateInputSchema: {
@@ -472,13 +755,12 @@ export declare const FleetUpdateInputSchema: {
472
755
  readonly type: "object";
473
756
  readonly properties: {
474
757
  readonly cpu: {
475
- readonly type: "number";
476
- readonly format: "float";
758
+ readonly type: "integer";
477
759
  readonly minimum: 0;
478
- readonly description: "CPU limit in cores.";
760
+ readonly maximum: 100000;
761
+ readonly description: "CPU limit in cores. Maximum 100,000.";
479
762
  };
480
763
  };
481
- readonly required: readonly ["cpu"];
482
764
  readonly additionalProperties: false;
483
765
  readonly description: "Limits define a set of bounds for provisioning capacity.";
484
766
  };
@@ -487,329 +769,99 @@ export declare const FleetUpdateInputSchema: {
487
769
  readonly properties: {
488
770
  readonly enabled: {
489
771
  readonly type: "boolean";
490
- readonly default: true;
491
772
  };
492
773
  readonly project: {
493
774
  readonly type: "string";
494
- readonly description: "Project GCP Project id to deploy instances into";
775
+ readonly pattern: "^[a-z][a-z0-9-]{4,28}[a-z0-9]$";
776
+ readonly description: "GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.";
777
+ readonly example: "my-cloudfleet-project";
495
778
  };
496
779
  };
497
- readonly required: readonly ["project"];
780
+ readonly required: readonly ["enabled"];
498
781
  readonly additionalProperties: false;
499
782
  };
500
783
  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
- };
784
+ readonly type: "object";
785
+ readonly properties: {
786
+ readonly enabled: {
787
+ readonly type: "boolean";
511
788
  };
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
- };
789
+ readonly apiKey: {
790
+ readonly type: "string";
791
+ readonly maxLength: 64;
792
+ readonly minLength: 64;
793
+ readonly pattern: "^[A-Za-z0-9]+$";
794
+ readonly description: "Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.";
523
795
  };
524
- readonly additionalProperties: false;
525
- }];
796
+ };
797
+ readonly required: readonly ["enabled"];
798
+ readonly additionalProperties: false;
526
799
  };
527
800
  readonly aws: {
528
801
  readonly type: "object";
529
802
  readonly properties: {
530
803
  readonly enabled: {
531
804
  readonly type: "boolean";
532
- readonly default: true;
533
805
  };
534
806
  readonly controllerRoleArn: {
535
807
  readonly type: "string";
536
- readonly description: "ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.";
808
+ readonly pattern: "^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$";
809
+ readonly description: "AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.";
810
+ readonly example: "arn:aws:iam::123456789012:role/Cloudfleet";
537
811
  };
538
812
  };
539
- readonly required: readonly ["controllerRoleArn"];
813
+ readonly required: readonly ["enabled"];
540
814
  readonly additionalProperties: false;
541
815
  };
542
- };
543
- readonly additionalProperties: false;
544
- };
545
- export declare const InfrastructureFilterSchema: {
546
- readonly type: "object";
547
- readonly properties: {
548
- readonly version: {
549
- readonly type: "integer";
550
- readonly description: "Version of the infrastructure filter definition. Currently only version 1 is supported.";
551
- readonly default: 1;
552
- readonly example: 1;
553
- readonly enum: readonly [1];
554
- };
555
- readonly provider: {
556
- readonly type: "array";
557
- readonly items: {
558
- readonly type: "string";
559
- };
560
- readonly description: "Limit selection of cloud providers to this list. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)";
561
- readonly example: "AWS";
562
- };
563
- readonly region: {
564
- readonly type: "array";
565
- readonly items: {
566
- readonly type: "string";
567
- };
568
- readonly description: "Limits selection of cloud regions to this list of Cloudfleet regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)";
569
- readonly example: "northamerica";
570
- };
571
- readonly sub_region: {
572
- readonly type: "array";
573
- readonly items: {
574
- readonly type: "string";
575
- };
576
- readonly description: "Limits selection of cloud regions to this list of Cloudfleet regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)";
577
- readonly example: "west";
578
- };
579
- readonly csp_region: {
580
- readonly type: "array";
581
- readonly items: {
582
- readonly type: "string";
583
- };
584
- readonly description: "Limits selection of cloud regions to this list of canonical provider regions";
585
- readonly example: "eu-west-1";
586
- };
587
- readonly instance_type: {
588
- readonly type: "array";
589
- readonly items: {
590
- readonly type: "string";
591
- };
592
- readonly description: "Limits selection of instance types to this list. Instance / VM type as defined by the cloud service provider";
593
- readonly example: "p4d.24xlarge";
594
- };
595
- readonly accelerator_name: {
596
- readonly type: "array";
597
- readonly items: {
598
- readonly type: "string";
599
- };
600
- readonly description: "List of Normalized accelerator model names. For example, all variations of Nvidia A100 GPUs will have 'A100' as accelerator name with various memory configurations set in accelerator_memory field";
601
- readonly example: "A100";
602
- };
603
- readonly accelerator_manufacturer: {
604
- readonly type: "array";
605
- readonly items: {
606
- readonly type: "string";
816
+ readonly constraints: {
817
+ readonly type: "object";
818
+ readonly properties: {
819
+ readonly 'karpenter.sh/capacity-type': {
820
+ readonly type: "array";
821
+ readonly items: {
822
+ readonly type: "string";
823
+ readonly enum: readonly ["on-demand", "spot"];
824
+ };
825
+ readonly minItems: 1;
826
+ readonly description: "Allowed values for `karpenter.sh/capacity-type`.";
827
+ };
828
+ readonly 'kubernetes.io/arch': {
829
+ readonly type: "array";
830
+ readonly items: {
831
+ readonly type: "string";
832
+ readonly enum: readonly ["amd64", "arm64"];
833
+ };
834
+ readonly minItems: 1;
835
+ readonly description: "Allowed values for `kubernetes.io/arch`.";
836
+ };
837
+ readonly 'cfke.io/instance-family': {
838
+ readonly type: "array";
839
+ readonly items: {
840
+ readonly type: "string";
841
+ readonly enum: readonly ["a1", "a2", "a3", "a4", "c1", "c2", "c2d", "c3", "c3d", "c4", "c4a", "c4d", "c5", "c5a", "c5ad", "c5d", "c5n", "c6a", "c6g", "c6gd", "c6gn", "c6i", "c6id", "c6in", "c7a", "c7g", "c7gd", "c7gn", "c7i", "c7i-flex", "c8g", "c8gd", "cax", "ccx", "cpx", "cx", "d2", "d3", "d3en", "dl1", "dl2q", "e2", "f1", "f2", "g1", "g2", "g4ad", "g4dn", "g5", "g5g", "g6", "g6e", "gr6", "h1", "h3", "hpc6a", "hpc6id", "hpc7a", "hpc7g", "i2", "i3", "i3en", "i4g", "i4i", "i7i", "i7ie", "i8g", "im4gn", "inf1", "inf2", "is4gen", "m1", "m2", "m3", "m4", "m5", "m5a", "m5ad", "m5d", "m5dn", "m5n", "m5zn", "m6a", "m6g", "m6gd", "m6i", "m6id", "m6idn", "m6in", "m7a", "m7g", "m7gd", "m7i", "m7i-flex", "m8g", "m8gd", "n1", "n2", "n2d", "n4", "p3", "p3dn", "p4d", "p4de", "p5", "p5e", "p5en", "p6-b200", "r3", "r4", "r5", "r5a", "r5ad", "r5b", "r5d", "r5dn", "r5n", "r6a", "r6g", "r6gd", "r6i", "r6id", "r6idn", "r6in", "r7a", "r7g", "r7gd", "r7i", "r7iz", "r8g", "r8gd", "t2", "t2a", "t2d", "t3", "t3a", "t4g", "trn1", "trn1n", "u-3tb1", "u-6tb1", "u7i-12tb", "u7i-6tb", "u7i-8tb", "u7in-16tb", "u7in-24tb", "u7in-32tb", "vt1", "x1", "x1e", "x2gd", "x2idn", "x2iedn", "x2iezn", "x4", "x8g", "z1d", "z3"];
842
+ };
843
+ readonly description: "Allowed values for `cfke.io/instance-family`.";
844
+ };
845
+ readonly 'topology.kubernetes.io/region': {
846
+ readonly type: "array";
847
+ readonly items: {
848
+ readonly type: "string";
849
+ readonly enum: readonly ["africa-south1", "ap-northeast-1", "ap-northeast-2", "ap-northeast-3", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ash", "asia-east1", "asia-east2", "asia-northeast1", "asia-northeast2", "asia-northeast3", "asia-south1", "asia-south2", "asia-southeast1", "asia-southeast2", "australia-southeast1", "australia-southeast2", "ca-central-1", "eu-central-1", "eu-central-2", "eu-north-1", "eu-west-1", "eu-west-2", "eu-west-3", "europe-central2", "europe-north1", "europe-southwest1", "europe-west1", "europe-west10", "europe-west12", "europe-west2", "europe-west3", "europe-west4", "europe-west6", "europe-west8", "europe-west9", "fsn1", "hel1", "hil", "me-central1", "me-central2", "me-west1", "nbg1", "northamerica-northeast1", "northamerica-northeast2", "sa-east-1", "sin", "southamerica-east1", "southamerica-west1", "us-central1", "us-east-1", "us-east-2", "us-east1", "us-east4", "us-east5", "us-south1", "us-west-1", "us-west-2", "us-west1", "us-west2", "us-west3", "us-west4"];
850
+ };
851
+ readonly description: "Allowed values for `topology.kubernetes.io/region`.";
852
+ };
607
853
  };
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;
854
+ readonly additionalProperties: false;
855
+ readonly description: "Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together. Omit a field to place no restriction on that key.";
794
856
  };
795
- readonly capacity_type: {
857
+ readonly scalingProfile: {
796
858
  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;
859
+ readonly description: "Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.";
860
+ readonly example: "conservative";
861
+ readonly enum: readonly ["aggressive", "conservative"];
810
862
  };
811
863
  };
812
- readonly required: readonly ["sku", "provider", "region", "sub_region", "csp_region", "csp_zone", "instance_type", "architecture", "os", "vcpu", "memory", "local_storage", "price"];
864
+ readonly required: readonly ["scalingProfile"];
813
865
  readonly additionalProperties: false;
814
866
  };
815
867
  export declare const InviteSchema: {
@@ -852,23 +904,18 @@ export declare const InvoiceSchema: {
852
904
  readonly properties: {
853
905
  readonly id: {
854
906
  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";
907
+ readonly description: "Unique identifier of the invoice.";
908
+ readonly example: "in_1234567890xCrwxghOTj1234";
858
909
  };
859
- readonly organizationId: {
910
+ readonly number: {
860
911
  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
912
  };
865
913
  readonly status: {
866
914
  readonly type: "string";
867
915
  readonly description: "Status of the invoice";
868
- readonly example: "DRAFT";
869
- readonly enum: readonly ["DRAFT", "COMMITTED", "VOID"];
916
+ readonly example: "paid";
870
917
  };
871
- readonly amount: {
918
+ readonly total: {
872
919
  readonly type: "number";
873
920
  readonly format: "float";
874
921
  readonly description: "Total amount of the invoice";
@@ -877,318 +924,169 @@ export declare const InvoiceSchema: {
877
924
  readonly currency: {
878
925
  readonly type: "string";
879
926
  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"];
927
+ readonly example: "usd";
882
928
  };
883
- readonly creditAdj: {
884
- readonly type: "number";
885
- readonly format: "float";
886
- readonly description: "Total amount of credit adjustments";
887
- readonly example: 0;
929
+ readonly created: {
930
+ readonly type: "string";
931
+ readonly format: "date-time";
932
+ readonly description: "Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.";
933
+ readonly example: "2023-12-20T13:53:32.000Z";
888
934
  };
889
- readonly refundAdj: {
890
- readonly type: "number";
891
- readonly format: "float";
892
- readonly description: "Total amount of refund adjustments";
893
- readonly example: 0;
935
+ readonly period_start: {
936
+ readonly type: "string";
937
+ readonly format: "date-time";
938
+ readonly description: "Billing period start timestamp. ISO 8601 date string in the UTC timezone.";
939
+ readonly example: "2023-12-20T13:53:32.000Z";
894
940
  };
895
- readonly invoiceDate: {
941
+ readonly period_end: {
896
942
  readonly type: "string";
897
- readonly description: "Date of the invoice";
898
- readonly example: "2019-01-01T00:00:00.000Z";
943
+ readonly format: "date-time";
944
+ readonly description: "Billing period end timestamp. ISO 8601 date string in the UTC timezone.";
945
+ readonly example: "2023-12-20T13:53:32.000Z";
899
946
  };
900
- readonly targetDate: {
947
+ readonly invoice_pdf: {
901
948
  readonly type: "string";
902
- readonly description: "Target date of the invoice";
903
- readonly example: "2019-01-01T00:00:00.000Z";
904
949
  };
905
- readonly invoiceNumber: {
950
+ };
951
+ readonly required: readonly ["created", "period_start", "period_end"];
952
+ readonly additionalProperties: false;
953
+ };
954
+ export declare const MarketplaceListingFilesSchema: {
955
+ readonly type: "object";
956
+ readonly properties: {
957
+ readonly chartYaml: {
906
958
  readonly type: "string";
907
- readonly description: "Number of the invoice";
908
- readonly example: "INV-0001";
959
+ readonly description: "Raw Chart.yaml content from the Helm chart";
960
+ readonly example: "apiVersion: v2\nname: nginx-ingress\nversion: 1.18.2-cfke.45\nappVersion: 1.9.4";
909
961
  };
910
- readonly balance: {
911
- readonly type: "number";
912
- readonly format: "float";
913
- readonly description: "Balance of the invoice";
914
- readonly example: 100;
962
+ readonly valuesYaml: {
963
+ readonly type: "string";
964
+ readonly description: "Raw values.yaml content from the Helm chart";
965
+ readonly example: "replicaCount: 1\nimage:\n repository: nginx\n tag: latest";
915
966
  };
916
- readonly bundleKeys: {
967
+ readonly valuesSchemaJson: {
917
968
  readonly type: "string";
918
- readonly description: "Bundle keys of the invoice";
919
- readonly example: "bundleKey1,bundleKey2";
969
+ readonly description: "JSON schema for values.yaml as a string";
970
+ readonly example: "{\"type\":\"object\",\"properties\":{\"replicaCount\":{\"type\":\"number\"}}}";
920
971
  };
921
- readonly credits: {
922
- readonly type: "array";
972
+ };
973
+ readonly additionalProperties: false;
974
+ };
975
+ export declare const MarketplaceListingSchema: {
976
+ readonly type: "object";
977
+ readonly properties: {
978
+ readonly name: {
979
+ readonly type: "string";
980
+ readonly description: "Name of the chart";
981
+ readonly example: "nginx-ingress";
982
+ };
983
+ readonly versions: {
984
+ readonly type: "array";
923
985
  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;
986
+ readonly type: "string";
987
+ 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-]+)*))?$";
988
+ readonly description: "Specific version of the chart";
989
+ readonly example: "1.18.2-cfke.45";
1053
990
  };
1054
- readonly description: "Credits of the invoice";
991
+ readonly description: "Available versions of the chart";
1055
992
  };
1056
- readonly items: {
993
+ readonly version_channels: {
1057
994
  readonly type: "array";
1058
995
  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: {
996
+ readonly type: "string";
997
+ 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-]+)*))?$";
998
+ readonly description: "Version channel pattern";
999
+ readonly example: "1.18.x-cfke.x";
1000
+ };
1001
+ readonly description: "Version channels for the chart";
1002
+ };
1003
+ readonly latestVersion: {
1004
+ readonly type: "string";
1005
+ readonly description: "Latest version of the chart";
1006
+ readonly example: "1.18.2-cfke.45";
1007
+ };
1008
+ readonly metadata: {
1009
+ readonly type: "object";
1010
+ readonly properties: {
1011
+ readonly name: {
1012
+ readonly type: "string";
1013
+ readonly description: "Chart name from metadata";
1014
+ readonly example: "nginx-ingress";
1015
+ };
1016
+ readonly version: {
1017
+ readonly type: "string";
1018
+ readonly description: "Chart version from metadata";
1019
+ readonly example: "1.18.2-cfke.45";
1020
+ };
1021
+ readonly description: {
1022
+ readonly type: "string";
1023
+ readonly description: "Chart description";
1024
+ readonly example: "NGINX Ingress Controller for Kubernetes";
1025
+ };
1026
+ readonly appVersion: {
1027
+ readonly type: "string";
1028
+ readonly description: "Application version";
1029
+ readonly example: "1.9.4";
1030
+ };
1031
+ readonly apiVersion: {
1032
+ readonly type: "string";
1033
+ readonly description: "Helm API version";
1034
+ readonly example: "v2";
1035
+ };
1036
+ readonly keywords: {
1037
+ readonly type: "array";
1038
+ readonly items: {
1159
1039
  readonly type: "string";
1160
- readonly description: "Details of the invoice item";
1161
- readonly example: "Details of the invoice item";
1162
1040
  };
1163
- readonly catalogEffectiveDate: {
1041
+ readonly description: "Chart keywords";
1042
+ readonly example: readonly ["ingress", "nginx", "load-balancer"];
1043
+ };
1044
+ readonly home: {
1045
+ readonly type: "string";
1046
+ readonly description: "Chart home URL";
1047
+ readonly example: "https://kubernetes.github.io/ingress-nginx/";
1048
+ };
1049
+ readonly icon: {
1050
+ readonly type: "string";
1051
+ readonly description: "A URL to an SVG or PNG image to be used as an icon";
1052
+ readonly example: "https://cloudfleet.ai/images/marketplace/icons/ingress-nginx.png";
1053
+ };
1054
+ readonly sources: {
1055
+ readonly type: "array";
1056
+ readonly items: {
1164
1057
  readonly type: "string";
1165
- readonly description: "Effective date of the catalog";
1166
- readonly example: "2019-01-01T00:00:00.000Z";
1167
1058
  };
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
- }, {
1059
+ readonly description: "Chart source URLs";
1060
+ readonly example: readonly ["https://github.com/kubernetes/ingress-nginx"];
1061
+ };
1062
+ readonly maintainers: {
1063
+ readonly type: "array";
1064
+ readonly items: {
1065
+ readonly type: "object";
1066
+ readonly properties: {
1067
+ readonly name: {
1068
+ readonly type: "string";
1069
+ readonly description: "Maintainer name";
1070
+ readonly example: "NGINX Team";
1071
+ };
1072
+ readonly email: {
1181
1073
  readonly type: "string";
1182
- }];
1074
+ readonly description: "Maintainer email";
1075
+ readonly example: "support@nginx.org";
1076
+ };
1183
1077
  };
1184
- readonly description: "Child items of the invoice item";
1078
+ readonly required: readonly ["name"];
1079
+ readonly additionalProperties: false;
1185
1080
  };
1081
+ readonly description: "Chart maintainers";
1186
1082
  };
1187
- readonly additionalProperties: false;
1188
1083
  };
1189
- readonly description: "Items of the invoice";
1084
+ readonly required: readonly ["name", "version"];
1085
+ readonly additionalProperties: false;
1086
+ readonly description: "Chart metadata";
1190
1087
  };
1191
1088
  };
1089
+ readonly required: readonly ["name", "versions", "version_channels", "latestVersion"];
1192
1090
  readonly additionalProperties: false;
1193
1091
  };
1194
1092
  export declare const OrganizationCreateInputSchema: {
@@ -1280,12 +1178,6 @@ export declare const OrganizationSchema: {
1280
1178
  readonly description: "Maximum number of fleets that can be created per cluster.";
1281
1179
  readonly example: 999;
1282
1180
  };
1283
- readonly managed_fleets_cpu_max: {
1284
- readonly type: "integer";
1285
- readonly minimum: 0;
1286
- readonly description: "Maximum number of CPU cores per managed fleet.";
1287
- readonly example: 999;
1288
- };
1289
1181
  readonly cluster_tiers: {
1290
1182
  readonly type: "array";
1291
1183
  readonly items: {
@@ -1299,98 +1191,817 @@ export declare const OrganizationSchema: {
1299
1191
  readonly type: "array";
1300
1192
  readonly items: {
1301
1193
  readonly type: "string";
1302
- readonly example: "northamerica-central-1";
1194
+ readonly example: "northamerica-central-1";
1195
+ };
1196
+ readonly minItems: 1;
1197
+ readonly description: "List of Cloudfleet control plane regions available for the organization.";
1198
+ };
1199
+ readonly versions: {
1200
+ readonly type: "array";
1201
+ readonly items: {
1202
+ readonly type: "object";
1203
+ readonly properties: {
1204
+ readonly id: {
1205
+ readonly type: "string";
1206
+ readonly description: "Id of the control plane version. Used in API calls.";
1207
+ readonly example: "1.33.x-cfke.x";
1208
+ };
1209
+ readonly label: {
1210
+ readonly type: "string";
1211
+ readonly description: "Label of the control plane version. Used in frontent UI.";
1212
+ readonly example: "1.33.x (Always latest 1.33 patch version)";
1213
+ };
1214
+ };
1215
+ readonly required: readonly ["id", "label"];
1216
+ readonly additionalProperties: false;
1217
+ };
1218
+ readonly minItems: 1;
1219
+ readonly description: "List of CFKE control plane versions available for the organization.";
1220
+ };
1221
+ readonly cfcr_storage_gb: {
1222
+ readonly type: "integer";
1223
+ readonly minimum: -1;
1224
+ readonly description: "Organization-level maximum CFCR storage volume in GB. -1 means no limit.";
1225
+ readonly example: 500;
1226
+ };
1227
+ };
1228
+ readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions", "cfcr_storage_gb"];
1229
+ readonly additionalProperties: false;
1230
+ 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.";
1231
+ };
1232
+ readonly status: {
1233
+ readonly type: "string";
1234
+ readonly description: "Status of the organization. Can be `active` or `closed`, or `suspended`.";
1235
+ readonly enum: readonly ["active", "closed", "suspended"];
1236
+ };
1237
+ };
1238
+ readonly required: readonly ["id", "date_created", "quota", "status"];
1239
+ readonly additionalProperties: false;
1240
+ };
1241
+ export declare const PaymentMethodSchema: {
1242
+ readonly type: "object";
1243
+ readonly properties: {
1244
+ readonly id: {
1245
+ readonly type: "string";
1246
+ readonly format: "uuid";
1247
+ readonly description: "Unique identifier of the organization. UUID v4 string in canonical form.";
1248
+ readonly example: "e94d30ec-a2dd-4dcb-832c-ac2be144ba91";
1249
+ };
1250
+ readonly setup: {
1251
+ readonly type: "boolean";
1252
+ readonly description: "Whether organization payment method was set up and ready to use for payments.";
1253
+ readonly example: true;
1254
+ };
1255
+ readonly type: {
1256
+ readonly type: "string";
1257
+ readonly nullable: true;
1258
+ readonly description: "Payment method type type. Only `card` payments supported at the moment.";
1259
+ readonly example: "card";
1260
+ readonly enum: readonly ["card"];
1261
+ };
1262
+ readonly last4: {
1263
+ readonly type: "string";
1264
+ readonly nullable: true;
1265
+ readonly description: "Last 4 digits of the payment card number.";
1266
+ readonly example: "4242";
1267
+ };
1268
+ readonly exp_month: {
1269
+ readonly type: "integer";
1270
+ readonly minimum: 1;
1271
+ readonly maximum: 12;
1272
+ readonly nullable: true;
1273
+ readonly description: "Two-digit number representing the card's expiration month.";
1274
+ readonly example: "12";
1275
+ };
1276
+ readonly exp_year: {
1277
+ readonly type: "integer";
1278
+ readonly minimum: 2024;
1279
+ readonly nullable: true;
1280
+ readonly description: "Four-digit number representing the card's expiration year.";
1281
+ readonly example: "2028";
1282
+ };
1283
+ readonly brand: {
1284
+ readonly type: "string";
1285
+ readonly nullable: true;
1286
+ readonly description: "Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.";
1287
+ readonly example: "visa";
1288
+ readonly enum: readonly ["amex", "diners", "discover", "eftpos_au", "jcb", "mastercard", "unionpay", "visa", "unknown"];
1289
+ };
1290
+ };
1291
+ readonly required: readonly ["id", "setup", "type", "last4", "exp_month", "exp_year", "brand"];
1292
+ readonly additionalProperties: false;
1293
+ };
1294
+ export declare const PlatformQuotaSchema: {
1295
+ readonly type: "object";
1296
+ readonly properties: {
1297
+ readonly basic_clusters_max: {
1298
+ readonly type: "integer";
1299
+ readonly minimum: 0;
1300
+ readonly description: "Maximum number of Basic clusters that can be created.";
1301
+ readonly example: 999;
1302
+ };
1303
+ readonly basic_clusters_available: {
1304
+ readonly type: "integer";
1305
+ readonly description: "Available number of Basic clusters that can be created.";
1306
+ readonly example: 999;
1307
+ };
1308
+ readonly pro_clusters_max: {
1309
+ readonly type: "integer";
1310
+ readonly minimum: 0;
1311
+ readonly description: "Maximum number of Pro clusters that can be created.";
1312
+ readonly example: 999;
1313
+ };
1314
+ readonly pro_clusters_available: {
1315
+ readonly type: "integer";
1316
+ readonly description: "Available number of Pro clusters that can be created.";
1317
+ readonly example: 999;
1318
+ };
1319
+ readonly fleets_max: {
1320
+ readonly type: "integer";
1321
+ readonly minimum: 0;
1322
+ readonly description: "Maximum number of fleets that can be created per cluster.";
1323
+ readonly example: 999;
1324
+ };
1325
+ readonly cluster_tiers: {
1326
+ readonly type: "array";
1327
+ readonly items: {
1328
+ readonly type: "string";
1329
+ readonly example: "basic";
1330
+ };
1331
+ readonly minItems: 0;
1332
+ readonly description: "List of Cloudfleet cluster tiers available for the organization.";
1333
+ };
1334
+ readonly regions: {
1335
+ readonly type: "array";
1336
+ readonly items: {
1337
+ readonly type: "string";
1338
+ readonly example: "northamerica-central-1";
1339
+ };
1340
+ readonly minItems: 1;
1341
+ readonly description: "List of Cloudfleet control plane regions available for the organization.";
1342
+ };
1343
+ readonly versions: {
1344
+ readonly type: "array";
1345
+ readonly items: {
1346
+ readonly type: "object";
1347
+ readonly properties: {
1348
+ readonly id: {
1349
+ readonly type: "string";
1350
+ readonly description: "Id of the control plane version. Used in API calls.";
1351
+ readonly example: "1.33.x-cfke.x";
1352
+ };
1353
+ readonly label: {
1354
+ readonly type: "string";
1355
+ readonly description: "Label of the control plane version. Used in frontent UI.";
1356
+ readonly example: "1.33.x (Always latest 1.33 patch version)";
1357
+ };
1358
+ };
1359
+ readonly required: readonly ["id", "label"];
1360
+ readonly additionalProperties: false;
1361
+ };
1362
+ readonly minItems: 1;
1363
+ readonly description: "List of CFKE control plane versions available for the organization.";
1364
+ };
1365
+ readonly cfcr_storage_gb: {
1366
+ readonly type: "integer";
1367
+ readonly minimum: -1;
1368
+ readonly description: "Organization-level maximum CFCR storage volume in GB. -1 means no limit.";
1369
+ readonly example: 500;
1370
+ };
1371
+ };
1372
+ readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions", "cfcr_storage_gb"];
1373
+ readonly additionalProperties: false;
1374
+ };
1375
+ export declare const RegistryRepositorySchema: {
1376
+ readonly type: "object";
1377
+ readonly properties: {
1378
+ readonly name: {
1379
+ readonly type: "string";
1380
+ readonly description: "Repository name.";
1381
+ readonly example: "my-app";
1382
+ };
1383
+ readonly region: {
1384
+ readonly type: "string";
1385
+ readonly description: "Registry region.";
1386
+ readonly example: "northamerica";
1387
+ };
1388
+ readonly uri: {
1389
+ readonly type: "string";
1390
+ readonly description: "Full URI of the repository.";
1391
+ readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app";
1392
+ };
1393
+ };
1394
+ readonly required: readonly ["name", "region", "uri"];
1395
+ readonly additionalProperties: false;
1396
+ };
1397
+ export declare const RegistryRepositoryWithTagsSchema: {
1398
+ readonly type: "object";
1399
+ readonly properties: {
1400
+ readonly name: {
1401
+ readonly type: "string";
1402
+ readonly description: "Repository name.";
1403
+ readonly example: "my-app";
1404
+ };
1405
+ readonly region: {
1406
+ readonly type: "string";
1407
+ readonly description: "Registry region.";
1408
+ readonly example: "northamerica";
1409
+ };
1410
+ readonly uri: {
1411
+ readonly type: "string";
1412
+ readonly description: "Full URI of the repository.";
1413
+ readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app";
1414
+ };
1415
+ readonly tags: {
1416
+ readonly type: "array";
1417
+ readonly items: {
1418
+ readonly type: "object";
1419
+ readonly properties: {
1420
+ readonly name: {
1421
+ readonly type: "string";
1422
+ readonly description: "Tag name.";
1423
+ readonly example: "latest";
1424
+ };
1425
+ readonly size: {
1426
+ readonly type: "number";
1427
+ readonly format: "float";
1428
+ readonly description: "Size of the tag in bytes.";
1429
+ readonly example: 123456789;
1430
+ };
1431
+ readonly mediaType: {
1432
+ readonly type: "string";
1433
+ readonly description: "Media type of the manifest.";
1434
+ readonly example: "application/vnd.docker.distribution.manifest.v2+json";
1435
+ };
1436
+ readonly platforms: {
1437
+ readonly type: "array";
1438
+ readonly items: {
1439
+ readonly type: "string";
1440
+ };
1441
+ readonly description: "Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).";
1442
+ readonly example: readonly ["linux/amd64", "linux/arm64"];
1443
+ };
1444
+ };
1445
+ readonly required: readonly ["name", "size"];
1446
+ readonly additionalProperties: false;
1447
+ };
1448
+ readonly description: "Array of tags in the repository.";
1449
+ };
1450
+ readonly totalSize: {
1451
+ readonly type: "number";
1452
+ readonly format: "float";
1453
+ readonly description: "Total size of all tags in the repository in bytes.";
1454
+ readonly example: 987654321;
1455
+ };
1456
+ };
1457
+ readonly required: readonly ["name", "region", "uri", "tags", "totalSize"];
1458
+ readonly additionalProperties: false;
1459
+ };
1460
+ export declare const RegistryTagSchema: {
1461
+ readonly type: "object";
1462
+ readonly properties: {
1463
+ readonly name: {
1464
+ readonly type: "string";
1465
+ readonly description: "Tag name.";
1466
+ readonly example: "latest";
1467
+ };
1468
+ readonly digest: {
1469
+ readonly type: "string";
1470
+ readonly description: "Manifest digest for pulling by digest.";
1471
+ readonly example: "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890";
1472
+ };
1473
+ readonly mediaType: {
1474
+ readonly type: "string";
1475
+ readonly description: "Media type of the manifest.";
1476
+ readonly example: "application/vnd.docker.distribution.manifest.v2+json";
1477
+ };
1478
+ readonly config: {
1479
+ readonly type: "object";
1480
+ readonly properties: {
1481
+ readonly size: {
1482
+ readonly type: "number";
1483
+ readonly format: "float";
1484
+ readonly description: "Size of the config in bytes.";
1485
+ readonly example: 1234;
1486
+ };
1487
+ };
1488
+ readonly required: readonly ["size"];
1489
+ readonly additionalProperties: false;
1490
+ readonly description: "Manifest config metadata.";
1491
+ };
1492
+ readonly layers: {
1493
+ readonly type: "array";
1494
+ readonly items: {
1495
+ readonly type: "object";
1496
+ readonly properties: {
1497
+ readonly digest: {
1498
+ readonly type: "string";
1499
+ readonly description: "Digest of the layer.";
1500
+ readonly example: "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890";
1501
+ };
1502
+ readonly size: {
1503
+ readonly type: "number";
1504
+ readonly format: "float";
1505
+ readonly description: "Size of the layer in bytes.";
1506
+ readonly example: 5678;
1507
+ };
1508
+ };
1509
+ readonly required: readonly ["size"];
1510
+ readonly additionalProperties: false;
1511
+ };
1512
+ readonly description: "Array of layer metadata.";
1513
+ };
1514
+ readonly manifests: {
1515
+ readonly type: "array";
1516
+ readonly items: {
1517
+ readonly type: "object";
1518
+ readonly properties: {
1519
+ readonly digest: {
1520
+ readonly type: "string";
1521
+ readonly description: "Digest of the manifest.";
1522
+ readonly example: "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890";
1523
+ };
1524
+ readonly platform: {
1525
+ readonly type: "object";
1526
+ readonly properties: {
1527
+ readonly architecture: {
1528
+ readonly type: "string";
1529
+ readonly description: "Architecture of the platform.";
1530
+ readonly example: "amd64";
1531
+ };
1532
+ readonly os: {
1533
+ readonly type: "string";
1534
+ readonly description: "Operating system of the platform.";
1535
+ readonly example: "linux";
1536
+ };
1537
+ readonly variant: {
1538
+ readonly type: "string";
1539
+ readonly description: "Variant of the platform (e.g., v7, v8 for ARM).";
1540
+ readonly example: "v8";
1541
+ };
1542
+ };
1543
+ readonly required: readonly ["architecture", "os"];
1544
+ readonly additionalProperties: false;
1545
+ readonly description: "Platform information for the manifest.";
1546
+ };
1547
+ readonly layers: {
1548
+ readonly type: "array";
1549
+ readonly items: {
1550
+ readonly type: "object";
1551
+ readonly properties: {
1552
+ readonly digest: {
1553
+ readonly type: "string";
1554
+ readonly description: "Digest of the layer.";
1555
+ readonly example: "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890";
1556
+ };
1557
+ readonly size: {
1558
+ readonly type: "number";
1559
+ readonly format: "float";
1560
+ readonly description: "Size of the layer in bytes.";
1561
+ readonly example: 5678;
1562
+ };
1563
+ };
1564
+ readonly required: readonly ["size"];
1565
+ readonly additionalProperties: false;
1566
+ };
1567
+ readonly description: "Layers for this platform.";
1568
+ };
1569
+ readonly size: {
1570
+ readonly type: "number";
1571
+ readonly format: "float";
1572
+ readonly description: "Total size of this platform manifest in bytes.";
1573
+ readonly example: 12345678;
1574
+ };
1575
+ };
1576
+ readonly required: readonly ["digest"];
1577
+ readonly additionalProperties: false;
1578
+ };
1579
+ readonly description: "Array of manifests for multi-arch images.";
1580
+ };
1581
+ readonly size: {
1582
+ readonly type: "number";
1583
+ readonly format: "float";
1584
+ readonly description: "Total size of the tag in bytes.";
1585
+ readonly example: 123456789;
1586
+ };
1587
+ readonly region: {
1588
+ readonly type: "string";
1589
+ readonly description: "Registry region.";
1590
+ readonly example: "northamerica";
1591
+ };
1592
+ readonly repository: {
1593
+ readonly type: "string";
1594
+ readonly description: "Repository name.";
1595
+ readonly example: "my-app";
1596
+ };
1597
+ readonly uri: {
1598
+ readonly type: "string";
1599
+ readonly description: "Full URI of the tag.";
1600
+ readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app:latest";
1601
+ };
1602
+ };
1603
+ readonly required: readonly ["name", "digest", "size", "region", "repository", "uri"];
1604
+ readonly additionalProperties: false;
1605
+ };
1606
+ export declare const TicketAttachmentSchema: {
1607
+ readonly type: "object";
1608
+ readonly properties: {
1609
+ readonly id: {
1610
+ readonly type: "string";
1611
+ readonly description: "Unique identifier of the attachment (Mongo ObjectId).";
1612
+ readonly example: "60c72b2f9f1b2c001f8e4d3c";
1613
+ };
1614
+ readonly filename: {
1615
+ readonly type: "string";
1616
+ readonly description: "Original filename as uploaded.";
1617
+ readonly example: "debug.log";
1618
+ };
1619
+ readonly content_type: {
1620
+ readonly type: "string";
1621
+ readonly description: "MIME content type of the attachment.";
1622
+ readonly example: "text/plain";
1623
+ };
1624
+ readonly size: {
1625
+ readonly type: "integer";
1626
+ readonly description: "Size of the attachment in bytes.";
1627
+ readonly example: 12345;
1628
+ };
1629
+ };
1630
+ readonly required: readonly ["id", "filename", "content_type", "size"];
1631
+ readonly additionalProperties: false;
1632
+ };
1633
+ export declare const TicketCreateInputSchema: {
1634
+ readonly type: "object";
1635
+ readonly properties: {
1636
+ readonly category: {
1637
+ readonly type: "string";
1638
+ readonly description: "Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.";
1639
+ readonly example: "technical";
1640
+ readonly enum: readonly ["billing", "technical", "general"];
1641
+ };
1642
+ readonly body: {
1643
+ readonly type: "string";
1644
+ readonly maxLength: 50000;
1645
+ readonly minLength: 1;
1646
+ readonly pattern: "\\S";
1647
+ readonly description: "Initial message body in markdown. There is no separate subject — the first message body is the description.";
1648
+ readonly example: "My cluster cannot reach the registry. Logs attached.";
1649
+ };
1650
+ readonly properties: {
1651
+ readonly type: "object";
1652
+ readonly additionalProperties: true;
1653
+ readonly description: "Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).";
1654
+ readonly example: {
1655
+ readonly subcategory: "cluster-question";
1656
+ readonly cluster_id: "60c72b2f9f1b2c001f8e4d3a";
1657
+ };
1658
+ };
1659
+ };
1660
+ readonly required: readonly ["category", "body"];
1661
+ readonly additionalProperties: false;
1662
+ };
1663
+ export declare const TicketListResponseSchema: {
1664
+ readonly type: "object";
1665
+ readonly properties: {
1666
+ readonly items: {
1667
+ readonly type: "array";
1668
+ readonly items: {
1669
+ readonly type: "object";
1670
+ readonly properties: {
1671
+ readonly id: {
1672
+ readonly type: "string";
1673
+ readonly description: "Unique identifier of the ticket (Mongo ObjectId).";
1674
+ readonly example: "60c72b2f9f1b2c001f8e4d3a";
1675
+ };
1676
+ readonly status: {
1677
+ readonly type: "string";
1678
+ readonly description: "Current state of the ticket.";
1679
+ readonly example: "waiting_on_us";
1680
+ readonly enum: readonly ["waiting_on_us", "waiting_on_user", "closed"];
1681
+ };
1682
+ readonly category: {
1683
+ readonly type: "string";
1684
+ readonly description: "Ticket category.";
1685
+ readonly example: "technical";
1686
+ readonly enum: readonly ["billing", "technical", "general"];
1687
+ };
1688
+ readonly summary: {
1689
+ readonly type: "string";
1690
+ readonly description: "First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.";
1691
+ readonly example: "My cluster cannot reach the registry. Logs attached.";
1692
+ };
1693
+ readonly closed_at: {
1694
+ readonly type: "string";
1695
+ readonly format: "date-time";
1696
+ readonly nullable: true;
1697
+ readonly description: "Closure timestamp. Null while the ticket is open.";
1698
+ readonly example: "2026-05-18T16:08:14.338Z";
1699
+ };
1700
+ readonly date_created: {
1701
+ readonly type: "string";
1702
+ readonly format: "date-time";
1703
+ readonly description: "Creation date of the ticket. ISO 8601 UTC.";
1704
+ readonly example: "2026-05-11T16:08:14.338Z";
1705
+ };
1706
+ readonly date_updated: {
1707
+ readonly type: "string";
1708
+ readonly format: "date-time";
1709
+ readonly description: "Last update date of the ticket. ISO 8601 UTC.";
1710
+ readonly example: "2026-05-11T16:08:14.338Z";
1303
1711
  };
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: {
1310
- readonly type: "object";
1311
- readonly properties: {
1312
- readonly id: {
1313
- readonly type: "string";
1314
- readonly description: "Id of the control plane version. Used in API calls.";
1315
- readonly example: "1.29.x-cfke.x";
1316
- };
1317
- readonly label: {
1318
- 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)";
1712
+ readonly messages: {
1713
+ readonly type: "array";
1714
+ readonly items: {
1715
+ readonly type: "object";
1716
+ readonly properties: {
1717
+ readonly id: {
1718
+ readonly type: "string";
1719
+ readonly description: "Unique identifier of the message (Mongo ObjectId).";
1720
+ readonly example: "60c72b2f9f1b2c001f8e4d3b";
1721
+ };
1722
+ readonly type: {
1723
+ readonly type: "string";
1724
+ readonly description: "Message type. Internal notes are filtered out of customer-facing responses.";
1725
+ readonly example: "customer_reply";
1726
+ readonly enum: readonly ["customer_reply", "agent_reply"];
1727
+ };
1728
+ readonly body: {
1729
+ readonly type: "string";
1730
+ readonly description: "Message body in markdown.";
1731
+ readonly example: "Thanks — that resolved it on my side.";
1732
+ };
1733
+ readonly author_first_name: {
1734
+ readonly type: "string";
1735
+ readonly nullable: true;
1736
+ readonly description: "First name of the author. Null when not provided.";
1737
+ readonly example: "Jane";
1738
+ };
1739
+ readonly author_last_name: {
1740
+ readonly type: "string";
1741
+ readonly nullable: true;
1742
+ readonly description: "Last name of the author. Null when not provided.";
1743
+ readonly example: "Doe";
1744
+ };
1745
+ readonly attachments: {
1746
+ readonly type: "array";
1747
+ readonly items: {
1748
+ readonly type: "object";
1749
+ readonly properties: {
1750
+ readonly id: {
1751
+ readonly type: "string";
1752
+ readonly description: "Unique identifier of the attachment (Mongo ObjectId).";
1753
+ readonly example: "60c72b2f9f1b2c001f8e4d3c";
1754
+ };
1755
+ readonly filename: {
1756
+ readonly type: "string";
1757
+ readonly description: "Original filename as uploaded.";
1758
+ readonly example: "debug.log";
1759
+ };
1760
+ readonly content_type: {
1761
+ readonly type: "string";
1762
+ readonly description: "MIME content type of the attachment.";
1763
+ readonly example: "text/plain";
1764
+ };
1765
+ readonly size: {
1766
+ readonly type: "integer";
1767
+ readonly description: "Size of the attachment in bytes.";
1768
+ readonly example: 12345;
1769
+ };
1770
+ };
1771
+ readonly required: readonly ["id", "filename", "content_type", "size"];
1772
+ readonly additionalProperties: false;
1773
+ };
1774
+ readonly description: "Attachments associated with this message.";
1775
+ readonly example: readonly [];
1776
+ };
1777
+ readonly date_created: {
1778
+ readonly type: "string";
1779
+ readonly format: "date-time";
1780
+ readonly description: "Creation date of the message. ISO 8601 UTC.";
1781
+ readonly example: "2026-05-11T16:08:14.338Z";
1782
+ };
1321
1783
  };
1784
+ readonly required: readonly ["id", "type", "body", "date_created"];
1785
+ readonly additionalProperties: false;
1322
1786
  };
1323
- readonly required: readonly ["id", "label"];
1324
- readonly additionalProperties: false;
1787
+ readonly description: "Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.";
1325
1788
  };
1326
- readonly minItems: 1;
1327
- readonly description: "List of CFKE control plane versions available for the organization.";
1328
1789
  };
1790
+ readonly required: readonly ["id", "status", "category", "summary", "date_created", "date_updated"];
1791
+ readonly additionalProperties: false;
1329
1792
  };
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.";
1793
+ readonly description: "Tickets for the organization, ordered newest first. Messages are omitted from list responses.";
1333
1794
  };
1334
- readonly status: {
1795
+ };
1796
+ readonly required: readonly ["items"];
1797
+ readonly additionalProperties: false;
1798
+ };
1799
+ export declare const TicketMessageInputSchema: {
1800
+ readonly type: "object";
1801
+ readonly properties: {
1802
+ readonly body: {
1335
1803
  readonly type: "string";
1336
- readonly description: "Status of the organization. Can be `active` or `closed`, or `suspended`.";
1337
- readonly enum: readonly ["active", "closed", "suspended"];
1804
+ readonly maxLength: 50000;
1805
+ readonly minLength: 1;
1806
+ readonly pattern: "\\S";
1807
+ readonly description: "Reply body in markdown.";
1808
+ readonly example: "Thanks — that resolved it on my side.";
1338
1809
  };
1339
1810
  };
1340
- readonly required: readonly ["id", "date_created", "quota", "status"];
1811
+ readonly required: readonly ["body"];
1341
1812
  readonly additionalProperties: false;
1342
1813
  };
1343
- export declare const PaymentMethodSchema: {
1814
+ export declare const TicketMessageSchema: {
1344
1815
  readonly type: "object";
1345
1816
  readonly properties: {
1346
1817
  readonly id: {
1347
1818
  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";
1351
- };
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;
1819
+ readonly description: "Unique identifier of the message (Mongo ObjectId).";
1820
+ readonly example: "60c72b2f9f1b2c001f8e4d3b";
1356
1821
  };
1357
1822
  readonly type: {
1358
1823
  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"];
1824
+ readonly description: "Message type. Internal notes are filtered out of customer-facing responses.";
1825
+ readonly example: "customer_reply";
1826
+ readonly enum: readonly ["customer_reply", "agent_reply"];
1363
1827
  };
1364
- readonly last4: {
1828
+ readonly body: {
1365
1829
  readonly type: "string";
1366
- readonly nullable: true;
1367
- readonly description: "Last 4 digits of the payment card number.";
1368
- readonly example: "4242";
1830
+ readonly description: "Message body in markdown.";
1831
+ readonly example: "Thanks that resolved it on my side.";
1369
1832
  };
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";
1833
+ readonly author_first_name: {
1834
+ readonly type: "string";
1835
+ readonly description: "First name of the author. Null when not provided.";
1836
+ readonly example: "Jane";
1377
1837
  };
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";
1838
+ readonly author_last_name: {
1839
+ readonly type: "string";
1840
+ readonly description: "Last name of the author. Null when not provided.";
1841
+ readonly example: "Doe";
1384
1842
  };
1385
- readonly brand: {
1843
+ readonly attachments: {
1844
+ readonly type: "array";
1845
+ readonly items: {
1846
+ readonly type: "object";
1847
+ readonly properties: {
1848
+ readonly id: {
1849
+ readonly type: "string";
1850
+ readonly description: "Unique identifier of the attachment (Mongo ObjectId).";
1851
+ readonly example: "60c72b2f9f1b2c001f8e4d3c";
1852
+ };
1853
+ readonly filename: {
1854
+ readonly type: "string";
1855
+ readonly description: "Original filename as uploaded.";
1856
+ readonly example: "debug.log";
1857
+ };
1858
+ readonly content_type: {
1859
+ readonly type: "string";
1860
+ readonly description: "MIME content type of the attachment.";
1861
+ readonly example: "text/plain";
1862
+ };
1863
+ readonly size: {
1864
+ readonly type: "integer";
1865
+ readonly description: "Size of the attachment in bytes.";
1866
+ readonly example: 12345;
1867
+ };
1868
+ };
1869
+ readonly required: readonly ["id", "filename", "content_type", "size"];
1870
+ readonly additionalProperties: false;
1871
+ };
1872
+ readonly description: "Attachments associated with this message.";
1873
+ readonly example: readonly [];
1874
+ };
1875
+ readonly date_created: {
1386
1876
  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"];
1877
+ readonly format: "date-time";
1878
+ readonly description: "Creation date of the message. ISO 8601 UTC.";
1879
+ readonly example: "2026-05-11T16:08:14.338Z";
1391
1880
  };
1392
1881
  };
1393
- readonly required: readonly ["id", "setup", "type", "last4", "exp_month", "exp_year", "brand"];
1882
+ readonly required: readonly ["id", "type", "body", "date_created"];
1883
+ readonly additionalProperties: false;
1884
+ };
1885
+ export declare const TicketSchema: {
1886
+ readonly type: "object";
1887
+ readonly properties: {
1888
+ readonly id: {
1889
+ readonly type: "string";
1890
+ readonly description: "Unique identifier of the ticket (Mongo ObjectId).";
1891
+ readonly example: "60c72b2f9f1b2c001f8e4d3a";
1892
+ };
1893
+ readonly status: {
1894
+ readonly type: "string";
1895
+ readonly description: "Current state of the ticket.";
1896
+ readonly example: "waiting_on_us";
1897
+ readonly enum: readonly ["waiting_on_us", "waiting_on_user", "closed"];
1898
+ };
1899
+ readonly category: {
1900
+ readonly type: "string";
1901
+ readonly description: "Ticket category.";
1902
+ readonly example: "technical";
1903
+ readonly enum: readonly ["billing", "technical", "general"];
1904
+ };
1905
+ readonly summary: {
1906
+ readonly type: "string";
1907
+ readonly description: "First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.";
1908
+ readonly example: "My cluster cannot reach the registry. Logs attached.";
1909
+ };
1910
+ readonly closed_at: {
1911
+ readonly type: "string";
1912
+ readonly format: "date-time";
1913
+ readonly description: "Closure timestamp. Null while the ticket is open.";
1914
+ readonly example: "2026-05-18T16:08:14.338Z";
1915
+ };
1916
+ readonly date_created: {
1917
+ readonly type: "string";
1918
+ readonly format: "date-time";
1919
+ readonly description: "Creation date of the ticket. ISO 8601 UTC.";
1920
+ readonly example: "2026-05-11T16:08:14.338Z";
1921
+ };
1922
+ readonly date_updated: {
1923
+ readonly type: "string";
1924
+ readonly format: "date-time";
1925
+ readonly description: "Last update date of the ticket. ISO 8601 UTC.";
1926
+ readonly example: "2026-05-11T16:08:14.338Z";
1927
+ };
1928
+ readonly messages: {
1929
+ readonly type: "array";
1930
+ readonly items: {
1931
+ readonly type: "object";
1932
+ readonly properties: {
1933
+ readonly id: {
1934
+ readonly type: "string";
1935
+ readonly description: "Unique identifier of the message (Mongo ObjectId).";
1936
+ readonly example: "60c72b2f9f1b2c001f8e4d3b";
1937
+ };
1938
+ readonly type: {
1939
+ readonly type: "string";
1940
+ readonly description: "Message type. Internal notes are filtered out of customer-facing responses.";
1941
+ readonly example: "customer_reply";
1942
+ readonly enum: readonly ["customer_reply", "agent_reply"];
1943
+ };
1944
+ readonly body: {
1945
+ readonly type: "string";
1946
+ readonly description: "Message body in markdown.";
1947
+ readonly example: "Thanks — that resolved it on my side.";
1948
+ };
1949
+ readonly author_first_name: {
1950
+ readonly type: "string";
1951
+ readonly description: "First name of the author. Null when not provided.";
1952
+ readonly example: "Jane";
1953
+ };
1954
+ readonly author_last_name: {
1955
+ readonly type: "string";
1956
+ readonly description: "Last name of the author. Null when not provided.";
1957
+ readonly example: "Doe";
1958
+ };
1959
+ readonly attachments: {
1960
+ readonly type: "array";
1961
+ readonly items: {
1962
+ readonly type: "object";
1963
+ readonly properties: {
1964
+ readonly id: {
1965
+ readonly type: "string";
1966
+ readonly description: "Unique identifier of the attachment (Mongo ObjectId).";
1967
+ readonly example: "60c72b2f9f1b2c001f8e4d3c";
1968
+ };
1969
+ readonly filename: {
1970
+ readonly type: "string";
1971
+ readonly description: "Original filename as uploaded.";
1972
+ readonly example: "debug.log";
1973
+ };
1974
+ readonly content_type: {
1975
+ readonly type: "string";
1976
+ readonly description: "MIME content type of the attachment.";
1977
+ readonly example: "text/plain";
1978
+ };
1979
+ readonly size: {
1980
+ readonly type: "integer";
1981
+ readonly description: "Size of the attachment in bytes.";
1982
+ readonly example: 12345;
1983
+ };
1984
+ };
1985
+ readonly required: readonly ["id", "filename", "content_type", "size"];
1986
+ readonly additionalProperties: false;
1987
+ };
1988
+ readonly description: "Attachments associated with this message.";
1989
+ readonly example: readonly [];
1990
+ };
1991
+ readonly date_created: {
1992
+ readonly type: "string";
1993
+ readonly format: "date-time";
1994
+ readonly description: "Creation date of the message. ISO 8601 UTC.";
1995
+ readonly example: "2026-05-11T16:08:14.338Z";
1996
+ };
1997
+ };
1998
+ readonly required: readonly ["id", "type", "body", "date_created"];
1999
+ readonly additionalProperties: false;
2000
+ };
2001
+ readonly description: "Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.";
2002
+ };
2003
+ };
2004
+ readonly required: readonly ["id", "status", "category", "summary", "date_created", "date_updated"];
1394
2005
  readonly additionalProperties: false;
1395
2006
  };
1396
2007
  export declare const TokenCreateInputSchema: {
@@ -1471,6 +2082,101 @@ export declare const TokenUpdateInputSchema: {
1471
2082
  };
1472
2083
  readonly additionalProperties: false;
1473
2084
  };
2085
+ export declare const UsageFacetsSchema: {
2086
+ readonly type: "object";
2087
+ readonly properties: {
2088
+ readonly cluster_id: {
2089
+ readonly type: "array";
2090
+ readonly items: {
2091
+ readonly type: "string";
2092
+ };
2093
+ readonly description: "List of unique cluster IDs";
2094
+ readonly example: readonly ["6b5439b1-923a-4f2b-a371-d554e5ea23fa"];
2095
+ };
2096
+ readonly product: {
2097
+ readonly type: "array";
2098
+ readonly items: {
2099
+ readonly type: "string";
2100
+ };
2101
+ readonly description: "List of unique products";
2102
+ readonly example: readonly ["cfke_controlplane", "cfke_connected_nodes"];
2103
+ };
2104
+ };
2105
+ readonly additionalProperties: false;
2106
+ };
2107
+ export declare const UsageResponseSchema: {
2108
+ readonly type: "object";
2109
+ readonly properties: {
2110
+ readonly data: {
2111
+ readonly type: "array";
2112
+ readonly items: {
2113
+ readonly type: "object";
2114
+ readonly properties: {
2115
+ readonly hour: {
2116
+ readonly type: "string";
2117
+ readonly description: "Hour of the usage";
2118
+ readonly example: "2019-01-01T00:00:00.000Z";
2119
+ };
2120
+ readonly cluster_id: {
2121
+ readonly type: "string";
2122
+ readonly description: "Unique identifier of the kubernetes cluster. UUID v4 string in canonical form";
2123
+ readonly example: "6b5439b1-923a-4f2b-a371-d554e5ea23fa";
2124
+ };
2125
+ readonly product: {
2126
+ readonly type: "string";
2127
+ readonly description: "The product the usage is associated with";
2128
+ readonly example: "cfke_controlplane";
2129
+ };
2130
+ readonly value: {
2131
+ readonly type: "number";
2132
+ readonly format: "float";
2133
+ readonly description: "Consumption";
2134
+ readonly example: 4;
2135
+ };
2136
+ readonly price: {
2137
+ readonly type: "number";
2138
+ readonly format: "float";
2139
+ readonly description: "Price per unit";
2140
+ readonly example: 0.01;
2141
+ };
2142
+ readonly total: {
2143
+ readonly type: "number";
2144
+ readonly format: "float";
2145
+ readonly description: "Total cost";
2146
+ };
2147
+ };
2148
+ readonly required: readonly ["hour", "cluster_id", "product", "value", "price", "total"];
2149
+ readonly additionalProperties: false;
2150
+ };
2151
+ readonly description: "Usage data";
2152
+ };
2153
+ readonly facets: {
2154
+ readonly type: "object";
2155
+ readonly properties: {
2156
+ readonly cluster_id: {
2157
+ readonly type: "array";
2158
+ readonly items: {
2159
+ readonly type: "string";
2160
+ };
2161
+ readonly description: "List of unique cluster IDs";
2162
+ readonly example: readonly ["6b5439b1-923a-4f2b-a371-d554e5ea23fa"];
2163
+ };
2164
+ readonly product: {
2165
+ readonly type: "array";
2166
+ readonly items: {
2167
+ readonly type: "string";
2168
+ };
2169
+ readonly description: "List of unique products";
2170
+ readonly example: readonly ["cfke_controlplane", "cfke_connected_nodes"];
2171
+ };
2172
+ };
2173
+ readonly additionalProperties: false;
2174
+ readonly description: "Facets for filtering";
2175
+ };
2176
+ };
2177
+ readonly required: readonly ["data", "facets"];
2178
+ readonly additionalProperties: false;
2179
+ };
1474
2180
  export declare const UsageSchema: {
1475
2181
  readonly type: "object";
1476
2182
  readonly properties: {
@@ -1481,78 +2187,33 @@ export declare const UsageSchema: {
1481
2187
  };
1482
2188
  readonly cluster_id: {
1483
2189
  readonly type: "string";
1484
- readonly format: "uuid";
1485
2190
  readonly description: "Unique identifier of the kubernetes cluster. UUID v4 string in canonical form";
1486
2191
  readonly example: "6b5439b1-923a-4f2b-a371-d554e5ea23fa";
1487
2192
  };
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
2193
  readonly product: {
1495
2194
  readonly type: "string";
1496
2195
  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";
2196
+ readonly example: "cfke_controlplane";
1504
2197
  };
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
- }];
2198
+ readonly value: {
2199
+ readonly type: "number";
2200
+ readonly format: "float";
2201
+ readonly description: "Consumption";
2202
+ readonly example: 4;
1520
2203
  };
1521
2204
  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
- }];
2205
+ readonly type: "number";
2206
+ readonly format: "float";
2207
+ readonly description: "Price per unit";
2208
+ readonly example: 0.01;
1542
2209
  };
1543
2210
  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
- }];
2211
+ readonly type: "number";
2212
+ readonly format: "float";
2213
+ readonly description: "Total cost";
1553
2214
  };
1554
2215
  };
1555
- readonly required: readonly ["cluster_id", "cluster_tier", "product", "node_name", "sku", "cpu", "price", "value", "total"];
2216
+ readonly required: readonly ["hour", "cluster_id", "product", "value", "price", "total"];
1556
2217
  readonly additionalProperties: false;
1557
2218
  };
1558
2219
  export declare const UserCreateInputSchema: {
@@ -1652,28 +2313,6 @@ export declare const UserSchema: {
1652
2313
  readonly description: "Creation date of the user. ISO 8601 date string in UTC timezone";
1653
2314
  readonly example: "2023-11-02T16:08:14.338Z";
1654
2315
  };
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
2316
  };
1678
2317
  readonly required: readonly ["email", "first_name", "last_name", "role", "status", "id", "date_created"];
1679
2318
  readonly additionalProperties: false;