@cloudfleet/sdk 0.0.1-176cb2f → 0.0.1-17d20e1
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/README.md +26 -2
- package/dist/@tanstack/react-query.gen.d.ts +420 -386
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/@tanstack/react-query.gen.js +428 -382
- package/dist/@tanstack/react-query.gen.js.map +1 -1
- package/dist/client/client.gen.d.ts.map +1 -1
- package/dist/client/client.gen.js +1 -4
- package/dist/client/client.gen.js.map +1 -1
- package/dist/client/types.gen.d.ts +1 -1
- package/dist/client/types.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.d.ts +2 -2
- package/dist/client/utils.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.js +3 -3
- package/dist/client/utils.gen.js.map +1 -1
- package/dist/core/params.gen.js +4 -4
- package/dist/core/params.gen.js.map +1 -1
- package/dist/schemas.gen.d.ts +426 -85
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +540 -143
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +237 -215
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +338 -312
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +1043 -699
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1597 -1434
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +445 -313
- package/dist/zod.gen.js.map +1 -1
- package/package.json +8 -11
package/dist/zod.gen.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
import * as z from 'zod';
|
|
3
3
|
export const zBillingContact = z.object({
|
|
4
|
+
type: z.enum(['business', 'personal']),
|
|
4
5
|
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
6
|
address1: z.string().optional(),
|
|
6
7
|
address2: z.string().optional(),
|
|
@@ -166,22 +167,7 @@ export const zChart = z.object({
|
|
|
166
167
|
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
167
168
|
namespace: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
168
169
|
chart: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
169
|
-
status: z.
|
|
170
|
-
'InstallSucceeded',
|
|
171
|
-
'InstallFailed',
|
|
172
|
-
'UpgradeSucceeded',
|
|
173
|
-
'UpgradeFailed',
|
|
174
|
-
'TestSucceeded',
|
|
175
|
-
'TestFailed',
|
|
176
|
-
'RollbackSucceeded',
|
|
177
|
-
'RollbackFailed',
|
|
178
|
-
'UninstallSucceeded',
|
|
179
|
-
'UninstallFailed',
|
|
180
|
-
'ArtifactFailed',
|
|
181
|
-
'DependencyNotReady',
|
|
182
|
-
'Progressing',
|
|
183
|
-
'SourceNotReady'
|
|
184
|
-
]),
|
|
170
|
+
status: z.string(),
|
|
185
171
|
version_current: z.string(),
|
|
186
172
|
created_at: z.string(),
|
|
187
173
|
updated_at: z.string(),
|
|
@@ -191,26 +177,55 @@ export const zChartUpdateInput = z.object({
|
|
|
191
177
|
values: z.string(),
|
|
192
178
|
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-]+)*))?$/)
|
|
193
179
|
});
|
|
180
|
+
/**
|
|
181
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
182
|
+
*/
|
|
194
183
|
export const zClusterCreateInput = z.object({
|
|
195
184
|
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
196
|
-
tier: z.enum([
|
|
197
|
-
|
|
198
|
-
'
|
|
199
|
-
'
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
'
|
|
205
|
-
'
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
185
|
+
tier: z.enum([
|
|
186
|
+
'basic',
|
|
187
|
+
'pro',
|
|
188
|
+
'enterprise'
|
|
189
|
+
]).optional().default('basic'),
|
|
190
|
+
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'),
|
|
191
|
+
release_channel: z.enum([
|
|
192
|
+
'rapid',
|
|
193
|
+
'stable',
|
|
194
|
+
'extended'
|
|
195
|
+
]).optional().default('rapid'),
|
|
196
|
+
features: z.object({
|
|
197
|
+
gpu_sharing_strategy: z.enum([
|
|
198
|
+
'none',
|
|
199
|
+
'mps',
|
|
200
|
+
'time_slicing'
|
|
201
|
+
]).optional().default('none'),
|
|
202
|
+
gpu_max_shared_clients_per_gpu: z.int().gte(2).lte(48).optional().default(4),
|
|
203
|
+
cilium_socket_lb_host_namespace_only: z.boolean().optional()
|
|
204
|
+
}).optional().default({
|
|
205
|
+
gpu_sharing_strategy: 'none',
|
|
206
|
+
gpu_max_shared_clients_per_gpu: 4,
|
|
207
|
+
cilium_socket_lb_host_namespace_only: false
|
|
208
|
+
}),
|
|
209
|
+
region: z.string(),
|
|
210
|
+
networking: z.object({
|
|
211
|
+
pod_cidr: z.string().optional().default('10.244.0.0/16'),
|
|
212
|
+
service_cidr: z.string().optional().default('10.96.0.0/12'),
|
|
213
|
+
dual_stack: z.boolean().optional(),
|
|
214
|
+
pod_cidr_v6: z.string().optional().default('2001:db8:1:2::/48'),
|
|
215
|
+
service_cidr_v6: z.string().optional().default('2001:db8:1:1::/112')
|
|
216
|
+
}).optional().default({
|
|
217
|
+
pod_cidr: '10.244.0.0/16',
|
|
218
|
+
service_cidr: '10.96.0.0/12',
|
|
219
|
+
dual_stack: false,
|
|
220
|
+
pod_cidr_v6: '2001:db8:1:2::/48',
|
|
221
|
+
service_cidr_v6: '2001:db8:1:1::/112'
|
|
222
|
+
})
|
|
209
223
|
});
|
|
210
224
|
export const zClusterJoinInformation = z.object({
|
|
211
225
|
certificate_authority: z.string(),
|
|
212
226
|
endpoint: z.url(),
|
|
213
227
|
cluster_dns: z.string(),
|
|
228
|
+
pod_cidr: z.string(),
|
|
214
229
|
auth_key: z.string(),
|
|
215
230
|
bootstrap_token: z.string(),
|
|
216
231
|
versions: z.object({
|
|
@@ -225,24 +240,55 @@ export const zClusterJoinInformation = z.object({
|
|
|
225
240
|
gcp_workload_identity_provider: z.string()
|
|
226
241
|
})
|
|
227
242
|
});
|
|
243
|
+
/**
|
|
244
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
245
|
+
*/
|
|
228
246
|
export const zCluster = z.object({
|
|
229
247
|
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
230
|
-
tier: z.enum([
|
|
231
|
-
|
|
232
|
-
'
|
|
233
|
-
'
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
248
|
+
tier: z.enum([
|
|
249
|
+
'basic',
|
|
250
|
+
'pro',
|
|
251
|
+
'enterprise'
|
|
252
|
+
]).default('basic'),
|
|
253
|
+
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-]+)*))?$/).default('1.x.x-cfke.x'),
|
|
254
|
+
release_channel: z.enum([
|
|
255
|
+
'rapid',
|
|
256
|
+
'stable',
|
|
257
|
+
'extended'
|
|
258
|
+
]).default('rapid'),
|
|
259
|
+
features: z.object({
|
|
260
|
+
gpu_sharing_strategy: z.enum([
|
|
261
|
+
'none',
|
|
262
|
+
'mps',
|
|
263
|
+
'time_slicing'
|
|
264
|
+
]).default('none'),
|
|
265
|
+
gpu_max_shared_clients_per_gpu: z.int().gte(2).lte(48).default(4),
|
|
266
|
+
cilium_socket_lb_host_namespace_only: z.boolean()
|
|
267
|
+
}).default({
|
|
268
|
+
gpu_sharing_strategy: 'none',
|
|
269
|
+
gpu_max_shared_clients_per_gpu: 4,
|
|
270
|
+
cilium_socket_lb_host_namespace_only: false
|
|
271
|
+
}),
|
|
272
|
+
region: z.string(),
|
|
273
|
+
networking: z.object({
|
|
274
|
+
pod_cidr: z.string().default('10.244.0.0/16'),
|
|
275
|
+
service_cidr: z.string().default('10.96.0.0/12'),
|
|
276
|
+
dual_stack: z.boolean(),
|
|
277
|
+
pod_cidr_v6: z.string().default('2001:db8:1:2::/48'),
|
|
278
|
+
service_cidr_v6: z.string().default('2001:db8:1:1::/112')
|
|
279
|
+
}).default({
|
|
280
|
+
pod_cidr: '10.244.0.0/16',
|
|
281
|
+
service_cidr: '10.96.0.0/12',
|
|
282
|
+
dual_stack: false,
|
|
283
|
+
pod_cidr_v6: '2001:db8:1:2::/48',
|
|
284
|
+
service_cidr_v6: '2001:db8:1:1::/112'
|
|
285
|
+
}),
|
|
237
286
|
id: z.uuid(),
|
|
238
287
|
status: z.enum([
|
|
239
|
-
'active',
|
|
240
|
-
'disabled',
|
|
241
|
-
'deleted',
|
|
242
288
|
'creating',
|
|
243
289
|
'deployed',
|
|
244
|
-
'
|
|
245
|
-
'
|
|
290
|
+
'updating',
|
|
291
|
+
'disabled'
|
|
246
292
|
]),
|
|
247
293
|
endpoint: z.union([
|
|
248
294
|
z.url(),
|
|
@@ -256,14 +302,41 @@ export const zCluster = z.object({
|
|
|
256
302
|
version_current: z.string().optional(),
|
|
257
303
|
created_at: z.string().optional(),
|
|
258
304
|
updated_at: z.string().optional(),
|
|
259
|
-
ready: z.boolean()
|
|
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()
|
|
305
|
+
ready: z.boolean()
|
|
261
306
|
});
|
|
307
|
+
/**
|
|
308
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
309
|
+
*/
|
|
262
310
|
export const zClusterUpdateInput = z.object({
|
|
263
|
-
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
|
|
264
|
-
tier: z.enum([
|
|
265
|
-
|
|
311
|
+
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
312
|
+
tier: z.enum([
|
|
313
|
+
'basic',
|
|
314
|
+
'pro',
|
|
315
|
+
'enterprise'
|
|
316
|
+
]).optional().default('basic'),
|
|
317
|
+
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'),
|
|
318
|
+
release_channel: z.enum([
|
|
319
|
+
'rapid',
|
|
320
|
+
'stable',
|
|
321
|
+
'extended'
|
|
322
|
+
]).optional().default('rapid'),
|
|
323
|
+
features: z.object({
|
|
324
|
+
gpu_sharing_strategy: z.enum([
|
|
325
|
+
'none',
|
|
326
|
+
'mps',
|
|
327
|
+
'time_slicing'
|
|
328
|
+
]).optional().default('none'),
|
|
329
|
+
gpu_max_shared_clients_per_gpu: z.int().gte(2).lte(48).optional().default(4),
|
|
330
|
+
cilium_socket_lb_host_namespace_only: z.boolean().optional()
|
|
331
|
+
}).optional().default({
|
|
332
|
+
gpu_sharing_strategy: 'none',
|
|
333
|
+
gpu_max_shared_clients_per_gpu: 4,
|
|
334
|
+
cilium_socket_lb_host_namespace_only: false
|
|
335
|
+
})
|
|
266
336
|
});
|
|
337
|
+
/**
|
|
338
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
339
|
+
*/
|
|
267
340
|
export const zFleetCreateInput = z.object({
|
|
268
341
|
limits: z.object({
|
|
269
342
|
cpu: z.int().gte(0).lte(100000).optional()
|
|
@@ -274,7 +347,7 @@ export const zFleetCreateInput = z.object({
|
|
|
274
347
|
}).optional(),
|
|
275
348
|
hetzner: z.object({
|
|
276
349
|
enabled: z.boolean(),
|
|
277
|
-
apiKey: z.string().length(64).regex(/^[A-Za-z0-9]
|
|
350
|
+
apiKey: z.string().length(64).regex(/^([A-Za-z0-9]{64}|\*{64})$/).optional()
|
|
278
351
|
}).optional(),
|
|
279
352
|
aws: z.object({
|
|
280
353
|
enabled: z.boolean(),
|
|
@@ -442,7 +515,7 @@ export const zFleetCreateInput = z.object({
|
|
|
442
515
|
'x8g',
|
|
443
516
|
'z1d',
|
|
444
517
|
'z3'
|
|
445
|
-
])).optional(),
|
|
518
|
+
])).optional().default([]),
|
|
446
519
|
'topology.kubernetes.io/region': z.array(z.enum([
|
|
447
520
|
'africa-south1',
|
|
448
521
|
'ap-northeast-1',
|
|
@@ -508,11 +581,19 @@ export const zFleetCreateInput = z.object({
|
|
|
508
581
|
'us-west2',
|
|
509
582
|
'us-west3',
|
|
510
583
|
'us-west4'
|
|
511
|
-
])).optional()
|
|
512
|
-
}).optional()
|
|
584
|
+
])).optional().default([])
|
|
585
|
+
}).optional().default({
|
|
586
|
+
'karpenter.sh/capacity-type': ['on-demand', 'spot'],
|
|
587
|
+
'kubernetes.io/arch': ['amd64'],
|
|
588
|
+
'cfke.io/instance-family': [],
|
|
589
|
+
'topology.kubernetes.io/region': []
|
|
590
|
+
}),
|
|
513
591
|
scalingProfile: z.enum(['aggressive', 'conservative']).optional().default('conservative'),
|
|
514
592
|
id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
|
|
515
593
|
});
|
|
594
|
+
/**
|
|
595
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
596
|
+
*/
|
|
516
597
|
export const zFleet = z.object({
|
|
517
598
|
limits: z.object({
|
|
518
599
|
cpu: z.int().gte(0).lte(100000).optional()
|
|
@@ -530,8 +611,8 @@ export const zFleet = z.object({
|
|
|
530
611
|
controllerRoleArn: z.string().regex(/^arn:aws(-[a-z]+)*:iam::\d{12}:role\/[\w+=,.@\/-]+$/).optional()
|
|
531
612
|
}).optional(),
|
|
532
613
|
constraints: z.object({
|
|
533
|
-
'karpenter.sh/capacity-type': z.array(z.enum(['on-demand', 'spot'])).min(1).
|
|
534
|
-
'kubernetes.io/arch': z.array(z.enum(['amd64', 'arm64'])).min(1).
|
|
614
|
+
'karpenter.sh/capacity-type': z.array(z.enum(['on-demand', 'spot'])).min(1).default(['on-demand', 'spot']),
|
|
615
|
+
'kubernetes.io/arch': z.array(z.enum(['amd64', 'arm64'])).min(1).default(['amd64']),
|
|
535
616
|
'cfke.io/instance-family': z.array(z.enum([
|
|
536
617
|
'a1',
|
|
537
618
|
'a2',
|
|
@@ -691,7 +772,7 @@ export const zFleet = z.object({
|
|
|
691
772
|
'x8g',
|
|
692
773
|
'z1d',
|
|
693
774
|
'z3'
|
|
694
|
-
])).optional(),
|
|
775
|
+
])).optional().default([]),
|
|
695
776
|
'topology.kubernetes.io/region': z.array(z.enum([
|
|
696
777
|
'africa-south1',
|
|
697
778
|
'ap-northeast-1',
|
|
@@ -757,11 +838,23 @@ export const zFleet = z.object({
|
|
|
757
838
|
'us-west2',
|
|
758
839
|
'us-west3',
|
|
759
840
|
'us-west4'
|
|
760
|
-
])).optional()
|
|
761
|
-
}).
|
|
841
|
+
])).optional().default([])
|
|
842
|
+
}).default({
|
|
843
|
+
'karpenter.sh/capacity-type': ['on-demand', 'spot'],
|
|
844
|
+
'kubernetes.io/arch': ['amd64'],
|
|
845
|
+
'cfke.io/instance-family': [],
|
|
846
|
+
'topology.kubernetes.io/region': []
|
|
847
|
+
}),
|
|
762
848
|
scalingProfile: z.enum(['aggressive', 'conservative']).default('conservative'),
|
|
763
|
-
id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
|
|
849
|
+
id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
850
|
+
ready: z.boolean(),
|
|
851
|
+
status_message: z.string().optional(),
|
|
852
|
+
created_at: z.string(),
|
|
853
|
+
updated_at: z.string()
|
|
764
854
|
});
|
|
855
|
+
/**
|
|
856
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
857
|
+
*/
|
|
765
858
|
export const zFleetUpdateInput = z.object({
|
|
766
859
|
limits: z.object({
|
|
767
860
|
cpu: z.int().gte(0).lte(100000).optional()
|
|
@@ -772,15 +865,15 @@ export const zFleetUpdateInput = z.object({
|
|
|
772
865
|
}).optional(),
|
|
773
866
|
hetzner: z.object({
|
|
774
867
|
enabled: z.boolean(),
|
|
775
|
-
apiKey: z.string().length(64).regex(/^[A-Za-z0-9]
|
|
868
|
+
apiKey: z.string().length(64).regex(/^([A-Za-z0-9]{64}|\*{64})$/).optional()
|
|
776
869
|
}).optional(),
|
|
777
870
|
aws: z.object({
|
|
778
871
|
enabled: z.boolean(),
|
|
779
872
|
controllerRoleArn: z.string().regex(/^arn:aws(-[a-z]+)*:iam::\d{12}:role\/[\w+=,.@\/-]+$/).optional()
|
|
780
873
|
}).optional(),
|
|
781
874
|
constraints: z.object({
|
|
782
|
-
'karpenter.sh/capacity-type': z.array(z.enum(['on-demand', 'spot'])).min(1).optional(),
|
|
783
|
-
'kubernetes.io/arch': z.array(z.enum(['amd64', 'arm64'])).min(1).optional(),
|
|
875
|
+
'karpenter.sh/capacity-type': z.array(z.enum(['on-demand', 'spot'])).min(1).optional().default(['on-demand', 'spot']),
|
|
876
|
+
'kubernetes.io/arch': z.array(z.enum(['amd64', 'arm64'])).min(1).optional().default(['amd64']),
|
|
784
877
|
'cfke.io/instance-family': z.array(z.enum([
|
|
785
878
|
'a1',
|
|
786
879
|
'a2',
|
|
@@ -940,7 +1033,7 @@ export const zFleetUpdateInput = z.object({
|
|
|
940
1033
|
'x8g',
|
|
941
1034
|
'z1d',
|
|
942
1035
|
'z3'
|
|
943
|
-
])).optional(),
|
|
1036
|
+
])).optional().default([]),
|
|
944
1037
|
'topology.kubernetes.io/region': z.array(z.enum([
|
|
945
1038
|
'africa-south1',
|
|
946
1039
|
'ap-northeast-1',
|
|
@@ -1006,16 +1099,26 @@ export const zFleetUpdateInput = z.object({
|
|
|
1006
1099
|
'us-west2',
|
|
1007
1100
|
'us-west3',
|
|
1008
1101
|
'us-west4'
|
|
1009
|
-
])).optional()
|
|
1010
|
-
}).optional()
|
|
1011
|
-
|
|
1102
|
+
])).optional().default([])
|
|
1103
|
+
}).optional().default({
|
|
1104
|
+
'karpenter.sh/capacity-type': ['on-demand', 'spot'],
|
|
1105
|
+
'kubernetes.io/arch': ['amd64'],
|
|
1106
|
+
'cfke.io/instance-family': [],
|
|
1107
|
+
'topology.kubernetes.io/region': []
|
|
1108
|
+
}),
|
|
1109
|
+
scalingProfile: z.enum(['aggressive', 'conservative']).optional().default('conservative')
|
|
1110
|
+
});
|
|
1111
|
+
export const zInviteCreateInput = z.object({
|
|
1112
|
+
email: z.email(),
|
|
1113
|
+
role: z.enum(['Administrator', 'User']).optional().default('User')
|
|
1012
1114
|
});
|
|
1013
1115
|
export const zInvite = z.object({
|
|
1014
1116
|
id: z.string().optional(),
|
|
1015
1117
|
organization_id: z.uuid().optional(),
|
|
1016
1118
|
date_created: z.iso.datetime(),
|
|
1017
1119
|
email: z.email().optional(),
|
|
1018
|
-
code: z.string().optional()
|
|
1120
|
+
code: z.string().optional(),
|
|
1121
|
+
role: z.enum(['Administrator', 'User']).optional().default('User')
|
|
1019
1122
|
});
|
|
1020
1123
|
export const zInvoice = z.object({
|
|
1021
1124
|
id: z.string().optional(),
|
|
@@ -1055,21 +1158,28 @@ export const zMarketplaceListing = z.object({
|
|
|
1055
1158
|
}).optional()
|
|
1056
1159
|
});
|
|
1057
1160
|
export const zOrganizationCreateInput = z.object({
|
|
1161
|
+
type: z.enum(['business', 'personal']),
|
|
1058
1162
|
email: z.email(),
|
|
1059
|
-
first_name: z.string(),
|
|
1060
|
-
last_name: z.string(),
|
|
1163
|
+
first_name: z.string().min(1),
|
|
1164
|
+
last_name: z.string().min(1),
|
|
1061
1165
|
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,}$/),
|
|
1062
1166
|
password: z.string().min(8)
|
|
1063
1167
|
});
|
|
1168
|
+
export const zOrganizationCreateOutput = z.object({
|
|
1169
|
+
id: z.string()
|
|
1170
|
+
});
|
|
1064
1171
|
export const zOrganization = z.object({
|
|
1065
1172
|
id: z.uuid(),
|
|
1066
1173
|
name: z.string().min(2).max(120).optional(),
|
|
1174
|
+
type: z.enum(['business', 'personal']),
|
|
1067
1175
|
date_created: z.iso.datetime(),
|
|
1068
1176
|
quota: z.object({
|
|
1069
1177
|
basic_clusters_max: z.int().gte(0),
|
|
1070
1178
|
basic_clusters_available: z.int(),
|
|
1071
1179
|
pro_clusters_max: z.int().gte(0),
|
|
1072
1180
|
pro_clusters_available: z.int(),
|
|
1181
|
+
enterprise_clusters_max: z.int().gte(0),
|
|
1182
|
+
enterprise_clusters_available: z.int(),
|
|
1073
1183
|
fleets_max: z.int().gte(0),
|
|
1074
1184
|
cluster_tiers: z.array(z.string()).min(0),
|
|
1075
1185
|
regions: z.array(z.string()).min(1),
|
|
@@ -1083,32 +1193,36 @@ export const zOrganization = z.object({
|
|
|
1083
1193
|
'active',
|
|
1084
1194
|
'closed',
|
|
1085
1195
|
'suspended'
|
|
1196
|
+
]),
|
|
1197
|
+
verification: z.enum([
|
|
1198
|
+
'none',
|
|
1199
|
+
'submitted',
|
|
1200
|
+
'verified'
|
|
1086
1201
|
])
|
|
1087
1202
|
});
|
|
1088
1203
|
export const zPaymentMethod = z.object({
|
|
1089
|
-
id: z.
|
|
1090
|
-
|
|
1091
|
-
|
|
1204
|
+
id: z.string(),
|
|
1205
|
+
type: z.enum([
|
|
1206
|
+
'card',
|
|
1207
|
+
'sepa_debit',
|
|
1208
|
+
'bank_transfer'
|
|
1209
|
+
]),
|
|
1092
1210
|
last4: z.string(),
|
|
1093
1211
|
exp_month: z.int().gte(1).lte(12),
|
|
1094
|
-
exp_year: z.int()
|
|
1095
|
-
brand: z.
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
'jcb',
|
|
1101
|
-
'mastercard',
|
|
1102
|
-
'unionpay',
|
|
1103
|
-
'visa',
|
|
1104
|
-
'unknown'
|
|
1105
|
-
])
|
|
1212
|
+
exp_year: z.int(),
|
|
1213
|
+
brand: z.string(),
|
|
1214
|
+
iban: z.string(),
|
|
1215
|
+
bic: z.string(),
|
|
1216
|
+
account_holder_name: z.string(),
|
|
1217
|
+
is_default: z.boolean()
|
|
1106
1218
|
});
|
|
1107
1219
|
export const zPlatformQuota = z.object({
|
|
1108
1220
|
basic_clusters_max: z.int().gte(0),
|
|
1109
1221
|
basic_clusters_available: z.int(),
|
|
1110
1222
|
pro_clusters_max: z.int().gte(0),
|
|
1111
1223
|
pro_clusters_available: z.int(),
|
|
1224
|
+
enterprise_clusters_max: z.int().gte(0),
|
|
1225
|
+
enterprise_clusters_available: z.int(),
|
|
1112
1226
|
fleets_max: z.int().gte(0),
|
|
1113
1227
|
cluster_tiers: z.array(z.string()).min(0),
|
|
1114
1228
|
regions: z.array(z.string()).min(1),
|
|
@@ -1306,9 +1420,7 @@ export const zUserCreateInput = z.object({
|
|
|
1306
1420
|
first_name: z.string().min(1).max(50),
|
|
1307
1421
|
last_name: z.string().min(1).max(50),
|
|
1308
1422
|
code: z.string(),
|
|
1309
|
-
password: z.string().min(8)
|
|
1310
|
-
status: z.enum(['active', 'inactive']).optional(),
|
|
1311
|
-
role: z.enum(['Administrator', 'User']).optional()
|
|
1423
|
+
password: z.string().min(8)
|
|
1312
1424
|
});
|
|
1313
1425
|
export const zUser = z.object({
|
|
1314
1426
|
email: z.email(),
|
|
@@ -1326,202 +1438,162 @@ export const zUserUpdateInput = z.object({
|
|
|
1326
1438
|
role: z.enum(['Administrator', 'User']).optional(),
|
|
1327
1439
|
status: z.enum(['active', 'inactive']).optional()
|
|
1328
1440
|
});
|
|
1329
|
-
export const
|
|
1330
|
-
|
|
1331
|
-
'hourly',
|
|
1332
|
-
'daily',
|
|
1333
|
-
'monthly'
|
|
1334
|
-
]).optional().default('daily')
|
|
1441
|
+
export const zListUserOrganizationsPath = z.object({
|
|
1442
|
+
email: z.string()
|
|
1335
1443
|
});
|
|
1336
1444
|
/**
|
|
1337
|
-
*
|
|
1445
|
+
* An array of organizations the user belongs to.
|
|
1338
1446
|
*/
|
|
1339
|
-
export const
|
|
1447
|
+
export const zListUserOrganizationsResponse = z.array(z.object({
|
|
1448
|
+
realm: z.string().optional(),
|
|
1449
|
+
displayName: z.string().optional()
|
|
1450
|
+
}));
|
|
1340
1451
|
/**
|
|
1341
|
-
*
|
|
1452
|
+
* An array of users
|
|
1342
1453
|
*/
|
|
1343
|
-
export const
|
|
1454
|
+
export const zListUsersResponse = z.array(zUser);
|
|
1455
|
+
export const zCreateUserBody = zUserCreateInput;
|
|
1344
1456
|
/**
|
|
1345
|
-
*
|
|
1346
|
-
*
|
|
1457
|
+
* Successfully created. Returns created user details.
|
|
1347
1458
|
*/
|
|
1348
|
-
export const
|
|
1349
|
-
|
|
1459
|
+
export const zCreateUserResponse = zUser;
|
|
1460
|
+
export const zDeleteUserPath = z.object({
|
|
1461
|
+
user_id: z.string()
|
|
1350
1462
|
});
|
|
1351
1463
|
/**
|
|
1352
|
-
*
|
|
1353
|
-
*/
|
|
1354
|
-
export const zListInvoicesResponse = z.array(zInvoice);
|
|
1355
|
-
/**
|
|
1356
|
-
* Returns a single object containing organization contact and billing address details.
|
|
1357
|
-
*/
|
|
1358
|
-
export const zGetContactResponse = zBillingContact;
|
|
1359
|
-
export const zUpdateContactBody = zBillingContact;
|
|
1360
|
-
/**
|
|
1361
|
-
* Successfully updated. Returns updated organization details.
|
|
1362
|
-
*/
|
|
1363
|
-
export const zUpdateContactResponse = zBillingContact;
|
|
1364
|
-
/**
|
|
1365
|
-
* An array of the applied promotional credits records.
|
|
1464
|
+
* User profile information
|
|
1366
1465
|
*/
|
|
1367
|
-
export const
|
|
1368
|
-
export const
|
|
1369
|
-
|
|
1370
|
-
});
|
|
1371
|
-
export const zListChartsPath = z.object({
|
|
1372
|
-
cluster_id: z.string()
|
|
1466
|
+
export const zDeleteUserResponse = zUser;
|
|
1467
|
+
export const zGetUserPath = z.object({
|
|
1468
|
+
user_id: z.string()
|
|
1373
1469
|
});
|
|
1374
1470
|
/**
|
|
1375
|
-
*
|
|
1471
|
+
* User profile information
|
|
1376
1472
|
*/
|
|
1377
|
-
export const
|
|
1378
|
-
export const
|
|
1379
|
-
export const
|
|
1380
|
-
|
|
1473
|
+
export const zGetUserResponse = zUser;
|
|
1474
|
+
export const zUpdateUserBody = zUserUpdateInput;
|
|
1475
|
+
export const zUpdateUserPath = z.object({
|
|
1476
|
+
user_id: z.string()
|
|
1381
1477
|
});
|
|
1382
1478
|
/**
|
|
1383
|
-
* Successfully created. Returns created
|
|
1479
|
+
* Successfully created. Returns created user details.
|
|
1384
1480
|
*/
|
|
1385
|
-
export const
|
|
1386
|
-
export const zDeleteChartPath = z.object({
|
|
1387
|
-
cluster_id: z.string(),
|
|
1388
|
-
chart_name: z.string()
|
|
1389
|
-
});
|
|
1481
|
+
export const zUpdateUserResponse = zUser;
|
|
1390
1482
|
/**
|
|
1391
|
-
*
|
|
1483
|
+
* Returns a list of access token details with masked secrets.
|
|
1392
1484
|
*/
|
|
1393
|
-
export const
|
|
1394
|
-
export const
|
|
1395
|
-
cluster_id: z.string(),
|
|
1396
|
-
chart_name: z.string()
|
|
1397
|
-
});
|
|
1485
|
+
export const zListTokensResponse = z.array(zToken);
|
|
1486
|
+
export const zCreateTokenBody = zTokenCreateInput;
|
|
1398
1487
|
/**
|
|
1399
|
-
* Returns
|
|
1488
|
+
* Successfully created. Returns created token details with unmasked/raw secret.
|
|
1400
1489
|
*/
|
|
1401
|
-
export const
|
|
1402
|
-
export const
|
|
1403
|
-
|
|
1404
|
-
cluster_id: z.string(),
|
|
1405
|
-
chart_name: z.string()
|
|
1490
|
+
export const zCreateTokenResponse = zToken;
|
|
1491
|
+
export const zDeleteTokenPath = z.object({
|
|
1492
|
+
token_id: z.string()
|
|
1406
1493
|
});
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
*/
|
|
1410
|
-
export const zUpdateChartResponse = z.string();
|
|
1411
|
-
export const zListFleetsPath = z.object({
|
|
1412
|
-
cluster_id: z.string()
|
|
1494
|
+
export const zGetTokenPath = z.object({
|
|
1495
|
+
token_id: z.string()
|
|
1413
1496
|
});
|
|
1414
1497
|
/**
|
|
1415
|
-
*
|
|
1498
|
+
* Returns access token details with masked secret.
|
|
1416
1499
|
*/
|
|
1417
|
-
export const
|
|
1418
|
-
export const
|
|
1419
|
-
export const
|
|
1420
|
-
|
|
1500
|
+
export const zGetTokenResponse = zToken;
|
|
1501
|
+
export const zUpdateTokenBody = zTokenUpdateInput;
|
|
1502
|
+
export const zUpdateTokenPath = z.object({
|
|
1503
|
+
token_id: z.string()
|
|
1421
1504
|
});
|
|
1422
1505
|
/**
|
|
1423
|
-
* Successfully
|
|
1506
|
+
* Successfully updated. Returns updated token details with masked secret.
|
|
1424
1507
|
*/
|
|
1425
|
-
export const
|
|
1426
|
-
export const
|
|
1427
|
-
|
|
1428
|
-
fleet_name: z.string()
|
|
1508
|
+
export const zUpdateTokenResponse = zToken;
|
|
1509
|
+
export const zRegenerateTokenPath = z.object({
|
|
1510
|
+
token_id: z.string()
|
|
1429
1511
|
});
|
|
1430
1512
|
/**
|
|
1431
|
-
* Successfully
|
|
1513
|
+
* Successfully updated. Returns updated token details with unmasked / raw secret.
|
|
1432
1514
|
*/
|
|
1433
|
-
export const
|
|
1434
|
-
export const zGetFleetPath = z.object({
|
|
1435
|
-
cluster_id: z.string(),
|
|
1436
|
-
fleet_name: z.string()
|
|
1437
|
-
});
|
|
1515
|
+
export const zRegenerateTokenResponse = zToken;
|
|
1438
1516
|
/**
|
|
1439
|
-
*
|
|
1517
|
+
* Tickets for the organization.
|
|
1440
1518
|
*/
|
|
1441
|
-
export const
|
|
1442
|
-
export const
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
fleet_name: z.string()
|
|
1519
|
+
export const zListTicketsResponse = zTicketListResponse;
|
|
1520
|
+
export const zCreateTicketBody = z.object({
|
|
1521
|
+
payload: z.string().optional(),
|
|
1522
|
+
attachments: z.array(z.string()).optional()
|
|
1446
1523
|
});
|
|
1447
1524
|
/**
|
|
1448
|
-
*
|
|
1525
|
+
* Ticket created.
|
|
1449
1526
|
*/
|
|
1450
|
-
export const
|
|
1451
|
-
export const
|
|
1452
|
-
|
|
1527
|
+
export const zCreateTicketResponse = zTicket;
|
|
1528
|
+
export const zCloseTicketPath = z.object({
|
|
1529
|
+
ticket_id: z.string()
|
|
1453
1530
|
});
|
|
1454
1531
|
/**
|
|
1455
|
-
*
|
|
1456
|
-
*/
|
|
1457
|
-
export const zListClustersResponse = z.array(zCluster);
|
|
1458
|
-
export const zCreateClusterBody = zClusterCreateInput;
|
|
1459
|
-
/**
|
|
1460
|
-
* Successfully created. Returns created Cluster ID.
|
|
1532
|
+
* Ticket closed.
|
|
1461
1533
|
*/
|
|
1462
|
-
export const
|
|
1463
|
-
export const
|
|
1464
|
-
|
|
1534
|
+
export const zCloseTicketResponse = zTicket;
|
|
1535
|
+
export const zGetTicketPath = z.object({
|
|
1536
|
+
ticket_id: z.string()
|
|
1465
1537
|
});
|
|
1466
1538
|
/**
|
|
1467
|
-
*
|
|
1539
|
+
* Ticket with messages (internal notes excluded).
|
|
1468
1540
|
*/
|
|
1469
|
-
export const
|
|
1470
|
-
export const
|
|
1471
|
-
|
|
1541
|
+
export const zGetTicketResponse = zTicket;
|
|
1542
|
+
export const zReplyTicketBody = z.object({
|
|
1543
|
+
payload: z.string().optional(),
|
|
1544
|
+
attachments: z.array(z.string()).optional()
|
|
1472
1545
|
});
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
*/
|
|
1476
|
-
export const zGetClusterResponse = zCluster;
|
|
1477
|
-
export const zUpdateClusterBody = zClusterUpdateInput;
|
|
1478
|
-
export const zUpdateClusterPath = z.object({
|
|
1479
|
-
cluster_id: z.string()
|
|
1546
|
+
export const zReplyTicketPath = z.object({
|
|
1547
|
+
ticket_id: z.string()
|
|
1480
1548
|
});
|
|
1481
1549
|
/**
|
|
1482
|
-
*
|
|
1550
|
+
* Reply appended.
|
|
1483
1551
|
*/
|
|
1484
|
-
export const
|
|
1485
|
-
export const
|
|
1486
|
-
|
|
1552
|
+
export const zReplyTicketResponse = zTicketMessage;
|
|
1553
|
+
export const zGetTicketAttachmentPath = z.object({
|
|
1554
|
+
ticket_id: z.string(),
|
|
1555
|
+
attachment_id: z.string()
|
|
1487
1556
|
});
|
|
1488
1557
|
/**
|
|
1489
|
-
*
|
|
1558
|
+
* Attachment binary stream.
|
|
1490
1559
|
*/
|
|
1491
|
-
export const
|
|
1560
|
+
export const zGetTicketAttachmentResponse = z.string();
|
|
1492
1561
|
/**
|
|
1493
|
-
*
|
|
1562
|
+
* List of repositories
|
|
1494
1563
|
*/
|
|
1495
|
-
export const
|
|
1496
|
-
export const
|
|
1497
|
-
|
|
1564
|
+
export const zListRepositoriesResponse = z.array(zRegistryRepository);
|
|
1565
|
+
export const zListTagsPath = z.object({
|
|
1566
|
+
region: z.string(),
|
|
1567
|
+
repository: z.string()
|
|
1498
1568
|
});
|
|
1499
1569
|
/**
|
|
1500
|
-
*
|
|
1570
|
+
* Repository with tags
|
|
1501
1571
|
*/
|
|
1502
|
-
export const
|
|
1503
|
-
export const
|
|
1504
|
-
|
|
1572
|
+
export const zListTagsResponse = zRegistryRepositoryWithTags;
|
|
1573
|
+
export const zDeleteTagPath = z.object({
|
|
1574
|
+
region: z.string(),
|
|
1575
|
+
repository: z.string(),
|
|
1576
|
+
tag: z.string()
|
|
1577
|
+
});
|
|
1578
|
+
export const zGetTagPath = z.object({
|
|
1579
|
+
region: z.string(),
|
|
1580
|
+
repository: z.string(),
|
|
1581
|
+
tag: z.string()
|
|
1505
1582
|
});
|
|
1506
1583
|
/**
|
|
1507
|
-
*
|
|
1584
|
+
* Tag details
|
|
1508
1585
|
*/
|
|
1509
|
-
export const
|
|
1510
|
-
export const zDeleteInvitePath = z.object({
|
|
1511
|
-
email: z.string()
|
|
1512
|
-
});
|
|
1586
|
+
export const zGetTagResponse = zRegistryTag;
|
|
1513
1587
|
/**
|
|
1514
|
-
*
|
|
1588
|
+
* Returns a single object containing organization details.
|
|
1515
1589
|
*/
|
|
1516
|
-
export const
|
|
1517
|
-
export const
|
|
1518
|
-
chart_name: z.string(),
|
|
1519
|
-
version_channel: z.string()
|
|
1520
|
-
});
|
|
1590
|
+
export const zGetOrganizationResponse = zOrganization;
|
|
1591
|
+
export const zCreateOrganizationBody = zOrganizationCreateInput;
|
|
1521
1592
|
/**
|
|
1522
|
-
*
|
|
1593
|
+
* Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
|
|
1594
|
+
*
|
|
1523
1595
|
*/
|
|
1524
|
-
export const
|
|
1596
|
+
export const zCreateOrganizationResponse = zOrganizationCreateOutput;
|
|
1525
1597
|
/**
|
|
1526
1598
|
* JSON-RPC 2.0 request payload
|
|
1527
1599
|
*/
|
|
@@ -1550,154 +1622,214 @@ export const zPostMcpResponse = z.object({
|
|
|
1550
1622
|
}).optional()
|
|
1551
1623
|
});
|
|
1552
1624
|
/**
|
|
1553
|
-
*
|
|
1625
|
+
* An array of chart listings in the marketplace.
|
|
1554
1626
|
*/
|
|
1555
|
-
export const
|
|
1556
|
-
export const
|
|
1627
|
+
export const zListMarketplaceChartsResponse = z.array(zMarketplaceListing);
|
|
1628
|
+
export const zGetMarketplaceChartFilesPath = z.object({
|
|
1629
|
+
chart_name: z.string(),
|
|
1630
|
+
version_channel: z.string()
|
|
1631
|
+
});
|
|
1557
1632
|
/**
|
|
1558
|
-
*
|
|
1633
|
+
* Returns an object containing the chart files for the latest matching version.
|
|
1559
1634
|
*/
|
|
1560
|
-
export const
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1635
|
+
export const zGetMarketplaceChartFilesResponse = zMarketplaceListingFiles;
|
|
1636
|
+
/**
|
|
1637
|
+
* An array of invites
|
|
1638
|
+
*/
|
|
1639
|
+
export const zListInvitesResponse = z.array(zInvite);
|
|
1640
|
+
export const zCreateInviteBody = zInviteCreateInput;
|
|
1641
|
+
/**
|
|
1642
|
+
* Successfully created. Returns created invite details.
|
|
1643
|
+
*/
|
|
1644
|
+
export const zCreateInviteResponse = zInvite;
|
|
1645
|
+
export const zGetInvitePath = z.object({
|
|
1646
|
+
code: z.string()
|
|
1564
1647
|
});
|
|
1565
1648
|
/**
|
|
1566
|
-
*
|
|
1649
|
+
* The invitation code is valid. Returns the invited email and organization.
|
|
1567
1650
|
*/
|
|
1568
|
-
export const
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
repository: z.string(),
|
|
1572
|
-
tag: z.string()
|
|
1651
|
+
export const zGetInviteResponse = z.object({
|
|
1652
|
+
email: z.email().optional(),
|
|
1653
|
+
organization_id: z.string().optional()
|
|
1573
1654
|
});
|
|
1574
|
-
export const
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1655
|
+
export const zDeleteInvitePath = z.object({
|
|
1656
|
+
email: z.email()
|
|
1657
|
+
});
|
|
1658
|
+
export const zQueryClusterPath = z.object({
|
|
1659
|
+
cluster_id: z.string()
|
|
1660
|
+
});
|
|
1661
|
+
export const zListFleetsPath = z.object({
|
|
1662
|
+
cluster_id: z.string()
|
|
1578
1663
|
});
|
|
1579
1664
|
/**
|
|
1580
|
-
*
|
|
1665
|
+
* An array of fleets
|
|
1581
1666
|
*/
|
|
1582
|
-
export const
|
|
1667
|
+
export const zListFleetsResponse = z.array(zFleet);
|
|
1668
|
+
export const zCreateFleetBody = zFleetCreateInput;
|
|
1669
|
+
export const zCreateFleetPath = z.object({
|
|
1670
|
+
cluster_id: z.string()
|
|
1671
|
+
});
|
|
1583
1672
|
/**
|
|
1584
|
-
*
|
|
1673
|
+
* Successfully created. Returns created Fleet ID.
|
|
1585
1674
|
*/
|
|
1586
|
-
export const
|
|
1587
|
-
export const
|
|
1588
|
-
|
|
1589
|
-
|
|
1675
|
+
export const zCreateFleetResponse = z.string();
|
|
1676
|
+
export const zDeleteFleetPath = z.object({
|
|
1677
|
+
cluster_id: z.string(),
|
|
1678
|
+
fleet_name: z.string()
|
|
1590
1679
|
});
|
|
1591
1680
|
/**
|
|
1592
|
-
*
|
|
1681
|
+
* Successfully deleted.
|
|
1593
1682
|
*/
|
|
1594
|
-
export const
|
|
1595
|
-
export const
|
|
1596
|
-
|
|
1683
|
+
export const zDeleteFleetResponse = z.string();
|
|
1684
|
+
export const zGetFleetPath = z.object({
|
|
1685
|
+
cluster_id: z.string(),
|
|
1686
|
+
fleet_name: z.string()
|
|
1597
1687
|
});
|
|
1598
1688
|
/**
|
|
1599
|
-
*
|
|
1689
|
+
* Returns a single object containing fleet details.
|
|
1600
1690
|
*/
|
|
1601
|
-
export const
|
|
1602
|
-
export const
|
|
1603
|
-
|
|
1691
|
+
export const zGetFleetResponse = zFleet;
|
|
1692
|
+
export const zUpdateFleetBody = zFleetUpdateInput;
|
|
1693
|
+
export const zUpdateFleetPath = z.object({
|
|
1694
|
+
cluster_id: z.string(),
|
|
1695
|
+
fleet_name: z.string()
|
|
1604
1696
|
});
|
|
1605
1697
|
/**
|
|
1606
|
-
*
|
|
1698
|
+
* Successfully updated.
|
|
1607
1699
|
*/
|
|
1608
|
-
export const
|
|
1609
|
-
export const
|
|
1610
|
-
|
|
1611
|
-
attachments: z.array(z.string()).optional()
|
|
1612
|
-
});
|
|
1613
|
-
export const zReplyTicketPath = z.object({
|
|
1614
|
-
ticket_id: z.string()
|
|
1700
|
+
export const zUpdateFleetResponse = z.string();
|
|
1701
|
+
export const zListChartsPath = z.object({
|
|
1702
|
+
cluster_id: z.string()
|
|
1615
1703
|
});
|
|
1616
1704
|
/**
|
|
1617
|
-
*
|
|
1705
|
+
* An array of charts
|
|
1618
1706
|
*/
|
|
1619
|
-
export const
|
|
1620
|
-
export const
|
|
1621
|
-
|
|
1622
|
-
|
|
1707
|
+
export const zListChartsResponse = z.array(zChart);
|
|
1708
|
+
export const zCreateChartBody = zChartCreateInput;
|
|
1709
|
+
export const zCreateChartPath = z.object({
|
|
1710
|
+
cluster_id: z.string()
|
|
1623
1711
|
});
|
|
1624
1712
|
/**
|
|
1625
|
-
*
|
|
1713
|
+
* Successfully created. Returns created Chart ID.
|
|
1626
1714
|
*/
|
|
1627
|
-
export const
|
|
1715
|
+
export const zCreateChartResponse = z.string();
|
|
1716
|
+
export const zDeleteChartPath = z.object({
|
|
1717
|
+
cluster_id: z.string(),
|
|
1718
|
+
chart_name: z.string()
|
|
1719
|
+
});
|
|
1628
1720
|
/**
|
|
1629
|
-
*
|
|
1721
|
+
* Successfully deleted.
|
|
1630
1722
|
*/
|
|
1631
|
-
export const
|
|
1632
|
-
export const
|
|
1723
|
+
export const zDeleteChartResponse = z.string();
|
|
1724
|
+
export const zGetChartPath = z.object({
|
|
1725
|
+
cluster_id: z.string(),
|
|
1726
|
+
chart_name: z.string()
|
|
1727
|
+
});
|
|
1633
1728
|
/**
|
|
1634
|
-
*
|
|
1729
|
+
* Returns a single object containing chart details.
|
|
1635
1730
|
*/
|
|
1636
|
-
export const
|
|
1637
|
-
export const
|
|
1638
|
-
|
|
1731
|
+
export const zGetChartResponse = zChart;
|
|
1732
|
+
export const zUpdateChartBody = zChartUpdateInput;
|
|
1733
|
+
export const zUpdateChartPath = z.object({
|
|
1734
|
+
cluster_id: z.string(),
|
|
1735
|
+
chart_name: z.string()
|
|
1639
1736
|
});
|
|
1640
|
-
|
|
1641
|
-
|
|
1737
|
+
/**
|
|
1738
|
+
* Successfully updated.
|
|
1739
|
+
*/
|
|
1740
|
+
export const zUpdateChartResponse = z.string();
|
|
1741
|
+
/**
|
|
1742
|
+
* An array of clusters
|
|
1743
|
+
*/
|
|
1744
|
+
export const zListClustersResponse = z.array(zCluster);
|
|
1745
|
+
export const zCreateClusterBody = zClusterCreateInput;
|
|
1746
|
+
/**
|
|
1747
|
+
* Successfully created. Returns created Cluster ID.
|
|
1748
|
+
*/
|
|
1749
|
+
export const zCreateClusterResponse = z.string();
|
|
1750
|
+
export const zDeleteClusterPath = z.object({
|
|
1751
|
+
cluster_id: z.string()
|
|
1642
1752
|
});
|
|
1643
1753
|
/**
|
|
1644
|
-
*
|
|
1754
|
+
* Successfully deleted. The cluster has been torn down.
|
|
1645
1755
|
*/
|
|
1646
|
-
export const
|
|
1647
|
-
export const
|
|
1648
|
-
|
|
1649
|
-
token_id: z.string()
|
|
1756
|
+
export const zDeleteClusterResponse = z.string();
|
|
1757
|
+
export const zGetClusterPath = z.object({
|
|
1758
|
+
cluster_id: z.string()
|
|
1650
1759
|
});
|
|
1651
1760
|
/**
|
|
1652
|
-
*
|
|
1761
|
+
* Returns a single object containing cluster details.
|
|
1653
1762
|
*/
|
|
1654
|
-
export const
|
|
1655
|
-
export const
|
|
1656
|
-
|
|
1763
|
+
export const zGetClusterResponse = zCluster;
|
|
1764
|
+
export const zUpdateClusterBody = zClusterUpdateInput;
|
|
1765
|
+
export const zUpdateClusterPath = z.object({
|
|
1766
|
+
cluster_id: z.string()
|
|
1657
1767
|
});
|
|
1658
1768
|
/**
|
|
1659
|
-
* Successfully updated. Returns updated
|
|
1769
|
+
* Successfully updated. Returns updated cluster details.
|
|
1660
1770
|
*/
|
|
1661
|
-
export const
|
|
1662
|
-
export const
|
|
1663
|
-
|
|
1771
|
+
export const zUpdateClusterResponse = zCluster;
|
|
1772
|
+
export const zGetJoinInformationPath = z.object({
|
|
1773
|
+
cluster_id: z.string()
|
|
1664
1774
|
});
|
|
1665
1775
|
/**
|
|
1666
|
-
* An
|
|
1776
|
+
* An object of cluster join information
|
|
1667
1777
|
*/
|
|
1668
|
-
export const
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1778
|
+
export const zGetJoinInformationResponse = zClusterJoinInformation;
|
|
1779
|
+
export const zGetUsageQuery = z.object({
|
|
1780
|
+
granularity: z.enum([
|
|
1781
|
+
'hourly',
|
|
1782
|
+
'daily',
|
|
1783
|
+
'monthly'
|
|
1784
|
+
]).optional().default('daily')
|
|
1785
|
+
});
|
|
1672
1786
|
/**
|
|
1673
|
-
*
|
|
1787
|
+
* Usage data with facets for filtering
|
|
1674
1788
|
*/
|
|
1675
|
-
export const
|
|
1676
|
-
export const zCreateUserBody = zUserCreateInput;
|
|
1789
|
+
export const zGetUsageResponse = zUsageResponse;
|
|
1677
1790
|
/**
|
|
1678
|
-
*
|
|
1791
|
+
* 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.
|
|
1792
|
+
*
|
|
1679
1793
|
*/
|
|
1680
|
-
export const
|
|
1681
|
-
|
|
1682
|
-
user_id: z.string()
|
|
1794
|
+
export const zGetPaymentMethodSecretResponse = z.object({
|
|
1795
|
+
id: z.string().optional()
|
|
1683
1796
|
});
|
|
1684
1797
|
/**
|
|
1685
|
-
*
|
|
1798
|
+
* An array of payment methods.
|
|
1686
1799
|
*/
|
|
1687
|
-
export const
|
|
1688
|
-
export const
|
|
1689
|
-
|
|
1800
|
+
export const zListPaymentMethodsResponse = z.array(zPaymentMethod);
|
|
1801
|
+
export const zSetDefaultPaymentMethodPath = z.object({
|
|
1802
|
+
paymentMethodId: z.string()
|
|
1690
1803
|
});
|
|
1691
1804
|
/**
|
|
1692
|
-
*
|
|
1805
|
+
* Default payment method updated.
|
|
1693
1806
|
*/
|
|
1694
|
-
export const
|
|
1695
|
-
export const
|
|
1696
|
-
|
|
1697
|
-
user_id: z.string()
|
|
1807
|
+
export const zSetDefaultPaymentMethodResponse = z.void();
|
|
1808
|
+
export const zDeletePaymentMethodPath = z.object({
|
|
1809
|
+
paymentMethodId: z.string()
|
|
1698
1810
|
});
|
|
1699
1811
|
/**
|
|
1700
|
-
*
|
|
1812
|
+
* Payment method deleted.
|
|
1701
1813
|
*/
|
|
1702
|
-
export const
|
|
1814
|
+
export const zDeletePaymentMethodResponse = z.void();
|
|
1815
|
+
/**
|
|
1816
|
+
* An array of usage records.
|
|
1817
|
+
*/
|
|
1818
|
+
export const zListInvoicesResponse = z.array(zInvoice);
|
|
1819
|
+
/**
|
|
1820
|
+
* Returns a single object containing organization contact and billing address details.
|
|
1821
|
+
*/
|
|
1822
|
+
export const zGetContactResponse = zBillingContact;
|
|
1823
|
+
export const zUpdateContactBody = zBillingContact;
|
|
1824
|
+
/**
|
|
1825
|
+
* Successfully updated. Returns updated organization details.
|
|
1826
|
+
*/
|
|
1827
|
+
export const zUpdateContactResponse = zBillingContact;
|
|
1828
|
+
/**
|
|
1829
|
+
* An array of the applied promotional credits records.
|
|
1830
|
+
*/
|
|
1831
|
+
export const zGetCreditsResponse = z.array(zBillingCredits);
|
|
1832
|
+
export const zRedeemCreditsBody = z.object({
|
|
1833
|
+
code: z.string().optional()
|
|
1834
|
+
});
|
|
1703
1835
|
//# sourceMappingURL=zod.gen.js.map
|