@cloudfleet/sdk 0.0.1-28564af → 0.0.1-2b3a210
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 +489 -588
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/@tanstack/react-query.gen.js +447 -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 +759 -252
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +1668 -351
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +243 -214
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +347 -312
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +1256 -805
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +3383 -1444
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +1234 -359
- package/dist/zod.gen.js.map +1 -1
- package/package.json +10 -13
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,27 +177,57 @@ 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(),
|
|
230
|
+
login_server: z.string(),
|
|
215
231
|
bootstrap_token: z.string(),
|
|
216
232
|
versions: z.object({
|
|
217
233
|
kubernetes: z.string(),
|
|
@@ -225,100 +241,927 @@ export const zClusterJoinInformation = z.object({
|
|
|
225
241
|
gcp_workload_identity_provider: z.string()
|
|
226
242
|
})
|
|
227
243
|
});
|
|
244
|
+
/**
|
|
245
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
246
|
+
*/
|
|
228
247
|
export const zCluster = z.object({
|
|
229
248
|
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
|
-
|
|
249
|
+
tier: z.enum([
|
|
250
|
+
'basic',
|
|
251
|
+
'pro',
|
|
252
|
+
'enterprise'
|
|
253
|
+
]).default('basic'),
|
|
254
|
+
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'),
|
|
255
|
+
release_channel: z.enum([
|
|
256
|
+
'rapid',
|
|
257
|
+
'stable',
|
|
258
|
+
'extended'
|
|
259
|
+
]).default('rapid'),
|
|
260
|
+
features: z.object({
|
|
261
|
+
gpu_sharing_strategy: z.enum([
|
|
262
|
+
'none',
|
|
263
|
+
'mps',
|
|
264
|
+
'time_slicing'
|
|
265
|
+
]).default('none'),
|
|
266
|
+
gpu_max_shared_clients_per_gpu: z.int().gte(2).lte(48).default(4),
|
|
267
|
+
cilium_socket_lb_host_namespace_only: z.boolean()
|
|
268
|
+
}).default({
|
|
269
|
+
gpu_sharing_strategy: 'none',
|
|
270
|
+
gpu_max_shared_clients_per_gpu: 4,
|
|
271
|
+
cilium_socket_lb_host_namespace_only: false
|
|
272
|
+
}),
|
|
273
|
+
region: z.string(),
|
|
274
|
+
networking: z.object({
|
|
275
|
+
pod_cidr: z.string().default('10.244.0.0/16'),
|
|
276
|
+
service_cidr: z.string().default('10.96.0.0/12'),
|
|
277
|
+
dual_stack: z.boolean(),
|
|
278
|
+
pod_cidr_v6: z.string().default('2001:db8:1:2::/48'),
|
|
279
|
+
service_cidr_v6: z.string().default('2001:db8:1:1::/112')
|
|
280
|
+
}).default({
|
|
281
|
+
pod_cidr: '10.244.0.0/16',
|
|
282
|
+
service_cidr: '10.96.0.0/12',
|
|
283
|
+
dual_stack: false,
|
|
284
|
+
pod_cidr_v6: '2001:db8:1:2::/48',
|
|
285
|
+
service_cidr_v6: '2001:db8:1:1::/112'
|
|
286
|
+
}),
|
|
237
287
|
id: z.uuid(),
|
|
238
288
|
status: z.enum([
|
|
239
|
-
'active',
|
|
240
|
-
'disabled',
|
|
241
|
-
'deleted',
|
|
242
289
|
'creating',
|
|
243
290
|
'deployed',
|
|
244
|
-
'
|
|
245
|
-
'
|
|
291
|
+
'updating',
|
|
292
|
+
'disabled'
|
|
246
293
|
]),
|
|
247
294
|
endpoint: z.union([
|
|
248
295
|
z.url(),
|
|
249
296
|
z.enum([''])
|
|
250
297
|
]).optional(),
|
|
298
|
+
endpoint_public: z.union([
|
|
299
|
+
z.url(),
|
|
300
|
+
z.enum([''])
|
|
301
|
+
]).optional(),
|
|
251
302
|
certificate_ca: z.string().optional(),
|
|
252
303
|
version_current: z.string().optional(),
|
|
253
304
|
created_at: z.string().optional(),
|
|
254
305
|
updated_at: z.string().optional(),
|
|
255
|
-
ready: z.boolean()
|
|
256
|
-
version_channel: z.string().regex(/^(x|X|0|[1-9]\d*)\.(x|X|0|[1-9]\d*)\.(x|X|0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/).optional()
|
|
306
|
+
ready: z.boolean()
|
|
257
307
|
});
|
|
308
|
+
/**
|
|
309
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
310
|
+
*/
|
|
258
311
|
export const zClusterUpdateInput = z.object({
|
|
259
|
-
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
|
|
260
|
-
tier: z.enum([
|
|
261
|
-
|
|
312
|
+
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
313
|
+
tier: z.enum([
|
|
314
|
+
'basic',
|
|
315
|
+
'pro',
|
|
316
|
+
'enterprise'
|
|
317
|
+
]).optional().default('basic'),
|
|
318
|
+
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'),
|
|
319
|
+
release_channel: z.enum([
|
|
320
|
+
'rapid',
|
|
321
|
+
'stable',
|
|
322
|
+
'extended'
|
|
323
|
+
]).optional().default('rapid'),
|
|
324
|
+
features: z.object({
|
|
325
|
+
gpu_sharing_strategy: z.enum([
|
|
326
|
+
'none',
|
|
327
|
+
'mps',
|
|
328
|
+
'time_slicing'
|
|
329
|
+
]).optional().default('none'),
|
|
330
|
+
gpu_max_shared_clients_per_gpu: z.int().gte(2).lte(48).optional().default(4),
|
|
331
|
+
cilium_socket_lb_host_namespace_only: z.boolean().optional()
|
|
332
|
+
}).optional().default({
|
|
333
|
+
gpu_sharing_strategy: 'none',
|
|
334
|
+
gpu_max_shared_clients_per_gpu: 4,
|
|
335
|
+
cilium_socket_lb_host_namespace_only: false
|
|
336
|
+
})
|
|
262
337
|
});
|
|
338
|
+
/**
|
|
339
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
340
|
+
*/
|
|
263
341
|
export const zFleetCreateInput = z.object({
|
|
264
342
|
limits: z.object({
|
|
265
|
-
cpu: z.
|
|
343
|
+
cpu: z.int().gte(0).lte(100000).optional()
|
|
266
344
|
}).optional(),
|
|
267
345
|
gcp: z.object({
|
|
268
|
-
enabled: z.boolean()
|
|
269
|
-
project: z.string()
|
|
346
|
+
enabled: z.boolean(),
|
|
347
|
+
project: z.string().regex(/^[a-z][a-z0-9-]{4,28}[a-z0-9]$/).optional()
|
|
270
348
|
}).optional(),
|
|
271
349
|
hetzner: z.object({
|
|
272
|
-
enabled: z.boolean()
|
|
273
|
-
apiKey: z.string()
|
|
350
|
+
enabled: z.boolean(),
|
|
351
|
+
apiKey: z.string().length(64).regex(/^([A-Za-z0-9]{64}|\*{64})$/).optional()
|
|
274
352
|
}).optional(),
|
|
275
353
|
aws: z.object({
|
|
276
|
-
enabled: z.boolean()
|
|
277
|
-
controllerRoleArn: z.string()
|
|
354
|
+
enabled: z.boolean(),
|
|
355
|
+
controllerRoleArn: z.string().regex(/^arn:aws(-[a-z]+)*:iam::\d{12}:role\/[\w+=,.@\/-]+$/).optional()
|
|
278
356
|
}).optional(),
|
|
357
|
+
constraints: z.object({
|
|
358
|
+
'karpenter.sh/capacity-type': z.array(z.enum(['on-demand', 'spot'])).min(1).optional().default(['on-demand', 'spot']),
|
|
359
|
+
'kubernetes.io/arch': z.array(z.enum(['amd64', 'arm64'])).min(1).optional().default(['amd64']),
|
|
360
|
+
'cfke.io/instance-family': z.array(z.enum([
|
|
361
|
+
'a1',
|
|
362
|
+
'a2',
|
|
363
|
+
'a3',
|
|
364
|
+
'a4',
|
|
365
|
+
'c1',
|
|
366
|
+
'c2',
|
|
367
|
+
'c2d',
|
|
368
|
+
'c3',
|
|
369
|
+
'c3d',
|
|
370
|
+
'c4',
|
|
371
|
+
'c4a',
|
|
372
|
+
'c4d',
|
|
373
|
+
'c5',
|
|
374
|
+
'c5a',
|
|
375
|
+
'c5ad',
|
|
376
|
+
'c5d',
|
|
377
|
+
'c5n',
|
|
378
|
+
'c6a',
|
|
379
|
+
'c6g',
|
|
380
|
+
'c6gd',
|
|
381
|
+
'c6gn',
|
|
382
|
+
'c6i',
|
|
383
|
+
'c6id',
|
|
384
|
+
'c6in',
|
|
385
|
+
'c7a',
|
|
386
|
+
'c7g',
|
|
387
|
+
'c7gd',
|
|
388
|
+
'c7gn',
|
|
389
|
+
'c7i',
|
|
390
|
+
'c7i-flex',
|
|
391
|
+
'c8g',
|
|
392
|
+
'c8gd',
|
|
393
|
+
'cax',
|
|
394
|
+
'ccx',
|
|
395
|
+
'cpx',
|
|
396
|
+
'cx',
|
|
397
|
+
'd2',
|
|
398
|
+
'd3',
|
|
399
|
+
'd3en',
|
|
400
|
+
'dl1',
|
|
401
|
+
'dl2q',
|
|
402
|
+
'e2',
|
|
403
|
+
'f1',
|
|
404
|
+
'f2',
|
|
405
|
+
'g1',
|
|
406
|
+
'g2',
|
|
407
|
+
'g4ad',
|
|
408
|
+
'g4dn',
|
|
409
|
+
'g5',
|
|
410
|
+
'g5g',
|
|
411
|
+
'g6',
|
|
412
|
+
'g6e',
|
|
413
|
+
'gr6',
|
|
414
|
+
'h1',
|
|
415
|
+
'h3',
|
|
416
|
+
'hpc6a',
|
|
417
|
+
'hpc6id',
|
|
418
|
+
'hpc7a',
|
|
419
|
+
'hpc7g',
|
|
420
|
+
'i2',
|
|
421
|
+
'i3',
|
|
422
|
+
'i3en',
|
|
423
|
+
'i4g',
|
|
424
|
+
'i4i',
|
|
425
|
+
'i7i',
|
|
426
|
+
'i7ie',
|
|
427
|
+
'i8g',
|
|
428
|
+
'im4gn',
|
|
429
|
+
'inf1',
|
|
430
|
+
'inf2',
|
|
431
|
+
'is4gen',
|
|
432
|
+
'm1',
|
|
433
|
+
'm2',
|
|
434
|
+
'm3',
|
|
435
|
+
'm4',
|
|
436
|
+
'm5',
|
|
437
|
+
'm5a',
|
|
438
|
+
'm5ad',
|
|
439
|
+
'm5d',
|
|
440
|
+
'm5dn',
|
|
441
|
+
'm5n',
|
|
442
|
+
'm5zn',
|
|
443
|
+
'm6a',
|
|
444
|
+
'm6g',
|
|
445
|
+
'm6gd',
|
|
446
|
+
'm6i',
|
|
447
|
+
'm6id',
|
|
448
|
+
'm6idn',
|
|
449
|
+
'm6in',
|
|
450
|
+
'm7a',
|
|
451
|
+
'm7g',
|
|
452
|
+
'm7gd',
|
|
453
|
+
'm7i',
|
|
454
|
+
'm7i-flex',
|
|
455
|
+
'm8g',
|
|
456
|
+
'm8gd',
|
|
457
|
+
'n1',
|
|
458
|
+
'n2',
|
|
459
|
+
'n2d',
|
|
460
|
+
'n4',
|
|
461
|
+
'p3',
|
|
462
|
+
'p3dn',
|
|
463
|
+
'p4d',
|
|
464
|
+
'p4de',
|
|
465
|
+
'p5',
|
|
466
|
+
'p5e',
|
|
467
|
+
'p5en',
|
|
468
|
+
'p6-b200',
|
|
469
|
+
'r3',
|
|
470
|
+
'r4',
|
|
471
|
+
'r5',
|
|
472
|
+
'r5a',
|
|
473
|
+
'r5ad',
|
|
474
|
+
'r5b',
|
|
475
|
+
'r5d',
|
|
476
|
+
'r5dn',
|
|
477
|
+
'r5n',
|
|
478
|
+
'r6a',
|
|
479
|
+
'r6g',
|
|
480
|
+
'r6gd',
|
|
481
|
+
'r6i',
|
|
482
|
+
'r6id',
|
|
483
|
+
'r6idn',
|
|
484
|
+
'r6in',
|
|
485
|
+
'r7a',
|
|
486
|
+
'r7g',
|
|
487
|
+
'r7gd',
|
|
488
|
+
'r7i',
|
|
489
|
+
'r7iz',
|
|
490
|
+
'r8g',
|
|
491
|
+
'r8gd',
|
|
492
|
+
't2',
|
|
493
|
+
't2a',
|
|
494
|
+
't2d',
|
|
495
|
+
't3',
|
|
496
|
+
't3a',
|
|
497
|
+
't4g',
|
|
498
|
+
'trn1',
|
|
499
|
+
'trn1n',
|
|
500
|
+
'u-3tb1',
|
|
501
|
+
'u-6tb1',
|
|
502
|
+
'u7i-12tb',
|
|
503
|
+
'u7i-6tb',
|
|
504
|
+
'u7i-8tb',
|
|
505
|
+
'u7in-16tb',
|
|
506
|
+
'u7in-24tb',
|
|
507
|
+
'u7in-32tb',
|
|
508
|
+
'vt1',
|
|
509
|
+
'x1',
|
|
510
|
+
'x1e',
|
|
511
|
+
'x2gd',
|
|
512
|
+
'x2idn',
|
|
513
|
+
'x2iedn',
|
|
514
|
+
'x2iezn',
|
|
515
|
+
'x4',
|
|
516
|
+
'x8g',
|
|
517
|
+
'z1d',
|
|
518
|
+
'z3'
|
|
519
|
+
])).optional().default([]),
|
|
520
|
+
'topology.kubernetes.io/region': z.array(z.enum([
|
|
521
|
+
'africa-south1',
|
|
522
|
+
'ap-northeast-1',
|
|
523
|
+
'ap-northeast-2',
|
|
524
|
+
'ap-northeast-3',
|
|
525
|
+
'ap-south-1',
|
|
526
|
+
'ap-southeast-1',
|
|
527
|
+
'ap-southeast-2',
|
|
528
|
+
'ash',
|
|
529
|
+
'asia-east1',
|
|
530
|
+
'asia-east2',
|
|
531
|
+
'asia-northeast1',
|
|
532
|
+
'asia-northeast2',
|
|
533
|
+
'asia-northeast3',
|
|
534
|
+
'asia-south1',
|
|
535
|
+
'asia-south2',
|
|
536
|
+
'asia-southeast1',
|
|
537
|
+
'asia-southeast2',
|
|
538
|
+
'australia-southeast1',
|
|
539
|
+
'australia-southeast2',
|
|
540
|
+
'ca-central-1',
|
|
541
|
+
'eu-central-1',
|
|
542
|
+
'eu-central-2',
|
|
543
|
+
'eu-north-1',
|
|
544
|
+
'eu-west-1',
|
|
545
|
+
'eu-west-2',
|
|
546
|
+
'eu-west-3',
|
|
547
|
+
'europe-central2',
|
|
548
|
+
'europe-north1',
|
|
549
|
+
'europe-southwest1',
|
|
550
|
+
'europe-west1',
|
|
551
|
+
'europe-west10',
|
|
552
|
+
'europe-west12',
|
|
553
|
+
'europe-west2',
|
|
554
|
+
'europe-west3',
|
|
555
|
+
'europe-west4',
|
|
556
|
+
'europe-west6',
|
|
557
|
+
'europe-west8',
|
|
558
|
+
'europe-west9',
|
|
559
|
+
'fsn1',
|
|
560
|
+
'hel1',
|
|
561
|
+
'hil',
|
|
562
|
+
'me-central1',
|
|
563
|
+
'me-central2',
|
|
564
|
+
'me-west1',
|
|
565
|
+
'nbg1',
|
|
566
|
+
'northamerica-northeast1',
|
|
567
|
+
'northamerica-northeast2',
|
|
568
|
+
'sa-east-1',
|
|
569
|
+
'sin',
|
|
570
|
+
'southamerica-east1',
|
|
571
|
+
'southamerica-west1',
|
|
572
|
+
'us-central1',
|
|
573
|
+
'us-east-1',
|
|
574
|
+
'us-east-2',
|
|
575
|
+
'us-east1',
|
|
576
|
+
'us-east4',
|
|
577
|
+
'us-east5',
|
|
578
|
+
'us-south1',
|
|
579
|
+
'us-west-1',
|
|
580
|
+
'us-west-2',
|
|
581
|
+
'us-west1',
|
|
582
|
+
'us-west2',
|
|
583
|
+
'us-west3',
|
|
584
|
+
'us-west4'
|
|
585
|
+
])).optional().default([])
|
|
586
|
+
}).optional().default({
|
|
587
|
+
'karpenter.sh/capacity-type': ['on-demand', 'spot'],
|
|
588
|
+
'kubernetes.io/arch': ['amd64'],
|
|
589
|
+
'cfke.io/instance-family': [],
|
|
590
|
+
'topology.kubernetes.io/region': []
|
|
591
|
+
}),
|
|
592
|
+
scalingProfile: z.enum(['aggressive', 'conservative']).optional().default('conservative'),
|
|
279
593
|
id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
|
|
280
594
|
});
|
|
595
|
+
/**
|
|
596
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
597
|
+
*/
|
|
281
598
|
export const zFleet = z.object({
|
|
282
599
|
limits: z.object({
|
|
283
|
-
cpu: z.
|
|
600
|
+
cpu: z.int().gte(0).lte(100000).optional()
|
|
284
601
|
}).optional(),
|
|
285
602
|
gcp: z.object({
|
|
286
|
-
enabled: z.boolean()
|
|
287
|
-
project: z.string()
|
|
603
|
+
enabled: z.boolean(),
|
|
604
|
+
project: z.string().regex(/^[a-z][a-z0-9-]{4,28}[a-z0-9]$/).optional()
|
|
288
605
|
}).optional(),
|
|
289
606
|
hetzner: z.object({
|
|
290
|
-
enabled: z.boolean()
|
|
291
|
-
apiKey: z.string()
|
|
607
|
+
enabled: z.boolean(),
|
|
608
|
+
apiKey: z.string().regex(/^\*{64}$/).optional()
|
|
292
609
|
}).optional(),
|
|
293
610
|
aws: z.object({
|
|
294
|
-
enabled: z.boolean()
|
|
295
|
-
controllerRoleArn: z.string()
|
|
611
|
+
enabled: z.boolean(),
|
|
612
|
+
controllerRoleArn: z.string().regex(/^arn:aws(-[a-z]+)*:iam::\d{12}:role\/[\w+=,.@\/-]+$/).optional()
|
|
296
613
|
}).optional(),
|
|
297
|
-
|
|
614
|
+
constraints: z.object({
|
|
615
|
+
'karpenter.sh/capacity-type': z.array(z.enum(['on-demand', 'spot'])).min(1).default(['on-demand', 'spot']),
|
|
616
|
+
'kubernetes.io/arch': z.array(z.enum(['amd64', 'arm64'])).min(1).default(['amd64']),
|
|
617
|
+
'cfke.io/instance-family': z.array(z.enum([
|
|
618
|
+
'a1',
|
|
619
|
+
'a2',
|
|
620
|
+
'a3',
|
|
621
|
+
'a4',
|
|
622
|
+
'c1',
|
|
623
|
+
'c2',
|
|
624
|
+
'c2d',
|
|
625
|
+
'c3',
|
|
626
|
+
'c3d',
|
|
627
|
+
'c4',
|
|
628
|
+
'c4a',
|
|
629
|
+
'c4d',
|
|
630
|
+
'c5',
|
|
631
|
+
'c5a',
|
|
632
|
+
'c5ad',
|
|
633
|
+
'c5d',
|
|
634
|
+
'c5n',
|
|
635
|
+
'c6a',
|
|
636
|
+
'c6g',
|
|
637
|
+
'c6gd',
|
|
638
|
+
'c6gn',
|
|
639
|
+
'c6i',
|
|
640
|
+
'c6id',
|
|
641
|
+
'c6in',
|
|
642
|
+
'c7a',
|
|
643
|
+
'c7g',
|
|
644
|
+
'c7gd',
|
|
645
|
+
'c7gn',
|
|
646
|
+
'c7i',
|
|
647
|
+
'c7i-flex',
|
|
648
|
+
'c8g',
|
|
649
|
+
'c8gd',
|
|
650
|
+
'cax',
|
|
651
|
+
'ccx',
|
|
652
|
+
'cpx',
|
|
653
|
+
'cx',
|
|
654
|
+
'd2',
|
|
655
|
+
'd3',
|
|
656
|
+
'd3en',
|
|
657
|
+
'dl1',
|
|
658
|
+
'dl2q',
|
|
659
|
+
'e2',
|
|
660
|
+
'f1',
|
|
661
|
+
'f2',
|
|
662
|
+
'g1',
|
|
663
|
+
'g2',
|
|
664
|
+
'g4ad',
|
|
665
|
+
'g4dn',
|
|
666
|
+
'g5',
|
|
667
|
+
'g5g',
|
|
668
|
+
'g6',
|
|
669
|
+
'g6e',
|
|
670
|
+
'gr6',
|
|
671
|
+
'h1',
|
|
672
|
+
'h3',
|
|
673
|
+
'hpc6a',
|
|
674
|
+
'hpc6id',
|
|
675
|
+
'hpc7a',
|
|
676
|
+
'hpc7g',
|
|
677
|
+
'i2',
|
|
678
|
+
'i3',
|
|
679
|
+
'i3en',
|
|
680
|
+
'i4g',
|
|
681
|
+
'i4i',
|
|
682
|
+
'i7i',
|
|
683
|
+
'i7ie',
|
|
684
|
+
'i8g',
|
|
685
|
+
'im4gn',
|
|
686
|
+
'inf1',
|
|
687
|
+
'inf2',
|
|
688
|
+
'is4gen',
|
|
689
|
+
'm1',
|
|
690
|
+
'm2',
|
|
691
|
+
'm3',
|
|
692
|
+
'm4',
|
|
693
|
+
'm5',
|
|
694
|
+
'm5a',
|
|
695
|
+
'm5ad',
|
|
696
|
+
'm5d',
|
|
697
|
+
'm5dn',
|
|
698
|
+
'm5n',
|
|
699
|
+
'm5zn',
|
|
700
|
+
'm6a',
|
|
701
|
+
'm6g',
|
|
702
|
+
'm6gd',
|
|
703
|
+
'm6i',
|
|
704
|
+
'm6id',
|
|
705
|
+
'm6idn',
|
|
706
|
+
'm6in',
|
|
707
|
+
'm7a',
|
|
708
|
+
'm7g',
|
|
709
|
+
'm7gd',
|
|
710
|
+
'm7i',
|
|
711
|
+
'm7i-flex',
|
|
712
|
+
'm8g',
|
|
713
|
+
'm8gd',
|
|
714
|
+
'n1',
|
|
715
|
+
'n2',
|
|
716
|
+
'n2d',
|
|
717
|
+
'n4',
|
|
718
|
+
'p3',
|
|
719
|
+
'p3dn',
|
|
720
|
+
'p4d',
|
|
721
|
+
'p4de',
|
|
722
|
+
'p5',
|
|
723
|
+
'p5e',
|
|
724
|
+
'p5en',
|
|
725
|
+
'p6-b200',
|
|
726
|
+
'r3',
|
|
727
|
+
'r4',
|
|
728
|
+
'r5',
|
|
729
|
+
'r5a',
|
|
730
|
+
'r5ad',
|
|
731
|
+
'r5b',
|
|
732
|
+
'r5d',
|
|
733
|
+
'r5dn',
|
|
734
|
+
'r5n',
|
|
735
|
+
'r6a',
|
|
736
|
+
'r6g',
|
|
737
|
+
'r6gd',
|
|
738
|
+
'r6i',
|
|
739
|
+
'r6id',
|
|
740
|
+
'r6idn',
|
|
741
|
+
'r6in',
|
|
742
|
+
'r7a',
|
|
743
|
+
'r7g',
|
|
744
|
+
'r7gd',
|
|
745
|
+
'r7i',
|
|
746
|
+
'r7iz',
|
|
747
|
+
'r8g',
|
|
748
|
+
'r8gd',
|
|
749
|
+
't2',
|
|
750
|
+
't2a',
|
|
751
|
+
't2d',
|
|
752
|
+
't3',
|
|
753
|
+
't3a',
|
|
754
|
+
't4g',
|
|
755
|
+
'trn1',
|
|
756
|
+
'trn1n',
|
|
757
|
+
'u-3tb1',
|
|
758
|
+
'u-6tb1',
|
|
759
|
+
'u7i-12tb',
|
|
760
|
+
'u7i-6tb',
|
|
761
|
+
'u7i-8tb',
|
|
762
|
+
'u7in-16tb',
|
|
763
|
+
'u7in-24tb',
|
|
764
|
+
'u7in-32tb',
|
|
765
|
+
'vt1',
|
|
766
|
+
'x1',
|
|
767
|
+
'x1e',
|
|
768
|
+
'x2gd',
|
|
769
|
+
'x2idn',
|
|
770
|
+
'x2iedn',
|
|
771
|
+
'x2iezn',
|
|
772
|
+
'x4',
|
|
773
|
+
'x8g',
|
|
774
|
+
'z1d',
|
|
775
|
+
'z3'
|
|
776
|
+
])).optional().default([]),
|
|
777
|
+
'topology.kubernetes.io/region': z.array(z.enum([
|
|
778
|
+
'africa-south1',
|
|
779
|
+
'ap-northeast-1',
|
|
780
|
+
'ap-northeast-2',
|
|
781
|
+
'ap-northeast-3',
|
|
782
|
+
'ap-south-1',
|
|
783
|
+
'ap-southeast-1',
|
|
784
|
+
'ap-southeast-2',
|
|
785
|
+
'ash',
|
|
786
|
+
'asia-east1',
|
|
787
|
+
'asia-east2',
|
|
788
|
+
'asia-northeast1',
|
|
789
|
+
'asia-northeast2',
|
|
790
|
+
'asia-northeast3',
|
|
791
|
+
'asia-south1',
|
|
792
|
+
'asia-south2',
|
|
793
|
+
'asia-southeast1',
|
|
794
|
+
'asia-southeast2',
|
|
795
|
+
'australia-southeast1',
|
|
796
|
+
'australia-southeast2',
|
|
797
|
+
'ca-central-1',
|
|
798
|
+
'eu-central-1',
|
|
799
|
+
'eu-central-2',
|
|
800
|
+
'eu-north-1',
|
|
801
|
+
'eu-west-1',
|
|
802
|
+
'eu-west-2',
|
|
803
|
+
'eu-west-3',
|
|
804
|
+
'europe-central2',
|
|
805
|
+
'europe-north1',
|
|
806
|
+
'europe-southwest1',
|
|
807
|
+
'europe-west1',
|
|
808
|
+
'europe-west10',
|
|
809
|
+
'europe-west12',
|
|
810
|
+
'europe-west2',
|
|
811
|
+
'europe-west3',
|
|
812
|
+
'europe-west4',
|
|
813
|
+
'europe-west6',
|
|
814
|
+
'europe-west8',
|
|
815
|
+
'europe-west9',
|
|
816
|
+
'fsn1',
|
|
817
|
+
'hel1',
|
|
818
|
+
'hil',
|
|
819
|
+
'me-central1',
|
|
820
|
+
'me-central2',
|
|
821
|
+
'me-west1',
|
|
822
|
+
'nbg1',
|
|
823
|
+
'northamerica-northeast1',
|
|
824
|
+
'northamerica-northeast2',
|
|
825
|
+
'sa-east-1',
|
|
826
|
+
'sin',
|
|
827
|
+
'southamerica-east1',
|
|
828
|
+
'southamerica-west1',
|
|
829
|
+
'us-central1',
|
|
830
|
+
'us-east-1',
|
|
831
|
+
'us-east-2',
|
|
832
|
+
'us-east1',
|
|
833
|
+
'us-east4',
|
|
834
|
+
'us-east5',
|
|
835
|
+
'us-south1',
|
|
836
|
+
'us-west-1',
|
|
837
|
+
'us-west-2',
|
|
838
|
+
'us-west1',
|
|
839
|
+
'us-west2',
|
|
840
|
+
'us-west3',
|
|
841
|
+
'us-west4'
|
|
842
|
+
])).optional().default([])
|
|
843
|
+
}).default({
|
|
844
|
+
'karpenter.sh/capacity-type': ['on-demand', 'spot'],
|
|
845
|
+
'kubernetes.io/arch': ['amd64'],
|
|
846
|
+
'cfke.io/instance-family': [],
|
|
847
|
+
'topology.kubernetes.io/region': []
|
|
848
|
+
}),
|
|
849
|
+
scalingProfile: z.enum(['aggressive', 'conservative']).default('conservative'),
|
|
850
|
+
id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
851
|
+
ready: z.boolean(),
|
|
852
|
+
status_message: z.string().optional(),
|
|
853
|
+
created_at: z.string(),
|
|
854
|
+
updated_at: z.string()
|
|
298
855
|
});
|
|
856
|
+
/**
|
|
857
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
858
|
+
*/
|
|
299
859
|
export const zFleetUpdateInput = z.object({
|
|
300
860
|
limits: z.object({
|
|
301
|
-
cpu: z.
|
|
861
|
+
cpu: z.int().gte(0).lte(100000).optional()
|
|
302
862
|
}).optional(),
|
|
303
863
|
gcp: z.object({
|
|
304
|
-
enabled: z.boolean()
|
|
305
|
-
project: z.string()
|
|
864
|
+
enabled: z.boolean(),
|
|
865
|
+
project: z.string().regex(/^[a-z][a-z0-9-]{4,28}[a-z0-9]$/).optional()
|
|
306
866
|
}).optional(),
|
|
307
867
|
hetzner: z.object({
|
|
308
|
-
enabled: z.boolean()
|
|
309
|
-
apiKey: z.string()
|
|
868
|
+
enabled: z.boolean(),
|
|
869
|
+
apiKey: z.string().length(64).regex(/^([A-Za-z0-9]{64}|\*{64})$/).optional()
|
|
310
870
|
}).optional(),
|
|
311
871
|
aws: z.object({
|
|
312
|
-
enabled: z.boolean()
|
|
313
|
-
controllerRoleArn: z.string()
|
|
314
|
-
}).optional()
|
|
872
|
+
enabled: z.boolean(),
|
|
873
|
+
controllerRoleArn: z.string().regex(/^arn:aws(-[a-z]+)*:iam::\d{12}:role\/[\w+=,.@\/-]+$/).optional()
|
|
874
|
+
}).optional(),
|
|
875
|
+
constraints: z.object({
|
|
876
|
+
'karpenter.sh/capacity-type': z.array(z.enum(['on-demand', 'spot'])).min(1).optional().default(['on-demand', 'spot']),
|
|
877
|
+
'kubernetes.io/arch': z.array(z.enum(['amd64', 'arm64'])).min(1).optional().default(['amd64']),
|
|
878
|
+
'cfke.io/instance-family': z.array(z.enum([
|
|
879
|
+
'a1',
|
|
880
|
+
'a2',
|
|
881
|
+
'a3',
|
|
882
|
+
'a4',
|
|
883
|
+
'c1',
|
|
884
|
+
'c2',
|
|
885
|
+
'c2d',
|
|
886
|
+
'c3',
|
|
887
|
+
'c3d',
|
|
888
|
+
'c4',
|
|
889
|
+
'c4a',
|
|
890
|
+
'c4d',
|
|
891
|
+
'c5',
|
|
892
|
+
'c5a',
|
|
893
|
+
'c5ad',
|
|
894
|
+
'c5d',
|
|
895
|
+
'c5n',
|
|
896
|
+
'c6a',
|
|
897
|
+
'c6g',
|
|
898
|
+
'c6gd',
|
|
899
|
+
'c6gn',
|
|
900
|
+
'c6i',
|
|
901
|
+
'c6id',
|
|
902
|
+
'c6in',
|
|
903
|
+
'c7a',
|
|
904
|
+
'c7g',
|
|
905
|
+
'c7gd',
|
|
906
|
+
'c7gn',
|
|
907
|
+
'c7i',
|
|
908
|
+
'c7i-flex',
|
|
909
|
+
'c8g',
|
|
910
|
+
'c8gd',
|
|
911
|
+
'cax',
|
|
912
|
+
'ccx',
|
|
913
|
+
'cpx',
|
|
914
|
+
'cx',
|
|
915
|
+
'd2',
|
|
916
|
+
'd3',
|
|
917
|
+
'd3en',
|
|
918
|
+
'dl1',
|
|
919
|
+
'dl2q',
|
|
920
|
+
'e2',
|
|
921
|
+
'f1',
|
|
922
|
+
'f2',
|
|
923
|
+
'g1',
|
|
924
|
+
'g2',
|
|
925
|
+
'g4ad',
|
|
926
|
+
'g4dn',
|
|
927
|
+
'g5',
|
|
928
|
+
'g5g',
|
|
929
|
+
'g6',
|
|
930
|
+
'g6e',
|
|
931
|
+
'gr6',
|
|
932
|
+
'h1',
|
|
933
|
+
'h3',
|
|
934
|
+
'hpc6a',
|
|
935
|
+
'hpc6id',
|
|
936
|
+
'hpc7a',
|
|
937
|
+
'hpc7g',
|
|
938
|
+
'i2',
|
|
939
|
+
'i3',
|
|
940
|
+
'i3en',
|
|
941
|
+
'i4g',
|
|
942
|
+
'i4i',
|
|
943
|
+
'i7i',
|
|
944
|
+
'i7ie',
|
|
945
|
+
'i8g',
|
|
946
|
+
'im4gn',
|
|
947
|
+
'inf1',
|
|
948
|
+
'inf2',
|
|
949
|
+
'is4gen',
|
|
950
|
+
'm1',
|
|
951
|
+
'm2',
|
|
952
|
+
'm3',
|
|
953
|
+
'm4',
|
|
954
|
+
'm5',
|
|
955
|
+
'm5a',
|
|
956
|
+
'm5ad',
|
|
957
|
+
'm5d',
|
|
958
|
+
'm5dn',
|
|
959
|
+
'm5n',
|
|
960
|
+
'm5zn',
|
|
961
|
+
'm6a',
|
|
962
|
+
'm6g',
|
|
963
|
+
'm6gd',
|
|
964
|
+
'm6i',
|
|
965
|
+
'm6id',
|
|
966
|
+
'm6idn',
|
|
967
|
+
'm6in',
|
|
968
|
+
'm7a',
|
|
969
|
+
'm7g',
|
|
970
|
+
'm7gd',
|
|
971
|
+
'm7i',
|
|
972
|
+
'm7i-flex',
|
|
973
|
+
'm8g',
|
|
974
|
+
'm8gd',
|
|
975
|
+
'n1',
|
|
976
|
+
'n2',
|
|
977
|
+
'n2d',
|
|
978
|
+
'n4',
|
|
979
|
+
'p3',
|
|
980
|
+
'p3dn',
|
|
981
|
+
'p4d',
|
|
982
|
+
'p4de',
|
|
983
|
+
'p5',
|
|
984
|
+
'p5e',
|
|
985
|
+
'p5en',
|
|
986
|
+
'p6-b200',
|
|
987
|
+
'r3',
|
|
988
|
+
'r4',
|
|
989
|
+
'r5',
|
|
990
|
+
'r5a',
|
|
991
|
+
'r5ad',
|
|
992
|
+
'r5b',
|
|
993
|
+
'r5d',
|
|
994
|
+
'r5dn',
|
|
995
|
+
'r5n',
|
|
996
|
+
'r6a',
|
|
997
|
+
'r6g',
|
|
998
|
+
'r6gd',
|
|
999
|
+
'r6i',
|
|
1000
|
+
'r6id',
|
|
1001
|
+
'r6idn',
|
|
1002
|
+
'r6in',
|
|
1003
|
+
'r7a',
|
|
1004
|
+
'r7g',
|
|
1005
|
+
'r7gd',
|
|
1006
|
+
'r7i',
|
|
1007
|
+
'r7iz',
|
|
1008
|
+
'r8g',
|
|
1009
|
+
'r8gd',
|
|
1010
|
+
't2',
|
|
1011
|
+
't2a',
|
|
1012
|
+
't2d',
|
|
1013
|
+
't3',
|
|
1014
|
+
't3a',
|
|
1015
|
+
't4g',
|
|
1016
|
+
'trn1',
|
|
1017
|
+
'trn1n',
|
|
1018
|
+
'u-3tb1',
|
|
1019
|
+
'u-6tb1',
|
|
1020
|
+
'u7i-12tb',
|
|
1021
|
+
'u7i-6tb',
|
|
1022
|
+
'u7i-8tb',
|
|
1023
|
+
'u7in-16tb',
|
|
1024
|
+
'u7in-24tb',
|
|
1025
|
+
'u7in-32tb',
|
|
1026
|
+
'vt1',
|
|
1027
|
+
'x1',
|
|
1028
|
+
'x1e',
|
|
1029
|
+
'x2gd',
|
|
1030
|
+
'x2idn',
|
|
1031
|
+
'x2iedn',
|
|
1032
|
+
'x2iezn',
|
|
1033
|
+
'x4',
|
|
1034
|
+
'x8g',
|
|
1035
|
+
'z1d',
|
|
1036
|
+
'z3'
|
|
1037
|
+
])).optional().default([]),
|
|
1038
|
+
'topology.kubernetes.io/region': z.array(z.enum([
|
|
1039
|
+
'africa-south1',
|
|
1040
|
+
'ap-northeast-1',
|
|
1041
|
+
'ap-northeast-2',
|
|
1042
|
+
'ap-northeast-3',
|
|
1043
|
+
'ap-south-1',
|
|
1044
|
+
'ap-southeast-1',
|
|
1045
|
+
'ap-southeast-2',
|
|
1046
|
+
'ash',
|
|
1047
|
+
'asia-east1',
|
|
1048
|
+
'asia-east2',
|
|
1049
|
+
'asia-northeast1',
|
|
1050
|
+
'asia-northeast2',
|
|
1051
|
+
'asia-northeast3',
|
|
1052
|
+
'asia-south1',
|
|
1053
|
+
'asia-south2',
|
|
1054
|
+
'asia-southeast1',
|
|
1055
|
+
'asia-southeast2',
|
|
1056
|
+
'australia-southeast1',
|
|
1057
|
+
'australia-southeast2',
|
|
1058
|
+
'ca-central-1',
|
|
1059
|
+
'eu-central-1',
|
|
1060
|
+
'eu-central-2',
|
|
1061
|
+
'eu-north-1',
|
|
1062
|
+
'eu-west-1',
|
|
1063
|
+
'eu-west-2',
|
|
1064
|
+
'eu-west-3',
|
|
1065
|
+
'europe-central2',
|
|
1066
|
+
'europe-north1',
|
|
1067
|
+
'europe-southwest1',
|
|
1068
|
+
'europe-west1',
|
|
1069
|
+
'europe-west10',
|
|
1070
|
+
'europe-west12',
|
|
1071
|
+
'europe-west2',
|
|
1072
|
+
'europe-west3',
|
|
1073
|
+
'europe-west4',
|
|
1074
|
+
'europe-west6',
|
|
1075
|
+
'europe-west8',
|
|
1076
|
+
'europe-west9',
|
|
1077
|
+
'fsn1',
|
|
1078
|
+
'hel1',
|
|
1079
|
+
'hil',
|
|
1080
|
+
'me-central1',
|
|
1081
|
+
'me-central2',
|
|
1082
|
+
'me-west1',
|
|
1083
|
+
'nbg1',
|
|
1084
|
+
'northamerica-northeast1',
|
|
1085
|
+
'northamerica-northeast2',
|
|
1086
|
+
'sa-east-1',
|
|
1087
|
+
'sin',
|
|
1088
|
+
'southamerica-east1',
|
|
1089
|
+
'southamerica-west1',
|
|
1090
|
+
'us-central1',
|
|
1091
|
+
'us-east-1',
|
|
1092
|
+
'us-east-2',
|
|
1093
|
+
'us-east1',
|
|
1094
|
+
'us-east4',
|
|
1095
|
+
'us-east5',
|
|
1096
|
+
'us-south1',
|
|
1097
|
+
'us-west-1',
|
|
1098
|
+
'us-west-2',
|
|
1099
|
+
'us-west1',
|
|
1100
|
+
'us-west2',
|
|
1101
|
+
'us-west3',
|
|
1102
|
+
'us-west4'
|
|
1103
|
+
])).optional().default([])
|
|
1104
|
+
}).optional().default({
|
|
1105
|
+
'karpenter.sh/capacity-type': ['on-demand', 'spot'],
|
|
1106
|
+
'kubernetes.io/arch': ['amd64'],
|
|
1107
|
+
'cfke.io/instance-family': [],
|
|
1108
|
+
'topology.kubernetes.io/region': []
|
|
1109
|
+
}),
|
|
1110
|
+
scalingProfile: z.enum(['aggressive', 'conservative']).optional().default('conservative')
|
|
1111
|
+
});
|
|
1112
|
+
export const zInviteCreateInput = z.object({
|
|
1113
|
+
email: z.email(),
|
|
1114
|
+
role: z.enum(['Administrator', 'User']).optional().default('User')
|
|
315
1115
|
});
|
|
316
1116
|
export const zInvite = z.object({
|
|
317
1117
|
id: z.string().optional(),
|
|
318
1118
|
organization_id: z.uuid().optional(),
|
|
319
1119
|
date_created: z.iso.datetime(),
|
|
320
1120
|
email: z.email().optional(),
|
|
321
|
-
code: z.string().optional()
|
|
1121
|
+
code: z.string().optional(),
|
|
1122
|
+
role: z.enum(['Administrator', 'User']).optional().default('User')
|
|
1123
|
+
});
|
|
1124
|
+
export const zInvoicePaymentAttempt = z.object({
|
|
1125
|
+
invoice_id: z.string(),
|
|
1126
|
+
number: z.string(),
|
|
1127
|
+
amount: z.number(),
|
|
1128
|
+
currency: z.string(),
|
|
1129
|
+
status: z.enum([
|
|
1130
|
+
'paid',
|
|
1131
|
+
'processing',
|
|
1132
|
+
'requires_action',
|
|
1133
|
+
'failed'
|
|
1134
|
+
]),
|
|
1135
|
+
client_secret: z.string(),
|
|
1136
|
+
failure_code: z.string(),
|
|
1137
|
+
failure_message: z.string()
|
|
1138
|
+
});
|
|
1139
|
+
export const zInvoicePaymentResult = z.object({
|
|
1140
|
+
code: z.enum([
|
|
1141
|
+
'paid',
|
|
1142
|
+
'processing',
|
|
1143
|
+
'action_required',
|
|
1144
|
+
'partially_paid',
|
|
1145
|
+
'failed',
|
|
1146
|
+
'nothing_due',
|
|
1147
|
+
'bank_transfer_due'
|
|
1148
|
+
]),
|
|
1149
|
+
message: z.string(),
|
|
1150
|
+
results: z.array(z.object({
|
|
1151
|
+
invoice_id: z.string(),
|
|
1152
|
+
number: z.string(),
|
|
1153
|
+
amount: z.number(),
|
|
1154
|
+
currency: z.string(),
|
|
1155
|
+
status: z.enum([
|
|
1156
|
+
'paid',
|
|
1157
|
+
'processing',
|
|
1158
|
+
'requires_action',
|
|
1159
|
+
'failed'
|
|
1160
|
+
]),
|
|
1161
|
+
client_secret: z.string(),
|
|
1162
|
+
failure_code: z.string(),
|
|
1163
|
+
failure_message: z.string()
|
|
1164
|
+
}))
|
|
322
1165
|
});
|
|
323
1166
|
export const zInvoice = z.object({
|
|
324
1167
|
id: z.string().optional(),
|
|
@@ -358,21 +1201,28 @@ export const zMarketplaceListing = z.object({
|
|
|
358
1201
|
}).optional()
|
|
359
1202
|
});
|
|
360
1203
|
export const zOrganizationCreateInput = z.object({
|
|
1204
|
+
type: z.enum(['business', 'personal']),
|
|
361
1205
|
email: z.email(),
|
|
362
|
-
first_name: z.string(),
|
|
363
|
-
last_name: z.string(),
|
|
1206
|
+
first_name: z.string().min(1),
|
|
1207
|
+
last_name: z.string().min(1),
|
|
364
1208
|
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,}$/),
|
|
365
1209
|
password: z.string().min(8)
|
|
366
1210
|
});
|
|
1211
|
+
export const zOrganizationCreateOutput = z.object({
|
|
1212
|
+
id: z.string()
|
|
1213
|
+
});
|
|
367
1214
|
export const zOrganization = z.object({
|
|
368
1215
|
id: z.uuid(),
|
|
369
1216
|
name: z.string().min(2).max(120).optional(),
|
|
1217
|
+
type: z.enum(['business', 'personal']),
|
|
370
1218
|
date_created: z.iso.datetime(),
|
|
371
1219
|
quota: z.object({
|
|
372
1220
|
basic_clusters_max: z.int().gte(0),
|
|
373
1221
|
basic_clusters_available: z.int(),
|
|
374
1222
|
pro_clusters_max: z.int().gte(0),
|
|
375
1223
|
pro_clusters_available: z.int(),
|
|
1224
|
+
enterprise_clusters_max: z.int().gte(0),
|
|
1225
|
+
enterprise_clusters_available: z.int(),
|
|
376
1226
|
fleets_max: z.int().gte(0),
|
|
377
1227
|
cluster_tiers: z.array(z.string()).min(0),
|
|
378
1228
|
regions: z.array(z.string()).min(1),
|
|
@@ -386,32 +1236,36 @@ export const zOrganization = z.object({
|
|
|
386
1236
|
'active',
|
|
387
1237
|
'closed',
|
|
388
1238
|
'suspended'
|
|
1239
|
+
]),
|
|
1240
|
+
verification: z.enum([
|
|
1241
|
+
'none',
|
|
1242
|
+
'submitted',
|
|
1243
|
+
'verified'
|
|
389
1244
|
])
|
|
390
1245
|
});
|
|
391
1246
|
export const zPaymentMethod = z.object({
|
|
392
|
-
id: z.
|
|
393
|
-
|
|
394
|
-
|
|
1247
|
+
id: z.string(),
|
|
1248
|
+
type: z.enum([
|
|
1249
|
+
'card',
|
|
1250
|
+
'sepa_debit',
|
|
1251
|
+
'bank_transfer'
|
|
1252
|
+
]),
|
|
395
1253
|
last4: z.string(),
|
|
396
1254
|
exp_month: z.int().gte(1).lte(12),
|
|
397
|
-
exp_year: z.int()
|
|
398
|
-
brand: z.
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
'jcb',
|
|
404
|
-
'mastercard',
|
|
405
|
-
'unionpay',
|
|
406
|
-
'visa',
|
|
407
|
-
'unknown'
|
|
408
|
-
])
|
|
1255
|
+
exp_year: z.int(),
|
|
1256
|
+
brand: z.string(),
|
|
1257
|
+
iban: z.string(),
|
|
1258
|
+
bic: z.string(),
|
|
1259
|
+
account_holder_name: z.string(),
|
|
1260
|
+
is_default: z.boolean()
|
|
409
1261
|
});
|
|
410
1262
|
export const zPlatformQuota = z.object({
|
|
411
1263
|
basic_clusters_max: z.int().gte(0),
|
|
412
1264
|
basic_clusters_available: z.int(),
|
|
413
1265
|
pro_clusters_max: z.int().gte(0),
|
|
414
1266
|
pro_clusters_available: z.int(),
|
|
1267
|
+
enterprise_clusters_max: z.int().gte(0),
|
|
1268
|
+
enterprise_clusters_available: z.int(),
|
|
415
1269
|
fleets_max: z.int().gte(0),
|
|
416
1270
|
cluster_tiers: z.array(z.string()).min(0),
|
|
417
1271
|
regions: z.array(z.string()).min(1),
|
|
@@ -482,39 +1336,6 @@ export const zTicketCreateInput = z.object({
|
|
|
482
1336
|
body: z.string().min(1).max(50000).regex(/\S/),
|
|
483
1337
|
properties: z.record(z.string(), z.unknown()).optional()
|
|
484
1338
|
});
|
|
485
|
-
export const zTicketListResponse = z.object({
|
|
486
|
-
items: z.array(z.object({
|
|
487
|
-
id: z.string(),
|
|
488
|
-
status: z.enum([
|
|
489
|
-
'waiting_on_us',
|
|
490
|
-
'waiting_on_user',
|
|
491
|
-
'closed'
|
|
492
|
-
]),
|
|
493
|
-
category: z.enum([
|
|
494
|
-
'billing',
|
|
495
|
-
'technical',
|
|
496
|
-
'general'
|
|
497
|
-
]),
|
|
498
|
-
summary: z.string(),
|
|
499
|
-
closed_at: z.iso.datetime().optional(),
|
|
500
|
-
date_created: z.iso.datetime(),
|
|
501
|
-
date_updated: z.iso.datetime(),
|
|
502
|
-
messages: z.array(z.object({
|
|
503
|
-
id: z.string(),
|
|
504
|
-
type: z.enum(['customer_reply', 'agent_reply']),
|
|
505
|
-
body: z.string(),
|
|
506
|
-
author_first_name: z.string().optional(),
|
|
507
|
-
author_last_name: z.string().optional(),
|
|
508
|
-
attachments: z.array(z.object({
|
|
509
|
-
id: z.string(),
|
|
510
|
-
filename: z.string(),
|
|
511
|
-
content_type: z.string(),
|
|
512
|
-
size: z.int()
|
|
513
|
-
})).optional(),
|
|
514
|
-
date_created: z.iso.datetime()
|
|
515
|
-
})).optional()
|
|
516
|
-
}))
|
|
517
|
-
});
|
|
518
1339
|
export const zTicketMessageInput = z.object({
|
|
519
1340
|
body: z.string().min(1).max(50000).regex(/\S/)
|
|
520
1341
|
});
|
|
@@ -580,26 +1401,58 @@ export const zTokenUpdateInput = z.object({
|
|
|
580
1401
|
});
|
|
581
1402
|
export const zUsageFacets = z.object({
|
|
582
1403
|
cluster_id: z.array(z.string()).optional(),
|
|
583
|
-
product: z.array(z.
|
|
1404
|
+
product: z.array(z.enum([
|
|
1405
|
+
'cfke_controlplane_basic',
|
|
1406
|
+
'cfke_controlplane_pro',
|
|
1407
|
+
'cfke_controlplane_enterprise',
|
|
1408
|
+
'cfke_connected_nodes_basic',
|
|
1409
|
+
'cfke_connected_nodes_pro',
|
|
1410
|
+
'cfke_connected_nodes_enterprise',
|
|
1411
|
+
'cfcr_storage'
|
|
1412
|
+
])).optional()
|
|
584
1413
|
});
|
|
585
1414
|
export const zUsageResponse = z.object({
|
|
586
1415
|
data: z.array(z.object({
|
|
587
1416
|
hour: z.string(),
|
|
588
1417
|
cluster_id: z.string(),
|
|
589
|
-
product: z.
|
|
1418
|
+
product: z.enum([
|
|
1419
|
+
'cfke_controlplane_basic',
|
|
1420
|
+
'cfke_controlplane_pro',
|
|
1421
|
+
'cfke_controlplane_enterprise',
|
|
1422
|
+
'cfke_connected_nodes_basic',
|
|
1423
|
+
'cfke_connected_nodes_pro',
|
|
1424
|
+
'cfke_connected_nodes_enterprise',
|
|
1425
|
+
'cfcr_storage'
|
|
1426
|
+
]),
|
|
590
1427
|
value: z.number(),
|
|
591
1428
|
price: z.number(),
|
|
592
1429
|
total: z.number()
|
|
593
1430
|
})),
|
|
594
1431
|
facets: z.object({
|
|
595
1432
|
cluster_id: z.array(z.string()).optional(),
|
|
596
|
-
product: z.array(z.
|
|
1433
|
+
product: z.array(z.enum([
|
|
1434
|
+
'cfke_controlplane_basic',
|
|
1435
|
+
'cfke_controlplane_pro',
|
|
1436
|
+
'cfke_controlplane_enterprise',
|
|
1437
|
+
'cfke_connected_nodes_basic',
|
|
1438
|
+
'cfke_connected_nodes_pro',
|
|
1439
|
+
'cfke_connected_nodes_enterprise',
|
|
1440
|
+
'cfcr_storage'
|
|
1441
|
+
])).optional()
|
|
597
1442
|
})
|
|
598
1443
|
});
|
|
599
1444
|
export const zUsage = z.object({
|
|
600
1445
|
hour: z.string(),
|
|
601
1446
|
cluster_id: z.string(),
|
|
602
|
-
product: z.
|
|
1447
|
+
product: z.enum([
|
|
1448
|
+
'cfke_controlplane_basic',
|
|
1449
|
+
'cfke_controlplane_pro',
|
|
1450
|
+
'cfke_controlplane_enterprise',
|
|
1451
|
+
'cfke_connected_nodes_basic',
|
|
1452
|
+
'cfke_connected_nodes_pro',
|
|
1453
|
+
'cfke_connected_nodes_enterprise',
|
|
1454
|
+
'cfcr_storage'
|
|
1455
|
+
]),
|
|
603
1456
|
value: z.number(),
|
|
604
1457
|
price: z.number(),
|
|
605
1458
|
total: z.number()
|
|
@@ -609,9 +1462,7 @@ export const zUserCreateInput = z.object({
|
|
|
609
1462
|
first_name: z.string().min(1).max(50),
|
|
610
1463
|
last_name: z.string().min(1).max(50),
|
|
611
1464
|
code: z.string(),
|
|
612
|
-
password: z.string().min(8)
|
|
613
|
-
status: z.enum(['active', 'inactive']).optional(),
|
|
614
|
-
role: z.enum(['Administrator', 'User']).optional()
|
|
1465
|
+
password: z.string().min(8)
|
|
615
1466
|
});
|
|
616
1467
|
export const zUser = z.object({
|
|
617
1468
|
email: z.email(),
|
|
@@ -629,202 +1480,162 @@ export const zUserUpdateInput = z.object({
|
|
|
629
1480
|
role: z.enum(['Administrator', 'User']).optional(),
|
|
630
1481
|
status: z.enum(['active', 'inactive']).optional()
|
|
631
1482
|
});
|
|
632
|
-
export const
|
|
633
|
-
|
|
634
|
-
'hourly',
|
|
635
|
-
'daily',
|
|
636
|
-
'monthly'
|
|
637
|
-
]).optional().default('daily')
|
|
1483
|
+
export const zListUserOrganizationsPath = z.object({
|
|
1484
|
+
email: z.string()
|
|
638
1485
|
});
|
|
639
1486
|
/**
|
|
640
|
-
*
|
|
1487
|
+
* An array of organizations the user belongs to.
|
|
641
1488
|
*/
|
|
642
|
-
export const
|
|
1489
|
+
export const zListUserOrganizationsResponse = z.array(z.object({
|
|
1490
|
+
realm: z.string().optional(),
|
|
1491
|
+
displayName: z.string().optional()
|
|
1492
|
+
}));
|
|
643
1493
|
/**
|
|
644
|
-
*
|
|
1494
|
+
* An array of users
|
|
645
1495
|
*/
|
|
646
|
-
export const
|
|
1496
|
+
export const zListUsersResponse = z.array(zUser);
|
|
1497
|
+
export const zCreateUserBody = zUserCreateInput;
|
|
647
1498
|
/**
|
|
648
|
-
*
|
|
649
|
-
*
|
|
1499
|
+
* Successfully created. Returns created user details.
|
|
650
1500
|
*/
|
|
651
|
-
export const
|
|
652
|
-
|
|
1501
|
+
export const zCreateUserResponse = zUser;
|
|
1502
|
+
export const zDeleteUserPath = z.object({
|
|
1503
|
+
user_id: z.string()
|
|
653
1504
|
});
|
|
654
1505
|
/**
|
|
655
|
-
*
|
|
1506
|
+
* User profile information
|
|
656
1507
|
*/
|
|
657
|
-
export const
|
|
1508
|
+
export const zDeleteUserResponse = zUser;
|
|
1509
|
+
export const zGetUserPath = z.object({
|
|
1510
|
+
user_id: z.string()
|
|
1511
|
+
});
|
|
658
1512
|
/**
|
|
659
|
-
*
|
|
1513
|
+
* User profile information
|
|
660
1514
|
*/
|
|
661
|
-
export const
|
|
662
|
-
export const
|
|
1515
|
+
export const zGetUserResponse = zUser;
|
|
1516
|
+
export const zUpdateUserBody = zUserUpdateInput;
|
|
1517
|
+
export const zUpdateUserPath = z.object({
|
|
1518
|
+
user_id: z.string()
|
|
1519
|
+
});
|
|
663
1520
|
/**
|
|
664
|
-
* Successfully
|
|
1521
|
+
* Successfully created. Returns created user details.
|
|
665
1522
|
*/
|
|
666
|
-
export const
|
|
1523
|
+
export const zUpdateUserResponse = zUser;
|
|
667
1524
|
/**
|
|
668
|
-
*
|
|
1525
|
+
* Returns a list of access token details with masked secrets.
|
|
669
1526
|
*/
|
|
670
|
-
export const
|
|
671
|
-
export const
|
|
672
|
-
code: z.string().optional()
|
|
673
|
-
});
|
|
674
|
-
export const zListChartsPath = z.object({
|
|
675
|
-
cluster_id: z.string()
|
|
676
|
-
});
|
|
1527
|
+
export const zListTokensResponse = z.array(zToken);
|
|
1528
|
+
export const zCreateTokenBody = zTokenCreateInput;
|
|
677
1529
|
/**
|
|
678
|
-
*
|
|
1530
|
+
* Successfully created. Returns created token details with unmasked/raw secret.
|
|
679
1531
|
*/
|
|
680
|
-
export const
|
|
681
|
-
export const
|
|
682
|
-
|
|
683
|
-
cluster_id: z.string()
|
|
1532
|
+
export const zCreateTokenResponse = zToken;
|
|
1533
|
+
export const zDeleteTokenPath = z.object({
|
|
1534
|
+
token_id: z.string()
|
|
684
1535
|
});
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
*/
|
|
688
|
-
export const zCreateChartResponse = z.string();
|
|
689
|
-
export const zDeleteChartPath = z.object({
|
|
690
|
-
cluster_id: z.string(),
|
|
691
|
-
chart_name: z.string()
|
|
1536
|
+
export const zGetTokenPath = z.object({
|
|
1537
|
+
token_id: z.string()
|
|
692
1538
|
});
|
|
693
1539
|
/**
|
|
694
|
-
*
|
|
1540
|
+
* Returns access token details with masked secret.
|
|
695
1541
|
*/
|
|
696
|
-
export const
|
|
697
|
-
export const
|
|
698
|
-
|
|
699
|
-
|
|
1542
|
+
export const zGetTokenResponse = zToken;
|
|
1543
|
+
export const zUpdateTokenBody = zTokenUpdateInput;
|
|
1544
|
+
export const zUpdateTokenPath = z.object({
|
|
1545
|
+
token_id: z.string()
|
|
700
1546
|
});
|
|
701
1547
|
/**
|
|
702
|
-
* Returns
|
|
1548
|
+
* Successfully updated. Returns updated token details with masked secret.
|
|
703
1549
|
*/
|
|
704
|
-
export const
|
|
705
|
-
export const
|
|
706
|
-
|
|
707
|
-
cluster_id: z.string(),
|
|
708
|
-
chart_name: z.string()
|
|
1550
|
+
export const zUpdateTokenResponse = zToken;
|
|
1551
|
+
export const zRegenerateTokenPath = z.object({
|
|
1552
|
+
token_id: z.string()
|
|
709
1553
|
});
|
|
710
1554
|
/**
|
|
711
|
-
* Successfully updated.
|
|
1555
|
+
* Successfully updated. Returns updated token details with unmasked / raw secret.
|
|
712
1556
|
*/
|
|
713
|
-
export const
|
|
714
|
-
export const zListFleetsPath = z.object({
|
|
715
|
-
cluster_id: z.string()
|
|
716
|
-
});
|
|
1557
|
+
export const zRegenerateTokenResponse = zToken;
|
|
717
1558
|
/**
|
|
718
|
-
* An array of
|
|
1559
|
+
* An array of tickets for the organization, newest first.
|
|
719
1560
|
*/
|
|
720
|
-
export const
|
|
721
|
-
export const
|
|
722
|
-
|
|
723
|
-
|
|
1561
|
+
export const zListTicketsResponse = z.array(zTicket);
|
|
1562
|
+
export const zCreateTicketBody = z.object({
|
|
1563
|
+
payload: z.string().optional(),
|
|
1564
|
+
attachments: z.array(z.string()).optional()
|
|
724
1565
|
});
|
|
725
1566
|
/**
|
|
726
|
-
*
|
|
1567
|
+
* Ticket created.
|
|
727
1568
|
*/
|
|
728
|
-
export const
|
|
729
|
-
export const
|
|
730
|
-
|
|
731
|
-
fleet_name: z.string()
|
|
1569
|
+
export const zCreateTicketResponse = zTicket;
|
|
1570
|
+
export const zCloseTicketPath = z.object({
|
|
1571
|
+
ticket_id: z.string()
|
|
732
1572
|
});
|
|
733
1573
|
/**
|
|
734
|
-
*
|
|
1574
|
+
* Ticket closed.
|
|
735
1575
|
*/
|
|
736
|
-
export const
|
|
737
|
-
export const
|
|
738
|
-
|
|
739
|
-
fleet_name: z.string()
|
|
1576
|
+
export const zCloseTicketResponse = zTicket;
|
|
1577
|
+
export const zGetTicketPath = z.object({
|
|
1578
|
+
ticket_id: z.string()
|
|
740
1579
|
});
|
|
741
1580
|
/**
|
|
742
|
-
*
|
|
1581
|
+
* Ticket with messages (internal notes excluded).
|
|
743
1582
|
*/
|
|
744
|
-
export const
|
|
745
|
-
export const
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
1583
|
+
export const zGetTicketResponse = zTicket;
|
|
1584
|
+
export const zReplyTicketBody = z.object({
|
|
1585
|
+
payload: z.string().optional(),
|
|
1586
|
+
attachments: z.array(z.string()).optional()
|
|
1587
|
+
});
|
|
1588
|
+
export const zReplyTicketPath = z.object({
|
|
1589
|
+
ticket_id: z.string()
|
|
749
1590
|
});
|
|
750
1591
|
/**
|
|
751
|
-
*
|
|
1592
|
+
* Reply appended.
|
|
752
1593
|
*/
|
|
753
|
-
export const
|
|
754
|
-
export const
|
|
755
|
-
|
|
1594
|
+
export const zReplyTicketResponse = zTicketMessage;
|
|
1595
|
+
export const zGetTicketAttachmentPath = z.object({
|
|
1596
|
+
ticket_id: z.string(),
|
|
1597
|
+
attachment_id: z.string()
|
|
756
1598
|
});
|
|
757
1599
|
/**
|
|
758
|
-
*
|
|
1600
|
+
* Attachment binary stream.
|
|
759
1601
|
*/
|
|
760
|
-
export const
|
|
761
|
-
export const zCreateClusterBody = zClusterCreateInput;
|
|
1602
|
+
export const zGetTicketAttachmentResponse = z.string();
|
|
762
1603
|
/**
|
|
763
|
-
*
|
|
1604
|
+
* List of repositories
|
|
764
1605
|
*/
|
|
765
|
-
export const
|
|
766
|
-
export const
|
|
767
|
-
|
|
1606
|
+
export const zListRepositoriesResponse = z.array(zRegistryRepository);
|
|
1607
|
+
export const zListTagsPath = z.object({
|
|
1608
|
+
region: z.string(),
|
|
1609
|
+
repository: z.string()
|
|
768
1610
|
});
|
|
769
1611
|
/**
|
|
770
|
-
*
|
|
1612
|
+
* Repository with tags
|
|
771
1613
|
*/
|
|
772
|
-
export const
|
|
773
|
-
export const
|
|
774
|
-
|
|
1614
|
+
export const zListTagsResponse = zRegistryRepositoryWithTags;
|
|
1615
|
+
export const zDeleteTagPath = z.object({
|
|
1616
|
+
region: z.string(),
|
|
1617
|
+
repository: z.string(),
|
|
1618
|
+
tag: z.string()
|
|
1619
|
+
});
|
|
1620
|
+
export const zGetTagPath = z.object({
|
|
1621
|
+
region: z.string(),
|
|
1622
|
+
repository: z.string(),
|
|
1623
|
+
tag: z.string()
|
|
775
1624
|
});
|
|
776
1625
|
/**
|
|
777
|
-
*
|
|
1626
|
+
* Tag details
|
|
778
1627
|
*/
|
|
779
|
-
export const
|
|
780
|
-
export const zUpdateClusterBody = zClusterUpdateInput;
|
|
781
|
-
export const zUpdateClusterPath = z.object({
|
|
782
|
-
cluster_id: z.string()
|
|
783
|
-
});
|
|
1628
|
+
export const zGetTagResponse = zRegistryTag;
|
|
784
1629
|
/**
|
|
785
|
-
*
|
|
1630
|
+
* Returns a single object containing organization details.
|
|
786
1631
|
*/
|
|
787
|
-
export const
|
|
788
|
-
export const
|
|
789
|
-
cluster_id: z.string()
|
|
790
|
-
});
|
|
791
|
-
/**
|
|
792
|
-
* An object of cluster join information
|
|
793
|
-
*/
|
|
794
|
-
export const zGetJoinInformationResponse = zClusterJoinInformation;
|
|
795
|
-
/**
|
|
796
|
-
* An array of invites
|
|
797
|
-
*/
|
|
798
|
-
export const zListInvitesResponse = z.array(zInvite);
|
|
799
|
-
export const zCreateInviteBody = z.object({
|
|
800
|
-
email: z.string().optional()
|
|
801
|
-
});
|
|
802
|
-
/**
|
|
803
|
-
* Successfully created. Returns created invite details.
|
|
804
|
-
*/
|
|
805
|
-
export const zCreateInviteResponse = zInvite;
|
|
806
|
-
export const zGetInvitePath = z.object({
|
|
807
|
-
code: z.string()
|
|
808
|
-
});
|
|
809
|
-
/**
|
|
810
|
-
* Returns a single object containing invite details.
|
|
811
|
-
*/
|
|
812
|
-
export const zGetInviteResponse = zInvite;
|
|
813
|
-
export const zDeleteInvitePath = z.object({
|
|
814
|
-
email: z.string()
|
|
815
|
-
});
|
|
816
|
-
/**
|
|
817
|
-
* An array of chart listings in the marketplace.
|
|
818
|
-
*/
|
|
819
|
-
export const zListMarketplaceChartsResponse = z.array(zMarketplaceListing);
|
|
820
|
-
export const zGetMarketplaceChartFilesPath = z.object({
|
|
821
|
-
chart_name: z.string(),
|
|
822
|
-
version_channel: z.string()
|
|
823
|
-
});
|
|
1632
|
+
export const zGetOrganizationResponse = zOrganization;
|
|
1633
|
+
export const zCreateOrganizationBody = zOrganizationCreateInput;
|
|
824
1634
|
/**
|
|
825
|
-
*
|
|
1635
|
+
* Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
|
|
1636
|
+
*
|
|
826
1637
|
*/
|
|
827
|
-
export const
|
|
1638
|
+
export const zCreateOrganizationResponse = zOrganizationCreateOutput;
|
|
828
1639
|
/**
|
|
829
1640
|
* JSON-RPC 2.0 request payload
|
|
830
1641
|
*/
|
|
@@ -853,154 +1664,218 @@ export const zPostMcpResponse = z.object({
|
|
|
853
1664
|
}).optional()
|
|
854
1665
|
});
|
|
855
1666
|
/**
|
|
856
|
-
*
|
|
1667
|
+
* An array of chart listings in the marketplace.
|
|
857
1668
|
*/
|
|
858
|
-
export const
|
|
859
|
-
export const
|
|
1669
|
+
export const zListMarketplaceChartsResponse = z.array(zMarketplaceListing);
|
|
1670
|
+
export const zGetMarketplaceChartFilesPath = z.object({
|
|
1671
|
+
chart_name: z.string(),
|
|
1672
|
+
version_channel: z.string()
|
|
1673
|
+
});
|
|
860
1674
|
/**
|
|
861
|
-
*
|
|
1675
|
+
* Returns an object containing the chart files for the latest matching version.
|
|
862
1676
|
*/
|
|
863
|
-
export const
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
1677
|
+
export const zGetMarketplaceChartFilesResponse = zMarketplaceListingFiles;
|
|
1678
|
+
/**
|
|
1679
|
+
* An array of invites
|
|
1680
|
+
*/
|
|
1681
|
+
export const zListInvitesResponse = z.array(zInvite);
|
|
1682
|
+
export const zCreateInviteBody = zInviteCreateInput;
|
|
1683
|
+
/**
|
|
1684
|
+
* Successfully created. Returns created invite details.
|
|
1685
|
+
*/
|
|
1686
|
+
export const zCreateInviteResponse = zInvite;
|
|
1687
|
+
export const zGetInvitePath = z.object({
|
|
1688
|
+
code: z.string()
|
|
867
1689
|
});
|
|
868
1690
|
/**
|
|
869
|
-
*
|
|
1691
|
+
* The invitation code is valid. Returns the invited email and organization.
|
|
870
1692
|
*/
|
|
871
|
-
export const
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
repository: z.string(),
|
|
875
|
-
tag: z.string()
|
|
1693
|
+
export const zGetInviteResponse = z.object({
|
|
1694
|
+
email: z.email().optional(),
|
|
1695
|
+
organization_id: z.string().optional()
|
|
876
1696
|
});
|
|
877
|
-
export const
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
1697
|
+
export const zDeleteInvitePath = z.object({
|
|
1698
|
+
email: z.email()
|
|
1699
|
+
});
|
|
1700
|
+
export const zQueryClusterPath = z.object({
|
|
1701
|
+
cluster_id: z.string()
|
|
1702
|
+
});
|
|
1703
|
+
export const zListFleetsPath = z.object({
|
|
1704
|
+
cluster_id: z.string()
|
|
881
1705
|
});
|
|
882
1706
|
/**
|
|
883
|
-
*
|
|
1707
|
+
* An array of fleets
|
|
884
1708
|
*/
|
|
885
|
-
export const
|
|
1709
|
+
export const zListFleetsResponse = z.array(zFleet);
|
|
1710
|
+
export const zCreateFleetBody = zFleetCreateInput;
|
|
1711
|
+
export const zCreateFleetPath = z.object({
|
|
1712
|
+
cluster_id: z.string()
|
|
1713
|
+
});
|
|
886
1714
|
/**
|
|
887
|
-
*
|
|
1715
|
+
* Successfully created. Returns created Fleet ID.
|
|
888
1716
|
*/
|
|
889
|
-
export const
|
|
890
|
-
export const
|
|
891
|
-
|
|
892
|
-
|
|
1717
|
+
export const zCreateFleetResponse = z.string();
|
|
1718
|
+
export const zDeleteFleetPath = z.object({
|
|
1719
|
+
cluster_id: z.string(),
|
|
1720
|
+
fleet_name: z.string()
|
|
893
1721
|
});
|
|
894
1722
|
/**
|
|
895
|
-
*
|
|
1723
|
+
* Successfully deleted.
|
|
896
1724
|
*/
|
|
897
|
-
export const
|
|
898
|
-
export const
|
|
899
|
-
|
|
1725
|
+
export const zDeleteFleetResponse = z.string();
|
|
1726
|
+
export const zGetFleetPath = z.object({
|
|
1727
|
+
cluster_id: z.string(),
|
|
1728
|
+
fleet_name: z.string()
|
|
900
1729
|
});
|
|
901
1730
|
/**
|
|
902
|
-
*
|
|
1731
|
+
* Returns a single object containing fleet details.
|
|
903
1732
|
*/
|
|
904
|
-
export const
|
|
905
|
-
export const
|
|
906
|
-
|
|
1733
|
+
export const zGetFleetResponse = zFleet;
|
|
1734
|
+
export const zUpdateFleetBody = zFleetUpdateInput;
|
|
1735
|
+
export const zUpdateFleetPath = z.object({
|
|
1736
|
+
cluster_id: z.string(),
|
|
1737
|
+
fleet_name: z.string()
|
|
907
1738
|
});
|
|
908
1739
|
/**
|
|
909
|
-
*
|
|
1740
|
+
* Successfully updated.
|
|
910
1741
|
*/
|
|
911
|
-
export const
|
|
912
|
-
export const
|
|
913
|
-
|
|
914
|
-
attachments: z.array(z.string()).optional()
|
|
915
|
-
});
|
|
916
|
-
export const zReplyTicketPath = z.object({
|
|
917
|
-
ticket_id: z.string()
|
|
1742
|
+
export const zUpdateFleetResponse = z.string();
|
|
1743
|
+
export const zListChartsPath = z.object({
|
|
1744
|
+
cluster_id: z.string()
|
|
918
1745
|
});
|
|
919
1746
|
/**
|
|
920
|
-
*
|
|
1747
|
+
* An array of charts
|
|
921
1748
|
*/
|
|
922
|
-
export const
|
|
923
|
-
export const
|
|
924
|
-
|
|
925
|
-
|
|
1749
|
+
export const zListChartsResponse = z.array(zChart);
|
|
1750
|
+
export const zCreateChartBody = zChartCreateInput;
|
|
1751
|
+
export const zCreateChartPath = z.object({
|
|
1752
|
+
cluster_id: z.string()
|
|
926
1753
|
});
|
|
927
1754
|
/**
|
|
928
|
-
*
|
|
1755
|
+
* Successfully created. Returns created Chart ID.
|
|
929
1756
|
*/
|
|
930
|
-
export const
|
|
1757
|
+
export const zCreateChartResponse = z.string();
|
|
1758
|
+
export const zDeleteChartPath = z.object({
|
|
1759
|
+
cluster_id: z.string(),
|
|
1760
|
+
chart_name: z.string()
|
|
1761
|
+
});
|
|
931
1762
|
/**
|
|
932
|
-
*
|
|
1763
|
+
* Successfully deleted.
|
|
933
1764
|
*/
|
|
934
|
-
export const
|
|
935
|
-
export const
|
|
1765
|
+
export const zDeleteChartResponse = z.string();
|
|
1766
|
+
export const zGetChartPath = z.object({
|
|
1767
|
+
cluster_id: z.string(),
|
|
1768
|
+
chart_name: z.string()
|
|
1769
|
+
});
|
|
936
1770
|
/**
|
|
937
|
-
*
|
|
1771
|
+
* Returns a single object containing chart details.
|
|
938
1772
|
*/
|
|
939
|
-
export const
|
|
940
|
-
export const
|
|
941
|
-
|
|
1773
|
+
export const zGetChartResponse = zChart;
|
|
1774
|
+
export const zUpdateChartBody = zChartUpdateInput;
|
|
1775
|
+
export const zUpdateChartPath = z.object({
|
|
1776
|
+
cluster_id: z.string(),
|
|
1777
|
+
chart_name: z.string()
|
|
942
1778
|
});
|
|
943
|
-
|
|
944
|
-
|
|
1779
|
+
/**
|
|
1780
|
+
* Successfully updated.
|
|
1781
|
+
*/
|
|
1782
|
+
export const zUpdateChartResponse = z.string();
|
|
1783
|
+
/**
|
|
1784
|
+
* An array of clusters
|
|
1785
|
+
*/
|
|
1786
|
+
export const zListClustersResponse = z.array(zCluster);
|
|
1787
|
+
export const zCreateClusterBody = zClusterCreateInput;
|
|
1788
|
+
/**
|
|
1789
|
+
* Successfully created. Returns created Cluster ID.
|
|
1790
|
+
*/
|
|
1791
|
+
export const zCreateClusterResponse = z.string();
|
|
1792
|
+
export const zDeleteClusterPath = z.object({
|
|
1793
|
+
cluster_id: z.string()
|
|
945
1794
|
});
|
|
946
1795
|
/**
|
|
947
|
-
*
|
|
1796
|
+
* Successfully deleted. The cluster has been torn down.
|
|
948
1797
|
*/
|
|
949
|
-
export const
|
|
950
|
-
export const
|
|
951
|
-
|
|
952
|
-
token_id: z.string()
|
|
1798
|
+
export const zDeleteClusterResponse = z.string();
|
|
1799
|
+
export const zGetClusterPath = z.object({
|
|
1800
|
+
cluster_id: z.string()
|
|
953
1801
|
});
|
|
954
1802
|
/**
|
|
955
|
-
*
|
|
1803
|
+
* Returns a single object containing cluster details.
|
|
956
1804
|
*/
|
|
957
|
-
export const
|
|
958
|
-
export const
|
|
959
|
-
|
|
1805
|
+
export const zGetClusterResponse = zCluster;
|
|
1806
|
+
export const zUpdateClusterBody = zClusterUpdateInput;
|
|
1807
|
+
export const zUpdateClusterPath = z.object({
|
|
1808
|
+
cluster_id: z.string()
|
|
960
1809
|
});
|
|
961
1810
|
/**
|
|
962
|
-
* Successfully updated. Returns updated
|
|
1811
|
+
* Successfully updated. Returns updated cluster details.
|
|
963
1812
|
*/
|
|
964
|
-
export const
|
|
965
|
-
export const
|
|
966
|
-
|
|
1813
|
+
export const zUpdateClusterResponse = zCluster;
|
|
1814
|
+
export const zGetJoinInformationPath = z.object({
|
|
1815
|
+
cluster_id: z.string()
|
|
967
1816
|
});
|
|
968
1817
|
/**
|
|
969
|
-
* An
|
|
1818
|
+
* An object of cluster join information
|
|
970
1819
|
*/
|
|
971
|
-
export const
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
1820
|
+
export const zGetJoinInformationResponse = zClusterJoinInformation;
|
|
1821
|
+
export const zGetUsageQuery = z.object({
|
|
1822
|
+
granularity: z.enum([
|
|
1823
|
+
'hourly',
|
|
1824
|
+
'daily',
|
|
1825
|
+
'monthly'
|
|
1826
|
+
]).optional().default('daily')
|
|
1827
|
+
});
|
|
975
1828
|
/**
|
|
976
|
-
*
|
|
1829
|
+
* Usage data with facets for filtering
|
|
977
1830
|
*/
|
|
978
|
-
export const
|
|
979
|
-
export const zCreateUserBody = zUserCreateInput;
|
|
1831
|
+
export const zGetUsageResponse = zUsageResponse;
|
|
980
1832
|
/**
|
|
981
|
-
*
|
|
1833
|
+
* 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.
|
|
1834
|
+
*
|
|
982
1835
|
*/
|
|
983
|
-
export const
|
|
984
|
-
|
|
985
|
-
user_id: z.string()
|
|
1836
|
+
export const zGetPaymentMethodSecretResponse = z.object({
|
|
1837
|
+
id: z.string().optional()
|
|
986
1838
|
});
|
|
987
1839
|
/**
|
|
988
|
-
*
|
|
1840
|
+
* An array of payment methods.
|
|
989
1841
|
*/
|
|
990
|
-
export const
|
|
991
|
-
export const
|
|
992
|
-
|
|
1842
|
+
export const zListPaymentMethodsResponse = z.array(zPaymentMethod);
|
|
1843
|
+
export const zSetDefaultPaymentMethodPath = z.object({
|
|
1844
|
+
paymentMethodId: z.string()
|
|
993
1845
|
});
|
|
994
1846
|
/**
|
|
995
|
-
*
|
|
1847
|
+
* Default payment method updated.
|
|
996
1848
|
*/
|
|
997
|
-
export const
|
|
998
|
-
export const
|
|
999
|
-
|
|
1000
|
-
user_id: z.string()
|
|
1849
|
+
export const zSetDefaultPaymentMethodResponse = z.void();
|
|
1850
|
+
export const zDeletePaymentMethodPath = z.object({
|
|
1851
|
+
paymentMethodId: z.string()
|
|
1001
1852
|
});
|
|
1002
1853
|
/**
|
|
1003
|
-
*
|
|
1854
|
+
* Payment method deleted.
|
|
1004
1855
|
*/
|
|
1005
|
-
export const
|
|
1856
|
+
export const zDeletePaymentMethodResponse = z.void();
|
|
1857
|
+
/**
|
|
1858
|
+
* An array of usage records.
|
|
1859
|
+
*/
|
|
1860
|
+
export const zListInvoicesResponse = z.array(zInvoice);
|
|
1861
|
+
/**
|
|
1862
|
+
* The outcome of the attempt.
|
|
1863
|
+
*/
|
|
1864
|
+
export const zPayOpenInvoicesResponse = zInvoicePaymentResult;
|
|
1865
|
+
/**
|
|
1866
|
+
* Returns a single object containing organization contact and billing address details.
|
|
1867
|
+
*/
|
|
1868
|
+
export const zGetContactResponse = zBillingContact;
|
|
1869
|
+
export const zUpdateContactBody = zBillingContact;
|
|
1870
|
+
/**
|
|
1871
|
+
* Successfully updated. Returns updated organization details.
|
|
1872
|
+
*/
|
|
1873
|
+
export const zUpdateContactResponse = zBillingContact;
|
|
1874
|
+
/**
|
|
1875
|
+
* An array of the applied promotional credits records.
|
|
1876
|
+
*/
|
|
1877
|
+
export const zGetCreditsResponse = z.array(zBillingCredits);
|
|
1878
|
+
export const zRedeemCreditsBody = z.object({
|
|
1879
|
+
code: z.string().optional()
|
|
1880
|
+
});
|
|
1006
1881
|
//# sourceMappingURL=zod.gen.js.map
|