@cloudfleet/sdk 0.0.1-c144916 → 0.0.1-c3098ca
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 +410 -386
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/@tanstack/react-query.gen.js +419 -383
- 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 +405 -76
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +528 -140
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +228 -216
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +328 -312
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +1045 -717
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1585 -1436
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +429 -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,51 @@ 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(['basic', 'pro']),
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
'
|
|
200
|
-
'
|
|
201
|
-
'
|
|
202
|
-
]).optional().default('
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
185
|
+
tier: z.enum(['basic', 'pro']).optional().default('basic'),
|
|
186
|
+
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'),
|
|
187
|
+
release_channel: z.enum([
|
|
188
|
+
'rapid',
|
|
189
|
+
'stable',
|
|
190
|
+
'extended'
|
|
191
|
+
]).optional().default('rapid'),
|
|
192
|
+
features: z.object({
|
|
193
|
+
gpu_sharing_strategy: z.enum([
|
|
194
|
+
'none',
|
|
195
|
+
'mps',
|
|
196
|
+
'time_slicing'
|
|
197
|
+
]).optional().default('none'),
|
|
198
|
+
gpu_max_shared_clients_per_gpu: z.int().gte(2).lte(48).optional().default(4),
|
|
199
|
+
cilium_socket_lb_host_namespace_only: z.boolean().optional()
|
|
200
|
+
}).optional().default({
|
|
201
|
+
gpu_sharing_strategy: 'none',
|
|
202
|
+
gpu_max_shared_clients_per_gpu: 4,
|
|
203
|
+
cilium_socket_lb_host_namespace_only: false
|
|
204
|
+
}),
|
|
205
|
+
region: z.string(),
|
|
206
|
+
networking: z.object({
|
|
207
|
+
pod_cidr: z.string().optional().default('10.244.0.0/16'),
|
|
208
|
+
service_cidr: z.string().optional().default('10.96.0.0/12'),
|
|
209
|
+
dual_stack: z.boolean().optional(),
|
|
210
|
+
pod_cidr_v6: z.string().optional().default('2001:db8:1:2::/48'),
|
|
211
|
+
service_cidr_v6: z.string().optional().default('2001:db8:1:1::/112')
|
|
212
|
+
}).optional().default({
|
|
213
|
+
pod_cidr: '10.244.0.0/16',
|
|
214
|
+
service_cidr: '10.96.0.0/12',
|
|
215
|
+
dual_stack: false,
|
|
216
|
+
pod_cidr_v6: '2001:db8:1:2::/48',
|
|
217
|
+
service_cidr_v6: '2001:db8:1:1::/112'
|
|
218
|
+
})
|
|
209
219
|
});
|
|
210
220
|
export const zClusterJoinInformation = z.object({
|
|
211
221
|
certificate_authority: z.string(),
|
|
212
222
|
endpoint: z.url(),
|
|
213
223
|
cluster_dns: z.string(),
|
|
224
|
+
pod_cidr: z.string(),
|
|
214
225
|
auth_key: z.string(),
|
|
215
226
|
bootstrap_token: z.string(),
|
|
216
227
|
versions: z.object({
|
|
@@ -225,24 +236,51 @@ export const zClusterJoinInformation = z.object({
|
|
|
225
236
|
gcp_workload_identity_provider: z.string()
|
|
226
237
|
})
|
|
227
238
|
});
|
|
239
|
+
/**
|
|
240
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
241
|
+
*/
|
|
228
242
|
export const zCluster = z.object({
|
|
229
243
|
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
230
|
-
tier: z.enum(['basic', 'pro']),
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
'
|
|
234
|
-
'
|
|
235
|
-
'
|
|
236
|
-
]).
|
|
244
|
+
tier: z.enum(['basic', 'pro']).default('basic'),
|
|
245
|
+
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'),
|
|
246
|
+
release_channel: z.enum([
|
|
247
|
+
'rapid',
|
|
248
|
+
'stable',
|
|
249
|
+
'extended'
|
|
250
|
+
]).default('rapid'),
|
|
251
|
+
features: z.object({
|
|
252
|
+
gpu_sharing_strategy: z.enum([
|
|
253
|
+
'none',
|
|
254
|
+
'mps',
|
|
255
|
+
'time_slicing'
|
|
256
|
+
]).default('none'),
|
|
257
|
+
gpu_max_shared_clients_per_gpu: z.int().gte(2).lte(48).default(4),
|
|
258
|
+
cilium_socket_lb_host_namespace_only: z.boolean()
|
|
259
|
+
}).default({
|
|
260
|
+
gpu_sharing_strategy: 'none',
|
|
261
|
+
gpu_max_shared_clients_per_gpu: 4,
|
|
262
|
+
cilium_socket_lb_host_namespace_only: false
|
|
263
|
+
}),
|
|
264
|
+
region: z.string(),
|
|
265
|
+
networking: z.object({
|
|
266
|
+
pod_cidr: z.string().default('10.244.0.0/16'),
|
|
267
|
+
service_cidr: z.string().default('10.96.0.0/12'),
|
|
268
|
+
dual_stack: z.boolean(),
|
|
269
|
+
pod_cidr_v6: z.string().default('2001:db8:1:2::/48'),
|
|
270
|
+
service_cidr_v6: z.string().default('2001:db8:1:1::/112')
|
|
271
|
+
}).default({
|
|
272
|
+
pod_cidr: '10.244.0.0/16',
|
|
273
|
+
service_cidr: '10.96.0.0/12',
|
|
274
|
+
dual_stack: false,
|
|
275
|
+
pod_cidr_v6: '2001:db8:1:2::/48',
|
|
276
|
+
service_cidr_v6: '2001:db8:1:1::/112'
|
|
277
|
+
}),
|
|
237
278
|
id: z.uuid(),
|
|
238
279
|
status: z.enum([
|
|
239
|
-
'active',
|
|
240
|
-
'disabled',
|
|
241
|
-
'deleted',
|
|
242
280
|
'creating',
|
|
243
281
|
'deployed',
|
|
244
|
-
'
|
|
245
|
-
'
|
|
282
|
+
'updating',
|
|
283
|
+
'disabled'
|
|
246
284
|
]),
|
|
247
285
|
endpoint: z.union([
|
|
248
286
|
z.url(),
|
|
@@ -256,14 +294,37 @@ export const zCluster = z.object({
|
|
|
256
294
|
version_current: z.string().optional(),
|
|
257
295
|
created_at: z.string().optional(),
|
|
258
296
|
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()
|
|
297
|
+
ready: z.boolean()
|
|
261
298
|
});
|
|
299
|
+
/**
|
|
300
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
301
|
+
*/
|
|
262
302
|
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(['basic', 'pro']),
|
|
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()
|
|
303
|
+
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
304
|
+
tier: z.enum(['basic', 'pro']).optional().default('basic'),
|
|
305
|
+
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'),
|
|
306
|
+
release_channel: z.enum([
|
|
307
|
+
'rapid',
|
|
308
|
+
'stable',
|
|
309
|
+
'extended'
|
|
310
|
+
]).optional().default('rapid'),
|
|
311
|
+
features: z.object({
|
|
312
|
+
gpu_sharing_strategy: z.enum([
|
|
313
|
+
'none',
|
|
314
|
+
'mps',
|
|
315
|
+
'time_slicing'
|
|
316
|
+
]).optional().default('none'),
|
|
317
|
+
gpu_max_shared_clients_per_gpu: z.int().gte(2).lte(48).optional().default(4),
|
|
318
|
+
cilium_socket_lb_host_namespace_only: z.boolean().optional()
|
|
319
|
+
}).optional().default({
|
|
320
|
+
gpu_sharing_strategy: 'none',
|
|
321
|
+
gpu_max_shared_clients_per_gpu: 4,
|
|
322
|
+
cilium_socket_lb_host_namespace_only: false
|
|
323
|
+
})
|
|
266
324
|
});
|
|
325
|
+
/**
|
|
326
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
327
|
+
*/
|
|
267
328
|
export const zFleetCreateInput = z.object({
|
|
268
329
|
limits: z.object({
|
|
269
330
|
cpu: z.int().gte(0).lte(100000).optional()
|
|
@@ -281,8 +342,8 @@ export const zFleetCreateInput = z.object({
|
|
|
281
342
|
controllerRoleArn: z.string().regex(/^arn:aws(-[a-z]+)*:iam::\d{12}:role\/[\w+=,.@\/-]+$/).optional()
|
|
282
343
|
}).optional(),
|
|
283
344
|
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(),
|
|
345
|
+
'karpenter.sh/capacity-type': z.array(z.enum(['on-demand', 'spot'])).min(1).optional().default(['on-demand', 'spot']),
|
|
346
|
+
'kubernetes.io/arch': z.array(z.enum(['amd64', 'arm64'])).min(1).optional().default(['amd64']),
|
|
286
347
|
'cfke.io/instance-family': z.array(z.enum([
|
|
287
348
|
'a1',
|
|
288
349
|
'a2',
|
|
@@ -442,7 +503,7 @@ export const zFleetCreateInput = z.object({
|
|
|
442
503
|
'x8g',
|
|
443
504
|
'z1d',
|
|
444
505
|
'z3'
|
|
445
|
-
])).optional(),
|
|
506
|
+
])).optional().default([]),
|
|
446
507
|
'topology.kubernetes.io/region': z.array(z.enum([
|
|
447
508
|
'africa-south1',
|
|
448
509
|
'ap-northeast-1',
|
|
@@ -508,11 +569,19 @@ export const zFleetCreateInput = z.object({
|
|
|
508
569
|
'us-west2',
|
|
509
570
|
'us-west3',
|
|
510
571
|
'us-west4'
|
|
511
|
-
])).optional()
|
|
512
|
-
}).optional()
|
|
572
|
+
])).optional().default([])
|
|
573
|
+
}).optional().default({
|
|
574
|
+
'karpenter.sh/capacity-type': ['on-demand', 'spot'],
|
|
575
|
+
'kubernetes.io/arch': ['amd64'],
|
|
576
|
+
'cfke.io/instance-family': [],
|
|
577
|
+
'topology.kubernetes.io/region': []
|
|
578
|
+
}),
|
|
513
579
|
scalingProfile: z.enum(['aggressive', 'conservative']).optional().default('conservative'),
|
|
514
580
|
id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
|
|
515
581
|
});
|
|
582
|
+
/**
|
|
583
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
584
|
+
*/
|
|
516
585
|
export const zFleet = z.object({
|
|
517
586
|
limits: z.object({
|
|
518
587
|
cpu: z.int().gte(0).lte(100000).optional()
|
|
@@ -530,8 +599,8 @@ export const zFleet = z.object({
|
|
|
530
599
|
controllerRoleArn: z.string().regex(/^arn:aws(-[a-z]+)*:iam::\d{12}:role\/[\w+=,.@\/-]+$/).optional()
|
|
531
600
|
}).optional(),
|
|
532
601
|
constraints: z.object({
|
|
533
|
-
'karpenter.sh/capacity-type': z.array(z.enum(['on-demand', 'spot'])).
|
|
534
|
-
'kubernetes.io/arch': z.array(z.enum(['amd64', 'arm64'])).
|
|
602
|
+
'karpenter.sh/capacity-type': z.array(z.enum(['on-demand', 'spot'])).min(1).default(['on-demand', 'spot']),
|
|
603
|
+
'kubernetes.io/arch': z.array(z.enum(['amd64', 'arm64'])).min(1).default(['amd64']),
|
|
535
604
|
'cfke.io/instance-family': z.array(z.enum([
|
|
536
605
|
'a1',
|
|
537
606
|
'a2',
|
|
@@ -691,7 +760,7 @@ export const zFleet = z.object({
|
|
|
691
760
|
'x8g',
|
|
692
761
|
'z1d',
|
|
693
762
|
'z3'
|
|
694
|
-
])).optional(),
|
|
763
|
+
])).optional().default([]),
|
|
695
764
|
'topology.kubernetes.io/region': z.array(z.enum([
|
|
696
765
|
'africa-south1',
|
|
697
766
|
'ap-northeast-1',
|
|
@@ -757,11 +826,23 @@ export const zFleet = z.object({
|
|
|
757
826
|
'us-west2',
|
|
758
827
|
'us-west3',
|
|
759
828
|
'us-west4'
|
|
760
|
-
])).optional()
|
|
761
|
-
}).
|
|
829
|
+
])).optional().default([])
|
|
830
|
+
}).default({
|
|
831
|
+
'karpenter.sh/capacity-type': ['on-demand', 'spot'],
|
|
832
|
+
'kubernetes.io/arch': ['amd64'],
|
|
833
|
+
'cfke.io/instance-family': [],
|
|
834
|
+
'topology.kubernetes.io/region': []
|
|
835
|
+
}),
|
|
762
836
|
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])?$/)
|
|
837
|
+
id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
838
|
+
ready: z.boolean(),
|
|
839
|
+
status_message: z.string().optional(),
|
|
840
|
+
created_at: z.string(),
|
|
841
|
+
updated_at: z.string()
|
|
764
842
|
});
|
|
843
|
+
/**
|
|
844
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
845
|
+
*/
|
|
765
846
|
export const zFleetUpdateInput = z.object({
|
|
766
847
|
limits: z.object({
|
|
767
848
|
cpu: z.int().gte(0).lte(100000).optional()
|
|
@@ -779,8 +860,8 @@ export const zFleetUpdateInput = z.object({
|
|
|
779
860
|
controllerRoleArn: z.string().regex(/^arn:aws(-[a-z]+)*:iam::\d{12}:role\/[\w+=,.@\/-]+$/).optional()
|
|
780
861
|
}).optional(),
|
|
781
862
|
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(),
|
|
863
|
+
'karpenter.sh/capacity-type': z.array(z.enum(['on-demand', 'spot'])).min(1).optional().default(['on-demand', 'spot']),
|
|
864
|
+
'kubernetes.io/arch': z.array(z.enum(['amd64', 'arm64'])).min(1).optional().default(['amd64']),
|
|
784
865
|
'cfke.io/instance-family': z.array(z.enum([
|
|
785
866
|
'a1',
|
|
786
867
|
'a2',
|
|
@@ -940,7 +1021,7 @@ export const zFleetUpdateInput = z.object({
|
|
|
940
1021
|
'x8g',
|
|
941
1022
|
'z1d',
|
|
942
1023
|
'z3'
|
|
943
|
-
])).optional(),
|
|
1024
|
+
])).optional().default([]),
|
|
944
1025
|
'topology.kubernetes.io/region': z.array(z.enum([
|
|
945
1026
|
'africa-south1',
|
|
946
1027
|
'ap-northeast-1',
|
|
@@ -1006,16 +1087,26 @@ export const zFleetUpdateInput = z.object({
|
|
|
1006
1087
|
'us-west2',
|
|
1007
1088
|
'us-west3',
|
|
1008
1089
|
'us-west4'
|
|
1009
|
-
])).optional()
|
|
1010
|
-
}).optional()
|
|
1011
|
-
|
|
1090
|
+
])).optional().default([])
|
|
1091
|
+
}).optional().default({
|
|
1092
|
+
'karpenter.sh/capacity-type': ['on-demand', 'spot'],
|
|
1093
|
+
'kubernetes.io/arch': ['amd64'],
|
|
1094
|
+
'cfke.io/instance-family': [],
|
|
1095
|
+
'topology.kubernetes.io/region': []
|
|
1096
|
+
}),
|
|
1097
|
+
scalingProfile: z.enum(['aggressive', 'conservative']).optional().default('conservative')
|
|
1098
|
+
});
|
|
1099
|
+
export const zInviteCreateInput = z.object({
|
|
1100
|
+
email: z.email(),
|
|
1101
|
+
role: z.enum(['Administrator', 'User']).optional().default('User')
|
|
1012
1102
|
});
|
|
1013
1103
|
export const zInvite = z.object({
|
|
1014
1104
|
id: z.string().optional(),
|
|
1015
1105
|
organization_id: z.uuid().optional(),
|
|
1016
1106
|
date_created: z.iso.datetime(),
|
|
1017
1107
|
email: z.email().optional(),
|
|
1018
|
-
code: z.string().optional()
|
|
1108
|
+
code: z.string().optional(),
|
|
1109
|
+
role: z.enum(['Administrator', 'User']).optional().default('User')
|
|
1019
1110
|
});
|
|
1020
1111
|
export const zInvoice = z.object({
|
|
1021
1112
|
id: z.string().optional(),
|
|
@@ -1055,15 +1146,20 @@ export const zMarketplaceListing = z.object({
|
|
|
1055
1146
|
}).optional()
|
|
1056
1147
|
});
|
|
1057
1148
|
export const zOrganizationCreateInput = z.object({
|
|
1149
|
+
type: z.enum(['business', 'personal']),
|
|
1058
1150
|
email: z.email(),
|
|
1059
|
-
first_name: z.string(),
|
|
1060
|
-
last_name: z.string(),
|
|
1151
|
+
first_name: z.string().min(1),
|
|
1152
|
+
last_name: z.string().min(1),
|
|
1061
1153
|
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
1154
|
password: z.string().min(8)
|
|
1063
1155
|
});
|
|
1156
|
+
export const zOrganizationCreateOutput = z.object({
|
|
1157
|
+
id: z.string()
|
|
1158
|
+
});
|
|
1064
1159
|
export const zOrganization = z.object({
|
|
1065
1160
|
id: z.uuid(),
|
|
1066
1161
|
name: z.string().min(2).max(120).optional(),
|
|
1162
|
+
type: z.enum(['business', 'personal']),
|
|
1067
1163
|
date_created: z.iso.datetime(),
|
|
1068
1164
|
quota: z.object({
|
|
1069
1165
|
basic_clusters_max: z.int().gte(0),
|
|
@@ -1083,26 +1179,28 @@ export const zOrganization = z.object({
|
|
|
1083
1179
|
'active',
|
|
1084
1180
|
'closed',
|
|
1085
1181
|
'suspended'
|
|
1182
|
+
]),
|
|
1183
|
+
verification: z.enum([
|
|
1184
|
+
'none',
|
|
1185
|
+
'submitted',
|
|
1186
|
+
'verified'
|
|
1086
1187
|
])
|
|
1087
1188
|
});
|
|
1088
1189
|
export const zPaymentMethod = z.object({
|
|
1089
|
-
id: z.
|
|
1090
|
-
|
|
1091
|
-
|
|
1190
|
+
id: z.string(),
|
|
1191
|
+
type: z.enum([
|
|
1192
|
+
'card',
|
|
1193
|
+
'sepa_debit',
|
|
1194
|
+
'bank_transfer'
|
|
1195
|
+
]),
|
|
1092
1196
|
last4: z.string(),
|
|
1093
1197
|
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
|
-
])
|
|
1198
|
+
exp_year: z.int(),
|
|
1199
|
+
brand: z.string(),
|
|
1200
|
+
iban: z.string(),
|
|
1201
|
+
bic: z.string(),
|
|
1202
|
+
account_holder_name: z.string(),
|
|
1203
|
+
is_default: z.boolean()
|
|
1106
1204
|
});
|
|
1107
1205
|
export const zPlatformQuota = z.object({
|
|
1108
1206
|
basic_clusters_max: z.int().gte(0),
|
|
@@ -1306,9 +1404,7 @@ export const zUserCreateInput = z.object({
|
|
|
1306
1404
|
first_name: z.string().min(1).max(50),
|
|
1307
1405
|
last_name: z.string().min(1).max(50),
|
|
1308
1406
|
code: z.string(),
|
|
1309
|
-
password: z.string().min(8)
|
|
1310
|
-
status: z.enum(['active', 'inactive']).optional(),
|
|
1311
|
-
role: z.enum(['Administrator', 'User']).optional()
|
|
1407
|
+
password: z.string().min(8)
|
|
1312
1408
|
});
|
|
1313
1409
|
export const zUser = z.object({
|
|
1314
1410
|
email: z.email(),
|
|
@@ -1326,202 +1422,162 @@ export const zUserUpdateInput = z.object({
|
|
|
1326
1422
|
role: z.enum(['Administrator', 'User']).optional(),
|
|
1327
1423
|
status: z.enum(['active', 'inactive']).optional()
|
|
1328
1424
|
});
|
|
1329
|
-
export const
|
|
1330
|
-
|
|
1331
|
-
'hourly',
|
|
1332
|
-
'daily',
|
|
1333
|
-
'monthly'
|
|
1334
|
-
]).optional().default('daily')
|
|
1425
|
+
export const zListUserOrganizationsPath = z.object({
|
|
1426
|
+
email: z.string()
|
|
1335
1427
|
});
|
|
1336
1428
|
/**
|
|
1337
|
-
*
|
|
1429
|
+
* An array of organizations the user belongs to.
|
|
1338
1430
|
*/
|
|
1339
|
-
export const
|
|
1431
|
+
export const zListUserOrganizationsResponse = z.array(z.object({
|
|
1432
|
+
realm: z.string().optional(),
|
|
1433
|
+
displayName: z.string().optional()
|
|
1434
|
+
}));
|
|
1340
1435
|
/**
|
|
1341
|
-
*
|
|
1436
|
+
* An array of users
|
|
1342
1437
|
*/
|
|
1343
|
-
export const
|
|
1438
|
+
export const zListUsersResponse = z.array(zUser);
|
|
1439
|
+
export const zCreateUserBody = zUserCreateInput;
|
|
1344
1440
|
/**
|
|
1345
|
-
*
|
|
1346
|
-
*
|
|
1441
|
+
* Successfully created. Returns created user details.
|
|
1347
1442
|
*/
|
|
1348
|
-
export const
|
|
1349
|
-
|
|
1443
|
+
export const zCreateUserResponse = zUser;
|
|
1444
|
+
export const zDeleteUserPath = z.object({
|
|
1445
|
+
user_id: z.string()
|
|
1350
1446
|
});
|
|
1351
1447
|
/**
|
|
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.
|
|
1448
|
+
* User profile information
|
|
1366
1449
|
*/
|
|
1367
|
-
export const
|
|
1368
|
-
export const
|
|
1369
|
-
|
|
1370
|
-
});
|
|
1371
|
-
export const zListChartsPath = z.object({
|
|
1372
|
-
cluster_id: z.string()
|
|
1450
|
+
export const zDeleteUserResponse = zUser;
|
|
1451
|
+
export const zGetUserPath = z.object({
|
|
1452
|
+
user_id: z.string()
|
|
1373
1453
|
});
|
|
1374
1454
|
/**
|
|
1375
|
-
*
|
|
1455
|
+
* User profile information
|
|
1376
1456
|
*/
|
|
1377
|
-
export const
|
|
1378
|
-
export const
|
|
1379
|
-
export const
|
|
1380
|
-
|
|
1457
|
+
export const zGetUserResponse = zUser;
|
|
1458
|
+
export const zUpdateUserBody = zUserUpdateInput;
|
|
1459
|
+
export const zUpdateUserPath = z.object({
|
|
1460
|
+
user_id: z.string()
|
|
1381
1461
|
});
|
|
1382
1462
|
/**
|
|
1383
|
-
* Successfully created. Returns created
|
|
1463
|
+
* Successfully created. Returns created user details.
|
|
1384
1464
|
*/
|
|
1385
|
-
export const
|
|
1386
|
-
export const zDeleteChartPath = z.object({
|
|
1387
|
-
cluster_id: z.string(),
|
|
1388
|
-
chart_name: z.string()
|
|
1389
|
-
});
|
|
1465
|
+
export const zUpdateUserResponse = zUser;
|
|
1390
1466
|
/**
|
|
1391
|
-
*
|
|
1467
|
+
* Returns a list of access token details with masked secrets.
|
|
1392
1468
|
*/
|
|
1393
|
-
export const
|
|
1394
|
-
export const
|
|
1395
|
-
cluster_id: z.string(),
|
|
1396
|
-
chart_name: z.string()
|
|
1397
|
-
});
|
|
1469
|
+
export const zListTokensResponse = z.array(zToken);
|
|
1470
|
+
export const zCreateTokenBody = zTokenCreateInput;
|
|
1398
1471
|
/**
|
|
1399
|
-
* Returns
|
|
1472
|
+
* Successfully created. Returns created token details with unmasked/raw secret.
|
|
1400
1473
|
*/
|
|
1401
|
-
export const
|
|
1402
|
-
export const
|
|
1403
|
-
|
|
1404
|
-
cluster_id: z.string(),
|
|
1405
|
-
chart_name: z.string()
|
|
1474
|
+
export const zCreateTokenResponse = zToken;
|
|
1475
|
+
export const zDeleteTokenPath = z.object({
|
|
1476
|
+
token_id: z.string()
|
|
1406
1477
|
});
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
*/
|
|
1410
|
-
export const zUpdateChartResponse = z.string();
|
|
1411
|
-
export const zListFleetsPath = z.object({
|
|
1412
|
-
cluster_id: z.string()
|
|
1478
|
+
export const zGetTokenPath = z.object({
|
|
1479
|
+
token_id: z.string()
|
|
1413
1480
|
});
|
|
1414
1481
|
/**
|
|
1415
|
-
*
|
|
1482
|
+
* Returns access token details with masked secret.
|
|
1416
1483
|
*/
|
|
1417
|
-
export const
|
|
1418
|
-
export const
|
|
1419
|
-
export const
|
|
1420
|
-
|
|
1484
|
+
export const zGetTokenResponse = zToken;
|
|
1485
|
+
export const zUpdateTokenBody = zTokenUpdateInput;
|
|
1486
|
+
export const zUpdateTokenPath = z.object({
|
|
1487
|
+
token_id: z.string()
|
|
1421
1488
|
});
|
|
1422
1489
|
/**
|
|
1423
|
-
* Successfully
|
|
1490
|
+
* Successfully updated. Returns updated token details with masked secret.
|
|
1424
1491
|
*/
|
|
1425
|
-
export const
|
|
1426
|
-
export const
|
|
1427
|
-
|
|
1428
|
-
fleet_name: z.string()
|
|
1492
|
+
export const zUpdateTokenResponse = zToken;
|
|
1493
|
+
export const zRegenerateTokenPath = z.object({
|
|
1494
|
+
token_id: z.string()
|
|
1429
1495
|
});
|
|
1430
1496
|
/**
|
|
1431
|
-
* Successfully
|
|
1497
|
+
* Successfully updated. Returns updated token details with unmasked / raw secret.
|
|
1432
1498
|
*/
|
|
1433
|
-
export const
|
|
1434
|
-
export const zGetFleetPath = z.object({
|
|
1435
|
-
cluster_id: z.string(),
|
|
1436
|
-
fleet_name: z.string()
|
|
1437
|
-
});
|
|
1499
|
+
export const zRegenerateTokenResponse = zToken;
|
|
1438
1500
|
/**
|
|
1439
|
-
*
|
|
1501
|
+
* Tickets for the organization.
|
|
1440
1502
|
*/
|
|
1441
|
-
export const
|
|
1442
|
-
export const
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
fleet_name: z.string()
|
|
1503
|
+
export const zListTicketsResponse = zTicketListResponse;
|
|
1504
|
+
export const zCreateTicketBody = z.object({
|
|
1505
|
+
payload: z.string().optional(),
|
|
1506
|
+
attachments: z.array(z.string()).optional()
|
|
1446
1507
|
});
|
|
1447
1508
|
/**
|
|
1448
|
-
*
|
|
1509
|
+
* Ticket created.
|
|
1449
1510
|
*/
|
|
1450
|
-
export const
|
|
1451
|
-
export const
|
|
1452
|
-
|
|
1511
|
+
export const zCreateTicketResponse = zTicket;
|
|
1512
|
+
export const zCloseTicketPath = z.object({
|
|
1513
|
+
ticket_id: z.string()
|
|
1453
1514
|
});
|
|
1454
1515
|
/**
|
|
1455
|
-
*
|
|
1456
|
-
*/
|
|
1457
|
-
export const zListClustersResponse = z.array(zCluster);
|
|
1458
|
-
export const zCreateClusterBody = zClusterCreateInput;
|
|
1459
|
-
/**
|
|
1460
|
-
* Successfully created. Returns created Cluster ID.
|
|
1516
|
+
* Ticket closed.
|
|
1461
1517
|
*/
|
|
1462
|
-
export const
|
|
1463
|
-
export const
|
|
1464
|
-
|
|
1518
|
+
export const zCloseTicketResponse = zTicket;
|
|
1519
|
+
export const zGetTicketPath = z.object({
|
|
1520
|
+
ticket_id: z.string()
|
|
1465
1521
|
});
|
|
1466
1522
|
/**
|
|
1467
|
-
*
|
|
1523
|
+
* Ticket with messages (internal notes excluded).
|
|
1468
1524
|
*/
|
|
1469
|
-
export const
|
|
1470
|
-
export const
|
|
1471
|
-
|
|
1525
|
+
export const zGetTicketResponse = zTicket;
|
|
1526
|
+
export const zReplyTicketBody = z.object({
|
|
1527
|
+
payload: z.string().optional(),
|
|
1528
|
+
attachments: z.array(z.string()).optional()
|
|
1472
1529
|
});
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
*/
|
|
1476
|
-
export const zGetClusterResponse = zCluster;
|
|
1477
|
-
export const zUpdateClusterBody = zClusterUpdateInput;
|
|
1478
|
-
export const zUpdateClusterPath = z.object({
|
|
1479
|
-
cluster_id: z.string()
|
|
1530
|
+
export const zReplyTicketPath = z.object({
|
|
1531
|
+
ticket_id: z.string()
|
|
1480
1532
|
});
|
|
1481
1533
|
/**
|
|
1482
|
-
*
|
|
1534
|
+
* Reply appended.
|
|
1483
1535
|
*/
|
|
1484
|
-
export const
|
|
1485
|
-
export const
|
|
1486
|
-
|
|
1536
|
+
export const zReplyTicketResponse = zTicketMessage;
|
|
1537
|
+
export const zGetTicketAttachmentPath = z.object({
|
|
1538
|
+
ticket_id: z.string(),
|
|
1539
|
+
attachment_id: z.string()
|
|
1487
1540
|
});
|
|
1488
1541
|
/**
|
|
1489
|
-
*
|
|
1542
|
+
* Attachment binary stream.
|
|
1490
1543
|
*/
|
|
1491
|
-
export const
|
|
1544
|
+
export const zGetTicketAttachmentResponse = z.string();
|
|
1492
1545
|
/**
|
|
1493
|
-
*
|
|
1546
|
+
* List of repositories
|
|
1494
1547
|
*/
|
|
1495
|
-
export const
|
|
1496
|
-
export const
|
|
1497
|
-
|
|
1548
|
+
export const zListRepositoriesResponse = z.array(zRegistryRepository);
|
|
1549
|
+
export const zListTagsPath = z.object({
|
|
1550
|
+
region: z.string(),
|
|
1551
|
+
repository: z.string()
|
|
1498
1552
|
});
|
|
1499
1553
|
/**
|
|
1500
|
-
*
|
|
1554
|
+
* Repository with tags
|
|
1501
1555
|
*/
|
|
1502
|
-
export const
|
|
1503
|
-
export const
|
|
1504
|
-
|
|
1556
|
+
export const zListTagsResponse = zRegistryRepositoryWithTags;
|
|
1557
|
+
export const zDeleteTagPath = z.object({
|
|
1558
|
+
region: z.string(),
|
|
1559
|
+
repository: z.string(),
|
|
1560
|
+
tag: z.string()
|
|
1561
|
+
});
|
|
1562
|
+
export const zGetTagPath = z.object({
|
|
1563
|
+
region: z.string(),
|
|
1564
|
+
repository: z.string(),
|
|
1565
|
+
tag: z.string()
|
|
1505
1566
|
});
|
|
1506
1567
|
/**
|
|
1507
|
-
*
|
|
1568
|
+
* Tag details
|
|
1508
1569
|
*/
|
|
1509
|
-
export const
|
|
1510
|
-
export const zDeleteInvitePath = z.object({
|
|
1511
|
-
email: z.string()
|
|
1512
|
-
});
|
|
1570
|
+
export const zGetTagResponse = zRegistryTag;
|
|
1513
1571
|
/**
|
|
1514
|
-
*
|
|
1572
|
+
* Returns a single object containing organization details.
|
|
1515
1573
|
*/
|
|
1516
|
-
export const
|
|
1517
|
-
export const
|
|
1518
|
-
chart_name: z.string(),
|
|
1519
|
-
version_channel: z.string()
|
|
1520
|
-
});
|
|
1574
|
+
export const zGetOrganizationResponse = zOrganization;
|
|
1575
|
+
export const zCreateOrganizationBody = zOrganizationCreateInput;
|
|
1521
1576
|
/**
|
|
1522
|
-
*
|
|
1577
|
+
* Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
|
|
1578
|
+
*
|
|
1523
1579
|
*/
|
|
1524
|
-
export const
|
|
1580
|
+
export const zCreateOrganizationResponse = zOrganizationCreateOutput;
|
|
1525
1581
|
/**
|
|
1526
1582
|
* JSON-RPC 2.0 request payload
|
|
1527
1583
|
*/
|
|
@@ -1550,154 +1606,214 @@ export const zPostMcpResponse = z.object({
|
|
|
1550
1606
|
}).optional()
|
|
1551
1607
|
});
|
|
1552
1608
|
/**
|
|
1553
|
-
*
|
|
1609
|
+
* An array of chart listings in the marketplace.
|
|
1554
1610
|
*/
|
|
1555
|
-
export const
|
|
1556
|
-
export const
|
|
1611
|
+
export const zListMarketplaceChartsResponse = z.array(zMarketplaceListing);
|
|
1612
|
+
export const zGetMarketplaceChartFilesPath = z.object({
|
|
1613
|
+
chart_name: z.string(),
|
|
1614
|
+
version_channel: z.string()
|
|
1615
|
+
});
|
|
1557
1616
|
/**
|
|
1558
|
-
*
|
|
1617
|
+
* Returns an object containing the chart files for the latest matching version.
|
|
1559
1618
|
*/
|
|
1560
|
-
export const
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1619
|
+
export const zGetMarketplaceChartFilesResponse = zMarketplaceListingFiles;
|
|
1620
|
+
/**
|
|
1621
|
+
* An array of invites
|
|
1622
|
+
*/
|
|
1623
|
+
export const zListInvitesResponse = z.array(zInvite);
|
|
1624
|
+
export const zCreateInviteBody = zInviteCreateInput;
|
|
1625
|
+
/**
|
|
1626
|
+
* Successfully created. Returns created invite details.
|
|
1627
|
+
*/
|
|
1628
|
+
export const zCreateInviteResponse = zInvite;
|
|
1629
|
+
export const zGetInvitePath = z.object({
|
|
1630
|
+
code: z.string()
|
|
1564
1631
|
});
|
|
1565
1632
|
/**
|
|
1566
|
-
*
|
|
1633
|
+
* The invitation code is valid. Returns the invited email and organization.
|
|
1567
1634
|
*/
|
|
1568
|
-
export const
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
repository: z.string(),
|
|
1572
|
-
tag: z.string()
|
|
1635
|
+
export const zGetInviteResponse = z.object({
|
|
1636
|
+
email: z.email().optional(),
|
|
1637
|
+
organization_id: z.string().optional()
|
|
1573
1638
|
});
|
|
1574
|
-
export const
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1639
|
+
export const zDeleteInvitePath = z.object({
|
|
1640
|
+
email: z.email()
|
|
1641
|
+
});
|
|
1642
|
+
export const zQueryClusterPath = z.object({
|
|
1643
|
+
cluster_id: z.string()
|
|
1644
|
+
});
|
|
1645
|
+
export const zListFleetsPath = z.object({
|
|
1646
|
+
cluster_id: z.string()
|
|
1578
1647
|
});
|
|
1579
1648
|
/**
|
|
1580
|
-
*
|
|
1649
|
+
* An array of fleets
|
|
1581
1650
|
*/
|
|
1582
|
-
export const
|
|
1651
|
+
export const zListFleetsResponse = z.array(zFleet);
|
|
1652
|
+
export const zCreateFleetBody = zFleetCreateInput;
|
|
1653
|
+
export const zCreateFleetPath = z.object({
|
|
1654
|
+
cluster_id: z.string()
|
|
1655
|
+
});
|
|
1583
1656
|
/**
|
|
1584
|
-
*
|
|
1657
|
+
* Successfully created. Returns created Fleet ID.
|
|
1585
1658
|
*/
|
|
1586
|
-
export const
|
|
1587
|
-
export const
|
|
1588
|
-
|
|
1589
|
-
|
|
1659
|
+
export const zCreateFleetResponse = z.string();
|
|
1660
|
+
export const zDeleteFleetPath = z.object({
|
|
1661
|
+
cluster_id: z.string(),
|
|
1662
|
+
fleet_name: z.string()
|
|
1590
1663
|
});
|
|
1591
1664
|
/**
|
|
1592
|
-
*
|
|
1665
|
+
* Successfully deleted.
|
|
1593
1666
|
*/
|
|
1594
|
-
export const
|
|
1595
|
-
export const
|
|
1596
|
-
|
|
1667
|
+
export const zDeleteFleetResponse = z.string();
|
|
1668
|
+
export const zGetFleetPath = z.object({
|
|
1669
|
+
cluster_id: z.string(),
|
|
1670
|
+
fleet_name: z.string()
|
|
1597
1671
|
});
|
|
1598
1672
|
/**
|
|
1599
|
-
*
|
|
1673
|
+
* Returns a single object containing fleet details.
|
|
1600
1674
|
*/
|
|
1601
|
-
export const
|
|
1602
|
-
export const
|
|
1603
|
-
|
|
1675
|
+
export const zGetFleetResponse = zFleet;
|
|
1676
|
+
export const zUpdateFleetBody = zFleetUpdateInput;
|
|
1677
|
+
export const zUpdateFleetPath = z.object({
|
|
1678
|
+
cluster_id: z.string(),
|
|
1679
|
+
fleet_name: z.string()
|
|
1604
1680
|
});
|
|
1605
1681
|
/**
|
|
1606
|
-
*
|
|
1682
|
+
* Successfully updated.
|
|
1607
1683
|
*/
|
|
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()
|
|
1684
|
+
export const zUpdateFleetResponse = z.string();
|
|
1685
|
+
export const zListChartsPath = z.object({
|
|
1686
|
+
cluster_id: z.string()
|
|
1615
1687
|
});
|
|
1616
1688
|
/**
|
|
1617
|
-
*
|
|
1689
|
+
* An array of charts
|
|
1618
1690
|
*/
|
|
1619
|
-
export const
|
|
1620
|
-
export const
|
|
1621
|
-
|
|
1622
|
-
|
|
1691
|
+
export const zListChartsResponse = z.array(zChart);
|
|
1692
|
+
export const zCreateChartBody = zChartCreateInput;
|
|
1693
|
+
export const zCreateChartPath = z.object({
|
|
1694
|
+
cluster_id: z.string()
|
|
1623
1695
|
});
|
|
1624
1696
|
/**
|
|
1625
|
-
*
|
|
1697
|
+
* Successfully created. Returns created Chart ID.
|
|
1626
1698
|
*/
|
|
1627
|
-
export const
|
|
1699
|
+
export const zCreateChartResponse = z.string();
|
|
1700
|
+
export const zDeleteChartPath = z.object({
|
|
1701
|
+
cluster_id: z.string(),
|
|
1702
|
+
chart_name: z.string()
|
|
1703
|
+
});
|
|
1628
1704
|
/**
|
|
1629
|
-
*
|
|
1705
|
+
* Successfully deleted.
|
|
1630
1706
|
*/
|
|
1631
|
-
export const
|
|
1632
|
-
export const
|
|
1707
|
+
export const zDeleteChartResponse = z.string();
|
|
1708
|
+
export const zGetChartPath = z.object({
|
|
1709
|
+
cluster_id: z.string(),
|
|
1710
|
+
chart_name: z.string()
|
|
1711
|
+
});
|
|
1633
1712
|
/**
|
|
1634
|
-
*
|
|
1713
|
+
* Returns a single object containing chart details.
|
|
1635
1714
|
*/
|
|
1636
|
-
export const
|
|
1637
|
-
export const
|
|
1638
|
-
|
|
1715
|
+
export const zGetChartResponse = zChart;
|
|
1716
|
+
export const zUpdateChartBody = zChartUpdateInput;
|
|
1717
|
+
export const zUpdateChartPath = z.object({
|
|
1718
|
+
cluster_id: z.string(),
|
|
1719
|
+
chart_name: z.string()
|
|
1639
1720
|
});
|
|
1640
|
-
|
|
1641
|
-
|
|
1721
|
+
/**
|
|
1722
|
+
* Successfully updated.
|
|
1723
|
+
*/
|
|
1724
|
+
export const zUpdateChartResponse = z.string();
|
|
1725
|
+
/**
|
|
1726
|
+
* An array of clusters
|
|
1727
|
+
*/
|
|
1728
|
+
export const zListClustersResponse = z.array(zCluster);
|
|
1729
|
+
export const zCreateClusterBody = zClusterCreateInput;
|
|
1730
|
+
/**
|
|
1731
|
+
* Successfully created. Returns created Cluster ID.
|
|
1732
|
+
*/
|
|
1733
|
+
export const zCreateClusterResponse = z.string();
|
|
1734
|
+
export const zDeleteClusterPath = z.object({
|
|
1735
|
+
cluster_id: z.string()
|
|
1642
1736
|
});
|
|
1643
1737
|
/**
|
|
1644
|
-
*
|
|
1738
|
+
* Successfully deleted. The cluster has been torn down.
|
|
1645
1739
|
*/
|
|
1646
|
-
export const
|
|
1647
|
-
export const
|
|
1648
|
-
|
|
1649
|
-
token_id: z.string()
|
|
1740
|
+
export const zDeleteClusterResponse = z.string();
|
|
1741
|
+
export const zGetClusterPath = z.object({
|
|
1742
|
+
cluster_id: z.string()
|
|
1650
1743
|
});
|
|
1651
1744
|
/**
|
|
1652
|
-
*
|
|
1745
|
+
* Returns a single object containing cluster details.
|
|
1653
1746
|
*/
|
|
1654
|
-
export const
|
|
1655
|
-
export const
|
|
1656
|
-
|
|
1747
|
+
export const zGetClusterResponse = zCluster;
|
|
1748
|
+
export const zUpdateClusterBody = zClusterUpdateInput;
|
|
1749
|
+
export const zUpdateClusterPath = z.object({
|
|
1750
|
+
cluster_id: z.string()
|
|
1657
1751
|
});
|
|
1658
1752
|
/**
|
|
1659
|
-
* Successfully updated. Returns updated
|
|
1753
|
+
* Successfully updated. Returns updated cluster details.
|
|
1660
1754
|
*/
|
|
1661
|
-
export const
|
|
1662
|
-
export const
|
|
1663
|
-
|
|
1755
|
+
export const zUpdateClusterResponse = zCluster;
|
|
1756
|
+
export const zGetJoinInformationPath = z.object({
|
|
1757
|
+
cluster_id: z.string()
|
|
1664
1758
|
});
|
|
1665
1759
|
/**
|
|
1666
|
-
* An
|
|
1760
|
+
* An object of cluster join information
|
|
1667
1761
|
*/
|
|
1668
|
-
export const
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1762
|
+
export const zGetJoinInformationResponse = zClusterJoinInformation;
|
|
1763
|
+
export const zGetUsageQuery = z.object({
|
|
1764
|
+
granularity: z.enum([
|
|
1765
|
+
'hourly',
|
|
1766
|
+
'daily',
|
|
1767
|
+
'monthly'
|
|
1768
|
+
]).optional().default('daily')
|
|
1769
|
+
});
|
|
1672
1770
|
/**
|
|
1673
|
-
*
|
|
1771
|
+
* Usage data with facets for filtering
|
|
1674
1772
|
*/
|
|
1675
|
-
export const
|
|
1676
|
-
export const zCreateUserBody = zUserCreateInput;
|
|
1773
|
+
export const zGetUsageResponse = zUsageResponse;
|
|
1677
1774
|
/**
|
|
1678
|
-
*
|
|
1775
|
+
* 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.
|
|
1776
|
+
*
|
|
1679
1777
|
*/
|
|
1680
|
-
export const
|
|
1681
|
-
|
|
1682
|
-
user_id: z.string()
|
|
1778
|
+
export const zGetPaymentMethodSecretResponse = z.object({
|
|
1779
|
+
id: z.string().optional()
|
|
1683
1780
|
});
|
|
1684
1781
|
/**
|
|
1685
|
-
*
|
|
1782
|
+
* An array of payment methods.
|
|
1686
1783
|
*/
|
|
1687
|
-
export const
|
|
1688
|
-
export const
|
|
1689
|
-
|
|
1784
|
+
export const zListPaymentMethodsResponse = z.array(zPaymentMethod);
|
|
1785
|
+
export const zSetDefaultPaymentMethodPath = z.object({
|
|
1786
|
+
paymentMethodId: z.string()
|
|
1690
1787
|
});
|
|
1691
1788
|
/**
|
|
1692
|
-
*
|
|
1789
|
+
* Default payment method updated.
|
|
1693
1790
|
*/
|
|
1694
|
-
export const
|
|
1695
|
-
export const
|
|
1696
|
-
|
|
1697
|
-
user_id: z.string()
|
|
1791
|
+
export const zSetDefaultPaymentMethodResponse = z.void();
|
|
1792
|
+
export const zDeletePaymentMethodPath = z.object({
|
|
1793
|
+
paymentMethodId: z.string()
|
|
1698
1794
|
});
|
|
1699
1795
|
/**
|
|
1700
|
-
*
|
|
1796
|
+
* Payment method deleted.
|
|
1701
1797
|
*/
|
|
1702
|
-
export const
|
|
1798
|
+
export const zDeletePaymentMethodResponse = z.void();
|
|
1799
|
+
/**
|
|
1800
|
+
* An array of usage records.
|
|
1801
|
+
*/
|
|
1802
|
+
export const zListInvoicesResponse = z.array(zInvoice);
|
|
1803
|
+
/**
|
|
1804
|
+
* Returns a single object containing organization contact and billing address details.
|
|
1805
|
+
*/
|
|
1806
|
+
export const zGetContactResponse = zBillingContact;
|
|
1807
|
+
export const zUpdateContactBody = zBillingContact;
|
|
1808
|
+
/**
|
|
1809
|
+
* Successfully updated. Returns updated organization details.
|
|
1810
|
+
*/
|
|
1811
|
+
export const zUpdateContactResponse = zBillingContact;
|
|
1812
|
+
/**
|
|
1813
|
+
* An array of the applied promotional credits records.
|
|
1814
|
+
*/
|
|
1815
|
+
export const zGetCreditsResponse = z.array(zBillingCredits);
|
|
1816
|
+
export const zRedeemCreditsBody = z.object({
|
|
1817
|
+
code: z.string().optional()
|
|
1818
|
+
});
|
|
1703
1819
|
//# sourceMappingURL=zod.gen.js.map
|