@cloudfleet/sdk 0.0.1-0010e2d → 0.0.1-019156c

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 (108) hide show
  1. package/README.md +56 -2
  2. package/dist/@tanstack/react-query.gen.d.ts +943 -0
  3. package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
  4. package/dist/@tanstack/react-query.gen.js +1156 -0
  5. package/dist/@tanstack/react-query.gen.js.map +1 -0
  6. package/dist/client/client.gen.d.ts +3 -0
  7. package/dist/client/client.gen.d.ts.map +1 -0
  8. package/dist/client/client.gen.js +217 -0
  9. package/dist/client/client.gen.js.map +1 -0
  10. package/dist/client/index.d.ts +8 -7
  11. package/dist/client/index.d.ts.map +1 -1
  12. package/dist/client/index.js +6 -4
  13. package/dist/client/index.js.map +1 -1
  14. package/dist/client/{types.d.ts → types.gen.d.ts} +23 -22
  15. package/dist/client/types.gen.d.ts.map +1 -0
  16. package/dist/client/types.gen.js +3 -0
  17. package/dist/client/types.gen.js.map +1 -0
  18. package/dist/client/{utils.d.ts → utils.gen.d.ts} +17 -25
  19. package/dist/client/utils.gen.d.ts.map +1 -0
  20. package/dist/client/{utils.js → utils.gen.js} +66 -122
  21. package/dist/client/utils.gen.js.map +1 -0
  22. package/dist/client.gen.d.ts +3 -3
  23. package/dist/client.gen.d.ts.map +1 -1
  24. package/dist/client.gen.js +1 -3
  25. package/dist/client.gen.js.map +1 -1
  26. package/dist/core/{auth.d.ts → auth.gen.d.ts} +1 -1
  27. package/dist/core/auth.gen.d.ts.map +1 -0
  28. package/dist/core/{auth.js → auth.gen.js} +2 -1
  29. package/dist/core/auth.gen.js.map +1 -0
  30. package/dist/core/bodySerializer.gen.d.ts +26 -0
  31. package/dist/core/bodySerializer.gen.d.ts.map +1 -0
  32. package/dist/core/{bodySerializer.js → bodySerializer.gen.js} +6 -2
  33. package/dist/core/bodySerializer.gen.js.map +1 -0
  34. package/dist/core/{params.d.ts → params.gen.d.ts} +11 -1
  35. package/dist/core/params.gen.d.ts.map +1 -0
  36. package/dist/core/{params.js → params.gen.js} +24 -11
  37. package/dist/core/params.gen.js.map +1 -0
  38. package/dist/core/{pathSerializer.d.ts → pathSerializer.gen.d.ts} +1 -1
  39. package/dist/core/pathSerializer.gen.d.ts.map +1 -0
  40. package/dist/core/{pathSerializer.js → pathSerializer.gen.js} +5 -12
  41. package/dist/core/pathSerializer.gen.js.map +1 -0
  42. package/dist/core/queryKeySerializer.gen.d.ts +19 -0
  43. package/dist/core/queryKeySerializer.gen.d.ts.map +1 -0
  44. package/dist/core/queryKeySerializer.gen.js +93 -0
  45. package/dist/core/queryKeySerializer.gen.js.map +1 -0
  46. package/dist/core/serverSentEvents.gen.d.ts +72 -0
  47. package/dist/core/serverSentEvents.gen.d.ts.map +1 -0
  48. package/dist/core/serverSentEvents.gen.js +133 -0
  49. package/dist/core/serverSentEvents.gen.js.map +1 -0
  50. package/dist/core/{types.d.ts → types.gen.d.ts} +16 -16
  51. package/dist/core/types.gen.d.ts.map +1 -0
  52. package/dist/core/types.gen.js +3 -0
  53. package/dist/core/types.gen.js.map +1 -0
  54. package/dist/core/utils.gen.d.ts +20 -0
  55. package/dist/core/utils.gen.d.ts.map +1 -0
  56. package/dist/core/utils.gen.js +88 -0
  57. package/dist/core/utils.gen.js.map +1 -0
  58. package/dist/errors.d.ts +42 -0
  59. package/dist/errors.d.ts.map +1 -0
  60. package/dist/errors.js +83 -0
  61. package/dist/errors.js.map +1 -0
  62. package/dist/index.d.ts +1 -0
  63. package/dist/index.d.ts.map +1 -1
  64. package/dist/index.js +4 -0
  65. package/dist/index.js.map +1 -1
  66. package/dist/schemas.gen.d.ts +1730 -748
  67. package/dist/schemas.gen.d.ts.map +1 -1
  68. package/dist/schemas.gen.js +3153 -817
  69. package/dist/schemas.gen.js.map +1 -1
  70. package/dist/sdk.gen.d.ts +279 -164
  71. package/dist/sdk.gen.d.ts.map +1 -1
  72. package/dist/sdk.gen.js +403 -334
  73. package/dist/sdk.gen.js.map +1 -1
  74. package/dist/services/kubernetes/api.d.ts +10 -47
  75. package/dist/services/kubernetes/api.d.ts.map +1 -1
  76. package/dist/services/kubernetes/api.js +36 -75
  77. package/dist/services/kubernetes/api.js.map +1 -1
  78. package/dist/services/kubernetes/index.d.ts.map +1 -1
  79. package/dist/services/kubernetes/index.js +36 -37
  80. package/dist/services/kubernetes/index.js.map +1 -1
  81. package/dist/types.gen.d.ts +1883 -947
  82. package/dist/types.gen.d.ts.map +1 -1
  83. package/dist/zod.gen.d.ts +4008 -3773
  84. package/dist/zod.gen.d.ts.map +1 -1
  85. package/dist/zod.gen.js +1493 -1178
  86. package/dist/zod.gen.js.map +1 -1
  87. package/package.json +27 -9
  88. package/dist/client/client.d.ts +0 -3
  89. package/dist/client/client.d.ts.map +0 -1
  90. package/dist/client/client.js +0 -146
  91. package/dist/client/client.js.map +0 -1
  92. package/dist/client/types.d.ts.map +0 -1
  93. package/dist/client/types.js +0 -2
  94. package/dist/client/types.js.map +0 -1
  95. package/dist/client/utils.d.ts.map +0 -1
  96. package/dist/client/utils.js.map +0 -1
  97. package/dist/core/auth.d.ts.map +0 -1
  98. package/dist/core/auth.js.map +0 -1
  99. package/dist/core/bodySerializer.d.ts +0 -18
  100. package/dist/core/bodySerializer.d.ts.map +0 -1
  101. package/dist/core/bodySerializer.js.map +0 -1
  102. package/dist/core/params.d.ts.map +0 -1
  103. package/dist/core/params.js.map +0 -1
  104. package/dist/core/pathSerializer.d.ts.map +0 -1
  105. package/dist/core/pathSerializer.js.map +0 -1
  106. package/dist/core/types.d.ts.map +0 -1
  107. package/dist/core/types.js +0 -2
  108. package/dist/core/types.js.map +0 -1
@@ -1,6 +1,12 @@
1
1
  export declare const BillingContactSchema: {
2
2
  readonly type: "object";
3
3
  readonly properties: {
4
+ readonly type: {
5
+ readonly type: "string";
6
+ readonly description: "Type of the organization. `business` for legal entities, `personal` for individuals.";
7
+ readonly example: "business";
8
+ readonly enum: readonly ["business", "personal"];
9
+ };
4
10
  readonly company: {
5
11
  readonly type: "string";
6
12
  readonly maxLength: 120;
@@ -57,15 +63,10 @@ export declare const BillingContactSchema: {
57
63
  readonly description: "Email address used for billing as a string.";
58
64
  readonly example: "email@example.com";
59
65
  };
60
- readonly first_name: {
61
- readonly type: "string";
62
- readonly description: "First name of the billing contact person.";
63
- readonly example: "John";
64
- };
65
- readonly last_name: {
66
+ readonly individual_name: {
66
67
  readonly type: "string";
67
- readonly description: "Last name of the billing contact person.";
68
- readonly example: "Doe";
68
+ readonly description: "Name of the billing contact person.";
69
+ readonly example: "John Doe";
69
70
  };
70
71
  readonly tax_id: {
71
72
  readonly type: "string";
@@ -78,10 +79,10 @@ export declare const BillingContactSchema: {
78
79
  readonly nullable: true;
79
80
  readonly description: "Type of the tax ID.";
80
81
  readonly example: "de_vat";
81
- readonly enum: readonly ["ad_nrt", "ae_trn", "al_tin", "am_tin", "ao_tin", "ar_cuit", "at_vat", "au_abn", "au_arn", "ba_tin", "bb_tin", "be_vat", "bg_uic", "bg_vat", "bh_vat", "bo_tin", "br_cnpj", "br_cpf", "bs_tin", "by_tin", "ca_bn", "ca_gst_hst", "ca_pst_bc", "ca_pst_mb", "ca_pst_sk", "ca_qst", "cd_nif", "ch_uid", "ch_vat", "cl_tin", "cn_tin", "co_nit", "cr_tin", "cy_vat", "cz_vat", "de_stn", "de_vat", "dk_vat", "do_rcn", "ec_ruc", "ee_vat", "eg_tin", "es_cif", "es_vat", "eu_oss_vat", "fi_vat", "fr_vat", "gb_vat", "ge_vat", "gn_nif", "gr_vat", "hk_br", "hr_oib", "hr_vat", "hu_tin", "hu_vat", "id_npwp", "ie_vat", "il_vat", "in_gst", "is_vat", "it_vat", "jp_cn", "jp_rn", "jp_trn", "ke_pin", "kh_tin", "kr_brn", "kz_bin", "li_uid", "li_vat", "lt_vat", "lu_vat", "lv_vat", "ma_vat", "md_vat", "me_pib", "mk_vat", "mr_nif", "mt_vat", "mx_rfc", "my_frp", "my_itn", "my_sst", "ng_tin", "nl_vat", "no_vat", "no_voec", "np_pan", "nz_gst", "om_vat", "pe_ruc", "ph_tin", "pl_vat", "pt_vat", "ro_tin", "ro_vat", "rs_pib", "ru_inn", "ru_kpp", "sa_vat", "se_vat", "sg_gst", "sg_uen", "si_tin", "si_vat", "sk_vat", "sn_ninea", "sr_fin", "sv_nit", "th_vat", "tj_tin", "tr_tin", "tw_vat", "tz_vat", "ua_vat", "ug_tin", "us_ein", "uy_ruc", "uz_tin", "uz_vat", "ve_rif", "vn_tin", "xi_vat", "za_vat", "zm_tin", "zw_tin", ""];
82
+ readonly enum: readonly ["ad_nrt", "ae_trn", "al_tin", "am_tin", "ao_tin", "ar_cuit", "at_vat", "au_abn", "au_arn", "aw_tin", "az_tin", "ba_tin", "bb_tin", "bd_bin", "be_vat", "bf_ifu", "bg_uic", "bg_vat", "bh_vat", "bj_ifu", "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", "cm_niu", "cn_tin", "co_nit", "cr_tin", "cv_nif", "cy_vat", "cz_vat", "de_stn", "de_vat", "dk_vat", "do_rcn", "ec_ruc", "ee_vat", "eg_tin", "es_cif", "es_vat", "et_tin", "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", "kg_tin", "kh_tin", "kr_brn", "kz_bin", "la_tin", "li_uid", "li_vat", "lk_vat", "lt_vat", "lu_vat", "lv_vat", "ma_vat", "md_vat", "me_pib", "mk_vat", "mr_nif", "mt_vat", "mx_rfc", "my_frp", "my_itn", "my_sst", "ng_tin", "nl_vat", "no_vat", "no_voec", "np_pan", "nz_gst", "om_vat", "pe_ruc", "ph_tin", "pl_vat", "pt_vat", "ro_tin", "ro_vat", "rs_pib", "ru_inn", "ru_kpp", "sa_vat", "se_vat", "sg_gst", "sg_uen", "si_tin", "si_vat", "sk_vat", "sn_ninea", "sr_fin", "sv_nit", "th_vat", "tj_tin", "tr_tin", "tw_vat", "tz_vat", "ua_vat", "ug_tin", "us_ein", "uy_ruc", "uz_tin", "uz_vat", "ve_rif", "vn_tin", "xi_vat", "za_vat", "zm_tin", "zw_tin", ""];
82
83
  };
83
84
  };
84
- readonly required: readonly ["email", "first_name", "last_name"];
85
+ readonly required: readonly ["type", "email", "individual_name"];
85
86
  readonly additionalProperties: false;
86
87
  };
87
88
  export declare const BillingCreditsSchema: {
@@ -92,10 +93,22 @@ export declare const BillingCreditsSchema: {
92
93
  readonly description: "Generated unique identifier of the promotional code.";
93
94
  readonly example: "7kUZnH7nnKUFfvc4NK2KQF";
94
95
  };
95
- readonly date_created: {
96
+ readonly type: {
97
+ readonly type: "string";
98
+ readonly description: "Type of the promotional code.";
99
+ readonly example: "credit";
100
+ readonly enum: readonly ["credit", "discount"];
101
+ };
102
+ readonly date_start: {
103
+ readonly type: "string";
104
+ readonly format: "date-time";
105
+ readonly description: "Timestamp when the credit becomes active. ISO 8601 date string in the UTC timezone.";
106
+ readonly example: "2023-12-20T13:53:32.000Z";
107
+ };
108
+ readonly date_end: {
96
109
  readonly type: "string";
97
110
  readonly format: "date-time";
98
- readonly description: "Date of the credit application. ISO 8601 date string in the UTC timezone.";
111
+ readonly description: "Timestamp when the credit expires or becomes inactive. ISO 8601 date string in the UTC timezone.";
99
112
  readonly example: "2023-12-20T13:53:32.000Z";
100
113
  };
101
114
  readonly code: {
@@ -108,165 +121,20 @@ export declare const BillingCreditsSchema: {
108
121
  readonly description: "Description of the promotional code.";
109
122
  readonly example: "10% off on all products";
110
123
  };
111
- readonly products: {
112
- readonly type: "array";
113
- readonly items: {
114
- readonly type: "string";
115
- };
116
- readonly description: "List of product SKUs that the promotional code can be used on.";
117
- readonly example: readonly ["cfke_controlplane", "cfke_connected_nodes", "infra_compute", "infra_storage", "infra_loadbalancing", "infra_traffic", "cfcr_storage"];
118
- };
119
- readonly type: {
120
- readonly type: "string";
121
- readonly description: "Type of the promotional code.";
122
- readonly example: "credit";
123
- readonly enum: readonly ["credit", "discount"];
124
- };
125
- readonly value: {
124
+ readonly value_total: {
126
125
  readonly type: "number";
127
126
  readonly format: "float";
128
- readonly description: "Value of the promotional code.";
127
+ readonly description: "Total value of the promotional code.";
129
128
  readonly example: 10;
130
129
  };
131
- readonly billing_period: {
132
- readonly type: "string";
133
- readonly format: "date-time";
134
- readonly description: "Date of the billing cycle. An ISO 8601 date string in the UTC timezone.";
135
- readonly example: "2023-12-20T13:53:32.000Z";
136
- };
137
130
  readonly value_remaining: {
138
131
  readonly type: "number";
139
132
  readonly format: "float";
140
- readonly description: "Value of the promotional code.";
141
- readonly example: 10;
142
- };
143
- };
144
- readonly required: readonly ["date_created", "code", "type", "value", "billing_period"];
145
- readonly additionalProperties: false;
146
- };
147
- export declare const ChartCreateInputSchema: {
148
- readonly type: "object";
149
- readonly properties: {
150
- readonly values: {
151
- readonly type: "string";
152
- readonly description: "Values to be used in the chart encoded as a JSON string.";
153
- };
154
- readonly version_channel: {
155
- readonly type: "string";
156
- readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
157
- readonly description: "Desired version range or channel for the chart.";
158
- readonly example: "2.x.x-cfke.x";
159
- };
160
- readonly name: {
161
- readonly type: "string";
162
- readonly maxLength: 63;
163
- readonly minLength: 1;
164
- readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
165
- readonly description: "Unique identifier of the chart deployment aka name of the helm release.";
166
- readonly example: "postgresql-0";
167
- };
168
- readonly namespace: {
169
- readonly type: "string";
170
- readonly maxLength: 63;
171
- readonly minLength: 1;
172
- readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
173
- readonly description: "Namespace of the chart deployment";
174
- readonly example: "default";
175
- };
176
- readonly chart: {
177
- readonly type: "string";
178
- readonly maxLength: 63;
179
- readonly minLength: 1;
180
- readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
181
- readonly description: "Name of the chart listing";
182
- readonly example: "postgresql";
183
- };
184
- };
185
- readonly required: readonly ["values", "version_channel", "name", "namespace", "chart"];
186
- readonly additionalProperties: false;
187
- };
188
- export declare const ChartSchema: {
189
- readonly type: "object";
190
- readonly properties: {
191
- readonly values: {
192
- readonly type: "string";
193
- readonly description: "Values to be used in the chart encoded as a JSON string.";
194
- };
195
- readonly version_channel: {
196
- readonly type: "string";
197
- readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
198
- readonly description: "Desired version range or channel for the chart.";
199
- readonly example: "2.x.x-cfke.x";
200
- };
201
- readonly name: {
202
- readonly type: "string";
203
- readonly maxLength: 63;
204
- readonly minLength: 1;
205
- readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
206
- readonly description: "Unique identifier of the chart deployment aka name of the helm release.";
207
- readonly example: "postgresql-0";
208
- };
209
- readonly namespace: {
210
- readonly type: "string";
211
- readonly maxLength: 63;
212
- readonly minLength: 1;
213
- readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
214
- readonly description: "Namespace of the chart deployment";
215
- readonly example: "default";
216
- };
217
- readonly chart: {
218
- readonly type: "string";
219
- readonly maxLength: 63;
220
- readonly minLength: 1;
221
- readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
222
- readonly description: "Name of the chart listing";
223
- readonly example: "postgresql";
224
- };
225
- readonly status: {
226
- readonly type: "string";
227
- readonly description: "Status of the chart deployment.";
228
- readonly example: "active";
229
- readonly enum: readonly ["InstallSucceeded", "InstallFailed", "UpgradeSucceeded", "UpgradeFailed", "TestSucceeded", "TestFailed", "RollbackSucceeded", "RollbackFailed", "UninstallSucceeded", "UninstallFailed", "ArtifactFailed", "DependencyNotReady", "Progressing", "SourceNotReady"];
230
- };
231
- readonly version_current: {
232
- readonly type: "string";
233
- readonly description: "Current version of the chart deployment.";
234
- readonly example: "2.1.33-cfke.11";
235
- };
236
- readonly created_at: {
237
- readonly type: "string";
238
- readonly description: "Creation date and time of the chart deployment.";
239
- readonly example: "2024-09-12T09:11:27Z";
240
- };
241
- readonly updated_at: {
242
- readonly type: "string";
243
- readonly description: "Last update date and time of the chart deployment.";
244
- readonly example: "2024-09-12T09:11:27Z";
245
- };
246
- readonly ready: {
247
- readonly type: "boolean";
248
- readonly description: "Indicates if the chart deployment is ready to be used.";
249
- readonly example: true;
133
+ readonly description: "Remaining value of the promotional code.";
134
+ readonly example: 8;
250
135
  };
251
136
  };
252
- readonly required: readonly ["values", "version_channel", "name", "namespace", "chart", "status", "version_current", "created_at", "updated_at", "ready"];
253
- readonly additionalProperties: false;
254
- };
255
- export declare const ChartUpdateInputSchema: {
256
- readonly type: "object";
257
- readonly properties: {
258
- readonly values: {
259
- readonly type: "string";
260
- readonly description: "Values to be used in the chart encoded as a JSON string.";
261
- };
262
- readonly version_channel: {
263
- readonly type: "string";
264
- readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
265
- readonly description: "Desired version range or channel for the chart.";
266
- readonly example: "2.x.x-cfke.x";
267
- };
268
- };
269
- readonly required: readonly ["values", "version_channel"];
137
+ readonly required: readonly ["type", "date_start", "code", "value_total"];
270
138
  readonly additionalProperties: false;
271
139
  };
272
140
  export declare const ClusterCreateInputSchema: {
@@ -283,26 +151,103 @@ export declare const ClusterCreateInputSchema: {
283
151
  readonly tier: {
284
152
  readonly type: "string";
285
153
  readonly description: "Tier of the cluster.";
154
+ readonly default: "basic";
286
155
  readonly example: "pro";
287
- readonly enum: readonly ["basic", "pro"];
288
- };
289
- readonly region: {
290
- readonly type: "string";
291
- readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\", \"europe-central-1a\". This field can not be updated after creation.";
292
- readonly default: "staging";
293
- readonly example: "northamerica-central-1";
294
- readonly enum: readonly ["staging", "northamerica-central-1", "europe-central-1a"];
156
+ readonly enum: readonly ["basic", "pro", "enterprise"];
295
157
  };
296
158
  readonly version_channel: {
297
159
  readonly type: "string";
298
160
  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-]+)*))?$";
299
161
  readonly description: "Version of the kubernetes cluster.";
300
162
  readonly default: "1.x.x-cfke.x";
301
- readonly example: "1.29.x-cfke.x";
163
+ readonly example: "1.x.x-cfke.x";
164
+ };
165
+ readonly release_channel: {
166
+ readonly type: "string";
167
+ readonly description: "Release channel for the cluster's control plane.";
168
+ readonly default: "rapid";
169
+ readonly example: "rapid";
170
+ readonly enum: readonly ["rapid", "stable", "extended"];
171
+ };
172
+ readonly features: {
173
+ readonly type: "object";
174
+ readonly properties: {
175
+ readonly gpu_sharing_strategy: {
176
+ readonly type: "string";
177
+ readonly description: "GPU sharing strategy.";
178
+ readonly default: "none";
179
+ readonly example: "none";
180
+ readonly enum: readonly ["none", "mps", "time_slicing"];
181
+ };
182
+ readonly gpu_max_shared_clients_per_gpu: {
183
+ readonly type: "integer";
184
+ readonly minimum: 2;
185
+ readonly maximum: 48;
186
+ readonly description: "Maximum number of pods that may share a single GPU.";
187
+ readonly default: 4;
188
+ readonly example: 10;
189
+ };
190
+ readonly cilium_socket_lb_host_namespace_only: {
191
+ readonly type: "boolean";
192
+ readonly description: "Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.";
193
+ readonly example: false;
194
+ };
195
+ };
196
+ readonly additionalProperties: false;
197
+ readonly description: "Cluster feature toggles.";
198
+ readonly default: {
199
+ readonly gpu_sharing_strategy: "none";
200
+ readonly gpu_max_shared_clients_per_gpu: 4;
201
+ readonly cilium_socket_lb_host_namespace_only: false;
202
+ };
203
+ };
204
+ readonly region: {
205
+ readonly type: "string";
206
+ readonly description: "Cloudfleet control plane region. This field can not be updated after creation.";
207
+ readonly example: "europe-central-1a";
208
+ };
209
+ readonly networking: {
210
+ readonly type: "object";
211
+ readonly properties: {
212
+ readonly pod_cidr: {
213
+ readonly type: "string";
214
+ readonly description: "CIDR block for pod IPs.";
215
+ readonly default: "10.244.0.0/16";
216
+ };
217
+ readonly service_cidr: {
218
+ readonly type: "string";
219
+ readonly description: "CIDR block for service IPs.";
220
+ readonly default: "10.96.0.0/12";
221
+ };
222
+ readonly dual_stack: {
223
+ readonly type: "boolean";
224
+ readonly description: "Enable IPv4+IPv6 dual-stack networking.";
225
+ };
226
+ readonly pod_cidr_v6: {
227
+ readonly type: "string";
228
+ readonly description: "IPv6 pod CIDR. Requires dual_stack.";
229
+ readonly default: "2001:db8:1:2::/48";
230
+ };
231
+ readonly service_cidr_v6: {
232
+ readonly type: "string";
233
+ readonly description: "IPv6 service CIDR. Requires dual_stack.";
234
+ readonly default: "2001:db8:1:1::/112";
235
+ };
236
+ };
237
+ readonly additionalProperties: false;
238
+ readonly description: "Cluster networking configuration. Immutable after creation.";
239
+ readonly default: {
240
+ readonly pod_cidr: "10.244.0.0/16";
241
+ readonly service_cidr: "10.96.0.0/12";
242
+ readonly dual_stack: false;
243
+ readonly pod_cidr_v6: "2001:db8:1:2::/48";
244
+ readonly service_cidr_v6: "2001:db8:1:1::/112";
245
+ };
302
246
  };
303
247
  };
304
- readonly required: readonly ["name", "tier"];
248
+ readonly required: readonly ["name", "region"];
305
249
  readonly additionalProperties: false;
250
+ readonly description: "Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.";
306
251
  };
307
252
  export declare const ClusterJoinInformationSchema: {
308
253
  readonly type: "object";
@@ -318,11 +263,26 @@ export declare const ClusterJoinInformationSchema: {
318
263
  readonly description: "Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.";
319
264
  readonly example: "https://10.31.64.7:6443";
320
265
  };
266
+ readonly cluster_dns: {
267
+ readonly type: "string";
268
+ readonly description: "Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.";
269
+ readonly example: "10.96.0.10";
270
+ };
271
+ readonly pod_cidr: {
272
+ readonly type: "string";
273
+ readonly description: "Pod CIDR for the cluster. Used to configure iptables rules on nodes to prevent Tailscale routing loops.";
274
+ readonly example: "10.244.0.0/16";
275
+ };
321
276
  readonly auth_key: {
322
277
  readonly type: "string";
323
278
  readonly description: "Authentication key for the cluster.";
324
279
  readonly example: "tskey-auth-kBV8wr1dk911CNTRL-...";
325
280
  };
281
+ readonly login_server: {
282
+ readonly type: "string";
283
+ readonly description: "Coordination server the node registers against. Empty on data plane v1 clusters, where the node advertises its own tag instead. A non-empty value requires a client that declares the dataplane-v2 capability.";
284
+ readonly example: "https://415026b6-f00f-44f8-968d-fc6ef4d0fc6d.fabric.europe-central-1a.cfke.io";
285
+ };
326
286
  readonly bootstrap_token: {
327
287
  readonly type: "string";
328
288
  readonly description: "Bootstrap token for the cluster.";
@@ -334,7 +294,7 @@ export declare const ClusterJoinInformationSchema: {
334
294
  readonly kubernetes: {
335
295
  readonly type: "string";
336
296
  readonly description: "Kubernetes version of the cluster.";
337
- readonly example: "1.29.3";
297
+ readonly example: "1.33.7";
338
298
  };
339
299
  readonly tailscale: {
340
300
  readonly type: "string";
@@ -380,7 +340,7 @@ export declare const ClusterJoinInformationSchema: {
380
340
  readonly description: "OIDC Information for hosts to access to third party API's.";
381
341
  };
382
342
  };
383
- readonly required: readonly ["certificate_authority", "endpoint", "auth_key", "bootstrap_token", "versions", "third_party_api_access_config"];
343
+ readonly required: readonly ["certificate_authority", "endpoint", "cluster_dns", "pod_cidr", "auth_key", "login_server", "bootstrap_token", "versions", "third_party_api_access_config"];
384
344
  readonly additionalProperties: false;
385
345
  };
386
346
  export declare const ClusterSchema: {
@@ -397,22 +357,100 @@ export declare const ClusterSchema: {
397
357
  readonly tier: {
398
358
  readonly type: "string";
399
359
  readonly description: "Tier of the cluster.";
360
+ readonly default: "basic";
400
361
  readonly example: "pro";
401
- readonly enum: readonly ["basic", "pro"];
402
- };
403
- readonly region: {
404
- readonly type: "string";
405
- readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\", \"europe-central-1a\". This field can not be updated after creation.";
406
- readonly default: "staging";
407
- readonly example: "northamerica-central-1";
408
- readonly enum: readonly ["staging", "northamerica-central-1", "europe-central-1a"];
362
+ readonly enum: readonly ["basic", "pro", "enterprise"];
409
363
  };
410
364
  readonly version_channel: {
411
365
  readonly type: "string";
412
366
  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-]+)*))?$";
413
367
  readonly description: "Version of the kubernetes cluster.";
414
368
  readonly default: "1.x.x-cfke.x";
415
- readonly example: "1.29.x-cfke.x";
369
+ readonly example: "1.x.x-cfke.x";
370
+ };
371
+ readonly release_channel: {
372
+ readonly type: "string";
373
+ readonly description: "Release channel for the cluster's control plane.";
374
+ readonly default: "rapid";
375
+ readonly example: "rapid";
376
+ readonly enum: readonly ["rapid", "stable", "extended"];
377
+ };
378
+ readonly features: {
379
+ readonly type: "object";
380
+ readonly properties: {
381
+ readonly gpu_sharing_strategy: {
382
+ readonly type: "string";
383
+ readonly description: "GPU sharing strategy.";
384
+ readonly default: "none";
385
+ readonly example: "none";
386
+ readonly enum: readonly ["none", "mps", "time_slicing"];
387
+ };
388
+ readonly gpu_max_shared_clients_per_gpu: {
389
+ readonly type: "integer";
390
+ readonly minimum: 2;
391
+ readonly maximum: 48;
392
+ readonly description: "Maximum number of pods that may share a single GPU.";
393
+ readonly default: 4;
394
+ readonly example: 10;
395
+ };
396
+ readonly cilium_socket_lb_host_namespace_only: {
397
+ readonly type: "boolean";
398
+ readonly description: "Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.";
399
+ readonly example: false;
400
+ };
401
+ };
402
+ readonly required: readonly ["gpu_sharing_strategy", "gpu_max_shared_clients_per_gpu", "cilium_socket_lb_host_namespace_only"];
403
+ readonly additionalProperties: false;
404
+ readonly description: "Cluster feature toggles.";
405
+ readonly default: {
406
+ readonly gpu_sharing_strategy: "none";
407
+ readonly gpu_max_shared_clients_per_gpu: 4;
408
+ readonly cilium_socket_lb_host_namespace_only: false;
409
+ };
410
+ };
411
+ readonly region: {
412
+ readonly type: "string";
413
+ readonly description: "Cloudfleet control plane region. This field can not be updated after creation.";
414
+ readonly example: "europe-central-1a";
415
+ };
416
+ readonly networking: {
417
+ readonly type: "object";
418
+ readonly properties: {
419
+ readonly pod_cidr: {
420
+ readonly type: "string";
421
+ readonly description: "CIDR block for pod IPs.";
422
+ readonly default: "10.244.0.0/16";
423
+ };
424
+ readonly service_cidr: {
425
+ readonly type: "string";
426
+ readonly description: "CIDR block for service IPs.";
427
+ readonly default: "10.96.0.0/12";
428
+ };
429
+ readonly dual_stack: {
430
+ readonly type: "boolean";
431
+ readonly description: "Enable IPv4+IPv6 dual-stack networking.";
432
+ };
433
+ readonly pod_cidr_v6: {
434
+ readonly type: "string";
435
+ readonly description: "IPv6 pod CIDR. Requires dual_stack.";
436
+ readonly default: "2001:db8:1:2::/48";
437
+ };
438
+ readonly service_cidr_v6: {
439
+ readonly type: "string";
440
+ readonly description: "IPv6 service CIDR. Requires dual_stack.";
441
+ readonly default: "2001:db8:1:1::/112";
442
+ };
443
+ };
444
+ readonly required: readonly ["pod_cidr", "service_cidr", "dual_stack", "pod_cidr_v6", "service_cidr_v6"];
445
+ readonly additionalProperties: false;
446
+ readonly description: "Cluster networking configuration. Immutable after creation.";
447
+ readonly default: {
448
+ readonly pod_cidr: "10.244.0.0/16";
449
+ readonly service_cidr: "10.96.0.0/12";
450
+ readonly dual_stack: false;
451
+ readonly pod_cidr_v6: "2001:db8:1:2::/48";
452
+ readonly service_cidr_v6: "2001:db8:1:1::/112";
453
+ };
416
454
  };
417
455
  readonly id: {
418
456
  readonly type: "string";
@@ -422,16 +460,27 @@ export declare const ClusterSchema: {
422
460
  };
423
461
  readonly status: {
424
462
  readonly type: "string";
425
- readonly description: "Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.";
426
- readonly example: "active";
427
- readonly enum: readonly ["active", "deleted", "creating", "deployed", "failed", "updating"];
463
+ readonly description: "Status of the cluster.";
464
+ readonly example: "deployed";
465
+ readonly enum: readonly ["creating", "deployed", "updating", "disabled"];
428
466
  };
429
467
  readonly endpoint: {
430
468
  readonly anyOf: readonly [{
431
469
  readonly type: "string";
432
470
  readonly format: "uri";
433
- readonly description: "URL of the Kubernetes cluster control plane. This is the endpoint that kubectl uses to connect to the cluster.";
434
- readonly example: "https://2ae6557c-c61f-49c6-b4c1-a65473470a03.staging.cfke.cloudfleet.dev:6443";
471
+ 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.";
472
+ readonly example: "https://2ae6557c-c61f-49c6-b4c1-a65473470a03.staging.cfke.io";
473
+ }, {
474
+ readonly type: "string";
475
+ readonly enum: readonly [""];
476
+ }];
477
+ };
478
+ readonly endpoint_public: {
479
+ readonly anyOf: readonly [{
480
+ readonly type: "string";
481
+ readonly format: "uri";
482
+ readonly description: "Deprecated alias of `endpoint`; retained for backward compatibility.";
483
+ readonly example: "https://2ae6557c-c61f-49c6-b4c1-a65473470a03.staging.cfke.io";
435
484
  }, {
436
485
  readonly type: "string";
437
486
  readonly enum: readonly [""];
@@ -445,7 +494,7 @@ export declare const ClusterSchema: {
445
494
  readonly version_current: {
446
495
  readonly type: "string";
447
496
  readonly description: "Current version of the cluster.";
448
- readonly example: "1.29.3-cfke.52";
497
+ readonly example: "1.33.7-cfke.264";
449
498
  };
450
499
  readonly created_at: {
451
500
  readonly type: "string";
@@ -463,8 +512,9 @@ export declare const ClusterSchema: {
463
512
  readonly example: true;
464
513
  };
465
514
  };
466
- readonly required: readonly ["name", "tier", "id", "status"];
515
+ readonly required: readonly ["name", "tier", "version_channel", "release_channel", "features", "region", "networking", "id", "status", "ready"];
467
516
  readonly additionalProperties: false;
517
+ readonly description: "Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.";
468
518
  };
469
519
  export declare const ClusterUpdateInputSchema: {
470
520
  readonly type: "object";
@@ -480,17 +530,110 @@ export declare const ClusterUpdateInputSchema: {
480
530
  readonly tier: {
481
531
  readonly type: "string";
482
532
  readonly description: "Tier of the cluster.";
533
+ readonly default: "basic";
483
534
  readonly example: "pro";
484
- readonly enum: readonly ["basic", "pro"];
535
+ readonly enum: readonly ["basic", "pro", "enterprise"];
485
536
  };
486
537
  readonly version_channel: {
487
538
  readonly type: "string";
488
539
  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-]+)*))?$";
489
540
  readonly description: "Version of the kubernetes cluster.";
490
- readonly example: "1.29.x-cfke.x";
541
+ readonly default: "1.x.x-cfke.x";
542
+ readonly example: "1.x.x-cfke.x";
543
+ };
544
+ readonly release_channel: {
545
+ readonly type: "string";
546
+ readonly description: "Release channel for the cluster's control plane.";
547
+ readonly default: "rapid";
548
+ readonly example: "rapid";
549
+ readonly enum: readonly ["rapid", "stable", "extended"];
550
+ };
551
+ readonly features: {
552
+ readonly type: "object";
553
+ readonly properties: {
554
+ readonly gpu_sharing_strategy: {
555
+ readonly type: "string";
556
+ readonly description: "GPU sharing strategy.";
557
+ readonly default: "none";
558
+ readonly example: "none";
559
+ readonly enum: readonly ["none", "mps", "time_slicing"];
560
+ };
561
+ readonly gpu_max_shared_clients_per_gpu: {
562
+ readonly type: "integer";
563
+ readonly minimum: 2;
564
+ readonly maximum: 48;
565
+ readonly description: "Maximum number of pods that may share a single GPU.";
566
+ readonly default: 4;
567
+ readonly example: 10;
568
+ };
569
+ readonly cilium_socket_lb_host_namespace_only: {
570
+ readonly type: "boolean";
571
+ readonly description: "Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.";
572
+ readonly example: false;
573
+ };
574
+ };
575
+ readonly additionalProperties: false;
576
+ readonly description: "Cluster feature toggles.";
577
+ readonly default: {
578
+ readonly gpu_sharing_strategy: "none";
579
+ readonly gpu_max_shared_clients_per_gpu: 4;
580
+ readonly cilium_socket_lb_host_namespace_only: false;
581
+ };
582
+ };
583
+ };
584
+ readonly required: readonly ["name"];
585
+ readonly additionalProperties: false;
586
+ readonly description: "Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.";
587
+ };
588
+ export declare const FeedbackCreateInputSchema: {
589
+ readonly type: "object";
590
+ readonly properties: {
591
+ readonly sentiment: {
592
+ readonly type: "string";
593
+ readonly description: "Overall sentiment: positive, neutral or negative.";
594
+ readonly example: "negative";
595
+ readonly enum: readonly ["positive", "neutral", "negative"];
596
+ };
597
+ readonly message: {
598
+ readonly type: "string";
599
+ readonly maxLength: 2000;
600
+ readonly minLength: 1;
601
+ readonly description: "What was useful, confusing, wrong or missing.";
602
+ readonly example: "The error for a missing kubeconfig does not say which path it looked in.";
603
+ };
604
+ readonly context: {
605
+ readonly type: "string";
606
+ readonly maxLength: 2000;
607
+ readonly description: "What you were trying to do when it happened.";
608
+ readonly example: "Connecting kubectl to a new cluster.";
609
+ };
610
+ readonly source: {
611
+ readonly type: "string";
612
+ readonly description: "Where the feedback was sent from: cli, mcp, plugin, console or api. Defaults to api.";
613
+ readonly default: "api";
614
+ readonly example: "cli";
615
+ readonly enum: readonly ["cli", "mcp", "plugin", "console", "api"];
616
+ };
617
+ readonly client: {
618
+ readonly type: "string";
619
+ readonly maxLength: 100;
620
+ readonly description: "Name and version of the sending client.";
621
+ readonly example: "cloudfleet-plugin-claude/0.5.0";
622
+ };
623
+ };
624
+ readonly required: readonly ["sentiment", "message"];
625
+ readonly additionalProperties: false;
626
+ };
627
+ export declare const FeedbackSchema: {
628
+ readonly type: "object";
629
+ readonly properties: {
630
+ readonly id: {
631
+ readonly type: "string";
632
+ readonly description: "Unique identifier of the feedback entry (Mongo ObjectId).";
633
+ readonly example: "60c72b2f9f1b2c001f8e4d3a";
491
634
  };
492
635
  };
493
- readonly required: readonly ["tier"];
636
+ readonly required: readonly ["id"];
494
637
  readonly additionalProperties: false;
495
638
  };
496
639
  export declare const FleetCreateInputSchema: {
@@ -500,13 +643,12 @@ export declare const FleetCreateInputSchema: {
500
643
  readonly type: "object";
501
644
  readonly properties: {
502
645
  readonly cpu: {
503
- readonly type: "number";
504
- readonly format: "float";
646
+ readonly type: "integer";
505
647
  readonly minimum: 0;
506
- readonly description: "CPU limit in cores.";
648
+ readonly maximum: 100000;
649
+ readonly description: "CPU limit in cores. Maximum 100,000.";
507
650
  };
508
651
  };
509
- readonly required: readonly ["cpu"];
510
652
  readonly additionalProperties: false;
511
653
  readonly description: "Limits define a set of bounds for provisioning capacity.";
512
654
  };
@@ -515,14 +657,15 @@ export declare const FleetCreateInputSchema: {
515
657
  readonly properties: {
516
658
  readonly enabled: {
517
659
  readonly type: "boolean";
518
- readonly default: true;
519
660
  };
520
661
  readonly project: {
521
662
  readonly type: "string";
522
- readonly description: "Project GCP Project id to deploy instances into";
663
+ readonly pattern: "^[a-z][a-z0-9-]{4,28}[a-z0-9]$";
664
+ 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.";
665
+ readonly example: "my-cloudfleet-project";
523
666
  };
524
667
  };
525
- readonly required: readonly ["project"];
668
+ readonly required: readonly ["enabled"];
526
669
  readonly additionalProperties: false;
527
670
  };
528
671
  readonly hetzner: {
@@ -530,14 +673,16 @@ export declare const FleetCreateInputSchema: {
530
673
  readonly properties: {
531
674
  readonly enabled: {
532
675
  readonly type: "boolean";
533
- readonly default: true;
534
676
  };
535
677
  readonly apiKey: {
536
678
  readonly type: "string";
537
- readonly description: "Hetzner Cloud API key with read / write access";
679
+ readonly maxLength: 64;
680
+ readonly minLength: 64;
681
+ readonly pattern: "^([A-Za-z0-9]{64}|\\*{64})$";
682
+ readonly description: "Hetzner Cloud API token with read/write access (64 alphanumeric characters). Write-only: reads return a redacted placeholder, never the token. Omit the field, or send the placeholder back unchanged, to keep the existing key. Send a new value to rotate it.";
538
683
  };
539
684
  };
540
- readonly required: readonly ["apiKey"];
685
+ readonly required: readonly ["enabled"];
541
686
  readonly additionalProperties: false;
542
687
  };
543
688
  readonly aws: {
@@ -545,19 +690,109 @@ export declare const FleetCreateInputSchema: {
545
690
  readonly properties: {
546
691
  readonly enabled: {
547
692
  readonly type: "boolean";
548
- readonly default: true;
549
693
  };
550
694
  readonly controllerRoleArn: {
551
695
  readonly type: "string";
552
- readonly description: "ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.";
696
+ readonly pattern: "^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$";
697
+ readonly description: "AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.";
698
+ readonly example: "arn:aws:iam::123456789012:role/Cloudfleet";
553
699
  };
554
700
  };
555
- readonly required: readonly ["controllerRoleArn"];
701
+ readonly required: readonly ["enabled"];
556
702
  readonly additionalProperties: false;
557
703
  };
558
- readonly id: {
559
- readonly type: "string";
560
- readonly maxLength: 63;
704
+ readonly constraints: {
705
+ readonly type: "object";
706
+ readonly properties: {
707
+ readonly 'karpenter.sh/capacity-type': {
708
+ readonly type: "array";
709
+ readonly items: {
710
+ readonly type: "string";
711
+ readonly enum: readonly ["on-demand", "spot"];
712
+ };
713
+ readonly minItems: 1;
714
+ readonly description: "Allowed values for `karpenter.sh/capacity-type`.";
715
+ readonly default: readonly ["on-demand", "spot"];
716
+ };
717
+ readonly 'kubernetes.io/arch': {
718
+ readonly type: "array";
719
+ readonly items: {
720
+ readonly type: "string";
721
+ readonly enum: readonly ["amd64", "arm64"];
722
+ };
723
+ readonly minItems: 1;
724
+ readonly description: "Allowed values for `kubernetes.io/arch`.";
725
+ readonly default: readonly ["amd64"];
726
+ };
727
+ readonly 'cfke.io/instance-family': {
728
+ readonly type: "array";
729
+ readonly items: {
730
+ readonly type: "string";
731
+ 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"];
732
+ };
733
+ readonly description: "Allowed values for `cfke.io/instance-family`.";
734
+ readonly default: readonly [];
735
+ };
736
+ readonly 'topology.kubernetes.io/region': {
737
+ readonly type: "array";
738
+ readonly items: {
739
+ readonly type: "string";
740
+ 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"];
741
+ };
742
+ readonly description: "Allowed values for `topology.kubernetes.io/region`.";
743
+ readonly default: readonly [];
744
+ };
745
+ };
746
+ readonly additionalProperties: false;
747
+ 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.";
748
+ readonly default: {
749
+ readonly 'karpenter.sh/capacity-type': readonly ["on-demand", "spot"];
750
+ readonly 'kubernetes.io/arch': readonly ["amd64"];
751
+ readonly 'cfke.io/instance-family': readonly [];
752
+ readonly 'topology.kubernetes.io/region': readonly [];
753
+ };
754
+ };
755
+ readonly scalingProfile: {
756
+ readonly type: "string";
757
+ readonly description: "Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet. Full-overwrite: omit to reset to the default (`conservative`).";
758
+ readonly default: "conservative";
759
+ readonly example: "conservative";
760
+ readonly enum: readonly ["aggressive", "conservative"];
761
+ };
762
+ readonly taints: {
763
+ readonly type: "array";
764
+ readonly items: {
765
+ readonly type: "object";
766
+ readonly properties: {
767
+ readonly key: {
768
+ readonly type: "string";
769
+ readonly description: "Taint key: a Kubernetes qualified name with an optional DNS subdomain prefix. Keys under `node.kubernetes.io`, `node.cloudprovider.kubernetes.io`, `node.cilium.io`, `karpenter.sh` and `cfke.io` (and their subdomains) are reserved.";
770
+ readonly example: "dedicated";
771
+ };
772
+ readonly value: {
773
+ readonly type: "string";
774
+ readonly maxLength: 63;
775
+ readonly pattern: "^([A-Za-z0-9]([-A-Za-z0-9_.]*[A-Za-z0-9])?)?$";
776
+ readonly description: "Taint value. Optional.";
777
+ readonly example: "ci";
778
+ };
779
+ readonly effect: {
780
+ readonly type: "string";
781
+ readonly description: "Taint effect.";
782
+ readonly example: "NoSchedule";
783
+ readonly enum: readonly ["NoSchedule", "PreferNoSchedule", "NoExecute"];
784
+ };
785
+ };
786
+ readonly required: readonly ["key", "effect"];
787
+ readonly additionalProperties: false;
788
+ };
789
+ readonly maxItems: 50;
790
+ readonly description: "Taints applied to every node the fleet provisions, so only pods that tolerate them schedule there. Each key and effect pair may appear once. Full-overwrite: omit to remove all taints.";
791
+ readonly default: readonly [];
792
+ };
793
+ readonly id: {
794
+ readonly type: "string";
795
+ readonly maxLength: 63;
561
796
  readonly minLength: 1;
562
797
  readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
563
798
  readonly description: "Unique identifier of the kubernetes fleet.";
@@ -566,6 +801,7 @@ export declare const FleetCreateInputSchema: {
566
801
  };
567
802
  readonly required: readonly ["id"];
568
803
  readonly additionalProperties: false;
804
+ readonly description: "Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.";
569
805
  };
570
806
  export declare const FleetSchema: {
571
807
  readonly type: "object";
@@ -574,13 +810,12 @@ export declare const FleetSchema: {
574
810
  readonly type: "object";
575
811
  readonly properties: {
576
812
  readonly cpu: {
577
- readonly type: "number";
578
- readonly format: "float";
813
+ readonly type: "integer";
579
814
  readonly minimum: 0;
580
- readonly description: "CPU limit in cores.";
815
+ readonly maximum: 100000;
816
+ readonly description: "CPU limit in cores. Maximum 100,000.";
581
817
  };
582
818
  };
583
- readonly required: readonly ["cpu"];
584
819
  readonly additionalProperties: false;
585
820
  readonly description: "Limits define a set of bounds for provisioning capacity.";
586
821
  };
@@ -589,14 +824,15 @@ export declare const FleetSchema: {
589
824
  readonly properties: {
590
825
  readonly enabled: {
591
826
  readonly type: "boolean";
592
- readonly default: true;
593
827
  };
594
828
  readonly project: {
595
829
  readonly type: "string";
596
- readonly description: "Project GCP Project id to deploy instances into";
830
+ readonly pattern: "^[a-z][a-z0-9-]{4,28}[a-z0-9]$";
831
+ 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.";
832
+ readonly example: "my-cloudfleet-project";
597
833
  };
598
834
  };
599
- readonly required: readonly ["project"];
835
+ readonly required: readonly ["enabled"];
600
836
  readonly additionalProperties: false;
601
837
  };
602
838
  readonly hetzner: {
@@ -604,14 +840,14 @@ export declare const FleetSchema: {
604
840
  readonly properties: {
605
841
  readonly enabled: {
606
842
  readonly type: "boolean";
607
- readonly default: true;
608
843
  };
609
844
  readonly apiKey: {
610
845
  readonly type: "string";
611
- readonly description: "Hetzner Cloud API key with read / write access";
846
+ readonly pattern: "^\\*{64}$";
847
+ 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.";
612
848
  };
613
849
  };
614
- readonly required: readonly ["apiKey"];
850
+ readonly required: readonly ["enabled"];
615
851
  readonly additionalProperties: false;
616
852
  };
617
853
  readonly aws: {
@@ -619,15 +855,106 @@ export declare const FleetSchema: {
619
855
  readonly properties: {
620
856
  readonly enabled: {
621
857
  readonly type: "boolean";
622
- readonly default: true;
623
858
  };
624
859
  readonly controllerRoleArn: {
625
860
  readonly type: "string";
626
- readonly description: "ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.";
861
+ readonly pattern: "^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$";
862
+ readonly description: "AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.";
863
+ readonly example: "arn:aws:iam::123456789012:role/Cloudfleet";
864
+ };
865
+ };
866
+ readonly required: readonly ["enabled"];
867
+ readonly additionalProperties: false;
868
+ };
869
+ readonly constraints: {
870
+ readonly type: "object";
871
+ readonly properties: {
872
+ readonly 'karpenter.sh/capacity-type': {
873
+ readonly type: "array";
874
+ readonly items: {
875
+ readonly type: "string";
876
+ readonly enum: readonly ["on-demand", "spot"];
877
+ };
878
+ readonly minItems: 1;
879
+ readonly description: "Allowed values for `karpenter.sh/capacity-type`.";
880
+ readonly default: readonly ["on-demand", "spot"];
881
+ };
882
+ readonly 'kubernetes.io/arch': {
883
+ readonly type: "array";
884
+ readonly items: {
885
+ readonly type: "string";
886
+ readonly enum: readonly ["amd64", "arm64"];
887
+ };
888
+ readonly minItems: 1;
889
+ readonly description: "Allowed values for `kubernetes.io/arch`.";
890
+ readonly default: readonly ["amd64"];
891
+ };
892
+ readonly 'cfke.io/instance-family': {
893
+ readonly type: "array";
894
+ readonly items: {
895
+ readonly type: "string";
896
+ 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"];
897
+ };
898
+ readonly description: "Allowed values for `cfke.io/instance-family`.";
899
+ readonly default: readonly [];
900
+ };
901
+ readonly 'topology.kubernetes.io/region': {
902
+ readonly type: "array";
903
+ readonly items: {
904
+ readonly type: "string";
905
+ 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"];
906
+ };
907
+ readonly description: "Allowed values for `topology.kubernetes.io/region`.";
908
+ readonly default: readonly [];
627
909
  };
628
910
  };
629
- readonly required: readonly ["controllerRoleArn"];
911
+ readonly required: readonly ["karpenter.sh/capacity-type", "kubernetes.io/arch"];
630
912
  readonly additionalProperties: false;
913
+ 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.";
914
+ readonly default: {
915
+ readonly 'karpenter.sh/capacity-type': readonly ["on-demand", "spot"];
916
+ readonly 'kubernetes.io/arch': readonly ["amd64"];
917
+ readonly 'cfke.io/instance-family': readonly [];
918
+ readonly 'topology.kubernetes.io/region': readonly [];
919
+ };
920
+ };
921
+ readonly scalingProfile: {
922
+ readonly type: "string";
923
+ readonly description: "Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet. Full-overwrite: omit to reset to the default (`conservative`).";
924
+ readonly default: "conservative";
925
+ readonly example: "conservative";
926
+ readonly enum: readonly ["aggressive", "conservative"];
927
+ };
928
+ readonly taints: {
929
+ readonly type: "array";
930
+ readonly items: {
931
+ readonly type: "object";
932
+ readonly properties: {
933
+ readonly key: {
934
+ readonly type: "string";
935
+ readonly description: "Taint key: a Kubernetes qualified name with an optional DNS subdomain prefix. Keys under `node.kubernetes.io`, `node.cloudprovider.kubernetes.io`, `node.cilium.io`, `karpenter.sh` and `cfke.io` (and their subdomains) are reserved.";
936
+ readonly example: "dedicated";
937
+ };
938
+ readonly value: {
939
+ readonly type: "string";
940
+ readonly maxLength: 63;
941
+ readonly pattern: "^([A-Za-z0-9]([-A-Za-z0-9_.]*[A-Za-z0-9])?)?$";
942
+ readonly description: "Taint value. Optional.";
943
+ readonly example: "ci";
944
+ };
945
+ readonly effect: {
946
+ readonly type: "string";
947
+ readonly description: "Taint effect.";
948
+ readonly example: "NoSchedule";
949
+ readonly enum: readonly ["NoSchedule", "PreferNoSchedule", "NoExecute"];
950
+ };
951
+ };
952
+ readonly required: readonly ["key", "effect"];
953
+ readonly additionalProperties: false;
954
+ };
955
+ readonly maxItems: 50;
956
+ readonly description: "Taints applied to every node the fleet provisions, so only pods that tolerate them schedule there. Each key and effect pair may appear once. Full-overwrite: omit to remove all taints.";
957
+ readonly default: readonly [];
631
958
  };
632
959
  readonly id: {
633
960
  readonly type: "string";
@@ -637,9 +964,30 @@ export declare const FleetSchema: {
637
964
  readonly description: "Unique identifier of the kubernetes fleet.";
638
965
  readonly example: "new-clouds-fleet";
639
966
  };
967
+ readonly ready: {
968
+ readonly type: "boolean";
969
+ readonly description: "Indicates whether the fleet configuration is healthy.";
970
+ readonly example: true;
971
+ };
972
+ readonly status_message: {
973
+ readonly type: "string";
974
+ readonly description: "Human-readable reason the fleet is not ready. Present only when `ready` is false.";
975
+ readonly example: "Invalid provider permissions.";
976
+ };
977
+ readonly created_at: {
978
+ readonly type: "string";
979
+ readonly description: "Creation date and time of the fleet.";
980
+ readonly example: "2024-09-12T09:11:27Z";
981
+ };
982
+ readonly updated_at: {
983
+ readonly type: "string";
984
+ readonly description: "Date and time the fleet was last updated.";
985
+ readonly example: "2024-09-12T09:11:27Z";
986
+ };
640
987
  };
641
- readonly required: readonly ["id"];
988
+ readonly required: readonly ["constraints", "scalingProfile", "taints", "id", "ready", "created_at", "updated_at"];
642
989
  readonly additionalProperties: false;
990
+ readonly description: "Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.";
643
991
  };
644
992
  export declare const FleetUpdateInputSchema: {
645
993
  readonly type: "object";
@@ -648,13 +996,12 @@ export declare const FleetUpdateInputSchema: {
648
996
  readonly type: "object";
649
997
  readonly properties: {
650
998
  readonly cpu: {
651
- readonly type: "number";
652
- readonly format: "float";
999
+ readonly type: "integer";
653
1000
  readonly minimum: 0;
654
- readonly description: "CPU limit in cores.";
1001
+ readonly maximum: 100000;
1002
+ readonly description: "CPU limit in cores. Maximum 100,000.";
655
1003
  };
656
1004
  };
657
- readonly required: readonly ["cpu"];
658
1005
  readonly additionalProperties: false;
659
1006
  readonly description: "Limits define a set of bounds for provisioning capacity.";
660
1007
  };
@@ -663,14 +1010,15 @@ export declare const FleetUpdateInputSchema: {
663
1010
  readonly properties: {
664
1011
  readonly enabled: {
665
1012
  readonly type: "boolean";
666
- readonly default: true;
667
1013
  };
668
1014
  readonly project: {
669
1015
  readonly type: "string";
670
- readonly description: "Project GCP Project id to deploy instances into";
1016
+ readonly pattern: "^[a-z][a-z0-9-]{4,28}[a-z0-9]$";
1017
+ 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.";
1018
+ readonly example: "my-cloudfleet-project";
671
1019
  };
672
1020
  };
673
- readonly required: readonly ["project"];
1021
+ readonly required: readonly ["enabled"];
674
1022
  readonly additionalProperties: false;
675
1023
  };
676
1024
  readonly hetzner: {
@@ -678,14 +1026,16 @@ export declare const FleetUpdateInputSchema: {
678
1026
  readonly properties: {
679
1027
  readonly enabled: {
680
1028
  readonly type: "boolean";
681
- readonly default: true;
682
1029
  };
683
1030
  readonly apiKey: {
684
1031
  readonly type: "string";
685
- readonly description: "Hetzner Cloud API key with read / write access";
1032
+ readonly maxLength: 64;
1033
+ readonly minLength: 64;
1034
+ readonly pattern: "^([A-Za-z0-9]{64}|\\*{64})$";
1035
+ readonly description: "Hetzner Cloud API token with read/write access (64 alphanumeric characters). Write-only: reads return a redacted placeholder, never the token. Omit the field, or send the placeholder back unchanged, to keep the existing key. Send a new value to rotate it.";
686
1036
  };
687
1037
  };
688
- readonly required: readonly ["apiKey"];
1038
+ readonly required: readonly ["enabled"];
689
1039
  readonly additionalProperties: false;
690
1040
  };
691
1041
  readonly aws: {
@@ -693,17 +1043,128 @@ export declare const FleetUpdateInputSchema: {
693
1043
  readonly properties: {
694
1044
  readonly enabled: {
695
1045
  readonly type: "boolean";
696
- readonly default: true;
697
1046
  };
698
1047
  readonly controllerRoleArn: {
699
1048
  readonly type: "string";
700
- readonly description: "ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.";
1049
+ readonly pattern: "^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$";
1050
+ readonly description: "AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.";
1051
+ readonly example: "arn:aws:iam::123456789012:role/Cloudfleet";
1052
+ };
1053
+ };
1054
+ readonly required: readonly ["enabled"];
1055
+ readonly additionalProperties: false;
1056
+ };
1057
+ readonly constraints: {
1058
+ readonly type: "object";
1059
+ readonly properties: {
1060
+ readonly 'karpenter.sh/capacity-type': {
1061
+ readonly type: "array";
1062
+ readonly items: {
1063
+ readonly type: "string";
1064
+ readonly enum: readonly ["on-demand", "spot"];
1065
+ };
1066
+ readonly minItems: 1;
1067
+ readonly description: "Allowed values for `karpenter.sh/capacity-type`.";
1068
+ readonly default: readonly ["on-demand", "spot"];
1069
+ };
1070
+ readonly 'kubernetes.io/arch': {
1071
+ readonly type: "array";
1072
+ readonly items: {
1073
+ readonly type: "string";
1074
+ readonly enum: readonly ["amd64", "arm64"];
1075
+ };
1076
+ readonly minItems: 1;
1077
+ readonly description: "Allowed values for `kubernetes.io/arch`.";
1078
+ readonly default: readonly ["amd64"];
1079
+ };
1080
+ readonly 'cfke.io/instance-family': {
1081
+ readonly type: "array";
1082
+ readonly items: {
1083
+ readonly type: "string";
1084
+ 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"];
1085
+ };
1086
+ readonly description: "Allowed values for `cfke.io/instance-family`.";
1087
+ readonly default: readonly [];
1088
+ };
1089
+ readonly 'topology.kubernetes.io/region': {
1090
+ readonly type: "array";
1091
+ readonly items: {
1092
+ readonly type: "string";
1093
+ 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"];
1094
+ };
1095
+ readonly description: "Allowed values for `topology.kubernetes.io/region`.";
1096
+ readonly default: readonly [];
701
1097
  };
702
1098
  };
703
- readonly required: readonly ["controllerRoleArn"];
704
1099
  readonly additionalProperties: false;
1100
+ 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.";
1101
+ readonly default: {
1102
+ readonly 'karpenter.sh/capacity-type': readonly ["on-demand", "spot"];
1103
+ readonly 'kubernetes.io/arch': readonly ["amd64"];
1104
+ readonly 'cfke.io/instance-family': readonly [];
1105
+ readonly 'topology.kubernetes.io/region': readonly [];
1106
+ };
1107
+ };
1108
+ readonly scalingProfile: {
1109
+ readonly type: "string";
1110
+ readonly description: "Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet. Full-overwrite: omit to reset to the default (`conservative`).";
1111
+ readonly default: "conservative";
1112
+ readonly example: "conservative";
1113
+ readonly enum: readonly ["aggressive", "conservative"];
1114
+ };
1115
+ readonly taints: {
1116
+ readonly type: "array";
1117
+ readonly items: {
1118
+ readonly type: "object";
1119
+ readonly properties: {
1120
+ readonly key: {
1121
+ readonly type: "string";
1122
+ readonly description: "Taint key: a Kubernetes qualified name with an optional DNS subdomain prefix. Keys under `node.kubernetes.io`, `node.cloudprovider.kubernetes.io`, `node.cilium.io`, `karpenter.sh` and `cfke.io` (and their subdomains) are reserved.";
1123
+ readonly example: "dedicated";
1124
+ };
1125
+ readonly value: {
1126
+ readonly type: "string";
1127
+ readonly maxLength: 63;
1128
+ readonly pattern: "^([A-Za-z0-9]([-A-Za-z0-9_.]*[A-Za-z0-9])?)?$";
1129
+ readonly description: "Taint value. Optional.";
1130
+ readonly example: "ci";
1131
+ };
1132
+ readonly effect: {
1133
+ readonly type: "string";
1134
+ readonly description: "Taint effect.";
1135
+ readonly example: "NoSchedule";
1136
+ readonly enum: readonly ["NoSchedule", "PreferNoSchedule", "NoExecute"];
1137
+ };
1138
+ };
1139
+ readonly required: readonly ["key", "effect"];
1140
+ readonly additionalProperties: false;
1141
+ };
1142
+ readonly maxItems: 50;
1143
+ readonly description: "Taints applied to every node the fleet provisions, so only pods that tolerate them schedule there. Each key and effect pair may appear once. Full-overwrite: omit to remove all taints.";
1144
+ readonly default: readonly [];
1145
+ };
1146
+ };
1147
+ readonly additionalProperties: false;
1148
+ readonly description: "Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.";
1149
+ };
1150
+ export declare const InviteCreateInputSchema: {
1151
+ readonly type: "object";
1152
+ readonly properties: {
1153
+ readonly email: {
1154
+ readonly type: "string";
1155
+ readonly format: "email";
1156
+ readonly description: "Email address of the user to invite.";
1157
+ readonly example: "email@example.com";
1158
+ };
1159
+ readonly role: {
1160
+ readonly type: "string";
1161
+ readonly description: "Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.";
1162
+ readonly default: "User";
1163
+ readonly example: "User";
1164
+ readonly enum: readonly ["Administrator", "User"];
705
1165
  };
706
1166
  };
1167
+ readonly required: readonly ["email"];
707
1168
  readonly additionalProperties: false;
708
1169
  };
709
1170
  export declare const InviteSchema: {
@@ -737,439 +1198,202 @@ export declare const InviteSchema: {
737
1198
  readonly description: "Generated unique invite code.";
738
1199
  readonly example: "7kUZnH7nnKUFfvc4NK2KQF";
739
1200
  };
1201
+ readonly role: {
1202
+ readonly type: "string";
1203
+ readonly description: "Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.";
1204
+ readonly default: "User";
1205
+ readonly example: "User";
1206
+ readonly enum: readonly ["Administrator", "User"];
1207
+ };
740
1208
  };
741
1209
  readonly required: readonly ["date_created"];
742
1210
  readonly additionalProperties: false;
743
1211
  };
744
- export declare const InvoiceSchema: {
1212
+ export declare const InvoicePaymentAttemptSchema: {
745
1213
  readonly type: "object";
746
1214
  readonly properties: {
747
- readonly id: {
748
- readonly type: "string";
749
- readonly format: "uuid";
750
- readonly description: "Unique identifier of the invoice. UUID v4 string in canonical form";
751
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
752
- };
753
- readonly organizationId: {
1215
+ readonly invoice_id: {
754
1216
  readonly type: "string";
755
- readonly format: "uuid";
756
- readonly description: "Unique identifier of the organization. UUID v4 string in canonical form";
757
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
1217
+ readonly description: "Identifier of the invoice.";
1218
+ readonly example: "in_1234567890xCrwxghOTj1234";
758
1219
  };
759
- readonly status: {
1220
+ readonly number: {
760
1221
  readonly type: "string";
761
- readonly description: "Status of the invoice";
762
- readonly example: "DRAFT";
763
- readonly enum: readonly ["DRAFT", "COMMITTED", "VOID"];
1222
+ readonly nullable: true;
1223
+ readonly description: "Invoice number. Null if the invoice has no number.";
1224
+ readonly example: "CF-0042";
764
1225
  };
765
1226
  readonly amount: {
766
1227
  readonly type: "number";
767
1228
  readonly format: "float";
768
- readonly description: "Total amount of the invoice";
769
- readonly example: 100;
1229
+ readonly description: "Amount outstanding when the charge was attempted, in the smallest currency unit.";
1230
+ readonly example: 4200;
770
1231
  };
771
1232
  readonly currency: {
772
1233
  readonly type: "string";
773
- readonly description: "Currency of the invoice";
774
- readonly example: "USD";
775
- 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"];
776
- };
777
- readonly creditAdj: {
778
- readonly type: "number";
779
- readonly format: "float";
780
- readonly description: "Total amount of credit adjustments";
781
- readonly example: 0;
1234
+ readonly description: "Currency of the invoice.";
1235
+ readonly example: "eur";
782
1236
  };
783
- readonly refundAdj: {
784
- readonly type: "number";
785
- readonly format: "float";
786
- readonly description: "Total amount of refund adjustments";
787
- readonly example: 0;
1237
+ readonly status: {
1238
+ readonly type: "string";
1239
+ readonly description: "Outcome for this invoice: `paid`, `processing` (accepted, not yet settled), `requires_action` (awaiting customer authentication), or `failed` (declined).";
1240
+ readonly example: "paid";
1241
+ readonly enum: readonly ["paid", "processing", "requires_action", "failed"];
788
1242
  };
789
- readonly invoiceDate: {
1243
+ readonly client_secret: {
790
1244
  readonly type: "string";
791
- readonly description: "Date of the invoice";
792
- readonly example: "2019-01-01T00:00:00.000Z";
1245
+ readonly nullable: true;
1246
+ readonly description: "Client secret used to complete customer authentication. Set only when `status` is `requires_action`.";
1247
+ readonly example: "pi_3MtwBwLkdIwHu7ix28a3tqPa_secret_YrKJUKribcBjcG8HVhfZluoGH";
793
1248
  };
794
- readonly targetDate: {
1249
+ readonly failure_code: {
795
1250
  readonly type: "string";
796
- readonly description: "Target date of the invoice";
797
- readonly example: "2019-01-01T00:00:00.000Z";
1251
+ readonly nullable: true;
1252
+ readonly description: "Decline code. Set only when `status` is `failed`.";
1253
+ readonly example: "insufficient_funds";
798
1254
  };
799
- readonly invoiceNumber: {
1255
+ readonly failure_message: {
800
1256
  readonly type: "string";
801
- readonly description: "Number of the invoice";
802
- readonly example: "INV-0001";
1257
+ readonly nullable: true;
1258
+ readonly description: "Explanation of the decline, suitable for display. Set only when `status` is `failed`.";
1259
+ readonly example: "Your card has insufficient funds.";
803
1260
  };
804
- readonly balance: {
805
- readonly type: "number";
806
- readonly format: "float";
807
- readonly description: "Balance of the invoice";
808
- readonly example: 100;
1261
+ };
1262
+ readonly required: readonly ["invoice_id", "number", "amount", "currency", "status", "client_secret", "failure_code", "failure_message"];
1263
+ readonly additionalProperties: false;
1264
+ };
1265
+ export declare const InvoicePaymentResultSchema: {
1266
+ readonly type: "object";
1267
+ readonly properties: {
1268
+ readonly code: {
1269
+ readonly type: "string";
1270
+ readonly description: "Overall outcome: `paid` (nothing outstanding), `processing` (all accepted, not yet settled), `action_required` (one or more await customer authentication), `partially_paid`, `failed`, `nothing_due`, or `bank_transfer_due` (the organization pays by bank transfer; nothing was charged).";
1271
+ readonly example: "partially_paid";
1272
+ readonly enum: readonly ["paid", "processing", "action_required", "partially_paid", "failed", "nothing_due", "bank_transfer_due"];
809
1273
  };
810
- readonly bundleKeys: {
1274
+ readonly message: {
811
1275
  readonly type: "string";
812
- readonly description: "Bundle keys of the invoice";
813
- readonly example: "bundleKey1,bundleKey2";
1276
+ readonly description: "Summary of the outcome, suitable for display.";
1277
+ readonly example: "1 of 2 open invoices was paid. Invoice CF-0043 was declined: Your card has insufficient funds.";
814
1278
  };
815
- readonly credits: {
1279
+ readonly results: {
816
1280
  readonly type: "array";
817
1281
  readonly items: {
818
1282
  readonly type: "object";
819
1283
  readonly properties: {
820
- readonly id: {
821
- readonly type: "string";
822
- readonly format: "uuid";
823
- readonly description: "Unique identifier of the invoice item. UUID v4 string in canonical form";
824
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
825
- };
826
- readonly linkedInvoiceItemId: {
827
- readonly type: "string";
828
- readonly format: "uuid";
829
- readonly description: "Unique identifier of the linked invoice item. UUID v4 string in canonical form";
830
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
831
- };
832
- readonly productName: {
833
- readonly type: "string";
834
- readonly description: "Name of the product";
835
- readonly example: "Research team";
836
- };
837
- readonly planName: {
838
- readonly type: "string";
839
- readonly description: "Name of the plan";
840
- readonly example: "Plan A";
841
- };
842
- readonly phaseName: {
843
- readonly type: "string";
844
- readonly description: "Name of the phase";
845
- readonly example: "Phase A";
846
- };
847
- readonly usageName: {
848
- readonly type: "string";
849
- readonly description: "Name of the usage";
850
- readonly example: "Usage A";
851
- };
852
- readonly prettyProductName: {
1284
+ readonly invoice_id: {
853
1285
  readonly type: "string";
854
- readonly description: "Pretty name of the product";
855
- readonly example: "Research team";
1286
+ readonly description: "Identifier of the invoice.";
1287
+ readonly example: "in_1234567890xCrwxghOTj1234";
856
1288
  };
857
- readonly prettyPlanName: {
1289
+ readonly number: {
858
1290
  readonly type: "string";
859
- readonly description: "Pretty name of the plan";
860
- readonly example: "Plan A";
861
- };
862
- readonly prettyPhaseName: {
863
- readonly type: "string";
864
- readonly description: "Pretty name of the phase";
865
- readonly example: "Phase A";
866
- };
867
- readonly prettyUsageName: {
868
- readonly type: "string";
869
- readonly description: "Pretty name of the usage";
870
- readonly example: "Usage A";
871
- };
872
- readonly itemType: {
873
- readonly type: "string";
874
- readonly description: "Type of the invoice item";
875
- readonly example: "EXTERNAL_CHARGE";
876
- readonly enum: readonly ["EXTERNAL_CHARGE", "FIXED", "RECURRING", "REPAIR_ADJ", "CBA_ADJ", "CREDIT_ADJ", "ITEM_ADJ", "USAGE", "TAX", "PARENT_SUMMARY"];
877
- };
878
- readonly description: {
879
- readonly type: "string";
880
- readonly description: "Description of the invoice item";
881
- readonly example: "Description of the invoice item";
882
- };
883
- readonly startDate: {
884
- readonly type: "string";
885
- readonly description: "Start date of the invoice item";
886
- readonly example: "2019-01-01T00:00:00.000Z";
887
- };
888
- readonly endDate: {
889
- readonly type: "string";
890
- readonly description: "End date of the invoice item";
891
- readonly example: "2019-01-01T00:00:00.000Z";
1291
+ readonly description: "Invoice number. Null if the invoice has no number.";
1292
+ readonly example: "CF-0042";
892
1293
  };
893
1294
  readonly amount: {
894
1295
  readonly type: "number";
895
1296
  readonly format: "float";
896
- readonly description: "Amount of the invoice item";
897
- readonly example: 100;
898
- };
899
- readonly rate: {
900
- readonly type: "number";
901
- readonly format: "float";
902
- readonly description: "Rate of the invoice item";
903
- readonly example: 100;
1297
+ readonly description: "Amount outstanding when the charge was attempted, in the smallest currency unit.";
1298
+ readonly example: 4200;
904
1299
  };
905
1300
  readonly currency: {
906
1301
  readonly type: "string";
907
- readonly description: "Currency of the invoice item";
908
- readonly example: "USD";
909
- 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"];
1302
+ readonly description: "Currency of the invoice.";
1303
+ readonly example: "eur";
910
1304
  };
911
- readonly quantity: {
912
- readonly type: "number";
913
- readonly format: "float";
914
- readonly description: "Quantity of the invoice item";
915
- readonly example: 1;
1305
+ readonly status: {
1306
+ readonly type: "string";
1307
+ readonly description: "Outcome for this invoice: `paid`, `processing` (accepted, not yet settled), `requires_action` (awaiting customer authentication), or `failed` (declined).";
1308
+ readonly example: "paid";
1309
+ readonly enum: readonly ["paid", "processing", "requires_action", "failed"];
916
1310
  };
917
- readonly itemDetails: {
1311
+ readonly client_secret: {
918
1312
  readonly type: "string";
919
- readonly description: "Details of the invoice item";
920
- readonly example: "Details of the invoice item";
1313
+ readonly description: "Client secret used to complete customer authentication. Set only when `status` is `requires_action`.";
1314
+ readonly example: "pi_3MtwBwLkdIwHu7ix28a3tqPa_secret_YrKJUKribcBjcG8HVhfZluoGH";
921
1315
  };
922
- readonly catalogEffectiveDate: {
1316
+ readonly failure_code: {
923
1317
  readonly type: "string";
924
- readonly description: "Effective date of the catalog";
925
- readonly example: "2019-01-01T00:00:00.000Z";
1318
+ readonly description: "Decline code. Set only when `status` is `failed`.";
1319
+ readonly example: "insufficient_funds";
926
1320
  };
927
- readonly childItems: {
928
- readonly type: "array";
929
- readonly items: {
930
- readonly oneOf: readonly [{
931
- readonly type: "array";
932
- }, {
933
- readonly type: "boolean";
934
- }, {
935
- readonly type: "number";
936
- }, {
937
- readonly type: "object";
938
- readonly additionalProperties: true;
939
- }, {
940
- readonly type: "string";
941
- }];
942
- };
943
- readonly description: "Child items of the invoice item";
1321
+ readonly failure_message: {
1322
+ readonly type: "string";
1323
+ readonly description: "Explanation of the decline, suitable for display. Set only when `status` is `failed`.";
1324
+ readonly example: "Your card has insufficient funds.";
944
1325
  };
945
1326
  };
1327
+ readonly required: readonly ["invoice_id", "number", "amount", "currency", "status", "client_secret", "failure_code", "failure_message"];
946
1328
  readonly additionalProperties: false;
947
1329
  };
948
- readonly description: "Credits of the invoice";
949
- };
950
- readonly items: {
951
- readonly type: "array";
952
- readonly items: {
953
- readonly type: "object";
954
- readonly properties: {
955
- readonly id: {
956
- readonly type: "string";
957
- readonly format: "uuid";
958
- readonly description: "Unique identifier of the invoice item. UUID v4 string in canonical form";
959
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
960
- };
961
- readonly linkedInvoiceItemId: {
962
- readonly type: "string";
963
- readonly format: "uuid";
964
- readonly description: "Unique identifier of the linked invoice item. UUID v4 string in canonical form";
965
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
966
- };
967
- readonly productName: {
968
- readonly type: "string";
969
- readonly description: "Name of the product";
970
- readonly example: "Research team";
971
- };
972
- readonly planName: {
973
- readonly type: "string";
974
- readonly description: "Name of the plan";
975
- readonly example: "Plan A";
976
- };
977
- readonly phaseName: {
978
- readonly type: "string";
979
- readonly description: "Name of the phase";
980
- readonly example: "Phase A";
981
- };
982
- readonly usageName: {
983
- readonly type: "string";
984
- readonly description: "Name of the usage";
985
- readonly example: "Usage A";
986
- };
987
- readonly prettyProductName: {
988
- readonly type: "string";
989
- readonly description: "Pretty name of the product";
990
- readonly example: "Research team";
991
- };
992
- readonly prettyPlanName: {
993
- readonly type: "string";
994
- readonly description: "Pretty name of the plan";
995
- readonly example: "Plan A";
996
- };
997
- readonly prettyPhaseName: {
998
- readonly type: "string";
999
- readonly description: "Pretty name of the phase";
1000
- readonly example: "Phase A";
1001
- };
1002
- readonly prettyUsageName: {
1003
- readonly type: "string";
1004
- readonly description: "Pretty name of the usage";
1005
- readonly example: "Usage A";
1006
- };
1007
- readonly itemType: {
1008
- readonly type: "string";
1009
- readonly description: "Type of the invoice item";
1010
- readonly example: "EXTERNAL_CHARGE";
1011
- readonly enum: readonly ["EXTERNAL_CHARGE", "FIXED", "RECURRING", "REPAIR_ADJ", "CBA_ADJ", "CREDIT_ADJ", "ITEM_ADJ", "USAGE", "TAX", "PARENT_SUMMARY"];
1012
- };
1013
- readonly description: {
1014
- readonly type: "string";
1015
- readonly description: "Description of the invoice item";
1016
- readonly example: "Description of the invoice item";
1017
- };
1018
- readonly startDate: {
1019
- readonly type: "string";
1020
- readonly description: "Start date of the invoice item";
1021
- readonly example: "2019-01-01T00:00:00.000Z";
1022
- };
1023
- readonly endDate: {
1024
- readonly type: "string";
1025
- readonly description: "End date of the invoice item";
1026
- readonly example: "2019-01-01T00:00:00.000Z";
1027
- };
1028
- readonly amount: {
1029
- readonly type: "number";
1030
- readonly format: "float";
1031
- readonly description: "Amount of the invoice item";
1032
- readonly example: 100;
1033
- };
1034
- readonly rate: {
1035
- readonly type: "number";
1036
- readonly format: "float";
1037
- readonly description: "Rate of the invoice item";
1038
- readonly example: 100;
1039
- };
1040
- readonly currency: {
1041
- readonly type: "string";
1042
- readonly description: "Currency of the invoice item";
1043
- readonly example: "USD";
1044
- 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"];
1045
- };
1046
- readonly quantity: {
1047
- readonly type: "number";
1048
- readonly format: "float";
1049
- readonly description: "Quantity of the invoice item";
1050
- readonly example: 1;
1051
- };
1052
- readonly itemDetails: {
1053
- readonly type: "string";
1054
- readonly description: "Details of the invoice item";
1055
- readonly example: "Details of the invoice item";
1056
- };
1057
- readonly catalogEffectiveDate: {
1058
- readonly type: "string";
1059
- readonly description: "Effective date of the catalog";
1060
- readonly example: "2019-01-01T00:00:00.000Z";
1061
- };
1062
- readonly childItems: {
1063
- readonly type: "array";
1064
- readonly items: {
1065
- readonly oneOf: readonly [{
1066
- readonly type: "array";
1067
- }, {
1068
- readonly type: "boolean";
1069
- }, {
1070
- readonly type: "number";
1071
- }, {
1072
- readonly type: "object";
1073
- readonly additionalProperties: true;
1074
- }, {
1075
- readonly type: "string";
1076
- }];
1077
- };
1078
- readonly description: "Child items of the invoice item";
1079
- };
1080
- };
1081
- readonly additionalProperties: false;
1082
- };
1083
- readonly description: "Items of the invoice";
1330
+ readonly description: "One entry per invoice charged, oldest first.";
1084
1331
  };
1085
1332
  };
1333
+ readonly required: readonly ["code", "message", "results"];
1086
1334
  readonly additionalProperties: false;
1087
1335
  };
1088
- export declare const MarketplaceListingSchema: {
1336
+ export declare const InvoiceSchema: {
1089
1337
  readonly type: "object";
1090
1338
  readonly properties: {
1091
1339
  readonly id: {
1092
1340
  readonly type: "string";
1093
- readonly maxLength: 63;
1094
- readonly minLength: 1;
1095
- readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
1096
- readonly description: "Id of the chart listing";
1097
- readonly example: "portworx-enterprise-disaster-recovery-baremetal";
1341
+ readonly description: "Unique identifier of the invoice.";
1342
+ readonly example: "in_1234567890xCrwxghOTj1234";
1098
1343
  };
1099
- readonly name: {
1344
+ readonly number: {
1100
1345
  readonly type: "string";
1101
- readonly description: "Name of the chart listing";
1102
- readonly example: "Portworx Enterprise + Disaster Recovery - Baremetal";
1103
1346
  };
1104
- readonly developer: {
1347
+ readonly status: {
1105
1348
  readonly type: "string";
1106
- readonly description: "Author of the chart listing";
1107
- readonly example: "Portworx";
1349
+ readonly description: "Status of the invoice";
1350
+ readonly example: "paid";
1108
1351
  };
1109
- readonly description: {
1110
- readonly type: "string";
1111
- readonly description: "Short description of the chart listing";
1112
- readonly example: "Run Kubernetes with unmatched scalability, availability, and self-service access to any storage";
1352
+ readonly total: {
1353
+ readonly type: "number";
1354
+ readonly format: "float";
1355
+ readonly description: "Total amount of the invoice";
1356
+ readonly example: 100;
1113
1357
  };
1114
- readonly logoUrl: {
1358
+ readonly currency: {
1115
1359
  readonly type: "string";
1116
- readonly description: "Logo of the chart listing";
1117
- readonly example: "https://portworx.com/wp-content/themes/portworx/assets/images/header/portworx-logo.png";
1360
+ readonly description: "Currency of the invoice";
1361
+ readonly example: "usd";
1118
1362
  };
1119
- readonly longDescription: {
1363
+ readonly created: {
1120
1364
  readonly type: "string";
1121
- readonly description: "Long description of the chart listing";
1122
- readonly example: "Portworx-Enterprise is the complete multi-cloud ready Kubernetes storage platform for running mission-critical apps in production....";
1365
+ readonly format: "date-time";
1366
+ readonly description: "Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.";
1367
+ readonly example: "2023-12-20T13:53:32.000Z";
1123
1368
  };
1124
- readonly categories: {
1125
- readonly type: "array";
1126
- readonly items: {
1127
- readonly type: "string";
1128
- readonly example: "AI & Machine Learning";
1129
- };
1130
- readonly description: "Tags of the chart";
1369
+ readonly period_start: {
1370
+ readonly type: "string";
1371
+ readonly format: "date-time";
1372
+ readonly description: "Billing period start timestamp. ISO 8601 date string in the UTC timezone.";
1373
+ readonly example: "2023-12-20T13:53:32.000Z";
1131
1374
  };
1132
- readonly version_channels: {
1133
- readonly type: "array";
1134
- readonly items: {
1135
- readonly type: "string";
1136
- readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
1137
- readonly description: "Version of the chart.";
1138
- readonly example: "2.x.x-cfke.x";
1139
- };
1375
+ readonly period_end: {
1376
+ readonly type: "string";
1377
+ readonly format: "date-time";
1378
+ readonly description: "Billing period end timestamp. ISO 8601 date string in the UTC timezone.";
1379
+ readonly example: "2023-12-20T13:53:32.000Z";
1140
1380
  };
1141
- readonly value_schemas: {
1142
- readonly type: "array";
1143
- readonly items: {
1144
- readonly type: "object";
1145
- readonly properties: {
1146
- readonly version: {
1147
- readonly type: "string";
1148
- readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
1149
- readonly description: "Version of the chart.";
1150
- readonly example: "2.1.1-cfke.123";
1151
- };
1152
- readonly schema: {
1153
- readonly type: "string";
1154
- readonly description: "Schema of the chart values. JSON Schema as string";
1155
- };
1156
- readonly placeholder: {
1157
- readonly type: "string";
1158
- readonly description: "Schema of the chart values";
1159
- readonly example: "foo: 1\nbar: example";
1160
- };
1161
- };
1162
- readonly required: readonly ["version", "schema", "placeholder"];
1163
- readonly additionalProperties: false;
1164
- };
1381
+ readonly invoice_pdf: {
1382
+ readonly type: "string";
1165
1383
  };
1166
1384
  };
1167
- readonly required: readonly ["id", "name", "developer", "description", "logoUrl", "longDescription", "categories", "version_channels", "value_schemas"];
1385
+ readonly required: readonly ["created", "period_start", "period_end"];
1168
1386
  readonly additionalProperties: false;
1169
1387
  };
1170
1388
  export declare const OrganizationCreateInputSchema: {
1171
1389
  readonly type: "object";
1172
1390
  readonly properties: {
1391
+ readonly type: {
1392
+ readonly type: "string";
1393
+ readonly description: "Type of the organization. `business` for legal entities, `personal` for individuals.";
1394
+ readonly example: "business";
1395
+ readonly enum: readonly ["business", "personal"];
1396
+ };
1173
1397
  readonly email: {
1174
1398
  readonly type: "string";
1175
1399
  readonly format: "email";
@@ -1178,11 +1402,13 @@ export declare const OrganizationCreateInputSchema: {
1178
1402
  };
1179
1403
  readonly first_name: {
1180
1404
  readonly type: "string";
1405
+ readonly minLength: 1;
1181
1406
  readonly description: "First name of the billing contact person.";
1182
1407
  readonly example: "John";
1183
1408
  };
1184
1409
  readonly last_name: {
1185
1410
  readonly type: "string";
1411
+ readonly minLength: 1;
1186
1412
  readonly description: "Last name of the billing contact person.";
1187
1413
  readonly example: "Doe";
1188
1414
  };
@@ -1200,7 +1426,19 @@ export declare const OrganizationCreateInputSchema: {
1200
1426
  readonly description: "Password for the root account. Must be at least 8 characters long and contain at least one uppercase letter, one lowercase letter, one number and one special character.";
1201
1427
  };
1202
1428
  };
1203
- readonly required: readonly ["email", "first_name", "last_name", "company_name", "password"];
1429
+ readonly required: readonly ["type", "email", "first_name", "last_name", "company_name", "password"];
1430
+ readonly additionalProperties: false;
1431
+ };
1432
+ export declare const OrganizationCreateOutputSchema: {
1433
+ readonly type: "object";
1434
+ readonly properties: {
1435
+ readonly id: {
1436
+ readonly type: "string";
1437
+ readonly description: "Unique identifier of the newly created organization. Generated by the API and safe to use for client-side tracking immediately.";
1438
+ readonly example: "organization-id";
1439
+ };
1440
+ };
1441
+ readonly required: readonly ["id"];
1204
1442
  readonly additionalProperties: false;
1205
1443
  };
1206
1444
  export declare const OrganizationSchema: {
@@ -1219,6 +1457,12 @@ export declare const OrganizationSchema: {
1219
1457
  readonly description: "Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.";
1220
1458
  readonly example: "ACME Corp.";
1221
1459
  };
1460
+ readonly type: {
1461
+ readonly type: "string";
1462
+ readonly description: "Type of the organization. `business` for legal entities, `personal` for individuals.";
1463
+ readonly example: "business";
1464
+ readonly enum: readonly ["business", "personal"];
1465
+ };
1222
1466
  readonly date_created: {
1223
1467
  readonly type: "string";
1224
1468
  readonly format: "date-time";
@@ -1250,6 +1494,17 @@ export declare const OrganizationSchema: {
1250
1494
  readonly description: "Available number of Pro clusters that can be created.";
1251
1495
  readonly example: 999;
1252
1496
  };
1497
+ readonly enterprise_clusters_max: {
1498
+ readonly type: "integer";
1499
+ readonly minimum: 0;
1500
+ readonly description: "Maximum number of Enterprise clusters that can be created.";
1501
+ readonly example: 999;
1502
+ };
1503
+ readonly enterprise_clusters_available: {
1504
+ readonly type: "integer";
1505
+ readonly description: "Available number of Enterprise clusters that can be created.";
1506
+ readonly example: 999;
1507
+ };
1253
1508
  readonly fleets_max: {
1254
1509
  readonly type: "integer";
1255
1510
  readonly minimum: 0;
@@ -1269,7 +1524,7 @@ export declare const OrganizationSchema: {
1269
1524
  readonly type: "array";
1270
1525
  readonly items: {
1271
1526
  readonly type: "string";
1272
- readonly example: "northamerica-central-1";
1527
+ readonly example: "northamerica-central-1a";
1273
1528
  };
1274
1529
  readonly minItems: 1;
1275
1530
  readonly description: "List of Cloudfleet control plane regions available for the organization.";
@@ -1282,12 +1537,12 @@ export declare const OrganizationSchema: {
1282
1537
  readonly id: {
1283
1538
  readonly type: "string";
1284
1539
  readonly description: "Id of the control plane version. Used in API calls.";
1285
- readonly example: "1.29.x-cfke.x";
1540
+ readonly example: "1.33.x-cfke.x";
1286
1541
  };
1287
1542
  readonly label: {
1288
1543
  readonly type: "string";
1289
1544
  readonly description: "Label of the control plane version. Used in frontent UI.";
1290
- readonly example: "1.29.x (Always latest 1.29 patch version)";
1545
+ readonly example: "1.33.x (Always latest 1.33 patch version)";
1291
1546
  };
1292
1547
  };
1293
1548
  readonly required: readonly ["id", "label"];
@@ -1296,8 +1551,14 @@ export declare const OrganizationSchema: {
1296
1551
  readonly minItems: 1;
1297
1552
  readonly description: "List of CFKE control plane versions available for the organization.";
1298
1553
  };
1554
+ readonly cfcr_storage_gb: {
1555
+ readonly type: "integer";
1556
+ readonly minimum: -1;
1557
+ readonly description: "Organization-level maximum CFCR storage volume in GB. -1 means no limit.";
1558
+ readonly example: 500;
1559
+ };
1299
1560
  };
1300
- readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions"];
1561
+ readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "enterprise_clusters_max", "enterprise_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions", "cfcr_storage_gb"];
1301
1562
  readonly additionalProperties: false;
1302
1563
  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.";
1303
1564
  };
@@ -1306,8 +1567,14 @@ export declare const OrganizationSchema: {
1306
1567
  readonly description: "Status of the organization. Can be `active` or `closed`, or `suspended`.";
1307
1568
  readonly enum: readonly ["active", "closed", "suspended"];
1308
1569
  };
1570
+ readonly verification: {
1571
+ readonly type: "string";
1572
+ readonly description: "Verification status of the organization, which determines the assigned quota. `none` when billing information is incomplete, `submitted` when billing information is complete but the organization is not yet verified, `verified` when the organization is verified.";
1573
+ readonly example: "verified";
1574
+ readonly enum: readonly ["none", "submitted", "verified"];
1575
+ };
1309
1576
  };
1310
- readonly required: readonly ["id", "date_created", "quota", "status"];
1577
+ readonly required: readonly ["id", "type", "date_created", "quota", "status", "verification"];
1311
1578
  readonly additionalProperties: false;
1312
1579
  };
1313
1580
  export declare const PaymentMethodSchema: {
@@ -1315,26 +1582,19 @@ export declare const PaymentMethodSchema: {
1315
1582
  readonly properties: {
1316
1583
  readonly id: {
1317
1584
  readonly type: "string";
1318
- readonly format: "uuid";
1319
- readonly description: "Unique identifier of the organization. UUID v4 string in canonical form.";
1320
- readonly example: "e94d30ec-a2dd-4dcb-832c-ac2be144ba91";
1321
- };
1322
- readonly setup: {
1323
- readonly type: "boolean";
1324
- readonly description: "Whether organization payment method was set up and ready to use for payments.";
1325
- readonly example: true;
1585
+ readonly description: "Payment method identifier. Stripe payment method id for cards/SEPA; the constant `bank_transfer` for the invoice/bank-transfer method. Used to set as default or delete the payment method.";
1586
+ readonly example: "pm_1MtwBwLkdIwHu7ix28a3tqPa";
1326
1587
  };
1327
1588
  readonly type: {
1328
1589
  readonly type: "string";
1329
- readonly nullable: true;
1330
- readonly description: "Payment method type type. Only `card` payments supported at the moment.";
1590
+ readonly description: "Payment method type. `card`, `sepa_debit` for SEPA Direct Debit (business accounts only), or `bank_transfer` for paying invoices by bank transfer.";
1331
1591
  readonly example: "card";
1332
- readonly enum: readonly ["card"];
1592
+ readonly enum: readonly ["card", "sepa_debit", "bank_transfer"];
1333
1593
  };
1334
1594
  readonly last4: {
1335
1595
  readonly type: "string";
1336
1596
  readonly nullable: true;
1337
- readonly description: "Last 4 digits of the payment card number.";
1597
+ readonly description: "Last 4 digits of the payment card number, of the bank account (IBAN) for SEPA Direct Debit, or of the destination IBAN for bank transfer.";
1338
1598
  readonly example: "4242";
1339
1599
  };
1340
1600
  readonly exp_month: {
@@ -1342,187 +1602,921 @@ export declare const PaymentMethodSchema: {
1342
1602
  readonly minimum: 1;
1343
1603
  readonly maximum: 12;
1344
1604
  readonly nullable: true;
1345
- readonly description: "Two-digit number representing the card's expiration month.";
1346
- readonly example: "12";
1605
+ readonly description: "Two-digit number representing the card's expiration month. Null for SEPA Direct Debit and bank transfer.";
1606
+ readonly example: 12;
1347
1607
  };
1348
1608
  readonly exp_year: {
1349
1609
  readonly type: "integer";
1350
- readonly minimum: 2024;
1351
1610
  readonly nullable: true;
1352
- readonly description: "Four-digit number representing the card's expiration year.";
1353
- readonly example: "2028";
1611
+ readonly description: "Four-digit number representing the card's expiration year. May be in the past for an expired card still on file. Null for SEPA Direct Debit and bank transfer.";
1612
+ readonly example: 2028;
1354
1613
  };
1355
1614
  readonly brand: {
1356
1615
  readonly type: "string";
1357
1616
  readonly nullable: true;
1358
- readonly description: "Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.";
1617
+ readonly description: "Payment card brand as reported by Stripe, e.g. `visa`, `mastercard`, `amex`, `cartes_bancaires`, or `unknown`. Null for SEPA Direct Debit and bank transfer.";
1359
1618
  readonly example: "visa";
1360
- readonly enum: readonly ["amex", "diners", "discover", "eftpos_au", "jcb", "mastercard", "unionpay", "visa", "unknown"];
1361
1619
  };
1362
- };
1363
- readonly required: readonly ["id", "setup", "type", "last4", "exp_month", "exp_year", "brand"];
1364
- readonly additionalProperties: false;
1365
- };
1366
- export declare const TokenCreateInputSchema: {
1367
- readonly type: "object";
1368
- readonly properties: {
1369
- readonly name: {
1620
+ readonly iban: {
1370
1621
  readonly type: "string";
1371
- readonly maxLength: 63;
1372
- readonly minLength: 1;
1373
- readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
1374
- readonly description: "Human readable access token name.";
1375
- readonly example: "deployment-token";
1622
+ readonly nullable: true;
1623
+ readonly description: "Full destination IBAN to send bank transfers to. Set only for `bank_transfer`; null otherwise. This is Cloudfleet's virtual receiving account, shown in full so the customer can pay into it.";
1624
+ readonly example: "DE11243015658023127510";
1376
1625
  };
1377
- readonly role: {
1626
+ readonly bic: {
1378
1627
  readonly type: "string";
1379
- readonly description: "Role assumed by the token.";
1380
- readonly example: "User";
1381
- readonly enum: readonly ["Administrator", "User"];
1628
+ readonly nullable: true;
1629
+ readonly description: "BIC/SWIFT of the destination bank for bank transfers. Set only for `bank_transfer`; null otherwise.";
1630
+ readonly example: "SOGEDEFFXXX";
1631
+ };
1632
+ readonly account_holder_name: {
1633
+ readonly type: "string";
1634
+ readonly nullable: true;
1635
+ readonly description: "Account holder name of the destination bank account for bank transfers. Set only for `bank_transfer`; null otherwise.";
1636
+ readonly example: "Cloudfleet GmbH";
1637
+ };
1638
+ readonly is_default: {
1639
+ readonly type: "boolean";
1640
+ readonly description: "Whether this payment method is the default used for invoices and active subscriptions. Always false for `bank_transfer` (it cannot be a Stripe default payment method).";
1641
+ readonly example: true;
1382
1642
  };
1383
1643
  };
1384
- readonly required: readonly ["name", "role"];
1644
+ readonly required: readonly ["id", "type", "last4", "exp_month", "exp_year", "brand", "iban", "bic", "account_holder_name", "is_default"];
1385
1645
  readonly additionalProperties: false;
1386
1646
  };
1387
- export declare const TokenSchema: {
1647
+ export declare const PlatformQuotaSchema: {
1388
1648
  readonly type: "object";
1389
1649
  readonly properties: {
1390
- readonly name: {
1391
- readonly type: "string";
1392
- readonly maxLength: 63;
1393
- readonly minLength: 1;
1394
- readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
1395
- readonly description: "Human readable access token name.";
1396
- readonly example: "deployment-token";
1650
+ readonly basic_clusters_max: {
1651
+ readonly type: "integer";
1652
+ readonly minimum: 0;
1653
+ readonly description: "Maximum number of Basic clusters that can be created.";
1654
+ readonly example: 999;
1397
1655
  };
1398
- readonly role: {
1399
- readonly type: "string";
1400
- readonly description: "Role assumed by the token.";
1401
- readonly example: "User";
1402
- readonly enum: readonly ["Administrator", "User"];
1656
+ readonly basic_clusters_available: {
1657
+ readonly type: "integer";
1658
+ readonly description: "Available number of Basic clusters that can be created.";
1659
+ readonly example: 999;
1403
1660
  };
1404
- readonly id: {
1405
- readonly type: "string";
1406
- readonly description: "Generated unique identifier of the access token.";
1407
- readonly example: "7kUZnH7nnKUFfvc4NK2KQF";
1661
+ readonly pro_clusters_max: {
1662
+ readonly type: "integer";
1663
+ readonly minimum: 0;
1664
+ readonly description: "Maximum number of Pro clusters that can be created.";
1665
+ readonly example: 999;
1408
1666
  };
1409
- readonly secret: {
1410
- readonly type: "string";
1411
- readonly description: "Access token secret. Unmasked only during creation.";
1412
- readonly example: "vq4SCMBsrgmBxbax80WDXuXoFNZAckI8";
1667
+ readonly pro_clusters_available: {
1668
+ readonly type: "integer";
1669
+ readonly description: "Available number of Pro clusters that can be created.";
1670
+ readonly example: 999;
1413
1671
  };
1414
- readonly date_created: {
1415
- readonly type: "string";
1416
- readonly format: "date-time";
1417
- readonly description: "Creation date of the access token. ISO 8601 date string in UTC timezone";
1418
- readonly example: "2023-12-20T13:53:32.000Z";
1672
+ readonly enterprise_clusters_max: {
1673
+ readonly type: "integer";
1674
+ readonly minimum: 0;
1675
+ readonly description: "Maximum number of Enterprise clusters that can be created.";
1676
+ readonly example: 999;
1677
+ };
1678
+ readonly enterprise_clusters_available: {
1679
+ readonly type: "integer";
1680
+ readonly description: "Available number of Enterprise clusters that can be created.";
1681
+ readonly example: 999;
1682
+ };
1683
+ readonly fleets_max: {
1684
+ readonly type: "integer";
1685
+ readonly minimum: 0;
1686
+ readonly description: "Maximum number of fleets that can be created per cluster.";
1687
+ readonly example: 999;
1688
+ };
1689
+ readonly cluster_tiers: {
1690
+ readonly type: "array";
1691
+ readonly items: {
1692
+ readonly type: "string";
1693
+ readonly example: "basic";
1694
+ };
1695
+ readonly minItems: 0;
1696
+ readonly description: "List of Cloudfleet cluster tiers available for the organization.";
1697
+ };
1698
+ readonly regions: {
1699
+ readonly type: "array";
1700
+ readonly items: {
1701
+ readonly type: "string";
1702
+ readonly example: "northamerica-central-1a";
1703
+ };
1704
+ readonly minItems: 1;
1705
+ readonly description: "List of Cloudfleet control plane regions available for the organization.";
1706
+ };
1707
+ readonly versions: {
1708
+ readonly type: "array";
1709
+ readonly items: {
1710
+ readonly type: "object";
1711
+ readonly properties: {
1712
+ readonly id: {
1713
+ readonly type: "string";
1714
+ readonly description: "Id of the control plane version. Used in API calls.";
1715
+ readonly example: "1.33.x-cfke.x";
1716
+ };
1717
+ readonly label: {
1718
+ readonly type: "string";
1719
+ readonly description: "Label of the control plane version. Used in frontent UI.";
1720
+ readonly example: "1.33.x (Always latest 1.33 patch version)";
1721
+ };
1722
+ };
1723
+ readonly required: readonly ["id", "label"];
1724
+ readonly additionalProperties: false;
1725
+ };
1726
+ readonly minItems: 1;
1727
+ readonly description: "List of CFKE control plane versions available for the organization.";
1728
+ };
1729
+ readonly cfcr_storage_gb: {
1730
+ readonly type: "integer";
1731
+ readonly minimum: -1;
1732
+ readonly description: "Organization-level maximum CFCR storage volume in GB. -1 means no limit.";
1733
+ readonly example: 500;
1419
1734
  };
1420
1735
  };
1421
- readonly required: readonly ["name", "role", "date_created"];
1736
+ readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "enterprise_clusters_max", "enterprise_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions", "cfcr_storage_gb"];
1422
1737
  readonly additionalProperties: false;
1423
1738
  };
1424
- export declare const TokenUpdateInputSchema: {
1739
+ export declare const RegistryRepositorySchema: {
1425
1740
  readonly type: "object";
1426
1741
  readonly properties: {
1427
1742
  readonly name: {
1428
1743
  readonly type: "string";
1429
- readonly maxLength: 63;
1430
- readonly minLength: 1;
1431
- readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
1432
- readonly description: "Human readable access token name.";
1433
- readonly example: "deployment-token";
1744
+ readonly description: "Repository name.";
1745
+ readonly example: "my-app";
1434
1746
  };
1435
- readonly role: {
1747
+ readonly region: {
1436
1748
  readonly type: "string";
1437
- readonly description: "Role assumed by the token.";
1438
- readonly example: "User";
1439
- readonly enum: readonly ["Administrator", "User"];
1749
+ readonly description: "Registry region.";
1750
+ readonly example: "northamerica";
1751
+ };
1752
+ readonly uri: {
1753
+ readonly type: "string";
1754
+ readonly description: "Full URI of the repository.";
1755
+ readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app";
1440
1756
  };
1441
1757
  };
1758
+ readonly required: readonly ["name", "region", "uri"];
1442
1759
  readonly additionalProperties: false;
1443
1760
  };
1444
- export declare const UsageSchema: {
1761
+ export declare const RegistryRepositoryWithTagsSchema: {
1445
1762
  readonly type: "object";
1446
1763
  readonly properties: {
1447
- readonly hour: {
1448
- readonly type: "string";
1449
- readonly description: "Hour of the usage";
1450
- readonly example: "2019-01-01T00:00:00.000Z";
1451
- };
1452
- readonly cluster_id: {
1453
- readonly type: "string";
1454
- readonly format: "uuid";
1455
- readonly description: "Unique identifier of the kubernetes cluster. UUID v4 string in canonical form";
1456
- readonly example: "6b5439b1-923a-4f2b-a371-d554e5ea23fa";
1457
- };
1458
- readonly cluster_tier: {
1459
- readonly type: "string";
1460
- readonly description: "Tier of the cluster.";
1461
- readonly example: "pro";
1462
- readonly enum: readonly ["basic", "pro", ""];
1463
- };
1464
- readonly product: {
1764
+ readonly name: {
1465
1765
  readonly type: "string";
1466
- readonly description: "The product the usage is associated with";
1467
- readonly example: "cfke_controlplane";
1468
- readonly enum: readonly ["cfke_controlplane", "cfke_connected_nodes", "infra_compute", "infra_storage", "infra_loadbalancing", "infra_traffic", "cfcr_storage"];
1766
+ readonly description: "Repository name.";
1767
+ readonly example: "my-app";
1469
1768
  };
1470
- readonly node_name: {
1769
+ readonly region: {
1471
1770
  readonly type: "string";
1472
- readonly description: "Name of the Kubernetes node";
1473
- readonly example: "flexible-moth-956037384";
1771
+ readonly description: "Registry region.";
1772
+ readonly example: "northamerica";
1474
1773
  };
1475
- readonly sku: {
1774
+ readonly uri: {
1476
1775
  readonly type: "string";
1477
- readonly description: "SKU of the Kubernetes node";
1478
- readonly example: "GCP-NORTHAMERICA-NORTHEAST1-A-G1-SMALL-SPOT";
1776
+ readonly description: "Full URI of the repository.";
1777
+ readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app";
1479
1778
  };
1480
- readonly cpu: {
1481
- readonly anyOf: readonly [{
1482
- readonly type: "number";
1483
- readonly format: "float";
1484
- readonly description: "CPU core count of the node";
1485
- readonly example: 4;
1486
- }, {
1779
+ readonly tags: {
1780
+ readonly type: "array";
1781
+ readonly items: {
1782
+ readonly type: "object";
1783
+ readonly properties: {
1784
+ readonly name: {
1785
+ readonly type: "string";
1786
+ readonly description: "Tag name.";
1787
+ readonly example: "latest";
1788
+ };
1789
+ readonly size: {
1790
+ readonly type: "number";
1791
+ readonly format: "float";
1792
+ readonly description: "Size of the tag in bytes.";
1793
+ readonly example: 123456789;
1794
+ };
1795
+ readonly mediaType: {
1796
+ readonly type: "string";
1797
+ readonly description: "Media type of the manifest.";
1798
+ readonly example: "application/vnd.docker.distribution.manifest.v2+json";
1799
+ };
1800
+ readonly platforms: {
1801
+ readonly type: "array";
1802
+ readonly items: {
1803
+ readonly type: "string";
1804
+ };
1805
+ readonly description: "Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).";
1806
+ readonly example: readonly ["linux/amd64", "linux/arm64"];
1807
+ };
1808
+ };
1809
+ readonly required: readonly ["name", "size"];
1810
+ readonly additionalProperties: false;
1811
+ };
1812
+ readonly description: "Array of tags in the repository.";
1813
+ };
1814
+ readonly totalSize: {
1815
+ readonly type: "number";
1816
+ readonly format: "float";
1817
+ readonly description: "Total size of all tags in the repository in bytes.";
1818
+ readonly example: 987654321;
1819
+ };
1820
+ };
1821
+ readonly required: readonly ["name", "region", "uri", "tags", "totalSize"];
1822
+ readonly additionalProperties: false;
1823
+ };
1824
+ export declare const RegistryTagSchema: {
1825
+ readonly type: "object";
1826
+ readonly properties: {
1827
+ readonly name: {
1828
+ readonly type: "string";
1829
+ readonly description: "Tag name.";
1830
+ readonly example: "latest";
1831
+ };
1832
+ readonly digest: {
1833
+ readonly type: "string";
1834
+ readonly description: "Manifest digest for pulling by digest.";
1835
+ readonly example: "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890";
1836
+ };
1837
+ readonly mediaType: {
1838
+ readonly type: "string";
1839
+ readonly description: "Media type of the manifest.";
1840
+ readonly example: "application/vnd.docker.distribution.manifest.v2+json";
1841
+ };
1842
+ readonly config: {
1843
+ readonly type: "object";
1844
+ readonly properties: {
1845
+ readonly size: {
1846
+ readonly type: "number";
1847
+ readonly format: "float";
1848
+ readonly description: "Size of the config in bytes.";
1849
+ readonly example: 1234;
1850
+ };
1851
+ };
1852
+ readonly required: readonly ["size"];
1853
+ readonly additionalProperties: false;
1854
+ readonly description: "Manifest config metadata.";
1855
+ };
1856
+ readonly layers: {
1857
+ readonly type: "array";
1858
+ readonly items: {
1859
+ readonly type: "object";
1860
+ readonly properties: {
1861
+ readonly digest: {
1862
+ readonly type: "string";
1863
+ readonly description: "Digest of the layer.";
1864
+ readonly example: "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890";
1865
+ };
1866
+ readonly size: {
1867
+ readonly type: "number";
1868
+ readonly format: "float";
1869
+ readonly description: "Size of the layer in bytes.";
1870
+ readonly example: 5678;
1871
+ };
1872
+ };
1873
+ readonly required: readonly ["size"];
1874
+ readonly additionalProperties: false;
1875
+ };
1876
+ readonly description: "Array of layer metadata.";
1877
+ };
1878
+ readonly manifests: {
1879
+ readonly type: "array";
1880
+ readonly items: {
1881
+ readonly type: "object";
1882
+ readonly properties: {
1883
+ readonly digest: {
1884
+ readonly type: "string";
1885
+ readonly description: "Digest of the manifest.";
1886
+ readonly example: "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890";
1887
+ };
1888
+ readonly platform: {
1889
+ readonly type: "object";
1890
+ readonly properties: {
1891
+ readonly architecture: {
1892
+ readonly type: "string";
1893
+ readonly description: "Architecture of the platform.";
1894
+ readonly example: "amd64";
1895
+ };
1896
+ readonly os: {
1897
+ readonly type: "string";
1898
+ readonly description: "Operating system of the platform.";
1899
+ readonly example: "linux";
1900
+ };
1901
+ readonly variant: {
1902
+ readonly type: "string";
1903
+ readonly description: "Variant of the platform (e.g., v7, v8 for ARM).";
1904
+ readonly example: "v8";
1905
+ };
1906
+ };
1907
+ readonly required: readonly ["architecture", "os"];
1908
+ readonly additionalProperties: false;
1909
+ readonly description: "Platform information for the manifest.";
1910
+ };
1911
+ readonly layers: {
1912
+ readonly type: "array";
1913
+ readonly items: {
1914
+ readonly type: "object";
1915
+ readonly properties: {
1916
+ readonly digest: {
1917
+ readonly type: "string";
1918
+ readonly description: "Digest of the layer.";
1919
+ readonly example: "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890";
1920
+ };
1921
+ readonly size: {
1922
+ readonly type: "number";
1923
+ readonly format: "float";
1924
+ readonly description: "Size of the layer in bytes.";
1925
+ readonly example: 5678;
1926
+ };
1927
+ };
1928
+ readonly required: readonly ["size"];
1929
+ readonly additionalProperties: false;
1930
+ };
1931
+ readonly description: "Layers for this platform.";
1932
+ };
1933
+ readonly size: {
1934
+ readonly type: "number";
1935
+ readonly format: "float";
1936
+ readonly description: "Total size of this platform manifest in bytes.";
1937
+ readonly example: 12345678;
1938
+ };
1939
+ };
1940
+ readonly required: readonly ["digest"];
1941
+ readonly additionalProperties: false;
1942
+ };
1943
+ readonly description: "Array of manifests for multi-arch images.";
1944
+ };
1945
+ readonly size: {
1946
+ readonly type: "number";
1947
+ readonly format: "float";
1948
+ readonly description: "Total size of the tag in bytes.";
1949
+ readonly example: 123456789;
1950
+ };
1951
+ readonly region: {
1952
+ readonly type: "string";
1953
+ readonly description: "Registry region.";
1954
+ readonly example: "northamerica";
1955
+ };
1956
+ readonly repository: {
1957
+ readonly type: "string";
1958
+ readonly description: "Repository name.";
1959
+ readonly example: "my-app";
1960
+ };
1961
+ readonly uri: {
1962
+ readonly type: "string";
1963
+ readonly description: "Full URI of the tag.";
1964
+ readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app:latest";
1965
+ };
1966
+ };
1967
+ readonly required: readonly ["name", "digest", "size", "region", "repository", "uri"];
1968
+ readonly additionalProperties: false;
1969
+ };
1970
+ export declare const RoadmapItemCreateInputSchema: {
1971
+ readonly type: "object";
1972
+ readonly properties: {
1973
+ readonly text: {
1974
+ readonly type: "string";
1975
+ readonly maxLength: 500;
1976
+ readonly minLength: 1;
1977
+ readonly description: "Your suggestion in one or two sentences. It is reviewed before it appears on the roadmap.";
1978
+ readonly example: "Support for ARM nodes on Hetzner.";
1979
+ };
1980
+ };
1981
+ readonly required: readonly ["text"];
1982
+ readonly additionalProperties: false;
1983
+ };
1984
+ export declare const RoadmapItemSchema: {
1985
+ readonly type: "object";
1986
+ readonly properties: {
1987
+ readonly id: {
1988
+ readonly type: "string";
1989
+ readonly description: "Unique identifier of the roadmap item (Mongo ObjectId).";
1990
+ readonly example: "60c72b2f9f1b2c001f8e4d3a";
1991
+ };
1992
+ readonly text: {
1993
+ readonly type: "string";
1994
+ readonly description: "Short description of the roadmap item.";
1995
+ readonly example: "Support for ARM nodes on Hetzner.";
1996
+ };
1997
+ readonly vote: {
1998
+ readonly type: "integer";
1999
+ readonly nullable: true;
2000
+ readonly description: "The caller's vote on this item: -1 (down), 1 (up), 2 (double up), or null if the caller has not voted.";
2001
+ readonly example: 1;
2002
+ readonly enum: readonly [-1, 1, 2];
2003
+ };
2004
+ };
2005
+ readonly required: readonly ["id", "text", "vote"];
2006
+ readonly additionalProperties: false;
2007
+ };
2008
+ export declare const RoadmapVoteInputSchema: {
2009
+ readonly type: "object";
2010
+ readonly properties: {
2011
+ readonly value: {
2012
+ readonly type: "integer";
2013
+ readonly description: "Vote value: -1 (down), 1 (up), or 2 (double up).";
2014
+ readonly example: 1;
2015
+ readonly enum: readonly [-1, 1, 2];
2016
+ };
2017
+ };
2018
+ readonly required: readonly ["value"];
2019
+ readonly additionalProperties: false;
2020
+ };
2021
+ export declare const TicketAttachmentSchema: {
2022
+ readonly type: "object";
2023
+ readonly properties: {
2024
+ readonly id: {
2025
+ readonly type: "string";
2026
+ readonly description: "Unique identifier of the attachment (Mongo ObjectId).";
2027
+ readonly example: "60c72b2f9f1b2c001f8e4d3c";
2028
+ };
2029
+ readonly filename: {
2030
+ readonly type: "string";
2031
+ readonly description: "Original filename as uploaded.";
2032
+ readonly example: "debug.log";
2033
+ };
2034
+ readonly content_type: {
2035
+ readonly type: "string";
2036
+ readonly description: "MIME content type of the attachment.";
2037
+ readonly example: "text/plain";
2038
+ };
2039
+ readonly size: {
2040
+ readonly type: "integer";
2041
+ readonly description: "Size of the attachment in bytes.";
2042
+ readonly example: 12345;
2043
+ };
2044
+ };
2045
+ readonly required: readonly ["id", "filename", "content_type", "size"];
2046
+ readonly additionalProperties: false;
2047
+ };
2048
+ export declare const TicketCreateInputSchema: {
2049
+ readonly type: "object";
2050
+ readonly properties: {
2051
+ readonly category: {
2052
+ readonly type: "string";
2053
+ readonly description: "Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.";
2054
+ readonly example: "technical";
2055
+ readonly enum: readonly ["billing", "technical", "general"];
2056
+ };
2057
+ readonly body: {
2058
+ readonly type: "string";
2059
+ readonly maxLength: 50000;
2060
+ readonly minLength: 1;
2061
+ readonly pattern: "\\S";
2062
+ readonly description: "Initial message body in markdown. There is no separate subject — the first message body is the description.";
2063
+ readonly example: "My cluster cannot reach the registry. Logs attached.";
2064
+ };
2065
+ readonly properties: {
2066
+ readonly type: "object";
2067
+ readonly additionalProperties: true;
2068
+ readonly description: "Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).";
2069
+ readonly example: {
2070
+ readonly subcategory: "cluster-question";
2071
+ readonly cluster_id: "60c72b2f9f1b2c001f8e4d3a";
2072
+ };
2073
+ };
2074
+ readonly grant_support_access: {
2075
+ readonly type: "boolean";
2076
+ readonly description: "Grant Cloudfleet support staff access to the organization's resources while the ticket is open. Access cannot be revoked; it ends when the ticket is closed.";
2077
+ readonly example: true;
2078
+ };
2079
+ };
2080
+ readonly required: readonly ["category", "body"];
2081
+ readonly additionalProperties: false;
2082
+ };
2083
+ export declare const TicketMessageInputSchema: {
2084
+ readonly type: "object";
2085
+ readonly properties: {
2086
+ readonly body: {
2087
+ readonly type: "string";
2088
+ readonly maxLength: 50000;
2089
+ readonly minLength: 1;
2090
+ readonly pattern: "\\S";
2091
+ readonly description: "Reply body in markdown.";
2092
+ readonly example: "Thanks — that resolved it on my side.";
2093
+ };
2094
+ };
2095
+ readonly required: readonly ["body"];
2096
+ readonly additionalProperties: false;
2097
+ };
2098
+ export declare const TicketMessageSchema: {
2099
+ readonly type: "object";
2100
+ readonly properties: {
2101
+ readonly id: {
2102
+ readonly type: "string";
2103
+ readonly description: "Unique identifier of the message (Mongo ObjectId).";
2104
+ readonly example: "60c72b2f9f1b2c001f8e4d3b";
2105
+ };
2106
+ readonly type: {
2107
+ readonly type: "string";
2108
+ readonly description: "Message type. Internal notes are filtered out of customer-facing responses.";
2109
+ readonly example: "customer_reply";
2110
+ readonly enum: readonly ["customer_reply", "agent_reply"];
2111
+ };
2112
+ readonly body: {
2113
+ readonly type: "string";
2114
+ readonly description: "Message body in markdown.";
2115
+ readonly example: "Thanks — that resolved it on my side.";
2116
+ };
2117
+ readonly author_first_name: {
2118
+ readonly type: "string";
2119
+ readonly nullable: true;
2120
+ readonly description: "First name of the author. Null when not provided.";
2121
+ readonly example: "Jane";
2122
+ };
2123
+ readonly author_last_name: {
2124
+ readonly type: "string";
2125
+ readonly nullable: true;
2126
+ readonly description: "Last name of the author. Null when not provided.";
2127
+ readonly example: "Doe";
2128
+ };
2129
+ readonly attachments: {
2130
+ readonly type: "array";
2131
+ readonly items: {
2132
+ readonly type: "object";
2133
+ readonly properties: {
2134
+ readonly id: {
2135
+ readonly type: "string";
2136
+ readonly description: "Unique identifier of the attachment (Mongo ObjectId).";
2137
+ readonly example: "60c72b2f9f1b2c001f8e4d3c";
2138
+ };
2139
+ readonly filename: {
2140
+ readonly type: "string";
2141
+ readonly description: "Original filename as uploaded.";
2142
+ readonly example: "debug.log";
2143
+ };
2144
+ readonly content_type: {
2145
+ readonly type: "string";
2146
+ readonly description: "MIME content type of the attachment.";
2147
+ readonly example: "text/plain";
2148
+ };
2149
+ readonly size: {
2150
+ readonly type: "integer";
2151
+ readonly description: "Size of the attachment in bytes.";
2152
+ readonly example: 12345;
2153
+ };
2154
+ };
2155
+ readonly required: readonly ["id", "filename", "content_type", "size"];
2156
+ readonly additionalProperties: false;
2157
+ };
2158
+ readonly description: "Attachments associated with this message.";
2159
+ readonly example: readonly [];
2160
+ };
2161
+ readonly date_created: {
2162
+ readonly type: "string";
2163
+ readonly format: "date-time";
2164
+ readonly description: "Creation date of the message. ISO 8601 UTC.";
2165
+ readonly example: "2026-05-11T16:08:14.338Z";
2166
+ };
2167
+ };
2168
+ readonly required: readonly ["id", "type", "body", "date_created"];
2169
+ readonly additionalProperties: false;
2170
+ };
2171
+ export declare const TicketSchema: {
2172
+ readonly type: "object";
2173
+ readonly properties: {
2174
+ readonly id: {
2175
+ readonly type: "string";
2176
+ readonly description: "Unique identifier of the ticket (Mongo ObjectId).";
2177
+ readonly example: "60c72b2f9f1b2c001f8e4d3a";
2178
+ };
2179
+ readonly status: {
2180
+ readonly type: "string";
2181
+ readonly description: "Current state of the ticket.";
2182
+ readonly example: "waiting_on_us";
2183
+ readonly enum: readonly ["waiting_on_us", "waiting_on_user", "closed"];
2184
+ };
2185
+ readonly category: {
2186
+ readonly type: "string";
2187
+ readonly description: "Ticket category.";
2188
+ readonly example: "technical";
2189
+ readonly enum: readonly ["billing", "technical", "general"];
2190
+ };
2191
+ readonly summary: {
2192
+ readonly type: "string";
2193
+ readonly description: "First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.";
2194
+ readonly example: "My cluster cannot reach the registry. Logs attached.";
2195
+ };
2196
+ readonly support_access_granted: {
2197
+ readonly type: "boolean";
2198
+ readonly description: "Whether Cloudfleet support staff currently have access to the organization's resources. True once access is granted and until the ticket is closed.";
2199
+ readonly example: true;
2200
+ };
2201
+ readonly support_access_granted_at: {
2202
+ readonly type: "string";
2203
+ readonly format: "date-time";
2204
+ readonly nullable: true;
2205
+ readonly description: "When support access was granted. Null if it never was. Kept after the ticket is closed.";
2206
+ readonly example: "2026-05-11T16:08:14.338Z";
2207
+ };
2208
+ readonly closed_at: {
2209
+ readonly type: "string";
2210
+ readonly format: "date-time";
2211
+ readonly nullable: true;
2212
+ readonly description: "Closure timestamp. Null while the ticket is open.";
2213
+ readonly example: "2026-05-18T16:08:14.338Z";
2214
+ };
2215
+ readonly date_created: {
2216
+ readonly type: "string";
2217
+ readonly format: "date-time";
2218
+ readonly description: "Creation date of the ticket. ISO 8601 UTC.";
2219
+ readonly example: "2026-05-11T16:08:14.338Z";
2220
+ };
2221
+ readonly date_updated: {
2222
+ readonly type: "string";
2223
+ readonly format: "date-time";
2224
+ readonly description: "Last update date of the ticket. ISO 8601 UTC.";
2225
+ readonly example: "2026-05-11T16:08:14.338Z";
2226
+ };
2227
+ readonly messages: {
2228
+ readonly type: "array";
2229
+ readonly items: {
2230
+ readonly type: "object";
2231
+ readonly properties: {
2232
+ readonly id: {
2233
+ readonly type: "string";
2234
+ readonly description: "Unique identifier of the message (Mongo ObjectId).";
2235
+ readonly example: "60c72b2f9f1b2c001f8e4d3b";
2236
+ };
2237
+ readonly type: {
2238
+ readonly type: "string";
2239
+ readonly description: "Message type. Internal notes are filtered out of customer-facing responses.";
2240
+ readonly example: "customer_reply";
2241
+ readonly enum: readonly ["customer_reply", "agent_reply"];
2242
+ };
2243
+ readonly body: {
2244
+ readonly type: "string";
2245
+ readonly description: "Message body in markdown.";
2246
+ readonly example: "Thanks — that resolved it on my side.";
2247
+ };
2248
+ readonly author_first_name: {
2249
+ readonly type: "string";
2250
+ readonly description: "First name of the author. Null when not provided.";
2251
+ readonly example: "Jane";
2252
+ };
2253
+ readonly author_last_name: {
2254
+ readonly type: "string";
2255
+ readonly description: "Last name of the author. Null when not provided.";
2256
+ readonly example: "Doe";
2257
+ };
2258
+ readonly attachments: {
2259
+ readonly type: "array";
2260
+ readonly items: {
2261
+ readonly type: "object";
2262
+ readonly properties: {
2263
+ readonly id: {
2264
+ readonly type: "string";
2265
+ readonly description: "Unique identifier of the attachment (Mongo ObjectId).";
2266
+ readonly example: "60c72b2f9f1b2c001f8e4d3c";
2267
+ };
2268
+ readonly filename: {
2269
+ readonly type: "string";
2270
+ readonly description: "Original filename as uploaded.";
2271
+ readonly example: "debug.log";
2272
+ };
2273
+ readonly content_type: {
2274
+ readonly type: "string";
2275
+ readonly description: "MIME content type of the attachment.";
2276
+ readonly example: "text/plain";
2277
+ };
2278
+ readonly size: {
2279
+ readonly type: "integer";
2280
+ readonly description: "Size of the attachment in bytes.";
2281
+ readonly example: 12345;
2282
+ };
2283
+ };
2284
+ readonly required: readonly ["id", "filename", "content_type", "size"];
2285
+ readonly additionalProperties: false;
2286
+ };
2287
+ readonly description: "Attachments associated with this message.";
2288
+ readonly example: readonly [];
2289
+ };
2290
+ readonly date_created: {
2291
+ readonly type: "string";
2292
+ readonly format: "date-time";
2293
+ readonly description: "Creation date of the message. ISO 8601 UTC.";
2294
+ readonly example: "2026-05-11T16:08:14.338Z";
2295
+ };
2296
+ };
2297
+ readonly required: readonly ["id", "type", "body", "date_created"];
2298
+ readonly additionalProperties: false;
2299
+ };
2300
+ readonly description: "Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.";
2301
+ };
2302
+ };
2303
+ readonly required: readonly ["id", "status", "category", "summary", "support_access_granted", "support_access_granted_at", "date_created", "date_updated"];
2304
+ readonly additionalProperties: false;
2305
+ };
2306
+ export declare const TokenCreateInputSchema: {
2307
+ readonly type: "object";
2308
+ readonly properties: {
2309
+ readonly name: {
2310
+ readonly type: "string";
2311
+ readonly maxLength: 63;
2312
+ readonly minLength: 1;
2313
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
2314
+ readonly description: "Human readable access token name.";
2315
+ readonly example: "deployment-token";
2316
+ };
2317
+ readonly role: {
2318
+ readonly type: "string";
2319
+ readonly description: "Role assumed by the token.";
2320
+ readonly example: "User";
2321
+ readonly enum: readonly ["Administrator", "User"];
2322
+ };
2323
+ };
2324
+ readonly required: readonly ["name", "role"];
2325
+ readonly additionalProperties: false;
2326
+ };
2327
+ export declare const TokenSchema: {
2328
+ readonly type: "object";
2329
+ readonly properties: {
2330
+ readonly name: {
2331
+ readonly type: "string";
2332
+ readonly maxLength: 63;
2333
+ readonly minLength: 1;
2334
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
2335
+ readonly description: "Human readable access token name.";
2336
+ readonly example: "deployment-token";
2337
+ };
2338
+ readonly role: {
2339
+ readonly type: "string";
2340
+ readonly description: "Role assumed by the token.";
2341
+ readonly example: "User";
2342
+ readonly enum: readonly ["Administrator", "User"];
2343
+ };
2344
+ readonly id: {
2345
+ readonly type: "string";
2346
+ readonly description: "Generated unique identifier of the access token.";
2347
+ readonly example: "7kUZnH7nnKUFfvc4NK2KQF";
2348
+ };
2349
+ readonly secret: {
2350
+ readonly type: "string";
2351
+ readonly description: "Access token secret. Unmasked only during creation.";
2352
+ readonly example: "vq4SCMBsrgmBxbax80WDXuXoFNZAckI8";
2353
+ };
2354
+ readonly date_created: {
2355
+ readonly type: "string";
2356
+ readonly format: "date-time";
2357
+ readonly description: "Creation date of the access token. ISO 8601 date string in UTC timezone";
2358
+ readonly example: "2023-12-20T13:53:32.000Z";
2359
+ };
2360
+ };
2361
+ readonly required: readonly ["name", "role", "date_created"];
2362
+ readonly additionalProperties: false;
2363
+ };
2364
+ export declare const TokenUpdateInputSchema: {
2365
+ readonly type: "object";
2366
+ readonly properties: {
2367
+ readonly name: {
2368
+ readonly type: "string";
2369
+ readonly maxLength: 63;
2370
+ readonly minLength: 1;
2371
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
2372
+ readonly description: "Human readable access token name.";
2373
+ readonly example: "deployment-token";
2374
+ };
2375
+ readonly role: {
2376
+ readonly type: "string";
2377
+ readonly description: "Role assumed by the token.";
2378
+ readonly example: "User";
2379
+ readonly enum: readonly ["Administrator", "User"];
2380
+ };
2381
+ };
2382
+ readonly additionalProperties: false;
2383
+ };
2384
+ export declare const UsageFacetsSchema: {
2385
+ readonly type: "object";
2386
+ readonly properties: {
2387
+ readonly cluster_id: {
2388
+ readonly type: "array";
2389
+ readonly items: {
1487
2390
  readonly type: "string";
1488
- readonly enum: readonly [""];
1489
- }];
2391
+ };
2392
+ readonly description: "List of unique cluster IDs";
2393
+ readonly example: readonly ["6b5439b1-923a-4f2b-a371-d554e5ea23fa"];
1490
2394
  };
1491
- readonly price: {
1492
- readonly anyOf: readonly [{
1493
- readonly type: "number";
1494
- readonly format: "float";
1495
- readonly description: "Price";
1496
- readonly example: 4;
1497
- }, {
2395
+ readonly product: {
2396
+ readonly type: "array";
2397
+ readonly items: {
1498
2398
  readonly type: "string";
1499
- readonly enum: readonly [""];
1500
- }];
2399
+ readonly enum: readonly ["cfke_controlplane_basic", "cfke_controlplane_pro", "cfke_controlplane_enterprise", "cfke_connected_nodes_basic", "cfke_connected_nodes_pro", "cfke_connected_nodes_enterprise", "cfcr_storage"];
2400
+ };
2401
+ readonly description: "List of unique products";
2402
+ readonly example: readonly ["cfke_controlplane_pro", "cfke_connected_nodes_pro"];
2403
+ };
2404
+ };
2405
+ readonly additionalProperties: false;
2406
+ };
2407
+ export declare const UsageResponseSchema: {
2408
+ readonly type: "object";
2409
+ readonly properties: {
2410
+ readonly data: {
2411
+ readonly type: "array";
2412
+ readonly items: {
2413
+ readonly type: "object";
2414
+ readonly properties: {
2415
+ readonly hour: {
2416
+ readonly type: "string";
2417
+ readonly description: "Hour of the usage";
2418
+ readonly example: "2019-01-01T00:00:00.000Z";
2419
+ };
2420
+ readonly cluster_id: {
2421
+ readonly type: "string";
2422
+ readonly description: "Unique identifier of the kubernetes cluster. UUID v4 string in canonical form";
2423
+ readonly example: "6b5439b1-923a-4f2b-a371-d554e5ea23fa";
2424
+ };
2425
+ readonly product: {
2426
+ readonly type: "string";
2427
+ readonly description: "The product the usage is associated with";
2428
+ readonly example: "cfke_controlplane_pro";
2429
+ readonly enum: readonly ["cfke_controlplane_basic", "cfke_controlplane_pro", "cfke_controlplane_enterprise", "cfke_connected_nodes_basic", "cfke_connected_nodes_pro", "cfke_connected_nodes_enterprise", "cfcr_storage"];
2430
+ };
2431
+ readonly value: {
2432
+ readonly type: "number";
2433
+ readonly format: "float";
2434
+ readonly description: "Consumption";
2435
+ readonly example: 4;
2436
+ };
2437
+ readonly price: {
2438
+ readonly type: "number";
2439
+ readonly format: "float";
2440
+ readonly description: "Price per unit";
2441
+ readonly example: 0.01;
2442
+ };
2443
+ readonly total: {
2444
+ readonly type: "number";
2445
+ readonly format: "float";
2446
+ readonly description: "Total cost";
2447
+ };
2448
+ };
2449
+ readonly required: readonly ["hour", "cluster_id", "product", "value", "price", "total"];
2450
+ readonly additionalProperties: false;
2451
+ };
2452
+ readonly description: "Usage data";
2453
+ };
2454
+ readonly facets: {
2455
+ readonly type: "object";
2456
+ readonly properties: {
2457
+ readonly cluster_id: {
2458
+ readonly type: "array";
2459
+ readonly items: {
2460
+ readonly type: "string";
2461
+ };
2462
+ readonly description: "List of unique cluster IDs";
2463
+ readonly example: readonly ["6b5439b1-923a-4f2b-a371-d554e5ea23fa"];
2464
+ };
2465
+ readonly product: {
2466
+ readonly type: "array";
2467
+ readonly items: {
2468
+ readonly type: "string";
2469
+ readonly enum: readonly ["cfke_controlplane_basic", "cfke_controlplane_pro", "cfke_controlplane_enterprise", "cfke_connected_nodes_basic", "cfke_connected_nodes_pro", "cfke_connected_nodes_enterprise", "cfcr_storage"];
2470
+ };
2471
+ readonly description: "List of unique products";
2472
+ readonly example: readonly ["cfke_controlplane_pro", "cfke_connected_nodes_pro"];
2473
+ };
2474
+ };
2475
+ readonly additionalProperties: false;
2476
+ readonly description: "Facets for filtering";
2477
+ };
2478
+ };
2479
+ readonly required: readonly ["data", "facets"];
2480
+ readonly additionalProperties: false;
2481
+ };
2482
+ export declare const UsageSchema: {
2483
+ readonly type: "object";
2484
+ readonly properties: {
2485
+ readonly hour: {
2486
+ readonly type: "string";
2487
+ readonly description: "Hour of the usage";
2488
+ readonly example: "2019-01-01T00:00:00.000Z";
2489
+ };
2490
+ readonly cluster_id: {
2491
+ readonly type: "string";
2492
+ readonly description: "Unique identifier of the kubernetes cluster. UUID v4 string in canonical form";
2493
+ readonly example: "6b5439b1-923a-4f2b-a371-d554e5ea23fa";
2494
+ };
2495
+ readonly product: {
2496
+ readonly type: "string";
2497
+ readonly description: "The product the usage is associated with";
2498
+ readonly example: "cfke_controlplane_pro";
2499
+ readonly enum: readonly ["cfke_controlplane_basic", "cfke_controlplane_pro", "cfke_controlplane_enterprise", "cfke_connected_nodes_basic", "cfke_connected_nodes_pro", "cfke_connected_nodes_enterprise", "cfcr_storage"];
1501
2500
  };
1502
2501
  readonly value: {
1503
- readonly anyOf: readonly [{
1504
- readonly type: "number";
1505
- readonly format: "float";
1506
- readonly description: "Value";
1507
- readonly example: 4;
1508
- }, {
1509
- readonly type: "string";
1510
- readonly enum: readonly [""];
1511
- }];
2502
+ readonly type: "number";
2503
+ readonly format: "float";
2504
+ readonly description: "Consumption";
2505
+ readonly example: 4;
2506
+ };
2507
+ readonly price: {
2508
+ readonly type: "number";
2509
+ readonly format: "float";
2510
+ readonly description: "Price per unit";
2511
+ readonly example: 0.01;
1512
2512
  };
1513
2513
  readonly total: {
1514
- readonly anyOf: readonly [{
1515
- readonly type: "number";
1516
- readonly format: "float";
1517
- readonly description: "Total";
1518
- readonly example: 4;
1519
- }, {
1520
- readonly type: "string";
1521
- readonly enum: readonly [""];
1522
- }];
2514
+ readonly type: "number";
2515
+ readonly format: "float";
2516
+ readonly description: "Total cost";
1523
2517
  };
1524
2518
  };
1525
- readonly required: readonly ["cluster_id", "cluster_tier", "product", "node_name", "sku", "cpu", "price", "value", "total"];
2519
+ readonly required: readonly ["hour", "cluster_id", "product", "value", "price", "total"];
1526
2520
  readonly additionalProperties: false;
1527
2521
  };
1528
2522
  export declare const UserCreateInputSchema: {
@@ -1559,18 +2553,6 @@ export declare const UserCreateInputSchema: {
1559
2553
  readonly minLength: 8;
1560
2554
  readonly description: "User password. Must be at least 8 characters long.";
1561
2555
  };
1562
- readonly status: {
1563
- readonly type: "string";
1564
- readonly description: "Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.";
1565
- readonly example: "active";
1566
- readonly enum: readonly ["active", "inactive"];
1567
- };
1568
- readonly role: {
1569
- readonly type: "string";
1570
- readonly description: "User role. Can be 'Administrator', 'User'.";
1571
- readonly example: "User";
1572
- readonly enum: readonly ["Administrator", "User"];
1573
- };
1574
2556
  };
1575
2557
  readonly required: readonly ["email", "first_name", "last_name", "code", "password"];
1576
2558
  readonly additionalProperties: false;