@cloudfleet/sdk 0.0.1-726a305 → 0.0.1-72f9b66
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/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/schemas.gen.d.ts +340 -105
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +341 -114
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +116 -53
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +145 -18
- 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 +378 -34
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1065 -182
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +529 -53
- package/dist/zod.gen.js.map +1 -1
- package/package.json +9 -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({
|
|
@@ -43,14 +227,15 @@ export const zClusterJoinInformation = z.object({
|
|
|
43
227
|
});
|
|
44
228
|
export const zCluster = z.object({
|
|
45
229
|
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
230
|
tier: z.enum([
|
|
51
231
|
'basic',
|
|
52
232
|
'pro'
|
|
53
233
|
]),
|
|
234
|
+
region: z.enum([
|
|
235
|
+
'staging',
|
|
236
|
+
'northamerica-central-1',
|
|
237
|
+
'europe-central-1a'
|
|
238
|
+
]).optional(),
|
|
54
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'),
|
|
55
240
|
id: z.string().uuid(),
|
|
56
241
|
status: z.enum([
|
|
@@ -75,6 +260,10 @@ export const zCluster = z.object({
|
|
|
75
260
|
});
|
|
76
261
|
export const zClusterUpdateInput = z.object({
|
|
77
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
|
+
]),
|
|
78
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()
|
|
79
268
|
});
|
|
80
269
|
export const zFleetCreateInput = z.object({
|
|
@@ -85,25 +274,15 @@ export const zFleetCreateInput = z.object({
|
|
|
85
274
|
enabled: z.boolean().optional().default(true),
|
|
86
275
|
project: z.string()
|
|
87
276
|
}).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(),
|
|
277
|
+
hetzner: z.object({
|
|
278
|
+
enabled: z.boolean().optional().default(true),
|
|
279
|
+
apiKey: z.string()
|
|
280
|
+
}).optional(),
|
|
98
281
|
aws: z.object({
|
|
99
282
|
enabled: z.boolean().optional().default(true),
|
|
100
283
|
controllerRoleArn: z.string()
|
|
101
284
|
}).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
|
-
])
|
|
285
|
+
id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
|
|
107
286
|
});
|
|
108
287
|
export const zFleet = z.object({
|
|
109
288
|
limits: z.object({
|
|
@@ -113,25 +292,15 @@ export const zFleet = z.object({
|
|
|
113
292
|
enabled: z.boolean().optional().default(true),
|
|
114
293
|
project: z.string()
|
|
115
294
|
}).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(),
|
|
295
|
+
hetzner: z.object({
|
|
296
|
+
enabled: z.boolean().optional().default(true),
|
|
297
|
+
apiKey: z.string()
|
|
298
|
+
}).optional(),
|
|
126
299
|
aws: z.object({
|
|
127
300
|
enabled: z.boolean().optional().default(true),
|
|
128
301
|
controllerRoleArn: z.string()
|
|
129
302
|
}).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
|
-
])
|
|
303
|
+
id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
|
|
135
304
|
});
|
|
136
305
|
export const zFleetUpdateInput = z.object({
|
|
137
306
|
limits: z.object({
|
|
@@ -141,16 +310,10 @@ export const zFleetUpdateInput = z.object({
|
|
|
141
310
|
enabled: z.boolean().optional().default(true),
|
|
142
311
|
project: z.string()
|
|
143
312
|
}).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(),
|
|
313
|
+
hetzner: z.object({
|
|
314
|
+
enabled: z.boolean().optional().default(true),
|
|
315
|
+
apiKey: z.string()
|
|
316
|
+
}).optional(),
|
|
154
317
|
aws: z.object({
|
|
155
318
|
enabled: z.boolean().optional().default(true),
|
|
156
319
|
controllerRoleArn: z.string()
|
|
@@ -747,6 +910,21 @@ export const zInvoice = z.object({
|
|
|
747
910
|
childItems: z.array(z.unknown()).optional()
|
|
748
911
|
})).optional()
|
|
749
912
|
});
|
|
913
|
+
export const zMarketplaceListing = z.object({
|
|
914
|
+
id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
915
|
+
name: z.string(),
|
|
916
|
+
developer: z.string(),
|
|
917
|
+
description: z.string(),
|
|
918
|
+
logoUrl: z.string(),
|
|
919
|
+
longDescription: z.string(),
|
|
920
|
+
categories: z.array(z.string()),
|
|
921
|
+
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-]+)*))?$/)),
|
|
922
|
+
value_schemas: z.array(z.object({
|
|
923
|
+
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-]+)*))?$/),
|
|
924
|
+
schema: z.string(),
|
|
925
|
+
placeholder: z.string()
|
|
926
|
+
}))
|
|
927
|
+
});
|
|
750
928
|
export const zOrganizationCreateInput = z.object({
|
|
751
929
|
email: z.string().email(),
|
|
752
930
|
first_name: z.string(),
|
|
@@ -764,7 +942,6 @@ export const zOrganization = z.object({
|
|
|
764
942
|
pro_clusters_max: z.number().int().gte(0),
|
|
765
943
|
pro_clusters_available: z.number().int(),
|
|
766
944
|
fleets_max: z.number().int().gte(0),
|
|
767
|
-
managed_fleets_cpu_max: z.number().int().gte(0),
|
|
768
945
|
cluster_tiers: z.array(z.string()).min(0),
|
|
769
946
|
regions: z.array(z.string()).min(1),
|
|
770
947
|
versions: z.array(z.object({
|
|
@@ -827,12 +1004,18 @@ export const zUsage = z.object({
|
|
|
827
1004
|
hour: z.string().optional(),
|
|
828
1005
|
cluster_id: z.string().uuid(),
|
|
829
1006
|
cluster_tier: z.enum([
|
|
1007
|
+
'basic',
|
|
1008
|
+
'pro',
|
|
830
1009
|
''
|
|
831
1010
|
]),
|
|
832
1011
|
product: z.enum([
|
|
833
|
-
'
|
|
834
|
-
'
|
|
835
|
-
'
|
|
1012
|
+
'cfke_controlplane',
|
|
1013
|
+
'cfke_connected_nodes',
|
|
1014
|
+
'infra_compute',
|
|
1015
|
+
'infra_storage',
|
|
1016
|
+
'infra_loadbalancing',
|
|
1017
|
+
'infra_traffic',
|
|
1018
|
+
'cfcr_storage'
|
|
836
1019
|
]),
|
|
837
1020
|
node_name: z.string(),
|
|
838
1021
|
sku: z.string(),
|
|
@@ -904,45 +1087,338 @@ export const zUserUpdateInput = z.object({
|
|
|
904
1087
|
'inactive'
|
|
905
1088
|
]).optional()
|
|
906
1089
|
});
|
|
1090
|
+
/**
|
|
1091
|
+
* An array of usage records.
|
|
1092
|
+
*/
|
|
907
1093
|
export const zGetUsageResponse = z.array(zUsage);
|
|
1094
|
+
/**
|
|
1095
|
+
* Current balance of the organization in USD as a floating-point number.
|
|
1096
|
+
*/
|
|
908
1097
|
export const zGetBalanceResponse = z.number();
|
|
1098
|
+
/**
|
|
1099
|
+
* Redacted payment card information.
|
|
1100
|
+
*/
|
|
909
1101
|
export const zGetPaymentMethodResponse = zPaymentMethod;
|
|
1102
|
+
/**
|
|
1103
|
+
* 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.
|
|
1104
|
+
*
|
|
1105
|
+
*/
|
|
910
1106
|
export const zGetPaymentMethodSecretResponse = z.object({
|
|
911
1107
|
id: z.string().optional()
|
|
912
1108
|
});
|
|
1109
|
+
/**
|
|
1110
|
+
* Start date for the usage. Date of oldest data point to retrieve.
|
|
1111
|
+
*/
|
|
1112
|
+
export const zListInvoicesParameterStartDate = z.string();
|
|
1113
|
+
/**
|
|
1114
|
+
* End date for the usage. Date of newest data point to retrieve.
|
|
1115
|
+
*/
|
|
1116
|
+
export const zListInvoicesParameterEndDate = z.string();
|
|
1117
|
+
/**
|
|
1118
|
+
* An array of usage records.
|
|
1119
|
+
*/
|
|
913
1120
|
export const zListInvoicesResponse = z.array(zInvoice);
|
|
1121
|
+
/**
|
|
1122
|
+
* Unique invoice identifier. UUID v4 string in canonical form
|
|
1123
|
+
*/
|
|
1124
|
+
export const zGetInvoiceParameterId = z.string();
|
|
1125
|
+
/**
|
|
1126
|
+
* Returns a single Invoice HTML representation under `html` property.
|
|
1127
|
+
*/
|
|
914
1128
|
export const zGetInvoiceResponse = z.object({
|
|
915
1129
|
html: z.string().optional()
|
|
916
1130
|
});
|
|
1131
|
+
/**
|
|
1132
|
+
* Returns a single object containing organization contact and billing address details.
|
|
1133
|
+
*/
|
|
917
1134
|
export const zGetContactResponse = zBillingContact;
|
|
1135
|
+
export const zUpdateContactData = zBillingContact;
|
|
1136
|
+
/**
|
|
1137
|
+
* Successfully updated. Returns updated organization details.
|
|
1138
|
+
*/
|
|
918
1139
|
export const zUpdateContactResponse = zBillingContact;
|
|
1140
|
+
/**
|
|
1141
|
+
* An array of the applied promotional credits records.
|
|
1142
|
+
*/
|
|
1143
|
+
export const zGetCreditsResponse = z.array(zBillingCredits);
|
|
1144
|
+
export const zRedeemCreditsData = z.object({
|
|
1145
|
+
code: z.string().optional()
|
|
1146
|
+
});
|
|
1147
|
+
/**
|
|
1148
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1149
|
+
*/
|
|
1150
|
+
export const zListChartsParameterClusterId = z.string();
|
|
1151
|
+
/**
|
|
1152
|
+
* An array of charts
|
|
1153
|
+
*/
|
|
1154
|
+
export const zListChartsResponse = z.array(zChart);
|
|
1155
|
+
export const zCreateChartData = zChartCreateInput;
|
|
1156
|
+
/**
|
|
1157
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1158
|
+
*/
|
|
1159
|
+
export const zCreateChartParameterClusterId = z.string();
|
|
1160
|
+
/**
|
|
1161
|
+
* Successfully created. Returns created Chart ID.
|
|
1162
|
+
*/
|
|
1163
|
+
export const zCreateChartResponse = z.string();
|
|
1164
|
+
/**
|
|
1165
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1166
|
+
*/
|
|
1167
|
+
export const zDeleteChartParameterClusterId = z.string();
|
|
1168
|
+
/**
|
|
1169
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1170
|
+
*/
|
|
1171
|
+
export const zDeleteChartParameterChartName = z.string();
|
|
1172
|
+
/**
|
|
1173
|
+
* Successfully deleted.
|
|
1174
|
+
*/
|
|
1175
|
+
export const zDeleteChartResponse = z.string();
|
|
1176
|
+
/**
|
|
1177
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1178
|
+
*/
|
|
1179
|
+
export const zGetChartParameterClusterId = z.string();
|
|
1180
|
+
/**
|
|
1181
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1182
|
+
*/
|
|
1183
|
+
export const zGetChartParameterChartName = z.string();
|
|
1184
|
+
/**
|
|
1185
|
+
* Returns a single object containing chart details.
|
|
1186
|
+
*/
|
|
1187
|
+
export const zGetChartResponse = zChart;
|
|
1188
|
+
export const zUpdateChartData = zChartUpdateInput;
|
|
1189
|
+
/**
|
|
1190
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1191
|
+
*/
|
|
1192
|
+
export const zUpdateChartParameterClusterId = z.string();
|
|
1193
|
+
/**
|
|
1194
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1195
|
+
*/
|
|
1196
|
+
export const zUpdateChartParameterChartName = z.string();
|
|
1197
|
+
/**
|
|
1198
|
+
* Successfully updated.
|
|
1199
|
+
*/
|
|
1200
|
+
export const zUpdateChartResponse = z.string();
|
|
1201
|
+
/**
|
|
1202
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1203
|
+
*/
|
|
1204
|
+
export const zListFleetsParameterClusterId = z.string();
|
|
1205
|
+
/**
|
|
1206
|
+
* An array of fleets
|
|
1207
|
+
*/
|
|
919
1208
|
export const zListFleetsResponse = z.array(zFleet);
|
|
1209
|
+
export const zCreateFleetData = zFleetCreateInput;
|
|
1210
|
+
/**
|
|
1211
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1212
|
+
*/
|
|
1213
|
+
export const zCreateFleetParameterClusterId = z.string();
|
|
1214
|
+
/**
|
|
1215
|
+
* Successfully created. Returns created Fleet ID.
|
|
1216
|
+
*/
|
|
920
1217
|
export const zCreateFleetResponse = z.string();
|
|
1218
|
+
/**
|
|
1219
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1220
|
+
*/
|
|
1221
|
+
export const zDeleteFleetParameterClusterId = z.string();
|
|
1222
|
+
/**
|
|
1223
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
1224
|
+
*/
|
|
1225
|
+
export const zDeleteFleetParameterFleetName = z.string();
|
|
1226
|
+
/**
|
|
1227
|
+
* Successfully deleted.
|
|
1228
|
+
*/
|
|
921
1229
|
export const zDeleteFleetResponse = z.string();
|
|
1230
|
+
/**
|
|
1231
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1232
|
+
*/
|
|
1233
|
+
export const zGetFleetParameterClusterId = z.string();
|
|
1234
|
+
/**
|
|
1235
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
1236
|
+
*/
|
|
1237
|
+
export const zGetFleetParameterFleetName = z.string();
|
|
1238
|
+
/**
|
|
1239
|
+
* Returns a single object containing fleet details.
|
|
1240
|
+
*/
|
|
922
1241
|
export const zGetFleetResponse = zFleet;
|
|
1242
|
+
export const zUpdateFleetData = zFleetUpdateInput;
|
|
1243
|
+
/**
|
|
1244
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1245
|
+
*/
|
|
1246
|
+
export const zUpdateFleetParameterClusterId = z.string();
|
|
1247
|
+
/**
|
|
1248
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
1249
|
+
*/
|
|
1250
|
+
export const zUpdateFleetParameterFleetName = z.string();
|
|
1251
|
+
/**
|
|
1252
|
+
* Successfully updated.
|
|
1253
|
+
*/
|
|
923
1254
|
export const zUpdateFleetResponse = z.string();
|
|
1255
|
+
/**
|
|
1256
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1257
|
+
*/
|
|
1258
|
+
export const zQueryClusterParameterClusterId = z.string();
|
|
1259
|
+
/**
|
|
1260
|
+
* An array of clusters
|
|
1261
|
+
*/
|
|
924
1262
|
export const zListClustersResponse = z.array(zCluster);
|
|
1263
|
+
export const zCreateClusterData = zClusterCreateInput;
|
|
1264
|
+
/**
|
|
1265
|
+
* Successfully created. Returns created Cluster ID.
|
|
1266
|
+
*/
|
|
925
1267
|
export const zCreateClusterResponse = z.string();
|
|
1268
|
+
/**
|
|
1269
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1270
|
+
*/
|
|
1271
|
+
export const zDeleteClusterParameterClusterId = z.string();
|
|
1272
|
+
/**
|
|
1273
|
+
* Successfully deleted.
|
|
1274
|
+
*/
|
|
926
1275
|
export const zDeleteClusterResponse = z.string();
|
|
1276
|
+
/**
|
|
1277
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1278
|
+
*/
|
|
1279
|
+
export const zGetClusterParameterClusterId = z.string();
|
|
1280
|
+
/**
|
|
1281
|
+
* Returns a single object containing cluster details.
|
|
1282
|
+
*/
|
|
927
1283
|
export const zGetClusterResponse = zCluster;
|
|
1284
|
+
export const zUpdateClusterData = zClusterUpdateInput;
|
|
1285
|
+
/**
|
|
1286
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1287
|
+
*/
|
|
1288
|
+
export const zUpdateClusterParameterClusterId = z.string();
|
|
1289
|
+
/**
|
|
1290
|
+
* Successfully updated. Returns updated cluster details.
|
|
1291
|
+
*/
|
|
928
1292
|
export const zUpdateClusterResponse = zCluster;
|
|
1293
|
+
/**
|
|
1294
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1295
|
+
*/
|
|
1296
|
+
export const zGetJoinInformationParameterClusterId = z.string();
|
|
1297
|
+
/**
|
|
1298
|
+
* An object of cluster join information
|
|
1299
|
+
*/
|
|
929
1300
|
export const zGetJoinInformationResponse = zCluster;
|
|
1301
|
+
/**
|
|
1302
|
+
* An array of invites
|
|
1303
|
+
*/
|
|
930
1304
|
export const zListInvitesResponse = z.array(zInvite);
|
|
1305
|
+
export const zCreateInviteData = z.object({
|
|
1306
|
+
email: z.string().optional()
|
|
1307
|
+
});
|
|
1308
|
+
/**
|
|
1309
|
+
* Successfully created. Returns created invite details.
|
|
1310
|
+
*/
|
|
931
1311
|
export const zCreateInviteResponse = zInvite;
|
|
1312
|
+
/**
|
|
1313
|
+
* Invitation code
|
|
1314
|
+
*/
|
|
1315
|
+
export const zGetInviteParameterCode = z.string();
|
|
1316
|
+
/**
|
|
1317
|
+
* Returns a single object containing invite details.
|
|
1318
|
+
*/
|
|
932
1319
|
export const zGetInviteResponse = zInvite;
|
|
1320
|
+
/**
|
|
1321
|
+
* User email address
|
|
1322
|
+
*/
|
|
1323
|
+
export const zDeleteInviteParameterEmail = z.string();
|
|
1324
|
+
/**
|
|
1325
|
+
* An array of chart listings in the marketplace.
|
|
1326
|
+
*/
|
|
1327
|
+
export const zListMarketplaceChartsResponse = z.array(zMarketplaceListing);
|
|
1328
|
+
/**
|
|
1329
|
+
* Unique identifier of the chart listing in the marketplace.
|
|
1330
|
+
*/
|
|
1331
|
+
export const zGetMarketplaceChartParameterListingId = z.string();
|
|
1332
|
+
/**
|
|
1333
|
+
* Returns an object containing the chart listing details.
|
|
1334
|
+
*/
|
|
1335
|
+
export const zGetMarketplaceChartResponse = zMarketplaceListing;
|
|
1336
|
+
/**
|
|
1337
|
+
* Returns a single object containing organization details.
|
|
1338
|
+
*/
|
|
933
1339
|
export const zGetOrganizationResponse = zOrganization;
|
|
1340
|
+
export const zCreateOrganizationData = zOrganizationCreateInput;
|
|
1341
|
+
/**
|
|
1342
|
+
* Returns a list of access token details with masked secrets.
|
|
1343
|
+
*/
|
|
934
1344
|
export const zListTokensResponse = z.array(zToken);
|
|
1345
|
+
export const zCreateTokenData = zTokenCreateInput;
|
|
1346
|
+
/**
|
|
1347
|
+
* Successfully created. Returns created token details with unmasked/raw secret.
|
|
1348
|
+
*/
|
|
935
1349
|
export const zCreateTokenResponse = zToken;
|
|
1350
|
+
/**
|
|
1351
|
+
* Generated unique identifier of the access token.
|
|
1352
|
+
*/
|
|
1353
|
+
export const zDeleteTokenParameterTokenId = z.string();
|
|
1354
|
+
/**
|
|
1355
|
+
* Generated unique identifier of the access token.
|
|
1356
|
+
*/
|
|
1357
|
+
export const zGetTokenParameterTokenId = z.string();
|
|
1358
|
+
/**
|
|
1359
|
+
* Returns access token details with masked secret.
|
|
1360
|
+
*/
|
|
936
1361
|
export const zGetTokenResponse = zToken;
|
|
1362
|
+
export const zUpdateTokenData = zTokenUpdateInput;
|
|
1363
|
+
/**
|
|
1364
|
+
* Generated unique identifier of the access token.
|
|
1365
|
+
*/
|
|
1366
|
+
export const zUpdateTokenParameterTokenId = z.string();
|
|
1367
|
+
/**
|
|
1368
|
+
* Successfully updated. Returns updated token details with masked secret.
|
|
1369
|
+
*/
|
|
937
1370
|
export const zUpdateTokenResponse = zToken;
|
|
1371
|
+
/**
|
|
1372
|
+
* Generated unique identifier of the access token.
|
|
1373
|
+
*/
|
|
1374
|
+
export const zRegenerateTokenParameterTokenId = z.string();
|
|
1375
|
+
/**
|
|
1376
|
+
* Successfully updated. Returns updated token details with unmasked / raw secret.
|
|
1377
|
+
*/
|
|
938
1378
|
export const zRegenerateTokenResponse = zToken;
|
|
1379
|
+
/**
|
|
1380
|
+
* User email address.
|
|
1381
|
+
*/
|
|
1382
|
+
export const zListUserOrganizationsParameterEmail = z.string();
|
|
1383
|
+
/**
|
|
1384
|
+
* An array of organizations the user belongs to.
|
|
1385
|
+
*/
|
|
939
1386
|
export const zListUserOrganizationsResponse = z.array(z.object({
|
|
940
1387
|
realm: z.string().optional(),
|
|
941
1388
|
displayName: z.string().optional()
|
|
942
1389
|
}));
|
|
1390
|
+
/**
|
|
1391
|
+
* An array of users
|
|
1392
|
+
*/
|
|
943
1393
|
export const zListUsersResponse = z.array(zUser);
|
|
1394
|
+
export const zCreateUserData = zUserCreateInput;
|
|
1395
|
+
/**
|
|
1396
|
+
* Successfully created. Returns created user details.
|
|
1397
|
+
*/
|
|
944
1398
|
export const zCreateUserResponse = zUser;
|
|
1399
|
+
/**
|
|
1400
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1401
|
+
*/
|
|
1402
|
+
export const zDeleteUserParameterUserId = z.string();
|
|
1403
|
+
/**
|
|
1404
|
+
* User profile information
|
|
1405
|
+
*/
|
|
945
1406
|
export const zDeleteUserResponse = zUser;
|
|
1407
|
+
/**
|
|
1408
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1409
|
+
*/
|
|
1410
|
+
export const zGetUserParameterUserId = z.string();
|
|
1411
|
+
/**
|
|
1412
|
+
* User profile information
|
|
1413
|
+
*/
|
|
946
1414
|
export const zGetUserResponse = zUser;
|
|
1415
|
+
export const zUpdateUserData = zUserUpdateInput;
|
|
1416
|
+
/**
|
|
1417
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1418
|
+
*/
|
|
1419
|
+
export const zUpdateUserParameterUserId = z.string();
|
|
1420
|
+
/**
|
|
1421
|
+
* Successfully created. Returns created user details.
|
|
1422
|
+
*/
|
|
947
1423
|
export const zUpdateUserResponse = zUser;
|
|
948
1424
|
//# sourceMappingURL=zod.gen.js.map
|