@cloudfleet/sdk 0.0.1-2b670e2 → 0.0.1-371d2d9

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.
Files changed (54) hide show
  1. package/dist/client/client.d.ts +3 -0
  2. package/dist/client/client.d.ts.map +1 -0
  3. package/dist/client/client.js +146 -0
  4. package/dist/client/client.js.map +1 -0
  5. package/dist/client/index.d.ts +8 -0
  6. package/dist/client/index.d.ts.map +1 -0
  7. package/dist/client/index.js +5 -0
  8. package/dist/client/index.js.map +1 -0
  9. package/dist/client/types.d.ts +120 -0
  10. package/dist/client/types.d.ts.map +1 -0
  11. package/dist/client/types.js +2 -0
  12. package/dist/client/types.js.map +1 -0
  13. package/dist/client/utils.d.ts +46 -0
  14. package/dist/client/utils.d.ts.map +1 -0
  15. package/dist/client/utils.js +285 -0
  16. package/dist/client/utils.js.map +1 -0
  17. package/dist/client.gen.d.ts +2 -2
  18. package/dist/client.gen.d.ts.map +1 -1
  19. package/dist/client.gen.js +1 -1
  20. package/dist/client.gen.js.map +1 -1
  21. package/dist/core/auth.d.ts +19 -0
  22. package/dist/core/auth.d.ts.map +1 -0
  23. package/dist/core/auth.js +14 -0
  24. package/dist/core/auth.js.map +1 -0
  25. package/dist/core/bodySerializer.d.ts +18 -0
  26. package/dist/core/bodySerializer.d.ts.map +1 -0
  27. package/dist/core/bodySerializer.js +54 -0
  28. package/dist/core/bodySerializer.js.map +1 -0
  29. package/dist/core/params.d.ts +34 -0
  30. package/dist/core/params.d.ts.map +1 -0
  31. package/dist/core/params.js +88 -0
  32. package/dist/core/params.js.map +1 -0
  33. package/dist/core/pathSerializer.d.ts +34 -0
  34. package/dist/core/pathSerializer.d.ts.map +1 -0
  35. package/dist/core/pathSerializer.js +114 -0
  36. package/dist/core/pathSerializer.js.map +1 -0
  37. package/dist/core/types.d.ts +79 -0
  38. package/dist/core/types.d.ts.map +1 -0
  39. package/dist/core/types.js +2 -0
  40. package/dist/core/types.js.map +1 -0
  41. package/dist/schemas.gen.d.ts +27 -15
  42. package/dist/schemas.gen.d.ts.map +1 -1
  43. package/dist/schemas.gen.js +27 -15
  44. package/dist/schemas.gen.js.map +1 -1
  45. package/dist/sdk.gen.d.ts +48 -48
  46. package/dist/sdk.gen.d.ts.map +1 -1
  47. package/dist/sdk.gen.js.map +1 -1
  48. package/dist/types.gen.d.ts +17 -9
  49. package/dist/types.gen.d.ts.map +1 -1
  50. package/dist/zod.gen.d.ts +2527 -2436
  51. package/dist/zod.gen.d.ts.map +1 -1
  52. package/dist/zod.gen.js +500 -337
  53. package/dist/zod.gen.js.map +1 -1
  54. package/package.json +5 -6
package/dist/zod.gen.js CHANGED
@@ -1,19 +1,19 @@
1
1
  // This file is auto-generated by @hey-api/openapi-ts
2
2
  import { z } from 'zod';
3
3
  export const zBillingContact = z.object({
4
- company: z.string().min(2).max(120).regex(/^(?!\s)(?!.*\s$)(?=.*[a-zA-ZÆÐƎƏƐƔIJŊŒẞÞǷȜæðǝəɛɣijŋœĸſßþƿȝĄƁÇĐƊĘĦĮƘŁØƠŞȘŢȚŦŲƯY̨Ƴąɓçđɗęħįƙłøơşșţțŧųưy̨ƴÁÀÂÄǍĂĀÃÅǺĄÆǼǢƁĆĊĈČÇĎḌĐƊÐÉÈĖÊËĚĔĒĘẸƎƏƐĠĜǦĞĢƔáàâäǎăāãåǻąæǽǣɓćċĉčçďḍđɗðéèėêëěĕēęẹǝəɛġĝǧğģɣĤḤĦIÍÌİÎÏǏĬĪĨĮỊIJĴĶƘĹĻŁĽĿʼNŃN̈ŇÑŅŊÓÒÔÖǑŎŌÕŐỌØǾƠŒĥḥħıíìiîïǐĭīĩįịijĵķƙĸĺļłľŀʼnńn̈ňñņŋóòôöǒŏōõőọøǿơœŔŘŖŚŜŠŞȘṢẞŤŢṬŦÞÚÙÛÜǓŬŪŨŰŮŲỤƯẂẀŴẄǷÝỲŶŸȲỸƳŹŻŽẒŕřŗſśŝšşșṣßťţṭŧþúùûüǔŭūũűůųụưẃẁŵẅƿýỳŷÿȳỹƴźżžẓ0-9])[a-zA-ZÆÐƎƏƐƔIJŊŒẞÞǷȜæðǝəɛɣijŋœĸſßþƿȝĄƁÇĐƊĘĦĮƘŁØƠŞȘŢȚŦŲƯY̨Ƴąɓçđɗęħįƙłøơşșţțŧųưy̨ƴÁÀÂÄǍĂĀÃÅǺĄÆǼǢƁĆĊĈČÇĎḌĐƊÐÉÈĖÊËĚĔĒĘẸƎƏƐĠĜǦĞĢƔáàâäǎăāãåǻąæǽǣɓćċĉčçďḍđɗðéèėêëěĕēęẹǝəɛġĝǧğģɣĤḤĦIÍÌİÎÏǏĬĪĨĮỊIJĴĶƘĹĻŁĽĿʼNŃN̈ŇÑŅŊÓÒÔÖǑŎŌÕŐỌØǾƠŒĥḥħıíìiîïǐĭīĩįịijĵķƙĸĺļłľŀʼnńn̈ňñņŋóòôöǒŏōõőọøǿơœŔŘŖŚŜŠŞȘṢẞŤŢṬŦÞÚÙÛÜǓŬŪŨŰŮŲỤƯẂẀŴẄǷÝỲŶŸȲỸƳŹŻŽẒŕřŗſśŝšşșṣßťţṭŧþúùûüǔŭūũűůųụưẃẁŵẅƿýỳŷÿȳỹƴźżžẓ0-9 -.]{2,}$/).optional(),
5
- address1: z.string().optional(),
6
- address2: z.string().optional(),
7
- postalCode: z.string().optional(),
8
- city: z.string().optional(),
9
- state: z.string().optional(),
10
- country: z.string().optional(),
11
- phone: z.string().optional(),
12
- email: z.string().email(),
4
+ company: z.optional(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,}$/)),
5
+ address1: z.optional(z.string()),
6
+ address2: z.optional(z.string()),
7
+ postalCode: z.optional(z.string()),
8
+ city: z.optional(z.string()),
9
+ state: z.optional(z.string()),
10
+ country: z.optional(z.string()),
11
+ phone: z.optional(z.string()),
12
+ email: z.email(),
13
13
  first_name: z.string(),
14
14
  last_name: z.string(),
15
- tax_id: z.string().optional(),
16
- tax_id_type: z.enum([
15
+ tax_id: z.optional(z.string()),
16
+ tax_id_type: z.optional(z.enum([
17
17
  'ad_nrt',
18
18
  'ae_trn',
19
19
  'al_tin',
@@ -142,21 +142,21 @@ export const zBillingContact = z.object({
142
142
  'zm_tin',
143
143
  'zw_tin',
144
144
  ''
145
- ]).optional()
145
+ ]))
146
146
  });
147
147
  export const zBillingCredits = z.object({
148
- id: z.string().optional(),
149
- date_created: z.string().datetime(),
148
+ id: z.optional(z.string()),
149
+ date_created: z.iso.datetime(),
150
150
  code: z.string(),
151
- description: z.string().optional(),
152
- products: z.array(z.string()).optional(),
151
+ description: z.optional(z.string()),
152
+ products: z.optional(z.array(z.string())),
153
153
  type: z.enum([
154
154
  'credit',
155
155
  'discount'
156
156
  ]),
157
157
  value: z.number(),
158
- billing_period: z.string().datetime(),
159
- value_remaining: z.number().optional()
158
+ billing_period: z.iso.datetime(),
159
+ value_remaining: z.optional(z.number())
160
160
  });
161
161
  export const zChartCreateInput = z.object({
162
162
  values: z.string(),
@@ -198,25 +198,27 @@ export const zChartUpdateInput = z.object({
198
198
  });
199
199
  export const zClusterCreateInput = z.object({
200
200
  name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
201
- region: z.enum([
202
- 'staging',
203
- 'northamerica-central-1'
204
- ]).optional(),
205
201
  tier: z.enum([
206
202
  'basic',
207
203
  'pro'
208
204
  ]),
209
- 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')
205
+ region: z.optional(z.enum([
206
+ 'staging',
207
+ 'northamerica-central-1',
208
+ 'europe-central-1a'
209
+ ])),
210
+ version_channel: z.optional(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')
210
211
  });
211
212
  export const zClusterJoinInformation = z.object({
212
213
  certificate_authority: z.string(),
213
- endpoint: z.string().url(),
214
+ endpoint: z.url(),
214
215
  auth_key: z.string(),
215
216
  bootstrap_token: z.string(),
216
217
  versions: z.object({
217
218
  kubernetes: z.string(),
218
219
  tailscale: z.string(),
219
- containerd: z.string()
220
+ containerd: z.string(),
221
+ nvidia_driver: z.string()
220
222
  }),
221
223
  third_party_api_access_config: z.object({
222
224
  metadata_url: z.string(),
@@ -226,16 +228,17 @@ export const zClusterJoinInformation = z.object({
226
228
  });
227
229
  export const zCluster = z.object({
228
230
  name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
229
- region: z.enum([
230
- 'staging',
231
- 'northamerica-central-1'
232
- ]).optional(),
233
231
  tier: z.enum([
234
232
  'basic',
235
233
  'pro'
236
234
  ]),
237
- version_channel: z.string().regex(/^(x|X|0|[1-9]\d*)\.(x|X|0|[1-9]\d*)\.(x|X|0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/).optional().default('1.x.x-cfke.x'),
238
- id: z.string().uuid(),
235
+ region: z.optional(z.enum([
236
+ 'staging',
237
+ 'northamerica-central-1',
238
+ 'europe-central-1a'
239
+ ])),
240
+ version_channel: z.optional(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'),
241
+ id: z.uuid(),
239
242
  status: z.enum([
240
243
  'active',
241
244
  'deleted',
@@ -244,92 +247,96 @@ export const zCluster = z.object({
244
247
  'failed',
245
248
  'updating'
246
249
  ]),
247
- endpoint: z.union([
248
- z.string().url(),
250
+ endpoint: z.optional(z.union([
251
+ z.url(),
249
252
  z.enum([
250
253
  ''
251
254
  ])
252
- ]).optional(),
253
- certificate_ca: z.string().optional(),
254
- version_current: z.string().optional(),
255
- created_at: z.string().optional(),
256
- updated_at: z.string().optional(),
257
- ready: z.boolean().optional()
255
+ ])),
256
+ certificate_ca: z.optional(z.string()),
257
+ version_current: z.optional(z.string()),
258
+ created_at: z.optional(z.string()),
259
+ updated_at: z.optional(z.string()),
260
+ ready: z.optional(z.boolean())
258
261
  });
259
262
  export const zClusterUpdateInput = z.object({
260
- name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/).optional(),
261
- version_channel: z.string().regex(/^(x|X|0|[1-9]\d*)\.(x|X|0|[1-9]\d*)\.(x|X|0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/).optional()
263
+ name: z.optional(z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)),
264
+ tier: z.enum([
265
+ 'basic',
266
+ 'pro'
267
+ ]),
268
+ version_channel: z.optional(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-]+)*))?$/))
262
269
  });
263
270
  export const zFleetCreateInput = z.object({
264
- limits: z.object({
271
+ limits: z.optional(z.object({
265
272
  cpu: z.number().gte(0)
266
- }).optional(),
267
- gcp: z.object({
268
- enabled: z.boolean().optional().default(true),
273
+ })),
274
+ gcp: z.optional(z.object({
275
+ enabled: z.optional(z.boolean()).default(true),
269
276
  project: z.string()
270
- }).optional(),
271
- hetzner: z.object({
272
- enabled: z.boolean().optional().default(true),
277
+ })),
278
+ hetzner: z.optional(z.object({
279
+ enabled: z.optional(z.boolean()).default(true),
273
280
  apiKey: z.string()
274
- }).optional(),
275
- aws: z.object({
276
- enabled: z.boolean().optional().default(true),
281
+ })),
282
+ aws: z.optional(z.object({
283
+ enabled: z.optional(z.boolean()).default(true),
277
284
  controllerRoleArn: z.string()
278
- }).optional(),
285
+ })),
279
286
  id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
280
287
  });
281
288
  export const zFleet = z.object({
282
- limits: z.object({
289
+ limits: z.optional(z.object({
283
290
  cpu: z.number().gte(0)
284
- }).optional(),
285
- gcp: z.object({
286
- enabled: z.boolean().optional().default(true),
291
+ })),
292
+ gcp: z.optional(z.object({
293
+ enabled: z.optional(z.boolean()).default(true),
287
294
  project: z.string()
288
- }).optional(),
289
- hetzner: z.object({
290
- enabled: z.boolean().optional().default(true),
295
+ })),
296
+ hetzner: z.optional(z.object({
297
+ enabled: z.optional(z.boolean()).default(true),
291
298
  apiKey: z.string()
292
- }).optional(),
293
- aws: z.object({
294
- enabled: z.boolean().optional().default(true),
299
+ })),
300
+ aws: z.optional(z.object({
301
+ enabled: z.optional(z.boolean()).default(true),
295
302
  controllerRoleArn: z.string()
296
- }).optional(),
303
+ })),
297
304
  id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
298
305
  });
299
306
  export const zFleetUpdateInput = z.object({
300
- limits: z.object({
307
+ limits: z.optional(z.object({
301
308
  cpu: z.number().gte(0)
302
- }).optional(),
303
- gcp: z.object({
304
- enabled: z.boolean().optional().default(true),
309
+ })),
310
+ gcp: z.optional(z.object({
311
+ enabled: z.optional(z.boolean()).default(true),
305
312
  project: z.string()
306
- }).optional(),
307
- hetzner: z.object({
308
- enabled: z.boolean().optional().default(true),
313
+ })),
314
+ hetzner: z.optional(z.object({
315
+ enabled: z.optional(z.boolean()).default(true),
309
316
  apiKey: z.string()
310
- }).optional(),
311
- aws: z.object({
312
- enabled: z.boolean().optional().default(true),
317
+ })),
318
+ aws: z.optional(z.object({
319
+ enabled: z.optional(z.boolean()).default(true),
313
320
  controllerRoleArn: z.string()
314
- }).optional()
321
+ }))
315
322
  });
316
323
  export const zInvite = z.object({
317
- id: z.string().optional(),
318
- organization_id: z.string().uuid().optional(),
319
- date_created: z.string().datetime(),
320
- email: z.string().email().optional(),
321
- code: z.string().optional()
324
+ id: z.optional(z.string()),
325
+ organization_id: z.optional(z.uuid()),
326
+ date_created: z.iso.datetime(),
327
+ email: z.optional(z.email()),
328
+ code: z.optional(z.string())
322
329
  });
323
330
  export const zInvoice = z.object({
324
- id: z.string().uuid().optional(),
325
- organizationId: z.string().uuid().optional(),
326
- status: z.enum([
331
+ id: z.optional(z.uuid()),
332
+ organizationId: z.optional(z.uuid()),
333
+ status: z.optional(z.enum([
327
334
  'DRAFT',
328
335
  'COMMITTED',
329
336
  'VOID'
330
- ]).optional(),
331
- amount: z.number().optional(),
332
- currency: z.enum([
337
+ ])),
338
+ amount: z.optional(z.number()),
339
+ currency: z.optional(z.enum([
333
340
  'AED',
334
341
  'AFN',
335
342
  'ALL',
@@ -495,26 +502,26 @@ export const zInvoice = z.object({
495
502
  'ZMW',
496
503
  'ZWD',
497
504
  'BTC'
498
- ]).optional(),
499
- creditAdj: z.number().optional(),
500
- refundAdj: z.number().optional(),
501
- invoiceDate: z.string().optional(),
502
- targetDate: z.string().optional(),
503
- invoiceNumber: z.string().optional(),
504
- balance: z.number().optional(),
505
- bundleKeys: z.string().optional(),
506
- credits: z.array(z.object({
507
- id: z.string().uuid().optional(),
508
- linkedInvoiceItemId: z.string().uuid().optional(),
509
- productName: z.string().optional(),
510
- planName: z.string().optional(),
511
- phaseName: z.string().optional(),
512
- usageName: z.string().optional(),
513
- prettyProductName: z.string().optional(),
514
- prettyPlanName: z.string().optional(),
515
- prettyPhaseName: z.string().optional(),
516
- prettyUsageName: z.string().optional(),
517
- itemType: z.enum([
505
+ ])),
506
+ creditAdj: z.optional(z.number()),
507
+ refundAdj: z.optional(z.number()),
508
+ invoiceDate: z.optional(z.string()),
509
+ targetDate: z.optional(z.string()),
510
+ invoiceNumber: z.optional(z.string()),
511
+ balance: z.optional(z.number()),
512
+ bundleKeys: z.optional(z.string()),
513
+ credits: z.optional(z.array(z.object({
514
+ id: z.optional(z.uuid()),
515
+ linkedInvoiceItemId: z.optional(z.uuid()),
516
+ productName: z.optional(z.string()),
517
+ planName: z.optional(z.string()),
518
+ phaseName: z.optional(z.string()),
519
+ usageName: z.optional(z.string()),
520
+ prettyProductName: z.optional(z.string()),
521
+ prettyPlanName: z.optional(z.string()),
522
+ prettyPhaseName: z.optional(z.string()),
523
+ prettyUsageName: z.optional(z.string()),
524
+ itemType: z.optional(z.enum([
518
525
  'EXTERNAL_CHARGE',
519
526
  'FIXED',
520
527
  'RECURRING',
@@ -525,13 +532,13 @@ export const zInvoice = z.object({
525
532
  'USAGE',
526
533
  'TAX',
527
534
  'PARENT_SUMMARY'
528
- ]).optional(),
529
- description: z.string().optional(),
530
- startDate: z.string().optional(),
531
- endDate: z.string().optional(),
532
- amount: z.number().optional(),
533
- rate: z.number().optional(),
534
- currency: z.enum([
535
+ ])),
536
+ description: z.optional(z.string()),
537
+ startDate: z.optional(z.string()),
538
+ endDate: z.optional(z.string()),
539
+ amount: z.optional(z.number()),
540
+ rate: z.optional(z.number()),
541
+ currency: z.optional(z.enum([
535
542
  'AED',
536
543
  'AFN',
537
544
  'ALL',
@@ -697,24 +704,30 @@ export const zInvoice = z.object({
697
704
  'ZMW',
698
705
  'ZWD',
699
706
  'BTC'
700
- ]).optional(),
701
- quantity: z.number().optional(),
702
- itemDetails: z.string().optional(),
703
- catalogEffectiveDate: z.string().optional(),
704
- childItems: z.array(z.unknown()).optional()
705
- })).optional(),
706
- items: z.array(z.object({
707
- id: z.string().uuid().optional(),
708
- linkedInvoiceItemId: z.string().uuid().optional(),
709
- productName: z.string().optional(),
710
- planName: z.string().optional(),
711
- phaseName: z.string().optional(),
712
- usageName: z.string().optional(),
713
- prettyProductName: z.string().optional(),
714
- prettyPlanName: z.string().optional(),
715
- prettyPhaseName: z.string().optional(),
716
- prettyUsageName: z.string().optional(),
717
- itemType: z.enum([
707
+ ])),
708
+ quantity: z.optional(z.number()),
709
+ itemDetails: z.optional(z.string()),
710
+ catalogEffectiveDate: z.optional(z.string()),
711
+ childItems: z.optional(z.array(z.union([
712
+ z.array(z.unknown()),
713
+ z.boolean(),
714
+ z.number(),
715
+ z.object({}),
716
+ z.string()
717
+ ])))
718
+ }))),
719
+ items: z.optional(z.array(z.object({
720
+ id: z.optional(z.uuid()),
721
+ linkedInvoiceItemId: z.optional(z.uuid()),
722
+ productName: z.optional(z.string()),
723
+ planName: z.optional(z.string()),
724
+ phaseName: z.optional(z.string()),
725
+ usageName: z.optional(z.string()),
726
+ prettyProductName: z.optional(z.string()),
727
+ prettyPlanName: z.optional(z.string()),
728
+ prettyPhaseName: z.optional(z.string()),
729
+ prettyUsageName: z.optional(z.string()),
730
+ itemType: z.optional(z.enum([
718
731
  'EXTERNAL_CHARGE',
719
732
  'FIXED',
720
733
  'RECURRING',
@@ -725,13 +738,13 @@ export const zInvoice = z.object({
725
738
  'USAGE',
726
739
  'TAX',
727
740
  'PARENT_SUMMARY'
728
- ]).optional(),
729
- description: z.string().optional(),
730
- startDate: z.string().optional(),
731
- endDate: z.string().optional(),
732
- amount: z.number().optional(),
733
- rate: z.number().optional(),
734
- currency: z.enum([
741
+ ])),
742
+ description: z.optional(z.string()),
743
+ startDate: z.optional(z.string()),
744
+ endDate: z.optional(z.string()),
745
+ amount: z.optional(z.number()),
746
+ rate: z.optional(z.number()),
747
+ currency: z.optional(z.enum([
735
748
  'AED',
736
749
  'AFN',
737
750
  'ALL',
@@ -897,12 +910,18 @@ export const zInvoice = z.object({
897
910
  'ZMW',
898
911
  'ZWD',
899
912
  'BTC'
900
- ]).optional(),
901
- quantity: z.number().optional(),
902
- itemDetails: z.string().optional(),
903
- catalogEffectiveDate: z.string().optional(),
904
- childItems: z.array(z.unknown()).optional()
905
- })).optional()
913
+ ])),
914
+ quantity: z.optional(z.number()),
915
+ itemDetails: z.optional(z.string()),
916
+ catalogEffectiveDate: z.optional(z.string()),
917
+ childItems: z.optional(z.array(z.union([
918
+ z.array(z.unknown()),
919
+ z.boolean(),
920
+ z.number(),
921
+ z.object({}),
922
+ z.string()
923
+ ])))
924
+ })))
906
925
  });
907
926
  export const zMarketplaceListing = z.object({
908
927
  id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
@@ -920,22 +939,22 @@ export const zMarketplaceListing = z.object({
920
939
  }))
921
940
  });
922
941
  export const zOrganizationCreateInput = z.object({
923
- email: z.string().email(),
942
+ email: z.email(),
924
943
  first_name: z.string(),
925
944
  last_name: z.string(),
926
945
  company_name: z.string().min(2).max(120).regex(/^(?!\s)(?!.*\s$)(?=.*[a-zA-ZÆÐƎƏƐƔIJŊŒẞÞǷȜæðǝəɛɣijŋœĸſßþƿȝĄƁÇĐƊĘĦĮƘŁØƠŞȘŢȚŦŲƯY̨Ƴąɓçđɗęħįƙłøơşșţțŧųưy̨ƴÁÀÂÄǍĂĀÃÅǺĄÆǼǢƁĆĊĈČÇĎḌĐƊÐÉÈĖÊËĚĔĒĘẸƎƏƐĠĜǦĞĢƔáàâäǎăāãåǻąæǽǣɓćċĉčçďḍđɗðéèėêëěĕēęẹǝəɛġĝǧğģɣĤḤĦIÍÌİÎÏǏĬĪĨĮỊIJĴĶƘĹĻŁĽĿʼNŃN̈ŇÑŅŊÓÒÔÖǑŎŌÕŐỌØǾƠŒĥḥħıíìiîïǐĭīĩįịijĵķƙĸĺļłľŀʼnńn̈ňñņŋóòôöǒŏōõőọøǿơœŔŘŖŚŜŠŞȘṢẞŤŢṬŦÞÚÙÛÜǓŬŪŨŰŮŲỤƯẂẀŴẄǷÝỲŶŸȲỸƳŹŻŽẒŕřŗſśŝšşșṣßťţṭŧþúùûüǔŭūũűůųụưẃẁŵẅƿýỳŷÿȳỹƴźżžẓ0-9])[a-zA-ZÆÐƎƏƐƔIJŊŒẞÞǷȜæðǝəɛɣijŋœĸſßþƿȝĄƁÇĐƊĘĦĮƘŁØƠŞȘŢȚŦŲƯY̨Ƴąɓçđɗęħįƙłøơşșţțŧųưy̨ƴÁÀÂÄǍĂĀÃÅǺĄÆǼǢƁĆĊĈČÇĎḌĐƊÐÉÈĖÊËĚĔĒĘẸƎƏƐĠĜǦĞĢƔáàâäǎăāãåǻąæǽǣɓćċĉčçďḍđɗðéèėêëěĕēęẹǝəɛġĝǧğģɣĤḤĦIÍÌİÎÏǏĬĪĨĮỊIJĴĶƘĹĻŁĽĿʼNŃN̈ŇÑŅŊÓÒÔÖǑŎŌÕŐỌØǾƠŒĥḥħıíìiîïǐĭīĩįịijĵķƙĸĺļłľŀʼnńn̈ňñņŋóòôöǒŏōõőọøǿơœŔŘŖŚŜŠŞȘṢẞŤŢṬŦÞÚÙÛÜǓŬŪŨŰŮŲỤƯẂẀŴẄǷÝỲŶŸȲỸƳŹŻŽẒŕřŗſśŝšşșṣßťţṭŧþúùûüǔŭūũűůųụưẃẁŵẅƿýỳŷÿȳỹƴźżžẓ0-9 -.]{2,}$/),
927
946
  password: z.string().min(8)
928
947
  });
929
948
  export const zOrganization = z.object({
930
- id: z.string().uuid(),
931
- name: z.string().min(2).max(120).optional(),
932
- date_created: z.string().datetime(),
949
+ id: z.uuid(),
950
+ name: z.optional(z.string().min(2).max(120)),
951
+ date_created: z.iso.datetime(),
933
952
  quota: z.object({
934
- basic_clusters_max: z.number().int().gte(0),
935
- basic_clusters_available: z.number().int(),
936
- pro_clusters_max: z.number().int().gte(0),
937
- pro_clusters_available: z.number().int(),
938
- fleets_max: z.number().int().gte(0),
953
+ basic_clusters_max: z.int().gte(0),
954
+ basic_clusters_available: z.int(),
955
+ pro_clusters_max: z.int().gte(0),
956
+ pro_clusters_available: z.int(),
957
+ fleets_max: z.int().gte(0),
939
958
  cluster_tiers: z.array(z.string()).min(0),
940
959
  regions: z.array(z.string()).min(1),
941
960
  versions: z.array(z.object({
@@ -950,14 +969,14 @@ export const zOrganization = z.object({
950
969
  ])
951
970
  });
952
971
  export const zPaymentMethod = z.object({
953
- id: z.string().uuid(),
972
+ id: z.uuid(),
954
973
  setup: z.boolean(),
955
974
  type: z.enum([
956
975
  'card'
957
976
  ]),
958
977
  last4: z.string(),
959
- exp_month: z.number().int().gte(1).lte(12),
960
- exp_year: z.number().int().gte(2024),
978
+ exp_month: z.int().gte(1).lte(12),
979
+ exp_year: z.int().gte(2024),
961
980
  brand: z.enum([
962
981
  'amex',
963
982
  'diners',
@@ -983,20 +1002,20 @@ export const zToken = z.object({
983
1002
  'Administrator',
984
1003
  'User'
985
1004
  ]),
986
- id: z.string().optional(),
987
- secret: z.string().optional(),
988
- date_created: z.string().datetime()
1005
+ id: z.optional(z.string()),
1006
+ secret: z.optional(z.string()),
1007
+ date_created: z.iso.datetime()
989
1008
  });
990
1009
  export const zTokenUpdateInput = z.object({
991
- name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/).optional(),
992
- role: z.enum([
1010
+ name: z.optional(z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)),
1011
+ role: z.optional(z.enum([
993
1012
  'Administrator',
994
1013
  'User'
995
- ]).optional()
1014
+ ]))
996
1015
  });
997
1016
  export const zUsage = z.object({
998
- hour: z.string().optional(),
999
- cluster_id: z.string().uuid(),
1017
+ hour: z.optional(z.string()),
1018
+ cluster_id: z.uuid(),
1000
1019
  cluster_tier: z.enum([
1001
1020
  'basic',
1002
1021
  'pro',
@@ -1039,22 +1058,22 @@ export const zUsage = z.object({
1039
1058
  ])
1040
1059
  });
1041
1060
  export const zUserCreateInput = z.object({
1042
- email: z.string().email(),
1061
+ email: z.email(),
1043
1062
  first_name: z.string().min(1).max(50),
1044
1063
  last_name: z.string().min(1).max(50),
1045
1064
  code: z.string(),
1046
1065
  password: z.string().min(8),
1047
- status: z.enum([
1066
+ status: z.optional(z.enum([
1048
1067
  'active',
1049
1068
  'inactive'
1050
- ]).optional(),
1051
- role: z.enum([
1069
+ ])),
1070
+ role: z.optional(z.enum([
1052
1071
  'Administrator',
1053
1072
  'User'
1054
- ]).optional()
1073
+ ]))
1055
1074
  });
1056
1075
  export const zUser = z.object({
1057
- email: z.string().email(),
1076
+ email: z.email(),
1058
1077
  first_name: z.string().min(1).max(50),
1059
1078
  last_name: z.string().min(1).max(50),
1060
1079
  role: z.enum([
@@ -1065,352 +1084,496 @@ export const zUser = z.object({
1065
1084
  'active',
1066
1085
  'inactive'
1067
1086
  ]),
1068
- id: z.string().uuid(),
1069
- date_created: z.string().datetime()
1087
+ id: z.uuid(),
1088
+ date_created: z.iso.datetime()
1070
1089
  });
1071
1090
  export const zUserUpdateInput = z.object({
1072
- email: z.string().email().optional(),
1073
- first_name: z.string().min(1).max(50).optional(),
1074
- last_name: z.string().min(1).max(50).optional(),
1075
- role: z.enum([
1091
+ email: z.optional(z.email()),
1092
+ first_name: z.optional(z.string().min(1).max(50)),
1093
+ last_name: z.optional(z.string().min(1).max(50)),
1094
+ role: z.optional(z.enum([
1076
1095
  'Administrator',
1077
1096
  'User'
1078
- ]).optional(),
1079
- status: z.enum([
1097
+ ])),
1098
+ status: z.optional(z.enum([
1080
1099
  'active',
1081
1100
  'inactive'
1082
- ]).optional()
1101
+ ]))
1102
+ });
1103
+ export const zGetUsageData = z.object({
1104
+ body: z.optional(z.never()),
1105
+ path: z.optional(z.never()),
1106
+ query: z.optional(z.never())
1083
1107
  });
1084
1108
  /**
1085
1109
  * An array of usage records.
1086
1110
  */
1087
1111
  export const zGetUsageResponse = z.array(zUsage);
1112
+ export const zGetBalanceData = z.object({
1113
+ body: z.optional(z.never()),
1114
+ path: z.optional(z.never()),
1115
+ query: z.optional(z.never())
1116
+ });
1088
1117
  /**
1089
1118
  * Current balance of the organization in USD as a floating-point number.
1090
1119
  */
1091
1120
  export const zGetBalanceResponse = z.number();
1121
+ export const zGetPaymentMethodData = z.object({
1122
+ body: z.optional(z.never()),
1123
+ path: z.optional(z.never()),
1124
+ query: z.optional(z.never())
1125
+ });
1092
1126
  /**
1093
1127
  * Redacted payment card information.
1094
1128
  */
1095
1129
  export const zGetPaymentMethodResponse = zPaymentMethod;
1130
+ export const zGetPaymentMethodSecretData = z.object({
1131
+ body: z.optional(z.never()),
1132
+ path: z.optional(z.never()),
1133
+ query: z.optional(z.never())
1134
+ });
1096
1135
  /**
1097
1136
  * 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.
1098
1137
  *
1099
1138
  */
1100
1139
  export const zGetPaymentMethodSecretResponse = z.object({
1101
- id: z.string().optional()
1140
+ id: z.optional(z.string())
1141
+ });
1142
+ export const zListInvoicesData = z.object({
1143
+ body: z.optional(z.never()),
1144
+ path: z.optional(z.never()),
1145
+ query: z.object({
1146
+ start_date: z.string(),
1147
+ end_date: z.string()
1148
+ })
1102
1149
  });
1103
- /**
1104
- * Start date for the usage. Date of oldest data point to retrieve.
1105
- */
1106
- export const zListInvoicesParameterStartDate = z.string();
1107
- /**
1108
- * End date for the usage. Date of newest data point to retrieve.
1109
- */
1110
- export const zListInvoicesParameterEndDate = z.string();
1111
1150
  /**
1112
1151
  * An array of usage records.
1113
1152
  */
1114
1153
  export const zListInvoicesResponse = z.array(zInvoice);
1115
- /**
1116
- * Unique invoice identifier. UUID v4 string in canonical form
1117
- */
1118
- export const zGetInvoiceParameterId = z.string();
1154
+ export const zGetInvoiceData = z.object({
1155
+ body: z.optional(z.never()),
1156
+ path: z.object({
1157
+ id: z.string()
1158
+ }),
1159
+ query: z.optional(z.never())
1160
+ });
1119
1161
  /**
1120
1162
  * Returns a single Invoice HTML representation under `html` property.
1121
1163
  */
1122
1164
  export const zGetInvoiceResponse = z.object({
1123
- html: z.string().optional()
1165
+ html: z.optional(z.string())
1166
+ });
1167
+ export const zGetContactData = z.object({
1168
+ body: z.optional(z.never()),
1169
+ path: z.optional(z.never()),
1170
+ query: z.optional(z.never())
1124
1171
  });
1125
1172
  /**
1126
1173
  * Returns a single object containing organization contact and billing address details.
1127
1174
  */
1128
1175
  export const zGetContactResponse = zBillingContact;
1129
- export const zUpdateContactData = zBillingContact;
1176
+ export const zUpdateContactData = z.object({
1177
+ body: zBillingContact,
1178
+ path: z.optional(z.never()),
1179
+ query: z.optional(z.never())
1180
+ });
1130
1181
  /**
1131
1182
  * Successfully updated. Returns updated organization details.
1132
1183
  */
1133
1184
  export const zUpdateContactResponse = zBillingContact;
1185
+ export const zGetCreditsData = z.object({
1186
+ body: z.optional(z.never()),
1187
+ path: z.optional(z.never()),
1188
+ query: z.optional(z.never())
1189
+ });
1134
1190
  /**
1135
1191
  * An array of the applied promotional credits records.
1136
1192
  */
1137
1193
  export const zGetCreditsResponse = z.array(zBillingCredits);
1138
1194
  export const zRedeemCreditsData = z.object({
1139
- code: z.string().optional()
1195
+ body: z.object({
1196
+ code: z.optional(z.string())
1197
+ }),
1198
+ path: z.optional(z.never()),
1199
+ query: z.optional(z.never())
1200
+ });
1201
+ export const zListChartsData = z.object({
1202
+ body: z.optional(z.never()),
1203
+ path: z.object({
1204
+ cluster_id: z.string()
1205
+ }),
1206
+ query: z.optional(z.never())
1140
1207
  });
1141
- /**
1142
- * Unique identifier of the cluster. UUID v4 string in canonical form
1143
- */
1144
- export const zListChartsParameterClusterId = z.string();
1145
1208
  /**
1146
1209
  * An array of charts
1147
1210
  */
1148
1211
  export const zListChartsResponse = z.array(zChart);
1149
- export const zCreateChartData = zChartCreateInput;
1150
- /**
1151
- * Unique identifier of the cluster. UUID v4 string in canonical form
1152
- */
1153
- export const zCreateChartParameterClusterId = z.string();
1212
+ export const zCreateChartData = z.object({
1213
+ body: zChartCreateInput,
1214
+ path: z.object({
1215
+ cluster_id: z.string()
1216
+ }),
1217
+ query: z.optional(z.never())
1218
+ });
1154
1219
  /**
1155
1220
  * Successfully created. Returns created Chart ID.
1156
1221
  */
1157
1222
  export const zCreateChartResponse = z.string();
1158
- /**
1159
- * Unique identifier of the cluster. UUID v4 string in canonical form
1160
- */
1161
- export const zDeleteChartParameterClusterId = z.string();
1162
- /**
1163
- * Chart deployment name as the unique identifier of the chart.
1164
- */
1165
- export const zDeleteChartParameterChartName = z.string();
1223
+ export const zDeleteChartData = z.object({
1224
+ body: z.optional(z.never()),
1225
+ path: z.object({
1226
+ cluster_id: z.string(),
1227
+ chart_name: z.string()
1228
+ }),
1229
+ query: z.optional(z.never())
1230
+ });
1166
1231
  /**
1167
1232
  * Successfully deleted.
1168
1233
  */
1169
1234
  export const zDeleteChartResponse = z.string();
1170
- /**
1171
- * Unique identifier of the cluster. UUID v4 string in canonical form
1172
- */
1173
- export const zGetChartParameterClusterId = z.string();
1174
- /**
1175
- * Chart deployment name as the unique identifier of the chart.
1176
- */
1177
- export const zGetChartParameterChartName = z.string();
1235
+ export const zGetChartData = z.object({
1236
+ body: z.optional(z.never()),
1237
+ path: z.object({
1238
+ cluster_id: z.string(),
1239
+ chart_name: z.string()
1240
+ }),
1241
+ query: z.optional(z.never())
1242
+ });
1178
1243
  /**
1179
1244
  * Returns a single object containing chart details.
1180
1245
  */
1181
1246
  export const zGetChartResponse = zChart;
1182
- export const zUpdateChartData = zChartUpdateInput;
1183
- /**
1184
- * Unique identifier of the cluster. UUID v4 string in canonical form
1185
- */
1186
- export const zUpdateChartParameterClusterId = z.string();
1187
- /**
1188
- * Chart deployment name as the unique identifier of the chart.
1189
- */
1190
- export const zUpdateChartParameterChartName = z.string();
1247
+ export const zUpdateChartData = z.object({
1248
+ body: zChartUpdateInput,
1249
+ path: z.object({
1250
+ cluster_id: z.string(),
1251
+ chart_name: z.string()
1252
+ }),
1253
+ query: z.optional(z.never())
1254
+ });
1191
1255
  /**
1192
1256
  * Successfully updated.
1193
1257
  */
1194
1258
  export const zUpdateChartResponse = z.string();
1195
- /**
1196
- * Unique identifier of the cluster. UUID v4 string in canonical form
1197
- */
1198
- export const zListFleetsParameterClusterId = z.string();
1259
+ export const zListFleetsData = z.object({
1260
+ body: z.optional(z.never()),
1261
+ path: z.object({
1262
+ cluster_id: z.string()
1263
+ }),
1264
+ query: z.optional(z.never())
1265
+ });
1199
1266
  /**
1200
1267
  * An array of fleets
1201
1268
  */
1202
1269
  export const zListFleetsResponse = z.array(zFleet);
1203
- export const zCreateFleetData = zFleetCreateInput;
1204
- /**
1205
- * Unique identifier of the cluster. UUID v4 string in canonical form
1206
- */
1207
- export const zCreateFleetParameterClusterId = z.string();
1270
+ export const zCreateFleetData = z.object({
1271
+ body: zFleetCreateInput,
1272
+ path: z.object({
1273
+ cluster_id: z.string()
1274
+ }),
1275
+ query: z.optional(z.never())
1276
+ });
1208
1277
  /**
1209
1278
  * Successfully created. Returns created Fleet ID.
1210
1279
  */
1211
1280
  export const zCreateFleetResponse = z.string();
1212
- /**
1213
- * Unique identifier of the cluster. UUID v4 string in canonical form
1214
- */
1215
- export const zDeleteFleetParameterClusterId = z.string();
1216
- /**
1217
- * Unique identifier of the fleet. UUID v4 string in canonical form
1218
- */
1219
- export const zDeleteFleetParameterFleetName = z.string();
1281
+ export const zDeleteFleetData = z.object({
1282
+ body: z.optional(z.never()),
1283
+ path: z.object({
1284
+ cluster_id: z.string(),
1285
+ fleet_name: z.string()
1286
+ }),
1287
+ query: z.optional(z.never())
1288
+ });
1220
1289
  /**
1221
1290
  * Successfully deleted.
1222
1291
  */
1223
1292
  export const zDeleteFleetResponse = z.string();
1224
- /**
1225
- * Unique identifier of the cluster. UUID v4 string in canonical form
1226
- */
1227
- export const zGetFleetParameterClusterId = z.string();
1228
- /**
1229
- * Unique identifier of the fleet. UUID v4 string in canonical form
1230
- */
1231
- export const zGetFleetParameterFleetName = z.string();
1293
+ export const zGetFleetData = z.object({
1294
+ body: z.optional(z.never()),
1295
+ path: z.object({
1296
+ cluster_id: z.string(),
1297
+ fleet_name: z.string()
1298
+ }),
1299
+ query: z.optional(z.never())
1300
+ });
1232
1301
  /**
1233
1302
  * Returns a single object containing fleet details.
1234
1303
  */
1235
1304
  export const zGetFleetResponse = zFleet;
1236
- export const zUpdateFleetData = zFleetUpdateInput;
1237
- /**
1238
- * Unique identifier of the cluster. UUID v4 string in canonical form
1239
- */
1240
- export const zUpdateFleetParameterClusterId = z.string();
1241
- /**
1242
- * Unique identifier of the fleet. UUID v4 string in canonical form
1243
- */
1244
- export const zUpdateFleetParameterFleetName = z.string();
1305
+ export const zUpdateFleetData = z.object({
1306
+ body: zFleetUpdateInput,
1307
+ path: z.object({
1308
+ cluster_id: z.string(),
1309
+ fleet_name: z.string()
1310
+ }),
1311
+ query: z.optional(z.never())
1312
+ });
1245
1313
  /**
1246
1314
  * Successfully updated.
1247
1315
  */
1248
1316
  export const zUpdateFleetResponse = z.string();
1249
- /**
1250
- * Unique identifier of the cluster. UUID v4 string in canonical form
1251
- */
1252
- export const zQueryClusterParameterClusterId = z.string();
1317
+ export const zQueryClusterData = z.object({
1318
+ body: z.optional(z.never()),
1319
+ path: z.object({
1320
+ cluster_id: z.string()
1321
+ }),
1322
+ query: z.optional(z.never())
1323
+ });
1324
+ export const zListClustersData = z.object({
1325
+ body: z.optional(z.never()),
1326
+ path: z.optional(z.never()),
1327
+ query: z.optional(z.never())
1328
+ });
1253
1329
  /**
1254
1330
  * An array of clusters
1255
1331
  */
1256
1332
  export const zListClustersResponse = z.array(zCluster);
1257
- export const zCreateClusterData = zClusterCreateInput;
1333
+ export const zCreateClusterData = z.object({
1334
+ body: zClusterCreateInput,
1335
+ path: z.optional(z.never()),
1336
+ query: z.optional(z.never())
1337
+ });
1258
1338
  /**
1259
1339
  * Successfully created. Returns created Cluster ID.
1260
1340
  */
1261
1341
  export const zCreateClusterResponse = z.string();
1262
- /**
1263
- * Unique identifier of the cluster. UUID v4 string in canonical form
1264
- */
1265
- export const zDeleteClusterParameterClusterId = z.string();
1342
+ export const zDeleteClusterData = z.object({
1343
+ body: z.optional(z.never()),
1344
+ path: z.object({
1345
+ cluster_id: z.string()
1346
+ }),
1347
+ query: z.optional(z.never())
1348
+ });
1266
1349
  /**
1267
1350
  * Successfully deleted.
1268
1351
  */
1269
1352
  export const zDeleteClusterResponse = z.string();
1270
- /**
1271
- * Unique identifier of the cluster. UUID v4 string in canonical form
1272
- */
1273
- export const zGetClusterParameterClusterId = z.string();
1353
+ export const zGetClusterData = z.object({
1354
+ body: z.optional(z.never()),
1355
+ path: z.object({
1356
+ cluster_id: z.string()
1357
+ }),
1358
+ query: z.optional(z.never())
1359
+ });
1274
1360
  /**
1275
1361
  * Returns a single object containing cluster details.
1276
1362
  */
1277
1363
  export const zGetClusterResponse = zCluster;
1278
- export const zUpdateClusterData = zClusterUpdateInput;
1279
- /**
1280
- * Unique identifier of the cluster. UUID v4 string in canonical form
1281
- */
1282
- export const zUpdateClusterParameterClusterId = z.string();
1364
+ export const zUpdateClusterData = z.object({
1365
+ body: zClusterUpdateInput,
1366
+ path: z.object({
1367
+ cluster_id: z.string()
1368
+ }),
1369
+ query: z.optional(z.never())
1370
+ });
1283
1371
  /**
1284
1372
  * Successfully updated. Returns updated cluster details.
1285
1373
  */
1286
1374
  export const zUpdateClusterResponse = zCluster;
1287
- /**
1288
- * Unique identifier of the cluster. UUID v4 string in canonical form
1289
- */
1290
- export const zGetJoinInformationParameterClusterId = z.string();
1375
+ export const zGetJoinInformationData = z.object({
1376
+ body: z.optional(z.never()),
1377
+ path: z.object({
1378
+ cluster_id: z.string()
1379
+ }),
1380
+ query: z.optional(z.never())
1381
+ });
1291
1382
  /**
1292
1383
  * An object of cluster join information
1293
1384
  */
1294
- export const zGetJoinInformationResponse = zCluster;
1385
+ export const zGetJoinInformationResponse = zClusterJoinInformation;
1386
+ export const zListInvitesData = z.object({
1387
+ body: z.optional(z.never()),
1388
+ path: z.optional(z.never()),
1389
+ query: z.optional(z.never())
1390
+ });
1295
1391
  /**
1296
1392
  * An array of invites
1297
1393
  */
1298
1394
  export const zListInvitesResponse = z.array(zInvite);
1299
1395
  export const zCreateInviteData = z.object({
1300
- email: z.string().optional()
1396
+ body: z.object({
1397
+ email: z.optional(z.string())
1398
+ }),
1399
+ path: z.optional(z.never()),
1400
+ query: z.optional(z.never())
1301
1401
  });
1302
1402
  /**
1303
1403
  * Successfully created. Returns created invite details.
1304
1404
  */
1305
1405
  export const zCreateInviteResponse = zInvite;
1306
- /**
1307
- * Invitation code
1308
- */
1309
- export const zGetInviteParameterCode = z.string();
1406
+ export const zGetInviteData = z.object({
1407
+ body: z.optional(z.never()),
1408
+ path: z.object({
1409
+ code: z.string()
1410
+ }),
1411
+ query: z.optional(z.never())
1412
+ });
1310
1413
  /**
1311
1414
  * Returns a single object containing invite details.
1312
1415
  */
1313
1416
  export const zGetInviteResponse = zInvite;
1314
- /**
1315
- * User email address
1316
- */
1317
- export const zDeleteInviteParameterEmail = z.string();
1417
+ export const zDeleteInviteData = z.object({
1418
+ body: z.optional(z.never()),
1419
+ path: z.object({
1420
+ email: z.string()
1421
+ }),
1422
+ query: z.optional(z.never())
1423
+ });
1424
+ export const zListMarketplaceChartsData = z.object({
1425
+ body: z.optional(z.never()),
1426
+ path: z.optional(z.never()),
1427
+ query: z.optional(z.never())
1428
+ });
1318
1429
  /**
1319
1430
  * An array of chart listings in the marketplace.
1320
1431
  */
1321
1432
  export const zListMarketplaceChartsResponse = z.array(zMarketplaceListing);
1322
- /**
1323
- * Unique identifier of the chart listing in the marketplace.
1324
- */
1325
- export const zGetMarketplaceChartParameterListingId = z.string();
1433
+ export const zGetMarketplaceChartData = z.object({
1434
+ body: z.optional(z.never()),
1435
+ path: z.object({
1436
+ listing_id: z.string()
1437
+ }),
1438
+ query: z.optional(z.never())
1439
+ });
1326
1440
  /**
1327
1441
  * Returns an object containing the chart listing details.
1328
1442
  */
1329
1443
  export const zGetMarketplaceChartResponse = zMarketplaceListing;
1444
+ export const zGetOrganizationData = z.object({
1445
+ body: z.optional(z.never()),
1446
+ path: z.optional(z.never()),
1447
+ query: z.optional(z.never())
1448
+ });
1330
1449
  /**
1331
1450
  * Returns a single object containing organization details.
1332
1451
  */
1333
1452
  export const zGetOrganizationResponse = zOrganization;
1334
- export const zCreateOrganizationData = zOrganizationCreateInput;
1453
+ export const zCreateOrganizationData = z.object({
1454
+ body: zOrganizationCreateInput,
1455
+ path: z.optional(z.never()),
1456
+ query: z.optional(z.never())
1457
+ });
1458
+ export const zListTokensData = z.object({
1459
+ body: z.optional(z.never()),
1460
+ path: z.optional(z.never()),
1461
+ query: z.optional(z.never())
1462
+ });
1335
1463
  /**
1336
1464
  * Returns a list of access token details with masked secrets.
1337
1465
  */
1338
1466
  export const zListTokensResponse = z.array(zToken);
1339
- export const zCreateTokenData = zTokenCreateInput;
1467
+ export const zCreateTokenData = z.object({
1468
+ body: zTokenCreateInput,
1469
+ path: z.optional(z.never()),
1470
+ query: z.optional(z.never())
1471
+ });
1340
1472
  /**
1341
1473
  * Successfully created. Returns created token details with unmasked/raw secret.
1342
1474
  */
1343
1475
  export const zCreateTokenResponse = zToken;
1344
- /**
1345
- * Generated unique identifier of the access token.
1346
- */
1347
- export const zDeleteTokenParameterTokenId = z.string();
1348
- /**
1349
- * Generated unique identifier of the access token.
1350
- */
1351
- export const zGetTokenParameterTokenId = z.string();
1476
+ export const zDeleteTokenData = z.object({
1477
+ body: z.optional(z.never()),
1478
+ path: z.object({
1479
+ token_id: z.string()
1480
+ }),
1481
+ query: z.optional(z.never())
1482
+ });
1483
+ export const zGetTokenData = z.object({
1484
+ body: z.optional(z.never()),
1485
+ path: z.object({
1486
+ token_id: z.string()
1487
+ }),
1488
+ query: z.optional(z.never())
1489
+ });
1352
1490
  /**
1353
1491
  * Returns access token details with masked secret.
1354
1492
  */
1355
1493
  export const zGetTokenResponse = zToken;
1356
- export const zUpdateTokenData = zTokenUpdateInput;
1357
- /**
1358
- * Generated unique identifier of the access token.
1359
- */
1360
- export const zUpdateTokenParameterTokenId = z.string();
1494
+ export const zUpdateTokenData = z.object({
1495
+ body: zTokenUpdateInput,
1496
+ path: z.object({
1497
+ token_id: z.string()
1498
+ }),
1499
+ query: z.optional(z.never())
1500
+ });
1361
1501
  /**
1362
1502
  * Successfully updated. Returns updated token details with masked secret.
1363
1503
  */
1364
1504
  export const zUpdateTokenResponse = zToken;
1365
- /**
1366
- * Generated unique identifier of the access token.
1367
- */
1368
- export const zRegenerateTokenParameterTokenId = z.string();
1505
+ export const zRegenerateTokenData = z.object({
1506
+ body: z.optional(z.never()),
1507
+ path: z.object({
1508
+ token_id: z.string()
1509
+ }),
1510
+ query: z.optional(z.never())
1511
+ });
1369
1512
  /**
1370
1513
  * Successfully updated. Returns updated token details with unmasked / raw secret.
1371
1514
  */
1372
1515
  export const zRegenerateTokenResponse = zToken;
1373
- /**
1374
- * User email address.
1375
- */
1376
- export const zListUserOrganizationsParameterEmail = z.string();
1516
+ export const zListUserOrganizationsData = z.object({
1517
+ body: z.optional(z.never()),
1518
+ path: z.object({
1519
+ email: z.string()
1520
+ }),
1521
+ query: z.optional(z.never())
1522
+ });
1377
1523
  /**
1378
1524
  * An array of organizations the user belongs to.
1379
1525
  */
1380
1526
  export const zListUserOrganizationsResponse = z.array(z.object({
1381
- realm: z.string().optional(),
1382
- displayName: z.string().optional()
1527
+ realm: z.optional(z.string()),
1528
+ displayName: z.optional(z.string())
1383
1529
  }));
1530
+ export const zListUsersData = z.object({
1531
+ body: z.optional(z.never()),
1532
+ path: z.optional(z.never()),
1533
+ query: z.optional(z.never())
1534
+ });
1384
1535
  /**
1385
1536
  * An array of users
1386
1537
  */
1387
1538
  export const zListUsersResponse = z.array(zUser);
1388
- export const zCreateUserData = zUserCreateInput;
1539
+ export const zCreateUserData = z.object({
1540
+ body: zUserCreateInput,
1541
+ path: z.optional(z.never()),
1542
+ query: z.optional(z.never())
1543
+ });
1389
1544
  /**
1390
1545
  * Successfully created. Returns created user details.
1391
1546
  */
1392
1547
  export const zCreateUserResponse = zUser;
1393
- /**
1394
- * Unique user identifier. UUID v4 string in canonical form
1395
- */
1396
- export const zDeleteUserParameterUserId = z.string();
1548
+ export const zDeleteUserData = z.object({
1549
+ body: z.optional(z.never()),
1550
+ path: z.object({
1551
+ user_id: z.string()
1552
+ }),
1553
+ query: z.optional(z.never())
1554
+ });
1397
1555
  /**
1398
1556
  * User profile information
1399
1557
  */
1400
1558
  export const zDeleteUserResponse = zUser;
1401
- /**
1402
- * Unique user identifier. UUID v4 string in canonical form
1403
- */
1404
- export const zGetUserParameterUserId = z.string();
1559
+ export const zGetUserData = z.object({
1560
+ body: z.optional(z.never()),
1561
+ path: z.object({
1562
+ user_id: z.string()
1563
+ }),
1564
+ query: z.optional(z.never())
1565
+ });
1405
1566
  /**
1406
1567
  * User profile information
1407
1568
  */
1408
1569
  export const zGetUserResponse = zUser;
1409
- export const zUpdateUserData = zUserUpdateInput;
1410
- /**
1411
- * Unique user identifier. UUID v4 string in canonical form
1412
- */
1413
- export const zUpdateUserParameterUserId = z.string();
1570
+ export const zUpdateUserData = z.object({
1571
+ body: zUserUpdateInput,
1572
+ path: z.object({
1573
+ user_id: z.string()
1574
+ }),
1575
+ query: z.optional(z.never())
1576
+ });
1414
1577
  /**
1415
1578
  * Successfully created. Returns created user details.
1416
1579
  */