@cloudfleet/sdk 0.0.1-869c561 → 0.0.1-8857c7b
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/@tanstack/react-query.gen.d.ts +1125 -0
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
- package/dist/@tanstack/react-query.gen.js +1129 -0
- package/dist/@tanstack/react-query.gen.js.map +1 -0
- 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 +220 -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 +121 -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 +38 -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 +133 -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 +1266 -576
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +2549 -665
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +172 -62
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +217 -164
- package/dist/sdk.gen.js.map +1 -1
- package/dist/services/kubernetes/api.d.ts +20 -20
- package/dist/types.gen.d.ts +1031 -351
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +3441 -2555
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +1196 -911
- package/dist/zod.gen.js.map +1 -1
- package/package.json +29 -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',
|
|
@@ -146,16 +145,12 @@ export const zBillingContact = z.object({
|
|
|
146
145
|
});
|
|
147
146
|
export const zBillingCredits = z.object({
|
|
148
147
|
id: z.string().optional(),
|
|
149
|
-
|
|
148
|
+
type: z.enum(['credit', 'discount']),
|
|
149
|
+
date_start: z.iso.datetime(),
|
|
150
|
+
date_end: z.iso.datetime().optional(),
|
|
150
151
|
code: z.string(),
|
|
151
152
|
description: z.string().optional(),
|
|
152
|
-
|
|
153
|
-
type: z.enum([
|
|
154
|
-
'credit',
|
|
155
|
-
'discount'
|
|
156
|
-
]),
|
|
157
|
-
value: z.number(),
|
|
158
|
-
billing_period: z.string().datetime(),
|
|
153
|
+
value_total: z.number(),
|
|
159
154
|
value_remaining: z.number().optional()
|
|
160
155
|
});
|
|
161
156
|
export const zChartCreateInput = z.object({
|
|
@@ -198,25 +193,31 @@ export const zChartUpdateInput = z.object({
|
|
|
198
193
|
});
|
|
199
194
|
export const zClusterCreateInput = z.object({
|
|
200
195
|
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
196
|
+
tier: z.enum(['basic', 'pro']),
|
|
201
197
|
region: z.enum([
|
|
202
|
-
'staging',
|
|
203
|
-
'northamerica-central-1'
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
198
|
+
'staging-1a',
|
|
199
|
+
'northamerica-central-1',
|
|
200
|
+
'europe-central-1a',
|
|
201
|
+
'northamerica-central-1a'
|
|
202
|
+
]).optional().default('staging-1a'),
|
|
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().default('1.x.x-cfke.x')
|
|
210
209
|
});
|
|
211
210
|
export const zClusterJoinInformation = z.object({
|
|
212
211
|
certificate_authority: z.string(),
|
|
213
|
-
endpoint: z.
|
|
212
|
+
endpoint: z.url(),
|
|
213
|
+
cluster_dns: z.string(),
|
|
214
214
|
auth_key: z.string(),
|
|
215
215
|
bootstrap_token: z.string(),
|
|
216
216
|
versions: z.object({
|
|
217
217
|
kubernetes: z.string(),
|
|
218
218
|
tailscale: z.string(),
|
|
219
|
-
containerd: z.string()
|
|
219
|
+
containerd: z.string(),
|
|
220
|
+
nvidia_driver: z.string()
|
|
220
221
|
}),
|
|
221
222
|
third_party_api_access_config: z.object({
|
|
222
223
|
metadata_url: z.string(),
|
|
@@ -226,18 +227,17 @@ export const zClusterJoinInformation = z.object({
|
|
|
226
227
|
});
|
|
227
228
|
export const zCluster = z.object({
|
|
228
229
|
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
230
|
+
tier: z.enum(['basic', 'pro']),
|
|
229
231
|
region: z.enum([
|
|
230
|
-
'staging',
|
|
231
|
-
'northamerica-central-1'
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
]),
|
|
237
|
-
version_channel: z.string().regex(/^(x|X|0|[1-9]\d*)\.(x|X|0|[1-9]\d*)\.(x|X|0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/).optional().default('1.x.x-cfke.x'),
|
|
238
|
-
id: z.string().uuid(),
|
|
232
|
+
'staging-1a',
|
|
233
|
+
'northamerica-central-1',
|
|
234
|
+
'europe-central-1a',
|
|
235
|
+
'northamerica-central-1a'
|
|
236
|
+
]).optional().default('staging-1a'),
|
|
237
|
+
id: z.uuid(),
|
|
239
238
|
status: z.enum([
|
|
240
239
|
'active',
|
|
240
|
+
'disabled',
|
|
241
241
|
'deleted',
|
|
242
242
|
'creating',
|
|
243
243
|
'deployed',
|
|
@@ -245,703 +245,839 @@ export const zCluster = z.object({
|
|
|
245
245
|
'updating'
|
|
246
246
|
]),
|
|
247
247
|
endpoint: z.union([
|
|
248
|
-
z.
|
|
249
|
-
z.enum([
|
|
250
|
-
|
|
251
|
-
|
|
248
|
+
z.url(),
|
|
249
|
+
z.enum([''])
|
|
250
|
+
]).optional(),
|
|
251
|
+
endpoint_public: z.union([
|
|
252
|
+
z.url(),
|
|
253
|
+
z.enum([''])
|
|
252
254
|
]).optional(),
|
|
253
255
|
certificate_ca: z.string().optional(),
|
|
254
256
|
version_current: z.string().optional(),
|
|
255
257
|
created_at: z.string().optional(),
|
|
256
258
|
updated_at: z.string().optional(),
|
|
257
|
-
ready: z.boolean().optional()
|
|
259
|
+
ready: z.boolean().optional(),
|
|
260
|
+
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()
|
|
258
261
|
});
|
|
259
262
|
export const zClusterUpdateInput = z.object({
|
|
260
263
|
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/).optional(),
|
|
264
|
+
tier: z.enum(['basic', 'pro']),
|
|
261
265
|
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()
|
|
262
266
|
});
|
|
263
267
|
export const zFleetCreateInput = z.object({
|
|
264
268
|
limits: z.object({
|
|
265
|
-
cpu: z.number().gte(0)
|
|
269
|
+
cpu: z.number().gte(0).optional()
|
|
266
270
|
}).optional(),
|
|
267
271
|
gcp: z.object({
|
|
268
272
|
enabled: z.boolean().optional().default(true),
|
|
269
|
-
project: z.string()
|
|
273
|
+
project: z.string().regex(/^[a-z][a-z0-9-]{4,28}[a-z0-9]$/).optional()
|
|
270
274
|
}).optional(),
|
|
271
275
|
hetzner: z.object({
|
|
272
276
|
enabled: z.boolean().optional().default(true),
|
|
273
|
-
apiKey: z.string()
|
|
277
|
+
apiKey: z.string().length(64).regex(/^[A-Za-z0-9]+$/).optional()
|
|
274
278
|
}).optional(),
|
|
275
279
|
aws: z.object({
|
|
276
280
|
enabled: z.boolean().optional().default(true),
|
|
277
|
-
controllerRoleArn: z.string()
|
|
281
|
+
controllerRoleArn: z.string().regex(/^arn:aws(-[a-z]+)*:iam::\d{12}:role\/[\w+=,.@\/-]+$/).optional()
|
|
282
|
+
}).optional(),
|
|
283
|
+
constraints: z.object({
|
|
284
|
+
'karpenter.sh/capacity-type': z.array(z.enum(['on-demand', 'spot'])).optional(),
|
|
285
|
+
'kubernetes.io/arch': z.array(z.enum(['amd64', 'arm64'])).optional(),
|
|
286
|
+
'cfke.io/instance-family': z.array(z.enum([
|
|
287
|
+
'a1',
|
|
288
|
+
'a2',
|
|
289
|
+
'a3',
|
|
290
|
+
'a4',
|
|
291
|
+
'c1',
|
|
292
|
+
'c2',
|
|
293
|
+
'c2d',
|
|
294
|
+
'c3',
|
|
295
|
+
'c3d',
|
|
296
|
+
'c4',
|
|
297
|
+
'c4a',
|
|
298
|
+
'c4d',
|
|
299
|
+
'c5',
|
|
300
|
+
'c5a',
|
|
301
|
+
'c5ad',
|
|
302
|
+
'c5d',
|
|
303
|
+
'c5n',
|
|
304
|
+
'c6a',
|
|
305
|
+
'c6g',
|
|
306
|
+
'c6gd',
|
|
307
|
+
'c6gn',
|
|
308
|
+
'c6i',
|
|
309
|
+
'c6id',
|
|
310
|
+
'c6in',
|
|
311
|
+
'c7a',
|
|
312
|
+
'c7g',
|
|
313
|
+
'c7gd',
|
|
314
|
+
'c7gn',
|
|
315
|
+
'c7i',
|
|
316
|
+
'c7i-flex',
|
|
317
|
+
'c8g',
|
|
318
|
+
'c8gd',
|
|
319
|
+
'cax',
|
|
320
|
+
'ccx',
|
|
321
|
+
'cpx',
|
|
322
|
+
'cx',
|
|
323
|
+
'd2',
|
|
324
|
+
'd3',
|
|
325
|
+
'd3en',
|
|
326
|
+
'dl1',
|
|
327
|
+
'dl2q',
|
|
328
|
+
'e2',
|
|
329
|
+
'f1',
|
|
330
|
+
'f2',
|
|
331
|
+
'g1',
|
|
332
|
+
'g2',
|
|
333
|
+
'g4ad',
|
|
334
|
+
'g4dn',
|
|
335
|
+
'g5',
|
|
336
|
+
'g5g',
|
|
337
|
+
'g6',
|
|
338
|
+
'g6e',
|
|
339
|
+
'gr6',
|
|
340
|
+
'h1',
|
|
341
|
+
'h3',
|
|
342
|
+
'hpc6a',
|
|
343
|
+
'hpc6id',
|
|
344
|
+
'hpc7a',
|
|
345
|
+
'hpc7g',
|
|
346
|
+
'i2',
|
|
347
|
+
'i3',
|
|
348
|
+
'i3en',
|
|
349
|
+
'i4g',
|
|
350
|
+
'i4i',
|
|
351
|
+
'i7i',
|
|
352
|
+
'i7ie',
|
|
353
|
+
'i8g',
|
|
354
|
+
'im4gn',
|
|
355
|
+
'inf1',
|
|
356
|
+
'inf2',
|
|
357
|
+
'is4gen',
|
|
358
|
+
'm1',
|
|
359
|
+
'm2',
|
|
360
|
+
'm3',
|
|
361
|
+
'm4',
|
|
362
|
+
'm5',
|
|
363
|
+
'm5a',
|
|
364
|
+
'm5ad',
|
|
365
|
+
'm5d',
|
|
366
|
+
'm5dn',
|
|
367
|
+
'm5n',
|
|
368
|
+
'm5zn',
|
|
369
|
+
'm6a',
|
|
370
|
+
'm6g',
|
|
371
|
+
'm6gd',
|
|
372
|
+
'm6i',
|
|
373
|
+
'm6id',
|
|
374
|
+
'm6idn',
|
|
375
|
+
'm6in',
|
|
376
|
+
'm7a',
|
|
377
|
+
'm7g',
|
|
378
|
+
'm7gd',
|
|
379
|
+
'm7i',
|
|
380
|
+
'm7i-flex',
|
|
381
|
+
'm8g',
|
|
382
|
+
'm8gd',
|
|
383
|
+
'n1',
|
|
384
|
+
'n2',
|
|
385
|
+
'n2d',
|
|
386
|
+
'n4',
|
|
387
|
+
'p3',
|
|
388
|
+
'p3dn',
|
|
389
|
+
'p4d',
|
|
390
|
+
'p4de',
|
|
391
|
+
'p5',
|
|
392
|
+
'p5e',
|
|
393
|
+
'p5en',
|
|
394
|
+
'p6-b200',
|
|
395
|
+
'r3',
|
|
396
|
+
'r4',
|
|
397
|
+
'r5',
|
|
398
|
+
'r5a',
|
|
399
|
+
'r5ad',
|
|
400
|
+
'r5b',
|
|
401
|
+
'r5d',
|
|
402
|
+
'r5dn',
|
|
403
|
+
'r5n',
|
|
404
|
+
'r6a',
|
|
405
|
+
'r6g',
|
|
406
|
+
'r6gd',
|
|
407
|
+
'r6i',
|
|
408
|
+
'r6id',
|
|
409
|
+
'r6idn',
|
|
410
|
+
'r6in',
|
|
411
|
+
'r7a',
|
|
412
|
+
'r7g',
|
|
413
|
+
'r7gd',
|
|
414
|
+
'r7i',
|
|
415
|
+
'r7iz',
|
|
416
|
+
'r8g',
|
|
417
|
+
'r8gd',
|
|
418
|
+
't2',
|
|
419
|
+
't2a',
|
|
420
|
+
't2d',
|
|
421
|
+
't3',
|
|
422
|
+
't3a',
|
|
423
|
+
't4g',
|
|
424
|
+
'trn1',
|
|
425
|
+
'trn1n',
|
|
426
|
+
'u-3tb1',
|
|
427
|
+
'u-6tb1',
|
|
428
|
+
'u7i-12tb',
|
|
429
|
+
'u7i-6tb',
|
|
430
|
+
'u7i-8tb',
|
|
431
|
+
'u7in-16tb',
|
|
432
|
+
'u7in-24tb',
|
|
433
|
+
'u7in-32tb',
|
|
434
|
+
'vt1',
|
|
435
|
+
'x1',
|
|
436
|
+
'x1e',
|
|
437
|
+
'x2gd',
|
|
438
|
+
'x2idn',
|
|
439
|
+
'x2iedn',
|
|
440
|
+
'x2iezn',
|
|
441
|
+
'x4',
|
|
442
|
+
'x8g',
|
|
443
|
+
'z1d',
|
|
444
|
+
'z3'
|
|
445
|
+
])).optional(),
|
|
446
|
+
'topology.kubernetes.io/region': z.array(z.enum([
|
|
447
|
+
'africa-south1',
|
|
448
|
+
'ap-northeast-1',
|
|
449
|
+
'ap-northeast-2',
|
|
450
|
+
'ap-northeast-3',
|
|
451
|
+
'ap-south-1',
|
|
452
|
+
'ap-southeast-1',
|
|
453
|
+
'ap-southeast-2',
|
|
454
|
+
'ash',
|
|
455
|
+
'asia-east1',
|
|
456
|
+
'asia-east2',
|
|
457
|
+
'asia-northeast1',
|
|
458
|
+
'asia-northeast2',
|
|
459
|
+
'asia-northeast3',
|
|
460
|
+
'asia-south1',
|
|
461
|
+
'asia-south2',
|
|
462
|
+
'asia-southeast1',
|
|
463
|
+
'asia-southeast2',
|
|
464
|
+
'australia-southeast1',
|
|
465
|
+
'australia-southeast2',
|
|
466
|
+
'ca-central-1',
|
|
467
|
+
'eu-central-1',
|
|
468
|
+
'eu-central-2',
|
|
469
|
+
'eu-north-1',
|
|
470
|
+
'eu-west-1',
|
|
471
|
+
'eu-west-2',
|
|
472
|
+
'eu-west-3',
|
|
473
|
+
'europe-central2',
|
|
474
|
+
'europe-north1',
|
|
475
|
+
'europe-southwest1',
|
|
476
|
+
'europe-west1',
|
|
477
|
+
'europe-west10',
|
|
478
|
+
'europe-west12',
|
|
479
|
+
'europe-west2',
|
|
480
|
+
'europe-west3',
|
|
481
|
+
'europe-west4',
|
|
482
|
+
'europe-west6',
|
|
483
|
+
'europe-west8',
|
|
484
|
+
'europe-west9',
|
|
485
|
+
'fsn1',
|
|
486
|
+
'hel1',
|
|
487
|
+
'hil',
|
|
488
|
+
'me-central1',
|
|
489
|
+
'me-central2',
|
|
490
|
+
'me-west1',
|
|
491
|
+
'nbg1',
|
|
492
|
+
'northamerica-northeast1',
|
|
493
|
+
'northamerica-northeast2',
|
|
494
|
+
'sa-east-1',
|
|
495
|
+
'sin',
|
|
496
|
+
'southamerica-east1',
|
|
497
|
+
'southamerica-west1',
|
|
498
|
+
'us-central1',
|
|
499
|
+
'us-east-1',
|
|
500
|
+
'us-east-2',
|
|
501
|
+
'us-east1',
|
|
502
|
+
'us-east4',
|
|
503
|
+
'us-east5',
|
|
504
|
+
'us-south1',
|
|
505
|
+
'us-west-1',
|
|
506
|
+
'us-west-2',
|
|
507
|
+
'us-west1',
|
|
508
|
+
'us-west2',
|
|
509
|
+
'us-west3',
|
|
510
|
+
'us-west4'
|
|
511
|
+
])).optional()
|
|
278
512
|
}).optional(),
|
|
513
|
+
scalingProfile: z.enum(['aggressive', 'conservative']).optional(),
|
|
279
514
|
id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
|
|
280
515
|
});
|
|
281
516
|
export const zFleet = z.object({
|
|
282
517
|
limits: z.object({
|
|
283
|
-
cpu: z.number().gte(0)
|
|
518
|
+
cpu: z.number().gte(0).optional()
|
|
284
519
|
}).optional(),
|
|
285
520
|
gcp: z.object({
|
|
286
521
|
enabled: z.boolean().optional().default(true),
|
|
287
|
-
project: z.string()
|
|
522
|
+
project: z.string().regex(/^[a-z][a-z0-9-]{4,28}[a-z0-9]$/).optional()
|
|
288
523
|
}).optional(),
|
|
289
524
|
hetzner: z.object({
|
|
290
525
|
enabled: z.boolean().optional().default(true),
|
|
291
|
-
apiKey: z.string()
|
|
526
|
+
apiKey: z.string().regex(/^\*{64}$/).optional()
|
|
292
527
|
}).optional(),
|
|
293
528
|
aws: z.object({
|
|
294
529
|
enabled: z.boolean().optional().default(true),
|
|
295
|
-
controllerRoleArn: z.string()
|
|
530
|
+
controllerRoleArn: z.string().regex(/^arn:aws(-[a-z]+)*:iam::\d{12}:role\/[\w+=,.@\/-]+$/).optional()
|
|
296
531
|
}).optional(),
|
|
532
|
+
constraints: z.object({
|
|
533
|
+
'karpenter.sh/capacity-type': z.array(z.enum(['on-demand', 'spot'])).optional(),
|
|
534
|
+
'kubernetes.io/arch': z.array(z.enum(['amd64', 'arm64'])).optional(),
|
|
535
|
+
'cfke.io/instance-family': z.array(z.enum([
|
|
536
|
+
'a1',
|
|
537
|
+
'a2',
|
|
538
|
+
'a3',
|
|
539
|
+
'a4',
|
|
540
|
+
'c1',
|
|
541
|
+
'c2',
|
|
542
|
+
'c2d',
|
|
543
|
+
'c3',
|
|
544
|
+
'c3d',
|
|
545
|
+
'c4',
|
|
546
|
+
'c4a',
|
|
547
|
+
'c4d',
|
|
548
|
+
'c5',
|
|
549
|
+
'c5a',
|
|
550
|
+
'c5ad',
|
|
551
|
+
'c5d',
|
|
552
|
+
'c5n',
|
|
553
|
+
'c6a',
|
|
554
|
+
'c6g',
|
|
555
|
+
'c6gd',
|
|
556
|
+
'c6gn',
|
|
557
|
+
'c6i',
|
|
558
|
+
'c6id',
|
|
559
|
+
'c6in',
|
|
560
|
+
'c7a',
|
|
561
|
+
'c7g',
|
|
562
|
+
'c7gd',
|
|
563
|
+
'c7gn',
|
|
564
|
+
'c7i',
|
|
565
|
+
'c7i-flex',
|
|
566
|
+
'c8g',
|
|
567
|
+
'c8gd',
|
|
568
|
+
'cax',
|
|
569
|
+
'ccx',
|
|
570
|
+
'cpx',
|
|
571
|
+
'cx',
|
|
572
|
+
'd2',
|
|
573
|
+
'd3',
|
|
574
|
+
'd3en',
|
|
575
|
+
'dl1',
|
|
576
|
+
'dl2q',
|
|
577
|
+
'e2',
|
|
578
|
+
'f1',
|
|
579
|
+
'f2',
|
|
580
|
+
'g1',
|
|
581
|
+
'g2',
|
|
582
|
+
'g4ad',
|
|
583
|
+
'g4dn',
|
|
584
|
+
'g5',
|
|
585
|
+
'g5g',
|
|
586
|
+
'g6',
|
|
587
|
+
'g6e',
|
|
588
|
+
'gr6',
|
|
589
|
+
'h1',
|
|
590
|
+
'h3',
|
|
591
|
+
'hpc6a',
|
|
592
|
+
'hpc6id',
|
|
593
|
+
'hpc7a',
|
|
594
|
+
'hpc7g',
|
|
595
|
+
'i2',
|
|
596
|
+
'i3',
|
|
597
|
+
'i3en',
|
|
598
|
+
'i4g',
|
|
599
|
+
'i4i',
|
|
600
|
+
'i7i',
|
|
601
|
+
'i7ie',
|
|
602
|
+
'i8g',
|
|
603
|
+
'im4gn',
|
|
604
|
+
'inf1',
|
|
605
|
+
'inf2',
|
|
606
|
+
'is4gen',
|
|
607
|
+
'm1',
|
|
608
|
+
'm2',
|
|
609
|
+
'm3',
|
|
610
|
+
'm4',
|
|
611
|
+
'm5',
|
|
612
|
+
'm5a',
|
|
613
|
+
'm5ad',
|
|
614
|
+
'm5d',
|
|
615
|
+
'm5dn',
|
|
616
|
+
'm5n',
|
|
617
|
+
'm5zn',
|
|
618
|
+
'm6a',
|
|
619
|
+
'm6g',
|
|
620
|
+
'm6gd',
|
|
621
|
+
'm6i',
|
|
622
|
+
'm6id',
|
|
623
|
+
'm6idn',
|
|
624
|
+
'm6in',
|
|
625
|
+
'm7a',
|
|
626
|
+
'm7g',
|
|
627
|
+
'm7gd',
|
|
628
|
+
'm7i',
|
|
629
|
+
'm7i-flex',
|
|
630
|
+
'm8g',
|
|
631
|
+
'm8gd',
|
|
632
|
+
'n1',
|
|
633
|
+
'n2',
|
|
634
|
+
'n2d',
|
|
635
|
+
'n4',
|
|
636
|
+
'p3',
|
|
637
|
+
'p3dn',
|
|
638
|
+
'p4d',
|
|
639
|
+
'p4de',
|
|
640
|
+
'p5',
|
|
641
|
+
'p5e',
|
|
642
|
+
'p5en',
|
|
643
|
+
'p6-b200',
|
|
644
|
+
'r3',
|
|
645
|
+
'r4',
|
|
646
|
+
'r5',
|
|
647
|
+
'r5a',
|
|
648
|
+
'r5ad',
|
|
649
|
+
'r5b',
|
|
650
|
+
'r5d',
|
|
651
|
+
'r5dn',
|
|
652
|
+
'r5n',
|
|
653
|
+
'r6a',
|
|
654
|
+
'r6g',
|
|
655
|
+
'r6gd',
|
|
656
|
+
'r6i',
|
|
657
|
+
'r6id',
|
|
658
|
+
'r6idn',
|
|
659
|
+
'r6in',
|
|
660
|
+
'r7a',
|
|
661
|
+
'r7g',
|
|
662
|
+
'r7gd',
|
|
663
|
+
'r7i',
|
|
664
|
+
'r7iz',
|
|
665
|
+
'r8g',
|
|
666
|
+
'r8gd',
|
|
667
|
+
't2',
|
|
668
|
+
't2a',
|
|
669
|
+
't2d',
|
|
670
|
+
't3',
|
|
671
|
+
't3a',
|
|
672
|
+
't4g',
|
|
673
|
+
'trn1',
|
|
674
|
+
'trn1n',
|
|
675
|
+
'u-3tb1',
|
|
676
|
+
'u-6tb1',
|
|
677
|
+
'u7i-12tb',
|
|
678
|
+
'u7i-6tb',
|
|
679
|
+
'u7i-8tb',
|
|
680
|
+
'u7in-16tb',
|
|
681
|
+
'u7in-24tb',
|
|
682
|
+
'u7in-32tb',
|
|
683
|
+
'vt1',
|
|
684
|
+
'x1',
|
|
685
|
+
'x1e',
|
|
686
|
+
'x2gd',
|
|
687
|
+
'x2idn',
|
|
688
|
+
'x2iedn',
|
|
689
|
+
'x2iezn',
|
|
690
|
+
'x4',
|
|
691
|
+
'x8g',
|
|
692
|
+
'z1d',
|
|
693
|
+
'z3'
|
|
694
|
+
])).optional(),
|
|
695
|
+
'topology.kubernetes.io/region': z.array(z.enum([
|
|
696
|
+
'africa-south1',
|
|
697
|
+
'ap-northeast-1',
|
|
698
|
+
'ap-northeast-2',
|
|
699
|
+
'ap-northeast-3',
|
|
700
|
+
'ap-south-1',
|
|
701
|
+
'ap-southeast-1',
|
|
702
|
+
'ap-southeast-2',
|
|
703
|
+
'ash',
|
|
704
|
+
'asia-east1',
|
|
705
|
+
'asia-east2',
|
|
706
|
+
'asia-northeast1',
|
|
707
|
+
'asia-northeast2',
|
|
708
|
+
'asia-northeast3',
|
|
709
|
+
'asia-south1',
|
|
710
|
+
'asia-south2',
|
|
711
|
+
'asia-southeast1',
|
|
712
|
+
'asia-southeast2',
|
|
713
|
+
'australia-southeast1',
|
|
714
|
+
'australia-southeast2',
|
|
715
|
+
'ca-central-1',
|
|
716
|
+
'eu-central-1',
|
|
717
|
+
'eu-central-2',
|
|
718
|
+
'eu-north-1',
|
|
719
|
+
'eu-west-1',
|
|
720
|
+
'eu-west-2',
|
|
721
|
+
'eu-west-3',
|
|
722
|
+
'europe-central2',
|
|
723
|
+
'europe-north1',
|
|
724
|
+
'europe-southwest1',
|
|
725
|
+
'europe-west1',
|
|
726
|
+
'europe-west10',
|
|
727
|
+
'europe-west12',
|
|
728
|
+
'europe-west2',
|
|
729
|
+
'europe-west3',
|
|
730
|
+
'europe-west4',
|
|
731
|
+
'europe-west6',
|
|
732
|
+
'europe-west8',
|
|
733
|
+
'europe-west9',
|
|
734
|
+
'fsn1',
|
|
735
|
+
'hel1',
|
|
736
|
+
'hil',
|
|
737
|
+
'me-central1',
|
|
738
|
+
'me-central2',
|
|
739
|
+
'me-west1',
|
|
740
|
+
'nbg1',
|
|
741
|
+
'northamerica-northeast1',
|
|
742
|
+
'northamerica-northeast2',
|
|
743
|
+
'sa-east-1',
|
|
744
|
+
'sin',
|
|
745
|
+
'southamerica-east1',
|
|
746
|
+
'southamerica-west1',
|
|
747
|
+
'us-central1',
|
|
748
|
+
'us-east-1',
|
|
749
|
+
'us-east-2',
|
|
750
|
+
'us-east1',
|
|
751
|
+
'us-east4',
|
|
752
|
+
'us-east5',
|
|
753
|
+
'us-south1',
|
|
754
|
+
'us-west-1',
|
|
755
|
+
'us-west-2',
|
|
756
|
+
'us-west1',
|
|
757
|
+
'us-west2',
|
|
758
|
+
'us-west3',
|
|
759
|
+
'us-west4'
|
|
760
|
+
])).optional()
|
|
761
|
+
}).optional(),
|
|
762
|
+
scalingProfile: z.enum(['aggressive', 'conservative']).optional(),
|
|
297
763
|
id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
|
|
298
764
|
});
|
|
299
765
|
export const zFleetUpdateInput = z.object({
|
|
300
766
|
limits: z.object({
|
|
301
|
-
cpu: z.number().gte(0)
|
|
767
|
+
cpu: z.number().gte(0).optional()
|
|
302
768
|
}).optional(),
|
|
303
769
|
gcp: z.object({
|
|
304
770
|
enabled: z.boolean().optional().default(true),
|
|
305
|
-
project: z.string()
|
|
771
|
+
project: z.string().regex(/^[a-z][a-z0-9-]{4,28}[a-z0-9]$/).optional()
|
|
306
772
|
}).optional(),
|
|
307
773
|
hetzner: z.object({
|
|
308
774
|
enabled: z.boolean().optional().default(true),
|
|
309
|
-
apiKey: z.string()
|
|
775
|
+
apiKey: z.string().length(64).regex(/^[A-Za-z0-9]+$/).optional()
|
|
310
776
|
}).optional(),
|
|
311
777
|
aws: z.object({
|
|
312
778
|
enabled: z.boolean().optional().default(true),
|
|
313
|
-
controllerRoleArn: z.string()
|
|
314
|
-
}).optional()
|
|
779
|
+
controllerRoleArn: z.string().regex(/^arn:aws(-[a-z]+)*:iam::\d{12}:role\/[\w+=,.@\/-]+$/).optional()
|
|
780
|
+
}).optional(),
|
|
781
|
+
constraints: z.object({
|
|
782
|
+
'karpenter.sh/capacity-type': z.array(z.enum(['on-demand', 'spot'])).optional(),
|
|
783
|
+
'kubernetes.io/arch': z.array(z.enum(['amd64', 'arm64'])).optional(),
|
|
784
|
+
'cfke.io/instance-family': z.array(z.enum([
|
|
785
|
+
'a1',
|
|
786
|
+
'a2',
|
|
787
|
+
'a3',
|
|
788
|
+
'a4',
|
|
789
|
+
'c1',
|
|
790
|
+
'c2',
|
|
791
|
+
'c2d',
|
|
792
|
+
'c3',
|
|
793
|
+
'c3d',
|
|
794
|
+
'c4',
|
|
795
|
+
'c4a',
|
|
796
|
+
'c4d',
|
|
797
|
+
'c5',
|
|
798
|
+
'c5a',
|
|
799
|
+
'c5ad',
|
|
800
|
+
'c5d',
|
|
801
|
+
'c5n',
|
|
802
|
+
'c6a',
|
|
803
|
+
'c6g',
|
|
804
|
+
'c6gd',
|
|
805
|
+
'c6gn',
|
|
806
|
+
'c6i',
|
|
807
|
+
'c6id',
|
|
808
|
+
'c6in',
|
|
809
|
+
'c7a',
|
|
810
|
+
'c7g',
|
|
811
|
+
'c7gd',
|
|
812
|
+
'c7gn',
|
|
813
|
+
'c7i',
|
|
814
|
+
'c7i-flex',
|
|
815
|
+
'c8g',
|
|
816
|
+
'c8gd',
|
|
817
|
+
'cax',
|
|
818
|
+
'ccx',
|
|
819
|
+
'cpx',
|
|
820
|
+
'cx',
|
|
821
|
+
'd2',
|
|
822
|
+
'd3',
|
|
823
|
+
'd3en',
|
|
824
|
+
'dl1',
|
|
825
|
+
'dl2q',
|
|
826
|
+
'e2',
|
|
827
|
+
'f1',
|
|
828
|
+
'f2',
|
|
829
|
+
'g1',
|
|
830
|
+
'g2',
|
|
831
|
+
'g4ad',
|
|
832
|
+
'g4dn',
|
|
833
|
+
'g5',
|
|
834
|
+
'g5g',
|
|
835
|
+
'g6',
|
|
836
|
+
'g6e',
|
|
837
|
+
'gr6',
|
|
838
|
+
'h1',
|
|
839
|
+
'h3',
|
|
840
|
+
'hpc6a',
|
|
841
|
+
'hpc6id',
|
|
842
|
+
'hpc7a',
|
|
843
|
+
'hpc7g',
|
|
844
|
+
'i2',
|
|
845
|
+
'i3',
|
|
846
|
+
'i3en',
|
|
847
|
+
'i4g',
|
|
848
|
+
'i4i',
|
|
849
|
+
'i7i',
|
|
850
|
+
'i7ie',
|
|
851
|
+
'i8g',
|
|
852
|
+
'im4gn',
|
|
853
|
+
'inf1',
|
|
854
|
+
'inf2',
|
|
855
|
+
'is4gen',
|
|
856
|
+
'm1',
|
|
857
|
+
'm2',
|
|
858
|
+
'm3',
|
|
859
|
+
'm4',
|
|
860
|
+
'm5',
|
|
861
|
+
'm5a',
|
|
862
|
+
'm5ad',
|
|
863
|
+
'm5d',
|
|
864
|
+
'm5dn',
|
|
865
|
+
'm5n',
|
|
866
|
+
'm5zn',
|
|
867
|
+
'm6a',
|
|
868
|
+
'm6g',
|
|
869
|
+
'm6gd',
|
|
870
|
+
'm6i',
|
|
871
|
+
'm6id',
|
|
872
|
+
'm6idn',
|
|
873
|
+
'm6in',
|
|
874
|
+
'm7a',
|
|
875
|
+
'm7g',
|
|
876
|
+
'm7gd',
|
|
877
|
+
'm7i',
|
|
878
|
+
'm7i-flex',
|
|
879
|
+
'm8g',
|
|
880
|
+
'm8gd',
|
|
881
|
+
'n1',
|
|
882
|
+
'n2',
|
|
883
|
+
'n2d',
|
|
884
|
+
'n4',
|
|
885
|
+
'p3',
|
|
886
|
+
'p3dn',
|
|
887
|
+
'p4d',
|
|
888
|
+
'p4de',
|
|
889
|
+
'p5',
|
|
890
|
+
'p5e',
|
|
891
|
+
'p5en',
|
|
892
|
+
'p6-b200',
|
|
893
|
+
'r3',
|
|
894
|
+
'r4',
|
|
895
|
+
'r5',
|
|
896
|
+
'r5a',
|
|
897
|
+
'r5ad',
|
|
898
|
+
'r5b',
|
|
899
|
+
'r5d',
|
|
900
|
+
'r5dn',
|
|
901
|
+
'r5n',
|
|
902
|
+
'r6a',
|
|
903
|
+
'r6g',
|
|
904
|
+
'r6gd',
|
|
905
|
+
'r6i',
|
|
906
|
+
'r6id',
|
|
907
|
+
'r6idn',
|
|
908
|
+
'r6in',
|
|
909
|
+
'r7a',
|
|
910
|
+
'r7g',
|
|
911
|
+
'r7gd',
|
|
912
|
+
'r7i',
|
|
913
|
+
'r7iz',
|
|
914
|
+
'r8g',
|
|
915
|
+
'r8gd',
|
|
916
|
+
't2',
|
|
917
|
+
't2a',
|
|
918
|
+
't2d',
|
|
919
|
+
't3',
|
|
920
|
+
't3a',
|
|
921
|
+
't4g',
|
|
922
|
+
'trn1',
|
|
923
|
+
'trn1n',
|
|
924
|
+
'u-3tb1',
|
|
925
|
+
'u-6tb1',
|
|
926
|
+
'u7i-12tb',
|
|
927
|
+
'u7i-6tb',
|
|
928
|
+
'u7i-8tb',
|
|
929
|
+
'u7in-16tb',
|
|
930
|
+
'u7in-24tb',
|
|
931
|
+
'u7in-32tb',
|
|
932
|
+
'vt1',
|
|
933
|
+
'x1',
|
|
934
|
+
'x1e',
|
|
935
|
+
'x2gd',
|
|
936
|
+
'x2idn',
|
|
937
|
+
'x2iedn',
|
|
938
|
+
'x2iezn',
|
|
939
|
+
'x4',
|
|
940
|
+
'x8g',
|
|
941
|
+
'z1d',
|
|
942
|
+
'z3'
|
|
943
|
+
])).optional(),
|
|
944
|
+
'topology.kubernetes.io/region': z.array(z.enum([
|
|
945
|
+
'africa-south1',
|
|
946
|
+
'ap-northeast-1',
|
|
947
|
+
'ap-northeast-2',
|
|
948
|
+
'ap-northeast-3',
|
|
949
|
+
'ap-south-1',
|
|
950
|
+
'ap-southeast-1',
|
|
951
|
+
'ap-southeast-2',
|
|
952
|
+
'ash',
|
|
953
|
+
'asia-east1',
|
|
954
|
+
'asia-east2',
|
|
955
|
+
'asia-northeast1',
|
|
956
|
+
'asia-northeast2',
|
|
957
|
+
'asia-northeast3',
|
|
958
|
+
'asia-south1',
|
|
959
|
+
'asia-south2',
|
|
960
|
+
'asia-southeast1',
|
|
961
|
+
'asia-southeast2',
|
|
962
|
+
'australia-southeast1',
|
|
963
|
+
'australia-southeast2',
|
|
964
|
+
'ca-central-1',
|
|
965
|
+
'eu-central-1',
|
|
966
|
+
'eu-central-2',
|
|
967
|
+
'eu-north-1',
|
|
968
|
+
'eu-west-1',
|
|
969
|
+
'eu-west-2',
|
|
970
|
+
'eu-west-3',
|
|
971
|
+
'europe-central2',
|
|
972
|
+
'europe-north1',
|
|
973
|
+
'europe-southwest1',
|
|
974
|
+
'europe-west1',
|
|
975
|
+
'europe-west10',
|
|
976
|
+
'europe-west12',
|
|
977
|
+
'europe-west2',
|
|
978
|
+
'europe-west3',
|
|
979
|
+
'europe-west4',
|
|
980
|
+
'europe-west6',
|
|
981
|
+
'europe-west8',
|
|
982
|
+
'europe-west9',
|
|
983
|
+
'fsn1',
|
|
984
|
+
'hel1',
|
|
985
|
+
'hil',
|
|
986
|
+
'me-central1',
|
|
987
|
+
'me-central2',
|
|
988
|
+
'me-west1',
|
|
989
|
+
'nbg1',
|
|
990
|
+
'northamerica-northeast1',
|
|
991
|
+
'northamerica-northeast2',
|
|
992
|
+
'sa-east-1',
|
|
993
|
+
'sin',
|
|
994
|
+
'southamerica-east1',
|
|
995
|
+
'southamerica-west1',
|
|
996
|
+
'us-central1',
|
|
997
|
+
'us-east-1',
|
|
998
|
+
'us-east-2',
|
|
999
|
+
'us-east1',
|
|
1000
|
+
'us-east4',
|
|
1001
|
+
'us-east5',
|
|
1002
|
+
'us-south1',
|
|
1003
|
+
'us-west-1',
|
|
1004
|
+
'us-west-2',
|
|
1005
|
+
'us-west1',
|
|
1006
|
+
'us-west2',
|
|
1007
|
+
'us-west3',
|
|
1008
|
+
'us-west4'
|
|
1009
|
+
])).optional()
|
|
1010
|
+
}).optional(),
|
|
1011
|
+
scalingProfile: z.enum(['aggressive', 'conservative']).optional()
|
|
315
1012
|
});
|
|
316
1013
|
export const zInvite = z.object({
|
|
317
1014
|
id: z.string().optional(),
|
|
318
|
-
organization_id: z.
|
|
319
|
-
date_created: z.
|
|
320
|
-
email: z.
|
|
1015
|
+
organization_id: z.uuid().optional(),
|
|
1016
|
+
date_created: z.iso.datetime(),
|
|
1017
|
+
email: z.email().optional(),
|
|
321
1018
|
code: z.string().optional()
|
|
322
1019
|
});
|
|
323
1020
|
export const zInvoice = z.object({
|
|
324
|
-
id: z.string().
|
|
325
|
-
|
|
326
|
-
status: z.
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
'AOA',
|
|
339
|
-
'ARS',
|
|
340
|
-
'AUD',
|
|
341
|
-
'AWG',
|
|
342
|
-
'AZN',
|
|
343
|
-
'BAM',
|
|
344
|
-
'BBD',
|
|
345
|
-
'BDT',
|
|
346
|
-
'BGN',
|
|
347
|
-
'BHD',
|
|
348
|
-
'BIF',
|
|
349
|
-
'BMD',
|
|
350
|
-
'BND',
|
|
351
|
-
'BOB',
|
|
352
|
-
'BRL',
|
|
353
|
-
'BSD',
|
|
354
|
-
'BTN',
|
|
355
|
-
'BWP',
|
|
356
|
-
'BYR',
|
|
357
|
-
'BZD',
|
|
358
|
-
'CAD',
|
|
359
|
-
'CDF',
|
|
360
|
-
'CHF',
|
|
361
|
-
'CLP',
|
|
362
|
-
'CNY',
|
|
363
|
-
'COP',
|
|
364
|
-
'CRC',
|
|
365
|
-
'CUC',
|
|
366
|
-
'CUP',
|
|
367
|
-
'CVE',
|
|
368
|
-
'CZK',
|
|
369
|
-
'DJF',
|
|
370
|
-
'DKK',
|
|
371
|
-
'DOP',
|
|
372
|
-
'DZD',
|
|
373
|
-
'EGP',
|
|
374
|
-
'ERN',
|
|
375
|
-
'ETB',
|
|
376
|
-
'EUR',
|
|
377
|
-
'FJD',
|
|
378
|
-
'FKP',
|
|
379
|
-
'GBP',
|
|
380
|
-
'GEL',
|
|
381
|
-
'GGP',
|
|
382
|
-
'GHS',
|
|
383
|
-
'GIP',
|
|
384
|
-
'GMD',
|
|
385
|
-
'GNF',
|
|
386
|
-
'GTQ',
|
|
387
|
-
'GYD',
|
|
388
|
-
'HKD',
|
|
389
|
-
'HNL',
|
|
390
|
-
'HRK',
|
|
391
|
-
'HTG',
|
|
392
|
-
'HUF',
|
|
393
|
-
'IDR',
|
|
394
|
-
'ILS',
|
|
395
|
-
'IMP',
|
|
396
|
-
'INR',
|
|
397
|
-
'IQD',
|
|
398
|
-
'IRR',
|
|
399
|
-
'ISK',
|
|
400
|
-
'JEP',
|
|
401
|
-
'JMD',
|
|
402
|
-
'JOD',
|
|
403
|
-
'JPY',
|
|
404
|
-
'KES',
|
|
405
|
-
'KGS',
|
|
406
|
-
'KHR',
|
|
407
|
-
'KMF',
|
|
408
|
-
'KPW',
|
|
409
|
-
'KRW',
|
|
410
|
-
'KWD',
|
|
411
|
-
'KYD',
|
|
412
|
-
'KZT',
|
|
413
|
-
'LAK',
|
|
414
|
-
'LBP',
|
|
415
|
-
'LKR',
|
|
416
|
-
'LRD',
|
|
417
|
-
'LSL',
|
|
418
|
-
'LTL',
|
|
419
|
-
'LVL',
|
|
420
|
-
'LYD',
|
|
421
|
-
'MAD',
|
|
422
|
-
'MDL',
|
|
423
|
-
'MGA',
|
|
424
|
-
'MKD',
|
|
425
|
-
'MMK',
|
|
426
|
-
'MNT',
|
|
427
|
-
'MOP',
|
|
428
|
-
'MRO',
|
|
429
|
-
'MUR',
|
|
430
|
-
'MVR',
|
|
431
|
-
'MWK',
|
|
432
|
-
'MXN',
|
|
433
|
-
'MYR',
|
|
434
|
-
'MZN',
|
|
435
|
-
'NAD',
|
|
436
|
-
'NGN',
|
|
437
|
-
'NIO',
|
|
438
|
-
'NOK',
|
|
439
|
-
'NPR',
|
|
440
|
-
'NZD',
|
|
441
|
-
'OMR',
|
|
442
|
-
'PAB',
|
|
443
|
-
'PEN',
|
|
444
|
-
'PGK',
|
|
445
|
-
'PHP',
|
|
446
|
-
'PKR',
|
|
447
|
-
'PLN',
|
|
448
|
-
'PYG',
|
|
449
|
-
'QAR',
|
|
450
|
-
'RON',
|
|
451
|
-
'RSD',
|
|
452
|
-
'RUB',
|
|
453
|
-
'RWF',
|
|
454
|
-
'SAR',
|
|
455
|
-
'SBD',
|
|
456
|
-
'SCR',
|
|
457
|
-
'SDG',
|
|
458
|
-
'SEK',
|
|
459
|
-
'SGD',
|
|
460
|
-
'SHP',
|
|
461
|
-
'SLL',
|
|
462
|
-
'SOS',
|
|
463
|
-
'SPL',
|
|
464
|
-
'SRD',
|
|
465
|
-
'STD',
|
|
466
|
-
'SVC',
|
|
467
|
-
'SYP',
|
|
468
|
-
'SZL',
|
|
469
|
-
'THB',
|
|
470
|
-
'TJS',
|
|
471
|
-
'TMT',
|
|
472
|
-
'TND',
|
|
473
|
-
'TOP',
|
|
474
|
-
'TRY',
|
|
475
|
-
'TTD',
|
|
476
|
-
'TVD',
|
|
477
|
-
'TWD',
|
|
478
|
-
'TZS',
|
|
479
|
-
'UAH',
|
|
480
|
-
'UGX',
|
|
481
|
-
'USD',
|
|
482
|
-
'UYU',
|
|
483
|
-
'UZS',
|
|
484
|
-
'VEF',
|
|
485
|
-
'VND',
|
|
486
|
-
'VUV',
|
|
487
|
-
'WST',
|
|
488
|
-
'XAF',
|
|
489
|
-
'XCD',
|
|
490
|
-
'XDR',
|
|
491
|
-
'XOF',
|
|
492
|
-
'XPF',
|
|
493
|
-
'YER',
|
|
494
|
-
'ZAR',
|
|
495
|
-
'ZMW',
|
|
496
|
-
'ZWD',
|
|
497
|
-
'BTC'
|
|
498
|
-
]).optional(),
|
|
499
|
-
creditAdj: z.number().optional(),
|
|
500
|
-
refundAdj: z.number().optional(),
|
|
501
|
-
invoiceDate: z.string().optional(),
|
|
502
|
-
targetDate: z.string().optional(),
|
|
503
|
-
invoiceNumber: z.string().optional(),
|
|
504
|
-
balance: z.number().optional(),
|
|
505
|
-
bundleKeys: z.string().optional(),
|
|
506
|
-
credits: z.array(z.object({
|
|
507
|
-
id: z.string().uuid().optional(),
|
|
508
|
-
linkedInvoiceItemId: z.string().uuid().optional(),
|
|
509
|
-
productName: z.string().optional(),
|
|
510
|
-
planName: z.string().optional(),
|
|
511
|
-
phaseName: z.string().optional(),
|
|
512
|
-
usageName: z.string().optional(),
|
|
513
|
-
prettyProductName: z.string().optional(),
|
|
514
|
-
prettyPlanName: z.string().optional(),
|
|
515
|
-
prettyPhaseName: z.string().optional(),
|
|
516
|
-
prettyUsageName: z.string().optional(),
|
|
517
|
-
itemType: z.enum([
|
|
518
|
-
'EXTERNAL_CHARGE',
|
|
519
|
-
'FIXED',
|
|
520
|
-
'RECURRING',
|
|
521
|
-
'REPAIR_ADJ',
|
|
522
|
-
'CBA_ADJ',
|
|
523
|
-
'CREDIT_ADJ',
|
|
524
|
-
'ITEM_ADJ',
|
|
525
|
-
'USAGE',
|
|
526
|
-
'TAX',
|
|
527
|
-
'PARENT_SUMMARY'
|
|
528
|
-
]).optional(),
|
|
529
|
-
description: z.string().optional(),
|
|
530
|
-
startDate: z.string().optional(),
|
|
531
|
-
endDate: z.string().optional(),
|
|
532
|
-
amount: z.number().optional(),
|
|
533
|
-
rate: z.number().optional(),
|
|
534
|
-
currency: z.enum([
|
|
535
|
-
'AED',
|
|
536
|
-
'AFN',
|
|
537
|
-
'ALL',
|
|
538
|
-
'AMD',
|
|
539
|
-
'ANG',
|
|
540
|
-
'AOA',
|
|
541
|
-
'ARS',
|
|
542
|
-
'AUD',
|
|
543
|
-
'AWG',
|
|
544
|
-
'AZN',
|
|
545
|
-
'BAM',
|
|
546
|
-
'BBD',
|
|
547
|
-
'BDT',
|
|
548
|
-
'BGN',
|
|
549
|
-
'BHD',
|
|
550
|
-
'BIF',
|
|
551
|
-
'BMD',
|
|
552
|
-
'BND',
|
|
553
|
-
'BOB',
|
|
554
|
-
'BRL',
|
|
555
|
-
'BSD',
|
|
556
|
-
'BTN',
|
|
557
|
-
'BWP',
|
|
558
|
-
'BYR',
|
|
559
|
-
'BZD',
|
|
560
|
-
'CAD',
|
|
561
|
-
'CDF',
|
|
562
|
-
'CHF',
|
|
563
|
-
'CLP',
|
|
564
|
-
'CNY',
|
|
565
|
-
'COP',
|
|
566
|
-
'CRC',
|
|
567
|
-
'CUC',
|
|
568
|
-
'CUP',
|
|
569
|
-
'CVE',
|
|
570
|
-
'CZK',
|
|
571
|
-
'DJF',
|
|
572
|
-
'DKK',
|
|
573
|
-
'DOP',
|
|
574
|
-
'DZD',
|
|
575
|
-
'EGP',
|
|
576
|
-
'ERN',
|
|
577
|
-
'ETB',
|
|
578
|
-
'EUR',
|
|
579
|
-
'FJD',
|
|
580
|
-
'FKP',
|
|
581
|
-
'GBP',
|
|
582
|
-
'GEL',
|
|
583
|
-
'GGP',
|
|
584
|
-
'GHS',
|
|
585
|
-
'GIP',
|
|
586
|
-
'GMD',
|
|
587
|
-
'GNF',
|
|
588
|
-
'GTQ',
|
|
589
|
-
'GYD',
|
|
590
|
-
'HKD',
|
|
591
|
-
'HNL',
|
|
592
|
-
'HRK',
|
|
593
|
-
'HTG',
|
|
594
|
-
'HUF',
|
|
595
|
-
'IDR',
|
|
596
|
-
'ILS',
|
|
597
|
-
'IMP',
|
|
598
|
-
'INR',
|
|
599
|
-
'IQD',
|
|
600
|
-
'IRR',
|
|
601
|
-
'ISK',
|
|
602
|
-
'JEP',
|
|
603
|
-
'JMD',
|
|
604
|
-
'JOD',
|
|
605
|
-
'JPY',
|
|
606
|
-
'KES',
|
|
607
|
-
'KGS',
|
|
608
|
-
'KHR',
|
|
609
|
-
'KMF',
|
|
610
|
-
'KPW',
|
|
611
|
-
'KRW',
|
|
612
|
-
'KWD',
|
|
613
|
-
'KYD',
|
|
614
|
-
'KZT',
|
|
615
|
-
'LAK',
|
|
616
|
-
'LBP',
|
|
617
|
-
'LKR',
|
|
618
|
-
'LRD',
|
|
619
|
-
'LSL',
|
|
620
|
-
'LTL',
|
|
621
|
-
'LVL',
|
|
622
|
-
'LYD',
|
|
623
|
-
'MAD',
|
|
624
|
-
'MDL',
|
|
625
|
-
'MGA',
|
|
626
|
-
'MKD',
|
|
627
|
-
'MMK',
|
|
628
|
-
'MNT',
|
|
629
|
-
'MOP',
|
|
630
|
-
'MRO',
|
|
631
|
-
'MUR',
|
|
632
|
-
'MVR',
|
|
633
|
-
'MWK',
|
|
634
|
-
'MXN',
|
|
635
|
-
'MYR',
|
|
636
|
-
'MZN',
|
|
637
|
-
'NAD',
|
|
638
|
-
'NGN',
|
|
639
|
-
'NIO',
|
|
640
|
-
'NOK',
|
|
641
|
-
'NPR',
|
|
642
|
-
'NZD',
|
|
643
|
-
'OMR',
|
|
644
|
-
'PAB',
|
|
645
|
-
'PEN',
|
|
646
|
-
'PGK',
|
|
647
|
-
'PHP',
|
|
648
|
-
'PKR',
|
|
649
|
-
'PLN',
|
|
650
|
-
'PYG',
|
|
651
|
-
'QAR',
|
|
652
|
-
'RON',
|
|
653
|
-
'RSD',
|
|
654
|
-
'RUB',
|
|
655
|
-
'RWF',
|
|
656
|
-
'SAR',
|
|
657
|
-
'SBD',
|
|
658
|
-
'SCR',
|
|
659
|
-
'SDG',
|
|
660
|
-
'SEK',
|
|
661
|
-
'SGD',
|
|
662
|
-
'SHP',
|
|
663
|
-
'SLL',
|
|
664
|
-
'SOS',
|
|
665
|
-
'SPL',
|
|
666
|
-
'SRD',
|
|
667
|
-
'STD',
|
|
668
|
-
'SVC',
|
|
669
|
-
'SYP',
|
|
670
|
-
'SZL',
|
|
671
|
-
'THB',
|
|
672
|
-
'TJS',
|
|
673
|
-
'TMT',
|
|
674
|
-
'TND',
|
|
675
|
-
'TOP',
|
|
676
|
-
'TRY',
|
|
677
|
-
'TTD',
|
|
678
|
-
'TVD',
|
|
679
|
-
'TWD',
|
|
680
|
-
'TZS',
|
|
681
|
-
'UAH',
|
|
682
|
-
'UGX',
|
|
683
|
-
'USD',
|
|
684
|
-
'UYU',
|
|
685
|
-
'UZS',
|
|
686
|
-
'VEF',
|
|
687
|
-
'VND',
|
|
688
|
-
'VUV',
|
|
689
|
-
'WST',
|
|
690
|
-
'XAF',
|
|
691
|
-
'XCD',
|
|
692
|
-
'XDR',
|
|
693
|
-
'XOF',
|
|
694
|
-
'XPF',
|
|
695
|
-
'YER',
|
|
696
|
-
'ZAR',
|
|
697
|
-
'ZMW',
|
|
698
|
-
'ZWD',
|
|
699
|
-
'BTC'
|
|
700
|
-
]).optional(),
|
|
701
|
-
quantity: z.number().optional(),
|
|
702
|
-
itemDetails: z.string().optional(),
|
|
703
|
-
catalogEffectiveDate: z.string().optional(),
|
|
704
|
-
childItems: z.array(z.unknown()).optional()
|
|
705
|
-
})).optional(),
|
|
706
|
-
items: z.array(z.object({
|
|
707
|
-
id: z.string().uuid().optional(),
|
|
708
|
-
linkedInvoiceItemId: z.string().uuid().optional(),
|
|
709
|
-
productName: z.string().optional(),
|
|
710
|
-
planName: z.string().optional(),
|
|
711
|
-
phaseName: z.string().optional(),
|
|
712
|
-
usageName: z.string().optional(),
|
|
713
|
-
prettyProductName: z.string().optional(),
|
|
714
|
-
prettyPlanName: z.string().optional(),
|
|
715
|
-
prettyPhaseName: z.string().optional(),
|
|
716
|
-
prettyUsageName: z.string().optional(),
|
|
717
|
-
itemType: z.enum([
|
|
718
|
-
'EXTERNAL_CHARGE',
|
|
719
|
-
'FIXED',
|
|
720
|
-
'RECURRING',
|
|
721
|
-
'REPAIR_ADJ',
|
|
722
|
-
'CBA_ADJ',
|
|
723
|
-
'CREDIT_ADJ',
|
|
724
|
-
'ITEM_ADJ',
|
|
725
|
-
'USAGE',
|
|
726
|
-
'TAX',
|
|
727
|
-
'PARENT_SUMMARY'
|
|
728
|
-
]).optional(),
|
|
729
|
-
description: z.string().optional(),
|
|
730
|
-
startDate: z.string().optional(),
|
|
731
|
-
endDate: z.string().optional(),
|
|
732
|
-
amount: z.number().optional(),
|
|
733
|
-
rate: z.number().optional(),
|
|
734
|
-
currency: z.enum([
|
|
735
|
-
'AED',
|
|
736
|
-
'AFN',
|
|
737
|
-
'ALL',
|
|
738
|
-
'AMD',
|
|
739
|
-
'ANG',
|
|
740
|
-
'AOA',
|
|
741
|
-
'ARS',
|
|
742
|
-
'AUD',
|
|
743
|
-
'AWG',
|
|
744
|
-
'AZN',
|
|
745
|
-
'BAM',
|
|
746
|
-
'BBD',
|
|
747
|
-
'BDT',
|
|
748
|
-
'BGN',
|
|
749
|
-
'BHD',
|
|
750
|
-
'BIF',
|
|
751
|
-
'BMD',
|
|
752
|
-
'BND',
|
|
753
|
-
'BOB',
|
|
754
|
-
'BRL',
|
|
755
|
-
'BSD',
|
|
756
|
-
'BTN',
|
|
757
|
-
'BWP',
|
|
758
|
-
'BYR',
|
|
759
|
-
'BZD',
|
|
760
|
-
'CAD',
|
|
761
|
-
'CDF',
|
|
762
|
-
'CHF',
|
|
763
|
-
'CLP',
|
|
764
|
-
'CNY',
|
|
765
|
-
'COP',
|
|
766
|
-
'CRC',
|
|
767
|
-
'CUC',
|
|
768
|
-
'CUP',
|
|
769
|
-
'CVE',
|
|
770
|
-
'CZK',
|
|
771
|
-
'DJF',
|
|
772
|
-
'DKK',
|
|
773
|
-
'DOP',
|
|
774
|
-
'DZD',
|
|
775
|
-
'EGP',
|
|
776
|
-
'ERN',
|
|
777
|
-
'ETB',
|
|
778
|
-
'EUR',
|
|
779
|
-
'FJD',
|
|
780
|
-
'FKP',
|
|
781
|
-
'GBP',
|
|
782
|
-
'GEL',
|
|
783
|
-
'GGP',
|
|
784
|
-
'GHS',
|
|
785
|
-
'GIP',
|
|
786
|
-
'GMD',
|
|
787
|
-
'GNF',
|
|
788
|
-
'GTQ',
|
|
789
|
-
'GYD',
|
|
790
|
-
'HKD',
|
|
791
|
-
'HNL',
|
|
792
|
-
'HRK',
|
|
793
|
-
'HTG',
|
|
794
|
-
'HUF',
|
|
795
|
-
'IDR',
|
|
796
|
-
'ILS',
|
|
797
|
-
'IMP',
|
|
798
|
-
'INR',
|
|
799
|
-
'IQD',
|
|
800
|
-
'IRR',
|
|
801
|
-
'ISK',
|
|
802
|
-
'JEP',
|
|
803
|
-
'JMD',
|
|
804
|
-
'JOD',
|
|
805
|
-
'JPY',
|
|
806
|
-
'KES',
|
|
807
|
-
'KGS',
|
|
808
|
-
'KHR',
|
|
809
|
-
'KMF',
|
|
810
|
-
'KPW',
|
|
811
|
-
'KRW',
|
|
812
|
-
'KWD',
|
|
813
|
-
'KYD',
|
|
814
|
-
'KZT',
|
|
815
|
-
'LAK',
|
|
816
|
-
'LBP',
|
|
817
|
-
'LKR',
|
|
818
|
-
'LRD',
|
|
819
|
-
'LSL',
|
|
820
|
-
'LTL',
|
|
821
|
-
'LVL',
|
|
822
|
-
'LYD',
|
|
823
|
-
'MAD',
|
|
824
|
-
'MDL',
|
|
825
|
-
'MGA',
|
|
826
|
-
'MKD',
|
|
827
|
-
'MMK',
|
|
828
|
-
'MNT',
|
|
829
|
-
'MOP',
|
|
830
|
-
'MRO',
|
|
831
|
-
'MUR',
|
|
832
|
-
'MVR',
|
|
833
|
-
'MWK',
|
|
834
|
-
'MXN',
|
|
835
|
-
'MYR',
|
|
836
|
-
'MZN',
|
|
837
|
-
'NAD',
|
|
838
|
-
'NGN',
|
|
839
|
-
'NIO',
|
|
840
|
-
'NOK',
|
|
841
|
-
'NPR',
|
|
842
|
-
'NZD',
|
|
843
|
-
'OMR',
|
|
844
|
-
'PAB',
|
|
845
|
-
'PEN',
|
|
846
|
-
'PGK',
|
|
847
|
-
'PHP',
|
|
848
|
-
'PKR',
|
|
849
|
-
'PLN',
|
|
850
|
-
'PYG',
|
|
851
|
-
'QAR',
|
|
852
|
-
'RON',
|
|
853
|
-
'RSD',
|
|
854
|
-
'RUB',
|
|
855
|
-
'RWF',
|
|
856
|
-
'SAR',
|
|
857
|
-
'SBD',
|
|
858
|
-
'SCR',
|
|
859
|
-
'SDG',
|
|
860
|
-
'SEK',
|
|
861
|
-
'SGD',
|
|
862
|
-
'SHP',
|
|
863
|
-
'SLL',
|
|
864
|
-
'SOS',
|
|
865
|
-
'SPL',
|
|
866
|
-
'SRD',
|
|
867
|
-
'STD',
|
|
868
|
-
'SVC',
|
|
869
|
-
'SYP',
|
|
870
|
-
'SZL',
|
|
871
|
-
'THB',
|
|
872
|
-
'TJS',
|
|
873
|
-
'TMT',
|
|
874
|
-
'TND',
|
|
875
|
-
'TOP',
|
|
876
|
-
'TRY',
|
|
877
|
-
'TTD',
|
|
878
|
-
'TVD',
|
|
879
|
-
'TWD',
|
|
880
|
-
'TZS',
|
|
881
|
-
'UAH',
|
|
882
|
-
'UGX',
|
|
883
|
-
'USD',
|
|
884
|
-
'UYU',
|
|
885
|
-
'UZS',
|
|
886
|
-
'VEF',
|
|
887
|
-
'VND',
|
|
888
|
-
'VUV',
|
|
889
|
-
'WST',
|
|
890
|
-
'XAF',
|
|
891
|
-
'XCD',
|
|
892
|
-
'XDR',
|
|
893
|
-
'XOF',
|
|
894
|
-
'XPF',
|
|
895
|
-
'YER',
|
|
896
|
-
'ZAR',
|
|
897
|
-
'ZMW',
|
|
898
|
-
'ZWD',
|
|
899
|
-
'BTC'
|
|
900
|
-
]).optional(),
|
|
901
|
-
quantity: z.number().optional(),
|
|
902
|
-
itemDetails: z.string().optional(),
|
|
903
|
-
catalogEffectiveDate: z.string().optional(),
|
|
904
|
-
childItems: z.array(z.unknown()).optional()
|
|
905
|
-
})).optional()
|
|
1021
|
+
id: z.string().optional(),
|
|
1022
|
+
number: z.string().optional(),
|
|
1023
|
+
status: z.string().optional(),
|
|
1024
|
+
total: z.number().optional(),
|
|
1025
|
+
currency: z.string().optional(),
|
|
1026
|
+
created: z.iso.datetime(),
|
|
1027
|
+
period_start: z.iso.datetime(),
|
|
1028
|
+
period_end: z.iso.datetime(),
|
|
1029
|
+
invoice_pdf: z.string().optional()
|
|
1030
|
+
});
|
|
1031
|
+
export const zMarketplaceListingFiles = z.object({
|
|
1032
|
+
chartYaml: z.string().optional(),
|
|
1033
|
+
valuesYaml: z.string().optional(),
|
|
1034
|
+
valuesSchemaJson: z.string().optional()
|
|
906
1035
|
});
|
|
907
1036
|
export const zMarketplaceListing = z.object({
|
|
908
|
-
id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
909
1037
|
name: z.string(),
|
|
910
|
-
|
|
911
|
-
description: z.string(),
|
|
912
|
-
logoUrl: z.string(),
|
|
913
|
-
longDescription: z.string(),
|
|
914
|
-
categories: z.array(z.string()),
|
|
1038
|
+
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-]+)*))?$/)),
|
|
915
1039
|
version_channels: z.array(z.string().regex(/^(x|X|0|[1-9]\d*)\.(x|X|0|[1-9]\d*)\.(x|X|0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/)),
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
1040
|
+
latestVersion: z.string(),
|
|
1041
|
+
metadata: z.object({
|
|
1042
|
+
name: z.string(),
|
|
1043
|
+
version: z.string(),
|
|
1044
|
+
description: z.string().optional(),
|
|
1045
|
+
appVersion: z.string().optional(),
|
|
1046
|
+
apiVersion: z.string().optional(),
|
|
1047
|
+
keywords: z.array(z.string()).optional(),
|
|
1048
|
+
home: z.string().optional(),
|
|
1049
|
+
icon: z.string().optional(),
|
|
1050
|
+
sources: z.array(z.string()).optional(),
|
|
1051
|
+
maintainers: z.array(z.object({
|
|
1052
|
+
name: z.string(),
|
|
1053
|
+
email: z.string().optional()
|
|
1054
|
+
})).optional()
|
|
1055
|
+
}).optional()
|
|
921
1056
|
});
|
|
922
1057
|
export const zOrganizationCreateInput = z.object({
|
|
923
|
-
email: z.
|
|
1058
|
+
email: z.email(),
|
|
924
1059
|
first_name: z.string(),
|
|
925
1060
|
last_name: z.string(),
|
|
926
1061
|
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,}$/),
|
|
927
1062
|
password: z.string().min(8)
|
|
928
1063
|
});
|
|
929
1064
|
export const zOrganization = z.object({
|
|
930
|
-
id: z.
|
|
1065
|
+
id: z.uuid(),
|
|
931
1066
|
name: z.string().min(2).max(120).optional(),
|
|
932
|
-
date_created: z.
|
|
1067
|
+
date_created: z.iso.datetime(),
|
|
933
1068
|
quota: z.object({
|
|
934
|
-
basic_clusters_max: z.
|
|
935
|
-
basic_clusters_available: z.
|
|
936
|
-
pro_clusters_max: z.
|
|
937
|
-
pro_clusters_available: z.
|
|
938
|
-
fleets_max: z.
|
|
1069
|
+
basic_clusters_max: z.int().gte(0),
|
|
1070
|
+
basic_clusters_available: z.int(),
|
|
1071
|
+
pro_clusters_max: z.int().gte(0),
|
|
1072
|
+
pro_clusters_available: z.int(),
|
|
1073
|
+
fleets_max: z.int().gte(0),
|
|
939
1074
|
cluster_tiers: z.array(z.string()).min(0),
|
|
940
1075
|
regions: z.array(z.string()).min(1),
|
|
941
1076
|
versions: z.array(z.object({
|
|
942
1077
|
id: z.string(),
|
|
943
1078
|
label: z.string()
|
|
944
|
-
})).min(1)
|
|
1079
|
+
})).min(1),
|
|
1080
|
+
cfcr_storage_gb: z.int().gte(-1)
|
|
945
1081
|
}),
|
|
946
1082
|
status: z.enum([
|
|
947
1083
|
'active',
|
|
@@ -950,14 +1086,12 @@ export const zOrganization = z.object({
|
|
|
950
1086
|
])
|
|
951
1087
|
});
|
|
952
1088
|
export const zPaymentMethod = z.object({
|
|
953
|
-
id: z.
|
|
1089
|
+
id: z.uuid(),
|
|
954
1090
|
setup: z.boolean(),
|
|
955
|
-
type: z.enum([
|
|
956
|
-
'card'
|
|
957
|
-
]),
|
|
1091
|
+
type: z.enum(['card']),
|
|
958
1092
|
last4: z.string(),
|
|
959
|
-
exp_month: z.
|
|
960
|
-
exp_year: z.
|
|
1093
|
+
exp_month: z.int().gte(1).lte(12),
|
|
1094
|
+
exp_year: z.int().gte(2024),
|
|
961
1095
|
brand: z.enum([
|
|
962
1096
|
'amex',
|
|
963
1097
|
'diners',
|
|
@@ -970,125 +1104,239 @@ export const zPaymentMethod = z.object({
|
|
|
970
1104
|
'unknown'
|
|
971
1105
|
])
|
|
972
1106
|
});
|
|
1107
|
+
export const zPlatformQuota = z.object({
|
|
1108
|
+
basic_clusters_max: z.int().gte(0),
|
|
1109
|
+
basic_clusters_available: z.int(),
|
|
1110
|
+
pro_clusters_max: z.int().gte(0),
|
|
1111
|
+
pro_clusters_available: z.int(),
|
|
1112
|
+
fleets_max: z.int().gte(0),
|
|
1113
|
+
cluster_tiers: z.array(z.string()).min(0),
|
|
1114
|
+
regions: z.array(z.string()).min(1),
|
|
1115
|
+
versions: z.array(z.object({
|
|
1116
|
+
id: z.string(),
|
|
1117
|
+
label: z.string()
|
|
1118
|
+
})).min(1),
|
|
1119
|
+
cfcr_storage_gb: z.int().gte(-1)
|
|
1120
|
+
});
|
|
1121
|
+
export const zRegistryRepository = z.object({
|
|
1122
|
+
name: z.string(),
|
|
1123
|
+
region: z.string(),
|
|
1124
|
+
uri: z.string()
|
|
1125
|
+
});
|
|
1126
|
+
export const zRegistryRepositoryWithTags = z.object({
|
|
1127
|
+
name: z.string(),
|
|
1128
|
+
region: z.string(),
|
|
1129
|
+
uri: z.string(),
|
|
1130
|
+
tags: z.array(z.object({
|
|
1131
|
+
name: z.string(),
|
|
1132
|
+
size: z.number(),
|
|
1133
|
+
mediaType: z.string().optional(),
|
|
1134
|
+
platforms: z.array(z.string()).optional()
|
|
1135
|
+
})),
|
|
1136
|
+
totalSize: z.number()
|
|
1137
|
+
});
|
|
1138
|
+
export const zRegistryTag = z.object({
|
|
1139
|
+
name: z.string(),
|
|
1140
|
+
digest: z.string(),
|
|
1141
|
+
mediaType: z.string().optional(),
|
|
1142
|
+
config: z.object({
|
|
1143
|
+
size: z.number()
|
|
1144
|
+
}).optional(),
|
|
1145
|
+
layers: z.array(z.object({
|
|
1146
|
+
digest: z.string().optional(),
|
|
1147
|
+
size: z.number()
|
|
1148
|
+
})).optional(),
|
|
1149
|
+
manifests: z.array(z.object({
|
|
1150
|
+
digest: z.string(),
|
|
1151
|
+
platform: z.object({
|
|
1152
|
+
architecture: z.string(),
|
|
1153
|
+
os: z.string(),
|
|
1154
|
+
variant: z.string().optional()
|
|
1155
|
+
}).optional(),
|
|
1156
|
+
layers: z.array(z.object({
|
|
1157
|
+
digest: z.string().optional(),
|
|
1158
|
+
size: z.number()
|
|
1159
|
+
})).optional(),
|
|
1160
|
+
size: z.number().optional()
|
|
1161
|
+
})).optional(),
|
|
1162
|
+
size: z.number(),
|
|
1163
|
+
region: z.string(),
|
|
1164
|
+
repository: z.string(),
|
|
1165
|
+
uri: z.string()
|
|
1166
|
+
});
|
|
1167
|
+
export const zTicketAttachment = z.object({
|
|
1168
|
+
id: z.string(),
|
|
1169
|
+
filename: z.string(),
|
|
1170
|
+
content_type: z.string(),
|
|
1171
|
+
size: z.int()
|
|
1172
|
+
});
|
|
1173
|
+
export const zTicketCreateInput = z.object({
|
|
1174
|
+
category: z.enum([
|
|
1175
|
+
'billing',
|
|
1176
|
+
'technical',
|
|
1177
|
+
'general'
|
|
1178
|
+
]),
|
|
1179
|
+
body: z.string().min(1).max(50000).regex(/\S/),
|
|
1180
|
+
properties: z.record(z.string(), z.unknown()).optional()
|
|
1181
|
+
});
|
|
1182
|
+
export const zTicketListResponse = z.object({
|
|
1183
|
+
items: z.array(z.object({
|
|
1184
|
+
id: z.string(),
|
|
1185
|
+
status: z.enum([
|
|
1186
|
+
'waiting_on_us',
|
|
1187
|
+
'waiting_on_user',
|
|
1188
|
+
'closed'
|
|
1189
|
+
]),
|
|
1190
|
+
category: z.enum([
|
|
1191
|
+
'billing',
|
|
1192
|
+
'technical',
|
|
1193
|
+
'general'
|
|
1194
|
+
]),
|
|
1195
|
+
summary: z.string(),
|
|
1196
|
+
closed_at: z.iso.datetime().optional(),
|
|
1197
|
+
date_created: z.iso.datetime(),
|
|
1198
|
+
date_updated: z.iso.datetime(),
|
|
1199
|
+
messages: z.array(z.object({
|
|
1200
|
+
id: z.string(),
|
|
1201
|
+
type: z.enum(['customer_reply', 'agent_reply']),
|
|
1202
|
+
body: z.string(),
|
|
1203
|
+
author_first_name: z.string().optional(),
|
|
1204
|
+
author_last_name: z.string().optional(),
|
|
1205
|
+
attachments: z.array(z.object({
|
|
1206
|
+
id: z.string(),
|
|
1207
|
+
filename: z.string(),
|
|
1208
|
+
content_type: z.string(),
|
|
1209
|
+
size: z.int()
|
|
1210
|
+
})).optional(),
|
|
1211
|
+
date_created: z.iso.datetime()
|
|
1212
|
+
})).optional()
|
|
1213
|
+
}))
|
|
1214
|
+
});
|
|
1215
|
+
export const zTicketMessageInput = z.object({
|
|
1216
|
+
body: z.string().min(1).max(50000).regex(/\S/)
|
|
1217
|
+
});
|
|
1218
|
+
export const zTicketMessage = z.object({
|
|
1219
|
+
id: z.string(),
|
|
1220
|
+
type: z.enum(['customer_reply', 'agent_reply']),
|
|
1221
|
+
body: z.string(),
|
|
1222
|
+
author_first_name: z.string().optional(),
|
|
1223
|
+
author_last_name: z.string().optional(),
|
|
1224
|
+
attachments: z.array(z.object({
|
|
1225
|
+
id: z.string(),
|
|
1226
|
+
filename: z.string(),
|
|
1227
|
+
content_type: z.string(),
|
|
1228
|
+
size: z.int()
|
|
1229
|
+
})).optional(),
|
|
1230
|
+
date_created: z.iso.datetime()
|
|
1231
|
+
});
|
|
1232
|
+
export const zTicket = z.object({
|
|
1233
|
+
id: z.string(),
|
|
1234
|
+
status: z.enum([
|
|
1235
|
+
'waiting_on_us',
|
|
1236
|
+
'waiting_on_user',
|
|
1237
|
+
'closed'
|
|
1238
|
+
]),
|
|
1239
|
+
category: z.enum([
|
|
1240
|
+
'billing',
|
|
1241
|
+
'technical',
|
|
1242
|
+
'general'
|
|
1243
|
+
]),
|
|
1244
|
+
summary: z.string(),
|
|
1245
|
+
closed_at: z.iso.datetime().optional(),
|
|
1246
|
+
date_created: z.iso.datetime(),
|
|
1247
|
+
date_updated: z.iso.datetime(),
|
|
1248
|
+
messages: z.array(z.object({
|
|
1249
|
+
id: z.string(),
|
|
1250
|
+
type: z.enum(['customer_reply', 'agent_reply']),
|
|
1251
|
+
body: z.string(),
|
|
1252
|
+
author_first_name: z.string().optional(),
|
|
1253
|
+
author_last_name: z.string().optional(),
|
|
1254
|
+
attachments: z.array(z.object({
|
|
1255
|
+
id: z.string(),
|
|
1256
|
+
filename: z.string(),
|
|
1257
|
+
content_type: z.string(),
|
|
1258
|
+
size: z.int()
|
|
1259
|
+
})).optional(),
|
|
1260
|
+
date_created: z.iso.datetime()
|
|
1261
|
+
})).optional()
|
|
1262
|
+
});
|
|
973
1263
|
export const zTokenCreateInput = z.object({
|
|
974
1264
|
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
975
|
-
role: z.enum([
|
|
976
|
-
'Administrator',
|
|
977
|
-
'User'
|
|
978
|
-
])
|
|
1265
|
+
role: z.enum(['Administrator', 'User'])
|
|
979
1266
|
});
|
|
980
1267
|
export const zToken = z.object({
|
|
981
1268
|
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
982
|
-
role: z.enum([
|
|
983
|
-
'Administrator',
|
|
984
|
-
'User'
|
|
985
|
-
]),
|
|
1269
|
+
role: z.enum(['Administrator', 'User']),
|
|
986
1270
|
id: z.string().optional(),
|
|
987
1271
|
secret: z.string().optional(),
|
|
988
|
-
date_created: z.
|
|
1272
|
+
date_created: z.iso.datetime()
|
|
989
1273
|
});
|
|
990
1274
|
export const zTokenUpdateInput = z.object({
|
|
991
1275
|
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/).optional(),
|
|
992
|
-
role: z.enum([
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
1276
|
+
role: z.enum(['Administrator', 'User']).optional()
|
|
1277
|
+
});
|
|
1278
|
+
export const zUsageFacets = z.object({
|
|
1279
|
+
cluster_id: z.array(z.string()).optional(),
|
|
1280
|
+
product: z.array(z.string()).optional()
|
|
1281
|
+
});
|
|
1282
|
+
export const zUsageResponse = z.object({
|
|
1283
|
+
data: z.array(z.object({
|
|
1284
|
+
hour: z.string(),
|
|
1285
|
+
cluster_id: z.string(),
|
|
1286
|
+
product: z.string(),
|
|
1287
|
+
value: z.number(),
|
|
1288
|
+
price: z.number(),
|
|
1289
|
+
total: z.number()
|
|
1290
|
+
})),
|
|
1291
|
+
facets: z.object({
|
|
1292
|
+
cluster_id: z.array(z.string()).optional(),
|
|
1293
|
+
product: z.array(z.string()).optional()
|
|
1294
|
+
})
|
|
996
1295
|
});
|
|
997
1296
|
export const zUsage = z.object({
|
|
998
|
-
hour: z.string()
|
|
999
|
-
cluster_id: z.string()
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
]),
|
|
1005
|
-
product: z.enum([
|
|
1006
|
-
'cfke_controlplane',
|
|
1007
|
-
'cfke_connected_nodes',
|
|
1008
|
-
'infra_compute',
|
|
1009
|
-
'infra_storage',
|
|
1010
|
-
'infra_loadbalancing',
|
|
1011
|
-
'infra_traffic',
|
|
1012
|
-
'cfcr_storage'
|
|
1013
|
-
]),
|
|
1014
|
-
node_name: z.string(),
|
|
1015
|
-
sku: z.string(),
|
|
1016
|
-
cpu: z.union([
|
|
1017
|
-
z.number(),
|
|
1018
|
-
z.enum([
|
|
1019
|
-
''
|
|
1020
|
-
])
|
|
1021
|
-
]),
|
|
1022
|
-
price: z.union([
|
|
1023
|
-
z.number(),
|
|
1024
|
-
z.enum([
|
|
1025
|
-
''
|
|
1026
|
-
])
|
|
1027
|
-
]),
|
|
1028
|
-
value: z.union([
|
|
1029
|
-
z.number(),
|
|
1030
|
-
z.enum([
|
|
1031
|
-
''
|
|
1032
|
-
])
|
|
1033
|
-
]),
|
|
1034
|
-
total: z.union([
|
|
1035
|
-
z.number(),
|
|
1036
|
-
z.enum([
|
|
1037
|
-
''
|
|
1038
|
-
])
|
|
1039
|
-
])
|
|
1297
|
+
hour: z.string(),
|
|
1298
|
+
cluster_id: z.string(),
|
|
1299
|
+
product: z.string(),
|
|
1300
|
+
value: z.number(),
|
|
1301
|
+
price: z.number(),
|
|
1302
|
+
total: z.number()
|
|
1040
1303
|
});
|
|
1041
1304
|
export const zUserCreateInput = z.object({
|
|
1042
|
-
email: z.
|
|
1305
|
+
email: z.email(),
|
|
1043
1306
|
first_name: z.string().min(1).max(50),
|
|
1044
1307
|
last_name: z.string().min(1).max(50),
|
|
1045
1308
|
code: z.string(),
|
|
1046
1309
|
password: z.string().min(8),
|
|
1047
|
-
status: z.enum([
|
|
1048
|
-
|
|
1049
|
-
'inactive'
|
|
1050
|
-
]).optional(),
|
|
1051
|
-
role: z.enum([
|
|
1052
|
-
'Administrator',
|
|
1053
|
-
'User'
|
|
1054
|
-
]).optional()
|
|
1310
|
+
status: z.enum(['active', 'inactive']).optional(),
|
|
1311
|
+
role: z.enum(['Administrator', 'User']).optional()
|
|
1055
1312
|
});
|
|
1056
1313
|
export const zUser = z.object({
|
|
1057
|
-
email: z.
|
|
1314
|
+
email: z.email(),
|
|
1058
1315
|
first_name: z.string().min(1).max(50),
|
|
1059
1316
|
last_name: z.string().min(1).max(50),
|
|
1060
|
-
role: z.enum([
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
status: z.enum([
|
|
1065
|
-
'active',
|
|
1066
|
-
'inactive'
|
|
1067
|
-
]),
|
|
1068
|
-
id: z.string().uuid(),
|
|
1069
|
-
date_created: z.string().datetime()
|
|
1317
|
+
role: z.enum(['Administrator', 'User']),
|
|
1318
|
+
status: z.enum(['active', 'inactive']),
|
|
1319
|
+
id: z.uuid(),
|
|
1320
|
+
date_created: z.iso.datetime()
|
|
1070
1321
|
});
|
|
1071
1322
|
export const zUserUpdateInput = z.object({
|
|
1072
|
-
email: z.
|
|
1323
|
+
email: z.email().optional(),
|
|
1073
1324
|
first_name: z.string().min(1).max(50).optional(),
|
|
1074
1325
|
last_name: z.string().min(1).max(50).optional(),
|
|
1075
|
-
role: z.enum([
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
'
|
|
1081
|
-
'
|
|
1082
|
-
|
|
1326
|
+
role: z.enum(['Administrator', 'User']).optional(),
|
|
1327
|
+
status: z.enum(['active', 'inactive']).optional()
|
|
1328
|
+
});
|
|
1329
|
+
export const zGetUsageQuery = z.object({
|
|
1330
|
+
granularity: z.enum([
|
|
1331
|
+
'hourly',
|
|
1332
|
+
'daily',
|
|
1333
|
+
'monthly'
|
|
1334
|
+
]).optional().default('daily')
|
|
1083
1335
|
});
|
|
1084
1336
|
/**
|
|
1085
|
-
*
|
|
1086
|
-
*/
|
|
1087
|
-
export const zGetUsageResponse = z.array(zUsage);
|
|
1088
|
-
/**
|
|
1089
|
-
* Current balance of the organization in USD as a floating-point number.
|
|
1337
|
+
* Usage data with facets for filtering
|
|
1090
1338
|
*/
|
|
1091
|
-
export const
|
|
1339
|
+
export const zGetUsageResponse = zUsageResponse;
|
|
1092
1340
|
/**
|
|
1093
1341
|
* Redacted payment card information.
|
|
1094
1342
|
*/
|
|
@@ -1100,33 +1348,15 @@ export const zGetPaymentMethodResponse = zPaymentMethod;
|
|
|
1100
1348
|
export const zGetPaymentMethodSecretResponse = z.object({
|
|
1101
1349
|
id: z.string().optional()
|
|
1102
1350
|
});
|
|
1103
|
-
/**
|
|
1104
|
-
* Start date for the usage. Date of oldest data point to retrieve.
|
|
1105
|
-
*/
|
|
1106
|
-
export const zListInvoicesParameterStartDate = z.string();
|
|
1107
|
-
/**
|
|
1108
|
-
* End date for the usage. Date of newest data point to retrieve.
|
|
1109
|
-
*/
|
|
1110
|
-
export const zListInvoicesParameterEndDate = z.string();
|
|
1111
1351
|
/**
|
|
1112
1352
|
* An array of usage records.
|
|
1113
1353
|
*/
|
|
1114
1354
|
export const zListInvoicesResponse = z.array(zInvoice);
|
|
1115
|
-
/**
|
|
1116
|
-
* Unique invoice identifier. UUID v4 string in canonical form
|
|
1117
|
-
*/
|
|
1118
|
-
export const zGetInvoiceParameterId = z.string();
|
|
1119
|
-
/**
|
|
1120
|
-
* Returns a single Invoice HTML representation under `html` property.
|
|
1121
|
-
*/
|
|
1122
|
-
export const zGetInvoiceResponse = z.object({
|
|
1123
|
-
html: z.string().optional()
|
|
1124
|
-
});
|
|
1125
1355
|
/**
|
|
1126
1356
|
* Returns a single object containing organization contact and billing address details.
|
|
1127
1357
|
*/
|
|
1128
1358
|
export const zGetContactResponse = zBillingContact;
|
|
1129
|
-
export const
|
|
1359
|
+
export const zUpdateContactBody = zBillingContact;
|
|
1130
1360
|
/**
|
|
1131
1361
|
* Successfully updated. Returns updated organization details.
|
|
1132
1362
|
*/
|
|
@@ -1135,245 +1365,303 @@ export const zUpdateContactResponse = zBillingContact;
|
|
|
1135
1365
|
* An array of the applied promotional credits records.
|
|
1136
1366
|
*/
|
|
1137
1367
|
export const zGetCreditsResponse = z.array(zBillingCredits);
|
|
1138
|
-
export const
|
|
1368
|
+
export const zRedeemCreditsBody = z.object({
|
|
1139
1369
|
code: z.string().optional()
|
|
1140
1370
|
});
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
export const zListChartsParameterClusterId = z.string();
|
|
1371
|
+
export const zListChartsPath = z.object({
|
|
1372
|
+
cluster_id: z.string()
|
|
1373
|
+
});
|
|
1145
1374
|
/**
|
|
1146
1375
|
* An array of charts
|
|
1147
1376
|
*/
|
|
1148
1377
|
export const zListChartsResponse = z.array(zChart);
|
|
1149
|
-
export const
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
export const zCreateChartParameterClusterId = z.string();
|
|
1378
|
+
export const zCreateChartBody = zChartCreateInput;
|
|
1379
|
+
export const zCreateChartPath = z.object({
|
|
1380
|
+
cluster_id: z.string()
|
|
1381
|
+
});
|
|
1154
1382
|
/**
|
|
1155
1383
|
* Successfully created. Returns created Chart ID.
|
|
1156
1384
|
*/
|
|
1157
1385
|
export const zCreateChartResponse = z.string();
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
/**
|
|
1163
|
-
* Chart deployment name as the unique identifier of the chart.
|
|
1164
|
-
*/
|
|
1165
|
-
export const zDeleteChartParameterChartName = z.string();
|
|
1386
|
+
export const zDeleteChartPath = z.object({
|
|
1387
|
+
cluster_id: z.string(),
|
|
1388
|
+
chart_name: z.string()
|
|
1389
|
+
});
|
|
1166
1390
|
/**
|
|
1167
1391
|
* Successfully deleted.
|
|
1168
1392
|
*/
|
|
1169
1393
|
export const zDeleteChartResponse = z.string();
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
/**
|
|
1175
|
-
* Chart deployment name as the unique identifier of the chart.
|
|
1176
|
-
*/
|
|
1177
|
-
export const zGetChartParameterChartName = z.string();
|
|
1394
|
+
export const zGetChartPath = z.object({
|
|
1395
|
+
cluster_id: z.string(),
|
|
1396
|
+
chart_name: z.string()
|
|
1397
|
+
});
|
|
1178
1398
|
/**
|
|
1179
1399
|
* Returns a single object containing chart details.
|
|
1180
1400
|
*/
|
|
1181
1401
|
export const zGetChartResponse = zChart;
|
|
1182
|
-
export const
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
/**
|
|
1188
|
-
* Chart deployment name as the unique identifier of the chart.
|
|
1189
|
-
*/
|
|
1190
|
-
export const zUpdateChartParameterChartName = z.string();
|
|
1402
|
+
export const zUpdateChartBody = zChartUpdateInput;
|
|
1403
|
+
export const zUpdateChartPath = z.object({
|
|
1404
|
+
cluster_id: z.string(),
|
|
1405
|
+
chart_name: z.string()
|
|
1406
|
+
});
|
|
1191
1407
|
/**
|
|
1192
1408
|
* Successfully updated.
|
|
1193
1409
|
*/
|
|
1194
1410
|
export const zUpdateChartResponse = z.string();
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
export const zListFleetsParameterClusterId = z.string();
|
|
1411
|
+
export const zListFleetsPath = z.object({
|
|
1412
|
+
cluster_id: z.string()
|
|
1413
|
+
});
|
|
1199
1414
|
/**
|
|
1200
1415
|
* An array of fleets
|
|
1201
1416
|
*/
|
|
1202
1417
|
export const zListFleetsResponse = z.array(zFleet);
|
|
1203
|
-
export const
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
export const zCreateFleetParameterClusterId = z.string();
|
|
1418
|
+
export const zCreateFleetBody = zFleetCreateInput;
|
|
1419
|
+
export const zCreateFleetPath = z.object({
|
|
1420
|
+
cluster_id: z.string()
|
|
1421
|
+
});
|
|
1208
1422
|
/**
|
|
1209
1423
|
* Successfully created. Returns created Fleet ID.
|
|
1210
1424
|
*/
|
|
1211
1425
|
export const zCreateFleetResponse = z.string();
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
/**
|
|
1217
|
-
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
1218
|
-
*/
|
|
1219
|
-
export const zDeleteFleetParameterFleetName = z.string();
|
|
1426
|
+
export const zDeleteFleetPath = z.object({
|
|
1427
|
+
cluster_id: z.string(),
|
|
1428
|
+
fleet_name: z.string()
|
|
1429
|
+
});
|
|
1220
1430
|
/**
|
|
1221
1431
|
* Successfully deleted.
|
|
1222
1432
|
*/
|
|
1223
1433
|
export const zDeleteFleetResponse = z.string();
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
/**
|
|
1229
|
-
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
1230
|
-
*/
|
|
1231
|
-
export const zGetFleetParameterFleetName = z.string();
|
|
1434
|
+
export const zGetFleetPath = z.object({
|
|
1435
|
+
cluster_id: z.string(),
|
|
1436
|
+
fleet_name: z.string()
|
|
1437
|
+
});
|
|
1232
1438
|
/**
|
|
1233
1439
|
* Returns a single object containing fleet details.
|
|
1234
1440
|
*/
|
|
1235
1441
|
export const zGetFleetResponse = zFleet;
|
|
1236
|
-
export const
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
/**
|
|
1242
|
-
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
1243
|
-
*/
|
|
1244
|
-
export const zUpdateFleetParameterFleetName = z.string();
|
|
1442
|
+
export const zUpdateFleetBody = zFleetUpdateInput;
|
|
1443
|
+
export const zUpdateFleetPath = z.object({
|
|
1444
|
+
cluster_id: z.string(),
|
|
1445
|
+
fleet_name: z.string()
|
|
1446
|
+
});
|
|
1245
1447
|
/**
|
|
1246
1448
|
* Successfully updated.
|
|
1247
1449
|
*/
|
|
1248
1450
|
export const zUpdateFleetResponse = z.string();
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
export const zQueryClusterParameterClusterId = z.string();
|
|
1451
|
+
export const zQueryClusterPath = z.object({
|
|
1452
|
+
cluster_id: z.string()
|
|
1453
|
+
});
|
|
1253
1454
|
/**
|
|
1254
1455
|
* An array of clusters
|
|
1255
1456
|
*/
|
|
1256
1457
|
export const zListClustersResponse = z.array(zCluster);
|
|
1257
|
-
export const
|
|
1458
|
+
export const zCreateClusterBody = zClusterCreateInput;
|
|
1258
1459
|
/**
|
|
1259
1460
|
* Successfully created. Returns created Cluster ID.
|
|
1260
1461
|
*/
|
|
1261
1462
|
export const zCreateClusterResponse = z.string();
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
export const zDeleteClusterParameterClusterId = z.string();
|
|
1463
|
+
export const zDeleteClusterPath = z.object({
|
|
1464
|
+
cluster_id: z.string()
|
|
1465
|
+
});
|
|
1266
1466
|
/**
|
|
1267
1467
|
* Successfully deleted.
|
|
1268
1468
|
*/
|
|
1269
1469
|
export const zDeleteClusterResponse = z.string();
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
export const zGetClusterParameterClusterId = z.string();
|
|
1470
|
+
export const zGetClusterPath = z.object({
|
|
1471
|
+
cluster_id: z.string()
|
|
1472
|
+
});
|
|
1274
1473
|
/**
|
|
1275
1474
|
* Returns a single object containing cluster details.
|
|
1276
1475
|
*/
|
|
1277
1476
|
export const zGetClusterResponse = zCluster;
|
|
1278
|
-
export const
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
export const zUpdateClusterParameterClusterId = z.string();
|
|
1477
|
+
export const zUpdateClusterBody = zClusterUpdateInput;
|
|
1478
|
+
export const zUpdateClusterPath = z.object({
|
|
1479
|
+
cluster_id: z.string()
|
|
1480
|
+
});
|
|
1283
1481
|
/**
|
|
1284
1482
|
* Successfully updated. Returns updated cluster details.
|
|
1285
1483
|
*/
|
|
1286
1484
|
export const zUpdateClusterResponse = zCluster;
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
export const zGetJoinInformationParameterClusterId = z.string();
|
|
1485
|
+
export const zGetJoinInformationPath = z.object({
|
|
1486
|
+
cluster_id: z.string()
|
|
1487
|
+
});
|
|
1291
1488
|
/**
|
|
1292
1489
|
* An object of cluster join information
|
|
1293
1490
|
*/
|
|
1294
|
-
export const zGetJoinInformationResponse =
|
|
1491
|
+
export const zGetJoinInformationResponse = zClusterJoinInformation;
|
|
1295
1492
|
/**
|
|
1296
1493
|
* An array of invites
|
|
1297
1494
|
*/
|
|
1298
1495
|
export const zListInvitesResponse = z.array(zInvite);
|
|
1299
|
-
export const
|
|
1496
|
+
export const zCreateInviteBody = z.object({
|
|
1300
1497
|
email: z.string().optional()
|
|
1301
1498
|
});
|
|
1302
1499
|
/**
|
|
1303
1500
|
* Successfully created. Returns created invite details.
|
|
1304
1501
|
*/
|
|
1305
1502
|
export const zCreateInviteResponse = zInvite;
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
export const zGetInviteParameterCode = z.string();
|
|
1503
|
+
export const zGetInvitePath = z.object({
|
|
1504
|
+
code: z.string()
|
|
1505
|
+
});
|
|
1310
1506
|
/**
|
|
1311
1507
|
* Returns a single object containing invite details.
|
|
1312
1508
|
*/
|
|
1313
1509
|
export const zGetInviteResponse = zInvite;
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
export const zDeleteInviteParameterEmail = z.string();
|
|
1510
|
+
export const zDeleteInvitePath = z.object({
|
|
1511
|
+
email: z.string()
|
|
1512
|
+
});
|
|
1318
1513
|
/**
|
|
1319
1514
|
* An array of chart listings in the marketplace.
|
|
1320
1515
|
*/
|
|
1321
1516
|
export const zListMarketplaceChartsResponse = z.array(zMarketplaceListing);
|
|
1517
|
+
export const zGetMarketplaceChartFilesPath = z.object({
|
|
1518
|
+
chart_name: z.string(),
|
|
1519
|
+
version_channel: z.string()
|
|
1520
|
+
});
|
|
1521
|
+
/**
|
|
1522
|
+
* Returns an object containing the chart files for the latest matching version.
|
|
1523
|
+
*/
|
|
1524
|
+
export const zGetMarketplaceChartFilesResponse = zMarketplaceListingFiles;
|
|
1322
1525
|
/**
|
|
1323
|
-
*
|
|
1526
|
+
* JSON-RPC 2.0 request payload
|
|
1324
1527
|
*/
|
|
1325
|
-
export const
|
|
1528
|
+
export const zPostMcpBody = z.object({
|
|
1529
|
+
jsonrpc: z.string().optional(),
|
|
1530
|
+
method: z.string().optional(),
|
|
1531
|
+
id: z.union([
|
|
1532
|
+
z.string(),
|
|
1533
|
+
z.number()
|
|
1534
|
+
]).optional(),
|
|
1535
|
+
params: z.record(z.string(), z.unknown()).optional()
|
|
1536
|
+
});
|
|
1326
1537
|
/**
|
|
1327
|
-
*
|
|
1538
|
+
* JSON-RPC 2.0 success or error response
|
|
1328
1539
|
*/
|
|
1329
|
-
export const
|
|
1540
|
+
export const zPostMcpResponse = z.object({
|
|
1541
|
+
jsonrpc: z.string().optional(),
|
|
1542
|
+
id: z.union([
|
|
1543
|
+
z.string(),
|
|
1544
|
+
z.number()
|
|
1545
|
+
]).optional(),
|
|
1546
|
+
result: z.record(z.string(), z.unknown()).optional(),
|
|
1547
|
+
error: z.object({
|
|
1548
|
+
code: z.int().optional(),
|
|
1549
|
+
message: z.string().optional()
|
|
1550
|
+
}).optional()
|
|
1551
|
+
});
|
|
1330
1552
|
/**
|
|
1331
1553
|
* Returns a single object containing organization details.
|
|
1332
1554
|
*/
|
|
1333
1555
|
export const zGetOrganizationResponse = zOrganization;
|
|
1334
|
-
export const
|
|
1556
|
+
export const zCreateOrganizationBody = zOrganizationCreateInput;
|
|
1335
1557
|
/**
|
|
1336
|
-
*
|
|
1558
|
+
* List of repositories
|
|
1337
1559
|
*/
|
|
1338
|
-
export const
|
|
1339
|
-
export const
|
|
1560
|
+
export const zListRepositoriesResponse = z.array(zRegistryRepository);
|
|
1561
|
+
export const zListTagsPath = z.object({
|
|
1562
|
+
region: z.string(),
|
|
1563
|
+
repository: z.string()
|
|
1564
|
+
});
|
|
1340
1565
|
/**
|
|
1341
|
-
*
|
|
1566
|
+
* Repository with tags
|
|
1342
1567
|
*/
|
|
1343
|
-
export const
|
|
1568
|
+
export const zListTagsResponse = zRegistryRepositoryWithTags;
|
|
1569
|
+
export const zDeleteTagPath = z.object({
|
|
1570
|
+
region: z.string(),
|
|
1571
|
+
repository: z.string(),
|
|
1572
|
+
tag: z.string()
|
|
1573
|
+
});
|
|
1574
|
+
export const zGetTagPath = z.object({
|
|
1575
|
+
region: z.string(),
|
|
1576
|
+
repository: z.string(),
|
|
1577
|
+
tag: z.string()
|
|
1578
|
+
});
|
|
1344
1579
|
/**
|
|
1345
|
-
*
|
|
1580
|
+
* Tag details
|
|
1346
1581
|
*/
|
|
1347
|
-
export const
|
|
1582
|
+
export const zGetTagResponse = zRegistryTag;
|
|
1348
1583
|
/**
|
|
1349
|
-
*
|
|
1584
|
+
* Tickets for the organization.
|
|
1350
1585
|
*/
|
|
1351
|
-
export const
|
|
1586
|
+
export const zListTicketsResponse = zTicketListResponse;
|
|
1587
|
+
export const zCreateTicketBody = z.object({
|
|
1588
|
+
payload: z.string().optional(),
|
|
1589
|
+
attachments: z.array(z.string()).optional()
|
|
1590
|
+
});
|
|
1352
1591
|
/**
|
|
1353
|
-
*
|
|
1592
|
+
* Ticket created.
|
|
1354
1593
|
*/
|
|
1355
|
-
export const
|
|
1356
|
-
export const
|
|
1594
|
+
export const zCreateTicketResponse = zTicket;
|
|
1595
|
+
export const zCloseTicketPath = z.object({
|
|
1596
|
+
ticket_id: z.string()
|
|
1597
|
+
});
|
|
1357
1598
|
/**
|
|
1358
|
-
*
|
|
1599
|
+
* Ticket closed.
|
|
1359
1600
|
*/
|
|
1360
|
-
export const
|
|
1601
|
+
export const zCloseTicketResponse = zTicket;
|
|
1602
|
+
export const zGetTicketPath = z.object({
|
|
1603
|
+
ticket_id: z.string()
|
|
1604
|
+
});
|
|
1361
1605
|
/**
|
|
1362
|
-
*
|
|
1606
|
+
* Ticket with messages (internal notes excluded).
|
|
1363
1607
|
*/
|
|
1364
|
-
export const
|
|
1608
|
+
export const zGetTicketResponse = zTicket;
|
|
1609
|
+
export const zReplyTicketBody = z.object({
|
|
1610
|
+
payload: z.string().optional(),
|
|
1611
|
+
attachments: z.array(z.string()).optional()
|
|
1612
|
+
});
|
|
1613
|
+
export const zReplyTicketPath = z.object({
|
|
1614
|
+
ticket_id: z.string()
|
|
1615
|
+
});
|
|
1365
1616
|
/**
|
|
1366
|
-
*
|
|
1617
|
+
* Reply appended.
|
|
1367
1618
|
*/
|
|
1368
|
-
export const
|
|
1619
|
+
export const zReplyTicketResponse = zTicketMessage;
|
|
1620
|
+
export const zGetTicketAttachmentPath = z.object({
|
|
1621
|
+
ticket_id: z.string(),
|
|
1622
|
+
attachment_id: z.string()
|
|
1623
|
+
});
|
|
1369
1624
|
/**
|
|
1370
|
-
*
|
|
1625
|
+
* Attachment binary stream.
|
|
1371
1626
|
*/
|
|
1372
|
-
export const
|
|
1627
|
+
export const zGetTicketAttachmentResponse = z.string();
|
|
1628
|
+
/**
|
|
1629
|
+
* Returns a list of access token details with masked secrets.
|
|
1630
|
+
*/
|
|
1631
|
+
export const zListTokensResponse = z.array(zToken);
|
|
1632
|
+
export const zCreateTokenBody = zTokenCreateInput;
|
|
1633
|
+
/**
|
|
1634
|
+
* Successfully created. Returns created token details with unmasked/raw secret.
|
|
1635
|
+
*/
|
|
1636
|
+
export const zCreateTokenResponse = zToken;
|
|
1637
|
+
export const zDeleteTokenPath = z.object({
|
|
1638
|
+
token_id: z.string()
|
|
1639
|
+
});
|
|
1640
|
+
export const zGetTokenPath = z.object({
|
|
1641
|
+
token_id: z.string()
|
|
1642
|
+
});
|
|
1643
|
+
/**
|
|
1644
|
+
* Returns access token details with masked secret.
|
|
1645
|
+
*/
|
|
1646
|
+
export const zGetTokenResponse = zToken;
|
|
1647
|
+
export const zUpdateTokenBody = zTokenUpdateInput;
|
|
1648
|
+
export const zUpdateTokenPath = z.object({
|
|
1649
|
+
token_id: z.string()
|
|
1650
|
+
});
|
|
1373
1651
|
/**
|
|
1374
|
-
*
|
|
1652
|
+
* Successfully updated. Returns updated token details with masked secret.
|
|
1375
1653
|
*/
|
|
1376
|
-
export const
|
|
1654
|
+
export const zUpdateTokenResponse = zToken;
|
|
1655
|
+
export const zRegenerateTokenPath = z.object({
|
|
1656
|
+
token_id: z.string()
|
|
1657
|
+
});
|
|
1658
|
+
/**
|
|
1659
|
+
* Successfully updated. Returns updated token details with unmasked / raw secret.
|
|
1660
|
+
*/
|
|
1661
|
+
export const zRegenerateTokenResponse = zToken;
|
|
1662
|
+
export const zListUserOrganizationsPath = z.object({
|
|
1663
|
+
email: z.string()
|
|
1664
|
+
});
|
|
1377
1665
|
/**
|
|
1378
1666
|
* An array of organizations the user belongs to.
|
|
1379
1667
|
*/
|
|
@@ -1385,32 +1673,29 @@ export const zListUserOrganizationsResponse = z.array(z.object({
|
|
|
1385
1673
|
* An array of users
|
|
1386
1674
|
*/
|
|
1387
1675
|
export const zListUsersResponse = z.array(zUser);
|
|
1388
|
-
export const
|
|
1676
|
+
export const zCreateUserBody = zUserCreateInput;
|
|
1389
1677
|
/**
|
|
1390
1678
|
* Successfully created. Returns created user details.
|
|
1391
1679
|
*/
|
|
1392
1680
|
export const zCreateUserResponse = zUser;
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
export const zDeleteUserParameterUserId = z.string();
|
|
1681
|
+
export const zDeleteUserPath = z.object({
|
|
1682
|
+
user_id: z.string()
|
|
1683
|
+
});
|
|
1397
1684
|
/**
|
|
1398
1685
|
* User profile information
|
|
1399
1686
|
*/
|
|
1400
1687
|
export const zDeleteUserResponse = zUser;
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
export const zGetUserParameterUserId = z.string();
|
|
1688
|
+
export const zGetUserPath = z.object({
|
|
1689
|
+
user_id: z.string()
|
|
1690
|
+
});
|
|
1405
1691
|
/**
|
|
1406
1692
|
* User profile information
|
|
1407
1693
|
*/
|
|
1408
1694
|
export const zGetUserResponse = zUser;
|
|
1409
|
-
export const
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
export const zUpdateUserParameterUserId = z.string();
|
|
1695
|
+
export const zUpdateUserBody = zUserUpdateInput;
|
|
1696
|
+
export const zUpdateUserPath = z.object({
|
|
1697
|
+
user_id: z.string()
|
|
1698
|
+
});
|
|
1414
1699
|
/**
|
|
1415
1700
|
* Successfully created. Returns created user details.
|
|
1416
1701
|
*/
|