@cloudfleet/sdk 0.0.1-0da1042

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 (38) hide show
  1. package/README.md +9 -0
  2. package/dist/client.gen.d.ts +13 -0
  3. package/dist/client.gen.d.ts.map +1 -0
  4. package/dist/client.gen.js +6 -0
  5. package/dist/client.gen.js.map +1 -0
  6. package/dist/index.d.ts +8 -0
  7. package/dist/index.d.ts.map +1 -0
  8. package/dist/index.js +8 -0
  9. package/dist/index.js.map +1 -0
  10. package/dist/schemas.gen.d.ts +1706 -0
  11. package/dist/schemas.gen.d.ts.map +1 -0
  12. package/dist/schemas.gen.js +1746 -0
  13. package/dist/schemas.gen.js.map +1 -0
  14. package/dist/sdk.gen.d.ts +363 -0
  15. package/dist/sdk.gen.d.ts.map +1 -0
  16. package/dist/sdk.gen.js +634 -0
  17. package/dist/sdk.gen.js.map +1 -0
  18. package/dist/services/kubernetes/api.d.ts +196 -0
  19. package/dist/services/kubernetes/api.d.ts.map +1 -0
  20. package/dist/services/kubernetes/api.js +140 -0
  21. package/dist/services/kubernetes/api.js.map +1 -0
  22. package/dist/services/kubernetes/index.d.ts +44 -0
  23. package/dist/services/kubernetes/index.d.ts.map +1 -0
  24. package/dist/services/kubernetes/index.js +68 -0
  25. package/dist/services/kubernetes/index.js.map +1 -0
  26. package/dist/services/kubernetes/types.d.ts +1335 -0
  27. package/dist/services/kubernetes/types.d.ts.map +1 -0
  28. package/dist/services/kubernetes/types.js +2 -0
  29. package/dist/services/kubernetes/types.js.map +1 -0
  30. package/dist/types.gen.d.ts +1928 -0
  31. package/dist/types.gen.d.ts.map +1 -0
  32. package/dist/types.gen.js +3 -0
  33. package/dist/types.gen.js.map +1 -0
  34. package/dist/zod.gen.d.ts +2505 -0
  35. package/dist/zod.gen.d.ts.map +1 -0
  36. package/dist/zod.gen.js +1129 -0
  37. package/dist/zod.gen.js.map +1 -0
  38. package/package.json +39 -0
@@ -0,0 +1,1706 @@
1
+ export declare const BillingContactSchema: {
2
+ readonly type: "object";
3
+ readonly properties: {
4
+ readonly company: {
5
+ readonly type: "string";
6
+ readonly maxLength: 120;
7
+ readonly minLength: 2;
8
+ readonly pattern: "^(?!\\s)(?!.*\\s$)(?=.*[a-zA-ZÆÐƎƏƐƔIJŊŒẞÞǷȜæðǝəɛɣijŋœĸſßþƿȝĄƁÇĐƊĘĦĮƘŁØƠŞȘŢȚŦŲƯY̨Ƴąɓçđɗęħįƙłøơşșţțŧųưy̨ƴÁÀÂÄǍĂĀÃÅǺĄÆǼǢƁĆĊĈČÇĎḌĐƊÐÉÈĖÊËĚĔĒĘẸƎƏƐĠĜǦĞĢƔáàâäǎăāãåǻąæǽǣɓćċĉčçďḍđɗðéèėêëěĕēęẹǝəɛġĝǧğģɣĤḤĦIÍÌİÎÏǏĬĪĨĮỊIJĴĶƘĹĻŁĽĿʼNŃN̈ŇÑŅŊÓÒÔÖǑŎŌÕŐỌØǾƠŒĥḥħıíìiîïǐĭīĩįịijĵķƙĸĺļłľŀʼnńn̈ňñņŋóòôöǒŏōõőọøǿơœŔŘŖŚŜŠŞȘṢẞŤŢṬŦÞÚÙÛÜǓŬŪŨŰŮŲỤƯẂẀŴẄǷÝỲŶŸȲỸƳŹŻŽẒŕřŗſśŝšşșṣßťţṭŧþúùûüǔŭūũűůųụưẃẁŵẅƿýỳŷÿȳỹƴźżžẓ0-9])[a-zA-ZÆÐƎƏƐƔIJŊŒẞÞǷȜæðǝəɛɣijŋœĸſßþƿȝĄƁÇĐƊĘĦĮƘŁØƠŞȘŢȚŦŲƯY̨Ƴąɓçđɗęħįƙłøơşșţțŧųưy̨ƴÁÀÂÄǍĂĀÃÅǺĄÆǼǢƁĆĊĈČÇĎḌĐƊÐÉÈĖÊËĚĔĒĘẸƎƏƐĠĜǦĞĢƔáàâäǎăāãåǻąæǽǣɓćċĉčçďḍđɗðéèėêëěĕēęẹǝəɛġĝǧğģɣĤḤĦIÍÌİÎÏǏĬĪĨĮỊIJĴĶƘĹĻŁĽĿʼNŃN̈ŇÑŅŊÓÒÔÖǑŎŌÕŐỌØǾƠŒĥḥħıíìiîïǐĭīĩįịijĵķƙĸĺļłľŀʼnńn̈ňñņŋóòôöǒŏōõőọøǿơœŔŘŖŚŜŠŞȘṢẞŤŢṬŦÞÚÙÛÜǓŬŪŨŰŮŲỤƯẂẀŴẄǷÝỲŶŸȲỸƳŹŻŽẒŕřŗſśŝšşșṣßťţṭŧþúùûüǔŭūũűůųụưẃẁŵẅƿýỳŷÿȳỹƴźżžẓ0-9 -.]{2,}$";
9
+ readonly description: "Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.";
10
+ readonly example: "ACME Corp.";
11
+ };
12
+ readonly address1: {
13
+ readonly type: "string";
14
+ readonly nullable: true;
15
+ readonly description: "Street address, P.O. box, c/o";
16
+ readonly example: "123 Main St.";
17
+ };
18
+ readonly address2: {
19
+ readonly type: "string";
20
+ readonly nullable: true;
21
+ readonly description: "Apartment, suite, unit, building, floor, etc.";
22
+ readonly example: "Suite 100";
23
+ };
24
+ readonly postalCode: {
25
+ readonly type: "string";
26
+ readonly nullable: true;
27
+ readonly description: "Postal code as a string.";
28
+ readonly example: "94105";
29
+ };
30
+ readonly city: {
31
+ readonly type: "string";
32
+ readonly nullable: true;
33
+ readonly description: "City or town name.";
34
+ readonly example: "San Francisco";
35
+ };
36
+ readonly state: {
37
+ readonly type: "string";
38
+ readonly nullable: true;
39
+ readonly description: "State, province, or region name.";
40
+ readonly example: "CA";
41
+ };
42
+ readonly country: {
43
+ readonly type: "string";
44
+ readonly nullable: true;
45
+ readonly description: "Country as a ISO 3166-1 alpha-2 country code.";
46
+ readonly example: "US";
47
+ };
48
+ readonly phone: {
49
+ readonly type: "string";
50
+ readonly nullable: true;
51
+ readonly description: "Phone number as a string.";
52
+ readonly example: "+1 555 555 5555";
53
+ };
54
+ readonly email: {
55
+ readonly type: "string";
56
+ readonly format: "email";
57
+ readonly description: "Email address used for billing as a string.";
58
+ readonly example: "email@example.com";
59
+ };
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 type: "string";
67
+ readonly description: "Last name of the billing contact person.";
68
+ readonly example: "Doe";
69
+ };
70
+ readonly tax_id: {
71
+ readonly type: "string";
72
+ readonly nullable: true;
73
+ readonly description: "Tax ID of the organization.";
74
+ readonly example: "DE123456789";
75
+ };
76
+ readonly tax_id_type: {
77
+ readonly type: "string";
78
+ readonly description: "Type of the tax ID.";
79
+ readonly example: "de_vat";
80
+ readonly enum: readonly ["ad_nrt", "ae_trn", "al_tin", "am_tin", "ao_tin", "ar_cuit", "au_abn", "au_arn", "ba_tin", "bb_tin", "bg_uic", "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", "de_stn", "do_rcn", "ec_ruc", "eg_tin", "es_cif", "eu_oss_vat", "eu_vat", "gb_vat", "ge_vat", "gn_nif", "hk_br", "hr_oib", "hu_tin", "id_npwp", "il_vat", "in_gst", "is_vat", "jp_cn", "jp_rn", "jp_trn", "ke_pin", "kh_tin", "kr_brn", "kz_bin", "li_uid", "li_vat", "ma_vat", "md_vat", "me_pib", "mk_vat", "mr_nif", "mx_rfc", "my_frp", "my_itn", "my_sst", "ng_tin", "no_vat", "no_voec", "np_pan", "nz_gst", "om_vat", "pe_ruc", "ph_tin", "ro_tin", "rs_pib", "ru_inn", "ru_kpp", "sa_vat", "sg_gst", "sg_uen", "si_tin", "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", "za_vat", "zm_tin", "zw_tin"];
81
+ };
82
+ };
83
+ readonly required: readonly ["email", "first_name", "last_name"];
84
+ readonly additionalProperties: false;
85
+ };
86
+ export declare const BillingCreditsSchema: {
87
+ readonly type: "object";
88
+ readonly properties: {
89
+ readonly id: {
90
+ readonly type: "string";
91
+ readonly description: "Generated unique identifier of the promotional code.";
92
+ readonly example: "7kUZnH7nnKUFfvc4NK2KQF";
93
+ };
94
+ readonly date_created: {
95
+ readonly type: "string";
96
+ readonly format: "date-time";
97
+ readonly description: "Date of the credit application. ISO 8601 date string in the UTC timezone.";
98
+ readonly example: "2023-12-20T13:53:32.000Z";
99
+ };
100
+ readonly code: {
101
+ readonly type: "string";
102
+ readonly description: "Promotional code used by the customer.";
103
+ readonly example: "VQ4SCMB";
104
+ };
105
+ readonly description: {
106
+ readonly type: "string";
107
+ readonly description: "Description of the promotional code.";
108
+ readonly example: "10% off on all products";
109
+ };
110
+ readonly products: {
111
+ readonly type: "array";
112
+ readonly items: {
113
+ readonly type: "string";
114
+ };
115
+ readonly description: "List of product SKUs that the promotional code can be used on.";
116
+ readonly example: readonly ["SKU123", "SKU456"];
117
+ };
118
+ readonly type: {
119
+ readonly type: "string";
120
+ readonly description: "Type of the promotional code.";
121
+ readonly example: "credit";
122
+ readonly enum: readonly ["credit", "discount"];
123
+ };
124
+ readonly value: {
125
+ readonly type: "number";
126
+ readonly format: "float";
127
+ readonly description: "Value of the promotional code.";
128
+ readonly example: 10;
129
+ };
130
+ readonly billing_period: {
131
+ readonly type: "string";
132
+ readonly format: "date-time";
133
+ readonly description: "Date of the billing cycle. An ISO 8601 date string in the UTC timezone.";
134
+ readonly example: "2023-12-20T13:53:32.000Z";
135
+ };
136
+ readonly value_remaining: {
137
+ readonly type: "number";
138
+ readonly format: "float";
139
+ readonly description: "Value of the promotional code.";
140
+ readonly example: 10;
141
+ };
142
+ };
143
+ readonly required: readonly ["date_created", "code", "type", "value", "billing_period"];
144
+ readonly additionalProperties: false;
145
+ };
146
+ export declare const ChartCreateInputSchema: {
147
+ readonly type: "object";
148
+ readonly properties: {
149
+ readonly values: {
150
+ readonly type: "string";
151
+ readonly description: "Values to be used in the chart.";
152
+ };
153
+ readonly version_channel: {
154
+ readonly type: "string";
155
+ 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-]+)*))?$";
156
+ readonly description: "Version of the chart.";
157
+ readonly example: "2.x.x-cfke.x";
158
+ };
159
+ readonly name: {
160
+ readonly type: "string";
161
+ readonly maxLength: 63;
162
+ readonly minLength: 1;
163
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
164
+ readonly description: "Unique identifier of the chart deployment aka name of the helm release.";
165
+ readonly example: "postgresql-0";
166
+ };
167
+ readonly namespace: {
168
+ readonly type: "string";
169
+ readonly maxLength: 63;
170
+ readonly minLength: 1;
171
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
172
+ readonly description: "Namespace of the chart deployment";
173
+ readonly example: "default";
174
+ };
175
+ readonly chart: {
176
+ readonly type: "string";
177
+ readonly maxLength: 63;
178
+ readonly minLength: 1;
179
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
180
+ readonly description: "Name of the chart listing";
181
+ readonly example: "postgresql";
182
+ };
183
+ };
184
+ readonly required: readonly ["values", "version_channel", "name", "namespace", "chart"];
185
+ readonly additionalProperties: false;
186
+ };
187
+ export declare const ChartSchema: {
188
+ readonly type: "object";
189
+ readonly properties: {
190
+ readonly values: {
191
+ readonly type: "string";
192
+ readonly description: "Values to be used in the chart.";
193
+ };
194
+ readonly version_channel: {
195
+ readonly type: "string";
196
+ 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-]+)*))?$";
197
+ readonly description: "Version of the chart.";
198
+ readonly example: "2.x.x-cfke.x";
199
+ };
200
+ readonly name: {
201
+ readonly type: "string";
202
+ readonly maxLength: 63;
203
+ readonly minLength: 1;
204
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
205
+ readonly description: "Unique identifier of the chart deployment aka name of the helm release.";
206
+ readonly example: "postgresql-0";
207
+ };
208
+ readonly namespace: {
209
+ readonly type: "string";
210
+ readonly maxLength: 63;
211
+ readonly minLength: 1;
212
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
213
+ readonly description: "Namespace of the chart deployment";
214
+ readonly example: "default";
215
+ };
216
+ readonly chart: {
217
+ readonly type: "string";
218
+ readonly maxLength: 63;
219
+ readonly minLength: 1;
220
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
221
+ readonly description: "Name of the chart listing";
222
+ readonly example: "postgresql";
223
+ };
224
+ readonly status: {
225
+ readonly type: "string";
226
+ readonly description: "Status of the chart deployment.";
227
+ readonly example: "active";
228
+ readonly enum: readonly ["InstallSucceeded", "InstallFailed", "UpgradeSucceeded", "UpgradeFailed", "TestSucceeded", "TestFailed", "RollbackSucceeded", "RollbackFailed", "UninstallSucceeded", "UninstallFailed", "ArtifactFailed", "DependencyNotReady", "Progressing"];
229
+ };
230
+ readonly version_current: {
231
+ readonly type: "string";
232
+ readonly description: "Current version of the chart deployment.";
233
+ readonly example: "2.1.33-cfke.11";
234
+ };
235
+ readonly created_at: {
236
+ readonly type: "string";
237
+ readonly description: "Creation date and time of the chart deployment.";
238
+ readonly example: "2024-09-12T09:11:27Z";
239
+ };
240
+ readonly updated_at: {
241
+ readonly type: "string";
242
+ readonly description: "Last update date and time of the chart deployment.";
243
+ readonly example: "2024-09-12T09:11:27Z";
244
+ };
245
+ readonly ready: {
246
+ readonly type: "boolean";
247
+ readonly description: "Indicates if the chart deployment is ready to be used.";
248
+ readonly example: true;
249
+ };
250
+ };
251
+ readonly required: readonly ["values", "version_channel", "name", "namespace", "chart", "status", "version_current", "created_at", "updated_at", "ready"];
252
+ readonly additionalProperties: false;
253
+ };
254
+ export declare const ChartUpdateInputSchema: {
255
+ readonly type: "object";
256
+ readonly properties: {
257
+ readonly values: {
258
+ readonly type: "string";
259
+ readonly description: "Values to be used in the chart.";
260
+ };
261
+ readonly version_channel: {
262
+ readonly type: "string";
263
+ 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-]+)*))?$";
264
+ readonly description: "Version of the chart.";
265
+ readonly example: "2.x.x-cfke.x";
266
+ };
267
+ };
268
+ readonly required: readonly ["values", "version_channel"];
269
+ readonly additionalProperties: false;
270
+ };
271
+ export declare const ClusterCreateInputSchema: {
272
+ readonly type: "object";
273
+ readonly properties: {
274
+ readonly name: {
275
+ readonly type: "string";
276
+ readonly maxLength: 63;
277
+ readonly minLength: 1;
278
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
279
+ readonly description: "Name of the cluster.";
280
+ readonly example: "production-cluster";
281
+ };
282
+ readonly region: {
283
+ readonly type: "string";
284
+ readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\". This field can not be updated after creation.";
285
+ readonly default: "staging";
286
+ readonly example: "northamerica-central-1";
287
+ readonly enum: readonly ["staging", "northamerica-central-1"];
288
+ };
289
+ readonly tier: {
290
+ readonly type: "string";
291
+ readonly description: "Tier of the cluster.";
292
+ readonly example: "pro";
293
+ readonly enum: readonly ["basic", "pro"];
294
+ };
295
+ readonly version_channel: {
296
+ readonly type: "string";
297
+ 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-]+)*))?$";
298
+ readonly description: "Version of the kubernetes cluster.";
299
+ readonly default: "1.x.x-cfke.x";
300
+ readonly example: "1.29.x-cfke.x";
301
+ };
302
+ };
303
+ readonly required: readonly ["name", "tier"];
304
+ readonly additionalProperties: false;
305
+ };
306
+ export declare const ClusterJoinInformationSchema: {
307
+ readonly type: "object";
308
+ readonly properties: {
309
+ readonly certificate_authority: {
310
+ readonly type: "string";
311
+ readonly description: "Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.";
312
+ readonly example: "-----BEGIN CERTIFICATE-----\nMIIC0DCCAbigAwIBAgI...";
313
+ };
314
+ readonly endpoint: {
315
+ readonly type: "string";
316
+ readonly format: "uri";
317
+ readonly description: "Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.";
318
+ readonly example: "https://10.31.64.7:6443";
319
+ };
320
+ readonly auth_key: {
321
+ readonly type: "string";
322
+ readonly description: "Authentication key for the cluster.";
323
+ readonly example: "tskey-auth-kBV8wr1dk911CNTRL-...";
324
+ };
325
+ readonly bootstrap_token: {
326
+ readonly type: "string";
327
+ readonly description: "Bootstrap token for the cluster.";
328
+ readonly example: "a797d6df6babc2cfdb202ba7.....";
329
+ };
330
+ readonly versions: {
331
+ readonly type: "object";
332
+ readonly properties: {
333
+ readonly kubernetes: {
334
+ readonly type: "string";
335
+ readonly description: "Kubernetes version of the cluster.";
336
+ readonly example: "1.29.3";
337
+ };
338
+ readonly tailscale: {
339
+ readonly type: "string";
340
+ readonly description: "Tailscale version of the cluster.";
341
+ readonly example: "1.74.1";
342
+ };
343
+ readonly containerd: {
344
+ readonly type: "string";
345
+ readonly description: "Containerd version of the cluster.";
346
+ readonly example: "1.7.19";
347
+ };
348
+ };
349
+ readonly required: readonly ["kubernetes", "tailscale", "containerd"];
350
+ readonly additionalProperties: false;
351
+ readonly description: "Versions of the different components of the cluster.";
352
+ };
353
+ readonly third_party_api_access_config: {
354
+ readonly type: "object";
355
+ readonly properties: {
356
+ readonly metadata_url: {
357
+ readonly type: "string";
358
+ readonly description: "Kubernetes metadata server.";
359
+ readonly example: "https://10.31.64.4";
360
+ };
361
+ readonly aws_role_arn: {
362
+ readonly type: "string";
363
+ readonly description: "AWS Role ARN.";
364
+ readonly example: "arn:aws:iam::891376988828:role/0371f8fd-e164-48e1-b9e7-c3bdc3b4f403";
365
+ };
366
+ readonly gcp_workload_identity_provider: {
367
+ readonly type: "string";
368
+ readonly description: "GCP Workload Identity provider.";
369
+ readonly example: "//iam.googleapis.com/projects/89014267864/locations/global/workloadIdentityPools/cfke/providers/oidc";
370
+ };
371
+ };
372
+ readonly required: readonly ["metadata_url", "aws_role_arn", "gcp_workload_identity_provider"];
373
+ readonly additionalProperties: false;
374
+ readonly description: "OIDC Information for hosts to access to third party API's.";
375
+ };
376
+ };
377
+ readonly required: readonly ["certificate_authority", "endpoint", "auth_key", "bootstrap_token", "versions", "third_party_api_access_config"];
378
+ readonly additionalProperties: false;
379
+ };
380
+ export declare const ClusterSchema: {
381
+ readonly type: "object";
382
+ readonly properties: {
383
+ readonly name: {
384
+ readonly type: "string";
385
+ readonly maxLength: 63;
386
+ readonly minLength: 1;
387
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
388
+ readonly description: "Name of the cluster.";
389
+ readonly example: "production-cluster";
390
+ };
391
+ readonly region: {
392
+ readonly type: "string";
393
+ readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\". This field can not be updated after creation.";
394
+ readonly default: "staging";
395
+ readonly example: "northamerica-central-1";
396
+ readonly enum: readonly ["staging", "northamerica-central-1"];
397
+ };
398
+ readonly tier: {
399
+ readonly type: "string";
400
+ readonly description: "Tier of the cluster.";
401
+ readonly example: "pro";
402
+ readonly enum: readonly ["basic", "pro"];
403
+ };
404
+ readonly version_channel: {
405
+ readonly type: "string";
406
+ 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-]+)*))?$";
407
+ readonly description: "Version of the kubernetes cluster.";
408
+ readonly default: "1.x.x-cfke.x";
409
+ readonly example: "1.29.x-cfke.x";
410
+ };
411
+ readonly id: {
412
+ readonly type: "string";
413
+ readonly format: "uuid";
414
+ readonly description: "Unique identifier of the kubernetes cluster. UUID v4 string in canonical form";
415
+ readonly example: "6b5439b1-923a-4f2b-a371-d554e5ea23fa";
416
+ };
417
+ readonly status: {
418
+ readonly type: "string";
419
+ readonly description: "Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.";
420
+ readonly example: "active";
421
+ readonly enum: readonly ["active", "deleted", "creating", "deployed", "failed", "updating"];
422
+ };
423
+ readonly endpoint: {
424
+ readonly anyOf: readonly [{
425
+ readonly type: "string";
426
+ readonly format: "uri";
427
+ readonly description: "URL of the Kubernetes cluster control plane. This is the endpoint that kubectl uses to connect to the cluster.";
428
+ readonly example: "https://2ae6557c-c61f-49c6-b4c1-a65473470a03.staging.cfke.cloudfleet.dev:6443";
429
+ }, {
430
+ readonly type: "string";
431
+ readonly enum: readonly [""];
432
+ }];
433
+ };
434
+ readonly certificate_ca: {
435
+ readonly type: "string";
436
+ readonly description: "Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.";
437
+ readonly example: "-----BEGIN CERTIFICATE-----\nMIIC0DCCAbigAwIBAgI...";
438
+ };
439
+ readonly version_current: {
440
+ readonly type: "string";
441
+ readonly description: "Current version of the cluster.";
442
+ readonly example: "1.29.3-cfke.52";
443
+ };
444
+ readonly created_at: {
445
+ readonly type: "string";
446
+ readonly description: "Creation date and time of the cluster.";
447
+ readonly example: "2024-09-12T09:11:27Z";
448
+ };
449
+ readonly updated_at: {
450
+ readonly type: "string";
451
+ readonly description: "Last update date and time of the cluster.";
452
+ readonly example: "2024-09-12T09:11:27Z";
453
+ };
454
+ readonly ready: {
455
+ readonly type: "boolean";
456
+ readonly description: "Indicates if the cluster is ready to be used.";
457
+ readonly example: true;
458
+ };
459
+ };
460
+ readonly required: readonly ["name", "tier", "id", "status"];
461
+ readonly additionalProperties: false;
462
+ };
463
+ export declare const ClusterUpdateInputSchema: {
464
+ readonly type: "object";
465
+ readonly properties: {
466
+ readonly name: {
467
+ readonly type: "string";
468
+ readonly maxLength: 63;
469
+ readonly minLength: 1;
470
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
471
+ readonly description: "Name of the cluster.";
472
+ readonly example: "production-cluster";
473
+ };
474
+ readonly version_channel: {
475
+ readonly type: "string";
476
+ 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-]+)*))?$";
477
+ readonly description: "Version of the kubernetes cluster.";
478
+ readonly example: "1.29.x-cfke.x";
479
+ };
480
+ };
481
+ readonly additionalProperties: false;
482
+ };
483
+ export declare const FleetCreateInputSchema: {
484
+ readonly type: "object";
485
+ readonly properties: {
486
+ readonly limits: {
487
+ readonly type: "object";
488
+ readonly properties: {
489
+ readonly cpu: {
490
+ readonly type: "number";
491
+ readonly format: "float";
492
+ readonly minimum: 0;
493
+ readonly description: "CPU limit in cores.";
494
+ };
495
+ };
496
+ readonly required: readonly ["cpu"];
497
+ readonly additionalProperties: false;
498
+ readonly description: "Limits define a set of bounds for provisioning capacity.";
499
+ };
500
+ readonly gcp: {
501
+ readonly type: "object";
502
+ readonly properties: {
503
+ readonly enabled: {
504
+ readonly type: "boolean";
505
+ readonly default: true;
506
+ };
507
+ readonly project: {
508
+ readonly type: "string";
509
+ readonly description: "Project GCP Project id to deploy instances into";
510
+ };
511
+ };
512
+ readonly required: readonly ["project"];
513
+ readonly additionalProperties: false;
514
+ };
515
+ readonly hetzner: {
516
+ readonly oneOf: readonly [{
517
+ readonly type: "object";
518
+ readonly properties: {
519
+ readonly enabled: {
520
+ readonly type: "boolean";
521
+ readonly default: true;
522
+ };
523
+ readonly apiKey: {
524
+ readonly type: "string";
525
+ };
526
+ };
527
+ readonly additionalProperties: false;
528
+ }, {
529
+ readonly type: "object";
530
+ readonly properties: {
531
+ readonly apiKey: {
532
+ readonly type: "string";
533
+ };
534
+ readonly enabled: {
535
+ readonly type: "boolean";
536
+ readonly default: true;
537
+ };
538
+ };
539
+ readonly additionalProperties: false;
540
+ }];
541
+ };
542
+ readonly aws: {
543
+ readonly type: "object";
544
+ readonly properties: {
545
+ readonly enabled: {
546
+ readonly type: "boolean";
547
+ readonly default: true;
548
+ };
549
+ readonly controllerRoleArn: {
550
+ readonly type: "string";
551
+ readonly description: "ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.";
552
+ };
553
+ };
554
+ readonly required: readonly ["controllerRoleArn"];
555
+ readonly additionalProperties: false;
556
+ };
557
+ readonly id: {
558
+ readonly type: "string";
559
+ readonly maxLength: 63;
560
+ readonly minLength: 1;
561
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
562
+ readonly description: "Unique identifier of the kubernetes fleet.";
563
+ readonly example: "new-clouds-fleet";
564
+ };
565
+ readonly type: {
566
+ readonly type: "string";
567
+ readonly description: "Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.";
568
+ readonly enum: readonly ["managed", "connected"];
569
+ };
570
+ };
571
+ readonly required: readonly ["id", "type"];
572
+ readonly additionalProperties: false;
573
+ };
574
+ export declare const FleetSchema: {
575
+ readonly type: "object";
576
+ readonly properties: {
577
+ readonly limits: {
578
+ readonly type: "object";
579
+ readonly properties: {
580
+ readonly cpu: {
581
+ readonly type: "number";
582
+ readonly format: "float";
583
+ readonly minimum: 0;
584
+ readonly description: "CPU limit in cores.";
585
+ };
586
+ };
587
+ readonly required: readonly ["cpu"];
588
+ readonly additionalProperties: false;
589
+ readonly description: "Limits define a set of bounds for provisioning capacity.";
590
+ };
591
+ readonly gcp: {
592
+ readonly type: "object";
593
+ readonly properties: {
594
+ readonly enabled: {
595
+ readonly type: "boolean";
596
+ readonly default: true;
597
+ };
598
+ readonly project: {
599
+ readonly type: "string";
600
+ readonly description: "Project GCP Project id to deploy instances into";
601
+ };
602
+ };
603
+ readonly required: readonly ["project"];
604
+ readonly additionalProperties: false;
605
+ };
606
+ readonly hetzner: {
607
+ readonly oneOf: readonly [{
608
+ readonly type: "object";
609
+ readonly properties: {
610
+ readonly enabled: {
611
+ readonly type: "boolean";
612
+ readonly default: true;
613
+ };
614
+ readonly apiKey: {
615
+ readonly type: "string";
616
+ };
617
+ };
618
+ readonly additionalProperties: false;
619
+ }, {
620
+ readonly type: "object";
621
+ readonly properties: {
622
+ readonly apiKey: {
623
+ readonly type: "string";
624
+ };
625
+ readonly enabled: {
626
+ readonly type: "boolean";
627
+ readonly default: true;
628
+ };
629
+ };
630
+ readonly additionalProperties: false;
631
+ }];
632
+ };
633
+ readonly aws: {
634
+ readonly type: "object";
635
+ readonly properties: {
636
+ readonly enabled: {
637
+ readonly type: "boolean";
638
+ readonly default: true;
639
+ };
640
+ readonly controllerRoleArn: {
641
+ readonly type: "string";
642
+ readonly description: "ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.";
643
+ };
644
+ };
645
+ readonly required: readonly ["controllerRoleArn"];
646
+ readonly additionalProperties: false;
647
+ };
648
+ readonly id: {
649
+ readonly type: "string";
650
+ readonly maxLength: 63;
651
+ readonly minLength: 1;
652
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
653
+ readonly description: "Unique identifier of the kubernetes fleet.";
654
+ readonly example: "new-clouds-fleet";
655
+ };
656
+ readonly type: {
657
+ readonly type: "string";
658
+ readonly description: "Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.";
659
+ readonly enum: readonly ["managed", "connected"];
660
+ };
661
+ };
662
+ readonly required: readonly ["id", "type"];
663
+ readonly additionalProperties: false;
664
+ };
665
+ export declare const FleetUpdateInputSchema: {
666
+ readonly type: "object";
667
+ readonly properties: {
668
+ readonly limits: {
669
+ readonly type: "object";
670
+ readonly properties: {
671
+ readonly cpu: {
672
+ readonly type: "number";
673
+ readonly format: "float";
674
+ readonly minimum: 0;
675
+ readonly description: "CPU limit in cores.";
676
+ };
677
+ };
678
+ readonly required: readonly ["cpu"];
679
+ readonly additionalProperties: false;
680
+ readonly description: "Limits define a set of bounds for provisioning capacity.";
681
+ };
682
+ readonly gcp: {
683
+ readonly type: "object";
684
+ readonly properties: {
685
+ readonly enabled: {
686
+ readonly type: "boolean";
687
+ readonly default: true;
688
+ };
689
+ readonly project: {
690
+ readonly type: "string";
691
+ readonly description: "Project GCP Project id to deploy instances into";
692
+ };
693
+ };
694
+ readonly required: readonly ["project"];
695
+ readonly additionalProperties: false;
696
+ };
697
+ readonly hetzner: {
698
+ readonly oneOf: readonly [{
699
+ readonly type: "object";
700
+ readonly properties: {
701
+ readonly enabled: {
702
+ readonly type: "boolean";
703
+ readonly default: true;
704
+ };
705
+ readonly apiKey: {
706
+ readonly type: "string";
707
+ };
708
+ };
709
+ readonly additionalProperties: false;
710
+ }, {
711
+ readonly type: "object";
712
+ readonly properties: {
713
+ readonly apiKey: {
714
+ readonly type: "string";
715
+ };
716
+ readonly enabled: {
717
+ readonly type: "boolean";
718
+ readonly default: true;
719
+ };
720
+ };
721
+ readonly additionalProperties: false;
722
+ }];
723
+ };
724
+ readonly aws: {
725
+ readonly type: "object";
726
+ readonly properties: {
727
+ readonly enabled: {
728
+ readonly type: "boolean";
729
+ readonly default: true;
730
+ };
731
+ readonly controllerRoleArn: {
732
+ readonly type: "string";
733
+ readonly description: "ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.";
734
+ };
735
+ };
736
+ readonly required: readonly ["controllerRoleArn"];
737
+ readonly additionalProperties: false;
738
+ };
739
+ };
740
+ readonly additionalProperties: false;
741
+ };
742
+ export declare const InviteSchema: {
743
+ readonly type: "object";
744
+ readonly properties: {
745
+ readonly id: {
746
+ readonly type: "string";
747
+ readonly description: "Unique identifier of the invitation.";
748
+ readonly example: "65831dd20d20165489cbb868";
749
+ };
750
+ readonly organization_id: {
751
+ readonly type: "string";
752
+ readonly format: "uuid";
753
+ readonly description: "Unique identifier of the organization the project belongs to. UUID v4 string in canonical form";
754
+ readonly example: "e94d30ec-a2dd-4dcb-832c-ac2be144ba91";
755
+ };
756
+ readonly date_created: {
757
+ readonly type: "string";
758
+ readonly format: "date-time";
759
+ readonly description: "Creation date of the project. ISO 8601 date string in UTC timezone";
760
+ readonly example: "2023-11-02T16:08:14.338Z";
761
+ };
762
+ readonly email: {
763
+ readonly type: "string";
764
+ readonly format: "email";
765
+ readonly description: "User email address.";
766
+ readonly example: "email@example.com";
767
+ };
768
+ readonly code: {
769
+ readonly type: "string";
770
+ readonly description: "Generated unique invite code.";
771
+ readonly example: "7kUZnH7nnKUFfvc4NK2KQF";
772
+ };
773
+ };
774
+ readonly required: readonly ["date_created"];
775
+ readonly additionalProperties: false;
776
+ };
777
+ export declare const InvoiceSchema: {
778
+ readonly type: "object";
779
+ readonly properties: {
780
+ readonly id: {
781
+ readonly type: "string";
782
+ readonly format: "uuid";
783
+ readonly description: "Unique identifier of the invoice. UUID v4 string in canonical form";
784
+ readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
785
+ };
786
+ readonly organizationId: {
787
+ readonly type: "string";
788
+ readonly format: "uuid";
789
+ readonly description: "Unique identifier of the organization. UUID v4 string in canonical form";
790
+ readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
791
+ };
792
+ readonly status: {
793
+ readonly type: "string";
794
+ readonly description: "Status of the invoice";
795
+ readonly example: "DRAFT";
796
+ readonly enum: readonly ["DRAFT", "COMMITTED", "VOID"];
797
+ };
798
+ readonly amount: {
799
+ readonly type: "number";
800
+ readonly format: "float";
801
+ readonly description: "Total amount of the invoice";
802
+ readonly example: 100;
803
+ };
804
+ readonly currency: {
805
+ readonly type: "string";
806
+ readonly description: "Currency of the invoice";
807
+ readonly example: "USD";
808
+ 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"];
809
+ };
810
+ readonly creditAdj: {
811
+ readonly type: "number";
812
+ readonly format: "float";
813
+ readonly description: "Total amount of credit adjustments";
814
+ readonly example: 0;
815
+ };
816
+ readonly refundAdj: {
817
+ readonly type: "number";
818
+ readonly format: "float";
819
+ readonly description: "Total amount of refund adjustments";
820
+ readonly example: 0;
821
+ };
822
+ readonly invoiceDate: {
823
+ readonly type: "string";
824
+ readonly description: "Date of the invoice";
825
+ readonly example: "2019-01-01T00:00:00.000Z";
826
+ };
827
+ readonly targetDate: {
828
+ readonly type: "string";
829
+ readonly description: "Target date of the invoice";
830
+ readonly example: "2019-01-01T00:00:00.000Z";
831
+ };
832
+ readonly invoiceNumber: {
833
+ readonly type: "string";
834
+ readonly description: "Number of the invoice";
835
+ readonly example: "INV-0001";
836
+ };
837
+ readonly balance: {
838
+ readonly type: "number";
839
+ readonly format: "float";
840
+ readonly description: "Balance of the invoice";
841
+ readonly example: 100;
842
+ };
843
+ readonly bundleKeys: {
844
+ readonly type: "string";
845
+ readonly description: "Bundle keys of the invoice";
846
+ readonly example: "bundleKey1,bundleKey2";
847
+ };
848
+ readonly credits: {
849
+ readonly type: "array";
850
+ readonly items: {
851
+ readonly type: "object";
852
+ readonly properties: {
853
+ readonly id: {
854
+ readonly type: "string";
855
+ readonly format: "uuid";
856
+ readonly description: "Unique identifier of the invoice item. UUID v4 string in canonical form";
857
+ readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
858
+ };
859
+ readonly linkedInvoiceItemId: {
860
+ readonly type: "string";
861
+ readonly format: "uuid";
862
+ readonly description: "Unique identifier of the linked invoice item. UUID v4 string in canonical form";
863
+ readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
864
+ };
865
+ readonly productName: {
866
+ readonly type: "string";
867
+ readonly description: "Name of the product";
868
+ readonly example: "Research team";
869
+ };
870
+ readonly planName: {
871
+ readonly type: "string";
872
+ readonly description: "Name of the plan";
873
+ readonly example: "Plan A";
874
+ };
875
+ readonly phaseName: {
876
+ readonly type: "string";
877
+ readonly description: "Name of the phase";
878
+ readonly example: "Phase A";
879
+ };
880
+ readonly usageName: {
881
+ readonly type: "string";
882
+ readonly description: "Name of the usage";
883
+ readonly example: "Usage A";
884
+ };
885
+ readonly prettyProductName: {
886
+ readonly type: "string";
887
+ readonly description: "Pretty name of the product";
888
+ readonly example: "Research team";
889
+ };
890
+ readonly prettyPlanName: {
891
+ readonly type: "string";
892
+ readonly description: "Pretty name of the plan";
893
+ readonly example: "Plan A";
894
+ };
895
+ readonly prettyPhaseName: {
896
+ readonly type: "string";
897
+ readonly description: "Pretty name of the phase";
898
+ readonly example: "Phase A";
899
+ };
900
+ readonly prettyUsageName: {
901
+ readonly type: "string";
902
+ readonly description: "Pretty name of the usage";
903
+ readonly example: "Usage A";
904
+ };
905
+ readonly itemType: {
906
+ readonly type: "string";
907
+ readonly description: "Type of the invoice item";
908
+ readonly example: "EXTERNAL_CHARGE";
909
+ readonly enum: readonly ["EXTERNAL_CHARGE", "FIXED", "RECURRING", "REPAIR_ADJ", "CBA_ADJ", "CREDIT_ADJ", "ITEM_ADJ", "USAGE", "TAX", "PARENT_SUMMARY"];
910
+ };
911
+ readonly description: {
912
+ readonly type: "string";
913
+ readonly description: "Description of the invoice item";
914
+ readonly example: "Description of the invoice item";
915
+ };
916
+ readonly startDate: {
917
+ readonly type: "string";
918
+ readonly description: "Start date of the invoice item";
919
+ readonly example: "2019-01-01T00:00:00.000Z";
920
+ };
921
+ readonly endDate: {
922
+ readonly type: "string";
923
+ readonly description: "End date of the invoice item";
924
+ readonly example: "2019-01-01T00:00:00.000Z";
925
+ };
926
+ readonly amount: {
927
+ readonly type: "number";
928
+ readonly format: "float";
929
+ readonly description: "Amount of the invoice item";
930
+ readonly example: 100;
931
+ };
932
+ readonly rate: {
933
+ readonly type: "number";
934
+ readonly format: "float";
935
+ readonly description: "Rate of the invoice item";
936
+ readonly example: 100;
937
+ };
938
+ readonly currency: {
939
+ readonly type: "string";
940
+ readonly description: "Currency of the invoice item";
941
+ readonly example: "USD";
942
+ 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"];
943
+ };
944
+ readonly quantity: {
945
+ readonly type: "number";
946
+ readonly format: "float";
947
+ readonly description: "Quantity of the invoice item";
948
+ readonly example: 1;
949
+ };
950
+ readonly itemDetails: {
951
+ readonly type: "string";
952
+ readonly description: "Details of the invoice item";
953
+ readonly example: "Details of the invoice item";
954
+ };
955
+ readonly catalogEffectiveDate: {
956
+ readonly type: "string";
957
+ readonly description: "Effective date of the catalog";
958
+ readonly example: "2019-01-01T00:00:00.000Z";
959
+ };
960
+ readonly childItems: {
961
+ readonly type: "array";
962
+ readonly items: {
963
+ readonly oneOf: readonly [{
964
+ readonly type: "array";
965
+ }, {
966
+ readonly type: "boolean";
967
+ }, {
968
+ readonly type: "number";
969
+ }, {
970
+ readonly type: "object";
971
+ readonly additionalProperties: true;
972
+ }, {
973
+ readonly type: "string";
974
+ }];
975
+ };
976
+ readonly description: "Child items of the invoice item";
977
+ };
978
+ };
979
+ readonly additionalProperties: false;
980
+ };
981
+ readonly description: "Credits of the invoice";
982
+ };
983
+ readonly items: {
984
+ readonly type: "array";
985
+ readonly items: {
986
+ readonly type: "object";
987
+ readonly properties: {
988
+ readonly id: {
989
+ readonly type: "string";
990
+ readonly format: "uuid";
991
+ readonly description: "Unique identifier of the invoice item. UUID v4 string in canonical form";
992
+ readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
993
+ };
994
+ readonly linkedInvoiceItemId: {
995
+ readonly type: "string";
996
+ readonly format: "uuid";
997
+ readonly description: "Unique identifier of the linked invoice item. UUID v4 string in canonical form";
998
+ readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
999
+ };
1000
+ readonly productName: {
1001
+ readonly type: "string";
1002
+ readonly description: "Name of the product";
1003
+ readonly example: "Research team";
1004
+ };
1005
+ readonly planName: {
1006
+ readonly type: "string";
1007
+ readonly description: "Name of the plan";
1008
+ readonly example: "Plan A";
1009
+ };
1010
+ readonly phaseName: {
1011
+ readonly type: "string";
1012
+ readonly description: "Name of the phase";
1013
+ readonly example: "Phase A";
1014
+ };
1015
+ readonly usageName: {
1016
+ readonly type: "string";
1017
+ readonly description: "Name of the usage";
1018
+ readonly example: "Usage A";
1019
+ };
1020
+ readonly prettyProductName: {
1021
+ readonly type: "string";
1022
+ readonly description: "Pretty name of the product";
1023
+ readonly example: "Research team";
1024
+ };
1025
+ readonly prettyPlanName: {
1026
+ readonly type: "string";
1027
+ readonly description: "Pretty name of the plan";
1028
+ readonly example: "Plan A";
1029
+ };
1030
+ readonly prettyPhaseName: {
1031
+ readonly type: "string";
1032
+ readonly description: "Pretty name of the phase";
1033
+ readonly example: "Phase A";
1034
+ };
1035
+ readonly prettyUsageName: {
1036
+ readonly type: "string";
1037
+ readonly description: "Pretty name of the usage";
1038
+ readonly example: "Usage A";
1039
+ };
1040
+ readonly itemType: {
1041
+ readonly type: "string";
1042
+ readonly description: "Type of the invoice item";
1043
+ readonly example: "EXTERNAL_CHARGE";
1044
+ readonly enum: readonly ["EXTERNAL_CHARGE", "FIXED", "RECURRING", "REPAIR_ADJ", "CBA_ADJ", "CREDIT_ADJ", "ITEM_ADJ", "USAGE", "TAX", "PARENT_SUMMARY"];
1045
+ };
1046
+ readonly description: {
1047
+ readonly type: "string";
1048
+ readonly description: "Description of the invoice item";
1049
+ readonly example: "Description of the invoice item";
1050
+ };
1051
+ readonly startDate: {
1052
+ readonly type: "string";
1053
+ readonly description: "Start date of the invoice item";
1054
+ readonly example: "2019-01-01T00:00:00.000Z";
1055
+ };
1056
+ readonly endDate: {
1057
+ readonly type: "string";
1058
+ readonly description: "End date of the invoice item";
1059
+ readonly example: "2019-01-01T00:00:00.000Z";
1060
+ };
1061
+ readonly amount: {
1062
+ readonly type: "number";
1063
+ readonly format: "float";
1064
+ readonly description: "Amount of the invoice item";
1065
+ readonly example: 100;
1066
+ };
1067
+ readonly rate: {
1068
+ readonly type: "number";
1069
+ readonly format: "float";
1070
+ readonly description: "Rate of the invoice item";
1071
+ readonly example: 100;
1072
+ };
1073
+ readonly currency: {
1074
+ readonly type: "string";
1075
+ readonly description: "Currency of the invoice item";
1076
+ readonly example: "USD";
1077
+ 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"];
1078
+ };
1079
+ readonly quantity: {
1080
+ readonly type: "number";
1081
+ readonly format: "float";
1082
+ readonly description: "Quantity of the invoice item";
1083
+ readonly example: 1;
1084
+ };
1085
+ readonly itemDetails: {
1086
+ readonly type: "string";
1087
+ readonly description: "Details of the invoice item";
1088
+ readonly example: "Details of the invoice item";
1089
+ };
1090
+ readonly catalogEffectiveDate: {
1091
+ readonly type: "string";
1092
+ readonly description: "Effective date of the catalog";
1093
+ readonly example: "2019-01-01T00:00:00.000Z";
1094
+ };
1095
+ readonly childItems: {
1096
+ readonly type: "array";
1097
+ readonly items: {
1098
+ readonly oneOf: readonly [{
1099
+ readonly type: "array";
1100
+ }, {
1101
+ readonly type: "boolean";
1102
+ }, {
1103
+ readonly type: "number";
1104
+ }, {
1105
+ readonly type: "object";
1106
+ readonly additionalProperties: true;
1107
+ }, {
1108
+ readonly type: "string";
1109
+ }];
1110
+ };
1111
+ readonly description: "Child items of the invoice item";
1112
+ };
1113
+ };
1114
+ readonly additionalProperties: false;
1115
+ };
1116
+ readonly description: "Items of the invoice";
1117
+ };
1118
+ };
1119
+ readonly additionalProperties: false;
1120
+ };
1121
+ export declare const MarketplaceListingSchema: {
1122
+ readonly type: "object";
1123
+ readonly properties: {
1124
+ readonly id: {
1125
+ readonly type: "string";
1126
+ readonly maxLength: 63;
1127
+ readonly minLength: 1;
1128
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
1129
+ readonly description: "Id of the chart listing";
1130
+ readonly example: "portworx-enterprise-disaster-recovery-baremetal";
1131
+ };
1132
+ readonly name: {
1133
+ readonly type: "string";
1134
+ readonly description: "Name of the chart listing";
1135
+ readonly example: "Portworx Enterprise + Disaster Recovery - Baremetal";
1136
+ };
1137
+ readonly developer: {
1138
+ readonly type: "string";
1139
+ readonly description: "Author of the chart listing";
1140
+ readonly example: "Portworx";
1141
+ };
1142
+ readonly description: {
1143
+ readonly type: "string";
1144
+ readonly description: "Short description of the chart listing";
1145
+ readonly example: "Run Kubernetes with unmatched scalability, availability, and self-service access to any storage";
1146
+ };
1147
+ readonly logoUrl: {
1148
+ readonly type: "string";
1149
+ readonly description: "Logo of the chart listing";
1150
+ readonly example: "https://portworx.com/wp-content/themes/portworx/assets/images/header/portworx-logo.png";
1151
+ };
1152
+ readonly longDescription: {
1153
+ readonly type: "string";
1154
+ readonly description: "Long description of the chart listing";
1155
+ readonly example: "Portworx-Enterprise is the complete multi-cloud ready Kubernetes storage platform for running mission-critical apps in production....";
1156
+ };
1157
+ readonly categories: {
1158
+ readonly type: "array";
1159
+ readonly items: {
1160
+ readonly type: "string";
1161
+ readonly example: "AI & Machine Learning";
1162
+ };
1163
+ readonly description: "Tags of the chart";
1164
+ };
1165
+ readonly version_channels: {
1166
+ readonly type: "array";
1167
+ readonly items: {
1168
+ readonly type: "string";
1169
+ 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-]+)*))?$";
1170
+ readonly description: "Version of the chart.";
1171
+ readonly example: "2.x.x-cfke.x";
1172
+ };
1173
+ };
1174
+ readonly value_schemas: {
1175
+ readonly type: "array";
1176
+ readonly items: {
1177
+ readonly type: "object";
1178
+ readonly properties: {
1179
+ readonly version: {
1180
+ readonly type: "string";
1181
+ 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-]+)*))?$";
1182
+ readonly description: "Version of the chart.";
1183
+ readonly example: "2.1.1-cfke.123";
1184
+ };
1185
+ readonly schema: {
1186
+ readonly type: "string";
1187
+ readonly description: "Schema of the chart values. JSON Schema as string";
1188
+ };
1189
+ readonly placeholder: {
1190
+ readonly type: "string";
1191
+ readonly description: "Schema of the chart values";
1192
+ readonly example: "foo: 1\nbar: example";
1193
+ };
1194
+ };
1195
+ readonly required: readonly ["version", "schema", "placeholder"];
1196
+ readonly additionalProperties: false;
1197
+ };
1198
+ };
1199
+ };
1200
+ readonly required: readonly ["id", "name", "developer", "description", "logoUrl", "longDescription", "categories", "version_channels", "value_schemas"];
1201
+ readonly additionalProperties: false;
1202
+ };
1203
+ export declare const OrganizationCreateInputSchema: {
1204
+ readonly type: "object";
1205
+ readonly properties: {
1206
+ readonly email: {
1207
+ readonly type: "string";
1208
+ readonly format: "email";
1209
+ readonly description: "Email address used for billing as a string.";
1210
+ readonly example: "email@example.com";
1211
+ };
1212
+ readonly first_name: {
1213
+ readonly type: "string";
1214
+ readonly description: "First name of the billing contact person.";
1215
+ readonly example: "John";
1216
+ };
1217
+ readonly last_name: {
1218
+ readonly type: "string";
1219
+ readonly description: "Last name of the billing contact person.";
1220
+ readonly example: "Doe";
1221
+ };
1222
+ readonly company_name: {
1223
+ readonly type: "string";
1224
+ readonly maxLength: 120;
1225
+ readonly minLength: 2;
1226
+ readonly pattern: "^(?!\\s)(?!.*\\s$)(?=.*[a-zA-ZÆÐƎƏƐƔIJŊŒẞÞǷȜæðǝəɛɣijŋœĸſßþƿȝĄƁÇĐƊĘĦĮƘŁØƠŞȘŢȚŦŲƯY̨Ƴąɓçđɗęħįƙłøơşșţțŧųưy̨ƴÁÀÂÄǍĂĀÃÅǺĄÆǼǢƁĆĊĈČÇĎḌĐƊÐÉÈĖÊËĚĔĒĘẸƎƏƐĠĜǦĞĢƔáàâäǎăāãåǻąæǽǣɓćċĉčçďḍđɗðéèėêëěĕēęẹǝəɛġĝǧğģɣĤḤĦIÍÌİÎÏǏĬĪĨĮỊIJĴĶƘĹĻŁĽĿʼNŃN̈ŇÑŅŊÓÒÔÖǑŎŌÕŐỌØǾƠŒĥḥħıíìiîïǐĭīĩįịijĵķƙĸĺļłľŀʼnńn̈ňñņŋóòôöǒŏōõőọøǿơœŔŘŖŚŜŠŞȘṢẞŤŢṬŦÞÚÙÛÜǓŬŪŨŰŮŲỤƯẂẀŴẄǷÝỲŶŸȲỸƳŹŻŽẒŕřŗſśŝšşșṣßťţṭŧþúùûüǔŭūũűůųụưẃẁŵẅƿýỳŷÿȳỹƴźżžẓ0-9])[a-zA-ZÆÐƎƏƐƔIJŊŒẞÞǷȜæðǝəɛɣijŋœĸſßþƿȝĄƁÇĐƊĘĦĮƘŁØƠŞȘŢȚŦŲƯY̨Ƴąɓçđɗęħįƙłøơşșţțŧųưy̨ƴÁÀÂÄǍĂĀÃÅǺĄÆǼǢƁĆĊĈČÇĎḌĐƊÐÉÈĖÊËĚĔĒĘẸƎƏƐĠĜǦĞĢƔáàâäǎăāãåǻąæǽǣɓćċĉčçďḍđɗðéèėêëěĕēęẹǝəɛġĝǧğģɣĤḤĦIÍÌİÎÏǏĬĪĨĮỊIJĴĶƘĹĻŁĽĿʼNŃN̈ŇÑŅŊÓÒÔÖǑŎŌÕŐỌØǾƠŒĥḥħıíìiîïǐĭīĩįịijĵķƙĸĺļłľŀʼnńn̈ňñņŋóòôöǒŏōõőọøǿơœŔŘŖŚŜŠŞȘṢẞŤŢṬŦÞÚÙÛÜǓŬŪŨŰŮŲỤƯẂẀŴẄǷÝỲŶŸȲỸƳŹŻŽẒŕřŗſśŝšşșṣßťţṭŧþúùûüǔŭūũűůųụưẃẁŵẅƿýỳŷÿȳỹƴźżžẓ0-9 -.]{2,}$";
1227
+ readonly description: "Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.";
1228
+ readonly example: "ACME Corp.";
1229
+ };
1230
+ readonly password: {
1231
+ readonly type: "string";
1232
+ readonly minLength: 8;
1233
+ 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.";
1234
+ };
1235
+ };
1236
+ readonly required: readonly ["email", "first_name", "last_name", "company_name", "password"];
1237
+ readonly additionalProperties: false;
1238
+ };
1239
+ export declare const OrganizationSchema: {
1240
+ readonly type: "object";
1241
+ readonly properties: {
1242
+ readonly id: {
1243
+ readonly type: "string";
1244
+ readonly format: "uuid";
1245
+ readonly description: "Unique identifier of the organization. UUID v4 string in canonical form";
1246
+ readonly example: "e94d30ec-a2dd-4dcb-832c-ac2be144ba91";
1247
+ };
1248
+ readonly name: {
1249
+ readonly type: "string";
1250
+ readonly maxLength: 120;
1251
+ readonly minLength: 2;
1252
+ readonly description: "Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.";
1253
+ readonly example: "ACME Corp.";
1254
+ };
1255
+ readonly date_created: {
1256
+ readonly type: "string";
1257
+ readonly format: "date-time";
1258
+ readonly description: "Creation date of the organization. ISO 8601 date string in UTC timezone";
1259
+ readonly example: "2023-11-02T16:08:14.338Z";
1260
+ };
1261
+ readonly quota: {
1262
+ readonly type: "object";
1263
+ readonly properties: {
1264
+ readonly basic_clusters_max: {
1265
+ readonly type: "integer";
1266
+ readonly minimum: 0;
1267
+ readonly description: "Maximum number of Basic clusters that can be created.";
1268
+ readonly example: 999;
1269
+ };
1270
+ readonly basic_clusters_available: {
1271
+ readonly type: "integer";
1272
+ readonly description: "Available number of Basic clusters that can be created.";
1273
+ readonly example: 999;
1274
+ };
1275
+ readonly pro_clusters_max: {
1276
+ readonly type: "integer";
1277
+ readonly minimum: 0;
1278
+ readonly description: "Maximum number of Pro clusters that can be created.";
1279
+ readonly example: 999;
1280
+ };
1281
+ readonly pro_clusters_available: {
1282
+ readonly type: "integer";
1283
+ readonly description: "Available number of Pro clusters that can be created.";
1284
+ readonly example: 999;
1285
+ };
1286
+ readonly fleets_max: {
1287
+ readonly type: "integer";
1288
+ readonly minimum: 0;
1289
+ readonly description: "Maximum number of fleets that can be created per cluster.";
1290
+ readonly example: 999;
1291
+ };
1292
+ readonly managed_fleets_cpu_max: {
1293
+ readonly type: "integer";
1294
+ readonly minimum: 0;
1295
+ readonly description: "Maximum number of CPU cores per managed fleet.";
1296
+ readonly example: 999;
1297
+ };
1298
+ readonly cluster_tiers: {
1299
+ readonly type: "array";
1300
+ readonly items: {
1301
+ readonly type: "string";
1302
+ readonly example: "basic";
1303
+ };
1304
+ readonly minItems: 0;
1305
+ readonly description: "List of Cloudfleet cluster tiers available for the organization.";
1306
+ };
1307
+ readonly regions: {
1308
+ readonly type: "array";
1309
+ readonly items: {
1310
+ readonly type: "string";
1311
+ readonly example: "northamerica-central-1";
1312
+ };
1313
+ readonly minItems: 1;
1314
+ readonly description: "List of Cloudfleet control plane regions available for the organization.";
1315
+ };
1316
+ readonly versions: {
1317
+ readonly type: "array";
1318
+ readonly items: {
1319
+ readonly type: "object";
1320
+ readonly properties: {
1321
+ readonly id: {
1322
+ readonly type: "string";
1323
+ readonly description: "Id of the control plane version. Used in API calls.";
1324
+ readonly example: "1.29.x-cfke.x";
1325
+ };
1326
+ readonly label: {
1327
+ readonly type: "string";
1328
+ readonly description: "Label of the control plane version. Used in frontent UI.";
1329
+ readonly example: "1.29.x (Always latest 1.29 patch version)";
1330
+ };
1331
+ };
1332
+ readonly required: readonly ["id", "label"];
1333
+ readonly additionalProperties: false;
1334
+ };
1335
+ readonly minItems: 1;
1336
+ readonly description: "List of CFKE control plane versions available for the organization.";
1337
+ };
1338
+ };
1339
+ readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "managed_fleets_cpu_max", "cluster_tiers", "regions", "versions"];
1340
+ readonly additionalProperties: false;
1341
+ 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.";
1342
+ };
1343
+ readonly status: {
1344
+ readonly type: "string";
1345
+ readonly description: "Status of the organization. Can be `active` or `closed`, or `suspended`.";
1346
+ readonly enum: readonly ["active", "closed", "suspended"];
1347
+ };
1348
+ };
1349
+ readonly required: readonly ["id", "date_created", "quota", "status"];
1350
+ readonly additionalProperties: false;
1351
+ };
1352
+ export declare const PaymentMethodSchema: {
1353
+ readonly type: "object";
1354
+ readonly properties: {
1355
+ readonly id: {
1356
+ readonly type: "string";
1357
+ readonly format: "uuid";
1358
+ readonly description: "Unique identifier of the organization. UUID v4 string in canonical form.";
1359
+ readonly example: "e94d30ec-a2dd-4dcb-832c-ac2be144ba91";
1360
+ };
1361
+ readonly setup: {
1362
+ readonly type: "boolean";
1363
+ readonly description: "Whether organization payment method was set up and ready to use for payments.";
1364
+ readonly example: true;
1365
+ };
1366
+ readonly type: {
1367
+ readonly type: "string";
1368
+ readonly nullable: true;
1369
+ readonly description: "Payment method type type. Only `card` payments supported at the moment.";
1370
+ readonly example: "card";
1371
+ readonly enum: readonly ["card"];
1372
+ };
1373
+ readonly last4: {
1374
+ readonly type: "string";
1375
+ readonly nullable: true;
1376
+ readonly description: "Last 4 digits of the payment card number.";
1377
+ readonly example: "4242";
1378
+ };
1379
+ readonly exp_month: {
1380
+ readonly type: "integer";
1381
+ readonly minimum: 1;
1382
+ readonly maximum: 12;
1383
+ readonly nullable: true;
1384
+ readonly description: "Two-digit number representing the card's expiration month.";
1385
+ readonly example: "12";
1386
+ };
1387
+ readonly exp_year: {
1388
+ readonly type: "integer";
1389
+ readonly minimum: 2024;
1390
+ readonly nullable: true;
1391
+ readonly description: "Four-digit number representing the card's expiration year.";
1392
+ readonly example: "2028";
1393
+ };
1394
+ readonly brand: {
1395
+ readonly type: "string";
1396
+ readonly nullable: true;
1397
+ readonly description: "Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.";
1398
+ readonly example: "visa";
1399
+ readonly enum: readonly ["amex", "diners", "discover", "eftpos_au", "jcb", "mastercard", "unionpay", "visa", "unknown"];
1400
+ };
1401
+ };
1402
+ readonly required: readonly ["id", "setup", "type", "last4", "exp_month", "exp_year", "brand"];
1403
+ readonly additionalProperties: false;
1404
+ };
1405
+ export declare const TokenCreateInputSchema: {
1406
+ readonly type: "object";
1407
+ readonly properties: {
1408
+ readonly name: {
1409
+ readonly type: "string";
1410
+ readonly maxLength: 63;
1411
+ readonly minLength: 1;
1412
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
1413
+ readonly description: "Human readable access token name.";
1414
+ readonly example: "deployment-token";
1415
+ };
1416
+ readonly role: {
1417
+ readonly type: "string";
1418
+ readonly description: "Role assumed by the token.";
1419
+ readonly example: "User";
1420
+ readonly enum: readonly ["Administrator", "User"];
1421
+ };
1422
+ };
1423
+ readonly required: readonly ["name", "role"];
1424
+ readonly additionalProperties: false;
1425
+ };
1426
+ export declare const TokenSchema: {
1427
+ readonly type: "object";
1428
+ readonly properties: {
1429
+ readonly name: {
1430
+ readonly type: "string";
1431
+ readonly maxLength: 63;
1432
+ readonly minLength: 1;
1433
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
1434
+ readonly description: "Human readable access token name.";
1435
+ readonly example: "deployment-token";
1436
+ };
1437
+ readonly role: {
1438
+ readonly type: "string";
1439
+ readonly description: "Role assumed by the token.";
1440
+ readonly example: "User";
1441
+ readonly enum: readonly ["Administrator", "User"];
1442
+ };
1443
+ readonly id: {
1444
+ readonly type: "string";
1445
+ readonly description: "Generated unique identifier of the access token.";
1446
+ readonly example: "7kUZnH7nnKUFfvc4NK2KQF";
1447
+ };
1448
+ readonly secret: {
1449
+ readonly type: "string";
1450
+ readonly description: "Access token secret. Unmasked only during creation.";
1451
+ readonly example: "vq4SCMBsrgmBxbax80WDXuXoFNZAckI8";
1452
+ };
1453
+ readonly date_created: {
1454
+ readonly type: "string";
1455
+ readonly format: "date-time";
1456
+ readonly description: "Creation date of the access token. ISO 8601 date string in UTC timezone";
1457
+ readonly example: "2023-12-20T13:53:32.000Z";
1458
+ };
1459
+ };
1460
+ readonly required: readonly ["name", "role", "date_created"];
1461
+ readonly additionalProperties: false;
1462
+ };
1463
+ export declare const TokenUpdateInputSchema: {
1464
+ readonly type: "object";
1465
+ readonly properties: {
1466
+ readonly name: {
1467
+ readonly type: "string";
1468
+ readonly maxLength: 63;
1469
+ readonly minLength: 1;
1470
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
1471
+ readonly description: "Human readable access token name.";
1472
+ readonly example: "deployment-token";
1473
+ };
1474
+ readonly role: {
1475
+ readonly type: "string";
1476
+ readonly description: "Role assumed by the token.";
1477
+ readonly example: "User";
1478
+ readonly enum: readonly ["Administrator", "User"];
1479
+ };
1480
+ };
1481
+ readonly additionalProperties: false;
1482
+ };
1483
+ export declare const UsageSchema: {
1484
+ readonly type: "object";
1485
+ readonly properties: {
1486
+ readonly hour: {
1487
+ readonly type: "string";
1488
+ readonly description: "Hour of the usage";
1489
+ readonly example: "2019-01-01T00:00:00.000Z";
1490
+ };
1491
+ readonly cluster_id: {
1492
+ readonly type: "string";
1493
+ readonly format: "uuid";
1494
+ readonly description: "Unique identifier of the kubernetes cluster. UUID v4 string in canonical form";
1495
+ readonly example: "6b5439b1-923a-4f2b-a371-d554e5ea23fa";
1496
+ };
1497
+ readonly cluster_tier: {
1498
+ readonly type: "string";
1499
+ readonly description: "Tier of the cluster.";
1500
+ readonly example: "pro";
1501
+ readonly enum: readonly [""];
1502
+ };
1503
+ readonly product: {
1504
+ readonly type: "string";
1505
+ readonly description: "The product the usage is associated with";
1506
+ readonly example: "cfke_controlplane";
1507
+ readonly enum: readonly ["cfke_controlplane", "cfke_connected_nodes", "infra_compute", "infra_storage", "infra_loadbalancing", "infra_traffic", "cfcr_storage"];
1508
+ };
1509
+ readonly node_name: {
1510
+ readonly type: "string";
1511
+ readonly description: "Name of the Kubernetes node";
1512
+ readonly example: "flexible-moth-956037384";
1513
+ };
1514
+ readonly sku: {
1515
+ readonly type: "string";
1516
+ readonly description: "SKU of the Kubernetes node";
1517
+ readonly example: "GCP-NORTHAMERICA-NORTHEAST1-A-G1-SMALL-SPOT";
1518
+ };
1519
+ readonly cpu: {
1520
+ readonly anyOf: readonly [{
1521
+ readonly type: "number";
1522
+ readonly format: "float";
1523
+ readonly description: "CPU core count of the node";
1524
+ readonly example: 4;
1525
+ }, {
1526
+ readonly type: "string";
1527
+ readonly enum: readonly [""];
1528
+ }];
1529
+ };
1530
+ readonly price: {
1531
+ readonly anyOf: readonly [{
1532
+ readonly type: "number";
1533
+ readonly format: "float";
1534
+ readonly description: "Price";
1535
+ readonly example: 4;
1536
+ }, {
1537
+ readonly type: "string";
1538
+ readonly enum: readonly [""];
1539
+ }];
1540
+ };
1541
+ readonly value: {
1542
+ readonly anyOf: readonly [{
1543
+ readonly type: "number";
1544
+ readonly format: "float";
1545
+ readonly description: "Value";
1546
+ readonly example: 4;
1547
+ }, {
1548
+ readonly type: "string";
1549
+ readonly enum: readonly [""];
1550
+ }];
1551
+ };
1552
+ readonly total: {
1553
+ readonly anyOf: readonly [{
1554
+ readonly type: "number";
1555
+ readonly format: "float";
1556
+ readonly description: "Total";
1557
+ readonly example: 4;
1558
+ }, {
1559
+ readonly type: "string";
1560
+ readonly enum: readonly [""];
1561
+ }];
1562
+ };
1563
+ };
1564
+ readonly required: readonly ["cluster_id", "cluster_tier", "product", "node_name", "sku", "cpu", "price", "value", "total"];
1565
+ readonly additionalProperties: false;
1566
+ };
1567
+ export declare const UserCreateInputSchema: {
1568
+ readonly type: "object";
1569
+ readonly properties: {
1570
+ readonly email: {
1571
+ readonly type: "string";
1572
+ readonly format: "email";
1573
+ readonly description: "User email address.";
1574
+ readonly example: "email@example.com";
1575
+ };
1576
+ readonly first_name: {
1577
+ readonly type: "string";
1578
+ readonly maxLength: 50;
1579
+ readonly minLength: 1;
1580
+ readonly description: "User first name.";
1581
+ readonly example: "John";
1582
+ };
1583
+ readonly last_name: {
1584
+ readonly type: "string";
1585
+ readonly maxLength: 50;
1586
+ readonly minLength: 1;
1587
+ readonly description: "User last name.";
1588
+ readonly example: "Doe";
1589
+ };
1590
+ readonly code: {
1591
+ readonly type: "string";
1592
+ readonly length: 22;
1593
+ readonly description: "Generated unique invite code.";
1594
+ readonly example: "7kUZnH7nnKUFfvc4NK2KQF";
1595
+ };
1596
+ readonly password: {
1597
+ readonly type: "string";
1598
+ readonly minLength: 8;
1599
+ readonly description: "User password. Must be at least 8 characters long.";
1600
+ };
1601
+ readonly status: {
1602
+ readonly type: "string";
1603
+ readonly description: "Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.";
1604
+ readonly example: "active";
1605
+ readonly enum: readonly ["active", "inactive"];
1606
+ };
1607
+ readonly role: {
1608
+ readonly type: "string";
1609
+ readonly description: "User role. Can be 'Administrator', 'User'.";
1610
+ readonly example: "User";
1611
+ readonly enum: readonly ["Administrator", "User"];
1612
+ };
1613
+ };
1614
+ readonly required: readonly ["email", "first_name", "last_name", "code", "password"];
1615
+ readonly additionalProperties: false;
1616
+ };
1617
+ export declare const UserSchema: {
1618
+ readonly type: "object";
1619
+ readonly properties: {
1620
+ readonly email: {
1621
+ readonly type: "string";
1622
+ readonly format: "email";
1623
+ readonly description: "User email address.";
1624
+ readonly example: "email@example.com";
1625
+ };
1626
+ readonly first_name: {
1627
+ readonly type: "string";
1628
+ readonly maxLength: 50;
1629
+ readonly minLength: 1;
1630
+ readonly description: "User first name.";
1631
+ readonly example: "John";
1632
+ };
1633
+ readonly last_name: {
1634
+ readonly type: "string";
1635
+ readonly maxLength: 50;
1636
+ readonly minLength: 1;
1637
+ readonly description: "User last name.";
1638
+ readonly example: "Doe";
1639
+ };
1640
+ readonly role: {
1641
+ readonly type: "string";
1642
+ readonly description: "User role. Can be 'Administrator', 'User'.";
1643
+ readonly example: "User";
1644
+ readonly enum: readonly ["Administrator", "User"];
1645
+ };
1646
+ readonly status: {
1647
+ readonly type: "string";
1648
+ readonly description: "Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.";
1649
+ readonly example: "active";
1650
+ readonly enum: readonly ["active", "inactive"];
1651
+ };
1652
+ readonly id: {
1653
+ readonly type: "string";
1654
+ readonly format: "uuid";
1655
+ readonly description: "Unique identifier of the user. UUID v4 string in canonical form";
1656
+ readonly example: "e94d30ec-a2dd-4dcb-832c-ac2be144ba91";
1657
+ };
1658
+ readonly date_created: {
1659
+ readonly type: "string";
1660
+ readonly format: "date-time";
1661
+ readonly description: "Creation date of the user. ISO 8601 date string in UTC timezone";
1662
+ readonly example: "2023-11-02T16:08:14.338Z";
1663
+ };
1664
+ };
1665
+ readonly required: readonly ["email", "first_name", "last_name", "role", "status", "id", "date_created"];
1666
+ readonly additionalProperties: false;
1667
+ };
1668
+ export declare const UserUpdateInputSchema: {
1669
+ readonly type: "object";
1670
+ readonly properties: {
1671
+ readonly email: {
1672
+ readonly type: "string";
1673
+ readonly format: "email";
1674
+ readonly description: "User email address.";
1675
+ readonly example: "email@example.com";
1676
+ };
1677
+ readonly first_name: {
1678
+ readonly type: "string";
1679
+ readonly maxLength: 50;
1680
+ readonly minLength: 1;
1681
+ readonly description: "User first name.";
1682
+ readonly example: "John";
1683
+ };
1684
+ readonly last_name: {
1685
+ readonly type: "string";
1686
+ readonly maxLength: 50;
1687
+ readonly minLength: 1;
1688
+ readonly description: "User last name.";
1689
+ readonly example: "Doe";
1690
+ };
1691
+ readonly role: {
1692
+ readonly type: "string";
1693
+ readonly description: "User role. Can be 'Administrator', 'User'.";
1694
+ readonly example: "User";
1695
+ readonly enum: readonly ["Administrator", "User"];
1696
+ };
1697
+ readonly status: {
1698
+ readonly type: "string";
1699
+ readonly description: "Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.";
1700
+ readonly example: "active";
1701
+ readonly enum: readonly ["active", "inactive"];
1702
+ };
1703
+ };
1704
+ readonly additionalProperties: false;
1705
+ };
1706
+ //# sourceMappingURL=schemas.gen.d.ts.map