@cloudfleet/sdk 0.0.1-ca1b7df → 0.0.1-d8d23ea

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 (71) 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 +13 -0
  18. package/dist/client.gen.d.ts.map +1 -0
  19. package/dist/client.gen.js +6 -0
  20. package/dist/client.gen.js.map +1 -0
  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/index.d.ts +3 -0
  42. package/dist/index.d.ts.map +1 -1
  43. package/dist/index.js +3 -0
  44. package/dist/index.js.map +1 -1
  45. package/dist/schemas.gen.d.ts +463 -693
  46. package/dist/schemas.gen.d.ts.map +1 -1
  47. package/dist/schemas.gen.js +463 -701
  48. package/dist/schemas.gen.js.map +1 -1
  49. package/dist/sdk.gen.d.ts +145 -139
  50. package/dist/sdk.gen.d.ts.map +1 -1
  51. package/dist/sdk.gen.js +212 -146
  52. package/dist/sdk.gen.js.map +1 -1
  53. package/dist/services/kubernetes/api.d.ts +196 -0
  54. package/dist/services/kubernetes/api.d.ts.map +1 -0
  55. package/dist/services/kubernetes/api.js +140 -0
  56. package/dist/services/kubernetes/api.js.map +1 -0
  57. package/dist/services/kubernetes/index.d.ts +44 -0
  58. package/dist/services/kubernetes/index.d.ts.map +1 -0
  59. package/dist/services/kubernetes/index.js +68 -0
  60. package/dist/services/kubernetes/index.js.map +1 -0
  61. package/dist/services/kubernetes/types.d.ts +1335 -0
  62. package/dist/services/kubernetes/types.d.ts.map +1 -0
  63. package/dist/services/kubernetes/types.js +2 -0
  64. package/dist/services/kubernetes/types.js.map +1 -0
  65. package/dist/types.gen.d.ts +496 -739
  66. package/dist/types.gen.d.ts.map +1 -1
  67. package/dist/zod.gen.d.ts +2341 -1424
  68. package/dist/zod.gen.d.ts.map +1 -1
  69. package/dist/zod.gen.js +717 -214
  70. package/dist/zod.gen.js.map +1 -1
  71. package/package.json +8 -5
package/dist/zod.gen.js CHANGED
@@ -1,16 +1,213 @@
1
1
  // This file is auto-generated by @hey-api/openapi-ts
2
- import { z } from 'zod';
2
+ import { z } from 'zod/v3';
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(),
13
+ first_name: z.string(),
14
+ last_name: z.string(),
15
+ tax_id: z.string().optional(),
16
+ tax_id_type: z.enum([
17
+ 'ad_nrt',
18
+ 'ae_trn',
19
+ 'al_tin',
20
+ 'am_tin',
21
+ 'ao_tin',
22
+ 'ar_cuit',
23
+ 'at_vat',
24
+ 'au_abn',
25
+ 'au_arn',
26
+ 'ba_tin',
27
+ 'bb_tin',
28
+ 'be_vat',
29
+ 'bg_uic',
30
+ 'bg_vat',
31
+ 'bh_vat',
32
+ 'bo_tin',
33
+ 'br_cnpj',
34
+ 'br_cpf',
35
+ 'bs_tin',
36
+ 'by_tin',
37
+ 'ca_bn',
38
+ 'ca_gst_hst',
39
+ 'ca_pst_bc',
40
+ 'ca_pst_mb',
41
+ 'ca_pst_sk',
42
+ 'ca_qst',
43
+ 'cd_nif',
44
+ 'ch_uid',
45
+ 'ch_vat',
46
+ 'cl_tin',
47
+ 'cn_tin',
48
+ 'co_nit',
49
+ 'cr_tin',
50
+ 'cy_vat',
51
+ 'cz_vat',
52
+ 'de_stn',
53
+ 'de_vat',
54
+ 'dk_vat',
55
+ 'do_rcn',
56
+ 'ec_ruc',
57
+ 'ee_vat',
58
+ 'eg_tin',
59
+ 'es_cif',
60
+ 'es_vat',
61
+ 'eu_oss_vat',
62
+ 'fi_vat',
63
+ 'fr_vat',
64
+ 'gb_vat',
65
+ 'ge_vat',
66
+ 'gn_nif',
67
+ 'gr_vat',
68
+ 'hk_br',
69
+ 'hr_oib',
70
+ 'hr_vat',
71
+ 'hu_tin',
72
+ 'hu_vat',
73
+ 'id_npwp',
74
+ 'ie_vat',
75
+ 'il_vat',
76
+ 'in_gst',
77
+ 'is_vat',
78
+ 'it_vat',
79
+ 'jp_cn',
80
+ 'jp_rn',
81
+ 'jp_trn',
82
+ 'ke_pin',
83
+ 'kh_tin',
84
+ 'kr_brn',
85
+ 'kz_bin',
86
+ 'li_uid',
87
+ 'li_vat',
88
+ 'lt_vat',
89
+ 'lu_vat',
90
+ 'lv_vat',
91
+ 'ma_vat',
92
+ 'md_vat',
93
+ 'me_pib',
94
+ 'mk_vat',
95
+ 'mr_nif',
96
+ 'mt_vat',
97
+ 'mx_rfc',
98
+ 'my_frp',
99
+ 'my_itn',
100
+ 'my_sst',
101
+ 'ng_tin',
102
+ 'nl_vat',
103
+ 'no_vat',
104
+ 'no_voec',
105
+ 'np_pan',
106
+ 'nz_gst',
107
+ 'om_vat',
108
+ 'pe_ruc',
109
+ 'ph_tin',
110
+ 'pl_vat',
111
+ 'pt_vat',
112
+ 'ro_tin',
113
+ 'ro_vat',
114
+ 'rs_pib',
115
+ 'ru_inn',
116
+ 'ru_kpp',
117
+ 'sa_vat',
118
+ 'se_vat',
119
+ 'sg_gst',
120
+ 'sg_uen',
121
+ 'si_tin',
122
+ 'si_vat',
123
+ 'sk_vat',
124
+ 'sn_ninea',
125
+ 'sr_fin',
126
+ 'sv_nit',
127
+ 'th_vat',
128
+ 'tj_tin',
129
+ 'tr_tin',
130
+ 'tw_vat',
131
+ 'tz_vat',
132
+ 'ua_vat',
133
+ 'ug_tin',
134
+ 'us_ein',
135
+ 'uy_ruc',
136
+ 'uz_tin',
137
+ 'uz_vat',
138
+ 've_rif',
139
+ 'vn_tin',
140
+ 'xi_vat',
141
+ 'za_vat',
142
+ 'zm_tin',
143
+ 'zw_tin',
144
+ ''
145
+ ]).optional()
146
+ });
147
+ export const zBillingCredits = z.object({
148
+ id: z.string().optional(),
149
+ date_created: z.string().datetime(),
150
+ code: z.string(),
151
+ description: z.string().optional(),
152
+ products: z.array(z.string()).optional(),
153
+ type: z.enum([
154
+ 'credit',
155
+ 'discount'
156
+ ]),
157
+ value: z.number(),
158
+ billing_period: z.string().datetime(),
159
+ value_remaining: z.number().optional()
160
+ });
161
+ export const zChartCreateInput = z.object({
162
+ values: z.string(),
163
+ 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-]+)*))?$/),
164
+ name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
165
+ namespace: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
166
+ chart: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
167
+ });
168
+ export const zChart = z.object({
169
+ values: z.string(),
170
+ 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-]+)*))?$/),
171
+ name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
172
+ namespace: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
173
+ chart: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
174
+ status: z.enum([
175
+ 'InstallSucceeded',
176
+ 'InstallFailed',
177
+ 'UpgradeSucceeded',
178
+ 'UpgradeFailed',
179
+ 'TestSucceeded',
180
+ 'TestFailed',
181
+ 'RollbackSucceeded',
182
+ 'RollbackFailed',
183
+ 'UninstallSucceeded',
184
+ 'UninstallFailed',
185
+ 'ArtifactFailed',
186
+ 'DependencyNotReady',
187
+ 'Progressing',
188
+ 'SourceNotReady'
189
+ ]),
190
+ version_current: z.string(),
191
+ created_at: z.string(),
192
+ updated_at: z.string(),
193
+ ready: z.boolean()
194
+ });
195
+ export const zChartUpdateInput = z.object({
196
+ values: z.string(),
197
+ 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-]+)*))?$/)
198
+ });
3
199
  export const zClusterCreateInput = z.object({
4
200
  name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
5
- region: z.enum([
6
- 'staging',
7
- 'northamerica-central-1'
8
- ]).optional(),
9
201
  tier: z.enum([
10
202
  'basic',
11
203
  'pro'
12
204
  ]),
13
- 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.enum([
206
+ 'staging',
207
+ 'northamerica-central-1',
208
+ 'europe-central-1a'
209
+ ]).optional(),
210
+ 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')
14
211
  });
15
212
  export const zClusterJoinInformation = z.object({
16
213
  certificate_authority: z.string(),
@@ -20,7 +217,8 @@ export const zClusterJoinInformation = z.object({
20
217
  versions: z.object({
21
218
  kubernetes: z.string(),
22
219
  tailscale: z.string(),
23
- containerd: z.string()
220
+ containerd: z.string(),
221
+ nvidia_driver: z.string()
24
222
  }),
25
223
  third_party_api_access_config: z.object({
26
224
  metadata_url: z.string(),
@@ -30,15 +228,16 @@ export const zClusterJoinInformation = z.object({
30
228
  });
31
229
  export const zCluster = z.object({
32
230
  name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
33
- region: z.enum([
34
- 'staging',
35
- 'northamerica-central-1'
36
- ]).optional(),
37
231
  tier: z.enum([
38
232
  'basic',
39
233
  'pro'
40
234
  ]),
41
- 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'),
235
+ region: z.enum([
236
+ 'staging',
237
+ 'northamerica-central-1',
238
+ 'europe-central-1a'
239
+ ]).optional(),
240
+ 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'),
42
241
  id: z.string().uuid(),
43
242
  status: z.enum([
44
243
  'active',
@@ -62,7 +261,11 @@ export const zCluster = z.object({
62
261
  });
63
262
  export const zClusterUpdateInput = z.object({
64
263
  name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/).optional(),
65
- 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()
264
+ tier: z.enum([
265
+ 'basic',
266
+ 'pro'
267
+ ]),
268
+ 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()
66
269
  });
67
270
  export const zFleetCreateInput = z.object({
68
271
  limits: z.object({
@@ -72,25 +275,15 @@ export const zFleetCreateInput = z.object({
72
275
  enabled: z.boolean().optional().default(true),
73
276
  project: z.string()
74
277
  }).optional(),
75
- hetzner: z.union([
76
- z.object({
77
- enabled: z.boolean().optional().default(true),
78
- apiKey: z.string().optional()
79
- }),
80
- z.object({
81
- apiKey: z.string().optional(),
82
- enabled: z.boolean().optional().default(true)
83
- })
84
- ]).optional(),
278
+ hetzner: z.object({
279
+ enabled: z.boolean().optional().default(true),
280
+ apiKey: z.string()
281
+ }).optional(),
85
282
  aws: z.object({
86
283
  enabled: z.boolean().optional().default(true),
87
284
  controllerRoleArn: z.string()
88
285
  }).optional(),
89
- id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
90
- type: z.enum([
91
- 'managed',
92
- 'connected'
93
- ])
286
+ id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
94
287
  });
95
288
  export const zFleet = z.object({
96
289
  limits: z.object({
@@ -100,25 +293,15 @@ export const zFleet = z.object({
100
293
  enabled: z.boolean().optional().default(true),
101
294
  project: z.string()
102
295
  }).optional(),
103
- hetzner: z.union([
104
- z.object({
105
- enabled: z.boolean().optional().default(true),
106
- apiKey: z.string().optional()
107
- }),
108
- z.object({
109
- apiKey: z.string().optional(),
110
- enabled: z.boolean().optional().default(true)
111
- })
112
- ]).optional(),
296
+ hetzner: z.object({
297
+ enabled: z.boolean().optional().default(true),
298
+ apiKey: z.string()
299
+ }).optional(),
113
300
  aws: z.object({
114
301
  enabled: z.boolean().optional().default(true),
115
302
  controllerRoleArn: z.string()
116
303
  }).optional(),
117
- id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
118
- type: z.enum([
119
- 'managed',
120
- 'connected'
121
- ])
304
+ id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
122
305
  });
123
306
  export const zFleetUpdateInput = z.object({
124
307
  limits: z.object({
@@ -128,67 +311,15 @@ export const zFleetUpdateInput = z.object({
128
311
  enabled: z.boolean().optional().default(true),
129
312
  project: z.string()
130
313
  }).optional(),
131
- hetzner: z.union([
132
- z.object({
133
- enabled: z.boolean().optional().default(true),
134
- apiKey: z.string().optional()
135
- }),
136
- z.object({
137
- apiKey: z.string().optional(),
138
- enabled: z.boolean().optional().default(true)
139
- })
140
- ]).optional(),
314
+ hetzner: z.object({
315
+ enabled: z.boolean().optional().default(true),
316
+ apiKey: z.string()
317
+ }).optional(),
141
318
  aws: z.object({
142
319
  enabled: z.boolean().optional().default(true),
143
320
  controllerRoleArn: z.string()
144
321
  }).optional()
145
322
  });
146
- export const zInfrastructureFilter = z.object({
147
- version: z.unknown().optional(),
148
- provider: z.array(z.string()).optional(),
149
- region: z.array(z.string()).optional(),
150
- sub_region: z.array(z.string()).optional(),
151
- csp_region: z.array(z.string()).optional(),
152
- instance_type: z.array(z.string()).optional(),
153
- accelerator_name: z.array(z.string()).optional(),
154
- accelerator_manufacturer: z.array(z.string()).optional(),
155
- accelerator_count_min: z.number().int().gte(0).optional(),
156
- accelerator_count_max: z.number().int().gte(0).optional(),
157
- accelerator_memory_min: z.number().optional(),
158
- accelerator_memory_max: z.number().optional(),
159
- memory_min: z.number().int().gte(0).optional(),
160
- memory_max: z.number().int().gte(0).optional(),
161
- vcpu_min: z.number().int().gte(1).optional(),
162
- vcpu_max: z.number().int().gte(1).optional(),
163
- storage_total_min: z.number().gte(10).optional(),
164
- storage_total_max: z.number().gte(10).optional(),
165
- storage_local_min: z.number().optional(),
166
- storage_local_max: z.number().optional(),
167
- price_min: z.number().optional(),
168
- price_max: z.number().optional()
169
- });
170
- export const zInfrastructureInstance = z.object({
171
- sku: z.string(),
172
- provider: z.string(),
173
- region: z.string(),
174
- sub_region: z.string(),
175
- csp_region: z.string(),
176
- csp_zone: z.string(),
177
- instance_type: z.string(),
178
- architecture: z.string(),
179
- os: z.string(),
180
- vcpu: z.number().gte(1),
181
- memory: z.number().gte(1),
182
- local_storage: z.number(),
183
- accelerator_name: z.string().optional(),
184
- accelerator_manufacturer: z.string().optional(),
185
- accelerator_count: z.number().int().optional(),
186
- accelerator_memory: z.number().optional(),
187
- pods_capacity: z.number().optional(),
188
- capacity_type: z.string().optional(),
189
- price: z.number(),
190
- available: z.boolean().optional()
191
- });
192
323
  export const zInvite = z.object({
193
324
  id: z.string().optional(),
194
325
  organization_id: z.string().uuid().optional(),
@@ -577,7 +708,13 @@ export const zInvoice = z.object({
577
708
  quantity: z.number().optional(),
578
709
  itemDetails: z.string().optional(),
579
710
  catalogEffectiveDate: z.string().optional(),
580
- childItems: z.array(z.unknown()).optional()
711
+ childItems: z.array(z.union([
712
+ z.array(z.unknown()),
713
+ z.boolean(),
714
+ z.number(),
715
+ z.object({}),
716
+ z.string()
717
+ ])).optional()
581
718
  })).optional(),
582
719
  items: z.array(z.object({
583
720
  id: z.string().uuid().optional(),
@@ -777,52 +914,40 @@ export const zInvoice = z.object({
777
914
  quantity: z.number().optional(),
778
915
  itemDetails: z.string().optional(),
779
916
  catalogEffectiveDate: z.string().optional(),
780
- childItems: z.array(z.unknown()).optional()
917
+ childItems: z.array(z.union([
918
+ z.array(z.unknown()),
919
+ z.boolean(),
920
+ z.number(),
921
+ z.object({}),
922
+ z.string()
923
+ ])).optional()
781
924
  })).optional()
782
925
  });
783
- export const zOrganizationContactInfo = z.object({
784
- address1: z.string().optional(),
785
- address2: z.string().optional(),
786
- postalCode: z.string().optional(),
787
- city: z.string().optional(),
788
- state: z.string().optional(),
789
- country: z.string().optional(),
790
- phone: z.string().optional(),
791
- email: z.string().email(),
792
- first_name: z.string(),
793
- last_name: z.string()
926
+ export const zMarketplaceListing = z.object({
927
+ id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
928
+ name: z.string(),
929
+ developer: z.string(),
930
+ description: z.string(),
931
+ logoUrl: z.string(),
932
+ longDescription: z.string(),
933
+ categories: z.array(z.string()),
934
+ version_channels: z.array(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-]+)*))?$/)),
935
+ value_schemas: z.array(z.object({
936
+ version: 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-]+)*))?$/),
937
+ schema: z.string(),
938
+ placeholder: z.string()
939
+ }))
794
940
  });
795
941
  export const zOrganizationCreateInput = z.object({
796
- 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,}$/),
797
- contactInfo: z.object({
798
- address1: z.string().optional(),
799
- address2: z.string().optional(),
800
- postalCode: z.string().optional(),
801
- city: z.string().optional(),
802
- state: z.string().optional(),
803
- country: z.string().optional(),
804
- phone: z.string().optional(),
805
- email: z.string().email(),
806
- first_name: z.string(),
807
- last_name: z.string()
808
- }),
942
+ email: z.string().email(),
943
+ first_name: z.string(),
944
+ last_name: z.string(),
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,}$/),
809
946
  password: z.string().min(8)
810
947
  });
811
948
  export const zOrganization = z.object({
812
- 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,}$/),
813
- contactInfo: z.object({
814
- address1: z.string().optional(),
815
- address2: z.string().optional(),
816
- postalCode: z.string().optional(),
817
- city: z.string().optional(),
818
- state: z.string().optional(),
819
- country: z.string().optional(),
820
- phone: z.string().optional(),
821
- email: z.string().email(),
822
- first_name: z.string(),
823
- last_name: z.string()
824
- }),
825
949
  id: z.string().uuid(),
950
+ name: z.string().min(2).max(120).optional(),
826
951
  date_created: z.string().datetime(),
827
952
  quota: z.object({
828
953
  basic_clusters_max: z.number().int().gte(0),
@@ -830,7 +955,6 @@ export const zOrganization = z.object({
830
955
  pro_clusters_max: z.number().int().gte(0),
831
956
  pro_clusters_available: z.number().int(),
832
957
  fleets_max: z.number().int().gte(0),
833
- managed_fleets_cpu_max: z.number().int().gte(0),
834
958
  cluster_tiers: z.array(z.string()).min(0),
835
959
  regions: z.array(z.string()).min(1),
836
960
  versions: z.array(z.object({
@@ -838,33 +962,12 @@ export const zOrganization = z.object({
838
962
  label: z.string()
839
963
  })).min(1)
840
964
  }),
841
- pending_actions: z.array(z.enum([
842
- 'signup-billing-address',
843
- 'signup-payment-method',
844
- 'signup-invite-team',
845
- 'signup-create-cluster'
846
- ])),
847
965
  status: z.enum([
848
966
  'active',
849
967
  'closed',
850
968
  'suspended'
851
969
  ])
852
970
  });
853
- export const zOrganizationUpdateInput = z.object({
854
- 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,}$/).optional(),
855
- contactInfo: z.object({
856
- address1: z.string().optional(),
857
- address2: z.string().optional(),
858
- postalCode: z.string().optional(),
859
- city: z.string().optional(),
860
- state: z.string().optional(),
861
- country: z.string().optional(),
862
- phone: z.string().optional(),
863
- email: z.string().email(),
864
- first_name: z.string(),
865
- last_name: z.string()
866
- })
867
- });
868
971
  export const zPaymentMethod = z.object({
869
972
  id: z.string().uuid(),
870
973
  setup: z.boolean(),
@@ -911,11 +1014,22 @@ export const zTokenUpdateInput = z.object({
911
1014
  ]).optional()
912
1015
  });
913
1016
  export const zUsage = z.object({
914
- cluster_id: z.string().uuid(),
915
1017
  hour: z.string().optional(),
1018
+ cluster_id: z.string().uuid(),
916
1019
  cluster_tier: z.enum([
1020
+ 'basic',
1021
+ 'pro',
917
1022
  ''
918
1023
  ]),
1024
+ product: z.enum([
1025
+ 'cfke_controlplane',
1026
+ 'cfke_connected_nodes',
1027
+ 'infra_compute',
1028
+ 'infra_storage',
1029
+ 'infra_loadbalancing',
1030
+ 'infra_traffic',
1031
+ 'cfcr_storage'
1032
+ ]),
919
1033
  node_name: z.string(),
920
1034
  sku: z.string(),
921
1035
  cpu: z.union([
@@ -930,7 +1044,7 @@ export const zUsage = z.object({
930
1044
  ''
931
1045
  ])
932
1046
  ]),
933
- volume: z.union([
1047
+ value: z.union([
934
1048
  z.number(),
935
1049
  z.enum([
936
1050
  ''
@@ -941,11 +1055,6 @@ export const zUsage = z.object({
941
1055
  z.enum([
942
1056
  ''
943
1057
  ])
944
- ]),
945
- usage_type: z.enum([
946
- 'managed-compute',
947
- 'control-plane-nodes',
948
- 'control-plane'
949
1058
  ])
950
1059
  });
951
1060
  export const zUserCreateInput = z.object({
@@ -976,14 +1085,7 @@ export const zUser = z.object({
976
1085
  'inactive'
977
1086
  ]),
978
1087
  id: z.string().uuid(),
979
- date_created: z.string().datetime(),
980
- cluster_permissions: z.array(z.object({
981
- cluster_id: z.string().uuid(),
982
- permissions: z.enum([
983
- 'readwrite',
984
- 'readonly'
985
- ])
986
- })).optional()
1088
+ date_created: z.string().datetime()
987
1089
  });
988
1090
  export const zUserUpdateInput = z.object({
989
1091
  email: z.string().email().optional(),
@@ -998,81 +1100,482 @@ export const zUserUpdateInput = z.object({
998
1100
  'inactive'
999
1101
  ]).optional()
1000
1102
  });
1103
+ export const zGetUsageData = z.object({
1104
+ body: z.never().optional(),
1105
+ path: z.never().optional(),
1106
+ query: z.never().optional()
1107
+ });
1108
+ /**
1109
+ * An array of usage records.
1110
+ */
1001
1111
  export const zGetUsageResponse = z.array(zUsage);
1112
+ export const zGetBalanceData = z.object({
1113
+ body: z.never().optional(),
1114
+ path: z.never().optional(),
1115
+ query: z.never().optional()
1116
+ });
1117
+ /**
1118
+ * Current balance of the organization in USD as a floating-point number.
1119
+ */
1002
1120
  export const zGetBalanceResponse = z.number();
1121
+ export const zGetPaymentMethodData = z.object({
1122
+ body: z.never().optional(),
1123
+ path: z.never().optional(),
1124
+ query: z.never().optional()
1125
+ });
1126
+ /**
1127
+ * Redacted payment card information.
1128
+ */
1003
1129
  export const zGetPaymentMethodResponse = zPaymentMethod;
1130
+ export const zGetPaymentMethodSecretData = z.object({
1131
+ body: z.never().optional(),
1132
+ path: z.never().optional(),
1133
+ query: z.never().optional()
1134
+ });
1135
+ /**
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.
1137
+ *
1138
+ */
1004
1139
  export const zGetPaymentMethodSecretResponse = z.object({
1005
1140
  id: z.string().optional()
1006
1141
  });
1142
+ export const zListInvoicesData = z.object({
1143
+ body: z.never().optional(),
1144
+ path: z.never().optional(),
1145
+ query: z.object({
1146
+ start_date: z.string(),
1147
+ end_date: z.string()
1148
+ })
1149
+ });
1150
+ /**
1151
+ * An array of usage records.
1152
+ */
1007
1153
  export const zListInvoicesResponse = z.array(zInvoice);
1154
+ export const zGetInvoiceData = z.object({
1155
+ body: z.never().optional(),
1156
+ path: z.object({
1157
+ id: z.string()
1158
+ }),
1159
+ query: z.never().optional()
1160
+ });
1161
+ /**
1162
+ * Returns a single Invoice HTML representation under `html` property.
1163
+ */
1008
1164
  export const zGetInvoiceResponse = z.object({
1009
1165
  html: z.string().optional()
1010
1166
  });
1167
+ export const zGetContactData = z.object({
1168
+ body: z.never().optional(),
1169
+ path: z.never().optional(),
1170
+ query: z.never().optional()
1171
+ });
1172
+ /**
1173
+ * Returns a single object containing organization contact and billing address details.
1174
+ */
1175
+ export const zGetContactResponse = zBillingContact;
1176
+ export const zUpdateContactData = z.object({
1177
+ body: zBillingContact,
1178
+ path: z.never().optional(),
1179
+ query: z.never().optional()
1180
+ });
1181
+ /**
1182
+ * Successfully updated. Returns updated organization details.
1183
+ */
1184
+ export const zUpdateContactResponse = zBillingContact;
1185
+ export const zGetCreditsData = z.object({
1186
+ body: z.never().optional(),
1187
+ path: z.never().optional(),
1188
+ query: z.never().optional()
1189
+ });
1190
+ /**
1191
+ * An array of the applied promotional credits records.
1192
+ */
1193
+ export const zGetCreditsResponse = z.array(zBillingCredits);
1194
+ export const zRedeemCreditsData = z.object({
1195
+ body: z.object({
1196
+ code: z.string().optional()
1197
+ }),
1198
+ path: z.never().optional(),
1199
+ query: z.never().optional()
1200
+ });
1201
+ export const zListChartsData = z.object({
1202
+ body: z.never().optional(),
1203
+ path: z.object({
1204
+ cluster_id: z.string()
1205
+ }),
1206
+ query: z.never().optional()
1207
+ });
1208
+ /**
1209
+ * An array of charts
1210
+ */
1211
+ export const zListChartsResponse = z.array(zChart);
1212
+ export const zCreateChartData = z.object({
1213
+ body: zChartCreateInput,
1214
+ path: z.object({
1215
+ cluster_id: z.string()
1216
+ }),
1217
+ query: z.never().optional()
1218
+ });
1219
+ /**
1220
+ * Successfully created. Returns created Chart ID.
1221
+ */
1222
+ export const zCreateChartResponse = z.string();
1223
+ export const zDeleteChartData = z.object({
1224
+ body: z.never().optional(),
1225
+ path: z.object({
1226
+ cluster_id: z.string(),
1227
+ chart_name: z.string()
1228
+ }),
1229
+ query: z.never().optional()
1230
+ });
1231
+ /**
1232
+ * Successfully deleted.
1233
+ */
1234
+ export const zDeleteChartResponse = z.string();
1235
+ export const zGetChartData = z.object({
1236
+ body: z.never().optional(),
1237
+ path: z.object({
1238
+ cluster_id: z.string(),
1239
+ chart_name: z.string()
1240
+ }),
1241
+ query: z.never().optional()
1242
+ });
1243
+ /**
1244
+ * Returns a single object containing chart details.
1245
+ */
1246
+ export const zGetChartResponse = zChart;
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.never().optional()
1254
+ });
1255
+ /**
1256
+ * Successfully updated.
1257
+ */
1258
+ export const zUpdateChartResponse = z.string();
1259
+ export const zListFleetsData = z.object({
1260
+ body: z.never().optional(),
1261
+ path: z.object({
1262
+ cluster_id: z.string()
1263
+ }),
1264
+ query: z.never().optional()
1265
+ });
1266
+ /**
1267
+ * An array of fleets
1268
+ */
1011
1269
  export const zListFleetsResponse = z.array(zFleet);
1270
+ export const zCreateFleetData = z.object({
1271
+ body: zFleetCreateInput,
1272
+ path: z.object({
1273
+ cluster_id: z.string()
1274
+ }),
1275
+ query: z.never().optional()
1276
+ });
1277
+ /**
1278
+ * Successfully created. Returns created Fleet ID.
1279
+ */
1012
1280
  export const zCreateFleetResponse = z.string();
1281
+ export const zDeleteFleetData = z.object({
1282
+ body: z.never().optional(),
1283
+ path: z.object({
1284
+ cluster_id: z.string(),
1285
+ fleet_name: z.string()
1286
+ }),
1287
+ query: z.never().optional()
1288
+ });
1289
+ /**
1290
+ * Successfully deleted.
1291
+ */
1013
1292
  export const zDeleteFleetResponse = z.string();
1293
+ export const zGetFleetData = z.object({
1294
+ body: z.never().optional(),
1295
+ path: z.object({
1296
+ cluster_id: z.string(),
1297
+ fleet_name: z.string()
1298
+ }),
1299
+ query: z.never().optional()
1300
+ });
1301
+ /**
1302
+ * Returns a single object containing fleet details.
1303
+ */
1014
1304
  export const zGetFleetResponse = zFleet;
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.never().optional()
1312
+ });
1313
+ /**
1314
+ * Successfully updated.
1315
+ */
1015
1316
  export const zUpdateFleetResponse = z.string();
1317
+ export const zQueryClusterData = z.object({
1318
+ body: z.never().optional(),
1319
+ path: z.object({
1320
+ cluster_id: z.string()
1321
+ }),
1322
+ query: z.never().optional()
1323
+ });
1324
+ export const zListClustersData = z.object({
1325
+ body: z.never().optional(),
1326
+ path: z.never().optional(),
1327
+ query: z.never().optional()
1328
+ });
1329
+ /**
1330
+ * An array of clusters
1331
+ */
1016
1332
  export const zListClustersResponse = z.array(zCluster);
1333
+ export const zCreateClusterData = z.object({
1334
+ body: zClusterCreateInput,
1335
+ path: z.never().optional(),
1336
+ query: z.never().optional()
1337
+ });
1338
+ /**
1339
+ * Successfully created. Returns created Cluster ID.
1340
+ */
1017
1341
  export const zCreateClusterResponse = z.string();
1342
+ export const zDeleteClusterData = z.object({
1343
+ body: z.never().optional(),
1344
+ path: z.object({
1345
+ cluster_id: z.string()
1346
+ }),
1347
+ query: z.never().optional()
1348
+ });
1349
+ /**
1350
+ * Successfully deleted.
1351
+ */
1018
1352
  export const zDeleteClusterResponse = z.string();
1353
+ export const zGetClusterData = z.object({
1354
+ body: z.never().optional(),
1355
+ path: z.object({
1356
+ cluster_id: z.string()
1357
+ }),
1358
+ query: z.never().optional()
1359
+ });
1360
+ /**
1361
+ * Returns a single object containing cluster details.
1362
+ */
1019
1363
  export const zGetClusterResponse = zCluster;
1364
+ export const zUpdateClusterData = z.object({
1365
+ body: zClusterUpdateInput,
1366
+ path: z.object({
1367
+ cluster_id: z.string()
1368
+ }),
1369
+ query: z.never().optional()
1370
+ });
1371
+ /**
1372
+ * Successfully updated. Returns updated cluster details.
1373
+ */
1020
1374
  export const zUpdateClusterResponse = zCluster;
1021
- export const zGetJoinInformationResponse = zCluster;
1022
- export const zGetInfrastructureResponse = z.array(zInfrastructureInstance);
1023
- export const zGetFacetsResponse = z.array(z.object({
1024
- provider: z.array(z.string()).optional(),
1025
- region: z.array(z.string()).optional(),
1026
- sub_region: z.array(z.string()).optional(),
1027
- csp_region: z.array(z.string()).optional(),
1028
- vcpu_min: z.number().int().gte(1).optional(),
1029
- vcpu_max: z.number().int().gte(1).optional(),
1030
- memory_min: z.number().int().gte(0).optional(),
1031
- memory_max: z.number().int().gte(0).optional(),
1032
- storage_local_min: z.number().optional(),
1033
- storage_local_max: z.number().optional(),
1034
- accelerator_name: z.array(z.string()).optional(),
1035
- accelerator_manufacturer: z.array(z.string()).optional(),
1036
- accelerator_count_min: z.number().int().gte(0).optional(),
1037
- accelerator_count_max: z.number().int().gte(0).optional(),
1038
- accelerator_memory_min: z.number().optional(),
1039
- accelerator_memory_max: z.number().optional(),
1040
- price_min: z.number().optional(),
1041
- price_max: z.number().optional(),
1042
- regions_struct: z.array(z.object({
1043
- region: z.string().optional(),
1044
- sub_region: z.array(z.string()).optional()
1045
- })).optional(),
1046
- accelerators_struct: z.array(z.object({
1047
- accelerator_manufacturer: z.string().optional(),
1048
- accelerator_name: z.array(z.string()).optional()
1049
- })).optional(),
1050
- count_total: z.number().int().gte(0).optional(),
1051
- count_accelerators: z.number().int().gte(0).optional(),
1052
- count_instance_types: z.number().int().gte(0).optional(),
1053
- count_accelerators_instance_types: z.number().int().gte(0).optional()
1054
- }));
1055
- export const zGetRegionsResponse = z.object({});
1375
+ export const zGetJoinInformationData = z.object({
1376
+ body: z.never().optional(),
1377
+ path: z.object({
1378
+ cluster_id: z.string()
1379
+ }),
1380
+ query: z.never().optional()
1381
+ });
1382
+ /**
1383
+ * An object of cluster join information
1384
+ */
1385
+ export const zGetJoinInformationResponse = zClusterJoinInformation;
1386
+ export const zListInvitesData = z.object({
1387
+ body: z.never().optional(),
1388
+ path: z.never().optional(),
1389
+ query: z.never().optional()
1390
+ });
1391
+ /**
1392
+ * An array of invites
1393
+ */
1056
1394
  export const zListInvitesResponse = z.array(zInvite);
1395
+ export const zCreateInviteData = z.object({
1396
+ body: z.object({
1397
+ email: z.string().optional()
1398
+ }),
1399
+ path: z.never().optional(),
1400
+ query: z.never().optional()
1401
+ });
1402
+ /**
1403
+ * Successfully created. Returns created invite details.
1404
+ */
1057
1405
  export const zCreateInviteResponse = zInvite;
1406
+ export const zGetInviteData = z.object({
1407
+ body: z.never().optional(),
1408
+ path: z.object({
1409
+ code: z.string()
1410
+ }),
1411
+ query: z.never().optional()
1412
+ });
1413
+ /**
1414
+ * Returns a single object containing invite details.
1415
+ */
1058
1416
  export const zGetInviteResponse = zInvite;
1417
+ export const zDeleteInviteData = z.object({
1418
+ body: z.never().optional(),
1419
+ path: z.object({
1420
+ email: z.string()
1421
+ }),
1422
+ query: z.never().optional()
1423
+ });
1424
+ export const zListMarketplaceChartsData = z.object({
1425
+ body: z.never().optional(),
1426
+ path: z.never().optional(),
1427
+ query: z.never().optional()
1428
+ });
1429
+ /**
1430
+ * An array of chart listings in the marketplace.
1431
+ */
1432
+ export const zListMarketplaceChartsResponse = z.array(zMarketplaceListing);
1433
+ export const zGetMarketplaceChartData = z.object({
1434
+ body: z.never().optional(),
1435
+ path: z.object({
1436
+ listing_id: z.string()
1437
+ }),
1438
+ query: z.never().optional()
1439
+ });
1440
+ /**
1441
+ * Returns an object containing the chart listing details.
1442
+ */
1443
+ export const zGetMarketplaceChartResponse = zMarketplaceListing;
1444
+ export const zGetOrganizationData = z.object({
1445
+ body: z.never().optional(),
1446
+ path: z.never().optional(),
1447
+ query: z.never().optional()
1448
+ });
1449
+ /**
1450
+ * Returns a single object containing organization details.
1451
+ */
1059
1452
  export const zGetOrganizationResponse = zOrganization;
1060
- export const zCreateOrganizationResponse = zOrganization;
1061
- export const zUpdateOrganizationResponse = zOrganization;
1453
+ export const zCreateOrganizationData = z.object({
1454
+ body: zOrganizationCreateInput,
1455
+ path: z.never().optional(),
1456
+ query: z.never().optional()
1457
+ });
1458
+ export const zListTokensData = z.object({
1459
+ body: z.never().optional(),
1460
+ path: z.never().optional(),
1461
+ query: z.never().optional()
1462
+ });
1463
+ /**
1464
+ * Returns a list of access token details with masked secrets.
1465
+ */
1062
1466
  export const zListTokensResponse = z.array(zToken);
1467
+ export const zCreateTokenData = z.object({
1468
+ body: zTokenCreateInput,
1469
+ path: z.never().optional(),
1470
+ query: z.never().optional()
1471
+ });
1472
+ /**
1473
+ * Successfully created. Returns created token details with unmasked/raw secret.
1474
+ */
1063
1475
  export const zCreateTokenResponse = zToken;
1476
+ export const zDeleteTokenData = z.object({
1477
+ body: z.never().optional(),
1478
+ path: z.object({
1479
+ token_id: z.string()
1480
+ }),
1481
+ query: z.never().optional()
1482
+ });
1483
+ export const zGetTokenData = z.object({
1484
+ body: z.never().optional(),
1485
+ path: z.object({
1486
+ token_id: z.string()
1487
+ }),
1488
+ query: z.never().optional()
1489
+ });
1490
+ /**
1491
+ * Returns access token details with masked secret.
1492
+ */
1064
1493
  export const zGetTokenResponse = zToken;
1494
+ export const zUpdateTokenData = z.object({
1495
+ body: zTokenUpdateInput,
1496
+ path: z.object({
1497
+ token_id: z.string()
1498
+ }),
1499
+ query: z.never().optional()
1500
+ });
1501
+ /**
1502
+ * Successfully updated. Returns updated token details with masked secret.
1503
+ */
1065
1504
  export const zUpdateTokenResponse = zToken;
1505
+ export const zRegenerateTokenData = z.object({
1506
+ body: z.never().optional(),
1507
+ path: z.object({
1508
+ token_id: z.string()
1509
+ }),
1510
+ query: z.never().optional()
1511
+ });
1512
+ /**
1513
+ * Successfully updated. Returns updated token details with unmasked / raw secret.
1514
+ */
1066
1515
  export const zRegenerateTokenResponse = zToken;
1516
+ export const zListUserOrganizationsData = z.object({
1517
+ body: z.never().optional(),
1518
+ path: z.object({
1519
+ email: z.string()
1520
+ }),
1521
+ query: z.never().optional()
1522
+ });
1523
+ /**
1524
+ * An array of organizations the user belongs to.
1525
+ */
1067
1526
  export const zListUserOrganizationsResponse = z.array(z.object({
1068
1527
  realm: z.string().optional(),
1069
1528
  displayName: z.string().optional()
1070
1529
  }));
1530
+ export const zListUsersData = z.object({
1531
+ body: z.never().optional(),
1532
+ path: z.never().optional(),
1533
+ query: z.never().optional()
1534
+ });
1535
+ /**
1536
+ * An array of users
1537
+ */
1071
1538
  export const zListUsersResponse = z.array(zUser);
1539
+ export const zCreateUserData = z.object({
1540
+ body: zUserCreateInput,
1541
+ path: z.never().optional(),
1542
+ query: z.never().optional()
1543
+ });
1544
+ /**
1545
+ * Successfully created. Returns created user details.
1546
+ */
1072
1547
  export const zCreateUserResponse = zUser;
1548
+ export const zDeleteUserData = z.object({
1549
+ body: z.never().optional(),
1550
+ path: z.object({
1551
+ user_id: z.string()
1552
+ }),
1553
+ query: z.never().optional()
1554
+ });
1555
+ /**
1556
+ * User profile information
1557
+ */
1073
1558
  export const zDeleteUserResponse = zUser;
1559
+ export const zGetUserData = z.object({
1560
+ body: z.never().optional(),
1561
+ path: z.object({
1562
+ user_id: z.string()
1563
+ }),
1564
+ query: z.never().optional()
1565
+ });
1566
+ /**
1567
+ * User profile information
1568
+ */
1074
1569
  export const zGetUserResponse = zUser;
1570
+ export const zUpdateUserData = z.object({
1571
+ body: zUserUpdateInput,
1572
+ path: z.object({
1573
+ user_id: z.string()
1574
+ }),
1575
+ query: z.never().optional()
1576
+ });
1577
+ /**
1578
+ * Successfully created. Returns created user details.
1579
+ */
1075
1580
  export const zUpdateUserResponse = zUser;
1076
- export const zDeleteClusterPermissionsResponse = zUser;
1077
- export const zSetClusterPermissionsResponse = zUser;
1078
1581
  //# sourceMappingURL=zod.gen.js.map