@cloudfleet/sdk 0.0.1-8e8e76c → 0.0.1-964486e
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/schemas.gen.d.ts +281 -106
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +282 -115
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +107 -56
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +120 -19
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +298 -34
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1999 -216
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +672 -55
- package/dist/zod.gen.js.map +1 -1
- package/package.json +5 -6
package/dist/zod.gen.js
CHANGED
|
@@ -11,7 +11,138 @@ 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()
|
|
15
146
|
});
|
|
16
147
|
export const zBillingCredits = z.object({
|
|
17
148
|
id: z.string().optional(),
|
|
@@ -27,16 +158,55 @@ export const zBillingCredits = z.object({
|
|
|
27
158
|
billing_period: z.string().datetime(),
|
|
28
159
|
value_remaining: z.number().optional()
|
|
29
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
|
+
});
|
|
30
199
|
export const zClusterCreateInput = z.object({
|
|
31
200
|
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
32
|
-
region: z.enum([
|
|
33
|
-
'staging',
|
|
34
|
-
'northamerica-central-1'
|
|
35
|
-
]).optional(),
|
|
36
201
|
tier: z.enum([
|
|
37
202
|
'basic',
|
|
38
203
|
'pro'
|
|
39
204
|
]),
|
|
205
|
+
region: z.enum([
|
|
206
|
+
'staging',
|
|
207
|
+
'northamerica-central-1',
|
|
208
|
+
'europe-central-1a'
|
|
209
|
+
]).optional(),
|
|
40
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')
|
|
41
211
|
});
|
|
42
212
|
export const zClusterJoinInformation = z.object({
|
|
@@ -57,14 +227,15 @@ export const zClusterJoinInformation = z.object({
|
|
|
57
227
|
});
|
|
58
228
|
export const zCluster = z.object({
|
|
59
229
|
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
60
|
-
region: z.enum([
|
|
61
|
-
'staging',
|
|
62
|
-
'northamerica-central-1'
|
|
63
|
-
]).optional(),
|
|
64
230
|
tier: z.enum([
|
|
65
231
|
'basic',
|
|
66
232
|
'pro'
|
|
67
233
|
]),
|
|
234
|
+
region: z.enum([
|
|
235
|
+
'staging',
|
|
236
|
+
'northamerica-central-1',
|
|
237
|
+
'europe-central-1a'
|
|
238
|
+
]).optional(),
|
|
68
239
|
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'),
|
|
69
240
|
id: z.string().uuid(),
|
|
70
241
|
status: z.enum([
|
|
@@ -89,6 +260,10 @@ export const zCluster = z.object({
|
|
|
89
260
|
});
|
|
90
261
|
export const zClusterUpdateInput = z.object({
|
|
91
262
|
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/).optional(),
|
|
263
|
+
tier: z.enum([
|
|
264
|
+
'basic',
|
|
265
|
+
'pro'
|
|
266
|
+
]),
|
|
92
267
|
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()
|
|
93
268
|
});
|
|
94
269
|
export const zFleetCreateInput = z.object({
|
|
@@ -99,25 +274,15 @@ export const zFleetCreateInput = z.object({
|
|
|
99
274
|
enabled: z.boolean().optional().default(true),
|
|
100
275
|
project: z.string()
|
|
101
276
|
}).optional(),
|
|
102
|
-
hetzner: z.
|
|
103
|
-
z.
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
}),
|
|
107
|
-
z.object({
|
|
108
|
-
apiKey: z.string().optional(),
|
|
109
|
-
enabled: z.boolean().optional().default(true)
|
|
110
|
-
})
|
|
111
|
-
]).optional(),
|
|
277
|
+
hetzner: z.object({
|
|
278
|
+
enabled: z.boolean().optional().default(true),
|
|
279
|
+
apiKey: z.string()
|
|
280
|
+
}).optional(),
|
|
112
281
|
aws: z.object({
|
|
113
282
|
enabled: z.boolean().optional().default(true),
|
|
114
283
|
controllerRoleArn: z.string()
|
|
115
284
|
}).optional(),
|
|
116
|
-
id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
|
|
117
|
-
type: z.enum([
|
|
118
|
-
'managed',
|
|
119
|
-
'connected'
|
|
120
|
-
])
|
|
285
|
+
id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
|
|
121
286
|
});
|
|
122
287
|
export const zFleet = z.object({
|
|
123
288
|
limits: z.object({
|
|
@@ -127,25 +292,15 @@ export const zFleet = z.object({
|
|
|
127
292
|
enabled: z.boolean().optional().default(true),
|
|
128
293
|
project: z.string()
|
|
129
294
|
}).optional(),
|
|
130
|
-
hetzner: z.
|
|
131
|
-
z.
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
}),
|
|
135
|
-
z.object({
|
|
136
|
-
apiKey: z.string().optional(),
|
|
137
|
-
enabled: z.boolean().optional().default(true)
|
|
138
|
-
})
|
|
139
|
-
]).optional(),
|
|
295
|
+
hetzner: z.object({
|
|
296
|
+
enabled: z.boolean().optional().default(true),
|
|
297
|
+
apiKey: z.string()
|
|
298
|
+
}).optional(),
|
|
140
299
|
aws: z.object({
|
|
141
300
|
enabled: z.boolean().optional().default(true),
|
|
142
301
|
controllerRoleArn: z.string()
|
|
143
302
|
}).optional(),
|
|
144
|
-
id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
|
|
145
|
-
type: z.enum([
|
|
146
|
-
'managed',
|
|
147
|
-
'connected'
|
|
148
|
-
])
|
|
303
|
+
id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
|
|
149
304
|
});
|
|
150
305
|
export const zFleetUpdateInput = z.object({
|
|
151
306
|
limits: z.object({
|
|
@@ -155,16 +310,10 @@ export const zFleetUpdateInput = z.object({
|
|
|
155
310
|
enabled: z.boolean().optional().default(true),
|
|
156
311
|
project: z.string()
|
|
157
312
|
}).optional(),
|
|
158
|
-
hetzner: z.
|
|
159
|
-
z.
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
}),
|
|
163
|
-
z.object({
|
|
164
|
-
apiKey: z.string().optional(),
|
|
165
|
-
enabled: z.boolean().optional().default(true)
|
|
166
|
-
})
|
|
167
|
-
]).optional(),
|
|
313
|
+
hetzner: z.object({
|
|
314
|
+
enabled: z.boolean().optional().default(true),
|
|
315
|
+
apiKey: z.string()
|
|
316
|
+
}).optional(),
|
|
168
317
|
aws: z.object({
|
|
169
318
|
enabled: z.boolean().optional().default(true),
|
|
170
319
|
controllerRoleArn: z.string()
|
|
@@ -558,7 +707,13 @@ export const zInvoice = z.object({
|
|
|
558
707
|
quantity: z.number().optional(),
|
|
559
708
|
itemDetails: z.string().optional(),
|
|
560
709
|
catalogEffectiveDate: z.string().optional(),
|
|
561
|
-
childItems: z.array(z.
|
|
710
|
+
childItems: z.array(z.union([
|
|
711
|
+
z.array(z.unknown()),
|
|
712
|
+
z.boolean(),
|
|
713
|
+
z.number(),
|
|
714
|
+
z.object({}),
|
|
715
|
+
z.string()
|
|
716
|
+
])).optional()
|
|
562
717
|
})).optional(),
|
|
563
718
|
items: z.array(z.object({
|
|
564
719
|
id: z.string().uuid().optional(),
|
|
@@ -758,9 +913,30 @@ export const zInvoice = z.object({
|
|
|
758
913
|
quantity: z.number().optional(),
|
|
759
914
|
itemDetails: z.string().optional(),
|
|
760
915
|
catalogEffectiveDate: z.string().optional(),
|
|
761
|
-
childItems: z.array(z.
|
|
916
|
+
childItems: z.array(z.union([
|
|
917
|
+
z.array(z.unknown()),
|
|
918
|
+
z.boolean(),
|
|
919
|
+
z.number(),
|
|
920
|
+
z.object({}),
|
|
921
|
+
z.string()
|
|
922
|
+
])).optional()
|
|
762
923
|
})).optional()
|
|
763
924
|
});
|
|
925
|
+
export const zMarketplaceListing = z.object({
|
|
926
|
+
id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
927
|
+
name: z.string(),
|
|
928
|
+
developer: z.string(),
|
|
929
|
+
description: z.string(),
|
|
930
|
+
logoUrl: z.string(),
|
|
931
|
+
longDescription: z.string(),
|
|
932
|
+
categories: z.array(z.string()),
|
|
933
|
+
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-]+)*))?$/)),
|
|
934
|
+
value_schemas: z.array(z.object({
|
|
935
|
+
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-]+)*))?$/),
|
|
936
|
+
schema: z.string(),
|
|
937
|
+
placeholder: z.string()
|
|
938
|
+
}))
|
|
939
|
+
});
|
|
764
940
|
export const zOrganizationCreateInput = z.object({
|
|
765
941
|
email: z.string().email(),
|
|
766
942
|
first_name: z.string(),
|
|
@@ -778,7 +954,6 @@ export const zOrganization = z.object({
|
|
|
778
954
|
pro_clusters_max: z.number().int().gte(0),
|
|
779
955
|
pro_clusters_available: z.number().int(),
|
|
780
956
|
fleets_max: z.number().int().gte(0),
|
|
781
|
-
managed_fleets_cpu_max: z.number().int().gte(0),
|
|
782
957
|
cluster_tiers: z.array(z.string()).min(0),
|
|
783
958
|
regions: z.array(z.string()).min(1),
|
|
784
959
|
versions: z.array(z.object({
|
|
@@ -841,12 +1016,18 @@ export const zUsage = z.object({
|
|
|
841
1016
|
hour: z.string().optional(),
|
|
842
1017
|
cluster_id: z.string().uuid(),
|
|
843
1018
|
cluster_tier: z.enum([
|
|
1019
|
+
'basic',
|
|
1020
|
+
'pro',
|
|
844
1021
|
''
|
|
845
1022
|
]),
|
|
846
1023
|
product: z.enum([
|
|
847
|
-
'
|
|
848
|
-
'
|
|
849
|
-
'
|
|
1024
|
+
'cfke_controlplane',
|
|
1025
|
+
'cfke_connected_nodes',
|
|
1026
|
+
'infra_compute',
|
|
1027
|
+
'infra_storage',
|
|
1028
|
+
'infra_loadbalancing',
|
|
1029
|
+
'infra_traffic',
|
|
1030
|
+
'cfcr_storage'
|
|
850
1031
|
]),
|
|
851
1032
|
node_name: z.string(),
|
|
852
1033
|
sku: z.string(),
|
|
@@ -918,46 +1099,482 @@ export const zUserUpdateInput = z.object({
|
|
|
918
1099
|
'inactive'
|
|
919
1100
|
]).optional()
|
|
920
1101
|
});
|
|
1102
|
+
export const zGetUsageData = z.object({
|
|
1103
|
+
body: z.never().optional(),
|
|
1104
|
+
path: z.never().optional(),
|
|
1105
|
+
query: z.never().optional()
|
|
1106
|
+
});
|
|
1107
|
+
/**
|
|
1108
|
+
* An array of usage records.
|
|
1109
|
+
*/
|
|
921
1110
|
export const zGetUsageResponse = z.array(zUsage);
|
|
1111
|
+
export const zGetBalanceData = z.object({
|
|
1112
|
+
body: z.never().optional(),
|
|
1113
|
+
path: z.never().optional(),
|
|
1114
|
+
query: z.never().optional()
|
|
1115
|
+
});
|
|
1116
|
+
/**
|
|
1117
|
+
* Current balance of the organization in USD as a floating-point number.
|
|
1118
|
+
*/
|
|
922
1119
|
export const zGetBalanceResponse = z.number();
|
|
1120
|
+
export const zGetPaymentMethodData = z.object({
|
|
1121
|
+
body: z.never().optional(),
|
|
1122
|
+
path: z.never().optional(),
|
|
1123
|
+
query: z.never().optional()
|
|
1124
|
+
});
|
|
1125
|
+
/**
|
|
1126
|
+
* Redacted payment card information.
|
|
1127
|
+
*/
|
|
923
1128
|
export const zGetPaymentMethodResponse = zPaymentMethod;
|
|
1129
|
+
export const zGetPaymentMethodSecretData = z.object({
|
|
1130
|
+
body: z.never().optional(),
|
|
1131
|
+
path: z.never().optional(),
|
|
1132
|
+
query: z.never().optional()
|
|
1133
|
+
});
|
|
1134
|
+
/**
|
|
1135
|
+
* 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.
|
|
1136
|
+
*
|
|
1137
|
+
*/
|
|
924
1138
|
export const zGetPaymentMethodSecretResponse = z.object({
|
|
925
1139
|
id: z.string().optional()
|
|
926
1140
|
});
|
|
1141
|
+
export const zListInvoicesData = z.object({
|
|
1142
|
+
body: z.never().optional(),
|
|
1143
|
+
path: z.never().optional(),
|
|
1144
|
+
query: z.object({
|
|
1145
|
+
start_date: z.string(),
|
|
1146
|
+
end_date: z.string()
|
|
1147
|
+
})
|
|
1148
|
+
});
|
|
1149
|
+
/**
|
|
1150
|
+
* An array of usage records.
|
|
1151
|
+
*/
|
|
927
1152
|
export const zListInvoicesResponse = z.array(zInvoice);
|
|
1153
|
+
export const zGetInvoiceData = z.object({
|
|
1154
|
+
body: z.never().optional(),
|
|
1155
|
+
path: z.object({
|
|
1156
|
+
id: z.string()
|
|
1157
|
+
}),
|
|
1158
|
+
query: z.never().optional()
|
|
1159
|
+
});
|
|
1160
|
+
/**
|
|
1161
|
+
* Returns a single Invoice HTML representation under `html` property.
|
|
1162
|
+
*/
|
|
928
1163
|
export const zGetInvoiceResponse = z.object({
|
|
929
1164
|
html: z.string().optional()
|
|
930
1165
|
});
|
|
1166
|
+
export const zGetContactData = z.object({
|
|
1167
|
+
body: z.never().optional(),
|
|
1168
|
+
path: z.never().optional(),
|
|
1169
|
+
query: z.never().optional()
|
|
1170
|
+
});
|
|
1171
|
+
/**
|
|
1172
|
+
* Returns a single object containing organization contact and billing address details.
|
|
1173
|
+
*/
|
|
931
1174
|
export const zGetContactResponse = zBillingContact;
|
|
1175
|
+
export const zUpdateContactData = z.object({
|
|
1176
|
+
body: zBillingContact,
|
|
1177
|
+
path: z.never().optional(),
|
|
1178
|
+
query: z.never().optional()
|
|
1179
|
+
});
|
|
1180
|
+
/**
|
|
1181
|
+
* Successfully updated. Returns updated organization details.
|
|
1182
|
+
*/
|
|
932
1183
|
export const zUpdateContactResponse = zBillingContact;
|
|
1184
|
+
export const zGetCreditsData = z.object({
|
|
1185
|
+
body: z.never().optional(),
|
|
1186
|
+
path: z.never().optional(),
|
|
1187
|
+
query: z.never().optional()
|
|
1188
|
+
});
|
|
1189
|
+
/**
|
|
1190
|
+
* An array of the applied promotional credits records.
|
|
1191
|
+
*/
|
|
933
1192
|
export const zGetCreditsResponse = z.array(zBillingCredits);
|
|
1193
|
+
export const zRedeemCreditsData = z.object({
|
|
1194
|
+
body: z.object({
|
|
1195
|
+
code: z.string().optional()
|
|
1196
|
+
}),
|
|
1197
|
+
path: z.never().optional(),
|
|
1198
|
+
query: z.never().optional()
|
|
1199
|
+
});
|
|
1200
|
+
export const zListChartsData = z.object({
|
|
1201
|
+
body: z.never().optional(),
|
|
1202
|
+
path: z.object({
|
|
1203
|
+
cluster_id: z.string()
|
|
1204
|
+
}),
|
|
1205
|
+
query: z.never().optional()
|
|
1206
|
+
});
|
|
1207
|
+
/**
|
|
1208
|
+
* An array of charts
|
|
1209
|
+
*/
|
|
1210
|
+
export const zListChartsResponse = z.array(zChart);
|
|
1211
|
+
export const zCreateChartData = z.object({
|
|
1212
|
+
body: zChartCreateInput,
|
|
1213
|
+
path: z.object({
|
|
1214
|
+
cluster_id: z.string()
|
|
1215
|
+
}),
|
|
1216
|
+
query: z.never().optional()
|
|
1217
|
+
});
|
|
1218
|
+
/**
|
|
1219
|
+
* Successfully created. Returns created Chart ID.
|
|
1220
|
+
*/
|
|
1221
|
+
export const zCreateChartResponse = z.string();
|
|
1222
|
+
export const zDeleteChartData = z.object({
|
|
1223
|
+
body: z.never().optional(),
|
|
1224
|
+
path: z.object({
|
|
1225
|
+
cluster_id: z.string(),
|
|
1226
|
+
chart_name: z.string()
|
|
1227
|
+
}),
|
|
1228
|
+
query: z.never().optional()
|
|
1229
|
+
});
|
|
1230
|
+
/**
|
|
1231
|
+
* Successfully deleted.
|
|
1232
|
+
*/
|
|
1233
|
+
export const zDeleteChartResponse = z.string();
|
|
1234
|
+
export const zGetChartData = z.object({
|
|
1235
|
+
body: z.never().optional(),
|
|
1236
|
+
path: z.object({
|
|
1237
|
+
cluster_id: z.string(),
|
|
1238
|
+
chart_name: z.string()
|
|
1239
|
+
}),
|
|
1240
|
+
query: z.never().optional()
|
|
1241
|
+
});
|
|
1242
|
+
/**
|
|
1243
|
+
* Returns a single object containing chart details.
|
|
1244
|
+
*/
|
|
1245
|
+
export const zGetChartResponse = zChart;
|
|
1246
|
+
export const zUpdateChartData = z.object({
|
|
1247
|
+
body: zChartUpdateInput,
|
|
1248
|
+
path: z.object({
|
|
1249
|
+
cluster_id: z.string(),
|
|
1250
|
+
chart_name: z.string()
|
|
1251
|
+
}),
|
|
1252
|
+
query: z.never().optional()
|
|
1253
|
+
});
|
|
1254
|
+
/**
|
|
1255
|
+
* Successfully updated.
|
|
1256
|
+
*/
|
|
1257
|
+
export const zUpdateChartResponse = z.string();
|
|
1258
|
+
export const zListFleetsData = z.object({
|
|
1259
|
+
body: z.never().optional(),
|
|
1260
|
+
path: z.object({
|
|
1261
|
+
cluster_id: z.string()
|
|
1262
|
+
}),
|
|
1263
|
+
query: z.never().optional()
|
|
1264
|
+
});
|
|
1265
|
+
/**
|
|
1266
|
+
* An array of fleets
|
|
1267
|
+
*/
|
|
934
1268
|
export const zListFleetsResponse = z.array(zFleet);
|
|
1269
|
+
export const zCreateFleetData = z.object({
|
|
1270
|
+
body: zFleetCreateInput,
|
|
1271
|
+
path: z.object({
|
|
1272
|
+
cluster_id: z.string()
|
|
1273
|
+
}),
|
|
1274
|
+
query: z.never().optional()
|
|
1275
|
+
});
|
|
1276
|
+
/**
|
|
1277
|
+
* Successfully created. Returns created Fleet ID.
|
|
1278
|
+
*/
|
|
935
1279
|
export const zCreateFleetResponse = z.string();
|
|
1280
|
+
export const zDeleteFleetData = z.object({
|
|
1281
|
+
body: z.never().optional(),
|
|
1282
|
+
path: z.object({
|
|
1283
|
+
cluster_id: z.string(),
|
|
1284
|
+
fleet_name: z.string()
|
|
1285
|
+
}),
|
|
1286
|
+
query: z.never().optional()
|
|
1287
|
+
});
|
|
1288
|
+
/**
|
|
1289
|
+
* Successfully deleted.
|
|
1290
|
+
*/
|
|
936
1291
|
export const zDeleteFleetResponse = z.string();
|
|
1292
|
+
export const zGetFleetData = z.object({
|
|
1293
|
+
body: z.never().optional(),
|
|
1294
|
+
path: z.object({
|
|
1295
|
+
cluster_id: z.string(),
|
|
1296
|
+
fleet_name: z.string()
|
|
1297
|
+
}),
|
|
1298
|
+
query: z.never().optional()
|
|
1299
|
+
});
|
|
1300
|
+
/**
|
|
1301
|
+
* Returns a single object containing fleet details.
|
|
1302
|
+
*/
|
|
937
1303
|
export const zGetFleetResponse = zFleet;
|
|
1304
|
+
export const zUpdateFleetData = z.object({
|
|
1305
|
+
body: zFleetUpdateInput,
|
|
1306
|
+
path: z.object({
|
|
1307
|
+
cluster_id: z.string(),
|
|
1308
|
+
fleet_name: z.string()
|
|
1309
|
+
}),
|
|
1310
|
+
query: z.never().optional()
|
|
1311
|
+
});
|
|
1312
|
+
/**
|
|
1313
|
+
* Successfully updated.
|
|
1314
|
+
*/
|
|
938
1315
|
export const zUpdateFleetResponse = z.string();
|
|
1316
|
+
export const zQueryClusterData = z.object({
|
|
1317
|
+
body: z.never().optional(),
|
|
1318
|
+
path: z.object({
|
|
1319
|
+
cluster_id: z.string()
|
|
1320
|
+
}),
|
|
1321
|
+
query: z.never().optional()
|
|
1322
|
+
});
|
|
1323
|
+
export const zListClustersData = z.object({
|
|
1324
|
+
body: z.never().optional(),
|
|
1325
|
+
path: z.never().optional(),
|
|
1326
|
+
query: z.never().optional()
|
|
1327
|
+
});
|
|
1328
|
+
/**
|
|
1329
|
+
* An array of clusters
|
|
1330
|
+
*/
|
|
939
1331
|
export const zListClustersResponse = z.array(zCluster);
|
|
1332
|
+
export const zCreateClusterData = z.object({
|
|
1333
|
+
body: zClusterCreateInput,
|
|
1334
|
+
path: z.never().optional(),
|
|
1335
|
+
query: z.never().optional()
|
|
1336
|
+
});
|
|
1337
|
+
/**
|
|
1338
|
+
* Successfully created. Returns created Cluster ID.
|
|
1339
|
+
*/
|
|
940
1340
|
export const zCreateClusterResponse = z.string();
|
|
1341
|
+
export const zDeleteClusterData = z.object({
|
|
1342
|
+
body: z.never().optional(),
|
|
1343
|
+
path: z.object({
|
|
1344
|
+
cluster_id: z.string()
|
|
1345
|
+
}),
|
|
1346
|
+
query: z.never().optional()
|
|
1347
|
+
});
|
|
1348
|
+
/**
|
|
1349
|
+
* Successfully deleted.
|
|
1350
|
+
*/
|
|
941
1351
|
export const zDeleteClusterResponse = z.string();
|
|
1352
|
+
export const zGetClusterData = z.object({
|
|
1353
|
+
body: z.never().optional(),
|
|
1354
|
+
path: z.object({
|
|
1355
|
+
cluster_id: z.string()
|
|
1356
|
+
}),
|
|
1357
|
+
query: z.never().optional()
|
|
1358
|
+
});
|
|
1359
|
+
/**
|
|
1360
|
+
* Returns a single object containing cluster details.
|
|
1361
|
+
*/
|
|
942
1362
|
export const zGetClusterResponse = zCluster;
|
|
1363
|
+
export const zUpdateClusterData = z.object({
|
|
1364
|
+
body: zClusterUpdateInput,
|
|
1365
|
+
path: z.object({
|
|
1366
|
+
cluster_id: z.string()
|
|
1367
|
+
}),
|
|
1368
|
+
query: z.never().optional()
|
|
1369
|
+
});
|
|
1370
|
+
/**
|
|
1371
|
+
* Successfully updated. Returns updated cluster details.
|
|
1372
|
+
*/
|
|
943
1373
|
export const zUpdateClusterResponse = zCluster;
|
|
1374
|
+
export const zGetJoinInformationData = z.object({
|
|
1375
|
+
body: z.never().optional(),
|
|
1376
|
+
path: z.object({
|
|
1377
|
+
cluster_id: z.string()
|
|
1378
|
+
}),
|
|
1379
|
+
query: z.never().optional()
|
|
1380
|
+
});
|
|
1381
|
+
/**
|
|
1382
|
+
* An object of cluster join information
|
|
1383
|
+
*/
|
|
944
1384
|
export const zGetJoinInformationResponse = zCluster;
|
|
1385
|
+
export const zListInvitesData = z.object({
|
|
1386
|
+
body: z.never().optional(),
|
|
1387
|
+
path: z.never().optional(),
|
|
1388
|
+
query: z.never().optional()
|
|
1389
|
+
});
|
|
1390
|
+
/**
|
|
1391
|
+
* An array of invites
|
|
1392
|
+
*/
|
|
945
1393
|
export const zListInvitesResponse = z.array(zInvite);
|
|
1394
|
+
export const zCreateInviteData = z.object({
|
|
1395
|
+
body: z.object({
|
|
1396
|
+
email: z.string().optional()
|
|
1397
|
+
}),
|
|
1398
|
+
path: z.never().optional(),
|
|
1399
|
+
query: z.never().optional()
|
|
1400
|
+
});
|
|
1401
|
+
/**
|
|
1402
|
+
* Successfully created. Returns created invite details.
|
|
1403
|
+
*/
|
|
946
1404
|
export const zCreateInviteResponse = zInvite;
|
|
1405
|
+
export const zGetInviteData = z.object({
|
|
1406
|
+
body: z.never().optional(),
|
|
1407
|
+
path: z.object({
|
|
1408
|
+
code: z.string()
|
|
1409
|
+
}),
|
|
1410
|
+
query: z.never().optional()
|
|
1411
|
+
});
|
|
1412
|
+
/**
|
|
1413
|
+
* Returns a single object containing invite details.
|
|
1414
|
+
*/
|
|
947
1415
|
export const zGetInviteResponse = zInvite;
|
|
1416
|
+
export const zDeleteInviteData = z.object({
|
|
1417
|
+
body: z.never().optional(),
|
|
1418
|
+
path: z.object({
|
|
1419
|
+
email: z.string()
|
|
1420
|
+
}),
|
|
1421
|
+
query: z.never().optional()
|
|
1422
|
+
});
|
|
1423
|
+
export const zListMarketplaceChartsData = z.object({
|
|
1424
|
+
body: z.never().optional(),
|
|
1425
|
+
path: z.never().optional(),
|
|
1426
|
+
query: z.never().optional()
|
|
1427
|
+
});
|
|
1428
|
+
/**
|
|
1429
|
+
* An array of chart listings in the marketplace.
|
|
1430
|
+
*/
|
|
1431
|
+
export const zListMarketplaceChartsResponse = z.array(zMarketplaceListing);
|
|
1432
|
+
export const zGetMarketplaceChartData = z.object({
|
|
1433
|
+
body: z.never().optional(),
|
|
1434
|
+
path: z.object({
|
|
1435
|
+
listing_id: z.string()
|
|
1436
|
+
}),
|
|
1437
|
+
query: z.never().optional()
|
|
1438
|
+
});
|
|
1439
|
+
/**
|
|
1440
|
+
* Returns an object containing the chart listing details.
|
|
1441
|
+
*/
|
|
1442
|
+
export const zGetMarketplaceChartResponse = zMarketplaceListing;
|
|
1443
|
+
export const zGetOrganizationData = z.object({
|
|
1444
|
+
body: z.never().optional(),
|
|
1445
|
+
path: z.never().optional(),
|
|
1446
|
+
query: z.never().optional()
|
|
1447
|
+
});
|
|
1448
|
+
/**
|
|
1449
|
+
* Returns a single object containing organization details.
|
|
1450
|
+
*/
|
|
948
1451
|
export const zGetOrganizationResponse = zOrganization;
|
|
1452
|
+
export const zCreateOrganizationData = z.object({
|
|
1453
|
+
body: zOrganizationCreateInput,
|
|
1454
|
+
path: z.never().optional(),
|
|
1455
|
+
query: z.never().optional()
|
|
1456
|
+
});
|
|
1457
|
+
export const zListTokensData = z.object({
|
|
1458
|
+
body: z.never().optional(),
|
|
1459
|
+
path: z.never().optional(),
|
|
1460
|
+
query: z.never().optional()
|
|
1461
|
+
});
|
|
1462
|
+
/**
|
|
1463
|
+
* Returns a list of access token details with masked secrets.
|
|
1464
|
+
*/
|
|
949
1465
|
export const zListTokensResponse = z.array(zToken);
|
|
1466
|
+
export const zCreateTokenData = z.object({
|
|
1467
|
+
body: zTokenCreateInput,
|
|
1468
|
+
path: z.never().optional(),
|
|
1469
|
+
query: z.never().optional()
|
|
1470
|
+
});
|
|
1471
|
+
/**
|
|
1472
|
+
* Successfully created. Returns created token details with unmasked/raw secret.
|
|
1473
|
+
*/
|
|
950
1474
|
export const zCreateTokenResponse = zToken;
|
|
1475
|
+
export const zDeleteTokenData = z.object({
|
|
1476
|
+
body: z.never().optional(),
|
|
1477
|
+
path: z.object({
|
|
1478
|
+
token_id: z.string()
|
|
1479
|
+
}),
|
|
1480
|
+
query: z.never().optional()
|
|
1481
|
+
});
|
|
1482
|
+
export const zGetTokenData = z.object({
|
|
1483
|
+
body: z.never().optional(),
|
|
1484
|
+
path: z.object({
|
|
1485
|
+
token_id: z.string()
|
|
1486
|
+
}),
|
|
1487
|
+
query: z.never().optional()
|
|
1488
|
+
});
|
|
1489
|
+
/**
|
|
1490
|
+
* Returns access token details with masked secret.
|
|
1491
|
+
*/
|
|
951
1492
|
export const zGetTokenResponse = zToken;
|
|
1493
|
+
export const zUpdateTokenData = z.object({
|
|
1494
|
+
body: zTokenUpdateInput,
|
|
1495
|
+
path: z.object({
|
|
1496
|
+
token_id: z.string()
|
|
1497
|
+
}),
|
|
1498
|
+
query: z.never().optional()
|
|
1499
|
+
});
|
|
1500
|
+
/**
|
|
1501
|
+
* Successfully updated. Returns updated token details with masked secret.
|
|
1502
|
+
*/
|
|
952
1503
|
export const zUpdateTokenResponse = zToken;
|
|
1504
|
+
export const zRegenerateTokenData = z.object({
|
|
1505
|
+
body: z.never().optional(),
|
|
1506
|
+
path: z.object({
|
|
1507
|
+
token_id: z.string()
|
|
1508
|
+
}),
|
|
1509
|
+
query: z.never().optional()
|
|
1510
|
+
});
|
|
1511
|
+
/**
|
|
1512
|
+
* Successfully updated. Returns updated token details with unmasked / raw secret.
|
|
1513
|
+
*/
|
|
953
1514
|
export const zRegenerateTokenResponse = zToken;
|
|
1515
|
+
export const zListUserOrganizationsData = z.object({
|
|
1516
|
+
body: z.never().optional(),
|
|
1517
|
+
path: z.object({
|
|
1518
|
+
email: z.string()
|
|
1519
|
+
}),
|
|
1520
|
+
query: z.never().optional()
|
|
1521
|
+
});
|
|
1522
|
+
/**
|
|
1523
|
+
* An array of organizations the user belongs to.
|
|
1524
|
+
*/
|
|
954
1525
|
export const zListUserOrganizationsResponse = z.array(z.object({
|
|
955
1526
|
realm: z.string().optional(),
|
|
956
1527
|
displayName: z.string().optional()
|
|
957
1528
|
}));
|
|
1529
|
+
export const zListUsersData = z.object({
|
|
1530
|
+
body: z.never().optional(),
|
|
1531
|
+
path: z.never().optional(),
|
|
1532
|
+
query: z.never().optional()
|
|
1533
|
+
});
|
|
1534
|
+
/**
|
|
1535
|
+
* An array of users
|
|
1536
|
+
*/
|
|
958
1537
|
export const zListUsersResponse = z.array(zUser);
|
|
1538
|
+
export const zCreateUserData = z.object({
|
|
1539
|
+
body: zUserCreateInput,
|
|
1540
|
+
path: z.never().optional(),
|
|
1541
|
+
query: z.never().optional()
|
|
1542
|
+
});
|
|
1543
|
+
/**
|
|
1544
|
+
* Successfully created. Returns created user details.
|
|
1545
|
+
*/
|
|
959
1546
|
export const zCreateUserResponse = zUser;
|
|
1547
|
+
export const zDeleteUserData = z.object({
|
|
1548
|
+
body: z.never().optional(),
|
|
1549
|
+
path: z.object({
|
|
1550
|
+
user_id: z.string()
|
|
1551
|
+
}),
|
|
1552
|
+
query: z.never().optional()
|
|
1553
|
+
});
|
|
1554
|
+
/**
|
|
1555
|
+
* User profile information
|
|
1556
|
+
*/
|
|
960
1557
|
export const zDeleteUserResponse = zUser;
|
|
1558
|
+
export const zGetUserData = z.object({
|
|
1559
|
+
body: z.never().optional(),
|
|
1560
|
+
path: z.object({
|
|
1561
|
+
user_id: z.string()
|
|
1562
|
+
}),
|
|
1563
|
+
query: z.never().optional()
|
|
1564
|
+
});
|
|
1565
|
+
/**
|
|
1566
|
+
* User profile information
|
|
1567
|
+
*/
|
|
961
1568
|
export const zGetUserResponse = zUser;
|
|
1569
|
+
export const zUpdateUserData = z.object({
|
|
1570
|
+
body: zUserUpdateInput,
|
|
1571
|
+
path: z.object({
|
|
1572
|
+
user_id: z.string()
|
|
1573
|
+
}),
|
|
1574
|
+
query: z.never().optional()
|
|
1575
|
+
});
|
|
1576
|
+
/**
|
|
1577
|
+
* Successfully created. Returns created user details.
|
|
1578
|
+
*/
|
|
962
1579
|
export const zUpdateUserResponse = zUser;
|
|
963
1580
|
//# sourceMappingURL=zod.gen.js.map
|