@cloudfleet/sdk 0.0.1-b5706bb → 0.0.1-ba4d67b
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.
- package/README.md +26 -2
- package/dist/@tanstack/react-query.gen.d.ts +1199 -0
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
- package/dist/@tanstack/react-query.gen.js +1215 -0
- package/dist/@tanstack/react-query.gen.js.map +1 -0
- package/dist/client/client.gen.d.ts +3 -0
- package/dist/client/client.gen.d.ts.map +1 -0
- package/dist/client/client.gen.js +217 -0
- package/dist/client/client.gen.js.map +1 -0
- package/dist/client/index.d.ts +9 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +7 -0
- package/dist/client/index.js.map +1 -0
- package/dist/client/types.gen.d.ts +121 -0
- package/dist/client/types.gen.d.ts.map +1 -0
- package/dist/client/types.gen.js +3 -0
- package/dist/client/types.gen.js.map +1 -0
- package/dist/client/utils.gen.d.ts +38 -0
- package/dist/client/utils.gen.d.ts.map +1 -0
- package/dist/client/utils.gen.js +229 -0
- package/dist/client/utils.gen.js.map +1 -0
- package/dist/client.gen.d.ts +13 -0
- package/dist/client.gen.d.ts.map +1 -0
- package/dist/client.gen.js +4 -0
- package/dist/client.gen.js.map +1 -0
- package/dist/core/auth.gen.d.ts +19 -0
- package/dist/core/auth.gen.d.ts.map +1 -0
- package/dist/core/auth.gen.js +15 -0
- package/dist/core/auth.gen.js.map +1 -0
- package/dist/core/bodySerializer.gen.d.ts +26 -0
- package/dist/core/bodySerializer.gen.d.ts.map +1 -0
- package/dist/core/bodySerializer.gen.js +58 -0
- package/dist/core/bodySerializer.gen.js.map +1 -0
- package/dist/core/params.gen.d.ts +44 -0
- package/dist/core/params.gen.d.ts.map +1 -0
- package/dist/core/params.gen.js +101 -0
- package/dist/core/params.gen.js.map +1 -0
- package/dist/core/pathSerializer.gen.d.ts +34 -0
- package/dist/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/core/pathSerializer.gen.js +107 -0
- package/dist/core/pathSerializer.gen.js.map +1 -0
- package/dist/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/core/queryKeySerializer.gen.js +93 -0
- package/dist/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/core/serverSentEvents.gen.d.ts +72 -0
- package/dist/core/serverSentEvents.gen.d.ts.map +1 -0
- package/dist/core/serverSentEvents.gen.js +133 -0
- package/dist/core/serverSentEvents.gen.js.map +1 -0
- package/dist/core/types.gen.d.ts +79 -0
- package/dist/core/types.gen.d.ts.map +1 -0
- package/dist/core/types.gen.js +3 -0
- package/dist/core/types.gen.js.map +1 -0
- package/dist/core/utils.gen.d.ts +20 -0
- package/dist/core/utils.gen.d.ts.map +1 -0
- package/dist/core/utils.gen.js +88 -0
- package/dist/core/utils.gen.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/schemas.gen.d.ts +1793 -1083
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +3358 -1361
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +352 -198
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +468 -296
- package/dist/sdk.gen.js.map +1 -1
- package/dist/services/kubernetes/api.d.ts +196 -0
- package/dist/services/kubernetes/api.d.ts.map +1 -0
- package/dist/services/kubernetes/api.js +140 -0
- package/dist/services/kubernetes/api.js.map +1 -0
- package/dist/services/kubernetes/index.d.ts +44 -0
- package/dist/services/kubernetes/index.d.ts.map +1 -0
- package/dist/services/kubernetes/index.js +68 -0
- package/dist/services/kubernetes/index.js.map +1 -0
- package/dist/services/kubernetes/types.d.ts +1335 -0
- package/dist/services/kubernetes/types.d.ts.map +1 -0
- package/dist/services/kubernetes/types.js +2 -0
- package/dist/services/kubernetes/types.js.map +1 -0
- package/dist/types.gen.d.ts +1998 -1252
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +3993 -2818
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +1724 -945
- package/dist/zod.gen.js.map +1 -1
- package/package.json +30 -7
package/dist/zod.gen.js
CHANGED
|
@@ -1,26 +1,251 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
-
import
|
|
2
|
+
import * as z from 'zod';
|
|
3
|
+
export const zBasicPriceConsentInput = z.object({
|
|
4
|
+
decision: z.enum(['accepted', 'rejected'])
|
|
5
|
+
});
|
|
6
|
+
export const zBasicPriceConsent = z.object({
|
|
7
|
+
status: z.enum([
|
|
8
|
+
'not_applicable',
|
|
9
|
+
'pending',
|
|
10
|
+
'accepted',
|
|
11
|
+
'rejected'
|
|
12
|
+
]),
|
|
13
|
+
decided_at: z.iso.datetime().optional(),
|
|
14
|
+
decided_by: z.string().optional()
|
|
15
|
+
});
|
|
16
|
+
export const zBillingContact = z.object({
|
|
17
|
+
type: z.enum(['business', 'personal']),
|
|
18
|
+
company: z.string().min(2).max(120).regex(/^(?!\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,}$/).optional(),
|
|
19
|
+
address1: z.string().optional(),
|
|
20
|
+
address2: z.string().optional(),
|
|
21
|
+
postalCode: z.string().optional(),
|
|
22
|
+
city: z.string().optional(),
|
|
23
|
+
state: z.string().optional(),
|
|
24
|
+
country: z.string().optional(),
|
|
25
|
+
phone: z.string().optional(),
|
|
26
|
+
email: z.email(),
|
|
27
|
+
individual_name: z.string(),
|
|
28
|
+
tax_id: z.string().optional(),
|
|
29
|
+
tax_id_type: z.enum([
|
|
30
|
+
'ad_nrt',
|
|
31
|
+
'ae_trn',
|
|
32
|
+
'al_tin',
|
|
33
|
+
'am_tin',
|
|
34
|
+
'ao_tin',
|
|
35
|
+
'ar_cuit',
|
|
36
|
+
'at_vat',
|
|
37
|
+
'au_abn',
|
|
38
|
+
'au_arn',
|
|
39
|
+
'ba_tin',
|
|
40
|
+
'bb_tin',
|
|
41
|
+
'be_vat',
|
|
42
|
+
'bg_uic',
|
|
43
|
+
'bg_vat',
|
|
44
|
+
'bh_vat',
|
|
45
|
+
'bo_tin',
|
|
46
|
+
'br_cnpj',
|
|
47
|
+
'br_cpf',
|
|
48
|
+
'bs_tin',
|
|
49
|
+
'by_tin',
|
|
50
|
+
'ca_bn',
|
|
51
|
+
'ca_gst_hst',
|
|
52
|
+
'ca_pst_bc',
|
|
53
|
+
'ca_pst_mb',
|
|
54
|
+
'ca_pst_sk',
|
|
55
|
+
'ca_qst',
|
|
56
|
+
'cd_nif',
|
|
57
|
+
'ch_uid',
|
|
58
|
+
'ch_vat',
|
|
59
|
+
'cl_tin',
|
|
60
|
+
'cn_tin',
|
|
61
|
+
'co_nit',
|
|
62
|
+
'cr_tin',
|
|
63
|
+
'cy_vat',
|
|
64
|
+
'cz_vat',
|
|
65
|
+
'de_stn',
|
|
66
|
+
'de_vat',
|
|
67
|
+
'dk_vat',
|
|
68
|
+
'do_rcn',
|
|
69
|
+
'ec_ruc',
|
|
70
|
+
'ee_vat',
|
|
71
|
+
'eg_tin',
|
|
72
|
+
'es_cif',
|
|
73
|
+
'es_vat',
|
|
74
|
+
'eu_oss_vat',
|
|
75
|
+
'fi_vat',
|
|
76
|
+
'fr_vat',
|
|
77
|
+
'gb_vat',
|
|
78
|
+
'ge_vat',
|
|
79
|
+
'gn_nif',
|
|
80
|
+
'gr_vat',
|
|
81
|
+
'hk_br',
|
|
82
|
+
'hr_oib',
|
|
83
|
+
'hr_vat',
|
|
84
|
+
'hu_tin',
|
|
85
|
+
'hu_vat',
|
|
86
|
+
'id_npwp',
|
|
87
|
+
'ie_vat',
|
|
88
|
+
'il_vat',
|
|
89
|
+
'in_gst',
|
|
90
|
+
'is_vat',
|
|
91
|
+
'it_vat',
|
|
92
|
+
'jp_cn',
|
|
93
|
+
'jp_rn',
|
|
94
|
+
'jp_trn',
|
|
95
|
+
'ke_pin',
|
|
96
|
+
'kh_tin',
|
|
97
|
+
'kr_brn',
|
|
98
|
+
'kz_bin',
|
|
99
|
+
'li_uid',
|
|
100
|
+
'li_vat',
|
|
101
|
+
'lt_vat',
|
|
102
|
+
'lu_vat',
|
|
103
|
+
'lv_vat',
|
|
104
|
+
'ma_vat',
|
|
105
|
+
'md_vat',
|
|
106
|
+
'me_pib',
|
|
107
|
+
'mk_vat',
|
|
108
|
+
'mr_nif',
|
|
109
|
+
'mt_vat',
|
|
110
|
+
'mx_rfc',
|
|
111
|
+
'my_frp',
|
|
112
|
+
'my_itn',
|
|
113
|
+
'my_sst',
|
|
114
|
+
'ng_tin',
|
|
115
|
+
'nl_vat',
|
|
116
|
+
'no_vat',
|
|
117
|
+
'no_voec',
|
|
118
|
+
'np_pan',
|
|
119
|
+
'nz_gst',
|
|
120
|
+
'om_vat',
|
|
121
|
+
'pe_ruc',
|
|
122
|
+
'ph_tin',
|
|
123
|
+
'pl_vat',
|
|
124
|
+
'pt_vat',
|
|
125
|
+
'ro_tin',
|
|
126
|
+
'ro_vat',
|
|
127
|
+
'rs_pib',
|
|
128
|
+
'ru_inn',
|
|
129
|
+
'ru_kpp',
|
|
130
|
+
'sa_vat',
|
|
131
|
+
'se_vat',
|
|
132
|
+
'sg_gst',
|
|
133
|
+
'sg_uen',
|
|
134
|
+
'si_tin',
|
|
135
|
+
'si_vat',
|
|
136
|
+
'sk_vat',
|
|
137
|
+
'sn_ninea',
|
|
138
|
+
'sr_fin',
|
|
139
|
+
'sv_nit',
|
|
140
|
+
'th_vat',
|
|
141
|
+
'tj_tin',
|
|
142
|
+
'tr_tin',
|
|
143
|
+
'tw_vat',
|
|
144
|
+
'tz_vat',
|
|
145
|
+
'ua_vat',
|
|
146
|
+
'ug_tin',
|
|
147
|
+
'us_ein',
|
|
148
|
+
'uy_ruc',
|
|
149
|
+
'uz_tin',
|
|
150
|
+
'uz_vat',
|
|
151
|
+
've_rif',
|
|
152
|
+
'vn_tin',
|
|
153
|
+
'xi_vat',
|
|
154
|
+
'za_vat',
|
|
155
|
+
'zm_tin',
|
|
156
|
+
'zw_tin',
|
|
157
|
+
''
|
|
158
|
+
]).optional()
|
|
159
|
+
});
|
|
160
|
+
export const zBillingCredits = z.object({
|
|
161
|
+
id: z.string().optional(),
|
|
162
|
+
type: z.enum(['credit', 'discount']),
|
|
163
|
+
date_start: z.iso.datetime(),
|
|
164
|
+
date_end: z.iso.datetime().optional(),
|
|
165
|
+
code: z.string(),
|
|
166
|
+
description: z.string().optional(),
|
|
167
|
+
value_total: z.number(),
|
|
168
|
+
value_remaining: z.number().optional()
|
|
169
|
+
});
|
|
170
|
+
export const zChartCreateInput = z.object({
|
|
171
|
+
values: z.string(),
|
|
172
|
+
version_channel: z.string().regex(/^(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-]+)*))?$/),
|
|
173
|
+
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
174
|
+
namespace: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
175
|
+
chart: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
|
|
176
|
+
});
|
|
177
|
+
export const zChart = z.object({
|
|
178
|
+
values: z.string(),
|
|
179
|
+
version_channel: z.string().regex(/^(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-]+)*))?$/),
|
|
180
|
+
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
181
|
+
namespace: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
182
|
+
chart: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
183
|
+
status: z.string(),
|
|
184
|
+
version_current: z.string(),
|
|
185
|
+
created_at: z.string(),
|
|
186
|
+
updated_at: z.string(),
|
|
187
|
+
ready: z.boolean()
|
|
188
|
+
});
|
|
189
|
+
export const zChartUpdateInput = z.object({
|
|
190
|
+
values: z.string(),
|
|
191
|
+
version_channel: z.string().regex(/^(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-]+)*))?$/)
|
|
192
|
+
});
|
|
193
|
+
/**
|
|
194
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
195
|
+
*/
|
|
3
196
|
export const zClusterCreateInput = z.object({
|
|
4
197
|
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
5
|
-
region: z.enum([
|
|
6
|
-
'staging',
|
|
7
|
-
'northamerica-central-1'
|
|
8
|
-
]).optional(),
|
|
9
198
|
tier: z.enum([
|
|
10
199
|
'basic',
|
|
11
|
-
'pro'
|
|
12
|
-
|
|
13
|
-
|
|
200
|
+
'pro',
|
|
201
|
+
'enterprise'
|
|
202
|
+
]).optional().default('basic'),
|
|
203
|
+
version_channel: z.string().regex(/^(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-]+)*))?$/).optional().default('1.x.x-cfke.x'),
|
|
204
|
+
release_channel: z.enum([
|
|
205
|
+
'rapid',
|
|
206
|
+
'stable',
|
|
207
|
+
'extended'
|
|
208
|
+
]).optional().default('rapid'),
|
|
209
|
+
features: z.object({
|
|
210
|
+
gpu_sharing_strategy: z.enum([
|
|
211
|
+
'none',
|
|
212
|
+
'mps',
|
|
213
|
+
'time_slicing'
|
|
214
|
+
]).optional().default('none'),
|
|
215
|
+
gpu_max_shared_clients_per_gpu: z.int().gte(2).lte(48).optional().default(4),
|
|
216
|
+
cilium_socket_lb_host_namespace_only: z.boolean().optional()
|
|
217
|
+
}).optional().default({
|
|
218
|
+
gpu_sharing_strategy: 'none',
|
|
219
|
+
gpu_max_shared_clients_per_gpu: 4,
|
|
220
|
+
cilium_socket_lb_host_namespace_only: false
|
|
221
|
+
}),
|
|
222
|
+
region: z.string(),
|
|
223
|
+
networking: z.object({
|
|
224
|
+
pod_cidr: z.string().optional().default('10.244.0.0/16'),
|
|
225
|
+
service_cidr: z.string().optional().default('10.96.0.0/12'),
|
|
226
|
+
dual_stack: z.boolean().optional(),
|
|
227
|
+
pod_cidr_v6: z.string().optional().default('2001:db8:1:2::/48'),
|
|
228
|
+
service_cidr_v6: z.string().optional().default('2001:db8:1:1::/112')
|
|
229
|
+
}).optional().default({
|
|
230
|
+
pod_cidr: '10.244.0.0/16',
|
|
231
|
+
service_cidr: '10.96.0.0/12',
|
|
232
|
+
dual_stack: false,
|
|
233
|
+
pod_cidr_v6: '2001:db8:1:2::/48',
|
|
234
|
+
service_cidr_v6: '2001:db8:1:1::/112'
|
|
235
|
+
})
|
|
14
236
|
});
|
|
15
237
|
export const zClusterJoinInformation = z.object({
|
|
16
238
|
certificate_authority: z.string(),
|
|
17
|
-
endpoint: z.
|
|
239
|
+
endpoint: z.url(),
|
|
240
|
+
cluster_dns: z.string(),
|
|
241
|
+
pod_cidr: z.string(),
|
|
18
242
|
auth_key: z.string(),
|
|
19
243
|
bootstrap_token: z.string(),
|
|
20
244
|
versions: z.object({
|
|
21
245
|
kubernetes: z.string(),
|
|
22
246
|
tailscale: z.string(),
|
|
23
|
-
containerd: z.string()
|
|
247
|
+
containerd: z.string(),
|
|
248
|
+
nvidia_driver: z.string()
|
|
24
249
|
}),
|
|
25
250
|
third_party_api_access_config: z.object({
|
|
26
251
|
metadata_url: z.string(),
|
|
@@ -28,1050 +253,1604 @@ export const zClusterJoinInformation = z.object({
|
|
|
28
253
|
gcp_workload_identity_provider: z.string()
|
|
29
254
|
})
|
|
30
255
|
});
|
|
256
|
+
/**
|
|
257
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
258
|
+
*/
|
|
31
259
|
export const zCluster = z.object({
|
|
32
260
|
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
33
|
-
region: z.enum([
|
|
34
|
-
'staging',
|
|
35
|
-
'northamerica-central-1'
|
|
36
|
-
]).optional(),
|
|
37
261
|
tier: z.enum([
|
|
38
262
|
'basic',
|
|
39
|
-
'pro'
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
263
|
+
'pro',
|
|
264
|
+
'enterprise'
|
|
265
|
+
]).default('basic'),
|
|
266
|
+
version_channel: z.string().regex(/^(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-]+)*))?$/).default('1.x.x-cfke.x'),
|
|
267
|
+
release_channel: z.enum([
|
|
268
|
+
'rapid',
|
|
269
|
+
'stable',
|
|
270
|
+
'extended'
|
|
271
|
+
]).default('rapid'),
|
|
272
|
+
features: z.object({
|
|
273
|
+
gpu_sharing_strategy: z.enum([
|
|
274
|
+
'none',
|
|
275
|
+
'mps',
|
|
276
|
+
'time_slicing'
|
|
277
|
+
]).default('none'),
|
|
278
|
+
gpu_max_shared_clients_per_gpu: z.int().gte(2).lte(48).default(4),
|
|
279
|
+
cilium_socket_lb_host_namespace_only: z.boolean()
|
|
280
|
+
}).default({
|
|
281
|
+
gpu_sharing_strategy: 'none',
|
|
282
|
+
gpu_max_shared_clients_per_gpu: 4,
|
|
283
|
+
cilium_socket_lb_host_namespace_only: false
|
|
284
|
+
}),
|
|
285
|
+
region: z.string(),
|
|
286
|
+
networking: z.object({
|
|
287
|
+
pod_cidr: z.string().default('10.244.0.0/16'),
|
|
288
|
+
service_cidr: z.string().default('10.96.0.0/12'),
|
|
289
|
+
dual_stack: z.boolean(),
|
|
290
|
+
pod_cidr_v6: z.string().default('2001:db8:1:2::/48'),
|
|
291
|
+
service_cidr_v6: z.string().default('2001:db8:1:1::/112')
|
|
292
|
+
}).default({
|
|
293
|
+
pod_cidr: '10.244.0.0/16',
|
|
294
|
+
service_cidr: '10.96.0.0/12',
|
|
295
|
+
dual_stack: false,
|
|
296
|
+
pod_cidr_v6: '2001:db8:1:2::/48',
|
|
297
|
+
service_cidr_v6: '2001:db8:1:1::/112'
|
|
298
|
+
}),
|
|
299
|
+
id: z.uuid(),
|
|
43
300
|
status: z.enum([
|
|
44
|
-
'active',
|
|
45
|
-
'deleted',
|
|
46
301
|
'creating',
|
|
47
302
|
'deployed',
|
|
48
|
-
'
|
|
49
|
-
'
|
|
303
|
+
'updating',
|
|
304
|
+
'disabled'
|
|
50
305
|
]),
|
|
51
306
|
endpoint: z.union([
|
|
52
|
-
z.
|
|
53
|
-
z.enum([
|
|
54
|
-
|
|
55
|
-
|
|
307
|
+
z.url(),
|
|
308
|
+
z.enum([''])
|
|
309
|
+
]).optional(),
|
|
310
|
+
endpoint_public: z.union([
|
|
311
|
+
z.url(),
|
|
312
|
+
z.enum([''])
|
|
56
313
|
]).optional(),
|
|
57
314
|
certificate_ca: z.string().optional(),
|
|
58
315
|
version_current: z.string().optional(),
|
|
59
316
|
created_at: z.string().optional(),
|
|
60
317
|
updated_at: z.string().optional(),
|
|
61
|
-
ready: z.boolean()
|
|
318
|
+
ready: z.boolean()
|
|
62
319
|
});
|
|
320
|
+
/**
|
|
321
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
322
|
+
*/
|
|
63
323
|
export const zClusterUpdateInput = z.object({
|
|
64
|
-
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
|
|
65
|
-
|
|
324
|
+
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
325
|
+
tier: z.enum([
|
|
326
|
+
'basic',
|
|
327
|
+
'pro',
|
|
328
|
+
'enterprise'
|
|
329
|
+
]).optional().default('basic'),
|
|
330
|
+
version_channel: z.string().regex(/^(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-]+)*))?$/).optional().default('1.x.x-cfke.x'),
|
|
331
|
+
release_channel: z.enum([
|
|
332
|
+
'rapid',
|
|
333
|
+
'stable',
|
|
334
|
+
'extended'
|
|
335
|
+
]).optional().default('rapid'),
|
|
336
|
+
features: z.object({
|
|
337
|
+
gpu_sharing_strategy: z.enum([
|
|
338
|
+
'none',
|
|
339
|
+
'mps',
|
|
340
|
+
'time_slicing'
|
|
341
|
+
]).optional().default('none'),
|
|
342
|
+
gpu_max_shared_clients_per_gpu: z.int().gte(2).lte(48).optional().default(4),
|
|
343
|
+
cilium_socket_lb_host_namespace_only: z.boolean().optional()
|
|
344
|
+
}).optional().default({
|
|
345
|
+
gpu_sharing_strategy: 'none',
|
|
346
|
+
gpu_max_shared_clients_per_gpu: 4,
|
|
347
|
+
cilium_socket_lb_host_namespace_only: false
|
|
348
|
+
})
|
|
66
349
|
});
|
|
350
|
+
/**
|
|
351
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
352
|
+
*/
|
|
67
353
|
export const zFleetCreateInput = z.object({
|
|
68
354
|
limits: z.object({
|
|
69
|
-
cpu: z.
|
|
355
|
+
cpu: z.int().gte(0).lte(100000).optional()
|
|
70
356
|
}).optional(),
|
|
71
357
|
gcp: z.object({
|
|
72
|
-
enabled: z.boolean()
|
|
73
|
-
project: z.string()
|
|
358
|
+
enabled: z.boolean(),
|
|
359
|
+
project: z.string().regex(/^[a-z][a-z0-9-]{4,28}[a-z0-9]$/).optional()
|
|
360
|
+
}).optional(),
|
|
361
|
+
hetzner: z.object({
|
|
362
|
+
enabled: z.boolean(),
|
|
363
|
+
apiKey: z.string().length(64).regex(/^([A-Za-z0-9]{64}|\*{64})$/).optional()
|
|
74
364
|
}).optional(),
|
|
75
|
-
hetzner: z.union([
|
|
76
|
-
z.object({
|
|
77
|
-
enabled: z.boolean().optional().default(true),
|
|
78
|
-
apiKey: z.string().optional()
|
|
79
|
-
}),
|
|
80
|
-
z.object({
|
|
81
|
-
apiKey: z.string().optional(),
|
|
82
|
-
enabled: z.boolean().optional().default(true)
|
|
83
|
-
})
|
|
84
|
-
]).optional(),
|
|
85
365
|
aws: z.object({
|
|
86
|
-
enabled: z.boolean()
|
|
87
|
-
controllerRoleArn: z.string()
|
|
366
|
+
enabled: z.boolean(),
|
|
367
|
+
controllerRoleArn: z.string().regex(/^arn:aws(-[a-z]+)*:iam::\d{12}:role\/[\w+=,.@\/-]+$/).optional()
|
|
88
368
|
}).optional(),
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
'
|
|
92
|
-
'
|
|
93
|
-
|
|
369
|
+
constraints: z.object({
|
|
370
|
+
'karpenter.sh/capacity-type': z.array(z.enum(['on-demand', 'spot'])).min(1).optional().default(['on-demand', 'spot']),
|
|
371
|
+
'kubernetes.io/arch': z.array(z.enum(['amd64', 'arm64'])).min(1).optional().default(['amd64']),
|
|
372
|
+
'cfke.io/instance-family': z.array(z.enum([
|
|
373
|
+
'a1',
|
|
374
|
+
'a2',
|
|
375
|
+
'a3',
|
|
376
|
+
'a4',
|
|
377
|
+
'c1',
|
|
378
|
+
'c2',
|
|
379
|
+
'c2d',
|
|
380
|
+
'c3',
|
|
381
|
+
'c3d',
|
|
382
|
+
'c4',
|
|
383
|
+
'c4a',
|
|
384
|
+
'c4d',
|
|
385
|
+
'c5',
|
|
386
|
+
'c5a',
|
|
387
|
+
'c5ad',
|
|
388
|
+
'c5d',
|
|
389
|
+
'c5n',
|
|
390
|
+
'c6a',
|
|
391
|
+
'c6g',
|
|
392
|
+
'c6gd',
|
|
393
|
+
'c6gn',
|
|
394
|
+
'c6i',
|
|
395
|
+
'c6id',
|
|
396
|
+
'c6in',
|
|
397
|
+
'c7a',
|
|
398
|
+
'c7g',
|
|
399
|
+
'c7gd',
|
|
400
|
+
'c7gn',
|
|
401
|
+
'c7i',
|
|
402
|
+
'c7i-flex',
|
|
403
|
+
'c8g',
|
|
404
|
+
'c8gd',
|
|
405
|
+
'cax',
|
|
406
|
+
'ccx',
|
|
407
|
+
'cpx',
|
|
408
|
+
'cx',
|
|
409
|
+
'd2',
|
|
410
|
+
'd3',
|
|
411
|
+
'd3en',
|
|
412
|
+
'dl1',
|
|
413
|
+
'dl2q',
|
|
414
|
+
'e2',
|
|
415
|
+
'f1',
|
|
416
|
+
'f2',
|
|
417
|
+
'g1',
|
|
418
|
+
'g2',
|
|
419
|
+
'g4ad',
|
|
420
|
+
'g4dn',
|
|
421
|
+
'g5',
|
|
422
|
+
'g5g',
|
|
423
|
+
'g6',
|
|
424
|
+
'g6e',
|
|
425
|
+
'gr6',
|
|
426
|
+
'h1',
|
|
427
|
+
'h3',
|
|
428
|
+
'hpc6a',
|
|
429
|
+
'hpc6id',
|
|
430
|
+
'hpc7a',
|
|
431
|
+
'hpc7g',
|
|
432
|
+
'i2',
|
|
433
|
+
'i3',
|
|
434
|
+
'i3en',
|
|
435
|
+
'i4g',
|
|
436
|
+
'i4i',
|
|
437
|
+
'i7i',
|
|
438
|
+
'i7ie',
|
|
439
|
+
'i8g',
|
|
440
|
+
'im4gn',
|
|
441
|
+
'inf1',
|
|
442
|
+
'inf2',
|
|
443
|
+
'is4gen',
|
|
444
|
+
'm1',
|
|
445
|
+
'm2',
|
|
446
|
+
'm3',
|
|
447
|
+
'm4',
|
|
448
|
+
'm5',
|
|
449
|
+
'm5a',
|
|
450
|
+
'm5ad',
|
|
451
|
+
'm5d',
|
|
452
|
+
'm5dn',
|
|
453
|
+
'm5n',
|
|
454
|
+
'm5zn',
|
|
455
|
+
'm6a',
|
|
456
|
+
'm6g',
|
|
457
|
+
'm6gd',
|
|
458
|
+
'm6i',
|
|
459
|
+
'm6id',
|
|
460
|
+
'm6idn',
|
|
461
|
+
'm6in',
|
|
462
|
+
'm7a',
|
|
463
|
+
'm7g',
|
|
464
|
+
'm7gd',
|
|
465
|
+
'm7i',
|
|
466
|
+
'm7i-flex',
|
|
467
|
+
'm8g',
|
|
468
|
+
'm8gd',
|
|
469
|
+
'n1',
|
|
470
|
+
'n2',
|
|
471
|
+
'n2d',
|
|
472
|
+
'n4',
|
|
473
|
+
'p3',
|
|
474
|
+
'p3dn',
|
|
475
|
+
'p4d',
|
|
476
|
+
'p4de',
|
|
477
|
+
'p5',
|
|
478
|
+
'p5e',
|
|
479
|
+
'p5en',
|
|
480
|
+
'p6-b200',
|
|
481
|
+
'r3',
|
|
482
|
+
'r4',
|
|
483
|
+
'r5',
|
|
484
|
+
'r5a',
|
|
485
|
+
'r5ad',
|
|
486
|
+
'r5b',
|
|
487
|
+
'r5d',
|
|
488
|
+
'r5dn',
|
|
489
|
+
'r5n',
|
|
490
|
+
'r6a',
|
|
491
|
+
'r6g',
|
|
492
|
+
'r6gd',
|
|
493
|
+
'r6i',
|
|
494
|
+
'r6id',
|
|
495
|
+
'r6idn',
|
|
496
|
+
'r6in',
|
|
497
|
+
'r7a',
|
|
498
|
+
'r7g',
|
|
499
|
+
'r7gd',
|
|
500
|
+
'r7i',
|
|
501
|
+
'r7iz',
|
|
502
|
+
'r8g',
|
|
503
|
+
'r8gd',
|
|
504
|
+
't2',
|
|
505
|
+
't2a',
|
|
506
|
+
't2d',
|
|
507
|
+
't3',
|
|
508
|
+
't3a',
|
|
509
|
+
't4g',
|
|
510
|
+
'trn1',
|
|
511
|
+
'trn1n',
|
|
512
|
+
'u-3tb1',
|
|
513
|
+
'u-6tb1',
|
|
514
|
+
'u7i-12tb',
|
|
515
|
+
'u7i-6tb',
|
|
516
|
+
'u7i-8tb',
|
|
517
|
+
'u7in-16tb',
|
|
518
|
+
'u7in-24tb',
|
|
519
|
+
'u7in-32tb',
|
|
520
|
+
'vt1',
|
|
521
|
+
'x1',
|
|
522
|
+
'x1e',
|
|
523
|
+
'x2gd',
|
|
524
|
+
'x2idn',
|
|
525
|
+
'x2iedn',
|
|
526
|
+
'x2iezn',
|
|
527
|
+
'x4',
|
|
528
|
+
'x8g',
|
|
529
|
+
'z1d',
|
|
530
|
+
'z3'
|
|
531
|
+
])).optional().default([]),
|
|
532
|
+
'topology.kubernetes.io/region': z.array(z.enum([
|
|
533
|
+
'africa-south1',
|
|
534
|
+
'ap-northeast-1',
|
|
535
|
+
'ap-northeast-2',
|
|
536
|
+
'ap-northeast-3',
|
|
537
|
+
'ap-south-1',
|
|
538
|
+
'ap-southeast-1',
|
|
539
|
+
'ap-southeast-2',
|
|
540
|
+
'ash',
|
|
541
|
+
'asia-east1',
|
|
542
|
+
'asia-east2',
|
|
543
|
+
'asia-northeast1',
|
|
544
|
+
'asia-northeast2',
|
|
545
|
+
'asia-northeast3',
|
|
546
|
+
'asia-south1',
|
|
547
|
+
'asia-south2',
|
|
548
|
+
'asia-southeast1',
|
|
549
|
+
'asia-southeast2',
|
|
550
|
+
'australia-southeast1',
|
|
551
|
+
'australia-southeast2',
|
|
552
|
+
'ca-central-1',
|
|
553
|
+
'eu-central-1',
|
|
554
|
+
'eu-central-2',
|
|
555
|
+
'eu-north-1',
|
|
556
|
+
'eu-west-1',
|
|
557
|
+
'eu-west-2',
|
|
558
|
+
'eu-west-3',
|
|
559
|
+
'europe-central2',
|
|
560
|
+
'europe-north1',
|
|
561
|
+
'europe-southwest1',
|
|
562
|
+
'europe-west1',
|
|
563
|
+
'europe-west10',
|
|
564
|
+
'europe-west12',
|
|
565
|
+
'europe-west2',
|
|
566
|
+
'europe-west3',
|
|
567
|
+
'europe-west4',
|
|
568
|
+
'europe-west6',
|
|
569
|
+
'europe-west8',
|
|
570
|
+
'europe-west9',
|
|
571
|
+
'fsn1',
|
|
572
|
+
'hel1',
|
|
573
|
+
'hil',
|
|
574
|
+
'me-central1',
|
|
575
|
+
'me-central2',
|
|
576
|
+
'me-west1',
|
|
577
|
+
'nbg1',
|
|
578
|
+
'northamerica-northeast1',
|
|
579
|
+
'northamerica-northeast2',
|
|
580
|
+
'sa-east-1',
|
|
581
|
+
'sin',
|
|
582
|
+
'southamerica-east1',
|
|
583
|
+
'southamerica-west1',
|
|
584
|
+
'us-central1',
|
|
585
|
+
'us-east-1',
|
|
586
|
+
'us-east-2',
|
|
587
|
+
'us-east1',
|
|
588
|
+
'us-east4',
|
|
589
|
+
'us-east5',
|
|
590
|
+
'us-south1',
|
|
591
|
+
'us-west-1',
|
|
592
|
+
'us-west-2',
|
|
593
|
+
'us-west1',
|
|
594
|
+
'us-west2',
|
|
595
|
+
'us-west3',
|
|
596
|
+
'us-west4'
|
|
597
|
+
])).optional().default([])
|
|
598
|
+
}).optional().default({
|
|
599
|
+
'karpenter.sh/capacity-type': ['on-demand', 'spot'],
|
|
600
|
+
'kubernetes.io/arch': ['amd64'],
|
|
601
|
+
'cfke.io/instance-family': [],
|
|
602
|
+
'topology.kubernetes.io/region': []
|
|
603
|
+
}),
|
|
604
|
+
scalingProfile: z.enum(['aggressive', 'conservative']).optional().default('conservative'),
|
|
605
|
+
id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
|
|
94
606
|
});
|
|
607
|
+
/**
|
|
608
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
609
|
+
*/
|
|
95
610
|
export const zFleet = z.object({
|
|
96
611
|
limits: z.object({
|
|
97
|
-
cpu: z.
|
|
612
|
+
cpu: z.int().gte(0).lte(100000).optional()
|
|
98
613
|
}).optional(),
|
|
99
614
|
gcp: z.object({
|
|
100
|
-
enabled: z.boolean()
|
|
101
|
-
project: z.string()
|
|
615
|
+
enabled: z.boolean(),
|
|
616
|
+
project: z.string().regex(/^[a-z][a-z0-9-]{4,28}[a-z0-9]$/).optional()
|
|
617
|
+
}).optional(),
|
|
618
|
+
hetzner: z.object({
|
|
619
|
+
enabled: z.boolean(),
|
|
620
|
+
apiKey: z.string().regex(/^\*{64}$/).optional()
|
|
102
621
|
}).optional(),
|
|
103
|
-
hetzner: z.union([
|
|
104
|
-
z.object({
|
|
105
|
-
enabled: z.boolean().optional().default(true),
|
|
106
|
-
apiKey: z.string().optional()
|
|
107
|
-
}),
|
|
108
|
-
z.object({
|
|
109
|
-
apiKey: z.string().optional(),
|
|
110
|
-
enabled: z.boolean().optional().default(true)
|
|
111
|
-
})
|
|
112
|
-
]).optional(),
|
|
113
622
|
aws: z.object({
|
|
114
|
-
enabled: z.boolean()
|
|
115
|
-
controllerRoleArn: z.string()
|
|
623
|
+
enabled: z.boolean(),
|
|
624
|
+
controllerRoleArn: z.string().regex(/^arn:aws(-[a-z]+)*:iam::\d{12}:role\/[\w+=,.@\/-]+$/).optional()
|
|
116
625
|
}).optional(),
|
|
626
|
+
constraints: z.object({
|
|
627
|
+
'karpenter.sh/capacity-type': z.array(z.enum(['on-demand', 'spot'])).min(1).default(['on-demand', 'spot']),
|
|
628
|
+
'kubernetes.io/arch': z.array(z.enum(['amd64', 'arm64'])).min(1).default(['amd64']),
|
|
629
|
+
'cfke.io/instance-family': z.array(z.enum([
|
|
630
|
+
'a1',
|
|
631
|
+
'a2',
|
|
632
|
+
'a3',
|
|
633
|
+
'a4',
|
|
634
|
+
'c1',
|
|
635
|
+
'c2',
|
|
636
|
+
'c2d',
|
|
637
|
+
'c3',
|
|
638
|
+
'c3d',
|
|
639
|
+
'c4',
|
|
640
|
+
'c4a',
|
|
641
|
+
'c4d',
|
|
642
|
+
'c5',
|
|
643
|
+
'c5a',
|
|
644
|
+
'c5ad',
|
|
645
|
+
'c5d',
|
|
646
|
+
'c5n',
|
|
647
|
+
'c6a',
|
|
648
|
+
'c6g',
|
|
649
|
+
'c6gd',
|
|
650
|
+
'c6gn',
|
|
651
|
+
'c6i',
|
|
652
|
+
'c6id',
|
|
653
|
+
'c6in',
|
|
654
|
+
'c7a',
|
|
655
|
+
'c7g',
|
|
656
|
+
'c7gd',
|
|
657
|
+
'c7gn',
|
|
658
|
+
'c7i',
|
|
659
|
+
'c7i-flex',
|
|
660
|
+
'c8g',
|
|
661
|
+
'c8gd',
|
|
662
|
+
'cax',
|
|
663
|
+
'ccx',
|
|
664
|
+
'cpx',
|
|
665
|
+
'cx',
|
|
666
|
+
'd2',
|
|
667
|
+
'd3',
|
|
668
|
+
'd3en',
|
|
669
|
+
'dl1',
|
|
670
|
+
'dl2q',
|
|
671
|
+
'e2',
|
|
672
|
+
'f1',
|
|
673
|
+
'f2',
|
|
674
|
+
'g1',
|
|
675
|
+
'g2',
|
|
676
|
+
'g4ad',
|
|
677
|
+
'g4dn',
|
|
678
|
+
'g5',
|
|
679
|
+
'g5g',
|
|
680
|
+
'g6',
|
|
681
|
+
'g6e',
|
|
682
|
+
'gr6',
|
|
683
|
+
'h1',
|
|
684
|
+
'h3',
|
|
685
|
+
'hpc6a',
|
|
686
|
+
'hpc6id',
|
|
687
|
+
'hpc7a',
|
|
688
|
+
'hpc7g',
|
|
689
|
+
'i2',
|
|
690
|
+
'i3',
|
|
691
|
+
'i3en',
|
|
692
|
+
'i4g',
|
|
693
|
+
'i4i',
|
|
694
|
+
'i7i',
|
|
695
|
+
'i7ie',
|
|
696
|
+
'i8g',
|
|
697
|
+
'im4gn',
|
|
698
|
+
'inf1',
|
|
699
|
+
'inf2',
|
|
700
|
+
'is4gen',
|
|
701
|
+
'm1',
|
|
702
|
+
'm2',
|
|
703
|
+
'm3',
|
|
704
|
+
'm4',
|
|
705
|
+
'm5',
|
|
706
|
+
'm5a',
|
|
707
|
+
'm5ad',
|
|
708
|
+
'm5d',
|
|
709
|
+
'm5dn',
|
|
710
|
+
'm5n',
|
|
711
|
+
'm5zn',
|
|
712
|
+
'm6a',
|
|
713
|
+
'm6g',
|
|
714
|
+
'm6gd',
|
|
715
|
+
'm6i',
|
|
716
|
+
'm6id',
|
|
717
|
+
'm6idn',
|
|
718
|
+
'm6in',
|
|
719
|
+
'm7a',
|
|
720
|
+
'm7g',
|
|
721
|
+
'm7gd',
|
|
722
|
+
'm7i',
|
|
723
|
+
'm7i-flex',
|
|
724
|
+
'm8g',
|
|
725
|
+
'm8gd',
|
|
726
|
+
'n1',
|
|
727
|
+
'n2',
|
|
728
|
+
'n2d',
|
|
729
|
+
'n4',
|
|
730
|
+
'p3',
|
|
731
|
+
'p3dn',
|
|
732
|
+
'p4d',
|
|
733
|
+
'p4de',
|
|
734
|
+
'p5',
|
|
735
|
+
'p5e',
|
|
736
|
+
'p5en',
|
|
737
|
+
'p6-b200',
|
|
738
|
+
'r3',
|
|
739
|
+
'r4',
|
|
740
|
+
'r5',
|
|
741
|
+
'r5a',
|
|
742
|
+
'r5ad',
|
|
743
|
+
'r5b',
|
|
744
|
+
'r5d',
|
|
745
|
+
'r5dn',
|
|
746
|
+
'r5n',
|
|
747
|
+
'r6a',
|
|
748
|
+
'r6g',
|
|
749
|
+
'r6gd',
|
|
750
|
+
'r6i',
|
|
751
|
+
'r6id',
|
|
752
|
+
'r6idn',
|
|
753
|
+
'r6in',
|
|
754
|
+
'r7a',
|
|
755
|
+
'r7g',
|
|
756
|
+
'r7gd',
|
|
757
|
+
'r7i',
|
|
758
|
+
'r7iz',
|
|
759
|
+
'r8g',
|
|
760
|
+
'r8gd',
|
|
761
|
+
't2',
|
|
762
|
+
't2a',
|
|
763
|
+
't2d',
|
|
764
|
+
't3',
|
|
765
|
+
't3a',
|
|
766
|
+
't4g',
|
|
767
|
+
'trn1',
|
|
768
|
+
'trn1n',
|
|
769
|
+
'u-3tb1',
|
|
770
|
+
'u-6tb1',
|
|
771
|
+
'u7i-12tb',
|
|
772
|
+
'u7i-6tb',
|
|
773
|
+
'u7i-8tb',
|
|
774
|
+
'u7in-16tb',
|
|
775
|
+
'u7in-24tb',
|
|
776
|
+
'u7in-32tb',
|
|
777
|
+
'vt1',
|
|
778
|
+
'x1',
|
|
779
|
+
'x1e',
|
|
780
|
+
'x2gd',
|
|
781
|
+
'x2idn',
|
|
782
|
+
'x2iedn',
|
|
783
|
+
'x2iezn',
|
|
784
|
+
'x4',
|
|
785
|
+
'x8g',
|
|
786
|
+
'z1d',
|
|
787
|
+
'z3'
|
|
788
|
+
])).optional().default([]),
|
|
789
|
+
'topology.kubernetes.io/region': z.array(z.enum([
|
|
790
|
+
'africa-south1',
|
|
791
|
+
'ap-northeast-1',
|
|
792
|
+
'ap-northeast-2',
|
|
793
|
+
'ap-northeast-3',
|
|
794
|
+
'ap-south-1',
|
|
795
|
+
'ap-southeast-1',
|
|
796
|
+
'ap-southeast-2',
|
|
797
|
+
'ash',
|
|
798
|
+
'asia-east1',
|
|
799
|
+
'asia-east2',
|
|
800
|
+
'asia-northeast1',
|
|
801
|
+
'asia-northeast2',
|
|
802
|
+
'asia-northeast3',
|
|
803
|
+
'asia-south1',
|
|
804
|
+
'asia-south2',
|
|
805
|
+
'asia-southeast1',
|
|
806
|
+
'asia-southeast2',
|
|
807
|
+
'australia-southeast1',
|
|
808
|
+
'australia-southeast2',
|
|
809
|
+
'ca-central-1',
|
|
810
|
+
'eu-central-1',
|
|
811
|
+
'eu-central-2',
|
|
812
|
+
'eu-north-1',
|
|
813
|
+
'eu-west-1',
|
|
814
|
+
'eu-west-2',
|
|
815
|
+
'eu-west-3',
|
|
816
|
+
'europe-central2',
|
|
817
|
+
'europe-north1',
|
|
818
|
+
'europe-southwest1',
|
|
819
|
+
'europe-west1',
|
|
820
|
+
'europe-west10',
|
|
821
|
+
'europe-west12',
|
|
822
|
+
'europe-west2',
|
|
823
|
+
'europe-west3',
|
|
824
|
+
'europe-west4',
|
|
825
|
+
'europe-west6',
|
|
826
|
+
'europe-west8',
|
|
827
|
+
'europe-west9',
|
|
828
|
+
'fsn1',
|
|
829
|
+
'hel1',
|
|
830
|
+
'hil',
|
|
831
|
+
'me-central1',
|
|
832
|
+
'me-central2',
|
|
833
|
+
'me-west1',
|
|
834
|
+
'nbg1',
|
|
835
|
+
'northamerica-northeast1',
|
|
836
|
+
'northamerica-northeast2',
|
|
837
|
+
'sa-east-1',
|
|
838
|
+
'sin',
|
|
839
|
+
'southamerica-east1',
|
|
840
|
+
'southamerica-west1',
|
|
841
|
+
'us-central1',
|
|
842
|
+
'us-east-1',
|
|
843
|
+
'us-east-2',
|
|
844
|
+
'us-east1',
|
|
845
|
+
'us-east4',
|
|
846
|
+
'us-east5',
|
|
847
|
+
'us-south1',
|
|
848
|
+
'us-west-1',
|
|
849
|
+
'us-west-2',
|
|
850
|
+
'us-west1',
|
|
851
|
+
'us-west2',
|
|
852
|
+
'us-west3',
|
|
853
|
+
'us-west4'
|
|
854
|
+
])).optional().default([])
|
|
855
|
+
}).default({
|
|
856
|
+
'karpenter.sh/capacity-type': ['on-demand', 'spot'],
|
|
857
|
+
'kubernetes.io/arch': ['amd64'],
|
|
858
|
+
'cfke.io/instance-family': [],
|
|
859
|
+
'topology.kubernetes.io/region': []
|
|
860
|
+
}),
|
|
861
|
+
scalingProfile: z.enum(['aggressive', 'conservative']).default('conservative'),
|
|
117
862
|
id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
863
|
+
ready: z.boolean(),
|
|
864
|
+
status_message: z.string().optional(),
|
|
865
|
+
created_at: z.string(),
|
|
866
|
+
updated_at: z.string()
|
|
122
867
|
});
|
|
868
|
+
/**
|
|
869
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
870
|
+
*/
|
|
123
871
|
export const zFleetUpdateInput = z.object({
|
|
124
872
|
limits: z.object({
|
|
125
|
-
cpu: z.
|
|
873
|
+
cpu: z.int().gte(0).lte(100000).optional()
|
|
126
874
|
}).optional(),
|
|
127
875
|
gcp: z.object({
|
|
128
|
-
enabled: z.boolean()
|
|
129
|
-
project: z.string()
|
|
876
|
+
enabled: z.boolean(),
|
|
877
|
+
project: z.string().regex(/^[a-z][a-z0-9-]{4,28}[a-z0-9]$/).optional()
|
|
878
|
+
}).optional(),
|
|
879
|
+
hetzner: z.object({
|
|
880
|
+
enabled: z.boolean(),
|
|
881
|
+
apiKey: z.string().length(64).regex(/^([A-Za-z0-9]{64}|\*{64})$/).optional()
|
|
130
882
|
}).optional(),
|
|
131
|
-
hetzner: z.union([
|
|
132
|
-
z.object({
|
|
133
|
-
enabled: z.boolean().optional().default(true),
|
|
134
|
-
apiKey: z.string().optional()
|
|
135
|
-
}),
|
|
136
|
-
z.object({
|
|
137
|
-
apiKey: z.string().optional(),
|
|
138
|
-
enabled: z.boolean().optional().default(true)
|
|
139
|
-
})
|
|
140
|
-
]).optional(),
|
|
141
883
|
aws: z.object({
|
|
142
|
-
enabled: z.boolean()
|
|
143
|
-
controllerRoleArn: z.string()
|
|
144
|
-
}).optional()
|
|
884
|
+
enabled: z.boolean(),
|
|
885
|
+
controllerRoleArn: z.string().regex(/^arn:aws(-[a-z]+)*:iam::\d{12}:role\/[\w+=,.@\/-]+$/).optional()
|
|
886
|
+
}).optional(),
|
|
887
|
+
constraints: z.object({
|
|
888
|
+
'karpenter.sh/capacity-type': z.array(z.enum(['on-demand', 'spot'])).min(1).optional().default(['on-demand', 'spot']),
|
|
889
|
+
'kubernetes.io/arch': z.array(z.enum(['amd64', 'arm64'])).min(1).optional().default(['amd64']),
|
|
890
|
+
'cfke.io/instance-family': z.array(z.enum([
|
|
891
|
+
'a1',
|
|
892
|
+
'a2',
|
|
893
|
+
'a3',
|
|
894
|
+
'a4',
|
|
895
|
+
'c1',
|
|
896
|
+
'c2',
|
|
897
|
+
'c2d',
|
|
898
|
+
'c3',
|
|
899
|
+
'c3d',
|
|
900
|
+
'c4',
|
|
901
|
+
'c4a',
|
|
902
|
+
'c4d',
|
|
903
|
+
'c5',
|
|
904
|
+
'c5a',
|
|
905
|
+
'c5ad',
|
|
906
|
+
'c5d',
|
|
907
|
+
'c5n',
|
|
908
|
+
'c6a',
|
|
909
|
+
'c6g',
|
|
910
|
+
'c6gd',
|
|
911
|
+
'c6gn',
|
|
912
|
+
'c6i',
|
|
913
|
+
'c6id',
|
|
914
|
+
'c6in',
|
|
915
|
+
'c7a',
|
|
916
|
+
'c7g',
|
|
917
|
+
'c7gd',
|
|
918
|
+
'c7gn',
|
|
919
|
+
'c7i',
|
|
920
|
+
'c7i-flex',
|
|
921
|
+
'c8g',
|
|
922
|
+
'c8gd',
|
|
923
|
+
'cax',
|
|
924
|
+
'ccx',
|
|
925
|
+
'cpx',
|
|
926
|
+
'cx',
|
|
927
|
+
'd2',
|
|
928
|
+
'd3',
|
|
929
|
+
'd3en',
|
|
930
|
+
'dl1',
|
|
931
|
+
'dl2q',
|
|
932
|
+
'e2',
|
|
933
|
+
'f1',
|
|
934
|
+
'f2',
|
|
935
|
+
'g1',
|
|
936
|
+
'g2',
|
|
937
|
+
'g4ad',
|
|
938
|
+
'g4dn',
|
|
939
|
+
'g5',
|
|
940
|
+
'g5g',
|
|
941
|
+
'g6',
|
|
942
|
+
'g6e',
|
|
943
|
+
'gr6',
|
|
944
|
+
'h1',
|
|
945
|
+
'h3',
|
|
946
|
+
'hpc6a',
|
|
947
|
+
'hpc6id',
|
|
948
|
+
'hpc7a',
|
|
949
|
+
'hpc7g',
|
|
950
|
+
'i2',
|
|
951
|
+
'i3',
|
|
952
|
+
'i3en',
|
|
953
|
+
'i4g',
|
|
954
|
+
'i4i',
|
|
955
|
+
'i7i',
|
|
956
|
+
'i7ie',
|
|
957
|
+
'i8g',
|
|
958
|
+
'im4gn',
|
|
959
|
+
'inf1',
|
|
960
|
+
'inf2',
|
|
961
|
+
'is4gen',
|
|
962
|
+
'm1',
|
|
963
|
+
'm2',
|
|
964
|
+
'm3',
|
|
965
|
+
'm4',
|
|
966
|
+
'm5',
|
|
967
|
+
'm5a',
|
|
968
|
+
'm5ad',
|
|
969
|
+
'm5d',
|
|
970
|
+
'm5dn',
|
|
971
|
+
'm5n',
|
|
972
|
+
'm5zn',
|
|
973
|
+
'm6a',
|
|
974
|
+
'm6g',
|
|
975
|
+
'm6gd',
|
|
976
|
+
'm6i',
|
|
977
|
+
'm6id',
|
|
978
|
+
'm6idn',
|
|
979
|
+
'm6in',
|
|
980
|
+
'm7a',
|
|
981
|
+
'm7g',
|
|
982
|
+
'm7gd',
|
|
983
|
+
'm7i',
|
|
984
|
+
'm7i-flex',
|
|
985
|
+
'm8g',
|
|
986
|
+
'm8gd',
|
|
987
|
+
'n1',
|
|
988
|
+
'n2',
|
|
989
|
+
'n2d',
|
|
990
|
+
'n4',
|
|
991
|
+
'p3',
|
|
992
|
+
'p3dn',
|
|
993
|
+
'p4d',
|
|
994
|
+
'p4de',
|
|
995
|
+
'p5',
|
|
996
|
+
'p5e',
|
|
997
|
+
'p5en',
|
|
998
|
+
'p6-b200',
|
|
999
|
+
'r3',
|
|
1000
|
+
'r4',
|
|
1001
|
+
'r5',
|
|
1002
|
+
'r5a',
|
|
1003
|
+
'r5ad',
|
|
1004
|
+
'r5b',
|
|
1005
|
+
'r5d',
|
|
1006
|
+
'r5dn',
|
|
1007
|
+
'r5n',
|
|
1008
|
+
'r6a',
|
|
1009
|
+
'r6g',
|
|
1010
|
+
'r6gd',
|
|
1011
|
+
'r6i',
|
|
1012
|
+
'r6id',
|
|
1013
|
+
'r6idn',
|
|
1014
|
+
'r6in',
|
|
1015
|
+
'r7a',
|
|
1016
|
+
'r7g',
|
|
1017
|
+
'r7gd',
|
|
1018
|
+
'r7i',
|
|
1019
|
+
'r7iz',
|
|
1020
|
+
'r8g',
|
|
1021
|
+
'r8gd',
|
|
1022
|
+
't2',
|
|
1023
|
+
't2a',
|
|
1024
|
+
't2d',
|
|
1025
|
+
't3',
|
|
1026
|
+
't3a',
|
|
1027
|
+
't4g',
|
|
1028
|
+
'trn1',
|
|
1029
|
+
'trn1n',
|
|
1030
|
+
'u-3tb1',
|
|
1031
|
+
'u-6tb1',
|
|
1032
|
+
'u7i-12tb',
|
|
1033
|
+
'u7i-6tb',
|
|
1034
|
+
'u7i-8tb',
|
|
1035
|
+
'u7in-16tb',
|
|
1036
|
+
'u7in-24tb',
|
|
1037
|
+
'u7in-32tb',
|
|
1038
|
+
'vt1',
|
|
1039
|
+
'x1',
|
|
1040
|
+
'x1e',
|
|
1041
|
+
'x2gd',
|
|
1042
|
+
'x2idn',
|
|
1043
|
+
'x2iedn',
|
|
1044
|
+
'x2iezn',
|
|
1045
|
+
'x4',
|
|
1046
|
+
'x8g',
|
|
1047
|
+
'z1d',
|
|
1048
|
+
'z3'
|
|
1049
|
+
])).optional().default([]),
|
|
1050
|
+
'topology.kubernetes.io/region': z.array(z.enum([
|
|
1051
|
+
'africa-south1',
|
|
1052
|
+
'ap-northeast-1',
|
|
1053
|
+
'ap-northeast-2',
|
|
1054
|
+
'ap-northeast-3',
|
|
1055
|
+
'ap-south-1',
|
|
1056
|
+
'ap-southeast-1',
|
|
1057
|
+
'ap-southeast-2',
|
|
1058
|
+
'ash',
|
|
1059
|
+
'asia-east1',
|
|
1060
|
+
'asia-east2',
|
|
1061
|
+
'asia-northeast1',
|
|
1062
|
+
'asia-northeast2',
|
|
1063
|
+
'asia-northeast3',
|
|
1064
|
+
'asia-south1',
|
|
1065
|
+
'asia-south2',
|
|
1066
|
+
'asia-southeast1',
|
|
1067
|
+
'asia-southeast2',
|
|
1068
|
+
'australia-southeast1',
|
|
1069
|
+
'australia-southeast2',
|
|
1070
|
+
'ca-central-1',
|
|
1071
|
+
'eu-central-1',
|
|
1072
|
+
'eu-central-2',
|
|
1073
|
+
'eu-north-1',
|
|
1074
|
+
'eu-west-1',
|
|
1075
|
+
'eu-west-2',
|
|
1076
|
+
'eu-west-3',
|
|
1077
|
+
'europe-central2',
|
|
1078
|
+
'europe-north1',
|
|
1079
|
+
'europe-southwest1',
|
|
1080
|
+
'europe-west1',
|
|
1081
|
+
'europe-west10',
|
|
1082
|
+
'europe-west12',
|
|
1083
|
+
'europe-west2',
|
|
1084
|
+
'europe-west3',
|
|
1085
|
+
'europe-west4',
|
|
1086
|
+
'europe-west6',
|
|
1087
|
+
'europe-west8',
|
|
1088
|
+
'europe-west9',
|
|
1089
|
+
'fsn1',
|
|
1090
|
+
'hel1',
|
|
1091
|
+
'hil',
|
|
1092
|
+
'me-central1',
|
|
1093
|
+
'me-central2',
|
|
1094
|
+
'me-west1',
|
|
1095
|
+
'nbg1',
|
|
1096
|
+
'northamerica-northeast1',
|
|
1097
|
+
'northamerica-northeast2',
|
|
1098
|
+
'sa-east-1',
|
|
1099
|
+
'sin',
|
|
1100
|
+
'southamerica-east1',
|
|
1101
|
+
'southamerica-west1',
|
|
1102
|
+
'us-central1',
|
|
1103
|
+
'us-east-1',
|
|
1104
|
+
'us-east-2',
|
|
1105
|
+
'us-east1',
|
|
1106
|
+
'us-east4',
|
|
1107
|
+
'us-east5',
|
|
1108
|
+
'us-south1',
|
|
1109
|
+
'us-west-1',
|
|
1110
|
+
'us-west-2',
|
|
1111
|
+
'us-west1',
|
|
1112
|
+
'us-west2',
|
|
1113
|
+
'us-west3',
|
|
1114
|
+
'us-west4'
|
|
1115
|
+
])).optional().default([])
|
|
1116
|
+
}).optional().default({
|
|
1117
|
+
'karpenter.sh/capacity-type': ['on-demand', 'spot'],
|
|
1118
|
+
'kubernetes.io/arch': ['amd64'],
|
|
1119
|
+
'cfke.io/instance-family': [],
|
|
1120
|
+
'topology.kubernetes.io/region': []
|
|
1121
|
+
}),
|
|
1122
|
+
scalingProfile: z.enum(['aggressive', 'conservative']).optional().default('conservative')
|
|
145
1123
|
});
|
|
146
|
-
export const
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
region: z.array(z.string()).optional(),
|
|
150
|
-
sub_region: z.array(z.string()).optional(),
|
|
151
|
-
csp_region: z.array(z.string()).optional(),
|
|
152
|
-
instance_type: z.array(z.string()).optional(),
|
|
153
|
-
accelerator_name: z.array(z.string()).optional(),
|
|
154
|
-
accelerator_manufacturer: z.array(z.string()).optional(),
|
|
155
|
-
accelerator_count_min: z.number().int().gte(0).optional(),
|
|
156
|
-
accelerator_count_max: z.number().int().gte(0).optional(),
|
|
157
|
-
accelerator_memory_min: z.number().optional(),
|
|
158
|
-
accelerator_memory_max: z.number().optional(),
|
|
159
|
-
memory_min: z.number().int().gte(0).optional(),
|
|
160
|
-
memory_max: z.number().int().gte(0).optional(),
|
|
161
|
-
vcpu_min: z.number().int().gte(1).optional(),
|
|
162
|
-
vcpu_max: z.number().int().gte(1).optional(),
|
|
163
|
-
storage_total_min: z.number().gte(10).optional(),
|
|
164
|
-
storage_total_max: z.number().gte(10).optional(),
|
|
165
|
-
storage_local_min: z.number().optional(),
|
|
166
|
-
storage_local_max: z.number().optional(),
|
|
167
|
-
price_min: z.number().optional(),
|
|
168
|
-
price_max: z.number().optional()
|
|
169
|
-
});
|
|
170
|
-
export const zInfrastructureInstance = z.object({
|
|
171
|
-
sku: z.string(),
|
|
172
|
-
provider: z.string(),
|
|
173
|
-
region: z.string(),
|
|
174
|
-
sub_region: z.string(),
|
|
175
|
-
csp_region: z.string(),
|
|
176
|
-
csp_zone: z.string(),
|
|
177
|
-
instance_type: z.string(),
|
|
178
|
-
architecture: z.string(),
|
|
179
|
-
os: z.string(),
|
|
180
|
-
vcpu: z.number().gte(1),
|
|
181
|
-
memory: z.number().gte(1),
|
|
182
|
-
local_storage: z.number(),
|
|
183
|
-
accelerator_name: z.string().optional(),
|
|
184
|
-
accelerator_manufacturer: z.string().optional(),
|
|
185
|
-
accelerator_count: z.number().int().optional(),
|
|
186
|
-
accelerator_memory: z.number().optional(),
|
|
187
|
-
pods_capacity: z.number().optional(),
|
|
188
|
-
capacity_type: z.string().optional(),
|
|
189
|
-
price: z.number(),
|
|
190
|
-
available: z.boolean().optional()
|
|
1124
|
+
export const zInviteCreateInput = z.object({
|
|
1125
|
+
email: z.email(),
|
|
1126
|
+
role: z.enum(['Administrator', 'User']).optional().default('User')
|
|
191
1127
|
});
|
|
192
1128
|
export const zInvite = z.object({
|
|
193
1129
|
id: z.string().optional(),
|
|
194
|
-
organization_id: z.
|
|
195
|
-
date_created: z.
|
|
196
|
-
email: z.
|
|
197
|
-
code: z.string().optional()
|
|
1130
|
+
organization_id: z.uuid().optional(),
|
|
1131
|
+
date_created: z.iso.datetime(),
|
|
1132
|
+
email: z.email().optional(),
|
|
1133
|
+
code: z.string().optional(),
|
|
1134
|
+
role: z.enum(['Administrator', 'User']).optional().default('User')
|
|
198
1135
|
});
|
|
199
1136
|
export const zInvoice = z.object({
|
|
200
|
-
id: z.string().
|
|
201
|
-
|
|
202
|
-
status: z.
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
'AED',
|
|
210
|
-
'AFN',
|
|
211
|
-
'ALL',
|
|
212
|
-
'AMD',
|
|
213
|
-
'ANG',
|
|
214
|
-
'AOA',
|
|
215
|
-
'ARS',
|
|
216
|
-
'AUD',
|
|
217
|
-
'AWG',
|
|
218
|
-
'AZN',
|
|
219
|
-
'BAM',
|
|
220
|
-
'BBD',
|
|
221
|
-
'BDT',
|
|
222
|
-
'BGN',
|
|
223
|
-
'BHD',
|
|
224
|
-
'BIF',
|
|
225
|
-
'BMD',
|
|
226
|
-
'BND',
|
|
227
|
-
'BOB',
|
|
228
|
-
'BRL',
|
|
229
|
-
'BSD',
|
|
230
|
-
'BTN',
|
|
231
|
-
'BWP',
|
|
232
|
-
'BYR',
|
|
233
|
-
'BZD',
|
|
234
|
-
'CAD',
|
|
235
|
-
'CDF',
|
|
236
|
-
'CHF',
|
|
237
|
-
'CLP',
|
|
238
|
-
'CNY',
|
|
239
|
-
'COP',
|
|
240
|
-
'CRC',
|
|
241
|
-
'CUC',
|
|
242
|
-
'CUP',
|
|
243
|
-
'CVE',
|
|
244
|
-
'CZK',
|
|
245
|
-
'DJF',
|
|
246
|
-
'DKK',
|
|
247
|
-
'DOP',
|
|
248
|
-
'DZD',
|
|
249
|
-
'EGP',
|
|
250
|
-
'ERN',
|
|
251
|
-
'ETB',
|
|
252
|
-
'EUR',
|
|
253
|
-
'FJD',
|
|
254
|
-
'FKP',
|
|
255
|
-
'GBP',
|
|
256
|
-
'GEL',
|
|
257
|
-
'GGP',
|
|
258
|
-
'GHS',
|
|
259
|
-
'GIP',
|
|
260
|
-
'GMD',
|
|
261
|
-
'GNF',
|
|
262
|
-
'GTQ',
|
|
263
|
-
'GYD',
|
|
264
|
-
'HKD',
|
|
265
|
-
'HNL',
|
|
266
|
-
'HRK',
|
|
267
|
-
'HTG',
|
|
268
|
-
'HUF',
|
|
269
|
-
'IDR',
|
|
270
|
-
'ILS',
|
|
271
|
-
'IMP',
|
|
272
|
-
'INR',
|
|
273
|
-
'IQD',
|
|
274
|
-
'IRR',
|
|
275
|
-
'ISK',
|
|
276
|
-
'JEP',
|
|
277
|
-
'JMD',
|
|
278
|
-
'JOD',
|
|
279
|
-
'JPY',
|
|
280
|
-
'KES',
|
|
281
|
-
'KGS',
|
|
282
|
-
'KHR',
|
|
283
|
-
'KMF',
|
|
284
|
-
'KPW',
|
|
285
|
-
'KRW',
|
|
286
|
-
'KWD',
|
|
287
|
-
'KYD',
|
|
288
|
-
'KZT',
|
|
289
|
-
'LAK',
|
|
290
|
-
'LBP',
|
|
291
|
-
'LKR',
|
|
292
|
-
'LRD',
|
|
293
|
-
'LSL',
|
|
294
|
-
'LTL',
|
|
295
|
-
'LVL',
|
|
296
|
-
'LYD',
|
|
297
|
-
'MAD',
|
|
298
|
-
'MDL',
|
|
299
|
-
'MGA',
|
|
300
|
-
'MKD',
|
|
301
|
-
'MMK',
|
|
302
|
-
'MNT',
|
|
303
|
-
'MOP',
|
|
304
|
-
'MRO',
|
|
305
|
-
'MUR',
|
|
306
|
-
'MVR',
|
|
307
|
-
'MWK',
|
|
308
|
-
'MXN',
|
|
309
|
-
'MYR',
|
|
310
|
-
'MZN',
|
|
311
|
-
'NAD',
|
|
312
|
-
'NGN',
|
|
313
|
-
'NIO',
|
|
314
|
-
'NOK',
|
|
315
|
-
'NPR',
|
|
316
|
-
'NZD',
|
|
317
|
-
'OMR',
|
|
318
|
-
'PAB',
|
|
319
|
-
'PEN',
|
|
320
|
-
'PGK',
|
|
321
|
-
'PHP',
|
|
322
|
-
'PKR',
|
|
323
|
-
'PLN',
|
|
324
|
-
'PYG',
|
|
325
|
-
'QAR',
|
|
326
|
-
'RON',
|
|
327
|
-
'RSD',
|
|
328
|
-
'RUB',
|
|
329
|
-
'RWF',
|
|
330
|
-
'SAR',
|
|
331
|
-
'SBD',
|
|
332
|
-
'SCR',
|
|
333
|
-
'SDG',
|
|
334
|
-
'SEK',
|
|
335
|
-
'SGD',
|
|
336
|
-
'SHP',
|
|
337
|
-
'SLL',
|
|
338
|
-
'SOS',
|
|
339
|
-
'SPL',
|
|
340
|
-
'SRD',
|
|
341
|
-
'STD',
|
|
342
|
-
'SVC',
|
|
343
|
-
'SYP',
|
|
344
|
-
'SZL',
|
|
345
|
-
'THB',
|
|
346
|
-
'TJS',
|
|
347
|
-
'TMT',
|
|
348
|
-
'TND',
|
|
349
|
-
'TOP',
|
|
350
|
-
'TRY',
|
|
351
|
-
'TTD',
|
|
352
|
-
'TVD',
|
|
353
|
-
'TWD',
|
|
354
|
-
'TZS',
|
|
355
|
-
'UAH',
|
|
356
|
-
'UGX',
|
|
357
|
-
'USD',
|
|
358
|
-
'UYU',
|
|
359
|
-
'UZS',
|
|
360
|
-
'VEF',
|
|
361
|
-
'VND',
|
|
362
|
-
'VUV',
|
|
363
|
-
'WST',
|
|
364
|
-
'XAF',
|
|
365
|
-
'XCD',
|
|
366
|
-
'XDR',
|
|
367
|
-
'XOF',
|
|
368
|
-
'XPF',
|
|
369
|
-
'YER',
|
|
370
|
-
'ZAR',
|
|
371
|
-
'ZMW',
|
|
372
|
-
'ZWD',
|
|
373
|
-
'BTC'
|
|
374
|
-
]).optional(),
|
|
375
|
-
creditAdj: z.number().optional(),
|
|
376
|
-
refundAdj: z.number().optional(),
|
|
377
|
-
invoiceDate: z.string().optional(),
|
|
378
|
-
targetDate: z.string().optional(),
|
|
379
|
-
invoiceNumber: z.string().optional(),
|
|
380
|
-
balance: z.number().optional(),
|
|
381
|
-
bundleKeys: z.string().optional(),
|
|
382
|
-
credits: z.array(z.object({
|
|
383
|
-
id: z.string().uuid().optional(),
|
|
384
|
-
linkedInvoiceItemId: z.string().uuid().optional(),
|
|
385
|
-
productName: z.string().optional(),
|
|
386
|
-
planName: z.string().optional(),
|
|
387
|
-
phaseName: z.string().optional(),
|
|
388
|
-
usageName: z.string().optional(),
|
|
389
|
-
prettyProductName: z.string().optional(),
|
|
390
|
-
prettyPlanName: z.string().optional(),
|
|
391
|
-
prettyPhaseName: z.string().optional(),
|
|
392
|
-
prettyUsageName: z.string().optional(),
|
|
393
|
-
itemType: z.enum([
|
|
394
|
-
'EXTERNAL_CHARGE',
|
|
395
|
-
'FIXED',
|
|
396
|
-
'RECURRING',
|
|
397
|
-
'REPAIR_ADJ',
|
|
398
|
-
'CBA_ADJ',
|
|
399
|
-
'CREDIT_ADJ',
|
|
400
|
-
'ITEM_ADJ',
|
|
401
|
-
'USAGE',
|
|
402
|
-
'TAX',
|
|
403
|
-
'PARENT_SUMMARY'
|
|
404
|
-
]).optional(),
|
|
405
|
-
description: z.string().optional(),
|
|
406
|
-
startDate: z.string().optional(),
|
|
407
|
-
endDate: z.string().optional(),
|
|
408
|
-
amount: z.number().optional(),
|
|
409
|
-
rate: z.number().optional(),
|
|
410
|
-
currency: z.enum([
|
|
411
|
-
'AED',
|
|
412
|
-
'AFN',
|
|
413
|
-
'ALL',
|
|
414
|
-
'AMD',
|
|
415
|
-
'ANG',
|
|
416
|
-
'AOA',
|
|
417
|
-
'ARS',
|
|
418
|
-
'AUD',
|
|
419
|
-
'AWG',
|
|
420
|
-
'AZN',
|
|
421
|
-
'BAM',
|
|
422
|
-
'BBD',
|
|
423
|
-
'BDT',
|
|
424
|
-
'BGN',
|
|
425
|
-
'BHD',
|
|
426
|
-
'BIF',
|
|
427
|
-
'BMD',
|
|
428
|
-
'BND',
|
|
429
|
-
'BOB',
|
|
430
|
-
'BRL',
|
|
431
|
-
'BSD',
|
|
432
|
-
'BTN',
|
|
433
|
-
'BWP',
|
|
434
|
-
'BYR',
|
|
435
|
-
'BZD',
|
|
436
|
-
'CAD',
|
|
437
|
-
'CDF',
|
|
438
|
-
'CHF',
|
|
439
|
-
'CLP',
|
|
440
|
-
'CNY',
|
|
441
|
-
'COP',
|
|
442
|
-
'CRC',
|
|
443
|
-
'CUC',
|
|
444
|
-
'CUP',
|
|
445
|
-
'CVE',
|
|
446
|
-
'CZK',
|
|
447
|
-
'DJF',
|
|
448
|
-
'DKK',
|
|
449
|
-
'DOP',
|
|
450
|
-
'DZD',
|
|
451
|
-
'EGP',
|
|
452
|
-
'ERN',
|
|
453
|
-
'ETB',
|
|
454
|
-
'EUR',
|
|
455
|
-
'FJD',
|
|
456
|
-
'FKP',
|
|
457
|
-
'GBP',
|
|
458
|
-
'GEL',
|
|
459
|
-
'GGP',
|
|
460
|
-
'GHS',
|
|
461
|
-
'GIP',
|
|
462
|
-
'GMD',
|
|
463
|
-
'GNF',
|
|
464
|
-
'GTQ',
|
|
465
|
-
'GYD',
|
|
466
|
-
'HKD',
|
|
467
|
-
'HNL',
|
|
468
|
-
'HRK',
|
|
469
|
-
'HTG',
|
|
470
|
-
'HUF',
|
|
471
|
-
'IDR',
|
|
472
|
-
'ILS',
|
|
473
|
-
'IMP',
|
|
474
|
-
'INR',
|
|
475
|
-
'IQD',
|
|
476
|
-
'IRR',
|
|
477
|
-
'ISK',
|
|
478
|
-
'JEP',
|
|
479
|
-
'JMD',
|
|
480
|
-
'JOD',
|
|
481
|
-
'JPY',
|
|
482
|
-
'KES',
|
|
483
|
-
'KGS',
|
|
484
|
-
'KHR',
|
|
485
|
-
'KMF',
|
|
486
|
-
'KPW',
|
|
487
|
-
'KRW',
|
|
488
|
-
'KWD',
|
|
489
|
-
'KYD',
|
|
490
|
-
'KZT',
|
|
491
|
-
'LAK',
|
|
492
|
-
'LBP',
|
|
493
|
-
'LKR',
|
|
494
|
-
'LRD',
|
|
495
|
-
'LSL',
|
|
496
|
-
'LTL',
|
|
497
|
-
'LVL',
|
|
498
|
-
'LYD',
|
|
499
|
-
'MAD',
|
|
500
|
-
'MDL',
|
|
501
|
-
'MGA',
|
|
502
|
-
'MKD',
|
|
503
|
-
'MMK',
|
|
504
|
-
'MNT',
|
|
505
|
-
'MOP',
|
|
506
|
-
'MRO',
|
|
507
|
-
'MUR',
|
|
508
|
-
'MVR',
|
|
509
|
-
'MWK',
|
|
510
|
-
'MXN',
|
|
511
|
-
'MYR',
|
|
512
|
-
'MZN',
|
|
513
|
-
'NAD',
|
|
514
|
-
'NGN',
|
|
515
|
-
'NIO',
|
|
516
|
-
'NOK',
|
|
517
|
-
'NPR',
|
|
518
|
-
'NZD',
|
|
519
|
-
'OMR',
|
|
520
|
-
'PAB',
|
|
521
|
-
'PEN',
|
|
522
|
-
'PGK',
|
|
523
|
-
'PHP',
|
|
524
|
-
'PKR',
|
|
525
|
-
'PLN',
|
|
526
|
-
'PYG',
|
|
527
|
-
'QAR',
|
|
528
|
-
'RON',
|
|
529
|
-
'RSD',
|
|
530
|
-
'RUB',
|
|
531
|
-
'RWF',
|
|
532
|
-
'SAR',
|
|
533
|
-
'SBD',
|
|
534
|
-
'SCR',
|
|
535
|
-
'SDG',
|
|
536
|
-
'SEK',
|
|
537
|
-
'SGD',
|
|
538
|
-
'SHP',
|
|
539
|
-
'SLL',
|
|
540
|
-
'SOS',
|
|
541
|
-
'SPL',
|
|
542
|
-
'SRD',
|
|
543
|
-
'STD',
|
|
544
|
-
'SVC',
|
|
545
|
-
'SYP',
|
|
546
|
-
'SZL',
|
|
547
|
-
'THB',
|
|
548
|
-
'TJS',
|
|
549
|
-
'TMT',
|
|
550
|
-
'TND',
|
|
551
|
-
'TOP',
|
|
552
|
-
'TRY',
|
|
553
|
-
'TTD',
|
|
554
|
-
'TVD',
|
|
555
|
-
'TWD',
|
|
556
|
-
'TZS',
|
|
557
|
-
'UAH',
|
|
558
|
-
'UGX',
|
|
559
|
-
'USD',
|
|
560
|
-
'UYU',
|
|
561
|
-
'UZS',
|
|
562
|
-
'VEF',
|
|
563
|
-
'VND',
|
|
564
|
-
'VUV',
|
|
565
|
-
'WST',
|
|
566
|
-
'XAF',
|
|
567
|
-
'XCD',
|
|
568
|
-
'XDR',
|
|
569
|
-
'XOF',
|
|
570
|
-
'XPF',
|
|
571
|
-
'YER',
|
|
572
|
-
'ZAR',
|
|
573
|
-
'ZMW',
|
|
574
|
-
'ZWD',
|
|
575
|
-
'BTC'
|
|
576
|
-
]).optional(),
|
|
577
|
-
quantity: z.number().optional(),
|
|
578
|
-
itemDetails: z.string().optional(),
|
|
579
|
-
catalogEffectiveDate: z.string().optional(),
|
|
580
|
-
childItems: z.array(z.unknown()).optional()
|
|
581
|
-
})).optional(),
|
|
582
|
-
items: z.array(z.object({
|
|
583
|
-
id: z.string().uuid().optional(),
|
|
584
|
-
linkedInvoiceItemId: z.string().uuid().optional(),
|
|
585
|
-
productName: z.string().optional(),
|
|
586
|
-
planName: z.string().optional(),
|
|
587
|
-
phaseName: z.string().optional(),
|
|
588
|
-
usageName: z.string().optional(),
|
|
589
|
-
prettyProductName: z.string().optional(),
|
|
590
|
-
prettyPlanName: z.string().optional(),
|
|
591
|
-
prettyPhaseName: z.string().optional(),
|
|
592
|
-
prettyUsageName: z.string().optional(),
|
|
593
|
-
itemType: z.enum([
|
|
594
|
-
'EXTERNAL_CHARGE',
|
|
595
|
-
'FIXED',
|
|
596
|
-
'RECURRING',
|
|
597
|
-
'REPAIR_ADJ',
|
|
598
|
-
'CBA_ADJ',
|
|
599
|
-
'CREDIT_ADJ',
|
|
600
|
-
'ITEM_ADJ',
|
|
601
|
-
'USAGE',
|
|
602
|
-
'TAX',
|
|
603
|
-
'PARENT_SUMMARY'
|
|
604
|
-
]).optional(),
|
|
605
|
-
description: z.string().optional(),
|
|
606
|
-
startDate: z.string().optional(),
|
|
607
|
-
endDate: z.string().optional(),
|
|
608
|
-
amount: z.number().optional(),
|
|
609
|
-
rate: z.number().optional(),
|
|
610
|
-
currency: z.enum([
|
|
611
|
-
'AED',
|
|
612
|
-
'AFN',
|
|
613
|
-
'ALL',
|
|
614
|
-
'AMD',
|
|
615
|
-
'ANG',
|
|
616
|
-
'AOA',
|
|
617
|
-
'ARS',
|
|
618
|
-
'AUD',
|
|
619
|
-
'AWG',
|
|
620
|
-
'AZN',
|
|
621
|
-
'BAM',
|
|
622
|
-
'BBD',
|
|
623
|
-
'BDT',
|
|
624
|
-
'BGN',
|
|
625
|
-
'BHD',
|
|
626
|
-
'BIF',
|
|
627
|
-
'BMD',
|
|
628
|
-
'BND',
|
|
629
|
-
'BOB',
|
|
630
|
-
'BRL',
|
|
631
|
-
'BSD',
|
|
632
|
-
'BTN',
|
|
633
|
-
'BWP',
|
|
634
|
-
'BYR',
|
|
635
|
-
'BZD',
|
|
636
|
-
'CAD',
|
|
637
|
-
'CDF',
|
|
638
|
-
'CHF',
|
|
639
|
-
'CLP',
|
|
640
|
-
'CNY',
|
|
641
|
-
'COP',
|
|
642
|
-
'CRC',
|
|
643
|
-
'CUC',
|
|
644
|
-
'CUP',
|
|
645
|
-
'CVE',
|
|
646
|
-
'CZK',
|
|
647
|
-
'DJF',
|
|
648
|
-
'DKK',
|
|
649
|
-
'DOP',
|
|
650
|
-
'DZD',
|
|
651
|
-
'EGP',
|
|
652
|
-
'ERN',
|
|
653
|
-
'ETB',
|
|
654
|
-
'EUR',
|
|
655
|
-
'FJD',
|
|
656
|
-
'FKP',
|
|
657
|
-
'GBP',
|
|
658
|
-
'GEL',
|
|
659
|
-
'GGP',
|
|
660
|
-
'GHS',
|
|
661
|
-
'GIP',
|
|
662
|
-
'GMD',
|
|
663
|
-
'GNF',
|
|
664
|
-
'GTQ',
|
|
665
|
-
'GYD',
|
|
666
|
-
'HKD',
|
|
667
|
-
'HNL',
|
|
668
|
-
'HRK',
|
|
669
|
-
'HTG',
|
|
670
|
-
'HUF',
|
|
671
|
-
'IDR',
|
|
672
|
-
'ILS',
|
|
673
|
-
'IMP',
|
|
674
|
-
'INR',
|
|
675
|
-
'IQD',
|
|
676
|
-
'IRR',
|
|
677
|
-
'ISK',
|
|
678
|
-
'JEP',
|
|
679
|
-
'JMD',
|
|
680
|
-
'JOD',
|
|
681
|
-
'JPY',
|
|
682
|
-
'KES',
|
|
683
|
-
'KGS',
|
|
684
|
-
'KHR',
|
|
685
|
-
'KMF',
|
|
686
|
-
'KPW',
|
|
687
|
-
'KRW',
|
|
688
|
-
'KWD',
|
|
689
|
-
'KYD',
|
|
690
|
-
'KZT',
|
|
691
|
-
'LAK',
|
|
692
|
-
'LBP',
|
|
693
|
-
'LKR',
|
|
694
|
-
'LRD',
|
|
695
|
-
'LSL',
|
|
696
|
-
'LTL',
|
|
697
|
-
'LVL',
|
|
698
|
-
'LYD',
|
|
699
|
-
'MAD',
|
|
700
|
-
'MDL',
|
|
701
|
-
'MGA',
|
|
702
|
-
'MKD',
|
|
703
|
-
'MMK',
|
|
704
|
-
'MNT',
|
|
705
|
-
'MOP',
|
|
706
|
-
'MRO',
|
|
707
|
-
'MUR',
|
|
708
|
-
'MVR',
|
|
709
|
-
'MWK',
|
|
710
|
-
'MXN',
|
|
711
|
-
'MYR',
|
|
712
|
-
'MZN',
|
|
713
|
-
'NAD',
|
|
714
|
-
'NGN',
|
|
715
|
-
'NIO',
|
|
716
|
-
'NOK',
|
|
717
|
-
'NPR',
|
|
718
|
-
'NZD',
|
|
719
|
-
'OMR',
|
|
720
|
-
'PAB',
|
|
721
|
-
'PEN',
|
|
722
|
-
'PGK',
|
|
723
|
-
'PHP',
|
|
724
|
-
'PKR',
|
|
725
|
-
'PLN',
|
|
726
|
-
'PYG',
|
|
727
|
-
'QAR',
|
|
728
|
-
'RON',
|
|
729
|
-
'RSD',
|
|
730
|
-
'RUB',
|
|
731
|
-
'RWF',
|
|
732
|
-
'SAR',
|
|
733
|
-
'SBD',
|
|
734
|
-
'SCR',
|
|
735
|
-
'SDG',
|
|
736
|
-
'SEK',
|
|
737
|
-
'SGD',
|
|
738
|
-
'SHP',
|
|
739
|
-
'SLL',
|
|
740
|
-
'SOS',
|
|
741
|
-
'SPL',
|
|
742
|
-
'SRD',
|
|
743
|
-
'STD',
|
|
744
|
-
'SVC',
|
|
745
|
-
'SYP',
|
|
746
|
-
'SZL',
|
|
747
|
-
'THB',
|
|
748
|
-
'TJS',
|
|
749
|
-
'TMT',
|
|
750
|
-
'TND',
|
|
751
|
-
'TOP',
|
|
752
|
-
'TRY',
|
|
753
|
-
'TTD',
|
|
754
|
-
'TVD',
|
|
755
|
-
'TWD',
|
|
756
|
-
'TZS',
|
|
757
|
-
'UAH',
|
|
758
|
-
'UGX',
|
|
759
|
-
'USD',
|
|
760
|
-
'UYU',
|
|
761
|
-
'UZS',
|
|
762
|
-
'VEF',
|
|
763
|
-
'VND',
|
|
764
|
-
'VUV',
|
|
765
|
-
'WST',
|
|
766
|
-
'XAF',
|
|
767
|
-
'XCD',
|
|
768
|
-
'XDR',
|
|
769
|
-
'XOF',
|
|
770
|
-
'XPF',
|
|
771
|
-
'YER',
|
|
772
|
-
'ZAR',
|
|
773
|
-
'ZMW',
|
|
774
|
-
'ZWD',
|
|
775
|
-
'BTC'
|
|
776
|
-
]).optional(),
|
|
777
|
-
quantity: z.number().optional(),
|
|
778
|
-
itemDetails: z.string().optional(),
|
|
779
|
-
catalogEffectiveDate: z.string().optional(),
|
|
780
|
-
childItems: z.array(z.unknown()).optional()
|
|
781
|
-
})).optional()
|
|
1137
|
+
id: z.string().optional(),
|
|
1138
|
+
number: z.string().optional(),
|
|
1139
|
+
status: z.string().optional(),
|
|
1140
|
+
total: z.number().optional(),
|
|
1141
|
+
currency: z.string().optional(),
|
|
1142
|
+
created: z.iso.datetime(),
|
|
1143
|
+
period_start: z.iso.datetime(),
|
|
1144
|
+
period_end: z.iso.datetime(),
|
|
1145
|
+
invoice_pdf: z.string().optional()
|
|
782
1146
|
});
|
|
783
|
-
export const
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
1147
|
+
export const zMarketplaceListingFiles = z.object({
|
|
1148
|
+
chartYaml: z.string().optional(),
|
|
1149
|
+
valuesYaml: z.string().optional(),
|
|
1150
|
+
valuesSchemaJson: z.string().optional()
|
|
1151
|
+
});
|
|
1152
|
+
export const zMarketplaceListing = z.object({
|
|
1153
|
+
name: z.string(),
|
|
1154
|
+
versions: z.array(z.string().regex(/^(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-]+)*))?$/)),
|
|
1155
|
+
version_channels: z.array(z.string().regex(/^(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-]+)*))?$/)),
|
|
1156
|
+
latestVersion: z.string(),
|
|
1157
|
+
metadata: z.object({
|
|
1158
|
+
name: z.string(),
|
|
1159
|
+
version: z.string(),
|
|
1160
|
+
description: z.string().optional(),
|
|
1161
|
+
appVersion: z.string().optional(),
|
|
1162
|
+
apiVersion: z.string().optional(),
|
|
1163
|
+
keywords: z.array(z.string()).optional(),
|
|
1164
|
+
home: z.string().optional(),
|
|
1165
|
+
icon: z.string().optional(),
|
|
1166
|
+
sources: z.array(z.string()).optional(),
|
|
1167
|
+
maintainers: z.array(z.object({
|
|
1168
|
+
name: z.string(),
|
|
1169
|
+
email: z.string().optional()
|
|
1170
|
+
})).optional()
|
|
1171
|
+
}).optional()
|
|
794
1172
|
});
|
|
795
1173
|
export const zOrganizationCreateInput = z.object({
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
city: z.string().optional(),
|
|
802
|
-
state: z.string().optional(),
|
|
803
|
-
country: z.string().optional(),
|
|
804
|
-
phone: z.string().optional(),
|
|
805
|
-
email: z.string().email(),
|
|
806
|
-
first_name: z.string(),
|
|
807
|
-
last_name: z.string()
|
|
808
|
-
}),
|
|
1174
|
+
type: z.enum(['business', 'personal']),
|
|
1175
|
+
email: z.email(),
|
|
1176
|
+
first_name: z.string().min(1),
|
|
1177
|
+
last_name: z.string().min(1),
|
|
1178
|
+
company_name: z.string().min(2).max(120).regex(/^(?!\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,}$/),
|
|
809
1179
|
password: z.string().min(8)
|
|
810
1180
|
});
|
|
1181
|
+
export const zOrganizationCreateOutput = z.object({
|
|
1182
|
+
id: z.string()
|
|
1183
|
+
});
|
|
811
1184
|
export const zOrganization = z.object({
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
postalCode: z.string().optional(),
|
|
817
|
-
city: z.string().optional(),
|
|
818
|
-
state: z.string().optional(),
|
|
819
|
-
country: z.string().optional(),
|
|
820
|
-
phone: z.string().optional(),
|
|
821
|
-
email: z.string().email(),
|
|
822
|
-
first_name: z.string(),
|
|
823
|
-
last_name: z.string()
|
|
824
|
-
}),
|
|
825
|
-
id: z.string().uuid(),
|
|
826
|
-
date_created: z.string().datetime(),
|
|
1185
|
+
id: z.uuid(),
|
|
1186
|
+
name: z.string().min(2).max(120).optional(),
|
|
1187
|
+
type: z.enum(['business', 'personal']),
|
|
1188
|
+
date_created: z.iso.datetime(),
|
|
827
1189
|
quota: z.object({
|
|
828
|
-
basic_clusters_max: z.
|
|
829
|
-
basic_clusters_available: z.
|
|
830
|
-
pro_clusters_max: z.
|
|
831
|
-
pro_clusters_available: z.
|
|
832
|
-
|
|
833
|
-
|
|
1190
|
+
basic_clusters_max: z.int().gte(0),
|
|
1191
|
+
basic_clusters_available: z.int(),
|
|
1192
|
+
pro_clusters_max: z.int().gte(0),
|
|
1193
|
+
pro_clusters_available: z.int(),
|
|
1194
|
+
enterprise_clusters_max: z.int().gte(0),
|
|
1195
|
+
enterprise_clusters_available: z.int(),
|
|
1196
|
+
fleets_max: z.int().gte(0),
|
|
834
1197
|
cluster_tiers: z.array(z.string()).min(0),
|
|
835
1198
|
regions: z.array(z.string()).min(1),
|
|
836
1199
|
versions: z.array(z.object({
|
|
837
1200
|
id: z.string(),
|
|
838
1201
|
label: z.string()
|
|
839
|
-
})).min(1)
|
|
1202
|
+
})).min(1),
|
|
1203
|
+
cfcr_storage_gb: z.int().gte(-1)
|
|
840
1204
|
}),
|
|
841
|
-
pending_actions: z.array(z.enum([
|
|
842
|
-
'signup-billing-address',
|
|
843
|
-
'signup-payment-method',
|
|
844
|
-
'signup-invite-team',
|
|
845
|
-
'signup-create-cluster'
|
|
846
|
-
])),
|
|
847
1205
|
status: z.enum([
|
|
848
1206
|
'active',
|
|
849
1207
|
'closed',
|
|
850
1208
|
'suspended'
|
|
1209
|
+
]),
|
|
1210
|
+
verification: z.enum([
|
|
1211
|
+
'none',
|
|
1212
|
+
'submitted',
|
|
1213
|
+
'verified'
|
|
851
1214
|
])
|
|
852
1215
|
});
|
|
853
|
-
export const zOrganizationUpdateInput = z.object({
|
|
854
|
-
name: z.string().min(2).max(120).regex(/^(?!\\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,}$/).optional(),
|
|
855
|
-
contactInfo: z.object({
|
|
856
|
-
address1: z.string().optional(),
|
|
857
|
-
address2: z.string().optional(),
|
|
858
|
-
postalCode: z.string().optional(),
|
|
859
|
-
city: z.string().optional(),
|
|
860
|
-
state: z.string().optional(),
|
|
861
|
-
country: z.string().optional(),
|
|
862
|
-
phone: z.string().optional(),
|
|
863
|
-
email: z.string().email(),
|
|
864
|
-
first_name: z.string(),
|
|
865
|
-
last_name: z.string()
|
|
866
|
-
})
|
|
867
|
-
});
|
|
868
1216
|
export const zPaymentMethod = z.object({
|
|
869
|
-
id: z.string()
|
|
870
|
-
setup: z.boolean(),
|
|
1217
|
+
id: z.string(),
|
|
871
1218
|
type: z.enum([
|
|
872
|
-
'card'
|
|
1219
|
+
'card',
|
|
1220
|
+
'sepa_debit',
|
|
1221
|
+
'bank_transfer'
|
|
873
1222
|
]),
|
|
874
1223
|
last4: z.string(),
|
|
875
|
-
exp_month: z.
|
|
876
|
-
exp_year: z.
|
|
877
|
-
brand: z.
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
1224
|
+
exp_month: z.int().gte(1).lte(12),
|
|
1225
|
+
exp_year: z.int(),
|
|
1226
|
+
brand: z.string(),
|
|
1227
|
+
iban: z.string(),
|
|
1228
|
+
bic: z.string(),
|
|
1229
|
+
account_holder_name: z.string(),
|
|
1230
|
+
is_default: z.boolean()
|
|
1231
|
+
});
|
|
1232
|
+
export const zPlatformQuota = z.object({
|
|
1233
|
+
basic_clusters_max: z.int().gte(0),
|
|
1234
|
+
basic_clusters_available: z.int(),
|
|
1235
|
+
pro_clusters_max: z.int().gte(0),
|
|
1236
|
+
pro_clusters_available: z.int(),
|
|
1237
|
+
enterprise_clusters_max: z.int().gte(0),
|
|
1238
|
+
enterprise_clusters_available: z.int(),
|
|
1239
|
+
fleets_max: z.int().gte(0),
|
|
1240
|
+
cluster_tiers: z.array(z.string()).min(0),
|
|
1241
|
+
regions: z.array(z.string()).min(1),
|
|
1242
|
+
versions: z.array(z.object({
|
|
1243
|
+
id: z.string(),
|
|
1244
|
+
label: z.string()
|
|
1245
|
+
})).min(1),
|
|
1246
|
+
cfcr_storage_gb: z.int().gte(-1)
|
|
1247
|
+
});
|
|
1248
|
+
export const zRegistryRepository = z.object({
|
|
1249
|
+
name: z.string(),
|
|
1250
|
+
region: z.string(),
|
|
1251
|
+
uri: z.string()
|
|
1252
|
+
});
|
|
1253
|
+
export const zRegistryRepositoryWithTags = z.object({
|
|
1254
|
+
name: z.string(),
|
|
1255
|
+
region: z.string(),
|
|
1256
|
+
uri: z.string(),
|
|
1257
|
+
tags: z.array(z.object({
|
|
1258
|
+
name: z.string(),
|
|
1259
|
+
size: z.number(),
|
|
1260
|
+
mediaType: z.string().optional(),
|
|
1261
|
+
platforms: z.array(z.string()).optional()
|
|
1262
|
+
})),
|
|
1263
|
+
totalSize: z.number()
|
|
1264
|
+
});
|
|
1265
|
+
export const zRegistryTag = z.object({
|
|
1266
|
+
name: z.string(),
|
|
1267
|
+
digest: z.string(),
|
|
1268
|
+
mediaType: z.string().optional(),
|
|
1269
|
+
config: z.object({
|
|
1270
|
+
size: z.number()
|
|
1271
|
+
}).optional(),
|
|
1272
|
+
layers: z.array(z.object({
|
|
1273
|
+
digest: z.string().optional(),
|
|
1274
|
+
size: z.number()
|
|
1275
|
+
})).optional(),
|
|
1276
|
+
manifests: z.array(z.object({
|
|
1277
|
+
digest: z.string(),
|
|
1278
|
+
platform: z.object({
|
|
1279
|
+
architecture: z.string(),
|
|
1280
|
+
os: z.string(),
|
|
1281
|
+
variant: z.string().optional()
|
|
1282
|
+
}).optional(),
|
|
1283
|
+
layers: z.array(z.object({
|
|
1284
|
+
digest: z.string().optional(),
|
|
1285
|
+
size: z.number()
|
|
1286
|
+
})).optional(),
|
|
1287
|
+
size: z.number().optional()
|
|
1288
|
+
})).optional(),
|
|
1289
|
+
size: z.number(),
|
|
1290
|
+
region: z.string(),
|
|
1291
|
+
repository: z.string(),
|
|
1292
|
+
uri: z.string()
|
|
1293
|
+
});
|
|
1294
|
+
export const zTicketAttachment = z.object({
|
|
1295
|
+
id: z.string(),
|
|
1296
|
+
filename: z.string(),
|
|
1297
|
+
content_type: z.string(),
|
|
1298
|
+
size: z.int()
|
|
1299
|
+
});
|
|
1300
|
+
export const zTicketCreateInput = z.object({
|
|
1301
|
+
category: z.enum([
|
|
1302
|
+
'billing',
|
|
1303
|
+
'technical',
|
|
1304
|
+
'general'
|
|
1305
|
+
]),
|
|
1306
|
+
body: z.string().min(1).max(50000).regex(/\S/),
|
|
1307
|
+
properties: z.record(z.string(), z.unknown()).optional()
|
|
1308
|
+
});
|
|
1309
|
+
export const zTicketMessageInput = z.object({
|
|
1310
|
+
body: z.string().min(1).max(50000).regex(/\S/)
|
|
1311
|
+
});
|
|
1312
|
+
export const zTicketMessage = z.object({
|
|
1313
|
+
id: z.string(),
|
|
1314
|
+
type: z.enum(['customer_reply', 'agent_reply']),
|
|
1315
|
+
body: z.string(),
|
|
1316
|
+
author_first_name: z.string().optional(),
|
|
1317
|
+
author_last_name: z.string().optional(),
|
|
1318
|
+
attachments: z.array(z.object({
|
|
1319
|
+
id: z.string(),
|
|
1320
|
+
filename: z.string(),
|
|
1321
|
+
content_type: z.string(),
|
|
1322
|
+
size: z.int()
|
|
1323
|
+
})).optional(),
|
|
1324
|
+
date_created: z.iso.datetime()
|
|
1325
|
+
});
|
|
1326
|
+
export const zTicket = z.object({
|
|
1327
|
+
id: z.string(),
|
|
1328
|
+
status: z.enum([
|
|
1329
|
+
'waiting_on_us',
|
|
1330
|
+
'waiting_on_user',
|
|
1331
|
+
'closed'
|
|
1332
|
+
]),
|
|
1333
|
+
category: z.enum([
|
|
1334
|
+
'billing',
|
|
1335
|
+
'technical',
|
|
1336
|
+
'general'
|
|
1337
|
+
]),
|
|
1338
|
+
summary: z.string(),
|
|
1339
|
+
closed_at: z.iso.datetime().optional(),
|
|
1340
|
+
date_created: z.iso.datetime(),
|
|
1341
|
+
date_updated: z.iso.datetime(),
|
|
1342
|
+
messages: z.array(z.object({
|
|
1343
|
+
id: z.string(),
|
|
1344
|
+
type: z.enum(['customer_reply', 'agent_reply']),
|
|
1345
|
+
body: z.string(),
|
|
1346
|
+
author_first_name: z.string().optional(),
|
|
1347
|
+
author_last_name: z.string().optional(),
|
|
1348
|
+
attachments: z.array(z.object({
|
|
1349
|
+
id: z.string(),
|
|
1350
|
+
filename: z.string(),
|
|
1351
|
+
content_type: z.string(),
|
|
1352
|
+
size: z.int()
|
|
1353
|
+
})).optional(),
|
|
1354
|
+
date_created: z.iso.datetime()
|
|
1355
|
+
})).optional()
|
|
888
1356
|
});
|
|
889
1357
|
export const zTokenCreateInput = z.object({
|
|
890
1358
|
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
891
|
-
role: z.enum([
|
|
892
|
-
'Administrator',
|
|
893
|
-
'User'
|
|
894
|
-
])
|
|
1359
|
+
role: z.enum(['Administrator', 'User'])
|
|
895
1360
|
});
|
|
896
1361
|
export const zToken = z.object({
|
|
897
1362
|
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
898
|
-
role: z.enum([
|
|
899
|
-
'Administrator',
|
|
900
|
-
'User'
|
|
901
|
-
]),
|
|
1363
|
+
role: z.enum(['Administrator', 'User']),
|
|
902
1364
|
id: z.string().optional(),
|
|
903
1365
|
secret: z.string().optional(),
|
|
904
|
-
date_created: z.
|
|
1366
|
+
date_created: z.iso.datetime()
|
|
905
1367
|
});
|
|
906
1368
|
export const zTokenUpdateInput = z.object({
|
|
907
1369
|
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/).optional(),
|
|
908
|
-
role: z.enum([
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
1370
|
+
role: z.enum(['Administrator', 'User']).optional()
|
|
1371
|
+
});
|
|
1372
|
+
export const zUsageFacets = z.object({
|
|
1373
|
+
cluster_id: z.array(z.string()).optional(),
|
|
1374
|
+
product: z.array(z.enum([
|
|
1375
|
+
'cfke_controlplane_basic',
|
|
1376
|
+
'cfke_controlplane_pro',
|
|
1377
|
+
'cfke_controlplane_enterprise',
|
|
1378
|
+
'cfke_connected_nodes_basic',
|
|
1379
|
+
'cfke_connected_nodes_pro',
|
|
1380
|
+
'cfke_connected_nodes_enterprise',
|
|
1381
|
+
'cfcr_storage'
|
|
1382
|
+
])).optional()
|
|
1383
|
+
});
|
|
1384
|
+
export const zUsageResponse = z.object({
|
|
1385
|
+
data: z.array(z.object({
|
|
1386
|
+
hour: z.string(),
|
|
1387
|
+
cluster_id: z.string(),
|
|
1388
|
+
product: z.enum([
|
|
1389
|
+
'cfke_controlplane_basic',
|
|
1390
|
+
'cfke_controlplane_pro',
|
|
1391
|
+
'cfke_controlplane_enterprise',
|
|
1392
|
+
'cfke_connected_nodes_basic',
|
|
1393
|
+
'cfke_connected_nodes_pro',
|
|
1394
|
+
'cfke_connected_nodes_enterprise',
|
|
1395
|
+
'cfcr_storage'
|
|
1396
|
+
]),
|
|
1397
|
+
value: z.number(),
|
|
1398
|
+
price: z.number(),
|
|
1399
|
+
total: z.number()
|
|
1400
|
+
})),
|
|
1401
|
+
facets: z.object({
|
|
1402
|
+
cluster_id: z.array(z.string()).optional(),
|
|
1403
|
+
product: z.array(z.enum([
|
|
1404
|
+
'cfke_controlplane_basic',
|
|
1405
|
+
'cfke_controlplane_pro',
|
|
1406
|
+
'cfke_controlplane_enterprise',
|
|
1407
|
+
'cfke_connected_nodes_basic',
|
|
1408
|
+
'cfke_connected_nodes_pro',
|
|
1409
|
+
'cfke_connected_nodes_enterprise',
|
|
1410
|
+
'cfcr_storage'
|
|
1411
|
+
])).optional()
|
|
1412
|
+
})
|
|
912
1413
|
});
|
|
913
1414
|
export const zUsage = z.object({
|
|
914
|
-
hour: z.string()
|
|
915
|
-
cluster_id: z.string()
|
|
916
|
-
cluster_tier: z.enum([
|
|
917
|
-
''
|
|
918
|
-
]),
|
|
1415
|
+
hour: z.string(),
|
|
1416
|
+
cluster_id: z.string(),
|
|
919
1417
|
product: z.enum([
|
|
920
|
-
'
|
|
921
|
-
'
|
|
922
|
-
'
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
z.number(),
|
|
928
|
-
z.enum([
|
|
929
|
-
''
|
|
930
|
-
])
|
|
931
|
-
]),
|
|
932
|
-
price: z.union([
|
|
933
|
-
z.number(),
|
|
934
|
-
z.enum([
|
|
935
|
-
''
|
|
936
|
-
])
|
|
1418
|
+
'cfke_controlplane_basic',
|
|
1419
|
+
'cfke_controlplane_pro',
|
|
1420
|
+
'cfke_controlplane_enterprise',
|
|
1421
|
+
'cfke_connected_nodes_basic',
|
|
1422
|
+
'cfke_connected_nodes_pro',
|
|
1423
|
+
'cfke_connected_nodes_enterprise',
|
|
1424
|
+
'cfcr_storage'
|
|
937
1425
|
]),
|
|
938
|
-
value: z.
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
''
|
|
942
|
-
])
|
|
943
|
-
]),
|
|
944
|
-
total: z.union([
|
|
945
|
-
z.number(),
|
|
946
|
-
z.enum([
|
|
947
|
-
''
|
|
948
|
-
])
|
|
949
|
-
])
|
|
1426
|
+
value: z.number(),
|
|
1427
|
+
price: z.number(),
|
|
1428
|
+
total: z.number()
|
|
950
1429
|
});
|
|
951
1430
|
export const zUserCreateInput = z.object({
|
|
952
|
-
email: z.
|
|
1431
|
+
email: z.email(),
|
|
953
1432
|
first_name: z.string().min(1).max(50),
|
|
954
1433
|
last_name: z.string().min(1).max(50),
|
|
955
1434
|
code: z.string(),
|
|
956
|
-
password: z.string().min(8)
|
|
957
|
-
status: z.enum([
|
|
958
|
-
'active',
|
|
959
|
-
'inactive'
|
|
960
|
-
]).optional(),
|
|
961
|
-
role: z.enum([
|
|
962
|
-
'Administrator',
|
|
963
|
-
'User'
|
|
964
|
-
]).optional()
|
|
1435
|
+
password: z.string().min(8)
|
|
965
1436
|
});
|
|
966
1437
|
export const zUser = z.object({
|
|
967
|
-
email: z.
|
|
1438
|
+
email: z.email(),
|
|
968
1439
|
first_name: z.string().min(1).max(50),
|
|
969
1440
|
last_name: z.string().min(1).max(50),
|
|
970
|
-
role: z.enum([
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
status: z.enum([
|
|
975
|
-
'active',
|
|
976
|
-
'inactive'
|
|
977
|
-
]),
|
|
978
|
-
id: z.string().uuid(),
|
|
979
|
-
date_created: z.string().datetime(),
|
|
980
|
-
cluster_permissions: z.array(z.object({
|
|
981
|
-
cluster_id: z.string().uuid(),
|
|
982
|
-
permissions: z.enum([
|
|
983
|
-
'readwrite',
|
|
984
|
-
'readonly'
|
|
985
|
-
])
|
|
986
|
-
})).optional()
|
|
1441
|
+
role: z.enum(['Administrator', 'User']),
|
|
1442
|
+
status: z.enum(['active', 'inactive']),
|
|
1443
|
+
id: z.uuid(),
|
|
1444
|
+
date_created: z.iso.datetime()
|
|
987
1445
|
});
|
|
988
1446
|
export const zUserUpdateInput = z.object({
|
|
989
|
-
email: z.
|
|
1447
|
+
email: z.email().optional(),
|
|
990
1448
|
first_name: z.string().min(1).max(50).optional(),
|
|
991
1449
|
last_name: z.string().min(1).max(50).optional(),
|
|
992
|
-
role: z.enum([
|
|
993
|
-
|
|
994
|
-
|
|
1450
|
+
role: z.enum(['Administrator', 'User']).optional(),
|
|
1451
|
+
status: z.enum(['active', 'inactive']).optional()
|
|
1452
|
+
});
|
|
1453
|
+
export const zListUserOrganizationsPath = z.object({
|
|
1454
|
+
email: z.string()
|
|
1455
|
+
});
|
|
1456
|
+
/**
|
|
1457
|
+
* An array of organizations the user belongs to.
|
|
1458
|
+
*/
|
|
1459
|
+
export const zListUserOrganizationsResponse = z.array(z.object({
|
|
1460
|
+
realm: z.string().optional(),
|
|
1461
|
+
displayName: z.string().optional()
|
|
1462
|
+
}));
|
|
1463
|
+
/**
|
|
1464
|
+
* An array of users
|
|
1465
|
+
*/
|
|
1466
|
+
export const zListUsersResponse = z.array(zUser);
|
|
1467
|
+
export const zCreateUserBody = zUserCreateInput;
|
|
1468
|
+
/**
|
|
1469
|
+
* Successfully created. Returns created user details.
|
|
1470
|
+
*/
|
|
1471
|
+
export const zCreateUserResponse = zUser;
|
|
1472
|
+
export const zDeleteUserPath = z.object({
|
|
1473
|
+
user_id: z.string()
|
|
1474
|
+
});
|
|
1475
|
+
/**
|
|
1476
|
+
* User profile information
|
|
1477
|
+
*/
|
|
1478
|
+
export const zDeleteUserResponse = zUser;
|
|
1479
|
+
export const zGetUserPath = z.object({
|
|
1480
|
+
user_id: z.string()
|
|
1481
|
+
});
|
|
1482
|
+
/**
|
|
1483
|
+
* User profile information
|
|
1484
|
+
*/
|
|
1485
|
+
export const zGetUserResponse = zUser;
|
|
1486
|
+
export const zUpdateUserBody = zUserUpdateInput;
|
|
1487
|
+
export const zUpdateUserPath = z.object({
|
|
1488
|
+
user_id: z.string()
|
|
1489
|
+
});
|
|
1490
|
+
/**
|
|
1491
|
+
* Successfully created. Returns created user details.
|
|
1492
|
+
*/
|
|
1493
|
+
export const zUpdateUserResponse = zUser;
|
|
1494
|
+
/**
|
|
1495
|
+
* Returns a list of access token details with masked secrets.
|
|
1496
|
+
*/
|
|
1497
|
+
export const zListTokensResponse = z.array(zToken);
|
|
1498
|
+
export const zCreateTokenBody = zTokenCreateInput;
|
|
1499
|
+
/**
|
|
1500
|
+
* Successfully created. Returns created token details with unmasked/raw secret.
|
|
1501
|
+
*/
|
|
1502
|
+
export const zCreateTokenResponse = zToken;
|
|
1503
|
+
export const zDeleteTokenPath = z.object({
|
|
1504
|
+
token_id: z.string()
|
|
1505
|
+
});
|
|
1506
|
+
export const zGetTokenPath = z.object({
|
|
1507
|
+
token_id: z.string()
|
|
1508
|
+
});
|
|
1509
|
+
/**
|
|
1510
|
+
* Returns access token details with masked secret.
|
|
1511
|
+
*/
|
|
1512
|
+
export const zGetTokenResponse = zToken;
|
|
1513
|
+
export const zUpdateTokenBody = zTokenUpdateInput;
|
|
1514
|
+
export const zUpdateTokenPath = z.object({
|
|
1515
|
+
token_id: z.string()
|
|
1516
|
+
});
|
|
1517
|
+
/**
|
|
1518
|
+
* Successfully updated. Returns updated token details with masked secret.
|
|
1519
|
+
*/
|
|
1520
|
+
export const zUpdateTokenResponse = zToken;
|
|
1521
|
+
export const zRegenerateTokenPath = z.object({
|
|
1522
|
+
token_id: z.string()
|
|
1523
|
+
});
|
|
1524
|
+
/**
|
|
1525
|
+
* Successfully updated. Returns updated token details with unmasked / raw secret.
|
|
1526
|
+
*/
|
|
1527
|
+
export const zRegenerateTokenResponse = zToken;
|
|
1528
|
+
/**
|
|
1529
|
+
* An array of tickets for the organization, newest first.
|
|
1530
|
+
*/
|
|
1531
|
+
export const zListTicketsResponse = z.array(zTicket);
|
|
1532
|
+
export const zCreateTicketBody = z.object({
|
|
1533
|
+
payload: z.string().optional(),
|
|
1534
|
+
attachments: z.array(z.string()).optional()
|
|
1535
|
+
});
|
|
1536
|
+
/**
|
|
1537
|
+
* Ticket created.
|
|
1538
|
+
*/
|
|
1539
|
+
export const zCreateTicketResponse = zTicket;
|
|
1540
|
+
export const zCloseTicketPath = z.object({
|
|
1541
|
+
ticket_id: z.string()
|
|
1542
|
+
});
|
|
1543
|
+
/**
|
|
1544
|
+
* Ticket closed.
|
|
1545
|
+
*/
|
|
1546
|
+
export const zCloseTicketResponse = zTicket;
|
|
1547
|
+
export const zGetTicketPath = z.object({
|
|
1548
|
+
ticket_id: z.string()
|
|
1549
|
+
});
|
|
1550
|
+
/**
|
|
1551
|
+
* Ticket with messages (internal notes excluded).
|
|
1552
|
+
*/
|
|
1553
|
+
export const zGetTicketResponse = zTicket;
|
|
1554
|
+
export const zReplyTicketBody = z.object({
|
|
1555
|
+
payload: z.string().optional(),
|
|
1556
|
+
attachments: z.array(z.string()).optional()
|
|
1557
|
+
});
|
|
1558
|
+
export const zReplyTicketPath = z.object({
|
|
1559
|
+
ticket_id: z.string()
|
|
1560
|
+
});
|
|
1561
|
+
/**
|
|
1562
|
+
* Reply appended.
|
|
1563
|
+
*/
|
|
1564
|
+
export const zReplyTicketResponse = zTicketMessage;
|
|
1565
|
+
export const zGetTicketAttachmentPath = z.object({
|
|
1566
|
+
ticket_id: z.string(),
|
|
1567
|
+
attachment_id: z.string()
|
|
1568
|
+
});
|
|
1569
|
+
/**
|
|
1570
|
+
* Attachment binary stream.
|
|
1571
|
+
*/
|
|
1572
|
+
export const zGetTicketAttachmentResponse = z.string();
|
|
1573
|
+
/**
|
|
1574
|
+
* List of repositories
|
|
1575
|
+
*/
|
|
1576
|
+
export const zListRepositoriesResponse = z.array(zRegistryRepository);
|
|
1577
|
+
export const zListTagsPath = z.object({
|
|
1578
|
+
region: z.string(),
|
|
1579
|
+
repository: z.string()
|
|
1580
|
+
});
|
|
1581
|
+
/**
|
|
1582
|
+
* Repository with tags
|
|
1583
|
+
*/
|
|
1584
|
+
export const zListTagsResponse = zRegistryRepositoryWithTags;
|
|
1585
|
+
export const zDeleteTagPath = z.object({
|
|
1586
|
+
region: z.string(),
|
|
1587
|
+
repository: z.string(),
|
|
1588
|
+
tag: z.string()
|
|
1589
|
+
});
|
|
1590
|
+
export const zGetTagPath = z.object({
|
|
1591
|
+
region: z.string(),
|
|
1592
|
+
repository: z.string(),
|
|
1593
|
+
tag: z.string()
|
|
1594
|
+
});
|
|
1595
|
+
/**
|
|
1596
|
+
* Tag details
|
|
1597
|
+
*/
|
|
1598
|
+
export const zGetTagResponse = zRegistryTag;
|
|
1599
|
+
/**
|
|
1600
|
+
* Returns a single object containing organization details.
|
|
1601
|
+
*/
|
|
1602
|
+
export const zGetOrganizationResponse = zOrganization;
|
|
1603
|
+
export const zCreateOrganizationBody = zOrganizationCreateInput;
|
|
1604
|
+
/**
|
|
1605
|
+
* Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
|
|
1606
|
+
*
|
|
1607
|
+
*/
|
|
1608
|
+
export const zCreateOrganizationResponse = zOrganizationCreateOutput;
|
|
1609
|
+
/**
|
|
1610
|
+
* Returns the current consent status.
|
|
1611
|
+
*/
|
|
1612
|
+
export const zGetBasicPriceConsentResponse = zBasicPriceConsent;
|
|
1613
|
+
export const zSetBasicPriceConsentBody = zBasicPriceConsentInput;
|
|
1614
|
+
/**
|
|
1615
|
+
* Decision recorded. Returns the updated consent status.
|
|
1616
|
+
*/
|
|
1617
|
+
export const zSetBasicPriceConsentResponse = zBasicPriceConsent;
|
|
1618
|
+
/**
|
|
1619
|
+
* JSON-RPC 2.0 request payload
|
|
1620
|
+
*/
|
|
1621
|
+
export const zPostMcpBody = z.object({
|
|
1622
|
+
jsonrpc: z.string().optional(),
|
|
1623
|
+
method: z.string().optional(),
|
|
1624
|
+
id: z.union([
|
|
1625
|
+
z.string(),
|
|
1626
|
+
z.number()
|
|
995
1627
|
]).optional(),
|
|
996
|
-
|
|
997
|
-
'active',
|
|
998
|
-
'inactive'
|
|
999
|
-
]).optional()
|
|
1628
|
+
params: z.record(z.string(), z.unknown()).optional()
|
|
1000
1629
|
});
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
export const
|
|
1005
|
-
|
|
1630
|
+
/**
|
|
1631
|
+
* JSON-RPC 2.0 success or error response
|
|
1632
|
+
*/
|
|
1633
|
+
export const zPostMcpResponse = z.object({
|
|
1634
|
+
jsonrpc: z.string().optional(),
|
|
1635
|
+
id: z.union([
|
|
1636
|
+
z.string(),
|
|
1637
|
+
z.number()
|
|
1638
|
+
]).optional(),
|
|
1639
|
+
result: z.record(z.string(), z.unknown()).optional(),
|
|
1640
|
+
error: z.object({
|
|
1641
|
+
code: z.int().optional(),
|
|
1642
|
+
message: z.string().optional()
|
|
1643
|
+
}).optional()
|
|
1006
1644
|
});
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1645
|
+
/**
|
|
1646
|
+
* An array of chart listings in the marketplace.
|
|
1647
|
+
*/
|
|
1648
|
+
export const zListMarketplaceChartsResponse = z.array(zMarketplaceListing);
|
|
1649
|
+
export const zGetMarketplaceChartFilesPath = z.object({
|
|
1650
|
+
chart_name: z.string(),
|
|
1651
|
+
version_channel: z.string()
|
|
1652
|
+
});
|
|
1653
|
+
/**
|
|
1654
|
+
* Returns an object containing the chart files for the latest matching version.
|
|
1655
|
+
*/
|
|
1656
|
+
export const zGetMarketplaceChartFilesResponse = zMarketplaceListingFiles;
|
|
1657
|
+
/**
|
|
1658
|
+
* An array of invites
|
|
1659
|
+
*/
|
|
1660
|
+
export const zListInvitesResponse = z.array(zInvite);
|
|
1661
|
+
export const zCreateInviteBody = zInviteCreateInput;
|
|
1662
|
+
/**
|
|
1663
|
+
* Successfully created. Returns created invite details.
|
|
1664
|
+
*/
|
|
1665
|
+
export const zCreateInviteResponse = zInvite;
|
|
1666
|
+
export const zGetInvitePath = z.object({
|
|
1667
|
+
code: z.string()
|
|
1668
|
+
});
|
|
1669
|
+
/**
|
|
1670
|
+
* The invitation code is valid. Returns the invited email and organization.
|
|
1671
|
+
*/
|
|
1672
|
+
export const zGetInviteResponse = z.object({
|
|
1673
|
+
email: z.email().optional(),
|
|
1674
|
+
organization_id: z.string().optional()
|
|
1675
|
+
});
|
|
1676
|
+
export const zDeleteInvitePath = z.object({
|
|
1677
|
+
email: z.email()
|
|
1010
1678
|
});
|
|
1679
|
+
export const zQueryClusterPath = z.object({
|
|
1680
|
+
cluster_id: z.string()
|
|
1681
|
+
});
|
|
1682
|
+
export const zListFleetsPath = z.object({
|
|
1683
|
+
cluster_id: z.string()
|
|
1684
|
+
});
|
|
1685
|
+
/**
|
|
1686
|
+
* An array of fleets
|
|
1687
|
+
*/
|
|
1011
1688
|
export const zListFleetsResponse = z.array(zFleet);
|
|
1689
|
+
export const zCreateFleetBody = zFleetCreateInput;
|
|
1690
|
+
export const zCreateFleetPath = z.object({
|
|
1691
|
+
cluster_id: z.string()
|
|
1692
|
+
});
|
|
1693
|
+
/**
|
|
1694
|
+
* Successfully created. Returns created Fleet ID.
|
|
1695
|
+
*/
|
|
1012
1696
|
export const zCreateFleetResponse = z.string();
|
|
1697
|
+
export const zDeleteFleetPath = z.object({
|
|
1698
|
+
cluster_id: z.string(),
|
|
1699
|
+
fleet_name: z.string()
|
|
1700
|
+
});
|
|
1701
|
+
/**
|
|
1702
|
+
* Successfully deleted.
|
|
1703
|
+
*/
|
|
1013
1704
|
export const zDeleteFleetResponse = z.string();
|
|
1705
|
+
export const zGetFleetPath = z.object({
|
|
1706
|
+
cluster_id: z.string(),
|
|
1707
|
+
fleet_name: z.string()
|
|
1708
|
+
});
|
|
1709
|
+
/**
|
|
1710
|
+
* Returns a single object containing fleet details.
|
|
1711
|
+
*/
|
|
1014
1712
|
export const zGetFleetResponse = zFleet;
|
|
1713
|
+
export const zUpdateFleetBody = zFleetUpdateInput;
|
|
1714
|
+
export const zUpdateFleetPath = z.object({
|
|
1715
|
+
cluster_id: z.string(),
|
|
1716
|
+
fleet_name: z.string()
|
|
1717
|
+
});
|
|
1718
|
+
/**
|
|
1719
|
+
* Successfully updated.
|
|
1720
|
+
*/
|
|
1015
1721
|
export const zUpdateFleetResponse = z.string();
|
|
1722
|
+
export const zListChartsPath = z.object({
|
|
1723
|
+
cluster_id: z.string()
|
|
1724
|
+
});
|
|
1725
|
+
/**
|
|
1726
|
+
* An array of charts
|
|
1727
|
+
*/
|
|
1728
|
+
export const zListChartsResponse = z.array(zChart);
|
|
1729
|
+
export const zCreateChartBody = zChartCreateInput;
|
|
1730
|
+
export const zCreateChartPath = z.object({
|
|
1731
|
+
cluster_id: z.string()
|
|
1732
|
+
});
|
|
1733
|
+
/**
|
|
1734
|
+
* Successfully created. Returns created Chart ID.
|
|
1735
|
+
*/
|
|
1736
|
+
export const zCreateChartResponse = z.string();
|
|
1737
|
+
export const zDeleteChartPath = z.object({
|
|
1738
|
+
cluster_id: z.string(),
|
|
1739
|
+
chart_name: z.string()
|
|
1740
|
+
});
|
|
1741
|
+
/**
|
|
1742
|
+
* Successfully deleted.
|
|
1743
|
+
*/
|
|
1744
|
+
export const zDeleteChartResponse = z.string();
|
|
1745
|
+
export const zGetChartPath = z.object({
|
|
1746
|
+
cluster_id: z.string(),
|
|
1747
|
+
chart_name: z.string()
|
|
1748
|
+
});
|
|
1749
|
+
/**
|
|
1750
|
+
* Returns a single object containing chart details.
|
|
1751
|
+
*/
|
|
1752
|
+
export const zGetChartResponse = zChart;
|
|
1753
|
+
export const zUpdateChartBody = zChartUpdateInput;
|
|
1754
|
+
export const zUpdateChartPath = z.object({
|
|
1755
|
+
cluster_id: z.string(),
|
|
1756
|
+
chart_name: z.string()
|
|
1757
|
+
});
|
|
1758
|
+
/**
|
|
1759
|
+
* Successfully updated.
|
|
1760
|
+
*/
|
|
1761
|
+
export const zUpdateChartResponse = z.string();
|
|
1762
|
+
/**
|
|
1763
|
+
* An array of clusters
|
|
1764
|
+
*/
|
|
1016
1765
|
export const zListClustersResponse = z.array(zCluster);
|
|
1766
|
+
export const zCreateClusterBody = zClusterCreateInput;
|
|
1767
|
+
/**
|
|
1768
|
+
* Successfully created. Returns created Cluster ID.
|
|
1769
|
+
*/
|
|
1017
1770
|
export const zCreateClusterResponse = z.string();
|
|
1771
|
+
export const zDeleteClusterPath = z.object({
|
|
1772
|
+
cluster_id: z.string()
|
|
1773
|
+
});
|
|
1774
|
+
/**
|
|
1775
|
+
* Successfully deleted. The cluster has been torn down.
|
|
1776
|
+
*/
|
|
1018
1777
|
export const zDeleteClusterResponse = z.string();
|
|
1778
|
+
export const zGetClusterPath = z.object({
|
|
1779
|
+
cluster_id: z.string()
|
|
1780
|
+
});
|
|
1781
|
+
/**
|
|
1782
|
+
* Returns a single object containing cluster details.
|
|
1783
|
+
*/
|
|
1019
1784
|
export const zGetClusterResponse = zCluster;
|
|
1785
|
+
export const zUpdateClusterBody = zClusterUpdateInput;
|
|
1786
|
+
export const zUpdateClusterPath = z.object({
|
|
1787
|
+
cluster_id: z.string()
|
|
1788
|
+
});
|
|
1789
|
+
/**
|
|
1790
|
+
* Successfully updated. Returns updated cluster details.
|
|
1791
|
+
*/
|
|
1020
1792
|
export const zUpdateClusterResponse = zCluster;
|
|
1021
|
-
export const
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
export const
|
|
1057
|
-
export const
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
export const
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
export const
|
|
1072
|
-
export const
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
export const
|
|
1793
|
+
export const zGetJoinInformationPath = z.object({
|
|
1794
|
+
cluster_id: z.string()
|
|
1795
|
+
});
|
|
1796
|
+
/**
|
|
1797
|
+
* An object of cluster join information
|
|
1798
|
+
*/
|
|
1799
|
+
export const zGetJoinInformationResponse = zClusterJoinInformation;
|
|
1800
|
+
export const zGetUsageQuery = z.object({
|
|
1801
|
+
granularity: z.enum([
|
|
1802
|
+
'hourly',
|
|
1803
|
+
'daily',
|
|
1804
|
+
'monthly'
|
|
1805
|
+
]).optional().default('daily')
|
|
1806
|
+
});
|
|
1807
|
+
/**
|
|
1808
|
+
* Usage data with facets for filtering
|
|
1809
|
+
*/
|
|
1810
|
+
export const zGetUsageResponse = zUsageResponse;
|
|
1811
|
+
/**
|
|
1812
|
+
* The client secret. Used for client-side retrieval using a publishable key. The client secret can be used to complete a payment from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret.
|
|
1813
|
+
*
|
|
1814
|
+
*/
|
|
1815
|
+
export const zGetPaymentMethodSecretResponse = z.object({
|
|
1816
|
+
id: z.string().optional()
|
|
1817
|
+
});
|
|
1818
|
+
/**
|
|
1819
|
+
* An array of payment methods.
|
|
1820
|
+
*/
|
|
1821
|
+
export const zListPaymentMethodsResponse = z.array(zPaymentMethod);
|
|
1822
|
+
export const zSetDefaultPaymentMethodPath = z.object({
|
|
1823
|
+
paymentMethodId: z.string()
|
|
1824
|
+
});
|
|
1825
|
+
/**
|
|
1826
|
+
* Default payment method updated.
|
|
1827
|
+
*/
|
|
1828
|
+
export const zSetDefaultPaymentMethodResponse = z.void();
|
|
1829
|
+
export const zDeletePaymentMethodPath = z.object({
|
|
1830
|
+
paymentMethodId: z.string()
|
|
1831
|
+
});
|
|
1832
|
+
/**
|
|
1833
|
+
* Payment method deleted.
|
|
1834
|
+
*/
|
|
1835
|
+
export const zDeletePaymentMethodResponse = z.void();
|
|
1836
|
+
/**
|
|
1837
|
+
* An array of usage records.
|
|
1838
|
+
*/
|
|
1839
|
+
export const zListInvoicesResponse = z.array(zInvoice);
|
|
1840
|
+
/**
|
|
1841
|
+
* Returns a single object containing organization contact and billing address details.
|
|
1842
|
+
*/
|
|
1843
|
+
export const zGetContactResponse = zBillingContact;
|
|
1844
|
+
export const zUpdateContactBody = zBillingContact;
|
|
1845
|
+
/**
|
|
1846
|
+
* Successfully updated. Returns updated organization details.
|
|
1847
|
+
*/
|
|
1848
|
+
export const zUpdateContactResponse = zBillingContact;
|
|
1849
|
+
/**
|
|
1850
|
+
* An array of the applied promotional credits records.
|
|
1851
|
+
*/
|
|
1852
|
+
export const zGetCreditsResponse = z.array(zBillingCredits);
|
|
1853
|
+
export const zRedeemCreditsBody = z.object({
|
|
1854
|
+
code: z.string().optional()
|
|
1855
|
+
});
|
|
1077
1856
|
//# sourceMappingURL=zod.gen.js.map
|