@cloudfleet/sdk 0.0.1-5a83a44 → 0.0.1-5ceb5df

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 (88) hide show
  1. package/README.md +26 -2
  2. package/dist/@tanstack/react-query.gen.d.ts +1054 -0
  3. package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
  4. package/dist/@tanstack/react-query.gen.js +1215 -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 +9 -0
  11. package/dist/client/index.d.ts.map +1 -0
  12. package/dist/client/index.js +7 -0
  13. package/dist/client/index.js.map +1 -0
  14. package/dist/client/types.gen.d.ts +121 -0
  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.gen.d.ts +38 -0
  19. package/dist/client/utils.gen.d.ts.map +1 -0
  20. package/dist/client/utils.gen.js +229 -0
  21. package/dist/client/utils.gen.js.map +1 -0
  22. package/dist/client.gen.d.ts +13 -0
  23. package/dist/client.gen.d.ts.map +1 -0
  24. package/dist/client.gen.js +4 -0
  25. package/dist/client.gen.js.map +1 -0
  26. package/dist/core/auth.gen.d.ts +19 -0
  27. package/dist/core/auth.gen.d.ts.map +1 -0
  28. package/dist/core/auth.gen.js +15 -0
  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.gen.js +58 -0
  33. package/dist/core/bodySerializer.gen.js.map +1 -0
  34. package/dist/core/params.gen.d.ts +44 -0
  35. package/dist/core/params.gen.d.ts.map +1 -0
  36. package/dist/core/params.gen.js +101 -0
  37. package/dist/core/params.gen.js.map +1 -0
  38. package/dist/core/pathSerializer.gen.d.ts +34 -0
  39. package/dist/core/pathSerializer.gen.d.ts.map +1 -0
  40. package/dist/core/pathSerializer.gen.js +107 -0
  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.gen.d.ts +79 -0
  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/index.d.ts +3 -0
  59. package/dist/index.d.ts.map +1 -1
  60. package/dist/index.js +3 -0
  61. package/dist/index.js.map +1 -1
  62. package/dist/schemas.gen.d.ts +1918 -1124
  63. package/dist/schemas.gen.d.ts.map +1 -1
  64. package/dist/schemas.gen.js +3322 -1228
  65. package/dist/schemas.gen.js.map +1 -1
  66. package/dist/sdk.gen.d.ts +352 -198
  67. package/dist/sdk.gen.d.ts.map +1 -1
  68. package/dist/sdk.gen.js +468 -296
  69. package/dist/sdk.gen.js.map +1 -1
  70. package/dist/services/kubernetes/api.d.ts +196 -0
  71. package/dist/services/kubernetes/api.d.ts.map +1 -0
  72. package/dist/services/kubernetes/api.js +140 -0
  73. package/dist/services/kubernetes/api.js.map +1 -0
  74. package/dist/services/kubernetes/index.d.ts +44 -0
  75. package/dist/services/kubernetes/index.d.ts.map +1 -0
  76. package/dist/services/kubernetes/index.js +68 -0
  77. package/dist/services/kubernetes/index.js.map +1 -0
  78. package/dist/services/kubernetes/types.d.ts +1335 -0
  79. package/dist/services/kubernetes/types.d.ts.map +1 -0
  80. package/dist/services/kubernetes/types.js +2 -0
  81. package/dist/services/kubernetes/types.js.map +1 -0
  82. package/dist/types.gen.d.ts +1998 -1222
  83. package/dist/types.gen.d.ts.map +1 -1
  84. package/dist/zod.gen.d.ts +3998 -2913
  85. package/dist/zod.gen.d.ts.map +1 -1
  86. package/dist/zod.gen.js +1732 -916
  87. package/dist/zod.gen.js.map +1 -1
  88. package/package.json +30 -7
@@ -1,173 +1,304 @@
1
- export declare const ClusterCreateInputSchema: {
1
+ export declare const BasicPriceConsentInputSchema: {
2
2
  readonly type: "object";
3
3
  readonly properties: {
4
- readonly name: {
4
+ readonly decision: {
5
5
  readonly type: "string";
6
- readonly maxLength: 63;
7
- readonly minLength: 1;
8
- readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
9
- readonly description: "Name of the cluster.";
10
- readonly example: "production-cluster";
6
+ readonly description: "The administrator's decision on the new Basic price. `accepted` continues to paid billing when the signup credit runs out; `rejected` opts out (clusters are suspended, never charged). A `rejected` org can later be flipped back to `accepted`.";
7
+ readonly example: "accepted";
8
+ readonly enum: readonly ["accepted", "rejected"];
11
9
  };
12
- readonly region: {
10
+ };
11
+ readonly required: readonly ["decision"];
12
+ readonly additionalProperties: false;
13
+ };
14
+ export declare const BasicPriceConsentSchema: {
15
+ readonly type: "object";
16
+ readonly properties: {
17
+ readonly status: {
13
18
  readonly type: "string";
14
- readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\". This field can not be updated after creation.";
15
- readonly default: "staging";
16
- readonly example: "northamerica-central-1";
17
- readonly enum: readonly ["staging", "northamerica-central-1"];
19
+ readonly description: "Consent status for the new Basic price. `not_applicable` when the organization is not in scope for the migration. `pending` when the organization must opt in but no admin has decided yet. `accepted` / `rejected` reflect the recorded decision.";
20
+ readonly example: "pending";
21
+ readonly enum: readonly ["not_applicable", "pending", "accepted", "rejected"];
18
22
  };
19
- readonly tier: {
23
+ readonly decided_at: {
20
24
  readonly type: "string";
21
- readonly description: "Tier of the cluster.";
22
- readonly example: "pro";
23
- readonly enum: readonly ["basic", "pro"];
25
+ readonly format: "date-time";
26
+ readonly description: "When the current decision was recorded. Absent while `not_applicable` or `pending`.";
27
+ readonly example: "2026-09-05T10:12:00.000Z";
24
28
  };
25
- readonly version_channel: {
29
+ readonly decided_by: {
26
30
  readonly type: "string";
27
- 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-]+)*))?$";
28
- readonly description: "Version of the kubernetes cluster.";
29
- readonly default: "1.x.x-cfke.x";
30
- readonly example: "1.29.x-cfke.x";
31
+ readonly description: "User id of the administrator who recorded the current decision. Absent while `not_applicable` or `pending`.";
32
+ readonly example: "2b7a5c9e-1f4d-4a1b-9c3e-8d2f6a0b1c2d";
31
33
  };
32
34
  };
33
- readonly required: readonly ["name", "tier"];
35
+ readonly required: readonly ["status"];
34
36
  readonly additionalProperties: false;
35
37
  };
36
- export declare const ClusterJoinInformationSchema: {
38
+ export declare const BillingContactSchema: {
37
39
  readonly type: "object";
38
40
  readonly properties: {
39
- readonly certificate_authority: {
41
+ readonly type: {
40
42
  readonly type: "string";
41
- readonly description: "Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.";
42
- readonly example: "-----BEGIN CERTIFICATE-----\nMIIC0DCCAbigAwIBAgI...";
43
+ readonly description: "Type of the organization. `business` for legal entities, `personal` for individuals.";
44
+ readonly example: "business";
45
+ readonly enum: readonly ["business", "personal"];
43
46
  };
44
- readonly endpoint: {
47
+ readonly company: {
45
48
  readonly type: "string";
46
- readonly format: "uri";
47
- readonly description: "Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.";
48
- readonly example: "https://10.31.64.7:6443";
49
+ readonly maxLength: 120;
50
+ readonly minLength: 2;
51
+ 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,}$";
52
+ readonly description: "Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.";
53
+ readonly example: "ACME Corp.";
49
54
  };
50
- readonly auth_key: {
55
+ readonly address1: {
51
56
  readonly type: "string";
52
- readonly description: "Authentication key for the cluster.";
53
- readonly example: "tskey-auth-kBV8wr1dk911CNTRL-...";
57
+ readonly nullable: true;
58
+ readonly description: "Street address, P.O. box, c/o";
59
+ readonly example: "123 Main St.";
54
60
  };
55
- readonly bootstrap_token: {
61
+ readonly address2: {
56
62
  readonly type: "string";
57
- readonly description: "Bootstrap token for the cluster.";
58
- readonly example: "a797d6df6babc2cfdb202ba7.....";
63
+ readonly nullable: true;
64
+ readonly description: "Apartment, suite, unit, building, floor, etc.";
65
+ readonly example: "Suite 100";
59
66
  };
60
- readonly versions: {
61
- readonly type: "object";
62
- readonly properties: {
63
- readonly kubernetes: {
64
- readonly type: "string";
65
- readonly description: "Kubernetes version of the cluster.";
66
- readonly example: "1.29.3";
67
- };
68
- readonly tailscale: {
69
- readonly type: "string";
70
- readonly description: "Tailscale version of the cluster.";
71
- readonly example: "1.74.1";
72
- };
73
- readonly containerd: {
74
- readonly type: "string";
75
- readonly description: "Containerd version of the cluster.";
76
- readonly example: "1.7.19";
77
- };
78
- };
79
- readonly required: readonly ["kubernetes", "tailscale", "containerd"];
80
- readonly additionalProperties: false;
81
- readonly description: "Versions of the different components of the cluster.";
67
+ readonly postalCode: {
68
+ readonly type: "string";
69
+ readonly nullable: true;
70
+ readonly description: "Postal code as a string.";
71
+ readonly example: "94105";
72
+ };
73
+ readonly city: {
74
+ readonly type: "string";
75
+ readonly nullable: true;
76
+ readonly description: "City or town name.";
77
+ readonly example: "San Francisco";
78
+ };
79
+ readonly state: {
80
+ readonly type: "string";
81
+ readonly nullable: true;
82
+ readonly description: "State, province, or region name.";
83
+ readonly example: "CA";
84
+ };
85
+ readonly country: {
86
+ readonly type: "string";
87
+ readonly nullable: true;
88
+ readonly description: "Country as a ISO 3166-1 alpha-2 country code.";
89
+ readonly example: "US";
90
+ };
91
+ readonly phone: {
92
+ readonly type: "string";
93
+ readonly nullable: true;
94
+ readonly description: "Phone number as a string.";
95
+ readonly example: "+1 555 555 5555";
96
+ };
97
+ readonly email: {
98
+ readonly type: "string";
99
+ readonly format: "email";
100
+ readonly description: "Email address used for billing as a string.";
101
+ readonly example: "email@example.com";
102
+ };
103
+ readonly individual_name: {
104
+ readonly type: "string";
105
+ readonly description: "Name of the billing contact person.";
106
+ readonly example: "John Doe";
107
+ };
108
+ readonly tax_id: {
109
+ readonly type: "string";
110
+ readonly nullable: true;
111
+ readonly description: "Tax ID of the organization.";
112
+ readonly example: "DE123456789";
113
+ };
114
+ readonly tax_id_type: {
115
+ readonly type: "string";
116
+ readonly nullable: true;
117
+ readonly description: "Type of the tax ID.";
118
+ readonly example: "de_vat";
119
+ 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
120
  };
83
121
  };
84
- readonly required: readonly ["certificate_authority", "endpoint", "auth_key", "bootstrap_token", "versions"];
122
+ readonly required: readonly ["type", "email", "individual_name"];
85
123
  readonly additionalProperties: false;
86
124
  };
87
- export declare const ClusterSchema: {
125
+ export declare const BillingCreditsSchema: {
126
+ readonly type: "object";
127
+ readonly properties: {
128
+ readonly id: {
129
+ readonly type: "string";
130
+ readonly description: "Generated unique identifier of the promotional code.";
131
+ readonly example: "7kUZnH7nnKUFfvc4NK2KQF";
132
+ };
133
+ readonly type: {
134
+ readonly type: "string";
135
+ readonly description: "Type of the promotional code.";
136
+ readonly example: "credit";
137
+ readonly enum: readonly ["credit", "discount"];
138
+ };
139
+ readonly date_start: {
140
+ readonly type: "string";
141
+ readonly format: "date-time";
142
+ readonly description: "Timestamp when the credit becomes active. ISO 8601 date string in the UTC timezone.";
143
+ readonly example: "2023-12-20T13:53:32.000Z";
144
+ };
145
+ readonly date_end: {
146
+ readonly type: "string";
147
+ readonly format: "date-time";
148
+ readonly description: "Timestamp when the credit expires or becomes inactive. ISO 8601 date string in the UTC timezone.";
149
+ readonly example: "2023-12-20T13:53:32.000Z";
150
+ };
151
+ readonly code: {
152
+ readonly type: "string";
153
+ readonly description: "Promotional code used by the customer.";
154
+ readonly example: "VQ4SCMB";
155
+ };
156
+ readonly description: {
157
+ readonly type: "string";
158
+ readonly description: "Description of the promotional code.";
159
+ readonly example: "10% off on all products";
160
+ };
161
+ readonly value_total: {
162
+ readonly type: "number";
163
+ readonly format: "float";
164
+ readonly description: "Total value of the promotional code.";
165
+ readonly example: 10;
166
+ };
167
+ readonly value_remaining: {
168
+ readonly type: "number";
169
+ readonly format: "float";
170
+ readonly description: "Remaining value of the promotional code.";
171
+ readonly example: 8;
172
+ };
173
+ };
174
+ readonly required: readonly ["type", "date_start", "code", "value_total"];
175
+ readonly additionalProperties: false;
176
+ };
177
+ export declare const ChartCreateInputSchema: {
88
178
  readonly type: "object";
89
179
  readonly properties: {
180
+ readonly values: {
181
+ readonly type: "string";
182
+ readonly description: "Values to be used in the chart encoded as a JSON string.";
183
+ };
184
+ readonly version_channel: {
185
+ readonly type: "string";
186
+ 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-]+)*))?$";
187
+ readonly description: "Desired version range or channel for the chart.";
188
+ readonly example: "2.x.x-cfke.x";
189
+ };
90
190
  readonly name: {
91
191
  readonly type: "string";
92
192
  readonly maxLength: 63;
93
193
  readonly minLength: 1;
94
194
  readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
95
- readonly description: "Name of the cluster.";
96
- readonly example: "production-cluster";
195
+ readonly description: "Unique identifier of the chart deployment aka name of the helm release.";
196
+ readonly example: "postgresql-0";
97
197
  };
98
- readonly region: {
198
+ readonly namespace: {
99
199
  readonly type: "string";
100
- readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\". This field can not be updated after creation.";
101
- readonly default: "staging";
102
- readonly example: "northamerica-central-1";
103
- readonly enum: readonly ["staging", "northamerica-central-1"];
200
+ readonly maxLength: 63;
201
+ readonly minLength: 1;
202
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
203
+ readonly description: "Namespace of the chart deployment";
204
+ readonly example: "default";
104
205
  };
105
- readonly tier: {
206
+ readonly chart: {
106
207
  readonly type: "string";
107
- readonly description: "Tier of the cluster.";
108
- readonly example: "pro";
109
- readonly enum: readonly ["basic", "pro"];
208
+ readonly maxLength: 63;
209
+ readonly minLength: 1;
210
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
211
+ readonly description: "Name of the chart listing";
212
+ readonly example: "postgresql";
213
+ };
214
+ };
215
+ readonly required: readonly ["values", "version_channel", "name", "namespace", "chart"];
216
+ readonly additionalProperties: false;
217
+ };
218
+ export declare const ChartSchema: {
219
+ readonly type: "object";
220
+ readonly properties: {
221
+ readonly values: {
222
+ readonly type: "string";
223
+ readonly description: "Values to be used in the chart encoded as a JSON string.";
110
224
  };
111
225
  readonly version_channel: {
112
226
  readonly type: "string";
113
227
  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-]+)*))?$";
114
- readonly description: "Version of the kubernetes cluster.";
115
- readonly default: "1.x.x-cfke.x";
116
- readonly example: "1.29.x-cfke.x";
228
+ readonly description: "Desired version range or channel for the chart.";
229
+ readonly example: "2.x.x-cfke.x";
117
230
  };
118
- readonly id: {
231
+ readonly name: {
119
232
  readonly type: "string";
120
- readonly format: "uuid";
121
- readonly description: "Unique identifier of the kubernetes cluster. UUID v4 string in canonical form";
122
- readonly example: "6b5439b1-923a-4f2b-a371-d554e5ea23fa";
233
+ readonly maxLength: 63;
234
+ readonly minLength: 1;
235
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
236
+ readonly description: "Unique identifier of the chart deployment aka name of the helm release.";
237
+ readonly example: "postgresql-0";
123
238
  };
124
- readonly status: {
239
+ readonly namespace: {
125
240
  readonly type: "string";
126
- readonly description: "Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.";
127
- readonly example: "active";
128
- readonly enum: readonly ["active", "deleted", "creating", "deployed", "failed", "updating"];
241
+ readonly maxLength: 63;
242
+ readonly minLength: 1;
243
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
244
+ readonly description: "Namespace of the chart deployment";
245
+ readonly example: "default";
129
246
  };
130
- readonly endpoint: {
131
- readonly anyOf: readonly [{
132
- readonly type: "string";
133
- readonly format: "uri";
134
- readonly description: "URL of the Kubernetes cluster control plane. This is the endpoint that kubectl uses to connect to the cluster.";
135
- readonly example: "https://2ae6557c-c61f-49c6-b4c1-a65473470a03.staging.cfke.cloudfleet.dev:6443";
136
- }, {
137
- readonly type: "string";
138
- readonly enum: readonly [""];
139
- }];
247
+ readonly chart: {
248
+ readonly type: "string";
249
+ readonly maxLength: 63;
250
+ readonly minLength: 1;
251
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
252
+ readonly description: "Name of the chart listing";
253
+ readonly example: "postgresql";
140
254
  };
141
- readonly certificate_ca: {
255
+ readonly status: {
142
256
  readonly type: "string";
143
- readonly description: "Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.";
144
- readonly example: "-----BEGIN CERTIFICATE-----\nMIIC0DCCAbigAwIBAgI...";
257
+ readonly description: "Status of the chart deployment (Flux HelmRelease Ready condition reason, e.g. InstallSucceeded, UpgradeFailed, Progressing).";
258
+ readonly example: "InstallSucceeded";
145
259
  };
146
260
  readonly version_current: {
147
261
  readonly type: "string";
148
- readonly description: "Current version of the cluster.";
149
- readonly example: "1.29.3-cfke.52";
262
+ readonly description: "Current version of the chart deployment.";
263
+ readonly example: "2.1.33-cfke.11";
150
264
  };
151
265
  readonly created_at: {
152
266
  readonly type: "string";
153
- readonly description: "Creation date and time of the cluster.";
267
+ readonly description: "Creation date and time of the chart deployment.";
154
268
  readonly example: "2024-09-12T09:11:27Z";
155
269
  };
156
270
  readonly updated_at: {
157
271
  readonly type: "string";
158
- readonly description: "Last update date and time of the cluster.";
272
+ readonly description: "Last update date and time of the chart deployment.";
159
273
  readonly example: "2024-09-12T09:11:27Z";
160
274
  };
161
275
  readonly ready: {
162
276
  readonly type: "boolean";
163
- readonly description: "Indicates if the cluster is ready to be used.";
277
+ readonly description: "Indicates if the chart deployment is ready to be used.";
164
278
  readonly example: true;
165
279
  };
166
280
  };
167
- readonly required: readonly ["name", "tier", "id", "status"];
281
+ readonly required: readonly ["values", "version_channel", "name", "namespace", "chart", "status", "version_current", "created_at", "updated_at", "ready"];
168
282
  readonly additionalProperties: false;
169
283
  };
170
- export declare const ClusterUpdateInputSchema: {
284
+ export declare const ChartUpdateInputSchema: {
285
+ readonly type: "object";
286
+ readonly properties: {
287
+ readonly values: {
288
+ readonly type: "string";
289
+ readonly description: "Values to be used in the chart encoded as a JSON string.";
290
+ };
291
+ readonly version_channel: {
292
+ readonly type: "string";
293
+ 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-]+)*))?$";
294
+ readonly description: "Desired version range or channel for the chart.";
295
+ readonly example: "2.x.x-cfke.x";
296
+ };
297
+ };
298
+ readonly required: readonly ["values", "version_channel"];
299
+ readonly additionalProperties: false;
300
+ };
301
+ export declare const ClusterCreateInputSchema: {
171
302
  readonly type: "object";
172
303
  readonly properties: {
173
304
  readonly name: {
@@ -178,211 +309,456 @@ export declare const ClusterUpdateInputSchema: {
178
309
  readonly description: "Name of the cluster.";
179
310
  readonly example: "production-cluster";
180
311
  };
312
+ readonly tier: {
313
+ readonly type: "string";
314
+ readonly description: "Tier of the cluster.";
315
+ readonly default: "basic";
316
+ readonly example: "pro";
317
+ readonly enum: readonly ["basic", "pro", "enterprise"];
318
+ };
181
319
  readonly version_channel: {
182
320
  readonly type: "string";
183
321
  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-]+)*))?$";
184
322
  readonly description: "Version of the kubernetes cluster.";
185
- readonly example: "1.29.x-cfke.x";
323
+ readonly default: "1.x.x-cfke.x";
324
+ readonly example: "1.x.x-cfke.x";
186
325
  };
187
- };
188
- readonly additionalProperties: false;
189
- };
190
- export declare const FleetCreateInputSchema: {
191
- readonly type: "object";
192
- readonly properties: {
193
- readonly limits: {
326
+ readonly release_channel: {
327
+ readonly type: "string";
328
+ readonly description: "Release channel for the cluster's control plane.";
329
+ readonly default: "rapid";
330
+ readonly example: "rapid";
331
+ readonly enum: readonly ["rapid", "stable", "extended"];
332
+ };
333
+ readonly features: {
194
334
  readonly type: "object";
195
335
  readonly properties: {
196
- readonly cpu: {
197
- readonly type: "number";
198
- readonly format: "float";
199
- readonly minimum: 0;
200
- readonly description: "CPU limit in cores.";
336
+ readonly gpu_sharing_strategy: {
337
+ readonly type: "string";
338
+ readonly description: "GPU sharing strategy.";
339
+ readonly default: "none";
340
+ readonly example: "none";
341
+ readonly enum: readonly ["none", "mps", "time_slicing"];
342
+ };
343
+ readonly gpu_max_shared_clients_per_gpu: {
344
+ readonly type: "integer";
345
+ readonly minimum: 2;
346
+ readonly maximum: 48;
347
+ readonly description: "Maximum number of pods that may share a single GPU.";
348
+ readonly default: 4;
349
+ readonly example: 10;
350
+ };
351
+ readonly cilium_socket_lb_host_namespace_only: {
352
+ readonly type: "boolean";
353
+ readonly description: "Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.";
354
+ readonly example: false;
201
355
  };
202
356
  };
203
- readonly required: readonly ["cpu"];
204
357
  readonly additionalProperties: false;
205
- readonly description: "Limits define a set of bounds for provisioning capacity.";
358
+ readonly description: "Cluster feature toggles.";
359
+ readonly default: {
360
+ readonly gpu_sharing_strategy: "none";
361
+ readonly gpu_max_shared_clients_per_gpu: 4;
362
+ readonly cilium_socket_lb_host_namespace_only: false;
363
+ };
206
364
  };
207
- readonly gcp: {
365
+ readonly region: {
366
+ readonly type: "string";
367
+ readonly description: "Cloudfleet control plane region. This field can not be updated after creation.";
368
+ readonly example: "europe-central-1a";
369
+ };
370
+ readonly networking: {
208
371
  readonly type: "object";
209
372
  readonly properties: {
210
- readonly enabled: {
373
+ readonly pod_cidr: {
374
+ readonly type: "string";
375
+ readonly description: "CIDR block for pod IPs.";
376
+ readonly default: "10.244.0.0/16";
377
+ };
378
+ readonly service_cidr: {
379
+ readonly type: "string";
380
+ readonly description: "CIDR block for service IPs.";
381
+ readonly default: "10.96.0.0/12";
382
+ };
383
+ readonly dual_stack: {
211
384
  readonly type: "boolean";
212
- readonly default: true;
385
+ readonly description: "Enable IPv4+IPv6 dual-stack networking.";
213
386
  };
214
- readonly project: {
387
+ readonly pod_cidr_v6: {
215
388
  readonly type: "string";
216
- readonly description: "Project GCP Project id to deploy instances into";
389
+ readonly description: "IPv6 pod CIDR. Requires dual_stack.";
390
+ readonly default: "2001:db8:1:2::/48";
217
391
  };
218
- };
219
- readonly required: readonly ["project"];
392
+ readonly service_cidr_v6: {
393
+ readonly type: "string";
394
+ readonly description: "IPv6 service CIDR. Requires dual_stack.";
395
+ readonly default: "2001:db8:1:1::/112";
396
+ };
397
+ };
220
398
  readonly additionalProperties: false;
399
+ readonly description: "Cluster networking configuration. Immutable after creation.";
400
+ readonly default: {
401
+ readonly pod_cidr: "10.244.0.0/16";
402
+ readonly service_cidr: "10.96.0.0/12";
403
+ readonly dual_stack: false;
404
+ readonly pod_cidr_v6: "2001:db8:1:2::/48";
405
+ readonly service_cidr_v6: "2001:db8:1:1::/112";
406
+ };
221
407
  };
222
- readonly hetzner: {
223
- readonly oneOf: readonly [{
224
- readonly type: "object";
225
- readonly properties: {
226
- readonly enabled: {
227
- readonly type: "boolean";
228
- readonly default: true;
229
- };
230
- readonly apiKey: {
231
- readonly type: "string";
232
- };
408
+ };
409
+ readonly required: readonly ["name", "region"];
410
+ readonly additionalProperties: false;
411
+ readonly description: "Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.";
412
+ };
413
+ export declare const ClusterJoinInformationSchema: {
414
+ readonly type: "object";
415
+ readonly properties: {
416
+ readonly certificate_authority: {
417
+ readonly type: "string";
418
+ readonly description: "Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.";
419
+ readonly example: "-----BEGIN CERTIFICATE-----\nMIIC0DCCAbigAwIBAgI...";
420
+ };
421
+ readonly endpoint: {
422
+ readonly type: "string";
423
+ readonly format: "uri";
424
+ readonly description: "Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.";
425
+ readonly example: "https://10.31.64.7:6443";
426
+ };
427
+ readonly cluster_dns: {
428
+ readonly type: "string";
429
+ readonly description: "Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.";
430
+ readonly example: "10.96.0.10";
431
+ };
432
+ readonly pod_cidr: {
433
+ readonly type: "string";
434
+ readonly description: "Pod CIDR for the cluster. Used to configure iptables rules on nodes to prevent Tailscale routing loops.";
435
+ readonly example: "10.244.0.0/16";
436
+ };
437
+ readonly auth_key: {
438
+ readonly type: "string";
439
+ readonly description: "Authentication key for the cluster.";
440
+ readonly example: "tskey-auth-kBV8wr1dk911CNTRL-...";
441
+ };
442
+ readonly login_server: {
443
+ readonly type: "string";
444
+ 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.";
445
+ readonly example: "https://415026b6-f00f-44f8-968d-fc6ef4d0fc6d.fabric.europe-central-1a.cfke.io";
446
+ };
447
+ readonly bootstrap_token: {
448
+ readonly type: "string";
449
+ readonly description: "Bootstrap token for the cluster.";
450
+ readonly example: "a797d6df6babc2cfdb202ba7.....";
451
+ };
452
+ readonly versions: {
453
+ readonly type: "object";
454
+ readonly properties: {
455
+ readonly kubernetes: {
456
+ readonly type: "string";
457
+ readonly description: "Kubernetes version of the cluster.";
458
+ readonly example: "1.33.7";
233
459
  };
234
- readonly additionalProperties: false;
235
- }, {
236
- readonly type: "object";
237
- readonly properties: {
238
- readonly apiKey: {
239
- readonly type: "string";
240
- };
241
- readonly enabled: {
242
- readonly type: "boolean";
243
- readonly default: true;
244
- };
460
+ readonly tailscale: {
461
+ readonly type: "string";
462
+ readonly description: "Tailscale version of the cluster.";
463
+ readonly example: "1.74.1";
245
464
  };
246
- readonly additionalProperties: false;
247
- }];
465
+ readonly containerd: {
466
+ readonly type: "string";
467
+ readonly description: "Containerd version of the cluster.";
468
+ readonly example: "1.7.19";
469
+ };
470
+ readonly nvidia_driver: {
471
+ readonly type: "string";
472
+ readonly description: "NVIDIA driver version of the cluster.";
473
+ readonly example: "565.0.0";
474
+ };
475
+ };
476
+ readonly required: readonly ["kubernetes", "tailscale", "containerd", "nvidia_driver"];
477
+ readonly additionalProperties: false;
478
+ readonly description: "Versions of the different components of the cluster.";
248
479
  };
249
- readonly aws: {
480
+ readonly third_party_api_access_config: {
250
481
  readonly type: "object";
251
482
  readonly properties: {
252
- readonly enabled: {
253
- readonly type: "boolean";
254
- readonly default: true;
483
+ readonly metadata_url: {
484
+ readonly type: "string";
485
+ readonly description: "Kubernetes metadata server.";
486
+ readonly example: "https://10.31.64.4";
255
487
  };
256
- readonly controllerRoleArn: {
488
+ readonly aws_role_arn: {
489
+ readonly type: "string";
490
+ readonly description: "AWS Role ARN.";
491
+ readonly example: "arn:aws:iam::891376988828:role/0371f8fd-e164-48e1-b9e7-c3bdc3b4f403";
492
+ };
493
+ readonly gcp_workload_identity_provider: {
257
494
  readonly type: "string";
258
- readonly description: "ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.";
495
+ readonly description: "GCP Workload Identity provider.";
496
+ readonly example: "//iam.googleapis.com/projects/89014267864/locations/global/workloadIdentityPools/cfke/providers/oidc";
259
497
  };
260
498
  };
261
- readonly required: readonly ["controllerRoleArn"];
499
+ readonly required: readonly ["metadata_url", "aws_role_arn", "gcp_workload_identity_provider"];
262
500
  readonly additionalProperties: false;
501
+ readonly description: "OIDC Information for hosts to access to third party API's.";
263
502
  };
264
- readonly id: {
503
+ };
504
+ readonly required: readonly ["certificate_authority", "endpoint", "cluster_dns", "pod_cidr", "auth_key", "login_server", "bootstrap_token", "versions", "third_party_api_access_config"];
505
+ readonly additionalProperties: false;
506
+ };
507
+ export declare const ClusterSchema: {
508
+ readonly type: "object";
509
+ readonly properties: {
510
+ readonly name: {
265
511
  readonly type: "string";
266
512
  readonly maxLength: 63;
267
513
  readonly minLength: 1;
268
514
  readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
269
- readonly description: "Unique identifier of the kubernetes fleet.";
270
- readonly example: "new-clouds-fleet";
515
+ readonly description: "Name of the cluster.";
516
+ readonly example: "production-cluster";
271
517
  };
272
- readonly type: {
518
+ readonly tier: {
273
519
  readonly type: "string";
274
- readonly description: "Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.";
275
- readonly enum: readonly ["managed", "connected"];
520
+ readonly description: "Tier of the cluster.";
521
+ readonly default: "basic";
522
+ readonly example: "pro";
523
+ readonly enum: readonly ["basic", "pro", "enterprise"];
276
524
  };
277
- };
278
- readonly required: readonly ["id", "type"];
279
- readonly additionalProperties: false;
280
- };
281
- export declare const FleetSchema: {
282
- readonly type: "object";
283
- readonly properties: {
284
- readonly limits: {
285
- readonly type: "object";
286
- readonly properties: {
287
- readonly cpu: {
288
- readonly type: "number";
289
- readonly format: "float";
290
- readonly minimum: 0;
291
- readonly description: "CPU limit in cores.";
292
- };
293
- };
294
- readonly required: readonly ["cpu"];
295
- readonly additionalProperties: false;
296
- readonly description: "Limits define a set of bounds for provisioning capacity.";
525
+ readonly version_channel: {
526
+ readonly type: "string";
527
+ 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-]+)*))?$";
528
+ readonly description: "Version of the kubernetes cluster.";
529
+ readonly default: "1.x.x-cfke.x";
530
+ readonly example: "1.x.x-cfke.x";
297
531
  };
298
- readonly gcp: {
532
+ readonly release_channel: {
533
+ readonly type: "string";
534
+ readonly description: "Release channel for the cluster's control plane.";
535
+ readonly default: "rapid";
536
+ readonly example: "rapid";
537
+ readonly enum: readonly ["rapid", "stable", "extended"];
538
+ };
539
+ readonly features: {
299
540
  readonly type: "object";
300
541
  readonly properties: {
301
- readonly enabled: {
302
- readonly type: "boolean";
303
- readonly default: true;
304
- };
305
- readonly project: {
542
+ readonly gpu_sharing_strategy: {
306
543
  readonly type: "string";
307
- readonly description: "Project GCP Project id to deploy instances into";
544
+ readonly description: "GPU sharing strategy.";
545
+ readonly default: "none";
546
+ readonly example: "none";
547
+ readonly enum: readonly ["none", "mps", "time_slicing"];
548
+ };
549
+ readonly gpu_max_shared_clients_per_gpu: {
550
+ readonly type: "integer";
551
+ readonly minimum: 2;
552
+ readonly maximum: 48;
553
+ readonly description: "Maximum number of pods that may share a single GPU.";
554
+ readonly default: 4;
555
+ readonly example: 10;
556
+ };
557
+ readonly cilium_socket_lb_host_namespace_only: {
558
+ readonly type: "boolean";
559
+ readonly description: "Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.";
560
+ readonly example: false;
308
561
  };
309
562
  };
310
- readonly required: readonly ["project"];
563
+ readonly required: readonly ["gpu_sharing_strategy", "gpu_max_shared_clients_per_gpu", "cilium_socket_lb_host_namespace_only"];
311
564
  readonly additionalProperties: false;
565
+ readonly description: "Cluster feature toggles.";
566
+ readonly default: {
567
+ readonly gpu_sharing_strategy: "none";
568
+ readonly gpu_max_shared_clients_per_gpu: 4;
569
+ readonly cilium_socket_lb_host_namespace_only: false;
570
+ };
312
571
  };
313
- readonly hetzner: {
314
- readonly oneOf: readonly [{
315
- readonly type: "object";
316
- readonly properties: {
317
- readonly enabled: {
318
- readonly type: "boolean";
319
- readonly default: true;
320
- };
321
- readonly apiKey: {
322
- readonly type: "string";
323
- };
324
- };
325
- readonly additionalProperties: false;
326
- }, {
327
- readonly type: "object";
328
- readonly properties: {
329
- readonly apiKey: {
330
- readonly type: "string";
331
- };
332
- readonly enabled: {
333
- readonly type: "boolean";
334
- readonly default: true;
335
- };
336
- };
337
- readonly additionalProperties: false;
338
- }];
572
+ readonly region: {
573
+ readonly type: "string";
574
+ readonly description: "Cloudfleet control plane region. This field can not be updated after creation.";
575
+ readonly example: "europe-central-1a";
339
576
  };
340
- readonly aws: {
577
+ readonly networking: {
341
578
  readonly type: "object";
342
579
  readonly properties: {
343
- readonly enabled: {
580
+ readonly pod_cidr: {
581
+ readonly type: "string";
582
+ readonly description: "CIDR block for pod IPs.";
583
+ readonly default: "10.244.0.0/16";
584
+ };
585
+ readonly service_cidr: {
586
+ readonly type: "string";
587
+ readonly description: "CIDR block for service IPs.";
588
+ readonly default: "10.96.0.0/12";
589
+ };
590
+ readonly dual_stack: {
344
591
  readonly type: "boolean";
345
- readonly default: true;
592
+ readonly description: "Enable IPv4+IPv6 dual-stack networking.";
346
593
  };
347
- readonly controllerRoleArn: {
594
+ readonly pod_cidr_v6: {
595
+ readonly type: "string";
596
+ readonly description: "IPv6 pod CIDR. Requires dual_stack.";
597
+ readonly default: "2001:db8:1:2::/48";
598
+ };
599
+ readonly service_cidr_v6: {
348
600
  readonly type: "string";
349
- readonly description: "ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.";
601
+ readonly description: "IPv6 service CIDR. Requires dual_stack.";
602
+ readonly default: "2001:db8:1:1::/112";
350
603
  };
351
604
  };
352
- readonly required: readonly ["controllerRoleArn"];
605
+ readonly required: readonly ["pod_cidr", "service_cidr", "dual_stack", "pod_cidr_v6", "service_cidr_v6"];
353
606
  readonly additionalProperties: false;
607
+ readonly description: "Cluster networking configuration. Immutable after creation.";
608
+ readonly default: {
609
+ readonly pod_cidr: "10.244.0.0/16";
610
+ readonly service_cidr: "10.96.0.0/12";
611
+ readonly dual_stack: false;
612
+ readonly pod_cidr_v6: "2001:db8:1:2::/48";
613
+ readonly service_cidr_v6: "2001:db8:1:1::/112";
614
+ };
354
615
  };
355
616
  readonly id: {
617
+ readonly type: "string";
618
+ readonly format: "uuid";
619
+ readonly description: "Unique identifier of the kubernetes cluster. UUID v4 string in canonical form";
620
+ readonly example: "6b5439b1-923a-4f2b-a371-d554e5ea23fa";
621
+ };
622
+ readonly status: {
623
+ readonly type: "string";
624
+ readonly description: "Status of the cluster.";
625
+ readonly example: "deployed";
626
+ readonly enum: readonly ["creating", "deployed", "updating", "disabled"];
627
+ };
628
+ readonly endpoint: {
629
+ readonly anyOf: readonly [{
630
+ readonly type: "string";
631
+ readonly format: "uri";
632
+ 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.";
633
+ readonly example: "https://2ae6557c-c61f-49c6-b4c1-a65473470a03.staging.cfke.io";
634
+ }, {
635
+ readonly type: "string";
636
+ readonly enum: readonly [""];
637
+ }];
638
+ };
639
+ readonly endpoint_public: {
640
+ readonly anyOf: readonly [{
641
+ readonly type: "string";
642
+ readonly format: "uri";
643
+ readonly description: "Deprecated alias of `endpoint`; retained for backward compatibility.";
644
+ readonly example: "https://2ae6557c-c61f-49c6-b4c1-a65473470a03.staging.cfke.io";
645
+ }, {
646
+ readonly type: "string";
647
+ readonly enum: readonly [""];
648
+ }];
649
+ };
650
+ readonly certificate_ca: {
651
+ readonly type: "string";
652
+ readonly description: "Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.";
653
+ readonly example: "-----BEGIN CERTIFICATE-----\nMIIC0DCCAbigAwIBAgI...";
654
+ };
655
+ readonly version_current: {
656
+ readonly type: "string";
657
+ readonly description: "Current version of the cluster.";
658
+ readonly example: "1.33.7-cfke.264";
659
+ };
660
+ readonly created_at: {
661
+ readonly type: "string";
662
+ readonly description: "Creation date and time of the cluster.";
663
+ readonly example: "2024-09-12T09:11:27Z";
664
+ };
665
+ readonly updated_at: {
666
+ readonly type: "string";
667
+ readonly description: "Last update date and time of the cluster.";
668
+ readonly example: "2024-09-12T09:11:27Z";
669
+ };
670
+ readonly ready: {
671
+ readonly type: "boolean";
672
+ readonly description: "Indicates if the cluster is ready to be used.";
673
+ readonly example: true;
674
+ };
675
+ };
676
+ readonly required: readonly ["name", "tier", "version_channel", "release_channel", "features", "region", "networking", "id", "status", "ready"];
677
+ readonly additionalProperties: false;
678
+ readonly description: "Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.";
679
+ };
680
+ export declare const ClusterUpdateInputSchema: {
681
+ readonly type: "object";
682
+ readonly properties: {
683
+ readonly name: {
356
684
  readonly type: "string";
357
685
  readonly maxLength: 63;
358
686
  readonly minLength: 1;
359
687
  readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
360
- readonly description: "Unique identifier of the kubernetes fleet.";
361
- readonly example: "new-clouds-fleet";
688
+ readonly description: "Name of the cluster.";
689
+ readonly example: "production-cluster";
362
690
  };
363
- readonly type: {
691
+ readonly tier: {
692
+ readonly type: "string";
693
+ readonly description: "Tier of the cluster.";
694
+ readonly default: "basic";
695
+ readonly example: "pro";
696
+ readonly enum: readonly ["basic", "pro", "enterprise"];
697
+ };
698
+ readonly version_channel: {
699
+ readonly type: "string";
700
+ 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-]+)*))?$";
701
+ readonly description: "Version of the kubernetes cluster.";
702
+ readonly default: "1.x.x-cfke.x";
703
+ readonly example: "1.x.x-cfke.x";
704
+ };
705
+ readonly release_channel: {
364
706
  readonly type: "string";
365
- readonly description: "Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.";
366
- readonly enum: readonly ["managed", "connected"];
707
+ readonly description: "Release channel for the cluster's control plane.";
708
+ readonly default: "rapid";
709
+ readonly example: "rapid";
710
+ readonly enum: readonly ["rapid", "stable", "extended"];
711
+ };
712
+ readonly features: {
713
+ readonly type: "object";
714
+ readonly properties: {
715
+ readonly gpu_sharing_strategy: {
716
+ readonly type: "string";
717
+ readonly description: "GPU sharing strategy.";
718
+ readonly default: "none";
719
+ readonly example: "none";
720
+ readonly enum: readonly ["none", "mps", "time_slicing"];
721
+ };
722
+ readonly gpu_max_shared_clients_per_gpu: {
723
+ readonly type: "integer";
724
+ readonly minimum: 2;
725
+ readonly maximum: 48;
726
+ readonly description: "Maximum number of pods that may share a single GPU.";
727
+ readonly default: 4;
728
+ readonly example: 10;
729
+ };
730
+ readonly cilium_socket_lb_host_namespace_only: {
731
+ readonly type: "boolean";
732
+ readonly description: "Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.";
733
+ readonly example: false;
734
+ };
735
+ };
736
+ readonly additionalProperties: false;
737
+ readonly description: "Cluster feature toggles.";
738
+ readonly default: {
739
+ readonly gpu_sharing_strategy: "none";
740
+ readonly gpu_max_shared_clients_per_gpu: 4;
741
+ readonly cilium_socket_lb_host_namespace_only: false;
742
+ };
367
743
  };
368
744
  };
369
- readonly required: readonly ["id", "type"];
745
+ readonly required: readonly ["name"];
370
746
  readonly additionalProperties: false;
747
+ readonly description: "Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.";
371
748
  };
372
- export declare const FleetUpdateInputSchema: {
749
+ export declare const FleetCreateInputSchema: {
373
750
  readonly type: "object";
374
751
  readonly properties: {
375
752
  readonly limits: {
376
753
  readonly type: "object";
377
754
  readonly properties: {
378
755
  readonly cpu: {
379
- readonly type: "number";
380
- readonly format: "float";
756
+ readonly type: "integer";
381
757
  readonly minimum: 0;
382
- readonly description: "CPU limit in cores.";
758
+ readonly maximum: 100000;
759
+ readonly description: "CPU limit in cores. Maximum 100,000.";
383
760
  };
384
761
  };
385
- readonly required: readonly ["cpu"];
386
762
  readonly additionalProperties: false;
387
763
  readonly description: "Limits define a set of bounds for provisioning capacity.";
388
764
  };
@@ -391,329 +767,421 @@ export declare const FleetUpdateInputSchema: {
391
767
  readonly properties: {
392
768
  readonly enabled: {
393
769
  readonly type: "boolean";
394
- readonly default: true;
395
770
  };
396
771
  readonly project: {
397
772
  readonly type: "string";
398
- readonly description: "Project GCP Project id to deploy instances into";
773
+ readonly pattern: "^[a-z][a-z0-9-]{4,28}[a-z0-9]$";
774
+ 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.";
775
+ readonly example: "my-cloudfleet-project";
399
776
  };
400
777
  };
401
- readonly required: readonly ["project"];
778
+ readonly required: readonly ["enabled"];
402
779
  readonly additionalProperties: false;
403
780
  };
404
781
  readonly hetzner: {
405
- readonly oneOf: readonly [{
406
- readonly type: "object";
407
- readonly properties: {
408
- readonly enabled: {
409
- readonly type: "boolean";
410
- readonly default: true;
411
- };
412
- readonly apiKey: {
413
- readonly type: "string";
414
- };
782
+ readonly type: "object";
783
+ readonly properties: {
784
+ readonly enabled: {
785
+ readonly type: "boolean";
415
786
  };
416
- readonly additionalProperties: false;
417
- }, {
418
- readonly type: "object";
419
- readonly properties: {
420
- readonly apiKey: {
421
- readonly type: "string";
422
- };
423
- readonly enabled: {
424
- readonly type: "boolean";
425
- readonly default: true;
426
- };
787
+ readonly apiKey: {
788
+ readonly type: "string";
789
+ readonly maxLength: 64;
790
+ readonly minLength: 64;
791
+ readonly pattern: "^([A-Za-z0-9]{64}|\\*{64})$";
792
+ 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.";
427
793
  };
428
- readonly additionalProperties: false;
429
- }];
794
+ };
795
+ readonly required: readonly ["enabled"];
796
+ readonly additionalProperties: false;
430
797
  };
431
798
  readonly aws: {
432
799
  readonly type: "object";
433
800
  readonly properties: {
434
801
  readonly enabled: {
435
802
  readonly type: "boolean";
436
- readonly default: true;
437
803
  };
438
804
  readonly controllerRoleArn: {
439
805
  readonly type: "string";
440
- readonly description: "ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.";
806
+ readonly pattern: "^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$";
807
+ readonly description: "AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.";
808
+ readonly example: "arn:aws:iam::123456789012:role/Cloudfleet";
441
809
  };
442
810
  };
443
- readonly required: readonly ["controllerRoleArn"];
811
+ readonly required: readonly ["enabled"];
444
812
  readonly additionalProperties: false;
445
813
  };
814
+ readonly constraints: {
815
+ readonly type: "object";
816
+ readonly properties: {
817
+ readonly 'karpenter.sh/capacity-type': {
818
+ readonly type: "array";
819
+ readonly items: {
820
+ readonly type: "string";
821
+ readonly enum: readonly ["on-demand", "spot"];
822
+ };
823
+ readonly minItems: 1;
824
+ readonly description: "Allowed values for `karpenter.sh/capacity-type`.";
825
+ readonly default: readonly ["on-demand", "spot"];
826
+ };
827
+ readonly 'kubernetes.io/arch': {
828
+ readonly type: "array";
829
+ readonly items: {
830
+ readonly type: "string";
831
+ readonly enum: readonly ["amd64", "arm64"];
832
+ };
833
+ readonly minItems: 1;
834
+ readonly description: "Allowed values for `kubernetes.io/arch`.";
835
+ readonly default: readonly ["amd64"];
836
+ };
837
+ readonly 'cfke.io/instance-family': {
838
+ readonly type: "array";
839
+ readonly items: {
840
+ readonly type: "string";
841
+ readonly enum: readonly ["a1", "a2", "a3", "a4", "c1", "c2", "c2d", "c3", "c3d", "c4", "c4a", "c4d", "c5", "c5a", "c5ad", "c5d", "c5n", "c6a", "c6g", "c6gd", "c6gn", "c6i", "c6id", "c6in", "c7a", "c7g", "c7gd", "c7gn", "c7i", "c7i-flex", "c8g", "c8gd", "cax", "ccx", "cpx", "cx", "d2", "d3", "d3en", "dl1", "dl2q", "e2", "f1", "f2", "g1", "g2", "g4ad", "g4dn", "g5", "g5g", "g6", "g6e", "gr6", "h1", "h3", "hpc6a", "hpc6id", "hpc7a", "hpc7g", "i2", "i3", "i3en", "i4g", "i4i", "i7i", "i7ie", "i8g", "im4gn", "inf1", "inf2", "is4gen", "m1", "m2", "m3", "m4", "m5", "m5a", "m5ad", "m5d", "m5dn", "m5n", "m5zn", "m6a", "m6g", "m6gd", "m6i", "m6id", "m6idn", "m6in", "m7a", "m7g", "m7gd", "m7i", "m7i-flex", "m8g", "m8gd", "n1", "n2", "n2d", "n4", "p3", "p3dn", "p4d", "p4de", "p5", "p5e", "p5en", "p6-b200", "r3", "r4", "r5", "r5a", "r5ad", "r5b", "r5d", "r5dn", "r5n", "r6a", "r6g", "r6gd", "r6i", "r6id", "r6idn", "r6in", "r7a", "r7g", "r7gd", "r7i", "r7iz", "r8g", "r8gd", "t2", "t2a", "t2d", "t3", "t3a", "t4g", "trn1", "trn1n", "u-3tb1", "u-6tb1", "u7i-12tb", "u7i-6tb", "u7i-8tb", "u7in-16tb", "u7in-24tb", "u7in-32tb", "vt1", "x1", "x1e", "x2gd", "x2idn", "x2iedn", "x2iezn", "x4", "x8g", "z1d", "z3"];
842
+ };
843
+ readonly description: "Allowed values for `cfke.io/instance-family`.";
844
+ readonly default: readonly [];
845
+ };
846
+ readonly 'topology.kubernetes.io/region': {
847
+ readonly type: "array";
848
+ readonly items: {
849
+ readonly type: "string";
850
+ 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"];
851
+ };
852
+ readonly description: "Allowed values for `topology.kubernetes.io/region`.";
853
+ readonly default: readonly [];
854
+ };
855
+ };
856
+ readonly additionalProperties: false;
857
+ 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.";
858
+ readonly default: {
859
+ readonly 'karpenter.sh/capacity-type': readonly ["on-demand", "spot"];
860
+ readonly 'kubernetes.io/arch': readonly ["amd64"];
861
+ readonly 'cfke.io/instance-family': readonly [];
862
+ readonly 'topology.kubernetes.io/region': readonly [];
863
+ };
864
+ };
865
+ readonly scalingProfile: {
866
+ readonly type: "string";
867
+ 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`).";
868
+ readonly default: "conservative";
869
+ readonly example: "conservative";
870
+ readonly enum: readonly ["aggressive", "conservative"];
871
+ };
872
+ readonly id: {
873
+ readonly type: "string";
874
+ readonly maxLength: 63;
875
+ readonly minLength: 1;
876
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
877
+ readonly description: "Unique identifier of the kubernetes fleet.";
878
+ readonly example: "new-clouds-fleet";
879
+ };
446
880
  };
881
+ readonly required: readonly ["id"];
447
882
  readonly additionalProperties: false;
883
+ readonly description: "Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.";
448
884
  };
449
- export declare const InfrastructureFilterSchema: {
885
+ export declare const FleetSchema: {
450
886
  readonly type: "object";
451
887
  readonly properties: {
452
- readonly version: {
453
- readonly type: "integer";
454
- readonly description: "Version of the infrastructure filter definition. Currently only version 1 is supported.";
455
- readonly default: 1;
456
- readonly example: 1;
457
- readonly enum: readonly [1];
458
- };
459
- readonly provider: {
460
- readonly type: "array";
461
- readonly items: {
462
- readonly type: "string";
463
- };
464
- readonly description: "Limit selection of cloud providers to this list. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)";
465
- readonly example: "AWS";
466
- };
467
- readonly region: {
468
- readonly type: "array";
469
- readonly items: {
470
- readonly type: "string";
888
+ readonly limits: {
889
+ readonly type: "object";
890
+ readonly properties: {
891
+ readonly cpu: {
892
+ readonly type: "integer";
893
+ readonly minimum: 0;
894
+ readonly maximum: 100000;
895
+ readonly description: "CPU limit in cores. Maximum 100,000.";
896
+ };
471
897
  };
472
- readonly description: "Limits selection of cloud regions to this list of Cloudfleet regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)";
473
- readonly example: "northamerica";
898
+ readonly additionalProperties: false;
899
+ readonly description: "Limits define a set of bounds for provisioning capacity.";
474
900
  };
475
- readonly sub_region: {
476
- readonly type: "array";
477
- readonly items: {
478
- readonly type: "string";
901
+ readonly gcp: {
902
+ readonly type: "object";
903
+ readonly properties: {
904
+ readonly enabled: {
905
+ readonly type: "boolean";
906
+ };
907
+ readonly project: {
908
+ readonly type: "string";
909
+ readonly pattern: "^[a-z][a-z0-9-]{4,28}[a-z0-9]$";
910
+ 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.";
911
+ readonly example: "my-cloudfleet-project";
912
+ };
479
913
  };
480
- readonly description: "Limits selection of cloud regions to this list of Cloudfleet regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)";
481
- readonly example: "west";
914
+ readonly required: readonly ["enabled"];
915
+ readonly additionalProperties: false;
482
916
  };
483
- readonly csp_region: {
484
- readonly type: "array";
485
- readonly items: {
486
- readonly type: "string";
917
+ readonly hetzner: {
918
+ readonly type: "object";
919
+ readonly properties: {
920
+ readonly enabled: {
921
+ readonly type: "boolean";
922
+ };
923
+ readonly apiKey: {
924
+ readonly type: "string";
925
+ readonly pattern: "^\\*{64}$";
926
+ 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.";
927
+ };
487
928
  };
488
- readonly description: "Limits selection of cloud regions to this list of canonical provider regions";
489
- readonly example: "eu-west-1";
929
+ readonly required: readonly ["enabled"];
930
+ readonly additionalProperties: false;
490
931
  };
491
- readonly instance_type: {
492
- readonly type: "array";
493
- readonly items: {
494
- readonly type: "string";
932
+ readonly aws: {
933
+ readonly type: "object";
934
+ readonly properties: {
935
+ readonly enabled: {
936
+ readonly type: "boolean";
937
+ };
938
+ readonly controllerRoleArn: {
939
+ readonly type: "string";
940
+ readonly pattern: "^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$";
941
+ readonly description: "AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.";
942
+ readonly example: "arn:aws:iam::123456789012:role/Cloudfleet";
943
+ };
495
944
  };
496
- readonly description: "Limits selection of instance types to this list. Instance / VM type as defined by the cloud service provider";
497
- readonly example: "p4d.24xlarge";
945
+ readonly required: readonly ["enabled"];
946
+ readonly additionalProperties: false;
498
947
  };
499
- readonly accelerator_name: {
500
- readonly type: "array";
501
- readonly items: {
502
- readonly type: "string";
948
+ readonly constraints: {
949
+ readonly type: "object";
950
+ readonly properties: {
951
+ readonly 'karpenter.sh/capacity-type': {
952
+ readonly type: "array";
953
+ readonly items: {
954
+ readonly type: "string";
955
+ readonly enum: readonly ["on-demand", "spot"];
956
+ };
957
+ readonly minItems: 1;
958
+ readonly description: "Allowed values for `karpenter.sh/capacity-type`.";
959
+ readonly default: readonly ["on-demand", "spot"];
960
+ };
961
+ readonly 'kubernetes.io/arch': {
962
+ readonly type: "array";
963
+ readonly items: {
964
+ readonly type: "string";
965
+ readonly enum: readonly ["amd64", "arm64"];
966
+ };
967
+ readonly minItems: 1;
968
+ readonly description: "Allowed values for `kubernetes.io/arch`.";
969
+ readonly default: readonly ["amd64"];
970
+ };
971
+ readonly 'cfke.io/instance-family': {
972
+ readonly type: "array";
973
+ readonly items: {
974
+ readonly type: "string";
975
+ 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"];
976
+ };
977
+ readonly description: "Allowed values for `cfke.io/instance-family`.";
978
+ readonly default: readonly [];
979
+ };
980
+ readonly 'topology.kubernetes.io/region': {
981
+ readonly type: "array";
982
+ readonly items: {
983
+ readonly type: "string";
984
+ 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"];
985
+ };
986
+ readonly description: "Allowed values for `topology.kubernetes.io/region`.";
987
+ readonly default: readonly [];
988
+ };
503
989
  };
504
- readonly description: "List of Normalized accelerator model names. For example, all variations of Nvidia A100 GPUs will have 'A100' as accelerator name with various memory configurations set in accelerator_memory field";
505
- readonly example: "A100";
506
- };
507
- readonly accelerator_manufacturer: {
508
- readonly type: "array";
509
- readonly items: {
510
- readonly type: "string";
990
+ readonly required: readonly ["karpenter.sh/capacity-type", "kubernetes.io/arch"];
991
+ readonly additionalProperties: false;
992
+ 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.";
993
+ readonly default: {
994
+ readonly 'karpenter.sh/capacity-type': readonly ["on-demand", "spot"];
995
+ readonly 'kubernetes.io/arch': readonly ["amd64"];
996
+ readonly 'cfke.io/instance-family': readonly [];
997
+ readonly 'topology.kubernetes.io/region': readonly [];
511
998
  };
512
- readonly description: "List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer";
513
- readonly example: "NVIDIA";
514
- };
515
- readonly accelerator_count_min: {
516
- readonly type: "integer";
517
- readonly minimum: 0;
518
- readonly description: "Minimum number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.";
519
- readonly example: 1;
520
- };
521
- readonly accelerator_count_max: {
522
- readonly type: "integer";
523
- readonly minimum: 0;
524
- readonly description: "Maximum number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.";
525
- readonly example: 8;
526
- };
527
- readonly accelerator_memory_min: {
528
- readonly type: "number";
529
- readonly format: "float";
530
- readonly description: "Minimum amount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory";
531
- readonly example: 40;
532
- };
533
- readonly accelerator_memory_max: {
534
- readonly type: "number";
535
- readonly format: "float";
536
- readonly description: "Maximum amount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory";
537
- readonly example: 80;
538
- };
539
- readonly memory_min: {
540
- readonly type: "integer";
541
- readonly minimum: 0;
542
- readonly description: "Minimum amount of RAM in gibibytes (GiB)";
543
- readonly example: 32;
544
- };
545
- readonly memory_max: {
546
- readonly type: "integer";
547
- readonly minimum: 0;
548
- readonly description: "Maximum amount of RAM in gibibytes (GiB)";
549
- readonly example: 64;
550
- };
551
- readonly vcpu_min: {
552
- readonly type: "integer";
553
- readonly minimum: 1;
554
- readonly description: "Minimum number of vCPUs as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.";
555
- readonly example: 32;
556
999
  };
557
- readonly vcpu_max: {
558
- readonly type: "integer";
559
- readonly minimum: 1;
560
- readonly description: "Maximum number of vCPUs as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.";
561
- readonly example: 128;
562
- };
563
- readonly storage_total_min: {
564
- readonly type: "number";
565
- readonly format: "float";
566
- readonly minimum: 10;
567
- readonly description: "Minimum total storage in GiB (attached and local)";
568
- readonly example: 128;
569
- };
570
- readonly storage_total_max: {
571
- readonly type: "number";
572
- readonly format: "float";
573
- readonly minimum: 10;
574
- readonly description: "Maximum total storage in GiB (attached and local)";
575
- readonly example: 256;
576
- };
577
- readonly storage_local_min: {
578
- readonly type: "number";
579
- readonly format: "float";
580
- readonly description: "Minimum volume of directly attached, block-device local storage in gibibytes (GiB)";
581
- readonly example: 24;
582
- };
583
- readonly storage_local_max: {
584
- readonly type: "number";
585
- readonly format: "float";
586
- readonly description: "Maximum volume of directly attached, block-device local storage in gibibytes (GiB)";
587
- readonly example: 128;
588
- };
589
- readonly price_min: {
590
- readonly type: "number";
591
- readonly format: "float";
592
- readonly description: "Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.";
593
- readonly example: 10;
594
- };
595
- readonly price_max: {
596
- readonly type: "number";
597
- readonly format: "float";
598
- readonly description: "Maximum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.";
599
- readonly example: 50;
600
- };
601
- };
602
- readonly additionalProperties: false;
603
- };
604
- export declare const InfrastructureInstanceSchema: {
605
- readonly type: "object";
606
- readonly properties: {
607
- readonly sku: {
608
- readonly type: "string";
609
- readonly description: "Cloudfleet instance SKU. Has a format of <provider>-<csp_region>-<instance_type>.";
610
- readonly example: "AWS-EU-WEST-1C-P4D.24XLARGE";
611
- };
612
- readonly provider: {
1000
+ readonly scalingProfile: {
613
1001
  readonly type: "string";
614
- readonly description: "Normalized cloud service provider name. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)";
615
- readonly example: "AWS";
1002
+ 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`).";
1003
+ readonly default: "conservative";
1004
+ readonly example: "conservative";
1005
+ readonly enum: readonly ["aggressive", "conservative"];
616
1006
  };
617
- readonly region: {
1007
+ readonly id: {
618
1008
  readonly type: "string";
619
- readonly description: "Normalized region. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)";
620
- readonly example: "europe";
1009
+ readonly maxLength: 63;
1010
+ readonly minLength: 1;
1011
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
1012
+ readonly description: "Unique identifier of the kubernetes fleet.";
1013
+ readonly example: "new-clouds-fleet";
621
1014
  };
622
- readonly sub_region: {
623
- readonly type: "string";
624
- readonly description: "Normalized sub-region. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)";
625
- readonly example: "west";
1015
+ readonly ready: {
1016
+ readonly type: "boolean";
1017
+ readonly description: "Indicates whether the fleet configuration is healthy.";
1018
+ readonly example: true;
626
1019
  };
627
- readonly csp_region: {
1020
+ readonly status_message: {
628
1021
  readonly type: "string";
629
- readonly description: "Region as defined by the cloud service provider";
630
- readonly example: "eu-west-1";
1022
+ readonly description: "Human-readable reason the fleet is not ready. Present only when `ready` is false.";
1023
+ readonly example: "Invalid provider permissions.";
631
1024
  };
632
- readonly csp_zone: {
1025
+ readonly created_at: {
633
1026
  readonly type: "string";
634
- readonly description: "Availability zone as defined by the cloud service provider";
635
- readonly example: "eu-west-1a";
1027
+ readonly description: "Creation date and time of the fleet.";
1028
+ readonly example: "2024-09-12T09:11:27Z";
636
1029
  };
637
- readonly instance_type: {
1030
+ readonly updated_at: {
638
1031
  readonly type: "string";
639
- readonly description: "Instance / VM type as defined by the cloud service provider";
640
- readonly example: "p4d.24xlarge";
1032
+ readonly description: "Date and time the fleet was last updated.";
1033
+ readonly example: "2024-09-12T09:11:27Z";
641
1034
  };
642
- readonly architecture: {
643
- readonly type: "string";
644
- readonly description: "Instance CPU architecture";
645
- readonly example: "amd64";
1035
+ };
1036
+ readonly required: readonly ["constraints", "scalingProfile", "id", "ready", "created_at", "updated_at"];
1037
+ readonly additionalProperties: false;
1038
+ readonly description: "Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.";
1039
+ };
1040
+ export declare const FleetUpdateInputSchema: {
1041
+ readonly type: "object";
1042
+ readonly properties: {
1043
+ readonly limits: {
1044
+ readonly type: "object";
1045
+ readonly properties: {
1046
+ readonly cpu: {
1047
+ readonly type: "integer";
1048
+ readonly minimum: 0;
1049
+ readonly maximum: 100000;
1050
+ readonly description: "CPU limit in cores. Maximum 100,000.";
1051
+ };
1052
+ };
1053
+ readonly additionalProperties: false;
1054
+ readonly description: "Limits define a set of bounds for provisioning capacity.";
646
1055
  };
647
- readonly os: {
648
- readonly type: "string";
649
- readonly description: "Instance operating system";
650
- readonly example: "linux";
1056
+ readonly gcp: {
1057
+ readonly type: "object";
1058
+ readonly properties: {
1059
+ readonly enabled: {
1060
+ readonly type: "boolean";
1061
+ };
1062
+ readonly project: {
1063
+ readonly type: "string";
1064
+ readonly pattern: "^[a-z][a-z0-9-]{4,28}[a-z0-9]$";
1065
+ 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.";
1066
+ readonly example: "my-cloudfleet-project";
1067
+ };
1068
+ };
1069
+ readonly required: readonly ["enabled"];
1070
+ readonly additionalProperties: false;
651
1071
  };
652
- readonly vcpu: {
653
- readonly type: "number";
654
- readonly format: "float";
655
- readonly minimum: 1;
656
- readonly description: "CPU count as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.";
657
- readonly example: 96;
1072
+ readonly hetzner: {
1073
+ readonly type: "object";
1074
+ readonly properties: {
1075
+ readonly enabled: {
1076
+ readonly type: "boolean";
1077
+ };
1078
+ readonly apiKey: {
1079
+ readonly type: "string";
1080
+ readonly maxLength: 64;
1081
+ readonly minLength: 64;
1082
+ readonly pattern: "^([A-Za-z0-9]{64}|\\*{64})$";
1083
+ 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.";
1084
+ };
1085
+ };
1086
+ readonly required: readonly ["enabled"];
1087
+ readonly additionalProperties: false;
658
1088
  };
659
- readonly memory: {
660
- readonly type: "number";
661
- readonly format: "float";
662
- readonly minimum: 1;
663
- readonly description: "Total amount of RAM in gibibytes (GiB)";
664
- readonly example: 1152;
1089
+ readonly aws: {
1090
+ readonly type: "object";
1091
+ readonly properties: {
1092
+ readonly enabled: {
1093
+ readonly type: "boolean";
1094
+ };
1095
+ readonly controllerRoleArn: {
1096
+ readonly type: "string";
1097
+ readonly pattern: "^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$";
1098
+ readonly description: "AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.";
1099
+ readonly example: "arn:aws:iam::123456789012:role/Cloudfleet";
1100
+ };
1101
+ };
1102
+ readonly required: readonly ["enabled"];
1103
+ readonly additionalProperties: false;
665
1104
  };
666
- readonly local_storage: {
667
- readonly type: "number";
668
- readonly format: "float";
669
- readonly description: "Volume of directly attached, block-device local storage in gibibytes (GiB)";
670
- readonly example: 8000;
1105
+ readonly constraints: {
1106
+ readonly type: "object";
1107
+ readonly properties: {
1108
+ readonly 'karpenter.sh/capacity-type': {
1109
+ readonly type: "array";
1110
+ readonly items: {
1111
+ readonly type: "string";
1112
+ readonly enum: readonly ["on-demand", "spot"];
1113
+ };
1114
+ readonly minItems: 1;
1115
+ readonly description: "Allowed values for `karpenter.sh/capacity-type`.";
1116
+ readonly default: readonly ["on-demand", "spot"];
1117
+ };
1118
+ readonly 'kubernetes.io/arch': {
1119
+ readonly type: "array";
1120
+ readonly items: {
1121
+ readonly type: "string";
1122
+ readonly enum: readonly ["amd64", "arm64"];
1123
+ };
1124
+ readonly minItems: 1;
1125
+ readonly description: "Allowed values for `kubernetes.io/arch`.";
1126
+ readonly default: readonly ["amd64"];
1127
+ };
1128
+ readonly 'cfke.io/instance-family': {
1129
+ readonly type: "array";
1130
+ readonly items: {
1131
+ readonly type: "string";
1132
+ 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"];
1133
+ };
1134
+ readonly description: "Allowed values for `cfke.io/instance-family`.";
1135
+ readonly default: readonly [];
1136
+ };
1137
+ readonly 'topology.kubernetes.io/region': {
1138
+ readonly type: "array";
1139
+ readonly items: {
1140
+ readonly type: "string";
1141
+ 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"];
1142
+ };
1143
+ readonly description: "Allowed values for `topology.kubernetes.io/region`.";
1144
+ readonly default: readonly [];
1145
+ };
1146
+ };
1147
+ readonly additionalProperties: false;
1148
+ 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.";
1149
+ readonly default: {
1150
+ readonly 'karpenter.sh/capacity-type': readonly ["on-demand", "spot"];
1151
+ readonly 'kubernetes.io/arch': readonly ["amd64"];
1152
+ readonly 'cfke.io/instance-family': readonly [];
1153
+ readonly 'topology.kubernetes.io/region': readonly [];
1154
+ };
671
1155
  };
672
- readonly accelerator_name: {
1156
+ readonly scalingProfile: {
673
1157
  readonly type: "string";
674
- readonly description: "Normalized model name of accelerator. For example, all variations of Nvidia A100 GPUs will have 'A100' as accelerator name with various memory configurations set in accelerator_memory field";
675
- readonly example: "A100";
1158
+ 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`).";
1159
+ readonly default: "conservative";
1160
+ readonly example: "conservative";
1161
+ readonly enum: readonly ["aggressive", "conservative"];
676
1162
  };
677
- readonly accelerator_manufacturer: {
1163
+ };
1164
+ readonly additionalProperties: false;
1165
+ readonly description: "Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.";
1166
+ };
1167
+ export declare const InviteCreateInputSchema: {
1168
+ readonly type: "object";
1169
+ readonly properties: {
1170
+ readonly email: {
678
1171
  readonly type: "string";
679
- readonly description: "Normalized manufacturer name of accelerator. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer";
680
- readonly example: "NVIDIA";
681
- };
682
- readonly accelerator_count: {
683
- readonly type: "integer";
684
- readonly description: "Number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.";
685
- readonly example: 8;
686
- };
687
- readonly accelerator_memory: {
688
- readonly type: "number";
689
- readonly format: "float";
690
- readonly description: "Ammount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory";
691
- readonly example: 40;
692
- };
693
- readonly pods_capacity: {
694
- readonly type: "number";
695
- readonly format: "float";
696
- readonly description: "Maximum number of pods that can be run on this instance type.";
697
- readonly example: 110;
1172
+ readonly format: "email";
1173
+ readonly description: "Email address of the user to invite.";
1174
+ readonly example: "email@example.com";
698
1175
  };
699
- readonly capacity_type: {
1176
+ readonly role: {
700
1177
  readonly type: "string";
701
- readonly description: "Capacity type of the instance. E.g. `on-demand`, `spot`.";
702
- readonly example: "on-demand";
703
- };
704
- readonly price: {
705
- readonly type: "number";
706
- readonly format: "float";
707
- readonly description: "Price of running the inctance per hour in USD as defined by the cloud service provider";
708
- readonly example: 35.39655;
709
- };
710
- readonly available: {
711
- readonly type: "boolean";
712
- readonly description: "Whether this instance type is available.";
713
- readonly example: true;
1178
+ readonly description: "Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.";
1179
+ readonly default: "User";
1180
+ readonly example: "User";
1181
+ readonly enum: readonly ["Administrator", "User"];
714
1182
  };
715
1183
  };
716
- readonly required: readonly ["sku", "provider", "region", "sub_region", "csp_region", "csp_zone", "instance_type", "architecture", "os", "vcpu", "memory", "local_storage", "price"];
1184
+ readonly required: readonly ["email"];
717
1185
  readonly additionalProperties: false;
718
1186
  };
719
1187
  export declare const InviteSchema: {
@@ -747,6 +1215,13 @@ export declare const InviteSchema: {
747
1215
  readonly description: "Generated unique invite code.";
748
1216
  readonly example: "7kUZnH7nnKUFfvc4NK2KQF";
749
1217
  };
1218
+ readonly role: {
1219
+ readonly type: "string";
1220
+ readonly description: "Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.";
1221
+ readonly default: "User";
1222
+ readonly example: "User";
1223
+ readonly enum: readonly ["Administrator", "User"];
1224
+ };
750
1225
  };
751
1226
  readonly required: readonly ["date_created"];
752
1227
  readonly additionalProperties: false;
@@ -756,23 +1231,18 @@ export declare const InvoiceSchema: {
756
1231
  readonly properties: {
757
1232
  readonly id: {
758
1233
  readonly type: "string";
759
- readonly format: "uuid";
760
- readonly description: "Unique identifier of the invoice. UUID v4 string in canonical form";
761
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
1234
+ readonly description: "Unique identifier of the invoice.";
1235
+ readonly example: "in_1234567890xCrwxghOTj1234";
762
1236
  };
763
- readonly organizationId: {
1237
+ readonly number: {
764
1238
  readonly type: "string";
765
- readonly format: "uuid";
766
- readonly description: "Unique identifier of the organization. UUID v4 string in canonical form";
767
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
768
1239
  };
769
1240
  readonly status: {
770
1241
  readonly type: "string";
771
1242
  readonly description: "Status of the invoice";
772
- readonly example: "DRAFT";
773
- readonly enum: readonly ["DRAFT", "COMMITTED", "VOID"];
1243
+ readonly example: "paid";
774
1244
  };
775
- readonly amount: {
1245
+ readonly total: {
776
1246
  readonly type: "number";
777
1247
  readonly format: "float";
778
1248
  readonly description: "Total amount of the invoice";
@@ -781,364 +1251,179 @@ export declare const InvoiceSchema: {
781
1251
  readonly currency: {
782
1252
  readonly type: "string";
783
1253
  readonly description: "Currency of the invoice";
784
- readonly example: "USD";
785
- 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"];
1254
+ readonly example: "usd";
786
1255
  };
787
- readonly creditAdj: {
788
- readonly type: "number";
789
- readonly format: "float";
790
- readonly description: "Total amount of credit adjustments";
791
- readonly example: 0;
1256
+ readonly created: {
1257
+ readonly type: "string";
1258
+ readonly format: "date-time";
1259
+ readonly description: "Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.";
1260
+ readonly example: "2023-12-20T13:53:32.000Z";
792
1261
  };
793
- readonly refundAdj: {
794
- readonly type: "number";
795
- readonly format: "float";
796
- readonly description: "Total amount of refund adjustments";
797
- readonly example: 0;
1262
+ readonly period_start: {
1263
+ readonly type: "string";
1264
+ readonly format: "date-time";
1265
+ readonly description: "Billing period start timestamp. ISO 8601 date string in the UTC timezone.";
1266
+ readonly example: "2023-12-20T13:53:32.000Z";
798
1267
  };
799
- readonly invoiceDate: {
1268
+ readonly period_end: {
800
1269
  readonly type: "string";
801
- readonly description: "Date of the invoice";
802
- readonly example: "2019-01-01T00:00:00.000Z";
1270
+ readonly format: "date-time";
1271
+ readonly description: "Billing period end timestamp. ISO 8601 date string in the UTC timezone.";
1272
+ readonly example: "2023-12-20T13:53:32.000Z";
803
1273
  };
804
- readonly targetDate: {
1274
+ readonly invoice_pdf: {
805
1275
  readonly type: "string";
806
- readonly description: "Target date of the invoice";
807
- readonly example: "2019-01-01T00:00:00.000Z";
808
1276
  };
809
- readonly invoiceNumber: {
1277
+ };
1278
+ readonly required: readonly ["created", "period_start", "period_end"];
1279
+ readonly additionalProperties: false;
1280
+ };
1281
+ export declare const MarketplaceListingFilesSchema: {
1282
+ readonly type: "object";
1283
+ readonly properties: {
1284
+ readonly chartYaml: {
1285
+ readonly type: "string";
1286
+ readonly description: "Raw Chart.yaml content from the Helm chart";
1287
+ readonly example: "apiVersion: v2\nname: nginx-ingress\nversion: 1.18.2-cfke.45\nappVersion: 1.9.4";
1288
+ };
1289
+ readonly valuesYaml: {
810
1290
  readonly type: "string";
811
- readonly description: "Number of the invoice";
812
- readonly example: "INV-0001";
1291
+ readonly description: "Raw values.yaml content from the Helm chart";
1292
+ readonly example: "replicaCount: 1\nimage:\n repository: nginx\n tag: latest";
813
1293
  };
814
- readonly balance: {
815
- readonly type: "number";
816
- readonly format: "float";
817
- readonly description: "Balance of the invoice";
818
- readonly example: 100;
1294
+ readonly valuesSchemaJson: {
1295
+ readonly type: "string";
1296
+ readonly description: "JSON schema for values.yaml as a string";
1297
+ readonly example: "{\"type\":\"object\",\"properties\":{\"replicaCount\":{\"type\":\"number\"}}}";
819
1298
  };
820
- readonly bundleKeys: {
1299
+ };
1300
+ readonly additionalProperties: false;
1301
+ };
1302
+ export declare const MarketplaceListingSchema: {
1303
+ readonly type: "object";
1304
+ readonly properties: {
1305
+ readonly name: {
821
1306
  readonly type: "string";
822
- readonly description: "Bundle keys of the invoice";
823
- readonly example: "bundleKey1,bundleKey2";
1307
+ readonly description: "Name of the chart";
1308
+ readonly example: "nginx-ingress";
824
1309
  };
825
- readonly credits: {
1310
+ readonly versions: {
826
1311
  readonly type: "array";
827
1312
  readonly items: {
828
- readonly type: "object";
829
- readonly properties: {
830
- readonly id: {
831
- readonly type: "string";
832
- readonly format: "uuid";
833
- readonly description: "Unique identifier of the invoice item. UUID v4 string in canonical form";
834
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
835
- };
836
- readonly linkedInvoiceItemId: {
837
- readonly type: "string";
838
- readonly format: "uuid";
839
- readonly description: "Unique identifier of the linked invoice item. UUID v4 string in canonical form";
840
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
841
- };
842
- readonly productName: {
843
- readonly type: "string";
844
- readonly description: "Name of the product";
845
- readonly example: "Research team";
846
- };
847
- readonly planName: {
848
- readonly type: "string";
849
- readonly description: "Name of the plan";
850
- readonly example: "Plan A";
851
- };
852
- readonly phaseName: {
853
- readonly type: "string";
854
- readonly description: "Name of the phase";
855
- readonly example: "Phase A";
856
- };
857
- readonly usageName: {
858
- readonly type: "string";
859
- readonly description: "Name of the usage";
860
- readonly example: "Usage A";
861
- };
862
- readonly prettyProductName: {
863
- readonly type: "string";
864
- readonly description: "Pretty name of the product";
865
- readonly example: "Research team";
866
- };
867
- readonly prettyPlanName: {
868
- readonly type: "string";
869
- readonly description: "Pretty name of the plan";
870
- readonly example: "Plan A";
871
- };
872
- readonly prettyPhaseName: {
873
- readonly type: "string";
874
- readonly description: "Pretty name of the phase";
875
- readonly example: "Phase A";
876
- };
877
- readonly prettyUsageName: {
878
- readonly type: "string";
879
- readonly description: "Pretty name of the usage";
880
- readonly example: "Usage A";
881
- };
882
- readonly itemType: {
883
- readonly type: "string";
884
- readonly description: "Type of the invoice item";
885
- readonly example: "EXTERNAL_CHARGE";
886
- readonly enum: readonly ["EXTERNAL_CHARGE", "FIXED", "RECURRING", "REPAIR_ADJ", "CBA_ADJ", "CREDIT_ADJ", "ITEM_ADJ", "USAGE", "TAX", "PARENT_SUMMARY"];
887
- };
888
- readonly description: {
889
- readonly type: "string";
890
- readonly description: "Description of the invoice item";
891
- readonly example: "Description of the invoice item";
892
- };
893
- readonly startDate: {
894
- readonly type: "string";
895
- readonly description: "Start date of the invoice item";
896
- readonly example: "2019-01-01T00:00:00.000Z";
897
- };
898
- readonly endDate: {
899
- readonly type: "string";
900
- readonly description: "End date of the invoice item";
901
- readonly example: "2019-01-01T00:00:00.000Z";
902
- };
903
- readonly amount: {
904
- readonly type: "number";
905
- readonly format: "float";
906
- readonly description: "Amount of the invoice item";
907
- readonly example: 100;
908
- };
909
- readonly rate: {
910
- readonly type: "number";
911
- readonly format: "float";
912
- readonly description: "Rate of the invoice item";
913
- readonly example: 100;
914
- };
915
- readonly currency: {
916
- readonly type: "string";
917
- readonly description: "Currency of the invoice item";
918
- readonly example: "USD";
919
- 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"];
920
- };
921
- readonly quantity: {
922
- readonly type: "number";
923
- readonly format: "float";
924
- readonly description: "Quantity of the invoice item";
925
- readonly example: 1;
926
- };
927
- readonly itemDetails: {
928
- readonly type: "string";
929
- readonly description: "Details of the invoice item";
930
- readonly example: "Details of the invoice item";
931
- };
932
- readonly catalogEffectiveDate: {
933
- readonly type: "string";
934
- readonly description: "Effective date of the catalog";
935
- readonly example: "2019-01-01T00:00:00.000Z";
936
- };
937
- readonly childItems: {
938
- readonly type: "array";
939
- readonly items: {
940
- readonly oneOf: readonly [{
941
- readonly type: "array";
942
- }, {
943
- readonly type: "boolean";
944
- }, {
945
- readonly type: "number";
946
- }, {
947
- readonly type: "object";
948
- readonly additionalProperties: true;
949
- }, {
950
- readonly type: "string";
951
- }];
952
- };
953
- readonly description: "Child items of the invoice item";
954
- };
955
- };
956
- readonly additionalProperties: false;
1313
+ readonly type: "string";
1314
+ readonly pattern: "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
1315
+ readonly description: "Specific version of the chart";
1316
+ readonly example: "1.18.2-cfke.45";
957
1317
  };
958
- readonly description: "Credits of the invoice";
1318
+ readonly description: "Available versions of the chart";
959
1319
  };
960
- readonly items: {
1320
+ readonly version_channels: {
961
1321
  readonly type: "array";
962
1322
  readonly items: {
963
- readonly type: "object";
964
- readonly properties: {
965
- readonly id: {
966
- readonly type: "string";
967
- readonly format: "uuid";
968
- readonly description: "Unique identifier of the invoice item. UUID v4 string in canonical form";
969
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
970
- };
971
- readonly linkedInvoiceItemId: {
972
- readonly type: "string";
973
- readonly format: "uuid";
974
- readonly description: "Unique identifier of the linked invoice item. UUID v4 string in canonical form";
975
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
976
- };
977
- readonly productName: {
978
- readonly type: "string";
979
- readonly description: "Name of the product";
980
- readonly example: "Research team";
981
- };
982
- readonly planName: {
983
- readonly type: "string";
984
- readonly description: "Name of the plan";
985
- readonly example: "Plan A";
986
- };
987
- readonly phaseName: {
988
- readonly type: "string";
989
- readonly description: "Name of the phase";
990
- readonly example: "Phase A";
991
- };
992
- readonly usageName: {
993
- readonly type: "string";
994
- readonly description: "Name of the usage";
995
- readonly example: "Usage A";
996
- };
997
- readonly prettyProductName: {
998
- readonly type: "string";
999
- readonly description: "Pretty name of the product";
1000
- readonly example: "Research team";
1001
- };
1002
- readonly prettyPlanName: {
1003
- readonly type: "string";
1004
- readonly description: "Pretty name of the plan";
1005
- readonly example: "Plan A";
1006
- };
1007
- readonly prettyPhaseName: {
1008
- readonly type: "string";
1009
- readonly description: "Pretty name of the phase";
1010
- readonly example: "Phase A";
1011
- };
1012
- readonly prettyUsageName: {
1013
- readonly type: "string";
1014
- readonly description: "Pretty name of the usage";
1015
- readonly example: "Usage A";
1016
- };
1017
- readonly itemType: {
1018
- readonly type: "string";
1019
- readonly description: "Type of the invoice item";
1020
- readonly example: "EXTERNAL_CHARGE";
1021
- readonly enum: readonly ["EXTERNAL_CHARGE", "FIXED", "RECURRING", "REPAIR_ADJ", "CBA_ADJ", "CREDIT_ADJ", "ITEM_ADJ", "USAGE", "TAX", "PARENT_SUMMARY"];
1022
- };
1023
- readonly description: {
1024
- readonly type: "string";
1025
- readonly description: "Description of the invoice item";
1026
- readonly example: "Description of the invoice item";
1027
- };
1028
- readonly startDate: {
1029
- readonly type: "string";
1030
- readonly description: "Start date of the invoice item";
1031
- readonly example: "2019-01-01T00:00:00.000Z";
1032
- };
1033
- readonly endDate: {
1034
- readonly type: "string";
1035
- readonly description: "End date of the invoice item";
1036
- readonly example: "2019-01-01T00:00:00.000Z";
1037
- };
1038
- readonly amount: {
1039
- readonly type: "number";
1040
- readonly format: "float";
1041
- readonly description: "Amount of the invoice item";
1042
- readonly example: 100;
1043
- };
1044
- readonly rate: {
1045
- readonly type: "number";
1046
- readonly format: "float";
1047
- readonly description: "Rate of the invoice item";
1048
- readonly example: 100;
1049
- };
1050
- readonly currency: {
1051
- readonly type: "string";
1052
- readonly description: "Currency of the invoice item";
1053
- readonly example: "USD";
1054
- 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"];
1055
- };
1056
- readonly quantity: {
1057
- readonly type: "number";
1058
- readonly format: "float";
1059
- readonly description: "Quantity of the invoice item";
1060
- readonly example: 1;
1061
- };
1062
- readonly itemDetails: {
1323
+ readonly type: "string";
1324
+ 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-]+)*))?$";
1325
+ readonly description: "Version channel pattern";
1326
+ readonly example: "1.18.x-cfke.x";
1327
+ };
1328
+ readonly description: "Version channels for the chart";
1329
+ };
1330
+ readonly latestVersion: {
1331
+ readonly type: "string";
1332
+ readonly description: "Latest version of the chart";
1333
+ readonly example: "1.18.2-cfke.45";
1334
+ };
1335
+ readonly metadata: {
1336
+ readonly type: "object";
1337
+ readonly properties: {
1338
+ readonly name: {
1339
+ readonly type: "string";
1340
+ readonly description: "Chart name from metadata";
1341
+ readonly example: "nginx-ingress";
1342
+ };
1343
+ readonly version: {
1344
+ readonly type: "string";
1345
+ readonly description: "Chart version from metadata";
1346
+ readonly example: "1.18.2-cfke.45";
1347
+ };
1348
+ readonly description: {
1349
+ readonly type: "string";
1350
+ readonly description: "Chart description";
1351
+ readonly example: "NGINX Ingress Controller for Kubernetes";
1352
+ };
1353
+ readonly appVersion: {
1354
+ readonly type: "string";
1355
+ readonly description: "Application version";
1356
+ readonly example: "1.9.4";
1357
+ };
1358
+ readonly apiVersion: {
1359
+ readonly type: "string";
1360
+ readonly description: "Helm API version";
1361
+ readonly example: "v2";
1362
+ };
1363
+ readonly keywords: {
1364
+ readonly type: "array";
1365
+ readonly items: {
1063
1366
  readonly type: "string";
1064
- readonly description: "Details of the invoice item";
1065
- readonly example: "Details of the invoice item";
1066
1367
  };
1067
- readonly catalogEffectiveDate: {
1368
+ readonly description: "Chart keywords";
1369
+ readonly example: readonly ["ingress", "nginx", "load-balancer"];
1370
+ };
1371
+ readonly home: {
1372
+ readonly type: "string";
1373
+ readonly description: "Chart home URL";
1374
+ readonly example: "https://kubernetes.github.io/ingress-nginx/";
1375
+ };
1376
+ readonly icon: {
1377
+ readonly type: "string";
1378
+ readonly description: "A URL to an SVG or PNG image to be used as an icon";
1379
+ readonly example: "https://cloudfleet.ai/images/marketplace/icons/ingress-nginx.png";
1380
+ };
1381
+ readonly sources: {
1382
+ readonly type: "array";
1383
+ readonly items: {
1068
1384
  readonly type: "string";
1069
- readonly description: "Effective date of the catalog";
1070
- readonly example: "2019-01-01T00:00:00.000Z";
1071
1385
  };
1072
- readonly childItems: {
1073
- readonly type: "array";
1074
- readonly items: {
1075
- readonly oneOf: readonly [{
1076
- readonly type: "array";
1077
- }, {
1078
- readonly type: "boolean";
1079
- }, {
1080
- readonly type: "number";
1081
- }, {
1082
- readonly type: "object";
1083
- readonly additionalProperties: true;
1084
- }, {
1386
+ readonly description: "Chart source URLs";
1387
+ readonly example: readonly ["https://github.com/kubernetes/ingress-nginx"];
1388
+ };
1389
+ readonly maintainers: {
1390
+ readonly type: "array";
1391
+ readonly items: {
1392
+ readonly type: "object";
1393
+ readonly properties: {
1394
+ readonly name: {
1395
+ readonly type: "string";
1396
+ readonly description: "Maintainer name";
1397
+ readonly example: "NGINX Team";
1398
+ };
1399
+ readonly email: {
1085
1400
  readonly type: "string";
1086
- }];
1401
+ readonly description: "Maintainer email";
1402
+ readonly example: "support@nginx.org";
1403
+ };
1087
1404
  };
1088
- readonly description: "Child items of the invoice item";
1405
+ readonly required: readonly ["name"];
1406
+ readonly additionalProperties: false;
1089
1407
  };
1408
+ readonly description: "Chart maintainers";
1090
1409
  };
1091
- readonly additionalProperties: false;
1092
1410
  };
1093
- readonly description: "Items of the invoice";
1411
+ readonly required: readonly ["name", "version"];
1412
+ readonly additionalProperties: false;
1413
+ readonly description: "Chart metadata";
1094
1414
  };
1095
1415
  };
1416
+ readonly required: readonly ["name", "versions", "version_channels", "latestVersion"];
1096
1417
  readonly additionalProperties: false;
1097
1418
  };
1098
- export declare const OrganizationContactInfoSchema: {
1419
+ export declare const OrganizationCreateInputSchema: {
1099
1420
  readonly type: "object";
1100
1421
  readonly properties: {
1101
- readonly address1: {
1102
- readonly type: "string";
1103
- readonly nullable: true;
1104
- readonly description: "Street address, P.O. box, c/o";
1105
- readonly example: "123 Main St.";
1106
- };
1107
- readonly address2: {
1108
- readonly type: "string";
1109
- readonly nullable: true;
1110
- readonly description: "Apartment, suite, unit, building, floor, etc.";
1111
- readonly example: "Suite 100";
1112
- };
1113
- readonly postalCode: {
1114
- readonly type: "string";
1115
- readonly nullable: true;
1116
- readonly description: "Postal code as a string.";
1117
- readonly example: "94105";
1118
- };
1119
- readonly city: {
1120
- readonly type: "string";
1121
- readonly nullable: true;
1122
- readonly description: "City or town name.";
1123
- readonly example: "San Francisco";
1124
- };
1125
- readonly state: {
1126
- readonly type: "string";
1127
- readonly nullable: true;
1128
- readonly description: "State, province, or region name.";
1129
- readonly example: "CA";
1130
- };
1131
- readonly country: {
1132
- readonly type: "string";
1133
- readonly nullable: true;
1134
- readonly description: "Country as a ISO 3166-1 alpha-2 country code.";
1135
- readonly example: "US";
1136
- };
1137
- readonly phone: {
1422
+ readonly type: {
1138
1423
  readonly type: "string";
1139
- readonly nullable: true;
1140
- readonly description: "Phone number as a string.";
1141
- readonly example: "+1 555 555 5555";
1424
+ readonly description: "Type of the organization. `business` for legal entities, `personal` for individuals.";
1425
+ readonly example: "business";
1426
+ readonly enum: readonly ["business", "personal"];
1142
1427
  };
1143
1428
  readonly email: {
1144
1429
  readonly type: "string";
@@ -1148,172 +1433,66 @@ export declare const OrganizationContactInfoSchema: {
1148
1433
  };
1149
1434
  readonly first_name: {
1150
1435
  readonly type: "string";
1436
+ readonly minLength: 1;
1151
1437
  readonly description: "First name of the billing contact person.";
1152
1438
  readonly example: "John";
1153
1439
  };
1154
1440
  readonly last_name: {
1155
1441
  readonly type: "string";
1442
+ readonly minLength: 1;
1156
1443
  readonly description: "Last name of the billing contact person.";
1157
1444
  readonly example: "Doe";
1158
1445
  };
1159
- };
1160
- readonly required: readonly ["email", "first_name", "last_name"];
1161
- readonly additionalProperties: false;
1162
- };
1163
- export declare const OrganizationCreateInputSchema: {
1164
- readonly type: "object";
1165
- readonly properties: {
1166
- readonly name: {
1446
+ readonly company_name: {
1167
1447
  readonly type: "string";
1168
1448
  readonly maxLength: 120;
1169
- readonly minLength: 5;
1449
+ readonly minLength: 2;
1170
1450
  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,}$";
1171
1451
  readonly description: "Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.";
1172
1452
  readonly example: "ACME Corp.";
1173
1453
  };
1174
- readonly contactInfo: {
1175
- readonly type: "object";
1176
- readonly properties: {
1177
- readonly address1: {
1178
- readonly type: "string";
1179
- readonly description: "Street address, P.O. box, c/o";
1180
- readonly example: "123 Main St.";
1181
- };
1182
- readonly address2: {
1183
- readonly type: "string";
1184
- readonly description: "Apartment, suite, unit, building, floor, etc.";
1185
- readonly example: "Suite 100";
1186
- };
1187
- readonly postalCode: {
1188
- readonly type: "string";
1189
- readonly description: "Postal code as a string.";
1190
- readonly example: "94105";
1191
- };
1192
- readonly city: {
1193
- readonly type: "string";
1194
- readonly description: "City or town name.";
1195
- readonly example: "San Francisco";
1196
- };
1197
- readonly state: {
1198
- readonly type: "string";
1199
- readonly description: "State, province, or region name.";
1200
- readonly example: "CA";
1201
- };
1202
- readonly country: {
1203
- readonly type: "string";
1204
- readonly description: "Country as a ISO 3166-1 alpha-2 country code.";
1205
- readonly example: "US";
1206
- };
1207
- readonly phone: {
1208
- readonly type: "string";
1209
- readonly description: "Phone number as a string.";
1210
- readonly example: "+1 555 555 5555";
1211
- };
1212
- readonly email: {
1213
- readonly type: "string";
1214
- readonly format: "email";
1215
- readonly description: "Email address used for billing as a string.";
1216
- readonly example: "email@example.com";
1217
- };
1218
- readonly first_name: {
1219
- readonly type: "string";
1220
- readonly description: "First name of the billing contact person.";
1221
- readonly example: "John";
1222
- };
1223
- readonly last_name: {
1224
- readonly type: "string";
1225
- readonly description: "Last name of the billing contact person.";
1226
- readonly example: "Doe";
1227
- };
1228
- };
1229
- readonly required: readonly ["email", "first_name", "last_name"];
1230
- readonly additionalProperties: false;
1231
- readonly description: "Organization contact information and billing address.";
1232
- };
1233
1454
  readonly password: {
1234
1455
  readonly type: "string";
1235
- readonly minLength: 8;
1236
- 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.";
1456
+ readonly minLength: 8;
1457
+ 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.";
1458
+ };
1459
+ };
1460
+ readonly required: readonly ["type", "email", "first_name", "last_name", "company_name", "password"];
1461
+ readonly additionalProperties: false;
1462
+ };
1463
+ export declare const OrganizationCreateOutputSchema: {
1464
+ readonly type: "object";
1465
+ readonly properties: {
1466
+ readonly id: {
1467
+ readonly type: "string";
1468
+ readonly description: "Unique identifier of the newly created organization. Generated by the API and safe to use for client-side tracking immediately.";
1469
+ readonly example: "organization-id";
1237
1470
  };
1238
1471
  };
1239
- readonly required: readonly ["name", "contactInfo", "password"];
1472
+ readonly required: readonly ["id"];
1240
1473
  readonly additionalProperties: false;
1241
1474
  };
1242
1475
  export declare const OrganizationSchema: {
1243
1476
  readonly type: "object";
1244
1477
  readonly properties: {
1478
+ readonly id: {
1479
+ readonly type: "string";
1480
+ readonly format: "uuid";
1481
+ readonly description: "Unique identifier of the organization. UUID v4 string in canonical form";
1482
+ readonly example: "e94d30ec-a2dd-4dcb-832c-ac2be144ba91";
1483
+ };
1245
1484
  readonly name: {
1246
1485
  readonly type: "string";
1247
1486
  readonly maxLength: 120;
1248
- readonly minLength: 5;
1249
- 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,}$";
1487
+ readonly minLength: 2;
1250
1488
  readonly description: "Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.";
1251
1489
  readonly example: "ACME Corp.";
1252
1490
  };
1253
- readonly contactInfo: {
1254
- readonly type: "object";
1255
- readonly properties: {
1256
- readonly address1: {
1257
- readonly type: "string";
1258
- readonly description: "Street address, P.O. box, c/o";
1259
- readonly example: "123 Main St.";
1260
- };
1261
- readonly address2: {
1262
- readonly type: "string";
1263
- readonly description: "Apartment, suite, unit, building, floor, etc.";
1264
- readonly example: "Suite 100";
1265
- };
1266
- readonly postalCode: {
1267
- readonly type: "string";
1268
- readonly description: "Postal code as a string.";
1269
- readonly example: "94105";
1270
- };
1271
- readonly city: {
1272
- readonly type: "string";
1273
- readonly description: "City or town name.";
1274
- readonly example: "San Francisco";
1275
- };
1276
- readonly state: {
1277
- readonly type: "string";
1278
- readonly description: "State, province, or region name.";
1279
- readonly example: "CA";
1280
- };
1281
- readonly country: {
1282
- readonly type: "string";
1283
- readonly description: "Country as a ISO 3166-1 alpha-2 country code.";
1284
- readonly example: "US";
1285
- };
1286
- readonly phone: {
1287
- readonly type: "string";
1288
- readonly description: "Phone number as a string.";
1289
- readonly example: "+1 555 555 5555";
1290
- };
1291
- readonly email: {
1292
- readonly type: "string";
1293
- readonly format: "email";
1294
- readonly description: "Email address used for billing as a string.";
1295
- readonly example: "email@example.com";
1296
- };
1297
- readonly first_name: {
1298
- readonly type: "string";
1299
- readonly description: "First name of the billing contact person.";
1300
- readonly example: "John";
1301
- };
1302
- readonly last_name: {
1303
- readonly type: "string";
1304
- readonly description: "Last name of the billing contact person.";
1305
- readonly example: "Doe";
1306
- };
1307
- };
1308
- readonly required: readonly ["email", "first_name", "last_name"];
1309
- readonly additionalProperties: false;
1310
- readonly description: "Organization contact information and billing address.";
1311
- };
1312
- readonly id: {
1491
+ readonly type: {
1313
1492
  readonly type: "string";
1314
- readonly format: "uuid";
1315
- readonly description: "Unique identifier of the organization. UUID v4 string in canonical form";
1316
- readonly example: "e94d30ec-a2dd-4dcb-832c-ac2be144ba91";
1493
+ readonly description: "Type of the organization. `business` for legal entities, `personal` for individuals.";
1494
+ readonly example: "business";
1495
+ readonly enum: readonly ["business", "personal"];
1317
1496
  };
1318
1497
  readonly date_created: {
1319
1498
  readonly type: "string";
@@ -1346,16 +1525,21 @@ export declare const OrganizationSchema: {
1346
1525
  readonly description: "Available number of Pro clusters that can be created.";
1347
1526
  readonly example: 999;
1348
1527
  };
1349
- readonly fleets_max: {
1528
+ readonly enterprise_clusters_max: {
1350
1529
  readonly type: "integer";
1351
1530
  readonly minimum: 0;
1352
- readonly description: "Maximum number of fleets that can be created per cluster.";
1531
+ readonly description: "Maximum number of Enterprise clusters that can be created.";
1353
1532
  readonly example: 999;
1354
1533
  };
1355
- readonly managed_fleets_cpu_max: {
1534
+ readonly enterprise_clusters_available: {
1535
+ readonly type: "integer";
1536
+ readonly description: "Available number of Enterprise clusters that can be created.";
1537
+ readonly example: 999;
1538
+ };
1539
+ readonly fleets_max: {
1356
1540
  readonly type: "integer";
1357
1541
  readonly minimum: 0;
1358
- readonly description: "Maximum number of CPU cores per managed fleet.";
1542
+ readonly description: "Maximum number of fleets that can be created per cluster.";
1359
1543
  readonly example: 999;
1360
1544
  };
1361
1545
  readonly cluster_tiers: {
@@ -1371,7 +1555,7 @@ export declare const OrganizationSchema: {
1371
1555
  readonly type: "array";
1372
1556
  readonly items: {
1373
1557
  readonly type: "string";
1374
- readonly example: "northamerica-central-1";
1558
+ readonly example: "northamerica-central-1a";
1375
1559
  };
1376
1560
  readonly minItems: 1;
1377
1561
  readonly description: "List of Cloudfleet control plane regions available for the organization.";
@@ -1384,12 +1568,12 @@ export declare const OrganizationSchema: {
1384
1568
  readonly id: {
1385
1569
  readonly type: "string";
1386
1570
  readonly description: "Id of the control plane version. Used in API calls.";
1387
- readonly example: "1.29.x-cfke.x";
1571
+ readonly example: "1.33.x-cfke.x";
1388
1572
  };
1389
1573
  readonly label: {
1390
1574
  readonly type: "string";
1391
1575
  readonly description: "Label of the control plane version. Used in frontent UI.";
1392
- readonly example: "1.29.x (Always latest 1.29 patch version)";
1576
+ readonly example: "1.33.x (Always latest 1.33 patch version)";
1393
1577
  };
1394
1578
  };
1395
1579
  readonly required: readonly ["id", "label"];
@@ -1398,154 +1582,688 @@ export declare const OrganizationSchema: {
1398
1582
  readonly minItems: 1;
1399
1583
  readonly description: "List of CFKE control plane versions available for the organization.";
1400
1584
  };
1585
+ readonly cfcr_storage_gb: {
1586
+ readonly type: "integer";
1587
+ readonly minimum: -1;
1588
+ readonly description: "Organization-level maximum CFCR storage volume in GB. -1 means no limit.";
1589
+ readonly example: 500;
1590
+ };
1401
1591
  };
1402
- 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"];
1592
+ 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"];
1403
1593
  readonly additionalProperties: false;
1404
1594
  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.";
1405
1595
  };
1406
- readonly pending_actions: {
1596
+ readonly status: {
1597
+ readonly type: "string";
1598
+ readonly description: "Status of the organization. Can be `active` or `closed`, or `suspended`.";
1599
+ readonly enum: readonly ["active", "closed", "suspended"];
1600
+ };
1601
+ readonly verification: {
1602
+ readonly type: "string";
1603
+ 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.";
1604
+ readonly example: "verified";
1605
+ readonly enum: readonly ["none", "submitted", "verified"];
1606
+ };
1607
+ };
1608
+ readonly required: readonly ["id", "type", "date_created", "quota", "status", "verification"];
1609
+ readonly additionalProperties: false;
1610
+ };
1611
+ export declare const PaymentMethodSchema: {
1612
+ readonly type: "object";
1613
+ readonly properties: {
1614
+ readonly id: {
1615
+ readonly type: "string";
1616
+ 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.";
1617
+ readonly example: "pm_1MtwBwLkdIwHu7ix28a3tqPa";
1618
+ };
1619
+ readonly type: {
1620
+ readonly type: "string";
1621
+ readonly description: "Payment method type. `card`, `sepa_debit` for SEPA Direct Debit (business accounts only), or `bank_transfer` for paying invoices by bank transfer.";
1622
+ readonly example: "card";
1623
+ readonly enum: readonly ["card", "sepa_debit", "bank_transfer"];
1624
+ };
1625
+ readonly last4: {
1626
+ readonly type: "string";
1627
+ readonly nullable: true;
1628
+ 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.";
1629
+ readonly example: "4242";
1630
+ };
1631
+ readonly exp_month: {
1632
+ readonly type: "integer";
1633
+ readonly minimum: 1;
1634
+ readonly maximum: 12;
1635
+ readonly nullable: true;
1636
+ readonly description: "Two-digit number representing the card's expiration month. Null for SEPA Direct Debit and bank transfer.";
1637
+ readonly example: 12;
1638
+ };
1639
+ readonly exp_year: {
1640
+ readonly type: "integer";
1641
+ readonly nullable: true;
1642
+ 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.";
1643
+ readonly example: 2028;
1644
+ };
1645
+ readonly brand: {
1646
+ readonly type: "string";
1647
+ readonly nullable: true;
1648
+ 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.";
1649
+ readonly example: "visa";
1650
+ };
1651
+ readonly iban: {
1652
+ readonly type: "string";
1653
+ readonly nullable: true;
1654
+ 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.";
1655
+ readonly example: "DE11243015658023127510";
1656
+ };
1657
+ readonly bic: {
1658
+ readonly type: "string";
1659
+ readonly nullable: true;
1660
+ readonly description: "BIC/SWIFT of the destination bank for bank transfers. Set only for `bank_transfer`; null otherwise.";
1661
+ readonly example: "SOGEDEFFXXX";
1662
+ };
1663
+ readonly account_holder_name: {
1664
+ readonly type: "string";
1665
+ readonly nullable: true;
1666
+ readonly description: "Account holder name of the destination bank account for bank transfers. Set only for `bank_transfer`; null otherwise.";
1667
+ readonly example: "Cloudfleet GmbH";
1668
+ };
1669
+ readonly is_default: {
1670
+ readonly type: "boolean";
1671
+ 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).";
1672
+ readonly example: true;
1673
+ };
1674
+ };
1675
+ readonly required: readonly ["id", "type", "last4", "exp_month", "exp_year", "brand", "iban", "bic", "account_holder_name", "is_default"];
1676
+ readonly additionalProperties: false;
1677
+ };
1678
+ export declare const PlatformQuotaSchema: {
1679
+ readonly type: "object";
1680
+ readonly properties: {
1681
+ readonly basic_clusters_max: {
1682
+ readonly type: "integer";
1683
+ readonly minimum: 0;
1684
+ readonly description: "Maximum number of Basic clusters that can be created.";
1685
+ readonly example: 999;
1686
+ };
1687
+ readonly basic_clusters_available: {
1688
+ readonly type: "integer";
1689
+ readonly description: "Available number of Basic clusters that can be created.";
1690
+ readonly example: 999;
1691
+ };
1692
+ readonly pro_clusters_max: {
1693
+ readonly type: "integer";
1694
+ readonly minimum: 0;
1695
+ readonly description: "Maximum number of Pro clusters that can be created.";
1696
+ readonly example: 999;
1697
+ };
1698
+ readonly pro_clusters_available: {
1699
+ readonly type: "integer";
1700
+ readonly description: "Available number of Pro clusters that can be created.";
1701
+ readonly example: 999;
1702
+ };
1703
+ readonly enterprise_clusters_max: {
1704
+ readonly type: "integer";
1705
+ readonly minimum: 0;
1706
+ readonly description: "Maximum number of Enterprise clusters that can be created.";
1707
+ readonly example: 999;
1708
+ };
1709
+ readonly enterprise_clusters_available: {
1710
+ readonly type: "integer";
1711
+ readonly description: "Available number of Enterprise clusters that can be created.";
1712
+ readonly example: 999;
1713
+ };
1714
+ readonly fleets_max: {
1715
+ readonly type: "integer";
1716
+ readonly minimum: 0;
1717
+ readonly description: "Maximum number of fleets that can be created per cluster.";
1718
+ readonly example: 999;
1719
+ };
1720
+ readonly cluster_tiers: {
1721
+ readonly type: "array";
1722
+ readonly items: {
1723
+ readonly type: "string";
1724
+ readonly example: "basic";
1725
+ };
1726
+ readonly minItems: 0;
1727
+ readonly description: "List of Cloudfleet cluster tiers available for the organization.";
1728
+ };
1729
+ readonly regions: {
1407
1730
  readonly type: "array";
1408
1731
  readonly items: {
1409
1732
  readonly type: "string";
1410
- readonly example: "signup-payment-method";
1411
- readonly enum: readonly ["signup-billing-address", "signup-payment-method", "signup-invite-team", "signup-create-cluster"];
1733
+ readonly example: "northamerica-central-1a";
1734
+ };
1735
+ readonly minItems: 1;
1736
+ readonly description: "List of Cloudfleet control plane regions available for the organization.";
1737
+ };
1738
+ readonly versions: {
1739
+ readonly type: "array";
1740
+ readonly items: {
1741
+ readonly type: "object";
1742
+ readonly properties: {
1743
+ readonly id: {
1744
+ readonly type: "string";
1745
+ readonly description: "Id of the control plane version. Used in API calls.";
1746
+ readonly example: "1.33.x-cfke.x";
1747
+ };
1748
+ readonly label: {
1749
+ readonly type: "string";
1750
+ readonly description: "Label of the control plane version. Used in frontent UI.";
1751
+ readonly example: "1.33.x (Always latest 1.33 patch version)";
1752
+ };
1753
+ };
1754
+ readonly required: readonly ["id", "label"];
1755
+ readonly additionalProperties: false;
1756
+ };
1757
+ readonly minItems: 1;
1758
+ readonly description: "List of CFKE control plane versions available for the organization.";
1759
+ };
1760
+ readonly cfcr_storage_gb: {
1761
+ readonly type: "integer";
1762
+ readonly minimum: -1;
1763
+ readonly description: "Organization-level maximum CFCR storage volume in GB. -1 means no limit.";
1764
+ readonly example: 500;
1765
+ };
1766
+ };
1767
+ 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"];
1768
+ readonly additionalProperties: false;
1769
+ };
1770
+ export declare const RegistryRepositorySchema: {
1771
+ readonly type: "object";
1772
+ readonly properties: {
1773
+ readonly name: {
1774
+ readonly type: "string";
1775
+ readonly description: "Repository name.";
1776
+ readonly example: "my-app";
1777
+ };
1778
+ readonly region: {
1779
+ readonly type: "string";
1780
+ readonly description: "Registry region.";
1781
+ readonly example: "northamerica";
1782
+ };
1783
+ readonly uri: {
1784
+ readonly type: "string";
1785
+ readonly description: "Full URI of the repository.";
1786
+ readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app";
1787
+ };
1788
+ };
1789
+ readonly required: readonly ["name", "region", "uri"];
1790
+ readonly additionalProperties: false;
1791
+ };
1792
+ export declare const RegistryRepositoryWithTagsSchema: {
1793
+ readonly type: "object";
1794
+ readonly properties: {
1795
+ readonly name: {
1796
+ readonly type: "string";
1797
+ readonly description: "Repository name.";
1798
+ readonly example: "my-app";
1799
+ };
1800
+ readonly region: {
1801
+ readonly type: "string";
1802
+ readonly description: "Registry region.";
1803
+ readonly example: "northamerica";
1804
+ };
1805
+ readonly uri: {
1806
+ readonly type: "string";
1807
+ readonly description: "Full URI of the repository.";
1808
+ readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app";
1809
+ };
1810
+ readonly tags: {
1811
+ readonly type: "array";
1812
+ readonly items: {
1813
+ readonly type: "object";
1814
+ readonly properties: {
1815
+ readonly name: {
1816
+ readonly type: "string";
1817
+ readonly description: "Tag name.";
1818
+ readonly example: "latest";
1819
+ };
1820
+ readonly size: {
1821
+ readonly type: "number";
1822
+ readonly format: "float";
1823
+ readonly description: "Size of the tag in bytes.";
1824
+ readonly example: 123456789;
1825
+ };
1826
+ readonly mediaType: {
1827
+ readonly type: "string";
1828
+ readonly description: "Media type of the manifest.";
1829
+ readonly example: "application/vnd.docker.distribution.manifest.v2+json";
1830
+ };
1831
+ readonly platforms: {
1832
+ readonly type: "array";
1833
+ readonly items: {
1834
+ readonly type: "string";
1835
+ };
1836
+ readonly description: "Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).";
1837
+ readonly example: readonly ["linux/amd64", "linux/arm64"];
1838
+ };
1839
+ };
1840
+ readonly required: readonly ["name", "size"];
1841
+ readonly additionalProperties: false;
1842
+ };
1843
+ readonly description: "Array of tags in the repository.";
1844
+ };
1845
+ readonly totalSize: {
1846
+ readonly type: "number";
1847
+ readonly format: "float";
1848
+ readonly description: "Total size of all tags in the repository in bytes.";
1849
+ readonly example: 987654321;
1850
+ };
1851
+ };
1852
+ readonly required: readonly ["name", "region", "uri", "tags", "totalSize"];
1853
+ readonly additionalProperties: false;
1854
+ };
1855
+ export declare const RegistryTagSchema: {
1856
+ readonly type: "object";
1857
+ readonly properties: {
1858
+ readonly name: {
1859
+ readonly type: "string";
1860
+ readonly description: "Tag name.";
1861
+ readonly example: "latest";
1862
+ };
1863
+ readonly digest: {
1864
+ readonly type: "string";
1865
+ readonly description: "Manifest digest for pulling by digest.";
1866
+ readonly example: "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890";
1867
+ };
1868
+ readonly mediaType: {
1869
+ readonly type: "string";
1870
+ readonly description: "Media type of the manifest.";
1871
+ readonly example: "application/vnd.docker.distribution.manifest.v2+json";
1872
+ };
1873
+ readonly config: {
1874
+ readonly type: "object";
1875
+ readonly properties: {
1876
+ readonly size: {
1877
+ readonly type: "number";
1878
+ readonly format: "float";
1879
+ readonly description: "Size of the config in bytes.";
1880
+ readonly example: 1234;
1881
+ };
1882
+ };
1883
+ readonly required: readonly ["size"];
1884
+ readonly additionalProperties: false;
1885
+ readonly description: "Manifest config metadata.";
1886
+ };
1887
+ readonly layers: {
1888
+ readonly type: "array";
1889
+ readonly items: {
1890
+ readonly type: "object";
1891
+ readonly properties: {
1892
+ readonly digest: {
1893
+ readonly type: "string";
1894
+ readonly description: "Digest of the layer.";
1895
+ readonly example: "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890";
1896
+ };
1897
+ readonly size: {
1898
+ readonly type: "number";
1899
+ readonly format: "float";
1900
+ readonly description: "Size of the layer in bytes.";
1901
+ readonly example: 5678;
1902
+ };
1903
+ };
1904
+ readonly required: readonly ["size"];
1905
+ readonly additionalProperties: false;
1906
+ };
1907
+ readonly description: "Array of layer metadata.";
1908
+ };
1909
+ readonly manifests: {
1910
+ readonly type: "array";
1911
+ readonly items: {
1912
+ readonly type: "object";
1913
+ readonly properties: {
1914
+ readonly digest: {
1915
+ readonly type: "string";
1916
+ readonly description: "Digest of the manifest.";
1917
+ readonly example: "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890";
1918
+ };
1919
+ readonly platform: {
1920
+ readonly type: "object";
1921
+ readonly properties: {
1922
+ readonly architecture: {
1923
+ readonly type: "string";
1924
+ readonly description: "Architecture of the platform.";
1925
+ readonly example: "amd64";
1926
+ };
1927
+ readonly os: {
1928
+ readonly type: "string";
1929
+ readonly description: "Operating system of the platform.";
1930
+ readonly example: "linux";
1931
+ };
1932
+ readonly variant: {
1933
+ readonly type: "string";
1934
+ readonly description: "Variant of the platform (e.g., v7, v8 for ARM).";
1935
+ readonly example: "v8";
1936
+ };
1937
+ };
1938
+ readonly required: readonly ["architecture", "os"];
1939
+ readonly additionalProperties: false;
1940
+ readonly description: "Platform information for the manifest.";
1941
+ };
1942
+ readonly layers: {
1943
+ readonly type: "array";
1944
+ readonly items: {
1945
+ readonly type: "object";
1946
+ readonly properties: {
1947
+ readonly digest: {
1948
+ readonly type: "string";
1949
+ readonly description: "Digest of the layer.";
1950
+ readonly example: "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890";
1951
+ };
1952
+ readonly size: {
1953
+ readonly type: "number";
1954
+ readonly format: "float";
1955
+ readonly description: "Size of the layer in bytes.";
1956
+ readonly example: 5678;
1957
+ };
1958
+ };
1959
+ readonly required: readonly ["size"];
1960
+ readonly additionalProperties: false;
1961
+ };
1962
+ readonly description: "Layers for this platform.";
1963
+ };
1964
+ readonly size: {
1965
+ readonly type: "number";
1966
+ readonly format: "float";
1967
+ readonly description: "Total size of this platform manifest in bytes.";
1968
+ readonly example: 12345678;
1969
+ };
1970
+ };
1971
+ readonly required: readonly ["digest"];
1972
+ readonly additionalProperties: false;
1412
1973
  };
1413
- readonly description: "List of pending actions that the user needs to complete. Used in Cloudfleet console to guide the user through the onboarding process.";
1974
+ readonly description: "Array of manifests for multi-arch images.";
1414
1975
  };
1415
- readonly status: {
1976
+ readonly size: {
1977
+ readonly type: "number";
1978
+ readonly format: "float";
1979
+ readonly description: "Total size of the tag in bytes.";
1980
+ readonly example: 123456789;
1981
+ };
1982
+ readonly region: {
1416
1983
  readonly type: "string";
1417
- readonly description: "Status of the organization. Can be `active` or `closed`, or `suspended`.";
1418
- readonly enum: readonly ["active", "closed", "suspended"];
1984
+ readonly description: "Registry region.";
1985
+ readonly example: "northamerica";
1986
+ };
1987
+ readonly repository: {
1988
+ readonly type: "string";
1989
+ readonly description: "Repository name.";
1990
+ readonly example: "my-app";
1991
+ };
1992
+ readonly uri: {
1993
+ readonly type: "string";
1994
+ readonly description: "Full URI of the tag.";
1995
+ readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app:latest";
1419
1996
  };
1420
1997
  };
1421
- readonly required: readonly ["name", "contactInfo", "id", "date_created", "quota", "pending_actions", "status"];
1998
+ readonly required: readonly ["name", "digest", "size", "region", "repository", "uri"];
1422
1999
  readonly additionalProperties: false;
1423
2000
  };
1424
- export declare const OrganizationUpdateInputSchema: {
2001
+ export declare const TicketAttachmentSchema: {
1425
2002
  readonly type: "object";
1426
2003
  readonly properties: {
1427
- readonly name: {
2004
+ readonly id: {
1428
2005
  readonly type: "string";
1429
- readonly maxLength: 120;
1430
- readonly minLength: 5;
1431
- 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,}$";
1432
- readonly description: "Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.";
1433
- readonly example: "ACME Corp.";
2006
+ readonly description: "Unique identifier of the attachment (Mongo ObjectId).";
2007
+ readonly example: "60c72b2f9f1b2c001f8e4d3c";
2008
+ };
2009
+ readonly filename: {
2010
+ readonly type: "string";
2011
+ readonly description: "Original filename as uploaded.";
2012
+ readonly example: "debug.log";
2013
+ };
2014
+ readonly content_type: {
2015
+ readonly type: "string";
2016
+ readonly description: "MIME content type of the attachment.";
2017
+ readonly example: "text/plain";
2018
+ };
2019
+ readonly size: {
2020
+ readonly type: "integer";
2021
+ readonly description: "Size of the attachment in bytes.";
2022
+ readonly example: 12345;
2023
+ };
2024
+ };
2025
+ readonly required: readonly ["id", "filename", "content_type", "size"];
2026
+ readonly additionalProperties: false;
2027
+ };
2028
+ export declare const TicketCreateInputSchema: {
2029
+ readonly type: "object";
2030
+ readonly properties: {
2031
+ readonly category: {
2032
+ readonly type: "string";
2033
+ readonly description: "Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.";
2034
+ readonly example: "technical";
2035
+ readonly enum: readonly ["billing", "technical", "general"];
2036
+ };
2037
+ readonly body: {
2038
+ readonly type: "string";
2039
+ readonly maxLength: 50000;
2040
+ readonly minLength: 1;
2041
+ readonly pattern: "\\S";
2042
+ readonly description: "Initial message body in markdown. There is no separate subject — the first message body is the description.";
2043
+ readonly example: "My cluster cannot reach the registry. Logs attached.";
1434
2044
  };
1435
- readonly contactInfo: {
2045
+ readonly properties: {
1436
2046
  readonly type: "object";
1437
- readonly properties: {
1438
- readonly address1: {
1439
- readonly type: "string";
1440
- readonly description: "Street address, P.O. box, c/o";
1441
- readonly example: "123 Main St.";
1442
- };
1443
- readonly address2: {
1444
- readonly type: "string";
1445
- readonly description: "Apartment, suite, unit, building, floor, etc.";
1446
- readonly example: "Suite 100";
1447
- };
1448
- readonly postalCode: {
1449
- readonly type: "string";
1450
- readonly description: "Postal code as a string.";
1451
- readonly example: "94105";
1452
- };
1453
- readonly city: {
1454
- readonly type: "string";
1455
- readonly description: "City or town name.";
1456
- readonly example: "San Francisco";
1457
- };
1458
- readonly state: {
1459
- readonly type: "string";
1460
- readonly description: "State, province, or region name.";
1461
- readonly example: "CA";
1462
- };
1463
- readonly country: {
1464
- readonly type: "string";
1465
- readonly description: "Country as a ISO 3166-1 alpha-2 country code.";
1466
- readonly example: "US";
1467
- };
1468
- readonly phone: {
1469
- readonly type: "string";
1470
- readonly description: "Phone number as a string.";
1471
- readonly example: "+1 555 555 5555";
1472
- };
1473
- readonly email: {
1474
- readonly type: "string";
1475
- readonly format: "email";
1476
- readonly description: "Email address used for billing as a string.";
1477
- readonly example: "email@example.com";
1478
- };
1479
- readonly first_name: {
1480
- readonly type: "string";
1481
- readonly description: "First name of the billing contact person.";
1482
- readonly example: "John";
1483
- };
1484
- readonly last_name: {
1485
- readonly type: "string";
1486
- readonly description: "Last name of the billing contact person.";
1487
- readonly example: "Doe";
1488
- };
2047
+ readonly additionalProperties: true;
2048
+ readonly description: "Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).";
2049
+ readonly example: {
2050
+ readonly subcategory: "cluster-question";
2051
+ readonly cluster_id: "60c72b2f9f1b2c001f8e4d3a";
1489
2052
  };
1490
- readonly required: readonly ["email", "first_name", "last_name"];
1491
- readonly additionalProperties: false;
1492
- readonly description: "Organization contact information and billing address.";
1493
2053
  };
1494
2054
  };
1495
- readonly required: readonly ["contactInfo"];
2055
+ readonly required: readonly ["category", "body"];
1496
2056
  readonly additionalProperties: false;
1497
2057
  };
1498
- export declare const PaymentMethodSchema: {
2058
+ export declare const TicketMessageInputSchema: {
1499
2059
  readonly type: "object";
1500
2060
  readonly properties: {
1501
- readonly id: {
2061
+ readonly body: {
1502
2062
  readonly type: "string";
1503
- readonly format: "uuid";
1504
- readonly description: "Unique identifier of the organization. UUID v4 string in canonical form.";
1505
- readonly example: "e94d30ec-a2dd-4dcb-832c-ac2be144ba91";
2063
+ readonly maxLength: 50000;
2064
+ readonly minLength: 1;
2065
+ readonly pattern: "\\S";
2066
+ readonly description: "Reply body in markdown.";
2067
+ readonly example: "Thanks — that resolved it on my side.";
1506
2068
  };
1507
- readonly setup: {
1508
- readonly type: "boolean";
1509
- readonly description: "Whether organization payment method was set up and ready to use for payments.";
1510
- readonly example: true;
2069
+ };
2070
+ readonly required: readonly ["body"];
2071
+ readonly additionalProperties: false;
2072
+ };
2073
+ export declare const TicketMessageSchema: {
2074
+ readonly type: "object";
2075
+ readonly properties: {
2076
+ readonly id: {
2077
+ readonly type: "string";
2078
+ readonly description: "Unique identifier of the message (Mongo ObjectId).";
2079
+ readonly example: "60c72b2f9f1b2c001f8e4d3b";
1511
2080
  };
1512
2081
  readonly type: {
1513
2082
  readonly type: "string";
1514
- readonly nullable: true;
1515
- readonly description: "Payment method type type. Only `card` payments supported at the moment.";
1516
- readonly example: "card";
1517
- readonly enum: readonly ["card"];
2083
+ readonly description: "Message type. Internal notes are filtered out of customer-facing responses.";
2084
+ readonly example: "customer_reply";
2085
+ readonly enum: readonly ["customer_reply", "agent_reply"];
1518
2086
  };
1519
- readonly last4: {
2087
+ readonly body: {
1520
2088
  readonly type: "string";
1521
- readonly nullable: true;
1522
- readonly description: "Last 4 digits of the payment card number.";
1523
- readonly example: "4242";
2089
+ readonly description: "Message body in markdown.";
2090
+ readonly example: "Thanks that resolved it on my side.";
1524
2091
  };
1525
- readonly exp_month: {
1526
- readonly type: "integer";
1527
- readonly minimum: 1;
1528
- readonly maximum: 12;
2092
+ readonly author_first_name: {
2093
+ readonly type: "string";
1529
2094
  readonly nullable: true;
1530
- readonly description: "Two-digit number representing the card's expiration month.";
1531
- readonly example: "12";
2095
+ readonly description: "First name of the author. Null when not provided.";
2096
+ readonly example: "Jane";
1532
2097
  };
1533
- readonly exp_year: {
1534
- readonly type: "integer";
1535
- readonly minimum: 2024;
2098
+ readonly author_last_name: {
2099
+ readonly type: "string";
1536
2100
  readonly nullable: true;
1537
- readonly description: "Four-digit number representing the card's expiration year.";
1538
- readonly example: "2028";
2101
+ readonly description: "Last name of the author. Null when not provided.";
2102
+ readonly example: "Doe";
1539
2103
  };
1540
- readonly brand: {
2104
+ readonly attachments: {
2105
+ readonly type: "array";
2106
+ readonly items: {
2107
+ readonly type: "object";
2108
+ readonly properties: {
2109
+ readonly id: {
2110
+ readonly type: "string";
2111
+ readonly description: "Unique identifier of the attachment (Mongo ObjectId).";
2112
+ readonly example: "60c72b2f9f1b2c001f8e4d3c";
2113
+ };
2114
+ readonly filename: {
2115
+ readonly type: "string";
2116
+ readonly description: "Original filename as uploaded.";
2117
+ readonly example: "debug.log";
2118
+ };
2119
+ readonly content_type: {
2120
+ readonly type: "string";
2121
+ readonly description: "MIME content type of the attachment.";
2122
+ readonly example: "text/plain";
2123
+ };
2124
+ readonly size: {
2125
+ readonly type: "integer";
2126
+ readonly description: "Size of the attachment in bytes.";
2127
+ readonly example: 12345;
2128
+ };
2129
+ };
2130
+ readonly required: readonly ["id", "filename", "content_type", "size"];
2131
+ readonly additionalProperties: false;
2132
+ };
2133
+ readonly description: "Attachments associated with this message.";
2134
+ readonly example: readonly [];
2135
+ };
2136
+ readonly date_created: {
2137
+ readonly type: "string";
2138
+ readonly format: "date-time";
2139
+ readonly description: "Creation date of the message. ISO 8601 UTC.";
2140
+ readonly example: "2026-05-11T16:08:14.338Z";
2141
+ };
2142
+ };
2143
+ readonly required: readonly ["id", "type", "body", "date_created"];
2144
+ readonly additionalProperties: false;
2145
+ };
2146
+ export declare const TicketSchema: {
2147
+ readonly type: "object";
2148
+ readonly properties: {
2149
+ readonly id: {
2150
+ readonly type: "string";
2151
+ readonly description: "Unique identifier of the ticket (Mongo ObjectId).";
2152
+ readonly example: "60c72b2f9f1b2c001f8e4d3a";
2153
+ };
2154
+ readonly status: {
2155
+ readonly type: "string";
2156
+ readonly description: "Current state of the ticket.";
2157
+ readonly example: "waiting_on_us";
2158
+ readonly enum: readonly ["waiting_on_us", "waiting_on_user", "closed"];
2159
+ };
2160
+ readonly category: {
2161
+ readonly type: "string";
2162
+ readonly description: "Ticket category.";
2163
+ readonly example: "technical";
2164
+ readonly enum: readonly ["billing", "technical", "general"];
2165
+ };
2166
+ readonly summary: {
2167
+ readonly type: "string";
2168
+ readonly description: "First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.";
2169
+ readonly example: "My cluster cannot reach the registry. Logs attached.";
2170
+ };
2171
+ readonly closed_at: {
1541
2172
  readonly type: "string";
2173
+ readonly format: "date-time";
1542
2174
  readonly nullable: true;
1543
- readonly description: "Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.";
1544
- readonly example: "visa";
1545
- readonly enum: readonly ["amex", "diners", "discover", "eftpos_au", "jcb", "mastercard", "unionpay", "visa", "unknown"];
2175
+ readonly description: "Closure timestamp. Null while the ticket is open.";
2176
+ readonly example: "2026-05-18T16:08:14.338Z";
2177
+ };
2178
+ readonly date_created: {
2179
+ readonly type: "string";
2180
+ readonly format: "date-time";
2181
+ readonly description: "Creation date of the ticket. ISO 8601 UTC.";
2182
+ readonly example: "2026-05-11T16:08:14.338Z";
2183
+ };
2184
+ readonly date_updated: {
2185
+ readonly type: "string";
2186
+ readonly format: "date-time";
2187
+ readonly description: "Last update date of the ticket. ISO 8601 UTC.";
2188
+ readonly example: "2026-05-11T16:08:14.338Z";
2189
+ };
2190
+ readonly messages: {
2191
+ readonly type: "array";
2192
+ readonly items: {
2193
+ readonly type: "object";
2194
+ readonly properties: {
2195
+ readonly id: {
2196
+ readonly type: "string";
2197
+ readonly description: "Unique identifier of the message (Mongo ObjectId).";
2198
+ readonly example: "60c72b2f9f1b2c001f8e4d3b";
2199
+ };
2200
+ readonly type: {
2201
+ readonly type: "string";
2202
+ readonly description: "Message type. Internal notes are filtered out of customer-facing responses.";
2203
+ readonly example: "customer_reply";
2204
+ readonly enum: readonly ["customer_reply", "agent_reply"];
2205
+ };
2206
+ readonly body: {
2207
+ readonly type: "string";
2208
+ readonly description: "Message body in markdown.";
2209
+ readonly example: "Thanks — that resolved it on my side.";
2210
+ };
2211
+ readonly author_first_name: {
2212
+ readonly type: "string";
2213
+ readonly description: "First name of the author. Null when not provided.";
2214
+ readonly example: "Jane";
2215
+ };
2216
+ readonly author_last_name: {
2217
+ readonly type: "string";
2218
+ readonly description: "Last name of the author. Null when not provided.";
2219
+ readonly example: "Doe";
2220
+ };
2221
+ readonly attachments: {
2222
+ readonly type: "array";
2223
+ readonly items: {
2224
+ readonly type: "object";
2225
+ readonly properties: {
2226
+ readonly id: {
2227
+ readonly type: "string";
2228
+ readonly description: "Unique identifier of the attachment (Mongo ObjectId).";
2229
+ readonly example: "60c72b2f9f1b2c001f8e4d3c";
2230
+ };
2231
+ readonly filename: {
2232
+ readonly type: "string";
2233
+ readonly description: "Original filename as uploaded.";
2234
+ readonly example: "debug.log";
2235
+ };
2236
+ readonly content_type: {
2237
+ readonly type: "string";
2238
+ readonly description: "MIME content type of the attachment.";
2239
+ readonly example: "text/plain";
2240
+ };
2241
+ readonly size: {
2242
+ readonly type: "integer";
2243
+ readonly description: "Size of the attachment in bytes.";
2244
+ readonly example: 12345;
2245
+ };
2246
+ };
2247
+ readonly required: readonly ["id", "filename", "content_type", "size"];
2248
+ readonly additionalProperties: false;
2249
+ };
2250
+ readonly description: "Attachments associated with this message.";
2251
+ readonly example: readonly [];
2252
+ };
2253
+ readonly date_created: {
2254
+ readonly type: "string";
2255
+ readonly format: "date-time";
2256
+ readonly description: "Creation date of the message. ISO 8601 UTC.";
2257
+ readonly example: "2026-05-11T16:08:14.338Z";
2258
+ };
2259
+ };
2260
+ readonly required: readonly ["id", "type", "body", "date_created"];
2261
+ readonly additionalProperties: false;
2262
+ };
2263
+ readonly description: "Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.";
1546
2264
  };
1547
2265
  };
1548
- readonly required: readonly ["id", "setup", "type", "last4", "exp_month", "exp_year", "brand"];
2266
+ readonly required: readonly ["id", "status", "category", "summary", "date_created", "date_updated"];
1549
2267
  readonly additionalProperties: false;
1550
2268
  };
1551
2269
  export declare const TokenCreateInputSchema: {
@@ -1626,32 +2344,142 @@ export declare const TokenUpdateInputSchema: {
1626
2344
  };
1627
2345
  readonly additionalProperties: false;
1628
2346
  };
2347
+ export declare const UsageFacetsSchema: {
2348
+ readonly type: "object";
2349
+ readonly properties: {
2350
+ readonly cluster_id: {
2351
+ readonly type: "array";
2352
+ readonly items: {
2353
+ readonly type: "string";
2354
+ };
2355
+ readonly description: "List of unique cluster IDs";
2356
+ readonly example: readonly ["6b5439b1-923a-4f2b-a371-d554e5ea23fa"];
2357
+ };
2358
+ readonly product: {
2359
+ readonly type: "array";
2360
+ readonly items: {
2361
+ readonly type: "string";
2362
+ 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"];
2363
+ };
2364
+ readonly description: "List of unique products";
2365
+ readonly example: readonly ["cfke_controlplane_pro", "cfke_connected_nodes_pro"];
2366
+ };
2367
+ };
2368
+ readonly additionalProperties: false;
2369
+ };
2370
+ export declare const UsageResponseSchema: {
2371
+ readonly type: "object";
2372
+ readonly properties: {
2373
+ readonly data: {
2374
+ readonly type: "array";
2375
+ readonly items: {
2376
+ readonly type: "object";
2377
+ readonly properties: {
2378
+ readonly hour: {
2379
+ readonly type: "string";
2380
+ readonly description: "Hour of the usage";
2381
+ readonly example: "2019-01-01T00:00:00.000Z";
2382
+ };
2383
+ readonly cluster_id: {
2384
+ readonly type: "string";
2385
+ readonly description: "Unique identifier of the kubernetes cluster. UUID v4 string in canonical form";
2386
+ readonly example: "6b5439b1-923a-4f2b-a371-d554e5ea23fa";
2387
+ };
2388
+ readonly product: {
2389
+ readonly type: "string";
2390
+ readonly description: "The product the usage is associated with";
2391
+ readonly example: "cfke_controlplane_pro";
2392
+ 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"];
2393
+ };
2394
+ readonly value: {
2395
+ readonly type: "number";
2396
+ readonly format: "float";
2397
+ readonly description: "Consumption";
2398
+ readonly example: 4;
2399
+ };
2400
+ readonly price: {
2401
+ readonly type: "number";
2402
+ readonly format: "float";
2403
+ readonly description: "Price per unit";
2404
+ readonly example: 0.01;
2405
+ };
2406
+ readonly total: {
2407
+ readonly type: "number";
2408
+ readonly format: "float";
2409
+ readonly description: "Total cost";
2410
+ };
2411
+ };
2412
+ readonly required: readonly ["hour", "cluster_id", "product", "value", "price", "total"];
2413
+ readonly additionalProperties: false;
2414
+ };
2415
+ readonly description: "Usage data";
2416
+ };
2417
+ readonly facets: {
2418
+ readonly type: "object";
2419
+ readonly properties: {
2420
+ readonly cluster_id: {
2421
+ readonly type: "array";
2422
+ readonly items: {
2423
+ readonly type: "string";
2424
+ };
2425
+ readonly description: "List of unique cluster IDs";
2426
+ readonly example: readonly ["6b5439b1-923a-4f2b-a371-d554e5ea23fa"];
2427
+ };
2428
+ readonly product: {
2429
+ readonly type: "array";
2430
+ readonly items: {
2431
+ readonly type: "string";
2432
+ 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"];
2433
+ };
2434
+ readonly description: "List of unique products";
2435
+ readonly example: readonly ["cfke_controlplane_pro", "cfke_connected_nodes_pro"];
2436
+ };
2437
+ };
2438
+ readonly additionalProperties: false;
2439
+ readonly description: "Facets for filtering";
2440
+ };
2441
+ };
2442
+ readonly required: readonly ["data", "facets"];
2443
+ readonly additionalProperties: false;
2444
+ };
1629
2445
  export declare const UsageSchema: {
1630
2446
  readonly type: "object";
1631
2447
  readonly properties: {
1632
- readonly id: {
2448
+ readonly hour: {
1633
2449
  readonly type: "string";
1634
- readonly format: "uuid";
1635
- readonly description: "Unique identifier of the Usage object, equal to subscription id of the task . UUID v4 string in canonical form";
1636
- readonly example: "8897e84c-2ba1-42fa-9d35-964c80a4ff0f";
2450
+ readonly description: "Hour of the usage";
2451
+ readonly example: "2019-01-01T00:00:00.000Z";
1637
2452
  };
1638
- readonly task_id: {
2453
+ readonly cluster_id: {
1639
2454
  readonly type: "string";
1640
- readonly format: "uuid";
1641
- readonly description: "Unique identifier of the project. UUID v4 string in canonical form";
1642
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
2455
+ readonly description: "Unique identifier of the kubernetes cluster. UUID v4 string in canonical form";
2456
+ readonly example: "6b5439b1-923a-4f2b-a371-d554e5ea23fa";
1643
2457
  };
1644
- readonly unit: {
2458
+ readonly product: {
1645
2459
  readonly type: "string";
1646
- readonly description: "Unit of measurement. E.g. GiB, seconds, etc";
1647
- readonly example: "second";
2460
+ readonly description: "The product the usage is associated with";
2461
+ readonly example: "cfke_controlplane_pro";
2462
+ 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"];
1648
2463
  };
1649
- readonly amount: {
2464
+ readonly value: {
1650
2465
  readonly type: "number";
1651
2466
  readonly format: "float";
2467
+ readonly description: "Consumption";
2468
+ readonly example: 4;
2469
+ };
2470
+ readonly price: {
2471
+ readonly type: "number";
2472
+ readonly format: "float";
2473
+ readonly description: "Price per unit";
2474
+ readonly example: 0.01;
2475
+ };
2476
+ readonly total: {
2477
+ readonly type: "number";
2478
+ readonly format: "float";
2479
+ readonly description: "Total cost";
1652
2480
  };
1653
2481
  };
1654
- readonly required: readonly ["id", "task_id", "unit", "amount"];
2482
+ readonly required: readonly ["hour", "cluster_id", "product", "value", "price", "total"];
1655
2483
  readonly additionalProperties: false;
1656
2484
  };
1657
2485
  export declare const UserCreateInputSchema: {
@@ -1686,19 +2514,7 @@ export declare const UserCreateInputSchema: {
1686
2514
  readonly password: {
1687
2515
  readonly type: "string";
1688
2516
  readonly minLength: 8;
1689
- readonly description: "User password. Must be at least 8 characters long and contain at least one uppercase letter, one lowercase letter, one number and one special character.";
1690
- };
1691
- readonly status: {
1692
- readonly type: "string";
1693
- readonly description: "Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.";
1694
- readonly example: "active";
1695
- readonly enum: readonly ["active", "inactive"];
1696
- };
1697
- readonly role: {
1698
- readonly type: "string";
1699
- readonly description: "User role. Can be 'Administrator', 'User'.";
1700
- readonly example: "User";
1701
- readonly enum: readonly ["Administrator", "User"];
2517
+ readonly description: "User password. Must be at least 8 characters long.";
1702
2518
  };
1703
2519
  };
1704
2520
  readonly required: readonly ["email", "first_name", "last_name", "code", "password"];
@@ -1751,28 +2567,6 @@ export declare const UserSchema: {
1751
2567
  readonly description: "Creation date of the user. ISO 8601 date string in UTC timezone";
1752
2568
  readonly example: "2023-11-02T16:08:14.338Z";
1753
2569
  };
1754
- readonly cluster_permissions: {
1755
- readonly type: "array";
1756
- readonly items: {
1757
- readonly type: "object";
1758
- readonly properties: {
1759
- readonly cluster_id: {
1760
- readonly type: "string";
1761
- readonly format: "uuid";
1762
- readonly description: "Unique identifier of the cluster. UUID v4 string in canonical form";
1763
- readonly example: "035ce46d-44d8-4e58-a8a2-b0192d1c27df";
1764
- };
1765
- readonly permissions: {
1766
- readonly type: "string";
1767
- readonly description: "User permissions to access the cluster. Can be `readwrite` or `readonly`.";
1768
- readonly example: "readwrite";
1769
- readonly enum: readonly ["readwrite", "readonly"];
1770
- };
1771
- };
1772
- readonly required: readonly ["cluster_id", "permissions"];
1773
- readonly additionalProperties: false;
1774
- };
1775
- };
1776
2570
  };
1777
2571
  readonly required: readonly ["email", "first_name", "last_name", "role", "status", "id", "date_created"];
1778
2572
  readonly additionalProperties: false;