@cloudfleet/sdk 0.0.1-638a41b → 0.0.1-654c11e
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/dist/client.gen.d.ts +13 -0
- package/dist/client.gen.d.ts.map +1 -0
- package/dist/client.gen.js +6 -0
- package/dist/client.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 +338 -395
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +339 -404
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +134 -132
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +188 -131
- 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 +380 -510
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1152 -768
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +533 -148
- package/dist/zod.gen.js.map +1 -1
- package/package.json +9 -5
package/dist/zod.gen.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
export const zBillingContact = z.object({
|
|
4
|
-
company: z.string().min(2).max(120).regex(/^(
|
|
4
|
+
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(),
|
|
5
5
|
address1: z.string().optional(),
|
|
6
6
|
address2: z.string().optional(),
|
|
7
7
|
postalCode: z.string().optional(),
|
|
@@ -11,19 +11,202 @@ export const zBillingContact = z.object({
|
|
|
11
11
|
phone: z.string().optional(),
|
|
12
12
|
email: z.string().email(),
|
|
13
13
|
first_name: z.string(),
|
|
14
|
-
last_name: z.string()
|
|
14
|
+
last_name: z.string(),
|
|
15
|
+
tax_id: z.string().optional(),
|
|
16
|
+
tax_id_type: z.enum([
|
|
17
|
+
'ad_nrt',
|
|
18
|
+
'ae_trn',
|
|
19
|
+
'al_tin',
|
|
20
|
+
'am_tin',
|
|
21
|
+
'ao_tin',
|
|
22
|
+
'ar_cuit',
|
|
23
|
+
'at_vat',
|
|
24
|
+
'au_abn',
|
|
25
|
+
'au_arn',
|
|
26
|
+
'ba_tin',
|
|
27
|
+
'bb_tin',
|
|
28
|
+
'be_vat',
|
|
29
|
+
'bg_uic',
|
|
30
|
+
'bg_vat',
|
|
31
|
+
'bh_vat',
|
|
32
|
+
'bo_tin',
|
|
33
|
+
'br_cnpj',
|
|
34
|
+
'br_cpf',
|
|
35
|
+
'bs_tin',
|
|
36
|
+
'by_tin',
|
|
37
|
+
'ca_bn',
|
|
38
|
+
'ca_gst_hst',
|
|
39
|
+
'ca_pst_bc',
|
|
40
|
+
'ca_pst_mb',
|
|
41
|
+
'ca_pst_sk',
|
|
42
|
+
'ca_qst',
|
|
43
|
+
'cd_nif',
|
|
44
|
+
'ch_uid',
|
|
45
|
+
'ch_vat',
|
|
46
|
+
'cl_tin',
|
|
47
|
+
'cn_tin',
|
|
48
|
+
'co_nit',
|
|
49
|
+
'cr_tin',
|
|
50
|
+
'cy_vat',
|
|
51
|
+
'cz_vat',
|
|
52
|
+
'de_stn',
|
|
53
|
+
'de_vat',
|
|
54
|
+
'dk_vat',
|
|
55
|
+
'do_rcn',
|
|
56
|
+
'ec_ruc',
|
|
57
|
+
'ee_vat',
|
|
58
|
+
'eg_tin',
|
|
59
|
+
'es_cif',
|
|
60
|
+
'es_vat',
|
|
61
|
+
'eu_oss_vat',
|
|
62
|
+
'fi_vat',
|
|
63
|
+
'fr_vat',
|
|
64
|
+
'gb_vat',
|
|
65
|
+
'ge_vat',
|
|
66
|
+
'gn_nif',
|
|
67
|
+
'gr_vat',
|
|
68
|
+
'hk_br',
|
|
69
|
+
'hr_oib',
|
|
70
|
+
'hr_vat',
|
|
71
|
+
'hu_tin',
|
|
72
|
+
'hu_vat',
|
|
73
|
+
'id_npwp',
|
|
74
|
+
'ie_vat',
|
|
75
|
+
'il_vat',
|
|
76
|
+
'in_gst',
|
|
77
|
+
'is_vat',
|
|
78
|
+
'it_vat',
|
|
79
|
+
'jp_cn',
|
|
80
|
+
'jp_rn',
|
|
81
|
+
'jp_trn',
|
|
82
|
+
'ke_pin',
|
|
83
|
+
'kh_tin',
|
|
84
|
+
'kr_brn',
|
|
85
|
+
'kz_bin',
|
|
86
|
+
'li_uid',
|
|
87
|
+
'li_vat',
|
|
88
|
+
'lt_vat',
|
|
89
|
+
'lu_vat',
|
|
90
|
+
'lv_vat',
|
|
91
|
+
'ma_vat',
|
|
92
|
+
'md_vat',
|
|
93
|
+
'me_pib',
|
|
94
|
+
'mk_vat',
|
|
95
|
+
'mr_nif',
|
|
96
|
+
'mt_vat',
|
|
97
|
+
'mx_rfc',
|
|
98
|
+
'my_frp',
|
|
99
|
+
'my_itn',
|
|
100
|
+
'my_sst',
|
|
101
|
+
'ng_tin',
|
|
102
|
+
'nl_vat',
|
|
103
|
+
'no_vat',
|
|
104
|
+
'no_voec',
|
|
105
|
+
'np_pan',
|
|
106
|
+
'nz_gst',
|
|
107
|
+
'om_vat',
|
|
108
|
+
'pe_ruc',
|
|
109
|
+
'ph_tin',
|
|
110
|
+
'pl_vat',
|
|
111
|
+
'pt_vat',
|
|
112
|
+
'ro_tin',
|
|
113
|
+
'ro_vat',
|
|
114
|
+
'rs_pib',
|
|
115
|
+
'ru_inn',
|
|
116
|
+
'ru_kpp',
|
|
117
|
+
'sa_vat',
|
|
118
|
+
'se_vat',
|
|
119
|
+
'sg_gst',
|
|
120
|
+
'sg_uen',
|
|
121
|
+
'si_tin',
|
|
122
|
+
'si_vat',
|
|
123
|
+
'sk_vat',
|
|
124
|
+
'sn_ninea',
|
|
125
|
+
'sr_fin',
|
|
126
|
+
'sv_nit',
|
|
127
|
+
'th_vat',
|
|
128
|
+
'tj_tin',
|
|
129
|
+
'tr_tin',
|
|
130
|
+
'tw_vat',
|
|
131
|
+
'tz_vat',
|
|
132
|
+
'ua_vat',
|
|
133
|
+
'ug_tin',
|
|
134
|
+
'us_ein',
|
|
135
|
+
'uy_ruc',
|
|
136
|
+
'uz_tin',
|
|
137
|
+
'uz_vat',
|
|
138
|
+
've_rif',
|
|
139
|
+
'vn_tin',
|
|
140
|
+
'xi_vat',
|
|
141
|
+
'za_vat',
|
|
142
|
+
'zm_tin',
|
|
143
|
+
'zw_tin',
|
|
144
|
+
''
|
|
145
|
+
]).optional()
|
|
146
|
+
});
|
|
147
|
+
export const zBillingCredits = z.object({
|
|
148
|
+
id: z.string().optional(),
|
|
149
|
+
date_created: z.string().datetime(),
|
|
150
|
+
code: z.string(),
|
|
151
|
+
description: z.string().optional(),
|
|
152
|
+
products: z.array(z.string()).optional(),
|
|
153
|
+
type: z.enum([
|
|
154
|
+
'credit',
|
|
155
|
+
'discount'
|
|
156
|
+
]),
|
|
157
|
+
value: z.number(),
|
|
158
|
+
billing_period: z.string().datetime(),
|
|
159
|
+
value_remaining: z.number().optional()
|
|
160
|
+
});
|
|
161
|
+
export const zChartCreateInput = z.object({
|
|
162
|
+
values: z.string(),
|
|
163
|
+
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-]+)*))?$/),
|
|
164
|
+
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
165
|
+
namespace: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
166
|
+
chart: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
|
|
167
|
+
});
|
|
168
|
+
export const zChart = z.object({
|
|
169
|
+
values: z.string(),
|
|
170
|
+
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-]+)*))?$/),
|
|
171
|
+
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
172
|
+
namespace: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
173
|
+
chart: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
174
|
+
status: z.enum([
|
|
175
|
+
'InstallSucceeded',
|
|
176
|
+
'InstallFailed',
|
|
177
|
+
'UpgradeSucceeded',
|
|
178
|
+
'UpgradeFailed',
|
|
179
|
+
'TestSucceeded',
|
|
180
|
+
'TestFailed',
|
|
181
|
+
'RollbackSucceeded',
|
|
182
|
+
'RollbackFailed',
|
|
183
|
+
'UninstallSucceeded',
|
|
184
|
+
'UninstallFailed',
|
|
185
|
+
'ArtifactFailed',
|
|
186
|
+
'DependencyNotReady',
|
|
187
|
+
'Progressing',
|
|
188
|
+
'SourceNotReady'
|
|
189
|
+
]),
|
|
190
|
+
version_current: z.string(),
|
|
191
|
+
created_at: z.string(),
|
|
192
|
+
updated_at: z.string(),
|
|
193
|
+
ready: z.boolean()
|
|
194
|
+
});
|
|
195
|
+
export const zChartUpdateInput = z.object({
|
|
196
|
+
values: z.string(),
|
|
197
|
+
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-]+)*))?$/)
|
|
15
198
|
});
|
|
16
199
|
export const zClusterCreateInput = z.object({
|
|
17
200
|
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
18
|
-
region: z.enum([
|
|
19
|
-
'staging',
|
|
20
|
-
'northamerica-central-1'
|
|
21
|
-
]).optional(),
|
|
22
201
|
tier: z.enum([
|
|
23
202
|
'basic',
|
|
24
203
|
'pro'
|
|
25
204
|
]),
|
|
26
|
-
|
|
205
|
+
region: z.enum([
|
|
206
|
+
'staging',
|
|
207
|
+
'northamerica-central-1'
|
|
208
|
+
]).optional(),
|
|
209
|
+
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')
|
|
27
210
|
});
|
|
28
211
|
export const zClusterJoinInformation = z.object({
|
|
29
212
|
certificate_authority: z.string(),
|
|
@@ -43,15 +226,15 @@ export const zClusterJoinInformation = z.object({
|
|
|
43
226
|
});
|
|
44
227
|
export const zCluster = z.object({
|
|
45
228
|
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
46
|
-
region: z.enum([
|
|
47
|
-
'staging',
|
|
48
|
-
'northamerica-central-1'
|
|
49
|
-
]).optional(),
|
|
50
229
|
tier: z.enum([
|
|
51
230
|
'basic',
|
|
52
231
|
'pro'
|
|
53
232
|
]),
|
|
54
|
-
|
|
233
|
+
region: z.enum([
|
|
234
|
+
'staging',
|
|
235
|
+
'northamerica-central-1'
|
|
236
|
+
]).optional(),
|
|
237
|
+
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'),
|
|
55
238
|
id: z.string().uuid(),
|
|
56
239
|
status: z.enum([
|
|
57
240
|
'active',
|
|
@@ -75,7 +258,11 @@ export const zCluster = z.object({
|
|
|
75
258
|
});
|
|
76
259
|
export const zClusterUpdateInput = z.object({
|
|
77
260
|
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/).optional(),
|
|
78
|
-
|
|
261
|
+
tier: z.enum([
|
|
262
|
+
'basic',
|
|
263
|
+
'pro'
|
|
264
|
+
]),
|
|
265
|
+
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()
|
|
79
266
|
});
|
|
80
267
|
export const zFleetCreateInput = z.object({
|
|
81
268
|
limits: z.object({
|
|
@@ -85,25 +272,15 @@ export const zFleetCreateInput = z.object({
|
|
|
85
272
|
enabled: z.boolean().optional().default(true),
|
|
86
273
|
project: z.string()
|
|
87
274
|
}).optional(),
|
|
88
|
-
hetzner: z.
|
|
89
|
-
z.
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
}),
|
|
93
|
-
z.object({
|
|
94
|
-
apiKey: z.string().optional(),
|
|
95
|
-
enabled: z.boolean().optional().default(true)
|
|
96
|
-
})
|
|
97
|
-
]).optional(),
|
|
275
|
+
hetzner: z.object({
|
|
276
|
+
enabled: z.boolean().optional().default(true),
|
|
277
|
+
apiKey: z.string()
|
|
278
|
+
}).optional(),
|
|
98
279
|
aws: z.object({
|
|
99
280
|
enabled: z.boolean().optional().default(true),
|
|
100
281
|
controllerRoleArn: z.string()
|
|
101
282
|
}).optional(),
|
|
102
|
-
id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
|
|
103
|
-
type: z.enum([
|
|
104
|
-
'managed',
|
|
105
|
-
'connected'
|
|
106
|
-
])
|
|
283
|
+
id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
|
|
107
284
|
});
|
|
108
285
|
export const zFleet = z.object({
|
|
109
286
|
limits: z.object({
|
|
@@ -113,25 +290,15 @@ export const zFleet = z.object({
|
|
|
113
290
|
enabled: z.boolean().optional().default(true),
|
|
114
291
|
project: z.string()
|
|
115
292
|
}).optional(),
|
|
116
|
-
hetzner: z.
|
|
117
|
-
z.
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
}),
|
|
121
|
-
z.object({
|
|
122
|
-
apiKey: z.string().optional(),
|
|
123
|
-
enabled: z.boolean().optional().default(true)
|
|
124
|
-
})
|
|
125
|
-
]).optional(),
|
|
293
|
+
hetzner: z.object({
|
|
294
|
+
enabled: z.boolean().optional().default(true),
|
|
295
|
+
apiKey: z.string()
|
|
296
|
+
}).optional(),
|
|
126
297
|
aws: z.object({
|
|
127
298
|
enabled: z.boolean().optional().default(true),
|
|
128
299
|
controllerRoleArn: z.string()
|
|
129
300
|
}).optional(),
|
|
130
|
-
id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
|
|
131
|
-
type: z.enum([
|
|
132
|
-
'managed',
|
|
133
|
-
'connected'
|
|
134
|
-
])
|
|
301
|
+
id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
|
|
135
302
|
});
|
|
136
303
|
export const zFleetUpdateInput = z.object({
|
|
137
304
|
limits: z.object({
|
|
@@ -141,67 +308,15 @@ export const zFleetUpdateInput = z.object({
|
|
|
141
308
|
enabled: z.boolean().optional().default(true),
|
|
142
309
|
project: z.string()
|
|
143
310
|
}).optional(),
|
|
144
|
-
hetzner: z.
|
|
145
|
-
z.
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
}),
|
|
149
|
-
z.object({
|
|
150
|
-
apiKey: z.string().optional(),
|
|
151
|
-
enabled: z.boolean().optional().default(true)
|
|
152
|
-
})
|
|
153
|
-
]).optional(),
|
|
311
|
+
hetzner: z.object({
|
|
312
|
+
enabled: z.boolean().optional().default(true),
|
|
313
|
+
apiKey: z.string()
|
|
314
|
+
}).optional(),
|
|
154
315
|
aws: z.object({
|
|
155
316
|
enabled: z.boolean().optional().default(true),
|
|
156
317
|
controllerRoleArn: z.string()
|
|
157
318
|
}).optional()
|
|
158
319
|
});
|
|
159
|
-
export const zInfrastructureFilter = z.object({
|
|
160
|
-
version: z.unknown().optional(),
|
|
161
|
-
provider: z.array(z.string()).optional(),
|
|
162
|
-
region: z.array(z.string()).optional(),
|
|
163
|
-
sub_region: z.array(z.string()).optional(),
|
|
164
|
-
csp_region: z.array(z.string()).optional(),
|
|
165
|
-
instance_type: z.array(z.string()).optional(),
|
|
166
|
-
accelerator_name: z.array(z.string()).optional(),
|
|
167
|
-
accelerator_manufacturer: z.array(z.string()).optional(),
|
|
168
|
-
accelerator_count_min: z.number().int().gte(0).optional(),
|
|
169
|
-
accelerator_count_max: z.number().int().gte(0).optional(),
|
|
170
|
-
accelerator_memory_min: z.number().optional(),
|
|
171
|
-
accelerator_memory_max: z.number().optional(),
|
|
172
|
-
memory_min: z.number().int().gte(0).optional(),
|
|
173
|
-
memory_max: z.number().int().gte(0).optional(),
|
|
174
|
-
vcpu_min: z.number().int().gte(1).optional(),
|
|
175
|
-
vcpu_max: z.number().int().gte(1).optional(),
|
|
176
|
-
storage_total_min: z.number().gte(10).optional(),
|
|
177
|
-
storage_total_max: z.number().gte(10).optional(),
|
|
178
|
-
storage_local_min: z.number().optional(),
|
|
179
|
-
storage_local_max: z.number().optional(),
|
|
180
|
-
price_min: z.number().optional(),
|
|
181
|
-
price_max: z.number().optional()
|
|
182
|
-
});
|
|
183
|
-
export const zInfrastructureInstance = z.object({
|
|
184
|
-
sku: z.string(),
|
|
185
|
-
provider: z.string(),
|
|
186
|
-
region: z.string(),
|
|
187
|
-
sub_region: z.string(),
|
|
188
|
-
csp_region: z.string(),
|
|
189
|
-
csp_zone: z.string(),
|
|
190
|
-
instance_type: z.string(),
|
|
191
|
-
architecture: z.string(),
|
|
192
|
-
os: z.string(),
|
|
193
|
-
vcpu: z.number().gte(1),
|
|
194
|
-
memory: z.number().gte(1),
|
|
195
|
-
local_storage: z.number(),
|
|
196
|
-
accelerator_name: z.string().optional(),
|
|
197
|
-
accelerator_manufacturer: z.string().optional(),
|
|
198
|
-
accelerator_count: z.number().int().optional(),
|
|
199
|
-
accelerator_memory: z.number().optional(),
|
|
200
|
-
pods_capacity: z.number().optional(),
|
|
201
|
-
capacity_type: z.string().optional(),
|
|
202
|
-
price: z.number(),
|
|
203
|
-
available: z.boolean().optional()
|
|
204
|
-
});
|
|
205
320
|
export const zInvite = z.object({
|
|
206
321
|
id: z.string().optional(),
|
|
207
322
|
organization_id: z.string().uuid().optional(),
|
|
@@ -793,11 +908,26 @@ export const zInvoice = z.object({
|
|
|
793
908
|
childItems: z.array(z.unknown()).optional()
|
|
794
909
|
})).optional()
|
|
795
910
|
});
|
|
911
|
+
export const zMarketplaceListing = z.object({
|
|
912
|
+
id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
913
|
+
name: z.string(),
|
|
914
|
+
developer: z.string(),
|
|
915
|
+
description: z.string(),
|
|
916
|
+
logoUrl: z.string(),
|
|
917
|
+
longDescription: z.string(),
|
|
918
|
+
categories: z.array(z.string()),
|
|
919
|
+
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-]+)*))?$/)),
|
|
920
|
+
value_schemas: z.array(z.object({
|
|
921
|
+
version: 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-]+)*))?$/),
|
|
922
|
+
schema: z.string(),
|
|
923
|
+
placeholder: z.string()
|
|
924
|
+
}))
|
|
925
|
+
});
|
|
796
926
|
export const zOrganizationCreateInput = z.object({
|
|
797
927
|
email: z.string().email(),
|
|
798
928
|
first_name: z.string(),
|
|
799
929
|
last_name: z.string(),
|
|
800
|
-
company_name: z.string().min(2).max(120).regex(/^(
|
|
930
|
+
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,}$/),
|
|
801
931
|
password: z.string().min(8)
|
|
802
932
|
});
|
|
803
933
|
export const zOrganization = z.object({
|
|
@@ -810,7 +940,6 @@ export const zOrganization = z.object({
|
|
|
810
940
|
pro_clusters_max: z.number().int().gte(0),
|
|
811
941
|
pro_clusters_available: z.number().int(),
|
|
812
942
|
fleets_max: z.number().int().gte(0),
|
|
813
|
-
managed_fleets_cpu_max: z.number().int().gte(0),
|
|
814
943
|
cluster_tiers: z.array(z.string()).min(0),
|
|
815
944
|
regions: z.array(z.string()).min(1),
|
|
816
945
|
versions: z.array(z.object({
|
|
@@ -873,12 +1002,18 @@ export const zUsage = z.object({
|
|
|
873
1002
|
hour: z.string().optional(),
|
|
874
1003
|
cluster_id: z.string().uuid(),
|
|
875
1004
|
cluster_tier: z.enum([
|
|
1005
|
+
'basic',
|
|
1006
|
+
'pro',
|
|
876
1007
|
''
|
|
877
1008
|
]),
|
|
878
1009
|
product: z.enum([
|
|
879
|
-
'
|
|
880
|
-
'
|
|
881
|
-
'
|
|
1010
|
+
'cfke_controlplane',
|
|
1011
|
+
'cfke_connected_nodes',
|
|
1012
|
+
'infra_compute',
|
|
1013
|
+
'infra_storage',
|
|
1014
|
+
'infra_loadbalancing',
|
|
1015
|
+
'infra_traffic',
|
|
1016
|
+
'cfcr_storage'
|
|
882
1017
|
]),
|
|
883
1018
|
node_name: z.string(),
|
|
884
1019
|
sku: z.string(),
|
|
@@ -935,14 +1070,7 @@ export const zUser = z.object({
|
|
|
935
1070
|
'inactive'
|
|
936
1071
|
]),
|
|
937
1072
|
id: z.string().uuid(),
|
|
938
|
-
date_created: z.string().datetime()
|
|
939
|
-
cluster_permissions: z.array(z.object({
|
|
940
|
-
cluster_id: z.string().uuid(),
|
|
941
|
-
permissions: z.enum([
|
|
942
|
-
'readwrite',
|
|
943
|
-
'readonly'
|
|
944
|
-
])
|
|
945
|
-
})).optional()
|
|
1073
|
+
date_created: z.string().datetime()
|
|
946
1074
|
});
|
|
947
1075
|
export const zUserUpdateInput = z.object({
|
|
948
1076
|
email: z.string().email().optional(),
|
|
@@ -957,81 +1085,338 @@ export const zUserUpdateInput = z.object({
|
|
|
957
1085
|
'inactive'
|
|
958
1086
|
]).optional()
|
|
959
1087
|
});
|
|
1088
|
+
/**
|
|
1089
|
+
* An array of usage records.
|
|
1090
|
+
*/
|
|
960
1091
|
export const zGetUsageResponse = z.array(zUsage);
|
|
1092
|
+
/**
|
|
1093
|
+
* Current balance of the organization in USD as a floating-point number.
|
|
1094
|
+
*/
|
|
961
1095
|
export const zGetBalanceResponse = z.number();
|
|
1096
|
+
/**
|
|
1097
|
+
* Redacted payment card information.
|
|
1098
|
+
*/
|
|
962
1099
|
export const zGetPaymentMethodResponse = zPaymentMethod;
|
|
1100
|
+
/**
|
|
1101
|
+
* 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.
|
|
1102
|
+
*
|
|
1103
|
+
*/
|
|
963
1104
|
export const zGetPaymentMethodSecretResponse = z.object({
|
|
964
1105
|
id: z.string().optional()
|
|
965
1106
|
});
|
|
1107
|
+
/**
|
|
1108
|
+
* Start date for the usage. Date of oldest data point to retrieve.
|
|
1109
|
+
*/
|
|
1110
|
+
export const zListInvoicesParameterStartDate = z.string();
|
|
1111
|
+
/**
|
|
1112
|
+
* End date for the usage. Date of newest data point to retrieve.
|
|
1113
|
+
*/
|
|
1114
|
+
export const zListInvoicesParameterEndDate = z.string();
|
|
1115
|
+
/**
|
|
1116
|
+
* An array of usage records.
|
|
1117
|
+
*/
|
|
966
1118
|
export const zListInvoicesResponse = z.array(zInvoice);
|
|
1119
|
+
/**
|
|
1120
|
+
* Unique invoice identifier. UUID v4 string in canonical form
|
|
1121
|
+
*/
|
|
1122
|
+
export const zGetInvoiceParameterId = z.string();
|
|
1123
|
+
/**
|
|
1124
|
+
* Returns a single Invoice HTML representation under `html` property.
|
|
1125
|
+
*/
|
|
967
1126
|
export const zGetInvoiceResponse = z.object({
|
|
968
1127
|
html: z.string().optional()
|
|
969
1128
|
});
|
|
1129
|
+
/**
|
|
1130
|
+
* Returns a single object containing organization contact and billing address details.
|
|
1131
|
+
*/
|
|
970
1132
|
export const zGetContactResponse = zBillingContact;
|
|
1133
|
+
export const zUpdateContactData = zBillingContact;
|
|
1134
|
+
/**
|
|
1135
|
+
* Successfully updated. Returns updated organization details.
|
|
1136
|
+
*/
|
|
971
1137
|
export const zUpdateContactResponse = zBillingContact;
|
|
1138
|
+
/**
|
|
1139
|
+
* An array of the applied promotional credits records.
|
|
1140
|
+
*/
|
|
1141
|
+
export const zGetCreditsResponse = z.array(zBillingCredits);
|
|
1142
|
+
export const zRedeemCreditsData = z.object({
|
|
1143
|
+
code: z.string().optional()
|
|
1144
|
+
});
|
|
1145
|
+
/**
|
|
1146
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1147
|
+
*/
|
|
1148
|
+
export const zListChartsParameterClusterId = z.string();
|
|
1149
|
+
/**
|
|
1150
|
+
* An array of charts
|
|
1151
|
+
*/
|
|
1152
|
+
export const zListChartsResponse = z.array(zChart);
|
|
1153
|
+
export const zCreateChartData = zChartCreateInput;
|
|
1154
|
+
/**
|
|
1155
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1156
|
+
*/
|
|
1157
|
+
export const zCreateChartParameterClusterId = z.string();
|
|
1158
|
+
/**
|
|
1159
|
+
* Successfully created. Returns created Chart ID.
|
|
1160
|
+
*/
|
|
1161
|
+
export const zCreateChartResponse = z.string();
|
|
1162
|
+
/**
|
|
1163
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1164
|
+
*/
|
|
1165
|
+
export const zDeleteChartParameterClusterId = z.string();
|
|
1166
|
+
/**
|
|
1167
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1168
|
+
*/
|
|
1169
|
+
export const zDeleteChartParameterChartName = z.string();
|
|
1170
|
+
/**
|
|
1171
|
+
* Successfully deleted.
|
|
1172
|
+
*/
|
|
1173
|
+
export const zDeleteChartResponse = z.string();
|
|
1174
|
+
/**
|
|
1175
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1176
|
+
*/
|
|
1177
|
+
export const zGetChartParameterClusterId = z.string();
|
|
1178
|
+
/**
|
|
1179
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1180
|
+
*/
|
|
1181
|
+
export const zGetChartParameterChartName = z.string();
|
|
1182
|
+
/**
|
|
1183
|
+
* Returns a single object containing chart details.
|
|
1184
|
+
*/
|
|
1185
|
+
export const zGetChartResponse = zChart;
|
|
1186
|
+
export const zUpdateChartData = zChartUpdateInput;
|
|
1187
|
+
/**
|
|
1188
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1189
|
+
*/
|
|
1190
|
+
export const zUpdateChartParameterClusterId = z.string();
|
|
1191
|
+
/**
|
|
1192
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1193
|
+
*/
|
|
1194
|
+
export const zUpdateChartParameterChartName = z.string();
|
|
1195
|
+
/**
|
|
1196
|
+
* Successfully updated.
|
|
1197
|
+
*/
|
|
1198
|
+
export const zUpdateChartResponse = z.string();
|
|
1199
|
+
/**
|
|
1200
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1201
|
+
*/
|
|
1202
|
+
export const zListFleetsParameterClusterId = z.string();
|
|
1203
|
+
/**
|
|
1204
|
+
* An array of fleets
|
|
1205
|
+
*/
|
|
972
1206
|
export const zListFleetsResponse = z.array(zFleet);
|
|
1207
|
+
export const zCreateFleetData = zFleetCreateInput;
|
|
1208
|
+
/**
|
|
1209
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1210
|
+
*/
|
|
1211
|
+
export const zCreateFleetParameterClusterId = z.string();
|
|
1212
|
+
/**
|
|
1213
|
+
* Successfully created. Returns created Fleet ID.
|
|
1214
|
+
*/
|
|
973
1215
|
export const zCreateFleetResponse = z.string();
|
|
1216
|
+
/**
|
|
1217
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1218
|
+
*/
|
|
1219
|
+
export const zDeleteFleetParameterClusterId = z.string();
|
|
1220
|
+
/**
|
|
1221
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
1222
|
+
*/
|
|
1223
|
+
export const zDeleteFleetParameterFleetName = z.string();
|
|
1224
|
+
/**
|
|
1225
|
+
* Successfully deleted.
|
|
1226
|
+
*/
|
|
974
1227
|
export const zDeleteFleetResponse = z.string();
|
|
1228
|
+
/**
|
|
1229
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1230
|
+
*/
|
|
1231
|
+
export const zGetFleetParameterClusterId = z.string();
|
|
1232
|
+
/**
|
|
1233
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
1234
|
+
*/
|
|
1235
|
+
export const zGetFleetParameterFleetName = z.string();
|
|
1236
|
+
/**
|
|
1237
|
+
* Returns a single object containing fleet details.
|
|
1238
|
+
*/
|
|
975
1239
|
export const zGetFleetResponse = zFleet;
|
|
1240
|
+
export const zUpdateFleetData = zFleetUpdateInput;
|
|
1241
|
+
/**
|
|
1242
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1243
|
+
*/
|
|
1244
|
+
export const zUpdateFleetParameterClusterId = z.string();
|
|
1245
|
+
/**
|
|
1246
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
1247
|
+
*/
|
|
1248
|
+
export const zUpdateFleetParameterFleetName = z.string();
|
|
1249
|
+
/**
|
|
1250
|
+
* Successfully updated.
|
|
1251
|
+
*/
|
|
976
1252
|
export const zUpdateFleetResponse = z.string();
|
|
1253
|
+
/**
|
|
1254
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1255
|
+
*/
|
|
1256
|
+
export const zQueryClusterParameterClusterId = z.string();
|
|
1257
|
+
/**
|
|
1258
|
+
* An array of clusters
|
|
1259
|
+
*/
|
|
977
1260
|
export const zListClustersResponse = z.array(zCluster);
|
|
1261
|
+
export const zCreateClusterData = zClusterCreateInput;
|
|
1262
|
+
/**
|
|
1263
|
+
* Successfully created. Returns created Cluster ID.
|
|
1264
|
+
*/
|
|
978
1265
|
export const zCreateClusterResponse = z.string();
|
|
1266
|
+
/**
|
|
1267
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1268
|
+
*/
|
|
1269
|
+
export const zDeleteClusterParameterClusterId = z.string();
|
|
1270
|
+
/**
|
|
1271
|
+
* Successfully deleted.
|
|
1272
|
+
*/
|
|
979
1273
|
export const zDeleteClusterResponse = z.string();
|
|
1274
|
+
/**
|
|
1275
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1276
|
+
*/
|
|
1277
|
+
export const zGetClusterParameterClusterId = z.string();
|
|
1278
|
+
/**
|
|
1279
|
+
* Returns a single object containing cluster details.
|
|
1280
|
+
*/
|
|
980
1281
|
export const zGetClusterResponse = zCluster;
|
|
1282
|
+
export const zUpdateClusterData = zClusterUpdateInput;
|
|
1283
|
+
/**
|
|
1284
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1285
|
+
*/
|
|
1286
|
+
export const zUpdateClusterParameterClusterId = z.string();
|
|
1287
|
+
/**
|
|
1288
|
+
* Successfully updated. Returns updated cluster details.
|
|
1289
|
+
*/
|
|
981
1290
|
export const zUpdateClusterResponse = zCluster;
|
|
1291
|
+
/**
|
|
1292
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1293
|
+
*/
|
|
1294
|
+
export const zGetJoinInformationParameterClusterId = z.string();
|
|
1295
|
+
/**
|
|
1296
|
+
* An object of cluster join information
|
|
1297
|
+
*/
|
|
982
1298
|
export const zGetJoinInformationResponse = zCluster;
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
region: z.array(z.string()).optional(),
|
|
987
|
-
sub_region: z.array(z.string()).optional(),
|
|
988
|
-
csp_region: z.array(z.string()).optional(),
|
|
989
|
-
vcpu_min: z.number().int().gte(1).optional(),
|
|
990
|
-
vcpu_max: z.number().int().gte(1).optional(),
|
|
991
|
-
memory_min: z.number().int().gte(0).optional(),
|
|
992
|
-
memory_max: z.number().int().gte(0).optional(),
|
|
993
|
-
storage_local_min: z.number().optional(),
|
|
994
|
-
storage_local_max: z.number().optional(),
|
|
995
|
-
accelerator_name: z.array(z.string()).optional(),
|
|
996
|
-
accelerator_manufacturer: z.array(z.string()).optional(),
|
|
997
|
-
accelerator_count_min: z.number().int().gte(0).optional(),
|
|
998
|
-
accelerator_count_max: z.number().int().gte(0).optional(),
|
|
999
|
-
accelerator_memory_min: z.number().optional(),
|
|
1000
|
-
accelerator_memory_max: z.number().optional(),
|
|
1001
|
-
price_min: z.number().optional(),
|
|
1002
|
-
price_max: z.number().optional(),
|
|
1003
|
-
regions_struct: z.array(z.object({
|
|
1004
|
-
region: z.string().optional(),
|
|
1005
|
-
sub_region: z.array(z.string()).optional()
|
|
1006
|
-
})).optional(),
|
|
1007
|
-
accelerators_struct: z.array(z.object({
|
|
1008
|
-
accelerator_manufacturer: z.string().optional(),
|
|
1009
|
-
accelerator_name: z.array(z.string()).optional()
|
|
1010
|
-
})).optional(),
|
|
1011
|
-
count_total: z.number().int().gte(0).optional(),
|
|
1012
|
-
count_accelerators: z.number().int().gte(0).optional(),
|
|
1013
|
-
count_instance_types: z.number().int().gte(0).optional(),
|
|
1014
|
-
count_accelerators_instance_types: z.number().int().gte(0).optional()
|
|
1015
|
-
}));
|
|
1016
|
-
export const zGetRegionsResponse = z.object({});
|
|
1299
|
+
/**
|
|
1300
|
+
* An array of invites
|
|
1301
|
+
*/
|
|
1017
1302
|
export const zListInvitesResponse = z.array(zInvite);
|
|
1303
|
+
export const zCreateInviteData = z.object({
|
|
1304
|
+
email: z.string().optional()
|
|
1305
|
+
});
|
|
1306
|
+
/**
|
|
1307
|
+
* Successfully created. Returns created invite details.
|
|
1308
|
+
*/
|
|
1018
1309
|
export const zCreateInviteResponse = zInvite;
|
|
1310
|
+
/**
|
|
1311
|
+
* Invitation code
|
|
1312
|
+
*/
|
|
1313
|
+
export const zGetInviteParameterCode = z.string();
|
|
1314
|
+
/**
|
|
1315
|
+
* Returns a single object containing invite details.
|
|
1316
|
+
*/
|
|
1019
1317
|
export const zGetInviteResponse = zInvite;
|
|
1318
|
+
/**
|
|
1319
|
+
* User email address
|
|
1320
|
+
*/
|
|
1321
|
+
export const zDeleteInviteParameterEmail = z.string();
|
|
1322
|
+
/**
|
|
1323
|
+
* An array of chart listings in the marketplace.
|
|
1324
|
+
*/
|
|
1325
|
+
export const zListMarketplaceChartsResponse = z.array(zMarketplaceListing);
|
|
1326
|
+
/**
|
|
1327
|
+
* Unique identifier of the chart listing in the marketplace.
|
|
1328
|
+
*/
|
|
1329
|
+
export const zGetMarketplaceChartParameterListingId = z.string();
|
|
1330
|
+
/**
|
|
1331
|
+
* Returns an object containing the chart listing details.
|
|
1332
|
+
*/
|
|
1333
|
+
export const zGetMarketplaceChartResponse = zMarketplaceListing;
|
|
1334
|
+
/**
|
|
1335
|
+
* Returns a single object containing organization details.
|
|
1336
|
+
*/
|
|
1020
1337
|
export const zGetOrganizationResponse = zOrganization;
|
|
1338
|
+
export const zCreateOrganizationData = zOrganizationCreateInput;
|
|
1339
|
+
/**
|
|
1340
|
+
* Returns a list of access token details with masked secrets.
|
|
1341
|
+
*/
|
|
1021
1342
|
export const zListTokensResponse = z.array(zToken);
|
|
1343
|
+
export const zCreateTokenData = zTokenCreateInput;
|
|
1344
|
+
/**
|
|
1345
|
+
* Successfully created. Returns created token details with unmasked/raw secret.
|
|
1346
|
+
*/
|
|
1022
1347
|
export const zCreateTokenResponse = zToken;
|
|
1348
|
+
/**
|
|
1349
|
+
* Generated unique identifier of the access token.
|
|
1350
|
+
*/
|
|
1351
|
+
export const zDeleteTokenParameterTokenId = z.string();
|
|
1352
|
+
/**
|
|
1353
|
+
* Generated unique identifier of the access token.
|
|
1354
|
+
*/
|
|
1355
|
+
export const zGetTokenParameterTokenId = z.string();
|
|
1356
|
+
/**
|
|
1357
|
+
* Returns access token details with masked secret.
|
|
1358
|
+
*/
|
|
1023
1359
|
export const zGetTokenResponse = zToken;
|
|
1360
|
+
export const zUpdateTokenData = zTokenUpdateInput;
|
|
1361
|
+
/**
|
|
1362
|
+
* Generated unique identifier of the access token.
|
|
1363
|
+
*/
|
|
1364
|
+
export const zUpdateTokenParameterTokenId = z.string();
|
|
1365
|
+
/**
|
|
1366
|
+
* Successfully updated. Returns updated token details with masked secret.
|
|
1367
|
+
*/
|
|
1024
1368
|
export const zUpdateTokenResponse = zToken;
|
|
1369
|
+
/**
|
|
1370
|
+
* Generated unique identifier of the access token.
|
|
1371
|
+
*/
|
|
1372
|
+
export const zRegenerateTokenParameterTokenId = z.string();
|
|
1373
|
+
/**
|
|
1374
|
+
* Successfully updated. Returns updated token details with unmasked / raw secret.
|
|
1375
|
+
*/
|
|
1025
1376
|
export const zRegenerateTokenResponse = zToken;
|
|
1377
|
+
/**
|
|
1378
|
+
* User email address.
|
|
1379
|
+
*/
|
|
1380
|
+
export const zListUserOrganizationsParameterEmail = z.string();
|
|
1381
|
+
/**
|
|
1382
|
+
* An array of organizations the user belongs to.
|
|
1383
|
+
*/
|
|
1026
1384
|
export const zListUserOrganizationsResponse = z.array(z.object({
|
|
1027
1385
|
realm: z.string().optional(),
|
|
1028
1386
|
displayName: z.string().optional()
|
|
1029
1387
|
}));
|
|
1388
|
+
/**
|
|
1389
|
+
* An array of users
|
|
1390
|
+
*/
|
|
1030
1391
|
export const zListUsersResponse = z.array(zUser);
|
|
1392
|
+
export const zCreateUserData = zUserCreateInput;
|
|
1393
|
+
/**
|
|
1394
|
+
* Successfully created. Returns created user details.
|
|
1395
|
+
*/
|
|
1031
1396
|
export const zCreateUserResponse = zUser;
|
|
1397
|
+
/**
|
|
1398
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1399
|
+
*/
|
|
1400
|
+
export const zDeleteUserParameterUserId = z.string();
|
|
1401
|
+
/**
|
|
1402
|
+
* User profile information
|
|
1403
|
+
*/
|
|
1032
1404
|
export const zDeleteUserResponse = zUser;
|
|
1405
|
+
/**
|
|
1406
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1407
|
+
*/
|
|
1408
|
+
export const zGetUserParameterUserId = z.string();
|
|
1409
|
+
/**
|
|
1410
|
+
* User profile information
|
|
1411
|
+
*/
|
|
1033
1412
|
export const zGetUserResponse = zUser;
|
|
1413
|
+
export const zUpdateUserData = zUserUpdateInput;
|
|
1414
|
+
/**
|
|
1415
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1416
|
+
*/
|
|
1417
|
+
export const zUpdateUserParameterUserId = z.string();
|
|
1418
|
+
/**
|
|
1419
|
+
* Successfully created. Returns created user details.
|
|
1420
|
+
*/
|
|
1034
1421
|
export const zUpdateUserResponse = zUser;
|
|
1035
|
-
export const zDeleteClusterPermissionsResponse = zUser;
|
|
1036
|
-
export const zSetClusterPermissionsResponse = zUser;
|
|
1037
1422
|
//# sourceMappingURL=zod.gen.js.map
|