@cloudfleet/sdk 0.0.1-2bdeb58 → 0.0.1-2caaedc
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.gen.d.ts +3 -0
- package/dist/client/client.gen.d.ts.map +1 -0
- package/dist/client/client.gen.js +236 -0
- package/dist/client/client.gen.js.map +1 -0
- package/dist/client/index.d.ts +9 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +7 -0
- package/dist/client/index.js.map +1 -0
- package/dist/client/types.gen.d.ts +118 -0
- package/dist/client/types.gen.d.ts.map +1 -0
- package/dist/client/types.gen.js +3 -0
- package/dist/client/types.gen.js.map +1 -0
- package/dist/client/utils.gen.d.ts +34 -0
- package/dist/client/utils.gen.d.ts.map +1 -0
- package/dist/client/utils.gen.js +229 -0
- package/dist/client/utils.gen.js.map +1 -0
- package/dist/client.gen.d.ts +4 -4
- package/dist/client.gen.d.ts.map +1 -1
- package/dist/client.gen.js +2 -4
- package/dist/client.gen.js.map +1 -1
- package/dist/core/auth.gen.d.ts +19 -0
- package/dist/core/auth.gen.d.ts.map +1 -0
- package/dist/core/auth.gen.js +15 -0
- package/dist/core/auth.gen.js.map +1 -0
- package/dist/core/bodySerializer.gen.d.ts +26 -0
- package/dist/core/bodySerializer.gen.d.ts.map +1 -0
- package/dist/core/bodySerializer.gen.js +58 -0
- package/dist/core/bodySerializer.gen.js.map +1 -0
- package/dist/core/params.gen.d.ts +44 -0
- package/dist/core/params.gen.d.ts.map +1 -0
- package/dist/core/params.gen.js +101 -0
- package/dist/core/params.gen.js.map +1 -0
- package/dist/core/pathSerializer.gen.d.ts +34 -0
- package/dist/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/core/pathSerializer.gen.js +107 -0
- package/dist/core/pathSerializer.gen.js.map +1 -0
- package/dist/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/core/queryKeySerializer.gen.js +93 -0
- package/dist/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/core/serverSentEvents.gen.d.ts +72 -0
- package/dist/core/serverSentEvents.gen.d.ts.map +1 -0
- package/dist/core/serverSentEvents.gen.js +134 -0
- package/dist/core/serverSentEvents.gen.js.map +1 -0
- package/dist/core/types.gen.d.ts +79 -0
- package/dist/core/types.gen.d.ts.map +1 -0
- package/dist/core/types.gen.js +3 -0
- package/dist/core/types.gen.js.map +1 -0
- package/dist/core/utils.gen.d.ts +20 -0
- package/dist/core/utils.gen.d.ts.map +1 -0
- package/dist/core/utils.gen.js +88 -0
- package/dist/core/utils.gen.js.map +1 -0
- package/dist/schemas.gen.d.ts +703 -594
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +1217 -684
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +141 -76
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +171 -185
- package/dist/sdk.gen.js.map +1 -1
- package/dist/services/kubernetes/api.d.ts +12 -12
- package/dist/types.gen.d.ts +613 -362
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1618 -2208
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +517 -773
- package/dist/zod.gen.js.map +1 -1
- package/package.json +10 -7
package/dist/zod.gen.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
-
import
|
|
2
|
+
import * as z from 'zod';
|
|
3
3
|
export const zBillingContact = z.object({
|
|
4
4
|
company: z.string().min(2).max(120).regex(/^(?!\s)(?!.*\s$)(?=.*[a-zA-ZÆÐƎƏƐƔIJŊŒẞÞǷȜæðǝəɛɣijŋœĸſßþƿȝĄƁÇĐƊĘĦĮƘŁØƠŞȘŢȚŦŲƯY̨Ƴąɓçđɗęħįƙłøơşșţțŧųưy̨ƴÁÀÂÄǍĂĀÃÅǺĄÆǼǢƁĆĊĈČÇĎḌĐƊÐÉÈĖÊËĚĔĒĘẸƎƏƐĠĜǦĞĢƔáàâäǎăāãåǻąæǽǣɓćċĉčçďḍđɗðéèėêëěĕēęẹǝəɛġĝǧğģɣĤḤĦIÍÌİÎÏǏĬĪĨĮỊIJĴĶƘĹĻŁĽĿʼNŃN̈ŇÑŅŊÓÒÔÖǑŎŌÕŐỌØǾƠŒĥḥħıíìiîïǐĭīĩįịijĵķƙĸĺļłľŀʼnńn̈ňñņŋóòôöǒŏōõőọøǿơœŔŘŖŚŜŠŞȘṢẞŤŢṬŦÞÚÙÛÜǓŬŪŨŰŮŲỤƯẂẀŴẄǷÝỲŶŸȲỸƳŹŻŽẒŕřŗſśŝšşșṣßťţṭŧþúùûüǔŭūũűůųụưẃẁŵẅƿýỳŷÿȳỹƴźżžẓ0-9])[a-zA-ZÆÐƎƏƐƔIJŊŒẞÞǷȜæðǝəɛɣijŋœĸſßþƿȝĄƁÇĐƊĘĦĮƘŁØƠŞȘŢȚŦŲƯY̨Ƴąɓçđɗęħįƙłøơşșţțŧųưy̨ƴÁÀÂÄǍĂĀÃÅǺĄÆǼǢƁĆĊĈČÇĎḌĐƊÐÉÈĖÊËĚĔĒĘẸƎƏƐĠĜǦĞĢƔáàâäǎăāãåǻąæǽǣɓćċĉčçďḍđɗðéèėêëěĕēęẹǝəɛġĝǧğģɣĤḤĦIÍÌİÎÏǏĬĪĨĮỊIJĴĶƘĹĻŁĽĿʼNŃN̈ŇÑŅŊÓÒÔÖǑŎŌÕŐỌØǾƠŒĥḥħıíìiîïǐĭīĩįịijĵķƙĸĺļłľŀʼnńn̈ňñņŋóòôöǒŏōõőọøǿơœŔŘŖŚŜŠŞȘṢẞŤŢṬŦÞÚÙÛÜǓŬŪŨŰŮŲỤƯẂẀŴẄǷÝỲŶŸȲỸƳŹŻŽẒŕřŗſśŝšşșṣßťţṭŧþúùûüǔŭūũűůųụưẃẁŵẅƿýỳŷÿȳỹƴźżžẓ0-9 -.]{2,}$/).optional(),
|
|
5
5
|
address1: z.string().optional(),
|
|
@@ -9,9 +9,8 @@ export const zBillingContact = z.object({
|
|
|
9
9
|
state: z.string().optional(),
|
|
10
10
|
country: z.string().optional(),
|
|
11
11
|
phone: z.string().optional(),
|
|
12
|
-
email: z.
|
|
13
|
-
|
|
14
|
-
last_name: z.string(),
|
|
12
|
+
email: z.email(),
|
|
13
|
+
individual_name: z.string(),
|
|
15
14
|
tax_id: z.string().optional(),
|
|
16
15
|
tax_id_type: z.enum([
|
|
17
16
|
'ad_nrt',
|
|
@@ -20,11 +19,14 @@ export const zBillingContact = z.object({
|
|
|
20
19
|
'am_tin',
|
|
21
20
|
'ao_tin',
|
|
22
21
|
'ar_cuit',
|
|
22
|
+
'at_vat',
|
|
23
23
|
'au_abn',
|
|
24
24
|
'au_arn',
|
|
25
25
|
'ba_tin',
|
|
26
26
|
'bb_tin',
|
|
27
|
+
'be_vat',
|
|
27
28
|
'bg_uic',
|
|
29
|
+
'bg_vat',
|
|
28
30
|
'bh_vat',
|
|
29
31
|
'bo_tin',
|
|
30
32
|
'br_cnpj',
|
|
@@ -44,23 +46,35 @@ export const zBillingContact = z.object({
|
|
|
44
46
|
'cn_tin',
|
|
45
47
|
'co_nit',
|
|
46
48
|
'cr_tin',
|
|
49
|
+
'cy_vat',
|
|
50
|
+
'cz_vat',
|
|
47
51
|
'de_stn',
|
|
52
|
+
'de_vat',
|
|
53
|
+
'dk_vat',
|
|
48
54
|
'do_rcn',
|
|
49
55
|
'ec_ruc',
|
|
56
|
+
'ee_vat',
|
|
50
57
|
'eg_tin',
|
|
51
58
|
'es_cif',
|
|
59
|
+
'es_vat',
|
|
52
60
|
'eu_oss_vat',
|
|
53
|
-
'
|
|
61
|
+
'fi_vat',
|
|
62
|
+
'fr_vat',
|
|
54
63
|
'gb_vat',
|
|
55
64
|
'ge_vat',
|
|
56
65
|
'gn_nif',
|
|
66
|
+
'gr_vat',
|
|
57
67
|
'hk_br',
|
|
58
68
|
'hr_oib',
|
|
69
|
+
'hr_vat',
|
|
59
70
|
'hu_tin',
|
|
71
|
+
'hu_vat',
|
|
60
72
|
'id_npwp',
|
|
73
|
+
'ie_vat',
|
|
61
74
|
'il_vat',
|
|
62
75
|
'in_gst',
|
|
63
76
|
'is_vat',
|
|
77
|
+
'it_vat',
|
|
64
78
|
'jp_cn',
|
|
65
79
|
'jp_rn',
|
|
66
80
|
'jp_trn',
|
|
@@ -70,16 +84,21 @@ export const zBillingContact = z.object({
|
|
|
70
84
|
'kz_bin',
|
|
71
85
|
'li_uid',
|
|
72
86
|
'li_vat',
|
|
87
|
+
'lt_vat',
|
|
88
|
+
'lu_vat',
|
|
89
|
+
'lv_vat',
|
|
73
90
|
'ma_vat',
|
|
74
91
|
'md_vat',
|
|
75
92
|
'me_pib',
|
|
76
93
|
'mk_vat',
|
|
77
94
|
'mr_nif',
|
|
95
|
+
'mt_vat',
|
|
78
96
|
'mx_rfc',
|
|
79
97
|
'my_frp',
|
|
80
98
|
'my_itn',
|
|
81
99
|
'my_sst',
|
|
82
100
|
'ng_tin',
|
|
101
|
+
'nl_vat',
|
|
83
102
|
'no_vat',
|
|
84
103
|
'no_voec',
|
|
85
104
|
'np_pan',
|
|
@@ -87,14 +106,20 @@ export const zBillingContact = z.object({
|
|
|
87
106
|
'om_vat',
|
|
88
107
|
'pe_ruc',
|
|
89
108
|
'ph_tin',
|
|
109
|
+
'pl_vat',
|
|
110
|
+
'pt_vat',
|
|
90
111
|
'ro_tin',
|
|
112
|
+
'ro_vat',
|
|
91
113
|
'rs_pib',
|
|
92
114
|
'ru_inn',
|
|
93
115
|
'ru_kpp',
|
|
94
116
|
'sa_vat',
|
|
117
|
+
'se_vat',
|
|
95
118
|
'sg_gst',
|
|
96
119
|
'sg_uen',
|
|
97
120
|
'si_tin',
|
|
121
|
+
'si_vat',
|
|
122
|
+
'sk_vat',
|
|
98
123
|
'sn_ninea',
|
|
99
124
|
'sr_fin',
|
|
100
125
|
'sv_nit',
|
|
@@ -111,23 +136,21 @@ export const zBillingContact = z.object({
|
|
|
111
136
|
'uz_vat',
|
|
112
137
|
've_rif',
|
|
113
138
|
'vn_tin',
|
|
139
|
+
'xi_vat',
|
|
114
140
|
'za_vat',
|
|
115
141
|
'zm_tin',
|
|
116
|
-
'zw_tin'
|
|
142
|
+
'zw_tin',
|
|
143
|
+
''
|
|
117
144
|
]).optional()
|
|
118
145
|
});
|
|
119
146
|
export const zBillingCredits = z.object({
|
|
120
147
|
id: z.string().optional(),
|
|
121
|
-
|
|
148
|
+
type: z.enum(['credit', 'discount']),
|
|
149
|
+
date_start: z.iso.datetime(),
|
|
150
|
+
date_end: z.iso.datetime().optional(),
|
|
122
151
|
code: z.string(),
|
|
123
152
|
description: z.string().optional(),
|
|
124
|
-
|
|
125
|
-
type: z.enum([
|
|
126
|
-
'credit',
|
|
127
|
-
'discount'
|
|
128
|
-
]),
|
|
129
|
-
value: z.number(),
|
|
130
|
-
billing_period: z.string().datetime(),
|
|
153
|
+
value_total: z.number(),
|
|
131
154
|
value_remaining: z.number().optional()
|
|
132
155
|
});
|
|
133
156
|
export const zChartCreateInput = z.object({
|
|
@@ -156,7 +179,8 @@ export const zChart = z.object({
|
|
|
156
179
|
'UninstallFailed',
|
|
157
180
|
'ArtifactFailed',
|
|
158
181
|
'DependencyNotReady',
|
|
159
|
-
'Progressing'
|
|
182
|
+
'Progressing',
|
|
183
|
+
'SourceNotReady'
|
|
160
184
|
]),
|
|
161
185
|
version_current: z.string(),
|
|
162
186
|
created_at: z.string(),
|
|
@@ -169,25 +193,31 @@ export const zChartUpdateInput = z.object({
|
|
|
169
193
|
});
|
|
170
194
|
export const zClusterCreateInput = z.object({
|
|
171
195
|
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
196
|
+
tier: z.enum(['basic', 'pro']),
|
|
172
197
|
region: z.enum([
|
|
173
|
-
'staging',
|
|
174
|
-
'northamerica-central-1'
|
|
198
|
+
'staging-1a',
|
|
199
|
+
'northamerica-central-1',
|
|
200
|
+
'europe-central-1a',
|
|
201
|
+
'northamerica-central-1a'
|
|
175
202
|
]).optional(),
|
|
176
|
-
|
|
177
|
-
'
|
|
178
|
-
'
|
|
179
|
-
|
|
180
|
-
|
|
203
|
+
version_channel: z.enum([
|
|
204
|
+
'1.x.x-cfke.x',
|
|
205
|
+
'1.31.x-cfke.x',
|
|
206
|
+
'1.32.x-cfke.x',
|
|
207
|
+
'1.33.x-cfke.x'
|
|
208
|
+
]).optional()
|
|
181
209
|
});
|
|
182
210
|
export const zClusterJoinInformation = z.object({
|
|
183
211
|
certificate_authority: z.string(),
|
|
184
|
-
endpoint: z.
|
|
212
|
+
endpoint: z.url(),
|
|
213
|
+
cluster_dns: z.string(),
|
|
185
214
|
auth_key: z.string(),
|
|
186
215
|
bootstrap_token: z.string(),
|
|
187
216
|
versions: z.object({
|
|
188
217
|
kubernetes: z.string(),
|
|
189
218
|
tailscale: z.string(),
|
|
190
|
-
containerd: z.string()
|
|
219
|
+
containerd: z.string(),
|
|
220
|
+
nvidia_driver: z.string()
|
|
191
221
|
}),
|
|
192
222
|
third_party_api_access_config: z.object({
|
|
193
223
|
metadata_url: z.string(),
|
|
@@ -197,18 +227,17 @@ export const zClusterJoinInformation = z.object({
|
|
|
197
227
|
});
|
|
198
228
|
export const zCluster = z.object({
|
|
199
229
|
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
230
|
+
tier: z.enum(['basic', 'pro']),
|
|
200
231
|
region: z.enum([
|
|
201
|
-
'staging',
|
|
202
|
-
'northamerica-central-1'
|
|
232
|
+
'staging-1a',
|
|
233
|
+
'northamerica-central-1',
|
|
234
|
+
'europe-central-1a',
|
|
235
|
+
'northamerica-central-1a'
|
|
203
236
|
]).optional(),
|
|
204
|
-
|
|
205
|
-
'basic',
|
|
206
|
-
'pro'
|
|
207
|
-
]),
|
|
208
|
-
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'),
|
|
209
|
-
id: z.string().uuid(),
|
|
237
|
+
id: z.uuid(),
|
|
210
238
|
status: z.enum([
|
|
211
239
|
'active',
|
|
240
|
+
'disabled',
|
|
212
241
|
'deleted',
|
|
213
242
|
'creating',
|
|
214
243
|
'deployed',
|
|
@@ -216,19 +245,19 @@ export const zCluster = z.object({
|
|
|
216
245
|
'updating'
|
|
217
246
|
]),
|
|
218
247
|
endpoint: z.union([
|
|
219
|
-
z.
|
|
220
|
-
z.enum([
|
|
221
|
-
''
|
|
222
|
-
])
|
|
248
|
+
z.url(),
|
|
249
|
+
z.enum([''])
|
|
223
250
|
]).optional(),
|
|
224
251
|
certificate_ca: z.string().optional(),
|
|
225
252
|
version_current: z.string().optional(),
|
|
226
253
|
created_at: z.string().optional(),
|
|
227
254
|
updated_at: z.string().optional(),
|
|
228
|
-
ready: z.boolean().optional()
|
|
255
|
+
ready: z.boolean().optional(),
|
|
256
|
+
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()
|
|
229
257
|
});
|
|
230
258
|
export const zClusterUpdateInput = z.object({
|
|
231
259
|
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/).optional(),
|
|
260
|
+
tier: z.enum(['basic', 'pro']),
|
|
232
261
|
version_channel: z.string().regex(/^(x|X|0|[1-9]\d*)\.(x|X|0|[1-9]\d*)\.(x|X|0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/).optional()
|
|
233
262
|
});
|
|
234
263
|
export const zFleetCreateInput = z.object({
|
|
@@ -239,25 +268,15 @@ export const zFleetCreateInput = z.object({
|
|
|
239
268
|
enabled: z.boolean().optional().default(true),
|
|
240
269
|
project: z.string()
|
|
241
270
|
}).optional(),
|
|
242
|
-
hetzner: z.
|
|
243
|
-
z.
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
}),
|
|
247
|
-
z.object({
|
|
248
|
-
apiKey: z.string().optional(),
|
|
249
|
-
enabled: z.boolean().optional().default(true)
|
|
250
|
-
})
|
|
251
|
-
]).optional(),
|
|
271
|
+
hetzner: z.object({
|
|
272
|
+
enabled: z.boolean().optional().default(true),
|
|
273
|
+
apiKey: z.string()
|
|
274
|
+
}).optional(),
|
|
252
275
|
aws: z.object({
|
|
253
276
|
enabled: z.boolean().optional().default(true),
|
|
254
277
|
controllerRoleArn: z.string()
|
|
255
278
|
}).optional(),
|
|
256
|
-
id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
|
|
257
|
-
type: z.enum([
|
|
258
|
-
'managed',
|
|
259
|
-
'connected'
|
|
260
|
-
])
|
|
279
|
+
id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
|
|
261
280
|
});
|
|
262
281
|
export const zFleet = z.object({
|
|
263
282
|
limits: z.object({
|
|
@@ -267,25 +286,15 @@ export const zFleet = z.object({
|
|
|
267
286
|
enabled: z.boolean().optional().default(true),
|
|
268
287
|
project: z.string()
|
|
269
288
|
}).optional(),
|
|
270
|
-
hetzner: z.
|
|
271
|
-
z.
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
}),
|
|
275
|
-
z.object({
|
|
276
|
-
apiKey: z.string().optional(),
|
|
277
|
-
enabled: z.boolean().optional().default(true)
|
|
278
|
-
})
|
|
279
|
-
]).optional(),
|
|
289
|
+
hetzner: z.object({
|
|
290
|
+
enabled: z.boolean().optional().default(true),
|
|
291
|
+
apiKey: z.string()
|
|
292
|
+
}).optional(),
|
|
280
293
|
aws: z.object({
|
|
281
294
|
enabled: z.boolean().optional().default(true),
|
|
282
295
|
controllerRoleArn: z.string()
|
|
283
296
|
}).optional(),
|
|
284
|
-
id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
|
|
285
|
-
type: z.enum([
|
|
286
|
-
'managed',
|
|
287
|
-
'connected'
|
|
288
|
-
])
|
|
297
|
+
id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
|
|
289
298
|
});
|
|
290
299
|
export const zFleetUpdateInput = z.object({
|
|
291
300
|
limits: z.object({
|
|
@@ -295,16 +304,10 @@ export const zFleetUpdateInput = z.object({
|
|
|
295
304
|
enabled: z.boolean().optional().default(true),
|
|
296
305
|
project: z.string()
|
|
297
306
|
}).optional(),
|
|
298
|
-
hetzner: z.
|
|
299
|
-
z.
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
}),
|
|
303
|
-
z.object({
|
|
304
|
-
apiKey: z.string().optional(),
|
|
305
|
-
enabled: z.boolean().optional().default(true)
|
|
306
|
-
})
|
|
307
|
-
]).optional(),
|
|
307
|
+
hetzner: z.object({
|
|
308
|
+
enabled: z.boolean().optional().default(true),
|
|
309
|
+
apiKey: z.string()
|
|
310
|
+
}).optional(),
|
|
308
311
|
aws: z.object({
|
|
309
312
|
enabled: z.boolean().optional().default(true),
|
|
310
313
|
controllerRoleArn: z.string()
|
|
@@ -312,634 +315,74 @@ export const zFleetUpdateInput = z.object({
|
|
|
312
315
|
});
|
|
313
316
|
export const zInvite = z.object({
|
|
314
317
|
id: z.string().optional(),
|
|
315
|
-
organization_id: z.
|
|
316
|
-
date_created: z.
|
|
317
|
-
email: z.
|
|
318
|
+
organization_id: z.uuid().optional(),
|
|
319
|
+
date_created: z.iso.datetime(),
|
|
320
|
+
email: z.email().optional(),
|
|
318
321
|
code: z.string().optional()
|
|
319
322
|
});
|
|
320
323
|
export const zInvoice = z.object({
|
|
321
|
-
id: z.string().
|
|
322
|
-
|
|
323
|
-
status: z.
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
'AOA',
|
|
336
|
-
'ARS',
|
|
337
|
-
'AUD',
|
|
338
|
-
'AWG',
|
|
339
|
-
'AZN',
|
|
340
|
-
'BAM',
|
|
341
|
-
'BBD',
|
|
342
|
-
'BDT',
|
|
343
|
-
'BGN',
|
|
344
|
-
'BHD',
|
|
345
|
-
'BIF',
|
|
346
|
-
'BMD',
|
|
347
|
-
'BND',
|
|
348
|
-
'BOB',
|
|
349
|
-
'BRL',
|
|
350
|
-
'BSD',
|
|
351
|
-
'BTN',
|
|
352
|
-
'BWP',
|
|
353
|
-
'BYR',
|
|
354
|
-
'BZD',
|
|
355
|
-
'CAD',
|
|
356
|
-
'CDF',
|
|
357
|
-
'CHF',
|
|
358
|
-
'CLP',
|
|
359
|
-
'CNY',
|
|
360
|
-
'COP',
|
|
361
|
-
'CRC',
|
|
362
|
-
'CUC',
|
|
363
|
-
'CUP',
|
|
364
|
-
'CVE',
|
|
365
|
-
'CZK',
|
|
366
|
-
'DJF',
|
|
367
|
-
'DKK',
|
|
368
|
-
'DOP',
|
|
369
|
-
'DZD',
|
|
370
|
-
'EGP',
|
|
371
|
-
'ERN',
|
|
372
|
-
'ETB',
|
|
373
|
-
'EUR',
|
|
374
|
-
'FJD',
|
|
375
|
-
'FKP',
|
|
376
|
-
'GBP',
|
|
377
|
-
'GEL',
|
|
378
|
-
'GGP',
|
|
379
|
-
'GHS',
|
|
380
|
-
'GIP',
|
|
381
|
-
'GMD',
|
|
382
|
-
'GNF',
|
|
383
|
-
'GTQ',
|
|
384
|
-
'GYD',
|
|
385
|
-
'HKD',
|
|
386
|
-
'HNL',
|
|
387
|
-
'HRK',
|
|
388
|
-
'HTG',
|
|
389
|
-
'HUF',
|
|
390
|
-
'IDR',
|
|
391
|
-
'ILS',
|
|
392
|
-
'IMP',
|
|
393
|
-
'INR',
|
|
394
|
-
'IQD',
|
|
395
|
-
'IRR',
|
|
396
|
-
'ISK',
|
|
397
|
-
'JEP',
|
|
398
|
-
'JMD',
|
|
399
|
-
'JOD',
|
|
400
|
-
'JPY',
|
|
401
|
-
'KES',
|
|
402
|
-
'KGS',
|
|
403
|
-
'KHR',
|
|
404
|
-
'KMF',
|
|
405
|
-
'KPW',
|
|
406
|
-
'KRW',
|
|
407
|
-
'KWD',
|
|
408
|
-
'KYD',
|
|
409
|
-
'KZT',
|
|
410
|
-
'LAK',
|
|
411
|
-
'LBP',
|
|
412
|
-
'LKR',
|
|
413
|
-
'LRD',
|
|
414
|
-
'LSL',
|
|
415
|
-
'LTL',
|
|
416
|
-
'LVL',
|
|
417
|
-
'LYD',
|
|
418
|
-
'MAD',
|
|
419
|
-
'MDL',
|
|
420
|
-
'MGA',
|
|
421
|
-
'MKD',
|
|
422
|
-
'MMK',
|
|
423
|
-
'MNT',
|
|
424
|
-
'MOP',
|
|
425
|
-
'MRO',
|
|
426
|
-
'MUR',
|
|
427
|
-
'MVR',
|
|
428
|
-
'MWK',
|
|
429
|
-
'MXN',
|
|
430
|
-
'MYR',
|
|
431
|
-
'MZN',
|
|
432
|
-
'NAD',
|
|
433
|
-
'NGN',
|
|
434
|
-
'NIO',
|
|
435
|
-
'NOK',
|
|
436
|
-
'NPR',
|
|
437
|
-
'NZD',
|
|
438
|
-
'OMR',
|
|
439
|
-
'PAB',
|
|
440
|
-
'PEN',
|
|
441
|
-
'PGK',
|
|
442
|
-
'PHP',
|
|
443
|
-
'PKR',
|
|
444
|
-
'PLN',
|
|
445
|
-
'PYG',
|
|
446
|
-
'QAR',
|
|
447
|
-
'RON',
|
|
448
|
-
'RSD',
|
|
449
|
-
'RUB',
|
|
450
|
-
'RWF',
|
|
451
|
-
'SAR',
|
|
452
|
-
'SBD',
|
|
453
|
-
'SCR',
|
|
454
|
-
'SDG',
|
|
455
|
-
'SEK',
|
|
456
|
-
'SGD',
|
|
457
|
-
'SHP',
|
|
458
|
-
'SLL',
|
|
459
|
-
'SOS',
|
|
460
|
-
'SPL',
|
|
461
|
-
'SRD',
|
|
462
|
-
'STD',
|
|
463
|
-
'SVC',
|
|
464
|
-
'SYP',
|
|
465
|
-
'SZL',
|
|
466
|
-
'THB',
|
|
467
|
-
'TJS',
|
|
468
|
-
'TMT',
|
|
469
|
-
'TND',
|
|
470
|
-
'TOP',
|
|
471
|
-
'TRY',
|
|
472
|
-
'TTD',
|
|
473
|
-
'TVD',
|
|
474
|
-
'TWD',
|
|
475
|
-
'TZS',
|
|
476
|
-
'UAH',
|
|
477
|
-
'UGX',
|
|
478
|
-
'USD',
|
|
479
|
-
'UYU',
|
|
480
|
-
'UZS',
|
|
481
|
-
'VEF',
|
|
482
|
-
'VND',
|
|
483
|
-
'VUV',
|
|
484
|
-
'WST',
|
|
485
|
-
'XAF',
|
|
486
|
-
'XCD',
|
|
487
|
-
'XDR',
|
|
488
|
-
'XOF',
|
|
489
|
-
'XPF',
|
|
490
|
-
'YER',
|
|
491
|
-
'ZAR',
|
|
492
|
-
'ZMW',
|
|
493
|
-
'ZWD',
|
|
494
|
-
'BTC'
|
|
495
|
-
]).optional(),
|
|
496
|
-
creditAdj: z.number().optional(),
|
|
497
|
-
refundAdj: z.number().optional(),
|
|
498
|
-
invoiceDate: z.string().optional(),
|
|
499
|
-
targetDate: z.string().optional(),
|
|
500
|
-
invoiceNumber: z.string().optional(),
|
|
501
|
-
balance: z.number().optional(),
|
|
502
|
-
bundleKeys: z.string().optional(),
|
|
503
|
-
credits: z.array(z.object({
|
|
504
|
-
id: z.string().uuid().optional(),
|
|
505
|
-
linkedInvoiceItemId: z.string().uuid().optional(),
|
|
506
|
-
productName: z.string().optional(),
|
|
507
|
-
planName: z.string().optional(),
|
|
508
|
-
phaseName: z.string().optional(),
|
|
509
|
-
usageName: z.string().optional(),
|
|
510
|
-
prettyProductName: z.string().optional(),
|
|
511
|
-
prettyPlanName: z.string().optional(),
|
|
512
|
-
prettyPhaseName: z.string().optional(),
|
|
513
|
-
prettyUsageName: z.string().optional(),
|
|
514
|
-
itemType: z.enum([
|
|
515
|
-
'EXTERNAL_CHARGE',
|
|
516
|
-
'FIXED',
|
|
517
|
-
'RECURRING',
|
|
518
|
-
'REPAIR_ADJ',
|
|
519
|
-
'CBA_ADJ',
|
|
520
|
-
'CREDIT_ADJ',
|
|
521
|
-
'ITEM_ADJ',
|
|
522
|
-
'USAGE',
|
|
523
|
-
'TAX',
|
|
524
|
-
'PARENT_SUMMARY'
|
|
525
|
-
]).optional(),
|
|
526
|
-
description: z.string().optional(),
|
|
527
|
-
startDate: z.string().optional(),
|
|
528
|
-
endDate: z.string().optional(),
|
|
529
|
-
amount: z.number().optional(),
|
|
530
|
-
rate: z.number().optional(),
|
|
531
|
-
currency: z.enum([
|
|
532
|
-
'AED',
|
|
533
|
-
'AFN',
|
|
534
|
-
'ALL',
|
|
535
|
-
'AMD',
|
|
536
|
-
'ANG',
|
|
537
|
-
'AOA',
|
|
538
|
-
'ARS',
|
|
539
|
-
'AUD',
|
|
540
|
-
'AWG',
|
|
541
|
-
'AZN',
|
|
542
|
-
'BAM',
|
|
543
|
-
'BBD',
|
|
544
|
-
'BDT',
|
|
545
|
-
'BGN',
|
|
546
|
-
'BHD',
|
|
547
|
-
'BIF',
|
|
548
|
-
'BMD',
|
|
549
|
-
'BND',
|
|
550
|
-
'BOB',
|
|
551
|
-
'BRL',
|
|
552
|
-
'BSD',
|
|
553
|
-
'BTN',
|
|
554
|
-
'BWP',
|
|
555
|
-
'BYR',
|
|
556
|
-
'BZD',
|
|
557
|
-
'CAD',
|
|
558
|
-
'CDF',
|
|
559
|
-
'CHF',
|
|
560
|
-
'CLP',
|
|
561
|
-
'CNY',
|
|
562
|
-
'COP',
|
|
563
|
-
'CRC',
|
|
564
|
-
'CUC',
|
|
565
|
-
'CUP',
|
|
566
|
-
'CVE',
|
|
567
|
-
'CZK',
|
|
568
|
-
'DJF',
|
|
569
|
-
'DKK',
|
|
570
|
-
'DOP',
|
|
571
|
-
'DZD',
|
|
572
|
-
'EGP',
|
|
573
|
-
'ERN',
|
|
574
|
-
'ETB',
|
|
575
|
-
'EUR',
|
|
576
|
-
'FJD',
|
|
577
|
-
'FKP',
|
|
578
|
-
'GBP',
|
|
579
|
-
'GEL',
|
|
580
|
-
'GGP',
|
|
581
|
-
'GHS',
|
|
582
|
-
'GIP',
|
|
583
|
-
'GMD',
|
|
584
|
-
'GNF',
|
|
585
|
-
'GTQ',
|
|
586
|
-
'GYD',
|
|
587
|
-
'HKD',
|
|
588
|
-
'HNL',
|
|
589
|
-
'HRK',
|
|
590
|
-
'HTG',
|
|
591
|
-
'HUF',
|
|
592
|
-
'IDR',
|
|
593
|
-
'ILS',
|
|
594
|
-
'IMP',
|
|
595
|
-
'INR',
|
|
596
|
-
'IQD',
|
|
597
|
-
'IRR',
|
|
598
|
-
'ISK',
|
|
599
|
-
'JEP',
|
|
600
|
-
'JMD',
|
|
601
|
-
'JOD',
|
|
602
|
-
'JPY',
|
|
603
|
-
'KES',
|
|
604
|
-
'KGS',
|
|
605
|
-
'KHR',
|
|
606
|
-
'KMF',
|
|
607
|
-
'KPW',
|
|
608
|
-
'KRW',
|
|
609
|
-
'KWD',
|
|
610
|
-
'KYD',
|
|
611
|
-
'KZT',
|
|
612
|
-
'LAK',
|
|
613
|
-
'LBP',
|
|
614
|
-
'LKR',
|
|
615
|
-
'LRD',
|
|
616
|
-
'LSL',
|
|
617
|
-
'LTL',
|
|
618
|
-
'LVL',
|
|
619
|
-
'LYD',
|
|
620
|
-
'MAD',
|
|
621
|
-
'MDL',
|
|
622
|
-
'MGA',
|
|
623
|
-
'MKD',
|
|
624
|
-
'MMK',
|
|
625
|
-
'MNT',
|
|
626
|
-
'MOP',
|
|
627
|
-
'MRO',
|
|
628
|
-
'MUR',
|
|
629
|
-
'MVR',
|
|
630
|
-
'MWK',
|
|
631
|
-
'MXN',
|
|
632
|
-
'MYR',
|
|
633
|
-
'MZN',
|
|
634
|
-
'NAD',
|
|
635
|
-
'NGN',
|
|
636
|
-
'NIO',
|
|
637
|
-
'NOK',
|
|
638
|
-
'NPR',
|
|
639
|
-
'NZD',
|
|
640
|
-
'OMR',
|
|
641
|
-
'PAB',
|
|
642
|
-
'PEN',
|
|
643
|
-
'PGK',
|
|
644
|
-
'PHP',
|
|
645
|
-
'PKR',
|
|
646
|
-
'PLN',
|
|
647
|
-
'PYG',
|
|
648
|
-
'QAR',
|
|
649
|
-
'RON',
|
|
650
|
-
'RSD',
|
|
651
|
-
'RUB',
|
|
652
|
-
'RWF',
|
|
653
|
-
'SAR',
|
|
654
|
-
'SBD',
|
|
655
|
-
'SCR',
|
|
656
|
-
'SDG',
|
|
657
|
-
'SEK',
|
|
658
|
-
'SGD',
|
|
659
|
-
'SHP',
|
|
660
|
-
'SLL',
|
|
661
|
-
'SOS',
|
|
662
|
-
'SPL',
|
|
663
|
-
'SRD',
|
|
664
|
-
'STD',
|
|
665
|
-
'SVC',
|
|
666
|
-
'SYP',
|
|
667
|
-
'SZL',
|
|
668
|
-
'THB',
|
|
669
|
-
'TJS',
|
|
670
|
-
'TMT',
|
|
671
|
-
'TND',
|
|
672
|
-
'TOP',
|
|
673
|
-
'TRY',
|
|
674
|
-
'TTD',
|
|
675
|
-
'TVD',
|
|
676
|
-
'TWD',
|
|
677
|
-
'TZS',
|
|
678
|
-
'UAH',
|
|
679
|
-
'UGX',
|
|
680
|
-
'USD',
|
|
681
|
-
'UYU',
|
|
682
|
-
'UZS',
|
|
683
|
-
'VEF',
|
|
684
|
-
'VND',
|
|
685
|
-
'VUV',
|
|
686
|
-
'WST',
|
|
687
|
-
'XAF',
|
|
688
|
-
'XCD',
|
|
689
|
-
'XDR',
|
|
690
|
-
'XOF',
|
|
691
|
-
'XPF',
|
|
692
|
-
'YER',
|
|
693
|
-
'ZAR',
|
|
694
|
-
'ZMW',
|
|
695
|
-
'ZWD',
|
|
696
|
-
'BTC'
|
|
697
|
-
]).optional(),
|
|
698
|
-
quantity: z.number().optional(),
|
|
699
|
-
itemDetails: z.string().optional(),
|
|
700
|
-
catalogEffectiveDate: z.string().optional(),
|
|
701
|
-
childItems: z.array(z.unknown()).optional()
|
|
702
|
-
})).optional(),
|
|
703
|
-
items: z.array(z.object({
|
|
704
|
-
id: z.string().uuid().optional(),
|
|
705
|
-
linkedInvoiceItemId: z.string().uuid().optional(),
|
|
706
|
-
productName: z.string().optional(),
|
|
707
|
-
planName: z.string().optional(),
|
|
708
|
-
phaseName: z.string().optional(),
|
|
709
|
-
usageName: z.string().optional(),
|
|
710
|
-
prettyProductName: z.string().optional(),
|
|
711
|
-
prettyPlanName: z.string().optional(),
|
|
712
|
-
prettyPhaseName: z.string().optional(),
|
|
713
|
-
prettyUsageName: z.string().optional(),
|
|
714
|
-
itemType: z.enum([
|
|
715
|
-
'EXTERNAL_CHARGE',
|
|
716
|
-
'FIXED',
|
|
717
|
-
'RECURRING',
|
|
718
|
-
'REPAIR_ADJ',
|
|
719
|
-
'CBA_ADJ',
|
|
720
|
-
'CREDIT_ADJ',
|
|
721
|
-
'ITEM_ADJ',
|
|
722
|
-
'USAGE',
|
|
723
|
-
'TAX',
|
|
724
|
-
'PARENT_SUMMARY'
|
|
725
|
-
]).optional(),
|
|
726
|
-
description: z.string().optional(),
|
|
727
|
-
startDate: z.string().optional(),
|
|
728
|
-
endDate: z.string().optional(),
|
|
729
|
-
amount: z.number().optional(),
|
|
730
|
-
rate: z.number().optional(),
|
|
731
|
-
currency: z.enum([
|
|
732
|
-
'AED',
|
|
733
|
-
'AFN',
|
|
734
|
-
'ALL',
|
|
735
|
-
'AMD',
|
|
736
|
-
'ANG',
|
|
737
|
-
'AOA',
|
|
738
|
-
'ARS',
|
|
739
|
-
'AUD',
|
|
740
|
-
'AWG',
|
|
741
|
-
'AZN',
|
|
742
|
-
'BAM',
|
|
743
|
-
'BBD',
|
|
744
|
-
'BDT',
|
|
745
|
-
'BGN',
|
|
746
|
-
'BHD',
|
|
747
|
-
'BIF',
|
|
748
|
-
'BMD',
|
|
749
|
-
'BND',
|
|
750
|
-
'BOB',
|
|
751
|
-
'BRL',
|
|
752
|
-
'BSD',
|
|
753
|
-
'BTN',
|
|
754
|
-
'BWP',
|
|
755
|
-
'BYR',
|
|
756
|
-
'BZD',
|
|
757
|
-
'CAD',
|
|
758
|
-
'CDF',
|
|
759
|
-
'CHF',
|
|
760
|
-
'CLP',
|
|
761
|
-
'CNY',
|
|
762
|
-
'COP',
|
|
763
|
-
'CRC',
|
|
764
|
-
'CUC',
|
|
765
|
-
'CUP',
|
|
766
|
-
'CVE',
|
|
767
|
-
'CZK',
|
|
768
|
-
'DJF',
|
|
769
|
-
'DKK',
|
|
770
|
-
'DOP',
|
|
771
|
-
'DZD',
|
|
772
|
-
'EGP',
|
|
773
|
-
'ERN',
|
|
774
|
-
'ETB',
|
|
775
|
-
'EUR',
|
|
776
|
-
'FJD',
|
|
777
|
-
'FKP',
|
|
778
|
-
'GBP',
|
|
779
|
-
'GEL',
|
|
780
|
-
'GGP',
|
|
781
|
-
'GHS',
|
|
782
|
-
'GIP',
|
|
783
|
-
'GMD',
|
|
784
|
-
'GNF',
|
|
785
|
-
'GTQ',
|
|
786
|
-
'GYD',
|
|
787
|
-
'HKD',
|
|
788
|
-
'HNL',
|
|
789
|
-
'HRK',
|
|
790
|
-
'HTG',
|
|
791
|
-
'HUF',
|
|
792
|
-
'IDR',
|
|
793
|
-
'ILS',
|
|
794
|
-
'IMP',
|
|
795
|
-
'INR',
|
|
796
|
-
'IQD',
|
|
797
|
-
'IRR',
|
|
798
|
-
'ISK',
|
|
799
|
-
'JEP',
|
|
800
|
-
'JMD',
|
|
801
|
-
'JOD',
|
|
802
|
-
'JPY',
|
|
803
|
-
'KES',
|
|
804
|
-
'KGS',
|
|
805
|
-
'KHR',
|
|
806
|
-
'KMF',
|
|
807
|
-
'KPW',
|
|
808
|
-
'KRW',
|
|
809
|
-
'KWD',
|
|
810
|
-
'KYD',
|
|
811
|
-
'KZT',
|
|
812
|
-
'LAK',
|
|
813
|
-
'LBP',
|
|
814
|
-
'LKR',
|
|
815
|
-
'LRD',
|
|
816
|
-
'LSL',
|
|
817
|
-
'LTL',
|
|
818
|
-
'LVL',
|
|
819
|
-
'LYD',
|
|
820
|
-
'MAD',
|
|
821
|
-
'MDL',
|
|
822
|
-
'MGA',
|
|
823
|
-
'MKD',
|
|
824
|
-
'MMK',
|
|
825
|
-
'MNT',
|
|
826
|
-
'MOP',
|
|
827
|
-
'MRO',
|
|
828
|
-
'MUR',
|
|
829
|
-
'MVR',
|
|
830
|
-
'MWK',
|
|
831
|
-
'MXN',
|
|
832
|
-
'MYR',
|
|
833
|
-
'MZN',
|
|
834
|
-
'NAD',
|
|
835
|
-
'NGN',
|
|
836
|
-
'NIO',
|
|
837
|
-
'NOK',
|
|
838
|
-
'NPR',
|
|
839
|
-
'NZD',
|
|
840
|
-
'OMR',
|
|
841
|
-
'PAB',
|
|
842
|
-
'PEN',
|
|
843
|
-
'PGK',
|
|
844
|
-
'PHP',
|
|
845
|
-
'PKR',
|
|
846
|
-
'PLN',
|
|
847
|
-
'PYG',
|
|
848
|
-
'QAR',
|
|
849
|
-
'RON',
|
|
850
|
-
'RSD',
|
|
851
|
-
'RUB',
|
|
852
|
-
'RWF',
|
|
853
|
-
'SAR',
|
|
854
|
-
'SBD',
|
|
855
|
-
'SCR',
|
|
856
|
-
'SDG',
|
|
857
|
-
'SEK',
|
|
858
|
-
'SGD',
|
|
859
|
-
'SHP',
|
|
860
|
-
'SLL',
|
|
861
|
-
'SOS',
|
|
862
|
-
'SPL',
|
|
863
|
-
'SRD',
|
|
864
|
-
'STD',
|
|
865
|
-
'SVC',
|
|
866
|
-
'SYP',
|
|
867
|
-
'SZL',
|
|
868
|
-
'THB',
|
|
869
|
-
'TJS',
|
|
870
|
-
'TMT',
|
|
871
|
-
'TND',
|
|
872
|
-
'TOP',
|
|
873
|
-
'TRY',
|
|
874
|
-
'TTD',
|
|
875
|
-
'TVD',
|
|
876
|
-
'TWD',
|
|
877
|
-
'TZS',
|
|
878
|
-
'UAH',
|
|
879
|
-
'UGX',
|
|
880
|
-
'USD',
|
|
881
|
-
'UYU',
|
|
882
|
-
'UZS',
|
|
883
|
-
'VEF',
|
|
884
|
-
'VND',
|
|
885
|
-
'VUV',
|
|
886
|
-
'WST',
|
|
887
|
-
'XAF',
|
|
888
|
-
'XCD',
|
|
889
|
-
'XDR',
|
|
890
|
-
'XOF',
|
|
891
|
-
'XPF',
|
|
892
|
-
'YER',
|
|
893
|
-
'ZAR',
|
|
894
|
-
'ZMW',
|
|
895
|
-
'ZWD',
|
|
896
|
-
'BTC'
|
|
897
|
-
]).optional(),
|
|
898
|
-
quantity: z.number().optional(),
|
|
899
|
-
itemDetails: z.string().optional(),
|
|
900
|
-
catalogEffectiveDate: z.string().optional(),
|
|
901
|
-
childItems: z.array(z.unknown()).optional()
|
|
902
|
-
})).optional()
|
|
324
|
+
id: z.string().optional(),
|
|
325
|
+
number: z.string().optional(),
|
|
326
|
+
status: z.string().optional(),
|
|
327
|
+
total: z.number().optional(),
|
|
328
|
+
currency: z.string().optional(),
|
|
329
|
+
created: z.iso.datetime(),
|
|
330
|
+
period_start: z.iso.datetime(),
|
|
331
|
+
period_end: z.iso.datetime(),
|
|
332
|
+
invoice_pdf: z.string().optional()
|
|
333
|
+
});
|
|
334
|
+
export const zMarketplaceListingFiles = z.object({
|
|
335
|
+
chartYaml: z.string().optional(),
|
|
336
|
+
valuesYaml: z.string().optional(),
|
|
337
|
+
valuesSchemaJson: z.string().optional()
|
|
903
338
|
});
|
|
904
339
|
export const zMarketplaceListing = z.object({
|
|
905
|
-
id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
906
340
|
name: z.string(),
|
|
907
|
-
|
|
908
|
-
description: z.string(),
|
|
909
|
-
logoUrl: z.string(),
|
|
910
|
-
longDescription: z.string(),
|
|
911
|
-
categories: z.array(z.string()),
|
|
341
|
+
versions: z.array(z.string().regex(/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(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-]+)*))?$/)),
|
|
912
342
|
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-]+)*))?$/)),
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
343
|
+
latestVersion: z.string(),
|
|
344
|
+
metadata: z.object({
|
|
345
|
+
name: z.string(),
|
|
346
|
+
version: z.string(),
|
|
347
|
+
description: z.string().optional(),
|
|
348
|
+
appVersion: z.string().optional(),
|
|
349
|
+
apiVersion: z.string().optional(),
|
|
350
|
+
keywords: z.array(z.string()).optional(),
|
|
351
|
+
home: z.string().optional(),
|
|
352
|
+
icon: z.string().optional(),
|
|
353
|
+
sources: z.array(z.string()).optional(),
|
|
354
|
+
maintainers: z.array(z.object({
|
|
355
|
+
name: z.string(),
|
|
356
|
+
email: z.string().optional()
|
|
357
|
+
})).optional()
|
|
358
|
+
}).optional()
|
|
918
359
|
});
|
|
919
360
|
export const zOrganizationCreateInput = z.object({
|
|
920
|
-
email: z.
|
|
361
|
+
email: z.email(),
|
|
921
362
|
first_name: z.string(),
|
|
922
363
|
last_name: z.string(),
|
|
923
364
|
company_name: z.string().min(2).max(120).regex(/^(?!\s)(?!.*\s$)(?=.*[a-zA-ZÆÐƎƏƐƔIJŊŒẞÞǷȜæðǝəɛɣijŋœĸſßþƿȝĄƁÇĐƊĘĦĮƘŁØƠŞȘŢȚŦŲƯY̨Ƴąɓçđɗęħįƙłøơşșţțŧųưy̨ƴÁÀÂÄǍĂĀÃÅǺĄÆǼǢƁĆĊĈČÇĎḌĐƊÐÉÈĖÊËĚĔĒĘẸƎƏƐĠĜǦĞĢƔáàâäǎăāãåǻąæǽǣɓćċĉčçďḍđɗðéèėêëěĕēęẹǝəɛġĝǧğģɣĤḤĦIÍÌİÎÏǏĬĪĨĮỊIJĴĶƘĹĻŁĽĿʼNŃN̈ŇÑŅŊÓÒÔÖǑŎŌÕŐỌØǾƠŒĥḥħıíìiîïǐĭīĩįịijĵķƙĸĺļłľŀʼnńn̈ňñņŋóòôöǒŏōõőọøǿơœŔŘŖŚŜŠŞȘṢẞŤŢṬŦÞÚÙÛÜǓŬŪŨŰŮŲỤƯẂẀŴẄǷÝỲŶŸȲỸƳŹŻŽẒŕřŗſśŝšşșṣßťţṭŧþúùûüǔŭūũűůųụưẃẁŵẅƿýỳŷÿȳỹƴźżžẓ0-9])[a-zA-ZÆÐƎƏƐƔIJŊŒẞÞǷȜæðǝəɛɣijŋœĸſßþƿȝĄƁÇĐƊĘĦĮƘŁØƠŞȘŢȚŦŲƯY̨Ƴąɓçđɗęħįƙłøơşșţțŧųưy̨ƴÁÀÂÄǍĂĀÃÅǺĄÆǼǢƁĆĊĈČÇĎḌĐƊÐÉÈĖÊËĚĔĒĘẸƎƏƐĠĜǦĞĢƔáàâäǎăāãåǻąæǽǣɓćċĉčçďḍđɗðéèėêëěĕēęẹǝəɛġĝǧğģɣĤḤĦIÍÌİÎÏǏĬĪĨĮỊIJĴĶƘĹĻŁĽĿʼNŃN̈ŇÑŅŊÓÒÔÖǑŎŌÕŐỌØǾƠŒĥḥħıíìiîïǐĭīĩįịijĵķƙĸĺļłľŀʼnńn̈ňñņŋóòôöǒŏōõőọøǿơœŔŘŖŚŜŠŞȘṢẞŤŢṬŦÞÚÙÛÜǓŬŪŨŰŮŲỤƯẂẀŴẄǷÝỲŶŸȲỸƳŹŻŽẒŕřŗſśŝšşșṣßťţṭŧþúùûüǔŭūũűůųụưẃẁŵẅƿýỳŷÿȳỹƴźżžẓ0-9 -.]{2,}$/),
|
|
924
365
|
password: z.string().min(8)
|
|
925
366
|
});
|
|
926
367
|
export const zOrganization = z.object({
|
|
927
|
-
id: z.
|
|
368
|
+
id: z.uuid(),
|
|
928
369
|
name: z.string().min(2).max(120).optional(),
|
|
929
|
-
date_created: z.
|
|
370
|
+
date_created: z.iso.datetime(),
|
|
930
371
|
quota: z.object({
|
|
931
|
-
basic_clusters_max: z.
|
|
932
|
-
basic_clusters_available: z.
|
|
933
|
-
pro_clusters_max: z.
|
|
934
|
-
pro_clusters_available: z.
|
|
935
|
-
fleets_max: z.
|
|
936
|
-
managed_fleets_cpu_max: z.number().int().gte(0),
|
|
372
|
+
basic_clusters_max: z.int().gte(0),
|
|
373
|
+
basic_clusters_available: z.int(),
|
|
374
|
+
pro_clusters_max: z.int().gte(0),
|
|
375
|
+
pro_clusters_available: z.int(),
|
|
376
|
+
fleets_max: z.int().gte(0),
|
|
937
377
|
cluster_tiers: z.array(z.string()).min(0),
|
|
938
378
|
regions: z.array(z.string()).min(1),
|
|
939
379
|
versions: z.array(z.object({
|
|
940
380
|
id: z.string(),
|
|
941
381
|
label: z.string()
|
|
942
|
-
})).min(1)
|
|
382
|
+
})).min(1),
|
|
383
|
+
copilot_user_hourly_tokens: z.int().gte(0),
|
|
384
|
+
copilot_organization_hourly_tokens: z.int().gte(0),
|
|
385
|
+
cfcr_storage_gb: z.int().gte(-1)
|
|
943
386
|
}),
|
|
944
387
|
status: z.enum([
|
|
945
388
|
'active',
|
|
@@ -948,14 +391,12 @@ export const zOrganization = z.object({
|
|
|
948
391
|
])
|
|
949
392
|
});
|
|
950
393
|
export const zPaymentMethod = z.object({
|
|
951
|
-
id: z.
|
|
394
|
+
id: z.uuid(),
|
|
952
395
|
setup: z.boolean(),
|
|
953
|
-
type: z.enum([
|
|
954
|
-
'card'
|
|
955
|
-
]),
|
|
396
|
+
type: z.enum(['card']),
|
|
956
397
|
last4: z.string(),
|
|
957
|
-
exp_month: z.
|
|
958
|
-
exp_year: z.
|
|
398
|
+
exp_month: z.int().gte(1).lte(12),
|
|
399
|
+
exp_year: z.int().gte(2024),
|
|
959
400
|
brand: z.enum([
|
|
960
401
|
'amex',
|
|
961
402
|
'diners',
|
|
@@ -968,158 +409,461 @@ export const zPaymentMethod = z.object({
|
|
|
968
409
|
'unknown'
|
|
969
410
|
])
|
|
970
411
|
});
|
|
412
|
+
export const zPlatformQuota = z.object({
|
|
413
|
+
basic_clusters_max: z.int().gte(0),
|
|
414
|
+
basic_clusters_available: z.int(),
|
|
415
|
+
pro_clusters_max: z.int().gte(0),
|
|
416
|
+
pro_clusters_available: z.int(),
|
|
417
|
+
fleets_max: z.int().gte(0),
|
|
418
|
+
cluster_tiers: z.array(z.string()).min(0),
|
|
419
|
+
regions: z.array(z.string()).min(1),
|
|
420
|
+
versions: z.array(z.object({
|
|
421
|
+
id: z.string(),
|
|
422
|
+
label: z.string()
|
|
423
|
+
})).min(1),
|
|
424
|
+
copilot_user_hourly_tokens: z.int().gte(0),
|
|
425
|
+
copilot_organization_hourly_tokens: z.int().gte(0),
|
|
426
|
+
cfcr_storage_gb: z.int().gte(-1)
|
|
427
|
+
});
|
|
428
|
+
export const zRegistryRepository = z.object({
|
|
429
|
+
name: z.string(),
|
|
430
|
+
region: z.string(),
|
|
431
|
+
uri: z.string()
|
|
432
|
+
});
|
|
433
|
+
export const zRegistryRepositoryWithTags = z.object({
|
|
434
|
+
name: z.string(),
|
|
435
|
+
region: z.string(),
|
|
436
|
+
uri: z.string(),
|
|
437
|
+
tags: z.array(z.object({
|
|
438
|
+
name: z.string(),
|
|
439
|
+
size: z.number(),
|
|
440
|
+
mediaType: z.string().optional(),
|
|
441
|
+
platforms: z.array(z.string()).optional()
|
|
442
|
+
})),
|
|
443
|
+
totalSize: z.number()
|
|
444
|
+
});
|
|
445
|
+
export const zRegistryTag = z.object({
|
|
446
|
+
name: z.string(),
|
|
447
|
+
digest: z.string(),
|
|
448
|
+
mediaType: z.string().optional(),
|
|
449
|
+
config: z.object({
|
|
450
|
+
size: z.number()
|
|
451
|
+
}).optional(),
|
|
452
|
+
layers: z.array(z.object({
|
|
453
|
+
digest: z.string().optional(),
|
|
454
|
+
size: z.number()
|
|
455
|
+
})).optional(),
|
|
456
|
+
manifests: z.array(z.object({
|
|
457
|
+
digest: z.string(),
|
|
458
|
+
platform: z.object({
|
|
459
|
+
architecture: z.string(),
|
|
460
|
+
os: z.string(),
|
|
461
|
+
variant: z.string().optional()
|
|
462
|
+
}).optional(),
|
|
463
|
+
layers: z.array(z.object({
|
|
464
|
+
digest: z.string().optional(),
|
|
465
|
+
size: z.number()
|
|
466
|
+
})).optional(),
|
|
467
|
+
size: z.number().optional()
|
|
468
|
+
})).optional(),
|
|
469
|
+
size: z.number(),
|
|
470
|
+
region: z.string(),
|
|
471
|
+
repository: z.string(),
|
|
472
|
+
uri: z.string()
|
|
473
|
+
});
|
|
971
474
|
export const zTokenCreateInput = z.object({
|
|
972
475
|
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
973
|
-
role: z.enum([
|
|
974
|
-
'Administrator',
|
|
975
|
-
'User'
|
|
976
|
-
])
|
|
476
|
+
role: z.enum(['Administrator', 'User'])
|
|
977
477
|
});
|
|
978
478
|
export const zToken = z.object({
|
|
979
479
|
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
980
|
-
role: z.enum([
|
|
981
|
-
'Administrator',
|
|
982
|
-
'User'
|
|
983
|
-
]),
|
|
480
|
+
role: z.enum(['Administrator', 'User']),
|
|
984
481
|
id: z.string().optional(),
|
|
985
482
|
secret: z.string().optional(),
|
|
986
|
-
date_created: z.
|
|
483
|
+
date_created: z.iso.datetime()
|
|
987
484
|
});
|
|
988
485
|
export const zTokenUpdateInput = z.object({
|
|
989
486
|
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/).optional(),
|
|
990
|
-
role: z.enum([
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
487
|
+
role: z.enum(['Administrator', 'User']).optional()
|
|
488
|
+
});
|
|
489
|
+
export const zUsageFacets = z.object({
|
|
490
|
+
cluster_id: z.array(z.string()).optional(),
|
|
491
|
+
product: z.array(z.string()).optional()
|
|
492
|
+
});
|
|
493
|
+
export const zUsageResponse = z.object({
|
|
494
|
+
data: z.array(z.object({
|
|
495
|
+
hour: z.string(),
|
|
496
|
+
cluster_id: z.string(),
|
|
497
|
+
product: z.string(),
|
|
498
|
+
value: z.number(),
|
|
499
|
+
price: z.number(),
|
|
500
|
+
total: z.number()
|
|
501
|
+
})),
|
|
502
|
+
facets: z.object({
|
|
503
|
+
cluster_id: z.array(z.string()).optional(),
|
|
504
|
+
product: z.array(z.string()).optional()
|
|
505
|
+
})
|
|
994
506
|
});
|
|
995
507
|
export const zUsage = z.object({
|
|
996
|
-
hour: z.string()
|
|
997
|
-
cluster_id: z.string()
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
'cfke_infra_compute',
|
|
1003
|
-
'cfke_nodes',
|
|
1004
|
-
'cfke_controlplane'
|
|
1005
|
-
]),
|
|
1006
|
-
node_name: z.string(),
|
|
1007
|
-
sku: z.string(),
|
|
1008
|
-
cpu: z.union([
|
|
1009
|
-
z.number(),
|
|
1010
|
-
z.enum([
|
|
1011
|
-
''
|
|
1012
|
-
])
|
|
1013
|
-
]),
|
|
1014
|
-
price: z.union([
|
|
1015
|
-
z.number(),
|
|
1016
|
-
z.enum([
|
|
1017
|
-
''
|
|
1018
|
-
])
|
|
1019
|
-
]),
|
|
1020
|
-
value: z.union([
|
|
1021
|
-
z.number(),
|
|
1022
|
-
z.enum([
|
|
1023
|
-
''
|
|
1024
|
-
])
|
|
1025
|
-
]),
|
|
1026
|
-
total: z.union([
|
|
1027
|
-
z.number(),
|
|
1028
|
-
z.enum([
|
|
1029
|
-
''
|
|
1030
|
-
])
|
|
1031
|
-
])
|
|
508
|
+
hour: z.string(),
|
|
509
|
+
cluster_id: z.string(),
|
|
510
|
+
product: z.string(),
|
|
511
|
+
value: z.number(),
|
|
512
|
+
price: z.number(),
|
|
513
|
+
total: z.number()
|
|
1032
514
|
});
|
|
1033
515
|
export const zUserCreateInput = z.object({
|
|
1034
|
-
email: z.
|
|
516
|
+
email: z.email(),
|
|
1035
517
|
first_name: z.string().min(1).max(50),
|
|
1036
518
|
last_name: z.string().min(1).max(50),
|
|
1037
519
|
code: z.string(),
|
|
1038
520
|
password: z.string().min(8),
|
|
1039
|
-
status: z.enum([
|
|
1040
|
-
|
|
1041
|
-
'inactive'
|
|
1042
|
-
]).optional(),
|
|
1043
|
-
role: z.enum([
|
|
1044
|
-
'Administrator',
|
|
1045
|
-
'User'
|
|
1046
|
-
]).optional()
|
|
521
|
+
status: z.enum(['active', 'inactive']).optional(),
|
|
522
|
+
role: z.enum(['Administrator', 'User']).optional()
|
|
1047
523
|
});
|
|
1048
524
|
export const zUser = z.object({
|
|
1049
|
-
email: z.
|
|
525
|
+
email: z.email(),
|
|
1050
526
|
first_name: z.string().min(1).max(50),
|
|
1051
527
|
last_name: z.string().min(1).max(50),
|
|
1052
|
-
role: z.enum([
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
status: z.enum([
|
|
1057
|
-
'active',
|
|
1058
|
-
'inactive'
|
|
1059
|
-
]),
|
|
1060
|
-
id: z.string().uuid(),
|
|
1061
|
-
date_created: z.string().datetime()
|
|
528
|
+
role: z.enum(['Administrator', 'User']),
|
|
529
|
+
status: z.enum(['active', 'inactive']),
|
|
530
|
+
id: z.uuid(),
|
|
531
|
+
date_created: z.iso.datetime()
|
|
1062
532
|
});
|
|
1063
533
|
export const zUserUpdateInput = z.object({
|
|
1064
|
-
email: z.
|
|
534
|
+
email: z.email().optional(),
|
|
1065
535
|
first_name: z.string().min(1).max(50).optional(),
|
|
1066
536
|
last_name: z.string().min(1).max(50).optional(),
|
|
1067
|
-
role: z.enum([
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
'
|
|
1073
|
-
'
|
|
537
|
+
role: z.enum(['Administrator', 'User']).optional(),
|
|
538
|
+
status: z.enum(['active', 'inactive']).optional()
|
|
539
|
+
});
|
|
540
|
+
export const zGetUsageQuery = z.object({
|
|
541
|
+
granularity: z.enum([
|
|
542
|
+
'hourly',
|
|
543
|
+
'daily',
|
|
544
|
+
'monthly'
|
|
1074
545
|
]).optional()
|
|
1075
546
|
});
|
|
1076
|
-
|
|
1077
|
-
|
|
547
|
+
/**
|
|
548
|
+
* Usage data with facets for filtering
|
|
549
|
+
*/
|
|
550
|
+
export const zGetUsageResponse = zUsageResponse;
|
|
551
|
+
/**
|
|
552
|
+
* Redacted payment card information.
|
|
553
|
+
*/
|
|
1078
554
|
export const zGetPaymentMethodResponse = zPaymentMethod;
|
|
555
|
+
/**
|
|
556
|
+
* 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.
|
|
557
|
+
*
|
|
558
|
+
*/
|
|
1079
559
|
export const zGetPaymentMethodSecretResponse = z.object({
|
|
1080
560
|
id: z.string().optional()
|
|
1081
561
|
});
|
|
562
|
+
/**
|
|
563
|
+
* An array of usage records.
|
|
564
|
+
*/
|
|
1082
565
|
export const zListInvoicesResponse = z.array(zInvoice);
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
566
|
+
/**
|
|
567
|
+
* Returns a single object containing organization contact and billing address details.
|
|
568
|
+
*/
|
|
1086
569
|
export const zGetContactResponse = zBillingContact;
|
|
570
|
+
export const zUpdateContactBody = zBillingContact;
|
|
571
|
+
/**
|
|
572
|
+
* Successfully updated. Returns updated organization details.
|
|
573
|
+
*/
|
|
1087
574
|
export const zUpdateContactResponse = zBillingContact;
|
|
575
|
+
/**
|
|
576
|
+
* An array of the applied promotional credits records.
|
|
577
|
+
*/
|
|
1088
578
|
export const zGetCreditsResponse = z.array(zBillingCredits);
|
|
579
|
+
export const zRedeemCreditsBody = z.object({
|
|
580
|
+
code: z.string().optional()
|
|
581
|
+
});
|
|
582
|
+
export const zListChartsPath = z.object({
|
|
583
|
+
cluster_id: z.string()
|
|
584
|
+
});
|
|
585
|
+
/**
|
|
586
|
+
* An array of charts
|
|
587
|
+
*/
|
|
1089
588
|
export const zListChartsResponse = z.array(zChart);
|
|
589
|
+
export const zCreateChartBody = zChartCreateInput;
|
|
590
|
+
export const zCreateChartPath = z.object({
|
|
591
|
+
cluster_id: z.string()
|
|
592
|
+
});
|
|
593
|
+
/**
|
|
594
|
+
* Successfully created. Returns created Chart ID.
|
|
595
|
+
*/
|
|
1090
596
|
export const zCreateChartResponse = z.string();
|
|
597
|
+
export const zDeleteChartPath = z.object({
|
|
598
|
+
cluster_id: z.string(),
|
|
599
|
+
chart_name: z.string()
|
|
600
|
+
});
|
|
601
|
+
/**
|
|
602
|
+
* Successfully deleted.
|
|
603
|
+
*/
|
|
1091
604
|
export const zDeleteChartResponse = z.string();
|
|
605
|
+
export const zGetChartPath = z.object({
|
|
606
|
+
cluster_id: z.string(),
|
|
607
|
+
chart_name: z.string()
|
|
608
|
+
});
|
|
609
|
+
/**
|
|
610
|
+
* Returns a single object containing chart details.
|
|
611
|
+
*/
|
|
1092
612
|
export const zGetChartResponse = zChart;
|
|
613
|
+
export const zUpdateChartBody = zChartUpdateInput;
|
|
614
|
+
export const zUpdateChartPath = z.object({
|
|
615
|
+
cluster_id: z.string(),
|
|
616
|
+
chart_name: z.string()
|
|
617
|
+
});
|
|
618
|
+
/**
|
|
619
|
+
* Successfully updated.
|
|
620
|
+
*/
|
|
1093
621
|
export const zUpdateChartResponse = z.string();
|
|
622
|
+
export const zListFleetsPath = z.object({
|
|
623
|
+
cluster_id: z.string()
|
|
624
|
+
});
|
|
625
|
+
/**
|
|
626
|
+
* An array of fleets
|
|
627
|
+
*/
|
|
1094
628
|
export const zListFleetsResponse = z.array(zFleet);
|
|
629
|
+
export const zCreateFleetBody = zFleetCreateInput;
|
|
630
|
+
export const zCreateFleetPath = z.object({
|
|
631
|
+
cluster_id: z.string()
|
|
632
|
+
});
|
|
633
|
+
/**
|
|
634
|
+
* Successfully created. Returns created Fleet ID.
|
|
635
|
+
*/
|
|
1095
636
|
export const zCreateFleetResponse = z.string();
|
|
637
|
+
export const zDeleteFleetPath = z.object({
|
|
638
|
+
cluster_id: z.string(),
|
|
639
|
+
fleet_name: z.string()
|
|
640
|
+
});
|
|
641
|
+
/**
|
|
642
|
+
* Successfully deleted.
|
|
643
|
+
*/
|
|
1096
644
|
export const zDeleteFleetResponse = z.string();
|
|
645
|
+
export const zGetFleetPath = z.object({
|
|
646
|
+
cluster_id: z.string(),
|
|
647
|
+
fleet_name: z.string()
|
|
648
|
+
});
|
|
649
|
+
/**
|
|
650
|
+
* Returns a single object containing fleet details.
|
|
651
|
+
*/
|
|
1097
652
|
export const zGetFleetResponse = zFleet;
|
|
653
|
+
export const zUpdateFleetBody = zFleetUpdateInput;
|
|
654
|
+
export const zUpdateFleetPath = z.object({
|
|
655
|
+
cluster_id: z.string(),
|
|
656
|
+
fleet_name: z.string()
|
|
657
|
+
});
|
|
658
|
+
/**
|
|
659
|
+
* Successfully updated.
|
|
660
|
+
*/
|
|
1098
661
|
export const zUpdateFleetResponse = z.string();
|
|
662
|
+
export const zQueryClusterPath = z.object({
|
|
663
|
+
cluster_id: z.string()
|
|
664
|
+
});
|
|
665
|
+
/**
|
|
666
|
+
* An array of clusters
|
|
667
|
+
*/
|
|
1099
668
|
export const zListClustersResponse = z.array(zCluster);
|
|
669
|
+
export const zCreateClusterBody = zClusterCreateInput;
|
|
670
|
+
/**
|
|
671
|
+
* Successfully created. Returns created Cluster ID.
|
|
672
|
+
*/
|
|
1100
673
|
export const zCreateClusterResponse = z.string();
|
|
674
|
+
export const zDeleteClusterPath = z.object({
|
|
675
|
+
cluster_id: z.string()
|
|
676
|
+
});
|
|
677
|
+
/**
|
|
678
|
+
* Successfully deleted.
|
|
679
|
+
*/
|
|
1101
680
|
export const zDeleteClusterResponse = z.string();
|
|
681
|
+
export const zGetClusterPath = z.object({
|
|
682
|
+
cluster_id: z.string()
|
|
683
|
+
});
|
|
684
|
+
/**
|
|
685
|
+
* Returns a single object containing cluster details.
|
|
686
|
+
*/
|
|
1102
687
|
export const zGetClusterResponse = zCluster;
|
|
688
|
+
export const zUpdateClusterBody = zClusterUpdateInput;
|
|
689
|
+
export const zUpdateClusterPath = z.object({
|
|
690
|
+
cluster_id: z.string()
|
|
691
|
+
});
|
|
692
|
+
/**
|
|
693
|
+
* Successfully updated. Returns updated cluster details.
|
|
694
|
+
*/
|
|
1103
695
|
export const zUpdateClusterResponse = zCluster;
|
|
1104
|
-
export const
|
|
696
|
+
export const zGetJoinInformationPath = z.object({
|
|
697
|
+
cluster_id: z.string()
|
|
698
|
+
});
|
|
699
|
+
/**
|
|
700
|
+
* An object of cluster join information
|
|
701
|
+
*/
|
|
702
|
+
export const zGetJoinInformationResponse = zClusterJoinInformation;
|
|
703
|
+
/**
|
|
704
|
+
* An array of invites
|
|
705
|
+
*/
|
|
1105
706
|
export const zListInvitesResponse = z.array(zInvite);
|
|
707
|
+
export const zCreateInviteBody = z.object({
|
|
708
|
+
email: z.string().optional()
|
|
709
|
+
});
|
|
710
|
+
/**
|
|
711
|
+
* Successfully created. Returns created invite details.
|
|
712
|
+
*/
|
|
1106
713
|
export const zCreateInviteResponse = zInvite;
|
|
714
|
+
export const zGetInvitePath = z.object({
|
|
715
|
+
code: z.string()
|
|
716
|
+
});
|
|
717
|
+
/**
|
|
718
|
+
* Returns a single object containing invite details.
|
|
719
|
+
*/
|
|
1107
720
|
export const zGetInviteResponse = zInvite;
|
|
721
|
+
export const zDeleteInvitePath = z.object({
|
|
722
|
+
email: z.string()
|
|
723
|
+
});
|
|
724
|
+
/**
|
|
725
|
+
* An array of chart listings in the marketplace.
|
|
726
|
+
*/
|
|
1108
727
|
export const zListMarketplaceChartsResponse = z.array(zMarketplaceListing);
|
|
1109
|
-
export const
|
|
728
|
+
export const zGetMarketplaceChartFilesPath = z.object({
|
|
729
|
+
chart_name: z.string(),
|
|
730
|
+
version_channel: z.string()
|
|
731
|
+
});
|
|
732
|
+
/**
|
|
733
|
+
* Returns an object containing the chart files for the latest matching version.
|
|
734
|
+
*/
|
|
735
|
+
export const zGetMarketplaceChartFilesResponse = zMarketplaceListingFiles;
|
|
736
|
+
/**
|
|
737
|
+
* JSON-RPC 2.0 request payload
|
|
738
|
+
*/
|
|
739
|
+
export const zPostMcpBody = z.object({
|
|
740
|
+
jsonrpc: z.string().optional(),
|
|
741
|
+
method: z.string().optional(),
|
|
742
|
+
id: z.union([
|
|
743
|
+
z.string(),
|
|
744
|
+
z.number()
|
|
745
|
+
]).optional(),
|
|
746
|
+
params: z.record(z.string(), z.unknown()).optional()
|
|
747
|
+
});
|
|
748
|
+
/**
|
|
749
|
+
* JSON-RPC 2.0 success or error response
|
|
750
|
+
*/
|
|
751
|
+
export const zPostMcpResponse = z.object({
|
|
752
|
+
jsonrpc: z.string().optional(),
|
|
753
|
+
id: z.union([
|
|
754
|
+
z.string(),
|
|
755
|
+
z.number()
|
|
756
|
+
]).optional(),
|
|
757
|
+
result: z.record(z.string(), z.unknown()).optional(),
|
|
758
|
+
error: z.object({
|
|
759
|
+
code: z.int().optional(),
|
|
760
|
+
message: z.string().optional()
|
|
761
|
+
}).optional()
|
|
762
|
+
});
|
|
763
|
+
/**
|
|
764
|
+
* Returns a single object containing organization details.
|
|
765
|
+
*/
|
|
1110
766
|
export const zGetOrganizationResponse = zOrganization;
|
|
767
|
+
export const zCreateOrganizationBody = zOrganizationCreateInput;
|
|
768
|
+
/**
|
|
769
|
+
* List of repositories
|
|
770
|
+
*/
|
|
771
|
+
export const zListRepositoriesResponse = z.array(zRegistryRepository);
|
|
772
|
+
export const zListTagsPath = z.object({
|
|
773
|
+
region: z.string(),
|
|
774
|
+
repository: z.string()
|
|
775
|
+
});
|
|
776
|
+
/**
|
|
777
|
+
* Repository with tags
|
|
778
|
+
*/
|
|
779
|
+
export const zListTagsResponse = zRegistryRepositoryWithTags;
|
|
780
|
+
export const zDeleteTagPath = z.object({
|
|
781
|
+
region: z.string(),
|
|
782
|
+
repository: z.string(),
|
|
783
|
+
tag: z.string()
|
|
784
|
+
});
|
|
785
|
+
export const zGetTagPath = z.object({
|
|
786
|
+
region: z.string(),
|
|
787
|
+
repository: z.string(),
|
|
788
|
+
tag: z.string()
|
|
789
|
+
});
|
|
790
|
+
/**
|
|
791
|
+
* Tag details
|
|
792
|
+
*/
|
|
793
|
+
export const zGetTagResponse = zRegistryTag;
|
|
794
|
+
/**
|
|
795
|
+
* Returns a list of access token details with masked secrets.
|
|
796
|
+
*/
|
|
1111
797
|
export const zListTokensResponse = z.array(zToken);
|
|
798
|
+
export const zCreateTokenBody = zTokenCreateInput;
|
|
799
|
+
/**
|
|
800
|
+
* Successfully created. Returns created token details with unmasked/raw secret.
|
|
801
|
+
*/
|
|
1112
802
|
export const zCreateTokenResponse = zToken;
|
|
803
|
+
export const zDeleteTokenPath = z.object({
|
|
804
|
+
token_id: z.string()
|
|
805
|
+
});
|
|
806
|
+
export const zGetTokenPath = z.object({
|
|
807
|
+
token_id: z.string()
|
|
808
|
+
});
|
|
809
|
+
/**
|
|
810
|
+
* Returns access token details with masked secret.
|
|
811
|
+
*/
|
|
1113
812
|
export const zGetTokenResponse = zToken;
|
|
813
|
+
export const zUpdateTokenBody = zTokenUpdateInput;
|
|
814
|
+
export const zUpdateTokenPath = z.object({
|
|
815
|
+
token_id: z.string()
|
|
816
|
+
});
|
|
817
|
+
/**
|
|
818
|
+
* Successfully updated. Returns updated token details with masked secret.
|
|
819
|
+
*/
|
|
1114
820
|
export const zUpdateTokenResponse = zToken;
|
|
821
|
+
export const zRegenerateTokenPath = z.object({
|
|
822
|
+
token_id: z.string()
|
|
823
|
+
});
|
|
824
|
+
/**
|
|
825
|
+
* Successfully updated. Returns updated token details with unmasked / raw secret.
|
|
826
|
+
*/
|
|
1115
827
|
export const zRegenerateTokenResponse = zToken;
|
|
828
|
+
export const zListUserOrganizationsPath = z.object({
|
|
829
|
+
email: z.string()
|
|
830
|
+
});
|
|
831
|
+
/**
|
|
832
|
+
* An array of organizations the user belongs to.
|
|
833
|
+
*/
|
|
1116
834
|
export const zListUserOrganizationsResponse = z.array(z.object({
|
|
1117
835
|
realm: z.string().optional(),
|
|
1118
836
|
displayName: z.string().optional()
|
|
1119
837
|
}));
|
|
838
|
+
/**
|
|
839
|
+
* An array of users
|
|
840
|
+
*/
|
|
1120
841
|
export const zListUsersResponse = z.array(zUser);
|
|
842
|
+
export const zCreateUserBody = zUserCreateInput;
|
|
843
|
+
/**
|
|
844
|
+
* Successfully created. Returns created user details.
|
|
845
|
+
*/
|
|
1121
846
|
export const zCreateUserResponse = zUser;
|
|
847
|
+
export const zDeleteUserPath = z.object({
|
|
848
|
+
user_id: z.string()
|
|
849
|
+
});
|
|
850
|
+
/**
|
|
851
|
+
* User profile information
|
|
852
|
+
*/
|
|
1122
853
|
export const zDeleteUserResponse = zUser;
|
|
854
|
+
export const zGetUserPath = z.object({
|
|
855
|
+
user_id: z.string()
|
|
856
|
+
});
|
|
857
|
+
/**
|
|
858
|
+
* User profile information
|
|
859
|
+
*/
|
|
1123
860
|
export const zGetUserResponse = zUser;
|
|
861
|
+
export const zUpdateUserBody = zUserUpdateInput;
|
|
862
|
+
export const zUpdateUserPath = z.object({
|
|
863
|
+
user_id: z.string()
|
|
864
|
+
});
|
|
865
|
+
/**
|
|
866
|
+
* Successfully created. Returns created user details.
|
|
867
|
+
*/
|
|
1124
868
|
export const zUpdateUserResponse = zUser;
|
|
1125
869
|
//# sourceMappingURL=zod.gen.js.map
|