@cloudfleet/sdk 0.0.1-f0c84a6 → 0.0.1-f1d40ff
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/client.d.ts +3 -0
- package/dist/client/client.d.ts.map +1 -0
- package/dist/client/client.js +144 -0
- package/dist/client/client.js.map +1 -0
- package/dist/client/index.d.ts +8 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +5 -0
- package/dist/client/index.js.map +1 -0
- package/dist/client/types.d.ts +120 -0
- package/dist/client/types.d.ts.map +1 -0
- package/dist/client/types.js +2 -0
- package/dist/client/types.js.map +1 -0
- package/dist/client/utils.d.ts +46 -0
- package/dist/client/utils.d.ts.map +1 -0
- package/dist/client/utils.js +285 -0
- package/dist/client/utils.js.map +1 -0
- package/dist/client.gen.d.ts +2 -2
- package/dist/client.gen.d.ts.map +1 -1
- package/dist/client.gen.js +1 -1
- package/dist/client.gen.js.map +1 -1
- package/dist/core/auth.d.ts +19 -0
- package/dist/core/auth.d.ts.map +1 -0
- package/dist/core/auth.js +14 -0
- package/dist/core/auth.js.map +1 -0
- package/dist/core/bodySerializer.d.ts +18 -0
- package/dist/core/bodySerializer.d.ts.map +1 -0
- package/dist/core/bodySerializer.js +54 -0
- package/dist/core/bodySerializer.js.map +1 -0
- package/dist/core/params.d.ts +24 -0
- package/dist/core/params.d.ts.map +1 -0
- package/dist/core/params.js +88 -0
- package/dist/core/params.js.map +1 -0
- package/dist/core/pathSerializer.d.ts +34 -0
- package/dist/core/pathSerializer.d.ts.map +1 -0
- package/dist/core/pathSerializer.js +114 -0
- package/dist/core/pathSerializer.js.map +1 -0
- package/dist/core/types.d.ts +74 -0
- package/dist/core/types.d.ts.map +1 -0
- package/dist/core/types.js +2 -0
- package/dist/core/types.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 +346 -398
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +347 -407
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +121 -131
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +149 -91
- 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 +383 -512
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +2165 -787
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +691 -147
- package/dist/zod.gen.js.map +1 -1
- package/package.json +8 -5
package/dist/zod.gen.js
CHANGED
|
@@ -11,18 +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
|
]),
|
|
205
|
+
region: z.enum([
|
|
206
|
+
'staging',
|
|
207
|
+
'northamerica-central-1',
|
|
208
|
+
'europe-central-1a'
|
|
209
|
+
]).optional(),
|
|
26
210
|
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
211
|
});
|
|
28
212
|
export const zClusterJoinInformation = z.object({
|
|
@@ -33,7 +217,8 @@ export const zClusterJoinInformation = z.object({
|
|
|
33
217
|
versions: z.object({
|
|
34
218
|
kubernetes: z.string(),
|
|
35
219
|
tailscale: z.string(),
|
|
36
|
-
containerd: z.string()
|
|
220
|
+
containerd: z.string(),
|
|
221
|
+
nvidia_driver: z.string()
|
|
37
222
|
}),
|
|
38
223
|
third_party_api_access_config: z.object({
|
|
39
224
|
metadata_url: z.string(),
|
|
@@ -43,14 +228,15 @@ export const zClusterJoinInformation = z.object({
|
|
|
43
228
|
});
|
|
44
229
|
export const zCluster = z.object({
|
|
45
230
|
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
231
|
tier: z.enum([
|
|
51
232
|
'basic',
|
|
52
233
|
'pro'
|
|
53
234
|
]),
|
|
235
|
+
region: z.enum([
|
|
236
|
+
'staging',
|
|
237
|
+
'northamerica-central-1',
|
|
238
|
+
'europe-central-1a'
|
|
239
|
+
]).optional(),
|
|
54
240
|
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
241
|
id: z.string().uuid(),
|
|
56
242
|
status: z.enum([
|
|
@@ -75,6 +261,10 @@ export const zCluster = z.object({
|
|
|
75
261
|
});
|
|
76
262
|
export const zClusterUpdateInput = z.object({
|
|
77
263
|
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/).optional(),
|
|
264
|
+
tier: z.enum([
|
|
265
|
+
'basic',
|
|
266
|
+
'pro'
|
|
267
|
+
]),
|
|
78
268
|
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
269
|
});
|
|
80
270
|
export const zFleetCreateInput = z.object({
|
|
@@ -85,25 +275,15 @@ export const zFleetCreateInput = z.object({
|
|
|
85
275
|
enabled: z.boolean().optional().default(true),
|
|
86
276
|
project: z.string()
|
|
87
277
|
}).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(),
|
|
278
|
+
hetzner: z.object({
|
|
279
|
+
enabled: z.boolean().optional().default(true),
|
|
280
|
+
apiKey: z.string()
|
|
281
|
+
}).optional(),
|
|
98
282
|
aws: z.object({
|
|
99
283
|
enabled: z.boolean().optional().default(true),
|
|
100
284
|
controllerRoleArn: z.string()
|
|
101
285
|
}).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
|
-
])
|
|
286
|
+
id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
|
|
107
287
|
});
|
|
108
288
|
export const zFleet = z.object({
|
|
109
289
|
limits: z.object({
|
|
@@ -113,25 +293,15 @@ export const zFleet = z.object({
|
|
|
113
293
|
enabled: z.boolean().optional().default(true),
|
|
114
294
|
project: z.string()
|
|
115
295
|
}).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(),
|
|
296
|
+
hetzner: z.object({
|
|
297
|
+
enabled: z.boolean().optional().default(true),
|
|
298
|
+
apiKey: z.string()
|
|
299
|
+
}).optional(),
|
|
126
300
|
aws: z.object({
|
|
127
301
|
enabled: z.boolean().optional().default(true),
|
|
128
302
|
controllerRoleArn: z.string()
|
|
129
303
|
}).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
|
-
])
|
|
304
|
+
id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
|
|
135
305
|
});
|
|
136
306
|
export const zFleetUpdateInput = z.object({
|
|
137
307
|
limits: z.object({
|
|
@@ -141,67 +311,15 @@ export const zFleetUpdateInput = z.object({
|
|
|
141
311
|
enabled: z.boolean().optional().default(true),
|
|
142
312
|
project: z.string()
|
|
143
313
|
}).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(),
|
|
314
|
+
hetzner: z.object({
|
|
315
|
+
enabled: z.boolean().optional().default(true),
|
|
316
|
+
apiKey: z.string()
|
|
317
|
+
}).optional(),
|
|
154
318
|
aws: z.object({
|
|
155
319
|
enabled: z.boolean().optional().default(true),
|
|
156
320
|
controllerRoleArn: z.string()
|
|
157
321
|
}).optional()
|
|
158
322
|
});
|
|
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
323
|
export const zInvite = z.object({
|
|
206
324
|
id: z.string().optional(),
|
|
207
325
|
organization_id: z.string().uuid().optional(),
|
|
@@ -590,7 +708,13 @@ export const zInvoice = z.object({
|
|
|
590
708
|
quantity: z.number().optional(),
|
|
591
709
|
itemDetails: z.string().optional(),
|
|
592
710
|
catalogEffectiveDate: z.string().optional(),
|
|
593
|
-
childItems: z.array(z.
|
|
711
|
+
childItems: z.array(z.union([
|
|
712
|
+
z.array(z.unknown()),
|
|
713
|
+
z.boolean(),
|
|
714
|
+
z.number(),
|
|
715
|
+
z.object({}),
|
|
716
|
+
z.string()
|
|
717
|
+
])).optional()
|
|
594
718
|
})).optional(),
|
|
595
719
|
items: z.array(z.object({
|
|
596
720
|
id: z.string().uuid().optional(),
|
|
@@ -790,9 +914,30 @@ export const zInvoice = z.object({
|
|
|
790
914
|
quantity: z.number().optional(),
|
|
791
915
|
itemDetails: z.string().optional(),
|
|
792
916
|
catalogEffectiveDate: z.string().optional(),
|
|
793
|
-
childItems: z.array(z.
|
|
917
|
+
childItems: z.array(z.union([
|
|
918
|
+
z.array(z.unknown()),
|
|
919
|
+
z.boolean(),
|
|
920
|
+
z.number(),
|
|
921
|
+
z.object({}),
|
|
922
|
+
z.string()
|
|
923
|
+
])).optional()
|
|
794
924
|
})).optional()
|
|
795
925
|
});
|
|
926
|
+
export const zMarketplaceListing = z.object({
|
|
927
|
+
id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
928
|
+
name: z.string(),
|
|
929
|
+
developer: z.string(),
|
|
930
|
+
description: z.string(),
|
|
931
|
+
logoUrl: z.string(),
|
|
932
|
+
longDescription: z.string(),
|
|
933
|
+
categories: z.array(z.string()),
|
|
934
|
+
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-]+)*))?$/)),
|
|
935
|
+
value_schemas: z.array(z.object({
|
|
936
|
+
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-]+)*))?$/),
|
|
937
|
+
schema: z.string(),
|
|
938
|
+
placeholder: z.string()
|
|
939
|
+
}))
|
|
940
|
+
});
|
|
796
941
|
export const zOrganizationCreateInput = z.object({
|
|
797
942
|
email: z.string().email(),
|
|
798
943
|
first_name: z.string(),
|
|
@@ -810,7 +955,6 @@ export const zOrganization = z.object({
|
|
|
810
955
|
pro_clusters_max: z.number().int().gte(0),
|
|
811
956
|
pro_clusters_available: z.number().int(),
|
|
812
957
|
fleets_max: z.number().int().gte(0),
|
|
813
|
-
managed_fleets_cpu_max: z.number().int().gte(0),
|
|
814
958
|
cluster_tiers: z.array(z.string()).min(0),
|
|
815
959
|
regions: z.array(z.string()).min(1),
|
|
816
960
|
versions: z.array(z.object({
|
|
@@ -873,12 +1017,18 @@ export const zUsage = z.object({
|
|
|
873
1017
|
hour: z.string().optional(),
|
|
874
1018
|
cluster_id: z.string().uuid(),
|
|
875
1019
|
cluster_tier: z.enum([
|
|
1020
|
+
'basic',
|
|
1021
|
+
'pro',
|
|
876
1022
|
''
|
|
877
1023
|
]),
|
|
878
1024
|
product: z.enum([
|
|
879
|
-
'
|
|
880
|
-
'
|
|
881
|
-
'
|
|
1025
|
+
'cfke_controlplane',
|
|
1026
|
+
'cfke_connected_nodes',
|
|
1027
|
+
'infra_compute',
|
|
1028
|
+
'infra_storage',
|
|
1029
|
+
'infra_loadbalancing',
|
|
1030
|
+
'infra_traffic',
|
|
1031
|
+
'cfcr_storage'
|
|
882
1032
|
]),
|
|
883
1033
|
node_name: z.string(),
|
|
884
1034
|
sku: z.string(),
|
|
@@ -935,14 +1085,7 @@ export const zUser = z.object({
|
|
|
935
1085
|
'inactive'
|
|
936
1086
|
]),
|
|
937
1087
|
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()
|
|
1088
|
+
date_created: z.string().datetime()
|
|
946
1089
|
});
|
|
947
1090
|
export const zUserUpdateInput = z.object({
|
|
948
1091
|
email: z.string().email().optional(),
|
|
@@ -957,81 +1100,482 @@ export const zUserUpdateInput = z.object({
|
|
|
957
1100
|
'inactive'
|
|
958
1101
|
]).optional()
|
|
959
1102
|
});
|
|
1103
|
+
export const zGetUsageData = z.object({
|
|
1104
|
+
body: z.never().optional(),
|
|
1105
|
+
path: z.never().optional(),
|
|
1106
|
+
query: z.never().optional()
|
|
1107
|
+
});
|
|
1108
|
+
/**
|
|
1109
|
+
* An array of usage records.
|
|
1110
|
+
*/
|
|
960
1111
|
export const zGetUsageResponse = z.array(zUsage);
|
|
1112
|
+
export const zGetBalanceData = z.object({
|
|
1113
|
+
body: z.never().optional(),
|
|
1114
|
+
path: z.never().optional(),
|
|
1115
|
+
query: z.never().optional()
|
|
1116
|
+
});
|
|
1117
|
+
/**
|
|
1118
|
+
* Current balance of the organization in USD as a floating-point number.
|
|
1119
|
+
*/
|
|
961
1120
|
export const zGetBalanceResponse = z.number();
|
|
1121
|
+
export const zGetPaymentMethodData = z.object({
|
|
1122
|
+
body: z.never().optional(),
|
|
1123
|
+
path: z.never().optional(),
|
|
1124
|
+
query: z.never().optional()
|
|
1125
|
+
});
|
|
1126
|
+
/**
|
|
1127
|
+
* Redacted payment card information.
|
|
1128
|
+
*/
|
|
962
1129
|
export const zGetPaymentMethodResponse = zPaymentMethod;
|
|
1130
|
+
export const zGetPaymentMethodSecretData = z.object({
|
|
1131
|
+
body: z.never().optional(),
|
|
1132
|
+
path: z.never().optional(),
|
|
1133
|
+
query: z.never().optional()
|
|
1134
|
+
});
|
|
1135
|
+
/**
|
|
1136
|
+
* 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.
|
|
1137
|
+
*
|
|
1138
|
+
*/
|
|
963
1139
|
export const zGetPaymentMethodSecretResponse = z.object({
|
|
964
1140
|
id: z.string().optional()
|
|
965
1141
|
});
|
|
1142
|
+
export const zListInvoicesData = z.object({
|
|
1143
|
+
body: z.never().optional(),
|
|
1144
|
+
path: z.never().optional(),
|
|
1145
|
+
query: z.object({
|
|
1146
|
+
start_date: z.string(),
|
|
1147
|
+
end_date: z.string()
|
|
1148
|
+
})
|
|
1149
|
+
});
|
|
1150
|
+
/**
|
|
1151
|
+
* An array of usage records.
|
|
1152
|
+
*/
|
|
966
1153
|
export const zListInvoicesResponse = z.array(zInvoice);
|
|
1154
|
+
export const zGetInvoiceData = z.object({
|
|
1155
|
+
body: z.never().optional(),
|
|
1156
|
+
path: z.object({
|
|
1157
|
+
id: z.string()
|
|
1158
|
+
}),
|
|
1159
|
+
query: z.never().optional()
|
|
1160
|
+
});
|
|
1161
|
+
/**
|
|
1162
|
+
* Returns a single Invoice HTML representation under `html` property.
|
|
1163
|
+
*/
|
|
967
1164
|
export const zGetInvoiceResponse = z.object({
|
|
968
1165
|
html: z.string().optional()
|
|
969
1166
|
});
|
|
1167
|
+
export const zGetContactData = z.object({
|
|
1168
|
+
body: z.never().optional(),
|
|
1169
|
+
path: z.never().optional(),
|
|
1170
|
+
query: z.never().optional()
|
|
1171
|
+
});
|
|
1172
|
+
/**
|
|
1173
|
+
* Returns a single object containing organization contact and billing address details.
|
|
1174
|
+
*/
|
|
970
1175
|
export const zGetContactResponse = zBillingContact;
|
|
1176
|
+
export const zUpdateContactData = z.object({
|
|
1177
|
+
body: zBillingContact,
|
|
1178
|
+
path: z.never().optional(),
|
|
1179
|
+
query: z.never().optional()
|
|
1180
|
+
});
|
|
1181
|
+
/**
|
|
1182
|
+
* Successfully updated. Returns updated organization details.
|
|
1183
|
+
*/
|
|
971
1184
|
export const zUpdateContactResponse = zBillingContact;
|
|
1185
|
+
export const zGetCreditsData = z.object({
|
|
1186
|
+
body: z.never().optional(),
|
|
1187
|
+
path: z.never().optional(),
|
|
1188
|
+
query: z.never().optional()
|
|
1189
|
+
});
|
|
1190
|
+
/**
|
|
1191
|
+
* An array of the applied promotional credits records.
|
|
1192
|
+
*/
|
|
1193
|
+
export const zGetCreditsResponse = z.array(zBillingCredits);
|
|
1194
|
+
export const zRedeemCreditsData = z.object({
|
|
1195
|
+
body: z.object({
|
|
1196
|
+
code: z.string().optional()
|
|
1197
|
+
}),
|
|
1198
|
+
path: z.never().optional(),
|
|
1199
|
+
query: z.never().optional()
|
|
1200
|
+
});
|
|
1201
|
+
export const zListChartsData = z.object({
|
|
1202
|
+
body: z.never().optional(),
|
|
1203
|
+
path: z.object({
|
|
1204
|
+
cluster_id: z.string()
|
|
1205
|
+
}),
|
|
1206
|
+
query: z.never().optional()
|
|
1207
|
+
});
|
|
1208
|
+
/**
|
|
1209
|
+
* An array of charts
|
|
1210
|
+
*/
|
|
1211
|
+
export const zListChartsResponse = z.array(zChart);
|
|
1212
|
+
export const zCreateChartData = z.object({
|
|
1213
|
+
body: zChartCreateInput,
|
|
1214
|
+
path: z.object({
|
|
1215
|
+
cluster_id: z.string()
|
|
1216
|
+
}),
|
|
1217
|
+
query: z.never().optional()
|
|
1218
|
+
});
|
|
1219
|
+
/**
|
|
1220
|
+
* Successfully created. Returns created Chart ID.
|
|
1221
|
+
*/
|
|
1222
|
+
export const zCreateChartResponse = z.string();
|
|
1223
|
+
export const zDeleteChartData = z.object({
|
|
1224
|
+
body: z.never().optional(),
|
|
1225
|
+
path: z.object({
|
|
1226
|
+
cluster_id: z.string(),
|
|
1227
|
+
chart_name: z.string()
|
|
1228
|
+
}),
|
|
1229
|
+
query: z.never().optional()
|
|
1230
|
+
});
|
|
1231
|
+
/**
|
|
1232
|
+
* Successfully deleted.
|
|
1233
|
+
*/
|
|
1234
|
+
export const zDeleteChartResponse = z.string();
|
|
1235
|
+
export const zGetChartData = z.object({
|
|
1236
|
+
body: z.never().optional(),
|
|
1237
|
+
path: z.object({
|
|
1238
|
+
cluster_id: z.string(),
|
|
1239
|
+
chart_name: z.string()
|
|
1240
|
+
}),
|
|
1241
|
+
query: z.never().optional()
|
|
1242
|
+
});
|
|
1243
|
+
/**
|
|
1244
|
+
* Returns a single object containing chart details.
|
|
1245
|
+
*/
|
|
1246
|
+
export const zGetChartResponse = zChart;
|
|
1247
|
+
export const zUpdateChartData = z.object({
|
|
1248
|
+
body: zChartUpdateInput,
|
|
1249
|
+
path: z.object({
|
|
1250
|
+
cluster_id: z.string(),
|
|
1251
|
+
chart_name: z.string()
|
|
1252
|
+
}),
|
|
1253
|
+
query: z.never().optional()
|
|
1254
|
+
});
|
|
1255
|
+
/**
|
|
1256
|
+
* Successfully updated.
|
|
1257
|
+
*/
|
|
1258
|
+
export const zUpdateChartResponse = z.string();
|
|
1259
|
+
export const zListFleetsData = z.object({
|
|
1260
|
+
body: z.never().optional(),
|
|
1261
|
+
path: z.object({
|
|
1262
|
+
cluster_id: z.string()
|
|
1263
|
+
}),
|
|
1264
|
+
query: z.never().optional()
|
|
1265
|
+
});
|
|
1266
|
+
/**
|
|
1267
|
+
* An array of fleets
|
|
1268
|
+
*/
|
|
972
1269
|
export const zListFleetsResponse = z.array(zFleet);
|
|
1270
|
+
export const zCreateFleetData = z.object({
|
|
1271
|
+
body: zFleetCreateInput,
|
|
1272
|
+
path: z.object({
|
|
1273
|
+
cluster_id: z.string()
|
|
1274
|
+
}),
|
|
1275
|
+
query: z.never().optional()
|
|
1276
|
+
});
|
|
1277
|
+
/**
|
|
1278
|
+
* Successfully created. Returns created Fleet ID.
|
|
1279
|
+
*/
|
|
973
1280
|
export const zCreateFleetResponse = z.string();
|
|
1281
|
+
export const zDeleteFleetData = z.object({
|
|
1282
|
+
body: z.never().optional(),
|
|
1283
|
+
path: z.object({
|
|
1284
|
+
cluster_id: z.string(),
|
|
1285
|
+
fleet_name: z.string()
|
|
1286
|
+
}),
|
|
1287
|
+
query: z.never().optional()
|
|
1288
|
+
});
|
|
1289
|
+
/**
|
|
1290
|
+
* Successfully deleted.
|
|
1291
|
+
*/
|
|
974
1292
|
export const zDeleteFleetResponse = z.string();
|
|
1293
|
+
export const zGetFleetData = z.object({
|
|
1294
|
+
body: z.never().optional(),
|
|
1295
|
+
path: z.object({
|
|
1296
|
+
cluster_id: z.string(),
|
|
1297
|
+
fleet_name: z.string()
|
|
1298
|
+
}),
|
|
1299
|
+
query: z.never().optional()
|
|
1300
|
+
});
|
|
1301
|
+
/**
|
|
1302
|
+
* Returns a single object containing fleet details.
|
|
1303
|
+
*/
|
|
975
1304
|
export const zGetFleetResponse = zFleet;
|
|
1305
|
+
export const zUpdateFleetData = z.object({
|
|
1306
|
+
body: zFleetUpdateInput,
|
|
1307
|
+
path: z.object({
|
|
1308
|
+
cluster_id: z.string(),
|
|
1309
|
+
fleet_name: z.string()
|
|
1310
|
+
}),
|
|
1311
|
+
query: z.never().optional()
|
|
1312
|
+
});
|
|
1313
|
+
/**
|
|
1314
|
+
* Successfully updated.
|
|
1315
|
+
*/
|
|
976
1316
|
export const zUpdateFleetResponse = z.string();
|
|
1317
|
+
export const zQueryClusterData = z.object({
|
|
1318
|
+
body: z.never().optional(),
|
|
1319
|
+
path: z.object({
|
|
1320
|
+
cluster_id: z.string()
|
|
1321
|
+
}),
|
|
1322
|
+
query: z.never().optional()
|
|
1323
|
+
});
|
|
1324
|
+
export const zListClustersData = z.object({
|
|
1325
|
+
body: z.never().optional(),
|
|
1326
|
+
path: z.never().optional(),
|
|
1327
|
+
query: z.never().optional()
|
|
1328
|
+
});
|
|
1329
|
+
/**
|
|
1330
|
+
* An array of clusters
|
|
1331
|
+
*/
|
|
977
1332
|
export const zListClustersResponse = z.array(zCluster);
|
|
1333
|
+
export const zCreateClusterData = z.object({
|
|
1334
|
+
body: zClusterCreateInput,
|
|
1335
|
+
path: z.never().optional(),
|
|
1336
|
+
query: z.never().optional()
|
|
1337
|
+
});
|
|
1338
|
+
/**
|
|
1339
|
+
* Successfully created. Returns created Cluster ID.
|
|
1340
|
+
*/
|
|
978
1341
|
export const zCreateClusterResponse = z.string();
|
|
1342
|
+
export const zDeleteClusterData = z.object({
|
|
1343
|
+
body: z.never().optional(),
|
|
1344
|
+
path: z.object({
|
|
1345
|
+
cluster_id: z.string()
|
|
1346
|
+
}),
|
|
1347
|
+
query: z.never().optional()
|
|
1348
|
+
});
|
|
1349
|
+
/**
|
|
1350
|
+
* Successfully deleted.
|
|
1351
|
+
*/
|
|
979
1352
|
export const zDeleteClusterResponse = z.string();
|
|
1353
|
+
export const zGetClusterData = z.object({
|
|
1354
|
+
body: z.never().optional(),
|
|
1355
|
+
path: z.object({
|
|
1356
|
+
cluster_id: z.string()
|
|
1357
|
+
}),
|
|
1358
|
+
query: z.never().optional()
|
|
1359
|
+
});
|
|
1360
|
+
/**
|
|
1361
|
+
* Returns a single object containing cluster details.
|
|
1362
|
+
*/
|
|
980
1363
|
export const zGetClusterResponse = zCluster;
|
|
1364
|
+
export const zUpdateClusterData = z.object({
|
|
1365
|
+
body: zClusterUpdateInput,
|
|
1366
|
+
path: z.object({
|
|
1367
|
+
cluster_id: z.string()
|
|
1368
|
+
}),
|
|
1369
|
+
query: z.never().optional()
|
|
1370
|
+
});
|
|
1371
|
+
/**
|
|
1372
|
+
* Successfully updated. Returns updated cluster details.
|
|
1373
|
+
*/
|
|
981
1374
|
export const zUpdateClusterResponse = zCluster;
|
|
982
|
-
export const
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
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({});
|
|
1375
|
+
export const zGetJoinInformationData = z.object({
|
|
1376
|
+
body: z.never().optional(),
|
|
1377
|
+
path: z.object({
|
|
1378
|
+
cluster_id: z.string()
|
|
1379
|
+
}),
|
|
1380
|
+
query: z.never().optional()
|
|
1381
|
+
});
|
|
1382
|
+
/**
|
|
1383
|
+
* An object of cluster join information
|
|
1384
|
+
*/
|
|
1385
|
+
export const zGetJoinInformationResponse = zClusterJoinInformation;
|
|
1386
|
+
export const zListInvitesData = z.object({
|
|
1387
|
+
body: z.never().optional(),
|
|
1388
|
+
path: z.never().optional(),
|
|
1389
|
+
query: z.never().optional()
|
|
1390
|
+
});
|
|
1391
|
+
/**
|
|
1392
|
+
* An array of invites
|
|
1393
|
+
*/
|
|
1017
1394
|
export const zListInvitesResponse = z.array(zInvite);
|
|
1395
|
+
export const zCreateInviteData = z.object({
|
|
1396
|
+
body: z.object({
|
|
1397
|
+
email: z.string().optional()
|
|
1398
|
+
}),
|
|
1399
|
+
path: z.never().optional(),
|
|
1400
|
+
query: z.never().optional()
|
|
1401
|
+
});
|
|
1402
|
+
/**
|
|
1403
|
+
* Successfully created. Returns created invite details.
|
|
1404
|
+
*/
|
|
1018
1405
|
export const zCreateInviteResponse = zInvite;
|
|
1406
|
+
export const zGetInviteData = z.object({
|
|
1407
|
+
body: z.never().optional(),
|
|
1408
|
+
path: z.object({
|
|
1409
|
+
code: z.string()
|
|
1410
|
+
}),
|
|
1411
|
+
query: z.never().optional()
|
|
1412
|
+
});
|
|
1413
|
+
/**
|
|
1414
|
+
* Returns a single object containing invite details.
|
|
1415
|
+
*/
|
|
1019
1416
|
export const zGetInviteResponse = zInvite;
|
|
1417
|
+
export const zDeleteInviteData = z.object({
|
|
1418
|
+
body: z.never().optional(),
|
|
1419
|
+
path: z.object({
|
|
1420
|
+
email: z.string()
|
|
1421
|
+
}),
|
|
1422
|
+
query: z.never().optional()
|
|
1423
|
+
});
|
|
1424
|
+
export const zListMarketplaceChartsData = z.object({
|
|
1425
|
+
body: z.never().optional(),
|
|
1426
|
+
path: z.never().optional(),
|
|
1427
|
+
query: z.never().optional()
|
|
1428
|
+
});
|
|
1429
|
+
/**
|
|
1430
|
+
* An array of chart listings in the marketplace.
|
|
1431
|
+
*/
|
|
1432
|
+
export const zListMarketplaceChartsResponse = z.array(zMarketplaceListing);
|
|
1433
|
+
export const zGetMarketplaceChartData = z.object({
|
|
1434
|
+
body: z.never().optional(),
|
|
1435
|
+
path: z.object({
|
|
1436
|
+
listing_id: z.string()
|
|
1437
|
+
}),
|
|
1438
|
+
query: z.never().optional()
|
|
1439
|
+
});
|
|
1440
|
+
/**
|
|
1441
|
+
* Returns an object containing the chart listing details.
|
|
1442
|
+
*/
|
|
1443
|
+
export const zGetMarketplaceChartResponse = zMarketplaceListing;
|
|
1444
|
+
export const zGetOrganizationData = z.object({
|
|
1445
|
+
body: z.never().optional(),
|
|
1446
|
+
path: z.never().optional(),
|
|
1447
|
+
query: z.never().optional()
|
|
1448
|
+
});
|
|
1449
|
+
/**
|
|
1450
|
+
* Returns a single object containing organization details.
|
|
1451
|
+
*/
|
|
1020
1452
|
export const zGetOrganizationResponse = zOrganization;
|
|
1453
|
+
export const zCreateOrganizationData = z.object({
|
|
1454
|
+
body: zOrganizationCreateInput,
|
|
1455
|
+
path: z.never().optional(),
|
|
1456
|
+
query: z.never().optional()
|
|
1457
|
+
});
|
|
1458
|
+
export const zListTokensData = z.object({
|
|
1459
|
+
body: z.never().optional(),
|
|
1460
|
+
path: z.never().optional(),
|
|
1461
|
+
query: z.never().optional()
|
|
1462
|
+
});
|
|
1463
|
+
/**
|
|
1464
|
+
* Returns a list of access token details with masked secrets.
|
|
1465
|
+
*/
|
|
1021
1466
|
export const zListTokensResponse = z.array(zToken);
|
|
1467
|
+
export const zCreateTokenData = z.object({
|
|
1468
|
+
body: zTokenCreateInput,
|
|
1469
|
+
path: z.never().optional(),
|
|
1470
|
+
query: z.never().optional()
|
|
1471
|
+
});
|
|
1472
|
+
/**
|
|
1473
|
+
* Successfully created. Returns created token details with unmasked/raw secret.
|
|
1474
|
+
*/
|
|
1022
1475
|
export const zCreateTokenResponse = zToken;
|
|
1476
|
+
export const zDeleteTokenData = z.object({
|
|
1477
|
+
body: z.never().optional(),
|
|
1478
|
+
path: z.object({
|
|
1479
|
+
token_id: z.string()
|
|
1480
|
+
}),
|
|
1481
|
+
query: z.never().optional()
|
|
1482
|
+
});
|
|
1483
|
+
export const zGetTokenData = z.object({
|
|
1484
|
+
body: z.never().optional(),
|
|
1485
|
+
path: z.object({
|
|
1486
|
+
token_id: z.string()
|
|
1487
|
+
}),
|
|
1488
|
+
query: z.never().optional()
|
|
1489
|
+
});
|
|
1490
|
+
/**
|
|
1491
|
+
* Returns access token details with masked secret.
|
|
1492
|
+
*/
|
|
1023
1493
|
export const zGetTokenResponse = zToken;
|
|
1494
|
+
export const zUpdateTokenData = z.object({
|
|
1495
|
+
body: zTokenUpdateInput,
|
|
1496
|
+
path: z.object({
|
|
1497
|
+
token_id: z.string()
|
|
1498
|
+
}),
|
|
1499
|
+
query: z.never().optional()
|
|
1500
|
+
});
|
|
1501
|
+
/**
|
|
1502
|
+
* Successfully updated. Returns updated token details with masked secret.
|
|
1503
|
+
*/
|
|
1024
1504
|
export const zUpdateTokenResponse = zToken;
|
|
1505
|
+
export const zRegenerateTokenData = z.object({
|
|
1506
|
+
body: z.never().optional(),
|
|
1507
|
+
path: z.object({
|
|
1508
|
+
token_id: z.string()
|
|
1509
|
+
}),
|
|
1510
|
+
query: z.never().optional()
|
|
1511
|
+
});
|
|
1512
|
+
/**
|
|
1513
|
+
* Successfully updated. Returns updated token details with unmasked / raw secret.
|
|
1514
|
+
*/
|
|
1025
1515
|
export const zRegenerateTokenResponse = zToken;
|
|
1516
|
+
export const zListUserOrganizationsData = z.object({
|
|
1517
|
+
body: z.never().optional(),
|
|
1518
|
+
path: z.object({
|
|
1519
|
+
email: z.string()
|
|
1520
|
+
}),
|
|
1521
|
+
query: z.never().optional()
|
|
1522
|
+
});
|
|
1523
|
+
/**
|
|
1524
|
+
* An array of organizations the user belongs to.
|
|
1525
|
+
*/
|
|
1026
1526
|
export const zListUserOrganizationsResponse = z.array(z.object({
|
|
1027
1527
|
realm: z.string().optional(),
|
|
1028
1528
|
displayName: z.string().optional()
|
|
1029
1529
|
}));
|
|
1530
|
+
export const zListUsersData = z.object({
|
|
1531
|
+
body: z.never().optional(),
|
|
1532
|
+
path: z.never().optional(),
|
|
1533
|
+
query: z.never().optional()
|
|
1534
|
+
});
|
|
1535
|
+
/**
|
|
1536
|
+
* An array of users
|
|
1537
|
+
*/
|
|
1030
1538
|
export const zListUsersResponse = z.array(zUser);
|
|
1539
|
+
export const zCreateUserData = z.object({
|
|
1540
|
+
body: zUserCreateInput,
|
|
1541
|
+
path: z.never().optional(),
|
|
1542
|
+
query: z.never().optional()
|
|
1543
|
+
});
|
|
1544
|
+
/**
|
|
1545
|
+
* Successfully created. Returns created user details.
|
|
1546
|
+
*/
|
|
1031
1547
|
export const zCreateUserResponse = zUser;
|
|
1548
|
+
export const zDeleteUserData = z.object({
|
|
1549
|
+
body: z.never().optional(),
|
|
1550
|
+
path: z.object({
|
|
1551
|
+
user_id: z.string()
|
|
1552
|
+
}),
|
|
1553
|
+
query: z.never().optional()
|
|
1554
|
+
});
|
|
1555
|
+
/**
|
|
1556
|
+
* User profile information
|
|
1557
|
+
*/
|
|
1032
1558
|
export const zDeleteUserResponse = zUser;
|
|
1559
|
+
export const zGetUserData = z.object({
|
|
1560
|
+
body: z.never().optional(),
|
|
1561
|
+
path: z.object({
|
|
1562
|
+
user_id: z.string()
|
|
1563
|
+
}),
|
|
1564
|
+
query: z.never().optional()
|
|
1565
|
+
});
|
|
1566
|
+
/**
|
|
1567
|
+
* User profile information
|
|
1568
|
+
*/
|
|
1033
1569
|
export const zGetUserResponse = zUser;
|
|
1570
|
+
export const zUpdateUserData = z.object({
|
|
1571
|
+
body: zUserUpdateInput,
|
|
1572
|
+
path: z.object({
|
|
1573
|
+
user_id: z.string()
|
|
1574
|
+
}),
|
|
1575
|
+
query: z.never().optional()
|
|
1576
|
+
});
|
|
1577
|
+
/**
|
|
1578
|
+
* Successfully created. Returns created user details.
|
|
1579
|
+
*/
|
|
1034
1580
|
export const zUpdateUserResponse = zUser;
|
|
1035
|
-
export const zDeleteClusterPermissionsResponse = zUser;
|
|
1036
|
-
export const zSetClusterPermissionsResponse = zUser;
|
|
1037
1581
|
//# sourceMappingURL=zod.gen.js.map
|