@cloudfleet/sdk 0.0.1-6654ae9 → 0.0.1-674f1a2

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 (68) hide show
  1. package/dist/client/client.gen.d.ts +3 -0
  2. package/dist/client/client.gen.d.ts.map +1 -0
  3. package/dist/client/client.gen.js +205 -0
  4. package/dist/client/client.gen.js.map +1 -0
  5. package/dist/client/index.d.ts +9 -0
  6. package/dist/client/index.d.ts.map +1 -0
  7. package/dist/client/index.js +7 -0
  8. package/dist/client/index.js.map +1 -0
  9. package/dist/client/types.gen.d.ts +125 -0
  10. package/dist/client/types.gen.d.ts.map +1 -0
  11. package/dist/client/types.gen.js +3 -0
  12. package/dist/client/types.gen.js.map +1 -0
  13. package/dist/client/utils.gen.d.ts +34 -0
  14. package/dist/client/utils.gen.d.ts.map +1 -0
  15. package/dist/client/utils.gen.js +231 -0
  16. package/dist/client/utils.gen.js.map +1 -0
  17. package/dist/client.gen.d.ts +4 -4
  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.gen.d.ts +19 -0
  22. package/dist/core/auth.gen.d.ts.map +1 -0
  23. package/dist/core/auth.gen.js +15 -0
  24. package/dist/core/auth.gen.js.map +1 -0
  25. package/dist/core/bodySerializer.gen.d.ts +18 -0
  26. package/dist/core/bodySerializer.gen.d.ts.map +1 -0
  27. package/dist/core/bodySerializer.gen.js +58 -0
  28. package/dist/core/bodySerializer.gen.js.map +1 -0
  29. package/dist/core/params.gen.d.ts +34 -0
  30. package/dist/core/params.gen.d.ts.map +1 -0
  31. package/dist/core/params.gen.js +89 -0
  32. package/dist/core/params.gen.js.map +1 -0
  33. package/dist/core/pathSerializer.gen.d.ts +34 -0
  34. package/dist/core/pathSerializer.gen.d.ts.map +1 -0
  35. package/dist/core/pathSerializer.gen.js +115 -0
  36. package/dist/core/pathSerializer.gen.js.map +1 -0
  37. package/dist/core/queryKeySerializer.gen.d.ts +19 -0
  38. package/dist/core/queryKeySerializer.gen.d.ts.map +1 -0
  39. package/dist/core/queryKeySerializer.gen.js +100 -0
  40. package/dist/core/queryKeySerializer.gen.js.map +1 -0
  41. package/dist/core/serverSentEvents.gen.d.ts +72 -0
  42. package/dist/core/serverSentEvents.gen.d.ts.map +1 -0
  43. package/dist/core/serverSentEvents.gen.js +136 -0
  44. package/dist/core/serverSentEvents.gen.js.map +1 -0
  45. package/dist/core/types.gen.d.ts +79 -0
  46. package/dist/core/types.gen.d.ts.map +1 -0
  47. package/dist/core/types.gen.js +3 -0
  48. package/dist/core/types.gen.js.map +1 -0
  49. package/dist/core/utils.gen.d.ts +20 -0
  50. package/dist/core/utils.gen.d.ts.map +1 -0
  51. package/dist/core/utils.gen.js +88 -0
  52. package/dist/core/utils.gen.js.map +1 -0
  53. package/dist/schemas.gen.d.ts +28 -16
  54. package/dist/schemas.gen.d.ts.map +1 -1
  55. package/dist/schemas.gen.js +28 -16
  56. package/dist/schemas.gen.js.map +1 -1
  57. package/dist/sdk.gen.d.ts +50 -50
  58. package/dist/sdk.gen.d.ts.map +1 -1
  59. package/dist/sdk.gen.js +48 -48
  60. package/dist/sdk.gen.js.map +1 -1
  61. package/dist/services/kubernetes/api.d.ts +12 -12
  62. package/dist/types.gen.d.ts +21 -13
  63. package/dist/types.gen.d.ts.map +1 -1
  64. package/dist/zod.gen.d.ts +2537 -2436
  65. package/dist/zod.gen.d.ts.map +1 -1
  66. package/dist/zod.gen.js +503 -337
  67. package/dist/zod.gen.js.map +1 -1
  68. 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,28 @@ 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
+ 'northamerica-central-1a'
210
+ ])),
211
+ 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
212
  });
211
213
  export const zClusterJoinInformation = z.object({
212
214
  certificate_authority: z.string(),
213
- endpoint: z.string().url(),
215
+ endpoint: z.url(),
214
216
  auth_key: z.string(),
215
217
  bootstrap_token: z.string(),
216
218
  versions: z.object({
217
219
  kubernetes: z.string(),
218
220
  tailscale: z.string(),
219
- containerd: z.string()
221
+ containerd: z.string(),
222
+ nvidia_driver: z.string()
220
223
  }),
221
224
  third_party_api_access_config: z.object({
222
225
  metadata_url: z.string(),
@@ -226,110 +229,117 @@ export const zClusterJoinInformation = z.object({
226
229
  });
227
230
  export const zCluster = z.object({
228
231
  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
232
  tier: z.enum([
234
233
  'basic',
235
234
  'pro'
236
235
  ]),
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(),
236
+ region: z.optional(z.enum([
237
+ 'staging',
238
+ 'northamerica-central-1',
239
+ 'europe-central-1a',
240
+ 'northamerica-central-1a'
241
+ ])),
242
+ 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'),
243
+ id: z.uuid(),
239
244
  status: z.enum([
240
245
  'active',
246
+ 'disabled',
241
247
  'deleted',
242
248
  'creating',
243
249
  'deployed',
244
250
  'failed',
245
251
  'updating'
246
252
  ]),
247
- endpoint: z.union([
248
- z.string().url(),
253
+ endpoint: z.optional(z.union([
254
+ z.url(),
249
255
  z.enum([
250
256
  ''
251
257
  ])
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()
258
+ ])),
259
+ certificate_ca: z.optional(z.string()),
260
+ version_current: z.optional(z.string()),
261
+ created_at: z.optional(z.string()),
262
+ updated_at: z.optional(z.string()),
263
+ ready: z.optional(z.boolean())
258
264
  });
259
265
  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()
266
+ name: z.optional(z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)),
267
+ tier: z.enum([
268
+ 'basic',
269
+ 'pro'
270
+ ]),
271
+ 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
272
  });
263
273
  export const zFleetCreateInput = z.object({
264
- limits: z.object({
274
+ limits: z.optional(z.object({
265
275
  cpu: z.number().gte(0)
266
- }).optional(),
267
- gcp: z.object({
268
- enabled: z.boolean().optional().default(true),
276
+ })),
277
+ gcp: z.optional(z.object({
278
+ enabled: z.optional(z.boolean()).default(true),
269
279
  project: z.string()
270
- }).optional(),
271
- hetzner: z.object({
272
- enabled: z.boolean().optional().default(true),
280
+ })),
281
+ hetzner: z.optional(z.object({
282
+ enabled: z.optional(z.boolean()).default(true),
273
283
  apiKey: z.string()
274
- }).optional(),
275
- aws: z.object({
276
- enabled: z.boolean().optional().default(true),
284
+ })),
285
+ aws: z.optional(z.object({
286
+ enabled: z.optional(z.boolean()).default(true),
277
287
  controllerRoleArn: z.string()
278
- }).optional(),
288
+ })),
279
289
  id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
280
290
  });
281
291
  export const zFleet = z.object({
282
- limits: z.object({
292
+ limits: z.optional(z.object({
283
293
  cpu: z.number().gte(0)
284
- }).optional(),
285
- gcp: z.object({
286
- enabled: z.boolean().optional().default(true),
294
+ })),
295
+ gcp: z.optional(z.object({
296
+ enabled: z.optional(z.boolean()).default(true),
287
297
  project: z.string()
288
- }).optional(),
289
- hetzner: z.object({
290
- enabled: z.boolean().optional().default(true),
298
+ })),
299
+ hetzner: z.optional(z.object({
300
+ enabled: z.optional(z.boolean()).default(true),
291
301
  apiKey: z.string()
292
- }).optional(),
293
- aws: z.object({
294
- enabled: z.boolean().optional().default(true),
302
+ })),
303
+ aws: z.optional(z.object({
304
+ enabled: z.optional(z.boolean()).default(true),
295
305
  controllerRoleArn: z.string()
296
- }).optional(),
306
+ })),
297
307
  id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
298
308
  });
299
309
  export const zFleetUpdateInput = z.object({
300
- limits: z.object({
310
+ limits: z.optional(z.object({
301
311
  cpu: z.number().gte(0)
302
- }).optional(),
303
- gcp: z.object({
304
- enabled: z.boolean().optional().default(true),
312
+ })),
313
+ gcp: z.optional(z.object({
314
+ enabled: z.optional(z.boolean()).default(true),
305
315
  project: z.string()
306
- }).optional(),
307
- hetzner: z.object({
308
- enabled: z.boolean().optional().default(true),
316
+ })),
317
+ hetzner: z.optional(z.object({
318
+ enabled: z.optional(z.boolean()).default(true),
309
319
  apiKey: z.string()
310
- }).optional(),
311
- aws: z.object({
312
- enabled: z.boolean().optional().default(true),
320
+ })),
321
+ aws: z.optional(z.object({
322
+ enabled: z.optional(z.boolean()).default(true),
313
323
  controllerRoleArn: z.string()
314
- }).optional()
324
+ }))
315
325
  });
316
326
  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()
327
+ id: z.optional(z.string()),
328
+ organization_id: z.optional(z.uuid()),
329
+ date_created: z.iso.datetime(),
330
+ email: z.optional(z.email()),
331
+ code: z.optional(z.string())
322
332
  });
323
333
  export const zInvoice = z.object({
324
- id: z.string().uuid().optional(),
325
- organizationId: z.string().uuid().optional(),
326
- status: z.enum([
334
+ id: z.optional(z.uuid()),
335
+ organizationId: z.optional(z.uuid()),
336
+ status: z.optional(z.enum([
327
337
  'DRAFT',
328
338
  'COMMITTED',
329
339
  'VOID'
330
- ]).optional(),
331
- amount: z.number().optional(),
332
- currency: z.enum([
340
+ ])),
341
+ amount: z.optional(z.number()),
342
+ currency: z.optional(z.enum([
333
343
  'AED',
334
344
  'AFN',
335
345
  'ALL',
@@ -495,26 +505,26 @@ export const zInvoice = z.object({
495
505
  'ZMW',
496
506
  'ZWD',
497
507
  '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([
508
+ ])),
509
+ creditAdj: z.optional(z.number()),
510
+ refundAdj: z.optional(z.number()),
511
+ invoiceDate: z.optional(z.string()),
512
+ targetDate: z.optional(z.string()),
513
+ invoiceNumber: z.optional(z.string()),
514
+ balance: z.optional(z.number()),
515
+ bundleKeys: z.optional(z.string()),
516
+ credits: z.optional(z.array(z.object({
517
+ id: z.optional(z.uuid()),
518
+ linkedInvoiceItemId: z.optional(z.uuid()),
519
+ productName: z.optional(z.string()),
520
+ planName: z.optional(z.string()),
521
+ phaseName: z.optional(z.string()),
522
+ usageName: z.optional(z.string()),
523
+ prettyProductName: z.optional(z.string()),
524
+ prettyPlanName: z.optional(z.string()),
525
+ prettyPhaseName: z.optional(z.string()),
526
+ prettyUsageName: z.optional(z.string()),
527
+ itemType: z.optional(z.enum([
518
528
  'EXTERNAL_CHARGE',
519
529
  'FIXED',
520
530
  'RECURRING',
@@ -525,13 +535,13 @@ export const zInvoice = z.object({
525
535
  'USAGE',
526
536
  'TAX',
527
537
  '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([
538
+ ])),
539
+ description: z.optional(z.string()),
540
+ startDate: z.optional(z.string()),
541
+ endDate: z.optional(z.string()),
542
+ amount: z.optional(z.number()),
543
+ rate: z.optional(z.number()),
544
+ currency: z.optional(z.enum([
535
545
  'AED',
536
546
  'AFN',
537
547
  'ALL',
@@ -697,24 +707,30 @@ export const zInvoice = z.object({
697
707
  'ZMW',
698
708
  'ZWD',
699
709
  '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([
710
+ ])),
711
+ quantity: z.optional(z.number()),
712
+ itemDetails: z.optional(z.string()),
713
+ catalogEffectiveDate: z.optional(z.string()),
714
+ childItems: z.optional(z.array(z.union([
715
+ z.array(z.unknown()),
716
+ z.boolean(),
717
+ z.number(),
718
+ z.record(z.string(), z.unknown()),
719
+ z.string()
720
+ ])))
721
+ }))),
722
+ items: z.optional(z.array(z.object({
723
+ id: z.optional(z.uuid()),
724
+ linkedInvoiceItemId: z.optional(z.uuid()),
725
+ productName: z.optional(z.string()),
726
+ planName: z.optional(z.string()),
727
+ phaseName: z.optional(z.string()),
728
+ usageName: z.optional(z.string()),
729
+ prettyProductName: z.optional(z.string()),
730
+ prettyPlanName: z.optional(z.string()),
731
+ prettyPhaseName: z.optional(z.string()),
732
+ prettyUsageName: z.optional(z.string()),
733
+ itemType: z.optional(z.enum([
718
734
  'EXTERNAL_CHARGE',
719
735
  'FIXED',
720
736
  'RECURRING',
@@ -725,13 +741,13 @@ export const zInvoice = z.object({
725
741
  'USAGE',
726
742
  'TAX',
727
743
  '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([
744
+ ])),
745
+ description: z.optional(z.string()),
746
+ startDate: z.optional(z.string()),
747
+ endDate: z.optional(z.string()),
748
+ amount: z.optional(z.number()),
749
+ rate: z.optional(z.number()),
750
+ currency: z.optional(z.enum([
735
751
  'AED',
736
752
  'AFN',
737
753
  'ALL',
@@ -897,12 +913,18 @@ export const zInvoice = z.object({
897
913
  'ZMW',
898
914
  'ZWD',
899
915
  '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()
916
+ ])),
917
+ quantity: z.optional(z.number()),
918
+ itemDetails: z.optional(z.string()),
919
+ catalogEffectiveDate: z.optional(z.string()),
920
+ childItems: z.optional(z.array(z.union([
921
+ z.array(z.unknown()),
922
+ z.boolean(),
923
+ z.number(),
924
+ z.record(z.string(), z.unknown()),
925
+ z.string()
926
+ ])))
927
+ })))
906
928
  });
907
929
  export const zMarketplaceListing = z.object({
908
930
  id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
@@ -920,22 +942,22 @@ export const zMarketplaceListing = z.object({
920
942
  }))
921
943
  });
922
944
  export const zOrganizationCreateInput = z.object({
923
- email: z.string().email(),
945
+ email: z.email(),
924
946
  first_name: z.string(),
925
947
  last_name: z.string(),
926
948
  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
949
  password: z.string().min(8)
928
950
  });
929
951
  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(),
952
+ id: z.uuid(),
953
+ name: z.optional(z.string().min(2).max(120)),
954
+ date_created: z.iso.datetime(),
933
955
  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),
956
+ basic_clusters_max: z.int().gte(0),
957
+ basic_clusters_available: z.int(),
958
+ pro_clusters_max: z.int().gte(0),
959
+ pro_clusters_available: z.int(),
960
+ fleets_max: z.int().gte(0),
939
961
  cluster_tiers: z.array(z.string()).min(0),
940
962
  regions: z.array(z.string()).min(1),
941
963
  versions: z.array(z.object({
@@ -950,14 +972,14 @@ export const zOrganization = z.object({
950
972
  ])
951
973
  });
952
974
  export const zPaymentMethod = z.object({
953
- id: z.string().uuid(),
975
+ id: z.uuid(),
954
976
  setup: z.boolean(),
955
977
  type: z.enum([
956
978
  'card'
957
979
  ]),
958
980
  last4: z.string(),
959
- exp_month: z.number().int().gte(1).lte(12),
960
- exp_year: z.number().int().gte(2024),
981
+ exp_month: z.int().gte(1).lte(12),
982
+ exp_year: z.int().gte(2024),
961
983
  brand: z.enum([
962
984
  'amex',
963
985
  'diners',
@@ -983,20 +1005,20 @@ export const zToken = z.object({
983
1005
  'Administrator',
984
1006
  'User'
985
1007
  ]),
986
- id: z.string().optional(),
987
- secret: z.string().optional(),
988
- date_created: z.string().datetime()
1008
+ id: z.optional(z.string()),
1009
+ secret: z.optional(z.string()),
1010
+ date_created: z.iso.datetime()
989
1011
  });
990
1012
  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([
1013
+ name: z.optional(z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)),
1014
+ role: z.optional(z.enum([
993
1015
  'Administrator',
994
1016
  'User'
995
- ]).optional()
1017
+ ]))
996
1018
  });
997
1019
  export const zUsage = z.object({
998
- hour: z.string().optional(),
999
- cluster_id: z.string().uuid(),
1020
+ hour: z.optional(z.string()),
1021
+ cluster_id: z.uuid(),
1000
1022
  cluster_tier: z.enum([
1001
1023
  'basic',
1002
1024
  'pro',
@@ -1039,22 +1061,22 @@ export const zUsage = z.object({
1039
1061
  ])
1040
1062
  });
1041
1063
  export const zUserCreateInput = z.object({
1042
- email: z.string().email(),
1064
+ email: z.email(),
1043
1065
  first_name: z.string().min(1).max(50),
1044
1066
  last_name: z.string().min(1).max(50),
1045
1067
  code: z.string(),
1046
1068
  password: z.string().min(8),
1047
- status: z.enum([
1069
+ status: z.optional(z.enum([
1048
1070
  'active',
1049
1071
  'inactive'
1050
- ]).optional(),
1051
- role: z.enum([
1072
+ ])),
1073
+ role: z.optional(z.enum([
1052
1074
  'Administrator',
1053
1075
  'User'
1054
- ]).optional()
1076
+ ]))
1055
1077
  });
1056
1078
  export const zUser = z.object({
1057
- email: z.string().email(),
1079
+ email: z.email(),
1058
1080
  first_name: z.string().min(1).max(50),
1059
1081
  last_name: z.string().min(1).max(50),
1060
1082
  role: z.enum([
@@ -1065,352 +1087,496 @@ export const zUser = z.object({
1065
1087
  'active',
1066
1088
  'inactive'
1067
1089
  ]),
1068
- id: z.string().uuid(),
1069
- date_created: z.string().datetime()
1090
+ id: z.uuid(),
1091
+ date_created: z.iso.datetime()
1070
1092
  });
1071
1093
  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([
1094
+ email: z.optional(z.email()),
1095
+ first_name: z.optional(z.string().min(1).max(50)),
1096
+ last_name: z.optional(z.string().min(1).max(50)),
1097
+ role: z.optional(z.enum([
1076
1098
  'Administrator',
1077
1099
  'User'
1078
- ]).optional(),
1079
- status: z.enum([
1100
+ ])),
1101
+ status: z.optional(z.enum([
1080
1102
  'active',
1081
1103
  'inactive'
1082
- ]).optional()
1104
+ ]))
1105
+ });
1106
+ export const zGetUsageData = z.object({
1107
+ body: z.optional(z.never()),
1108
+ path: z.optional(z.never()),
1109
+ query: z.optional(z.never())
1083
1110
  });
1084
1111
  /**
1085
1112
  * An array of usage records.
1086
1113
  */
1087
1114
  export const zGetUsageResponse = z.array(zUsage);
1115
+ export const zGetBalanceData = z.object({
1116
+ body: z.optional(z.never()),
1117
+ path: z.optional(z.never()),
1118
+ query: z.optional(z.never())
1119
+ });
1088
1120
  /**
1089
1121
  * Current balance of the organization in USD as a floating-point number.
1090
1122
  */
1091
1123
  export const zGetBalanceResponse = z.number();
1124
+ export const zGetPaymentMethodData = z.object({
1125
+ body: z.optional(z.never()),
1126
+ path: z.optional(z.never()),
1127
+ query: z.optional(z.never())
1128
+ });
1092
1129
  /**
1093
1130
  * Redacted payment card information.
1094
1131
  */
1095
1132
  export const zGetPaymentMethodResponse = zPaymentMethod;
1133
+ export const zGetPaymentMethodSecretData = z.object({
1134
+ body: z.optional(z.never()),
1135
+ path: z.optional(z.never()),
1136
+ query: z.optional(z.never())
1137
+ });
1096
1138
  /**
1097
1139
  * 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
1140
  *
1099
1141
  */
1100
1142
  export const zGetPaymentMethodSecretResponse = z.object({
1101
- id: z.string().optional()
1143
+ id: z.optional(z.string())
1144
+ });
1145
+ export const zListInvoicesData = z.object({
1146
+ body: z.optional(z.never()),
1147
+ path: z.optional(z.never()),
1148
+ query: z.object({
1149
+ start_date: z.string(),
1150
+ end_date: z.string()
1151
+ })
1102
1152
  });
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
1153
  /**
1112
1154
  * An array of usage records.
1113
1155
  */
1114
1156
  export const zListInvoicesResponse = z.array(zInvoice);
1115
- /**
1116
- * Unique invoice identifier. UUID v4 string in canonical form
1117
- */
1118
- export const zGetInvoiceParameterId = z.string();
1157
+ export const zGetInvoiceData = z.object({
1158
+ body: z.optional(z.never()),
1159
+ path: z.object({
1160
+ id: z.string()
1161
+ }),
1162
+ query: z.optional(z.never())
1163
+ });
1119
1164
  /**
1120
1165
  * Returns a single Invoice HTML representation under `html` property.
1121
1166
  */
1122
1167
  export const zGetInvoiceResponse = z.object({
1123
- html: z.string().optional()
1168
+ html: z.optional(z.string())
1169
+ });
1170
+ export const zGetContactData = z.object({
1171
+ body: z.optional(z.never()),
1172
+ path: z.optional(z.never()),
1173
+ query: z.optional(z.never())
1124
1174
  });
1125
1175
  /**
1126
1176
  * Returns a single object containing organization contact and billing address details.
1127
1177
  */
1128
1178
  export const zGetContactResponse = zBillingContact;
1129
- export const zUpdateContactData = zBillingContact;
1179
+ export const zUpdateContactData = z.object({
1180
+ body: zBillingContact,
1181
+ path: z.optional(z.never()),
1182
+ query: z.optional(z.never())
1183
+ });
1130
1184
  /**
1131
1185
  * Successfully updated. Returns updated organization details.
1132
1186
  */
1133
1187
  export const zUpdateContactResponse = zBillingContact;
1188
+ export const zGetCreditsData = z.object({
1189
+ body: z.optional(z.never()),
1190
+ path: z.optional(z.never()),
1191
+ query: z.optional(z.never())
1192
+ });
1134
1193
  /**
1135
1194
  * An array of the applied promotional credits records.
1136
1195
  */
1137
1196
  export const zGetCreditsResponse = z.array(zBillingCredits);
1138
1197
  export const zRedeemCreditsData = z.object({
1139
- code: z.string().optional()
1198
+ body: z.object({
1199
+ code: z.optional(z.string())
1200
+ }),
1201
+ path: z.optional(z.never()),
1202
+ query: z.optional(z.never())
1203
+ });
1204
+ export const zListChartsData = z.object({
1205
+ body: z.optional(z.never()),
1206
+ path: z.object({
1207
+ cluster_id: z.string()
1208
+ }),
1209
+ query: z.optional(z.never())
1140
1210
  });
1141
- /**
1142
- * Unique identifier of the cluster. UUID v4 string in canonical form
1143
- */
1144
- export const zListChartsParameterClusterId = z.string();
1145
1211
  /**
1146
1212
  * An array of charts
1147
1213
  */
1148
1214
  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();
1215
+ export const zCreateChartData = z.object({
1216
+ body: zChartCreateInput,
1217
+ path: z.object({
1218
+ cluster_id: z.string()
1219
+ }),
1220
+ query: z.optional(z.never())
1221
+ });
1154
1222
  /**
1155
1223
  * Successfully created. Returns created Chart ID.
1156
1224
  */
1157
1225
  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();
1226
+ export const zDeleteChartData = z.object({
1227
+ body: z.optional(z.never()),
1228
+ path: z.object({
1229
+ cluster_id: z.string(),
1230
+ chart_name: z.string()
1231
+ }),
1232
+ query: z.optional(z.never())
1233
+ });
1166
1234
  /**
1167
1235
  * Successfully deleted.
1168
1236
  */
1169
1237
  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();
1238
+ export const zGetChartData = z.object({
1239
+ body: z.optional(z.never()),
1240
+ path: z.object({
1241
+ cluster_id: z.string(),
1242
+ chart_name: z.string()
1243
+ }),
1244
+ query: z.optional(z.never())
1245
+ });
1178
1246
  /**
1179
1247
  * Returns a single object containing chart details.
1180
1248
  */
1181
1249
  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();
1250
+ export const zUpdateChartData = z.object({
1251
+ body: zChartUpdateInput,
1252
+ path: z.object({
1253
+ cluster_id: z.string(),
1254
+ chart_name: z.string()
1255
+ }),
1256
+ query: z.optional(z.never())
1257
+ });
1191
1258
  /**
1192
1259
  * Successfully updated.
1193
1260
  */
1194
1261
  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();
1262
+ export const zListFleetsData = z.object({
1263
+ body: z.optional(z.never()),
1264
+ path: z.object({
1265
+ cluster_id: z.string()
1266
+ }),
1267
+ query: z.optional(z.never())
1268
+ });
1199
1269
  /**
1200
1270
  * An array of fleets
1201
1271
  */
1202
1272
  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();
1273
+ export const zCreateFleetData = z.object({
1274
+ body: zFleetCreateInput,
1275
+ path: z.object({
1276
+ cluster_id: z.string()
1277
+ }),
1278
+ query: z.optional(z.never())
1279
+ });
1208
1280
  /**
1209
1281
  * Successfully created. Returns created Fleet ID.
1210
1282
  */
1211
1283
  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();
1284
+ export const zDeleteFleetData = z.object({
1285
+ body: z.optional(z.never()),
1286
+ path: z.object({
1287
+ cluster_id: z.string(),
1288
+ fleet_name: z.string()
1289
+ }),
1290
+ query: z.optional(z.never())
1291
+ });
1220
1292
  /**
1221
1293
  * Successfully deleted.
1222
1294
  */
1223
1295
  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();
1296
+ export const zGetFleetData = z.object({
1297
+ body: z.optional(z.never()),
1298
+ path: z.object({
1299
+ cluster_id: z.string(),
1300
+ fleet_name: z.string()
1301
+ }),
1302
+ query: z.optional(z.never())
1303
+ });
1232
1304
  /**
1233
1305
  * Returns a single object containing fleet details.
1234
1306
  */
1235
1307
  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();
1308
+ export const zUpdateFleetData = z.object({
1309
+ body: zFleetUpdateInput,
1310
+ path: z.object({
1311
+ cluster_id: z.string(),
1312
+ fleet_name: z.string()
1313
+ }),
1314
+ query: z.optional(z.never())
1315
+ });
1245
1316
  /**
1246
1317
  * Successfully updated.
1247
1318
  */
1248
1319
  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();
1320
+ export const zQueryClusterData = z.object({
1321
+ body: z.optional(z.never()),
1322
+ path: z.object({
1323
+ cluster_id: z.string()
1324
+ }),
1325
+ query: z.optional(z.never())
1326
+ });
1327
+ export const zListClustersData = z.object({
1328
+ body: z.optional(z.never()),
1329
+ path: z.optional(z.never()),
1330
+ query: z.optional(z.never())
1331
+ });
1253
1332
  /**
1254
1333
  * An array of clusters
1255
1334
  */
1256
1335
  export const zListClustersResponse = z.array(zCluster);
1257
- export const zCreateClusterData = zClusterCreateInput;
1336
+ export const zCreateClusterData = z.object({
1337
+ body: zClusterCreateInput,
1338
+ path: z.optional(z.never()),
1339
+ query: z.optional(z.never())
1340
+ });
1258
1341
  /**
1259
1342
  * Successfully created. Returns created Cluster ID.
1260
1343
  */
1261
1344
  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();
1345
+ export const zDeleteClusterData = z.object({
1346
+ body: z.optional(z.never()),
1347
+ path: z.object({
1348
+ cluster_id: z.string()
1349
+ }),
1350
+ query: z.optional(z.never())
1351
+ });
1266
1352
  /**
1267
1353
  * Successfully deleted.
1268
1354
  */
1269
1355
  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();
1356
+ export const zGetClusterData = z.object({
1357
+ body: z.optional(z.never()),
1358
+ path: z.object({
1359
+ cluster_id: z.string()
1360
+ }),
1361
+ query: z.optional(z.never())
1362
+ });
1274
1363
  /**
1275
1364
  * Returns a single object containing cluster details.
1276
1365
  */
1277
1366
  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();
1367
+ export const zUpdateClusterData = z.object({
1368
+ body: zClusterUpdateInput,
1369
+ path: z.object({
1370
+ cluster_id: z.string()
1371
+ }),
1372
+ query: z.optional(z.never())
1373
+ });
1283
1374
  /**
1284
1375
  * Successfully updated. Returns updated cluster details.
1285
1376
  */
1286
1377
  export const zUpdateClusterResponse = zCluster;
1287
- /**
1288
- * Unique identifier of the cluster. UUID v4 string in canonical form
1289
- */
1290
- export const zGetJoinInformationParameterClusterId = z.string();
1378
+ export const zGetJoinInformationData = z.object({
1379
+ body: z.optional(z.never()),
1380
+ path: z.object({
1381
+ cluster_id: z.string()
1382
+ }),
1383
+ query: z.optional(z.never())
1384
+ });
1291
1385
  /**
1292
1386
  * An object of cluster join information
1293
1387
  */
1294
- export const zGetJoinInformationResponse = zCluster;
1388
+ export const zGetJoinInformationResponse = zClusterJoinInformation;
1389
+ export const zListInvitesData = z.object({
1390
+ body: z.optional(z.never()),
1391
+ path: z.optional(z.never()),
1392
+ query: z.optional(z.never())
1393
+ });
1295
1394
  /**
1296
1395
  * An array of invites
1297
1396
  */
1298
1397
  export const zListInvitesResponse = z.array(zInvite);
1299
1398
  export const zCreateInviteData = z.object({
1300
- email: z.string().optional()
1399
+ body: z.object({
1400
+ email: z.optional(z.string())
1401
+ }),
1402
+ path: z.optional(z.never()),
1403
+ query: z.optional(z.never())
1301
1404
  });
1302
1405
  /**
1303
1406
  * Successfully created. Returns created invite details.
1304
1407
  */
1305
1408
  export const zCreateInviteResponse = zInvite;
1306
- /**
1307
- * Invitation code
1308
- */
1309
- export const zGetInviteParameterCode = z.string();
1409
+ export const zGetInviteData = z.object({
1410
+ body: z.optional(z.never()),
1411
+ path: z.object({
1412
+ code: z.string()
1413
+ }),
1414
+ query: z.optional(z.never())
1415
+ });
1310
1416
  /**
1311
1417
  * Returns a single object containing invite details.
1312
1418
  */
1313
1419
  export const zGetInviteResponse = zInvite;
1314
- /**
1315
- * User email address
1316
- */
1317
- export const zDeleteInviteParameterEmail = z.string();
1420
+ export const zDeleteInviteData = z.object({
1421
+ body: z.optional(z.never()),
1422
+ path: z.object({
1423
+ email: z.string()
1424
+ }),
1425
+ query: z.optional(z.never())
1426
+ });
1427
+ export const zListMarketplaceChartsData = z.object({
1428
+ body: z.optional(z.never()),
1429
+ path: z.optional(z.never()),
1430
+ query: z.optional(z.never())
1431
+ });
1318
1432
  /**
1319
1433
  * An array of chart listings in the marketplace.
1320
1434
  */
1321
1435
  export const zListMarketplaceChartsResponse = z.array(zMarketplaceListing);
1322
- /**
1323
- * Unique identifier of the chart listing in the marketplace.
1324
- */
1325
- export const zGetMarketplaceChartParameterListingId = z.string();
1436
+ export const zGetMarketplaceChartData = z.object({
1437
+ body: z.optional(z.never()),
1438
+ path: z.object({
1439
+ listing_id: z.string()
1440
+ }),
1441
+ query: z.optional(z.never())
1442
+ });
1326
1443
  /**
1327
1444
  * Returns an object containing the chart listing details.
1328
1445
  */
1329
1446
  export const zGetMarketplaceChartResponse = zMarketplaceListing;
1447
+ export const zGetOrganizationData = z.object({
1448
+ body: z.optional(z.never()),
1449
+ path: z.optional(z.never()),
1450
+ query: z.optional(z.never())
1451
+ });
1330
1452
  /**
1331
1453
  * Returns a single object containing organization details.
1332
1454
  */
1333
1455
  export const zGetOrganizationResponse = zOrganization;
1334
- export const zCreateOrganizationData = zOrganizationCreateInput;
1456
+ export const zCreateOrganizationData = z.object({
1457
+ body: zOrganizationCreateInput,
1458
+ path: z.optional(z.never()),
1459
+ query: z.optional(z.never())
1460
+ });
1461
+ export const zListTokensData = z.object({
1462
+ body: z.optional(z.never()),
1463
+ path: z.optional(z.never()),
1464
+ query: z.optional(z.never())
1465
+ });
1335
1466
  /**
1336
1467
  * Returns a list of access token details with masked secrets.
1337
1468
  */
1338
1469
  export const zListTokensResponse = z.array(zToken);
1339
- export const zCreateTokenData = zTokenCreateInput;
1470
+ export const zCreateTokenData = z.object({
1471
+ body: zTokenCreateInput,
1472
+ path: z.optional(z.never()),
1473
+ query: z.optional(z.never())
1474
+ });
1340
1475
  /**
1341
1476
  * Successfully created. Returns created token details with unmasked/raw secret.
1342
1477
  */
1343
1478
  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();
1479
+ export const zDeleteTokenData = z.object({
1480
+ body: z.optional(z.never()),
1481
+ path: z.object({
1482
+ token_id: z.string()
1483
+ }),
1484
+ query: z.optional(z.never())
1485
+ });
1486
+ export const zGetTokenData = z.object({
1487
+ body: z.optional(z.never()),
1488
+ path: z.object({
1489
+ token_id: z.string()
1490
+ }),
1491
+ query: z.optional(z.never())
1492
+ });
1352
1493
  /**
1353
1494
  * Returns access token details with masked secret.
1354
1495
  */
1355
1496
  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();
1497
+ export const zUpdateTokenData = z.object({
1498
+ body: zTokenUpdateInput,
1499
+ path: z.object({
1500
+ token_id: z.string()
1501
+ }),
1502
+ query: z.optional(z.never())
1503
+ });
1361
1504
  /**
1362
1505
  * Successfully updated. Returns updated token details with masked secret.
1363
1506
  */
1364
1507
  export const zUpdateTokenResponse = zToken;
1365
- /**
1366
- * Generated unique identifier of the access token.
1367
- */
1368
- export const zRegenerateTokenParameterTokenId = z.string();
1508
+ export const zRegenerateTokenData = z.object({
1509
+ body: z.optional(z.never()),
1510
+ path: z.object({
1511
+ token_id: z.string()
1512
+ }),
1513
+ query: z.optional(z.never())
1514
+ });
1369
1515
  /**
1370
1516
  * Successfully updated. Returns updated token details with unmasked / raw secret.
1371
1517
  */
1372
1518
  export const zRegenerateTokenResponse = zToken;
1373
- /**
1374
- * User email address.
1375
- */
1376
- export const zListUserOrganizationsParameterEmail = z.string();
1519
+ export const zListUserOrganizationsData = z.object({
1520
+ body: z.optional(z.never()),
1521
+ path: z.object({
1522
+ email: z.string()
1523
+ }),
1524
+ query: z.optional(z.never())
1525
+ });
1377
1526
  /**
1378
1527
  * An array of organizations the user belongs to.
1379
1528
  */
1380
1529
  export const zListUserOrganizationsResponse = z.array(z.object({
1381
- realm: z.string().optional(),
1382
- displayName: z.string().optional()
1530
+ realm: z.optional(z.string()),
1531
+ displayName: z.optional(z.string())
1383
1532
  }));
1533
+ export const zListUsersData = z.object({
1534
+ body: z.optional(z.never()),
1535
+ path: z.optional(z.never()),
1536
+ query: z.optional(z.never())
1537
+ });
1384
1538
  /**
1385
1539
  * An array of users
1386
1540
  */
1387
1541
  export const zListUsersResponse = z.array(zUser);
1388
- export const zCreateUserData = zUserCreateInput;
1542
+ export const zCreateUserData = z.object({
1543
+ body: zUserCreateInput,
1544
+ path: z.optional(z.never()),
1545
+ query: z.optional(z.never())
1546
+ });
1389
1547
  /**
1390
1548
  * Successfully created. Returns created user details.
1391
1549
  */
1392
1550
  export const zCreateUserResponse = zUser;
1393
- /**
1394
- * Unique user identifier. UUID v4 string in canonical form
1395
- */
1396
- export const zDeleteUserParameterUserId = z.string();
1551
+ export const zDeleteUserData = z.object({
1552
+ body: z.optional(z.never()),
1553
+ path: z.object({
1554
+ user_id: z.string()
1555
+ }),
1556
+ query: z.optional(z.never())
1557
+ });
1397
1558
  /**
1398
1559
  * User profile information
1399
1560
  */
1400
1561
  export const zDeleteUserResponse = zUser;
1401
- /**
1402
- * Unique user identifier. UUID v4 string in canonical form
1403
- */
1404
- export const zGetUserParameterUserId = z.string();
1562
+ export const zGetUserData = z.object({
1563
+ body: z.optional(z.never()),
1564
+ path: z.object({
1565
+ user_id: z.string()
1566
+ }),
1567
+ query: z.optional(z.never())
1568
+ });
1405
1569
  /**
1406
1570
  * User profile information
1407
1571
  */
1408
1572
  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();
1573
+ export const zUpdateUserData = z.object({
1574
+ body: zUserUpdateInput,
1575
+ path: z.object({
1576
+ user_id: z.string()
1577
+ }),
1578
+ query: z.optional(z.never())
1579
+ });
1414
1580
  /**
1415
1581
  * Successfully created. Returns created user details.
1416
1582
  */