@cloudfleet/sdk 0.0.1-2564786 → 0.0.1-2b670e2
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 +491 -654
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +495 -654
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +146 -140
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +213 -147
- 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 +503 -731
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1356 -1380
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +575 -198
- package/dist/zod.gen.js.map +1 -1
- package/package.json +9 -5
package/dist/zod.gen.js
CHANGED
|
@@ -1,5 +1,201 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
+
export const zBillingContact = z.object({
|
|
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
|
+
address1: z.string().optional(),
|
|
6
|
+
address2: z.string().optional(),
|
|
7
|
+
postalCode: z.string().optional(),
|
|
8
|
+
city: z.string().optional(),
|
|
9
|
+
state: z.string().optional(),
|
|
10
|
+
country: z.string().optional(),
|
|
11
|
+
phone: z.string().optional(),
|
|
12
|
+
email: z.string().email(),
|
|
13
|
+
first_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-]+)*))?$/)
|
|
198
|
+
});
|
|
3
199
|
export const zClusterCreateInput = z.object({
|
|
4
200
|
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
5
201
|
region: z.enum([
|
|
@@ -10,7 +206,7 @@ export const zClusterCreateInput = z.object({
|
|
|
10
206
|
'basic',
|
|
11
207
|
'pro'
|
|
12
208
|
]),
|
|
13
|
-
version_channel: z.string().regex(/^(x|X|0|[1-9]
|
|
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')
|
|
14
210
|
});
|
|
15
211
|
export const zClusterJoinInformation = z.object({
|
|
16
212
|
certificate_authority: z.string(),
|
|
@@ -21,6 +217,11 @@ export const zClusterJoinInformation = z.object({
|
|
|
21
217
|
kubernetes: z.string(),
|
|
22
218
|
tailscale: z.string(),
|
|
23
219
|
containerd: z.string()
|
|
220
|
+
}),
|
|
221
|
+
third_party_api_access_config: z.object({
|
|
222
|
+
metadata_url: z.string(),
|
|
223
|
+
aws_role_arn: z.string(),
|
|
224
|
+
gcp_workload_identity_provider: z.string()
|
|
24
225
|
})
|
|
25
226
|
});
|
|
26
227
|
export const zCluster = z.object({
|
|
@@ -33,7 +234,7 @@ export const zCluster = z.object({
|
|
|
33
234
|
'basic',
|
|
34
235
|
'pro'
|
|
35
236
|
]),
|
|
36
|
-
version_channel: z.string().regex(/^(x|X|0|[1-9]
|
|
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'),
|
|
37
238
|
id: z.string().uuid(),
|
|
38
239
|
status: z.enum([
|
|
39
240
|
'active',
|
|
@@ -57,7 +258,7 @@ export const zCluster = z.object({
|
|
|
57
258
|
});
|
|
58
259
|
export const zClusterUpdateInput = z.object({
|
|
59
260
|
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/).optional(),
|
|
60
|
-
version_channel: z.string().regex(/^(x|X|0|[1-9]
|
|
261
|
+
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()
|
|
61
262
|
});
|
|
62
263
|
export const zFleetCreateInput = z.object({
|
|
63
264
|
limits: z.object({
|
|
@@ -67,25 +268,15 @@ export const zFleetCreateInput = z.object({
|
|
|
67
268
|
enabled: z.boolean().optional().default(true),
|
|
68
269
|
project: z.string()
|
|
69
270
|
}).optional(),
|
|
70
|
-
hetzner: z.
|
|
71
|
-
z.
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
}),
|
|
75
|
-
z.object({
|
|
76
|
-
apiKey: z.string().optional(),
|
|
77
|
-
enabled: z.boolean().optional().default(true)
|
|
78
|
-
})
|
|
79
|
-
]).optional(),
|
|
271
|
+
hetzner: z.object({
|
|
272
|
+
enabled: z.boolean().optional().default(true),
|
|
273
|
+
apiKey: z.string()
|
|
274
|
+
}).optional(),
|
|
80
275
|
aws: z.object({
|
|
81
276
|
enabled: z.boolean().optional().default(true),
|
|
82
277
|
controllerRoleArn: z.string()
|
|
83
278
|
}).optional(),
|
|
84
|
-
id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
|
|
85
|
-
type: z.enum([
|
|
86
|
-
'managed',
|
|
87
|
-
'connected'
|
|
88
|
-
])
|
|
279
|
+
id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
|
|
89
280
|
});
|
|
90
281
|
export const zFleet = z.object({
|
|
91
282
|
limits: z.object({
|
|
@@ -95,25 +286,15 @@ export const zFleet = z.object({
|
|
|
95
286
|
enabled: z.boolean().optional().default(true),
|
|
96
287
|
project: z.string()
|
|
97
288
|
}).optional(),
|
|
98
|
-
hetzner: z.
|
|
99
|
-
z.
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
}),
|
|
103
|
-
z.object({
|
|
104
|
-
apiKey: z.string().optional(),
|
|
105
|
-
enabled: z.boolean().optional().default(true)
|
|
106
|
-
})
|
|
107
|
-
]).optional(),
|
|
289
|
+
hetzner: z.object({
|
|
290
|
+
enabled: z.boolean().optional().default(true),
|
|
291
|
+
apiKey: z.string()
|
|
292
|
+
}).optional(),
|
|
108
293
|
aws: z.object({
|
|
109
294
|
enabled: z.boolean().optional().default(true),
|
|
110
295
|
controllerRoleArn: z.string()
|
|
111
296
|
}).optional(),
|
|
112
|
-
id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
|
|
113
|
-
type: z.enum([
|
|
114
|
-
'managed',
|
|
115
|
-
'connected'
|
|
116
|
-
])
|
|
297
|
+
id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
|
|
117
298
|
});
|
|
118
299
|
export const zFleetUpdateInput = z.object({
|
|
119
300
|
limits: z.object({
|
|
@@ -123,67 +304,15 @@ export const zFleetUpdateInput = z.object({
|
|
|
123
304
|
enabled: z.boolean().optional().default(true),
|
|
124
305
|
project: z.string()
|
|
125
306
|
}).optional(),
|
|
126
|
-
hetzner: z.
|
|
127
|
-
z.
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
}),
|
|
131
|
-
z.object({
|
|
132
|
-
apiKey: z.string().optional(),
|
|
133
|
-
enabled: z.boolean().optional().default(true)
|
|
134
|
-
})
|
|
135
|
-
]).optional(),
|
|
307
|
+
hetzner: z.object({
|
|
308
|
+
enabled: z.boolean().optional().default(true),
|
|
309
|
+
apiKey: z.string()
|
|
310
|
+
}).optional(),
|
|
136
311
|
aws: z.object({
|
|
137
312
|
enabled: z.boolean().optional().default(true),
|
|
138
313
|
controllerRoleArn: z.string()
|
|
139
314
|
}).optional()
|
|
140
315
|
});
|
|
141
|
-
export const zInfrastructureFilter = z.object({
|
|
142
|
-
version: z.unknown().optional(),
|
|
143
|
-
provider: z.array(z.string()).optional(),
|
|
144
|
-
region: z.array(z.string()).optional(),
|
|
145
|
-
sub_region: z.array(z.string()).optional(),
|
|
146
|
-
csp_region: z.array(z.string()).optional(),
|
|
147
|
-
instance_type: z.array(z.string()).optional(),
|
|
148
|
-
accelerator_name: z.array(z.string()).optional(),
|
|
149
|
-
accelerator_manufacturer: z.array(z.string()).optional(),
|
|
150
|
-
accelerator_count_min: z.number().int().gte(0).optional(),
|
|
151
|
-
accelerator_count_max: z.number().int().gte(0).optional(),
|
|
152
|
-
accelerator_memory_min: z.number().optional(),
|
|
153
|
-
accelerator_memory_max: z.number().optional(),
|
|
154
|
-
memory_min: z.number().int().gte(0).optional(),
|
|
155
|
-
memory_max: z.number().int().gte(0).optional(),
|
|
156
|
-
vcpu_min: z.number().int().gte(1).optional(),
|
|
157
|
-
vcpu_max: z.number().int().gte(1).optional(),
|
|
158
|
-
storage_total_min: z.number().gte(10).optional(),
|
|
159
|
-
storage_total_max: z.number().gte(10).optional(),
|
|
160
|
-
storage_local_min: z.number().optional(),
|
|
161
|
-
storage_local_max: z.number().optional(),
|
|
162
|
-
price_min: z.number().optional(),
|
|
163
|
-
price_max: z.number().optional()
|
|
164
|
-
});
|
|
165
|
-
export const zInfrastructureInstance = z.object({
|
|
166
|
-
sku: z.string(),
|
|
167
|
-
provider: z.string(),
|
|
168
|
-
region: z.string(),
|
|
169
|
-
sub_region: z.string(),
|
|
170
|
-
csp_region: z.string(),
|
|
171
|
-
csp_zone: z.string(),
|
|
172
|
-
instance_type: z.string(),
|
|
173
|
-
architecture: z.string(),
|
|
174
|
-
os: z.string(),
|
|
175
|
-
vcpu: z.number().gte(1),
|
|
176
|
-
memory: z.number().gte(1),
|
|
177
|
-
local_storage: z.number(),
|
|
178
|
-
accelerator_name: z.string().optional(),
|
|
179
|
-
accelerator_manufacturer: z.string().optional(),
|
|
180
|
-
accelerator_count: z.number().int().optional(),
|
|
181
|
-
accelerator_memory: z.number().optional(),
|
|
182
|
-
pods_capacity: z.number().optional(),
|
|
183
|
-
capacity_type: z.string().optional(),
|
|
184
|
-
price: z.number(),
|
|
185
|
-
available: z.boolean().optional()
|
|
186
|
-
});
|
|
187
316
|
export const zInvite = z.object({
|
|
188
317
|
id: z.string().optional(),
|
|
189
318
|
organization_id: z.string().uuid().optional(),
|
|
@@ -775,49 +904,31 @@ export const zInvoice = z.object({
|
|
|
775
904
|
childItems: z.array(z.unknown()).optional()
|
|
776
905
|
})).optional()
|
|
777
906
|
});
|
|
778
|
-
export const
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
907
|
+
export const zMarketplaceListing = z.object({
|
|
908
|
+
id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
909
|
+
name: z.string(),
|
|
910
|
+
developer: z.string(),
|
|
911
|
+
description: z.string(),
|
|
912
|
+
logoUrl: z.string(),
|
|
913
|
+
longDescription: z.string(),
|
|
914
|
+
categories: z.array(z.string()),
|
|
915
|
+
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-]+)*))?$/)),
|
|
916
|
+
value_schemas: z.array(z.object({
|
|
917
|
+
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-]+)*))?$/),
|
|
918
|
+
schema: z.string(),
|
|
919
|
+
placeholder: z.string()
|
|
920
|
+
}))
|
|
789
921
|
});
|
|
790
922
|
export const zOrganizationCreateInput = z.object({
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
postalCode: z.string().optional(),
|
|
796
|
-
city: z.string().optional(),
|
|
797
|
-
state: z.string().optional(),
|
|
798
|
-
country: z.string().optional(),
|
|
799
|
-
phone: z.string().optional(),
|
|
800
|
-
email: z.string().email(),
|
|
801
|
-
first_name: z.string(),
|
|
802
|
-
last_name: z.string()
|
|
803
|
-
}),
|
|
923
|
+
email: z.string().email(),
|
|
924
|
+
first_name: z.string(),
|
|
925
|
+
last_name: z.string(),
|
|
926
|
+
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,}$/),
|
|
804
927
|
password: z.string().min(8)
|
|
805
928
|
});
|
|
806
929
|
export const zOrganization = z.object({
|
|
807
|
-
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,}$/),
|
|
808
|
-
contactInfo: z.object({
|
|
809
|
-
address1: z.string().optional(),
|
|
810
|
-
address2: z.string().optional(),
|
|
811
|
-
postalCode: z.string().optional(),
|
|
812
|
-
city: z.string().optional(),
|
|
813
|
-
state: z.string().optional(),
|
|
814
|
-
country: z.string().optional(),
|
|
815
|
-
phone: z.string().optional(),
|
|
816
|
-
email: z.string().email(),
|
|
817
|
-
first_name: z.string(),
|
|
818
|
-
last_name: z.string()
|
|
819
|
-
}),
|
|
820
930
|
id: z.string().uuid(),
|
|
931
|
+
name: z.string().min(2).max(120).optional(),
|
|
821
932
|
date_created: z.string().datetime(),
|
|
822
933
|
quota: z.object({
|
|
823
934
|
basic_clusters_max: z.number().int().gte(0),
|
|
@@ -825,7 +936,6 @@ export const zOrganization = z.object({
|
|
|
825
936
|
pro_clusters_max: z.number().int().gte(0),
|
|
826
937
|
pro_clusters_available: z.number().int(),
|
|
827
938
|
fleets_max: z.number().int().gte(0),
|
|
828
|
-
managed_fleets_cpu_max: z.number().int().gte(0),
|
|
829
939
|
cluster_tiers: z.array(z.string()).min(0),
|
|
830
940
|
regions: z.array(z.string()).min(1),
|
|
831
941
|
versions: z.array(z.object({
|
|
@@ -833,33 +943,12 @@ export const zOrganization = z.object({
|
|
|
833
943
|
label: z.string()
|
|
834
944
|
})).min(1)
|
|
835
945
|
}),
|
|
836
|
-
pending_actions: z.array(z.enum([
|
|
837
|
-
'signup-billing-address',
|
|
838
|
-
'signup-payment-method',
|
|
839
|
-
'signup-invite-team',
|
|
840
|
-
'signup-create-cluster'
|
|
841
|
-
])),
|
|
842
946
|
status: z.enum([
|
|
843
947
|
'active',
|
|
844
948
|
'closed',
|
|
845
949
|
'suspended'
|
|
846
950
|
])
|
|
847
951
|
});
|
|
848
|
-
export const zOrganizationUpdateInput = z.object({
|
|
849
|
-
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(),
|
|
850
|
-
contactInfo: z.object({
|
|
851
|
-
address1: z.string().optional(),
|
|
852
|
-
address2: z.string().optional(),
|
|
853
|
-
postalCode: z.string().optional(),
|
|
854
|
-
city: z.string().optional(),
|
|
855
|
-
state: z.string().optional(),
|
|
856
|
-
country: z.string().optional(),
|
|
857
|
-
phone: z.string().optional(),
|
|
858
|
-
email: z.string().email(),
|
|
859
|
-
first_name: z.string(),
|
|
860
|
-
last_name: z.string()
|
|
861
|
-
})
|
|
862
|
-
});
|
|
863
952
|
export const zPaymentMethod = z.object({
|
|
864
953
|
id: z.string().uuid(),
|
|
865
954
|
setup: z.boolean(),
|
|
@@ -906,10 +995,48 @@ export const zTokenUpdateInput = z.object({
|
|
|
906
995
|
]).optional()
|
|
907
996
|
});
|
|
908
997
|
export const zUsage = z.object({
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
998
|
+
hour: z.string().optional(),
|
|
999
|
+
cluster_id: z.string().uuid(),
|
|
1000
|
+
cluster_tier: z.enum([
|
|
1001
|
+
'basic',
|
|
1002
|
+
'pro',
|
|
1003
|
+
''
|
|
1004
|
+
]),
|
|
1005
|
+
product: z.enum([
|
|
1006
|
+
'cfke_controlplane',
|
|
1007
|
+
'cfke_connected_nodes',
|
|
1008
|
+
'infra_compute',
|
|
1009
|
+
'infra_storage',
|
|
1010
|
+
'infra_loadbalancing',
|
|
1011
|
+
'infra_traffic',
|
|
1012
|
+
'cfcr_storage'
|
|
1013
|
+
]),
|
|
1014
|
+
node_name: z.string(),
|
|
1015
|
+
sku: z.string(),
|
|
1016
|
+
cpu: z.union([
|
|
1017
|
+
z.number(),
|
|
1018
|
+
z.enum([
|
|
1019
|
+
''
|
|
1020
|
+
])
|
|
1021
|
+
]),
|
|
1022
|
+
price: z.union([
|
|
1023
|
+
z.number(),
|
|
1024
|
+
z.enum([
|
|
1025
|
+
''
|
|
1026
|
+
])
|
|
1027
|
+
]),
|
|
1028
|
+
value: z.union([
|
|
1029
|
+
z.number(),
|
|
1030
|
+
z.enum([
|
|
1031
|
+
''
|
|
1032
|
+
])
|
|
1033
|
+
]),
|
|
1034
|
+
total: z.union([
|
|
1035
|
+
z.number(),
|
|
1036
|
+
z.enum([
|
|
1037
|
+
''
|
|
1038
|
+
])
|
|
1039
|
+
])
|
|
913
1040
|
});
|
|
914
1041
|
export const zUserCreateInput = z.object({
|
|
915
1042
|
email: z.string().email(),
|
|
@@ -939,14 +1066,7 @@ export const zUser = z.object({
|
|
|
939
1066
|
'inactive'
|
|
940
1067
|
]),
|
|
941
1068
|
id: z.string().uuid(),
|
|
942
|
-
date_created: z.string().datetime()
|
|
943
|
-
cluster_permissions: z.array(z.object({
|
|
944
|
-
cluster_id: z.string().uuid(),
|
|
945
|
-
permissions: z.enum([
|
|
946
|
-
'readwrite',
|
|
947
|
-
'readonly'
|
|
948
|
-
])
|
|
949
|
-
})).optional()
|
|
1069
|
+
date_created: z.string().datetime()
|
|
950
1070
|
});
|
|
951
1071
|
export const zUserUpdateInput = z.object({
|
|
952
1072
|
email: z.string().email().optional(),
|
|
@@ -961,81 +1081,338 @@ export const zUserUpdateInput = z.object({
|
|
|
961
1081
|
'inactive'
|
|
962
1082
|
]).optional()
|
|
963
1083
|
});
|
|
1084
|
+
/**
|
|
1085
|
+
* An array of usage records.
|
|
1086
|
+
*/
|
|
964
1087
|
export const zGetUsageResponse = z.array(zUsage);
|
|
1088
|
+
/**
|
|
1089
|
+
* Current balance of the organization in USD as a floating-point number.
|
|
1090
|
+
*/
|
|
965
1091
|
export const zGetBalanceResponse = z.number();
|
|
1092
|
+
/**
|
|
1093
|
+
* Redacted payment card information.
|
|
1094
|
+
*/
|
|
966
1095
|
export const zGetPaymentMethodResponse = zPaymentMethod;
|
|
1096
|
+
/**
|
|
1097
|
+
* 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.
|
|
1098
|
+
*
|
|
1099
|
+
*/
|
|
967
1100
|
export const zGetPaymentMethodSecretResponse = z.object({
|
|
968
1101
|
id: z.string().optional()
|
|
969
1102
|
});
|
|
1103
|
+
/**
|
|
1104
|
+
* Start date for the usage. Date of oldest data point to retrieve.
|
|
1105
|
+
*/
|
|
1106
|
+
export const zListInvoicesParameterStartDate = z.string();
|
|
1107
|
+
/**
|
|
1108
|
+
* End date for the usage. Date of newest data point to retrieve.
|
|
1109
|
+
*/
|
|
1110
|
+
export const zListInvoicesParameterEndDate = z.string();
|
|
1111
|
+
/**
|
|
1112
|
+
* An array of usage records.
|
|
1113
|
+
*/
|
|
970
1114
|
export const zListInvoicesResponse = z.array(zInvoice);
|
|
1115
|
+
/**
|
|
1116
|
+
* Unique invoice identifier. UUID v4 string in canonical form
|
|
1117
|
+
*/
|
|
1118
|
+
export const zGetInvoiceParameterId = z.string();
|
|
1119
|
+
/**
|
|
1120
|
+
* Returns a single Invoice HTML representation under `html` property.
|
|
1121
|
+
*/
|
|
971
1122
|
export const zGetInvoiceResponse = z.object({
|
|
972
1123
|
html: z.string().optional()
|
|
973
1124
|
});
|
|
1125
|
+
/**
|
|
1126
|
+
* Returns a single object containing organization contact and billing address details.
|
|
1127
|
+
*/
|
|
1128
|
+
export const zGetContactResponse = zBillingContact;
|
|
1129
|
+
export const zUpdateContactData = zBillingContact;
|
|
1130
|
+
/**
|
|
1131
|
+
* Successfully updated. Returns updated organization details.
|
|
1132
|
+
*/
|
|
1133
|
+
export const zUpdateContactResponse = zBillingContact;
|
|
1134
|
+
/**
|
|
1135
|
+
* An array of the applied promotional credits records.
|
|
1136
|
+
*/
|
|
1137
|
+
export const zGetCreditsResponse = z.array(zBillingCredits);
|
|
1138
|
+
export const zRedeemCreditsData = z.object({
|
|
1139
|
+
code: z.string().optional()
|
|
1140
|
+
});
|
|
1141
|
+
/**
|
|
1142
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1143
|
+
*/
|
|
1144
|
+
export const zListChartsParameterClusterId = z.string();
|
|
1145
|
+
/**
|
|
1146
|
+
* An array of charts
|
|
1147
|
+
*/
|
|
1148
|
+
export const zListChartsResponse = z.array(zChart);
|
|
1149
|
+
export const zCreateChartData = zChartCreateInput;
|
|
1150
|
+
/**
|
|
1151
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1152
|
+
*/
|
|
1153
|
+
export const zCreateChartParameterClusterId = z.string();
|
|
1154
|
+
/**
|
|
1155
|
+
* Successfully created. Returns created Chart ID.
|
|
1156
|
+
*/
|
|
1157
|
+
export const zCreateChartResponse = z.string();
|
|
1158
|
+
/**
|
|
1159
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1160
|
+
*/
|
|
1161
|
+
export const zDeleteChartParameterClusterId = z.string();
|
|
1162
|
+
/**
|
|
1163
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1164
|
+
*/
|
|
1165
|
+
export const zDeleteChartParameterChartName = z.string();
|
|
1166
|
+
/**
|
|
1167
|
+
* Successfully deleted.
|
|
1168
|
+
*/
|
|
1169
|
+
export const zDeleteChartResponse = z.string();
|
|
1170
|
+
/**
|
|
1171
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1172
|
+
*/
|
|
1173
|
+
export const zGetChartParameterClusterId = z.string();
|
|
1174
|
+
/**
|
|
1175
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1176
|
+
*/
|
|
1177
|
+
export const zGetChartParameterChartName = z.string();
|
|
1178
|
+
/**
|
|
1179
|
+
* Returns a single object containing chart details.
|
|
1180
|
+
*/
|
|
1181
|
+
export const zGetChartResponse = zChart;
|
|
1182
|
+
export const zUpdateChartData = zChartUpdateInput;
|
|
1183
|
+
/**
|
|
1184
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1185
|
+
*/
|
|
1186
|
+
export const zUpdateChartParameterClusterId = z.string();
|
|
1187
|
+
/**
|
|
1188
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1189
|
+
*/
|
|
1190
|
+
export const zUpdateChartParameterChartName = z.string();
|
|
1191
|
+
/**
|
|
1192
|
+
* Successfully updated.
|
|
1193
|
+
*/
|
|
1194
|
+
export const zUpdateChartResponse = z.string();
|
|
1195
|
+
/**
|
|
1196
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1197
|
+
*/
|
|
1198
|
+
export const zListFleetsParameterClusterId = z.string();
|
|
1199
|
+
/**
|
|
1200
|
+
* An array of fleets
|
|
1201
|
+
*/
|
|
974
1202
|
export const zListFleetsResponse = z.array(zFleet);
|
|
1203
|
+
export const zCreateFleetData = zFleetCreateInput;
|
|
1204
|
+
/**
|
|
1205
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1206
|
+
*/
|
|
1207
|
+
export const zCreateFleetParameterClusterId = z.string();
|
|
1208
|
+
/**
|
|
1209
|
+
* Successfully created. Returns created Fleet ID.
|
|
1210
|
+
*/
|
|
975
1211
|
export const zCreateFleetResponse = z.string();
|
|
1212
|
+
/**
|
|
1213
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1214
|
+
*/
|
|
1215
|
+
export const zDeleteFleetParameterClusterId = z.string();
|
|
1216
|
+
/**
|
|
1217
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
1218
|
+
*/
|
|
1219
|
+
export const zDeleteFleetParameterFleetName = z.string();
|
|
1220
|
+
/**
|
|
1221
|
+
* Successfully deleted.
|
|
1222
|
+
*/
|
|
976
1223
|
export const zDeleteFleetResponse = z.string();
|
|
1224
|
+
/**
|
|
1225
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1226
|
+
*/
|
|
1227
|
+
export const zGetFleetParameterClusterId = z.string();
|
|
1228
|
+
/**
|
|
1229
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
1230
|
+
*/
|
|
1231
|
+
export const zGetFleetParameterFleetName = z.string();
|
|
1232
|
+
/**
|
|
1233
|
+
* Returns a single object containing fleet details.
|
|
1234
|
+
*/
|
|
977
1235
|
export const zGetFleetResponse = zFleet;
|
|
1236
|
+
export const zUpdateFleetData = zFleetUpdateInput;
|
|
1237
|
+
/**
|
|
1238
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1239
|
+
*/
|
|
1240
|
+
export const zUpdateFleetParameterClusterId = z.string();
|
|
1241
|
+
/**
|
|
1242
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
1243
|
+
*/
|
|
1244
|
+
export const zUpdateFleetParameterFleetName = z.string();
|
|
1245
|
+
/**
|
|
1246
|
+
* Successfully updated.
|
|
1247
|
+
*/
|
|
978
1248
|
export const zUpdateFleetResponse = z.string();
|
|
1249
|
+
/**
|
|
1250
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1251
|
+
*/
|
|
1252
|
+
export const zQueryClusterParameterClusterId = z.string();
|
|
1253
|
+
/**
|
|
1254
|
+
* An array of clusters
|
|
1255
|
+
*/
|
|
979
1256
|
export const zListClustersResponse = z.array(zCluster);
|
|
1257
|
+
export const zCreateClusterData = zClusterCreateInput;
|
|
1258
|
+
/**
|
|
1259
|
+
* Successfully created. Returns created Cluster ID.
|
|
1260
|
+
*/
|
|
980
1261
|
export const zCreateClusterResponse = z.string();
|
|
1262
|
+
/**
|
|
1263
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1264
|
+
*/
|
|
1265
|
+
export const zDeleteClusterParameterClusterId = z.string();
|
|
1266
|
+
/**
|
|
1267
|
+
* Successfully deleted.
|
|
1268
|
+
*/
|
|
981
1269
|
export const zDeleteClusterResponse = z.string();
|
|
1270
|
+
/**
|
|
1271
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1272
|
+
*/
|
|
1273
|
+
export const zGetClusterParameterClusterId = z.string();
|
|
1274
|
+
/**
|
|
1275
|
+
* Returns a single object containing cluster details.
|
|
1276
|
+
*/
|
|
982
1277
|
export const zGetClusterResponse = zCluster;
|
|
1278
|
+
export const zUpdateClusterData = zClusterUpdateInput;
|
|
1279
|
+
/**
|
|
1280
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1281
|
+
*/
|
|
1282
|
+
export const zUpdateClusterParameterClusterId = z.string();
|
|
1283
|
+
/**
|
|
1284
|
+
* Successfully updated. Returns updated cluster details.
|
|
1285
|
+
*/
|
|
983
1286
|
export const zUpdateClusterResponse = zCluster;
|
|
1287
|
+
/**
|
|
1288
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1289
|
+
*/
|
|
1290
|
+
export const zGetJoinInformationParameterClusterId = z.string();
|
|
1291
|
+
/**
|
|
1292
|
+
* An object of cluster join information
|
|
1293
|
+
*/
|
|
984
1294
|
export const zGetJoinInformationResponse = zCluster;
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
region: z.array(z.string()).optional(),
|
|
989
|
-
sub_region: z.array(z.string()).optional(),
|
|
990
|
-
csp_region: z.array(z.string()).optional(),
|
|
991
|
-
vcpu_min: z.number().int().gte(1).optional(),
|
|
992
|
-
vcpu_max: z.number().int().gte(1).optional(),
|
|
993
|
-
memory_min: z.number().int().gte(0).optional(),
|
|
994
|
-
memory_max: z.number().int().gte(0).optional(),
|
|
995
|
-
storage_local_min: z.number().optional(),
|
|
996
|
-
storage_local_max: z.number().optional(),
|
|
997
|
-
accelerator_name: z.array(z.string()).optional(),
|
|
998
|
-
accelerator_manufacturer: z.array(z.string()).optional(),
|
|
999
|
-
accelerator_count_min: z.number().int().gte(0).optional(),
|
|
1000
|
-
accelerator_count_max: z.number().int().gte(0).optional(),
|
|
1001
|
-
accelerator_memory_min: z.number().optional(),
|
|
1002
|
-
accelerator_memory_max: z.number().optional(),
|
|
1003
|
-
price_min: z.number().optional(),
|
|
1004
|
-
price_max: z.number().optional(),
|
|
1005
|
-
regions_struct: z.array(z.object({
|
|
1006
|
-
region: z.string().optional(),
|
|
1007
|
-
sub_region: z.array(z.string()).optional()
|
|
1008
|
-
})).optional(),
|
|
1009
|
-
accelerators_struct: z.array(z.object({
|
|
1010
|
-
accelerator_manufacturer: z.string().optional(),
|
|
1011
|
-
accelerator_name: z.array(z.string()).optional()
|
|
1012
|
-
})).optional(),
|
|
1013
|
-
count_total: z.number().int().gte(0).optional(),
|
|
1014
|
-
count_accelerators: z.number().int().gte(0).optional(),
|
|
1015
|
-
count_instance_types: z.number().int().gte(0).optional(),
|
|
1016
|
-
count_accelerators_instance_types: z.number().int().gte(0).optional()
|
|
1017
|
-
}));
|
|
1018
|
-
export const zGetRegionsResponse = z.object({});
|
|
1295
|
+
/**
|
|
1296
|
+
* An array of invites
|
|
1297
|
+
*/
|
|
1019
1298
|
export const zListInvitesResponse = z.array(zInvite);
|
|
1299
|
+
export const zCreateInviteData = z.object({
|
|
1300
|
+
email: z.string().optional()
|
|
1301
|
+
});
|
|
1302
|
+
/**
|
|
1303
|
+
* Successfully created. Returns created invite details.
|
|
1304
|
+
*/
|
|
1020
1305
|
export const zCreateInviteResponse = zInvite;
|
|
1306
|
+
/**
|
|
1307
|
+
* Invitation code
|
|
1308
|
+
*/
|
|
1309
|
+
export const zGetInviteParameterCode = z.string();
|
|
1310
|
+
/**
|
|
1311
|
+
* Returns a single object containing invite details.
|
|
1312
|
+
*/
|
|
1021
1313
|
export const zGetInviteResponse = zInvite;
|
|
1314
|
+
/**
|
|
1315
|
+
* User email address
|
|
1316
|
+
*/
|
|
1317
|
+
export const zDeleteInviteParameterEmail = z.string();
|
|
1318
|
+
/**
|
|
1319
|
+
* An array of chart listings in the marketplace.
|
|
1320
|
+
*/
|
|
1321
|
+
export const zListMarketplaceChartsResponse = z.array(zMarketplaceListing);
|
|
1322
|
+
/**
|
|
1323
|
+
* Unique identifier of the chart listing in the marketplace.
|
|
1324
|
+
*/
|
|
1325
|
+
export const zGetMarketplaceChartParameterListingId = z.string();
|
|
1326
|
+
/**
|
|
1327
|
+
* Returns an object containing the chart listing details.
|
|
1328
|
+
*/
|
|
1329
|
+
export const zGetMarketplaceChartResponse = zMarketplaceListing;
|
|
1330
|
+
/**
|
|
1331
|
+
* Returns a single object containing organization details.
|
|
1332
|
+
*/
|
|
1022
1333
|
export const zGetOrganizationResponse = zOrganization;
|
|
1023
|
-
export const
|
|
1024
|
-
|
|
1334
|
+
export const zCreateOrganizationData = zOrganizationCreateInput;
|
|
1335
|
+
/**
|
|
1336
|
+
* Returns a list of access token details with masked secrets.
|
|
1337
|
+
*/
|
|
1025
1338
|
export const zListTokensResponse = z.array(zToken);
|
|
1339
|
+
export const zCreateTokenData = zTokenCreateInput;
|
|
1340
|
+
/**
|
|
1341
|
+
* Successfully created. Returns created token details with unmasked/raw secret.
|
|
1342
|
+
*/
|
|
1026
1343
|
export const zCreateTokenResponse = zToken;
|
|
1344
|
+
/**
|
|
1345
|
+
* Generated unique identifier of the access token.
|
|
1346
|
+
*/
|
|
1347
|
+
export const zDeleteTokenParameterTokenId = z.string();
|
|
1348
|
+
/**
|
|
1349
|
+
* Generated unique identifier of the access token.
|
|
1350
|
+
*/
|
|
1351
|
+
export const zGetTokenParameterTokenId = z.string();
|
|
1352
|
+
/**
|
|
1353
|
+
* Returns access token details with masked secret.
|
|
1354
|
+
*/
|
|
1027
1355
|
export const zGetTokenResponse = zToken;
|
|
1356
|
+
export const zUpdateTokenData = zTokenUpdateInput;
|
|
1357
|
+
/**
|
|
1358
|
+
* Generated unique identifier of the access token.
|
|
1359
|
+
*/
|
|
1360
|
+
export const zUpdateTokenParameterTokenId = z.string();
|
|
1361
|
+
/**
|
|
1362
|
+
* Successfully updated. Returns updated token details with masked secret.
|
|
1363
|
+
*/
|
|
1028
1364
|
export const zUpdateTokenResponse = zToken;
|
|
1365
|
+
/**
|
|
1366
|
+
* Generated unique identifier of the access token.
|
|
1367
|
+
*/
|
|
1368
|
+
export const zRegenerateTokenParameterTokenId = z.string();
|
|
1369
|
+
/**
|
|
1370
|
+
* Successfully updated. Returns updated token details with unmasked / raw secret.
|
|
1371
|
+
*/
|
|
1029
1372
|
export const zRegenerateTokenResponse = zToken;
|
|
1373
|
+
/**
|
|
1374
|
+
* User email address.
|
|
1375
|
+
*/
|
|
1376
|
+
export const zListUserOrganizationsParameterEmail = z.string();
|
|
1377
|
+
/**
|
|
1378
|
+
* An array of organizations the user belongs to.
|
|
1379
|
+
*/
|
|
1030
1380
|
export const zListUserOrganizationsResponse = z.array(z.object({
|
|
1031
1381
|
realm: z.string().optional(),
|
|
1032
1382
|
displayName: z.string().optional()
|
|
1033
1383
|
}));
|
|
1384
|
+
/**
|
|
1385
|
+
* An array of users
|
|
1386
|
+
*/
|
|
1034
1387
|
export const zListUsersResponse = z.array(zUser);
|
|
1388
|
+
export const zCreateUserData = zUserCreateInput;
|
|
1389
|
+
/**
|
|
1390
|
+
* Successfully created. Returns created user details.
|
|
1391
|
+
*/
|
|
1035
1392
|
export const zCreateUserResponse = zUser;
|
|
1393
|
+
/**
|
|
1394
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1395
|
+
*/
|
|
1396
|
+
export const zDeleteUserParameterUserId = z.string();
|
|
1397
|
+
/**
|
|
1398
|
+
* User profile information
|
|
1399
|
+
*/
|
|
1036
1400
|
export const zDeleteUserResponse = zUser;
|
|
1401
|
+
/**
|
|
1402
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1403
|
+
*/
|
|
1404
|
+
export const zGetUserParameterUserId = z.string();
|
|
1405
|
+
/**
|
|
1406
|
+
* User profile information
|
|
1407
|
+
*/
|
|
1037
1408
|
export const zGetUserResponse = zUser;
|
|
1409
|
+
export const zUpdateUserData = zUserUpdateInput;
|
|
1410
|
+
/**
|
|
1411
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1412
|
+
*/
|
|
1413
|
+
export const zUpdateUserParameterUserId = z.string();
|
|
1414
|
+
/**
|
|
1415
|
+
* Successfully created. Returns created user details.
|
|
1416
|
+
*/
|
|
1038
1417
|
export const zUpdateUserResponse = zUser;
|
|
1039
|
-
export const zDeleteClusterPermissionsResponse = zUser;
|
|
1040
|
-
export const zSetClusterPermissionsResponse = zUser;
|
|
1041
1418
|
//# sourceMappingURL=zod.gen.js.map
|