@cloudfleet/sdk 0.0.1-96d5fec → 0.0.1-a92e617

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 +144 -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 +24 -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 +74 -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 +512 -668
  46. package/dist/schemas.gen.d.ts.map +1 -1
  47. package/dist/schemas.gen.js +516 -668
  48. package/dist/schemas.gen.js.map +1 -1
  49. package/dist/sdk.gen.d.ts +146 -140
  50. package/dist/sdk.gen.d.ts.map +1 -1
  51. package/dist/sdk.gen.js +213 -147
  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 +515 -739
  66. package/dist/types.gen.d.ts.map +1 -1
  67. package/dist/zod.gen.d.ts +2329 -1385
  68. package/dist/zod.gen.d.ts.map +1 -1
  69. package/dist/zod.gen.js +747 -208
  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
2
  import { z } from 'zod';
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(),
@@ -21,19 +218,25 @@ export const zClusterJoinInformation = z.object({
21
218
  kubernetes: z.string(),
22
219
  tailscale: z.string(),
23
220
  containerd: z.string()
221
+ }),
222
+ third_party_api_access_config: z.object({
223
+ metadata_url: z.string(),
224
+ aws_role_arn: z.string(),
225
+ gcp_workload_identity_provider: z.string()
24
226
  })
25
227
  });
26
228
  export const zCluster = z.object({
27
229
  name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
28
- region: z.enum([
29
- 'staging',
30
- 'northamerica-central-1'
31
- ]).optional(),
32
230
  tier: z.enum([
33
231
  'basic',
34
232
  'pro'
35
233
  ]),
36
- 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'),
234
+ region: z.enum([
235
+ 'staging',
236
+ 'northamerica-central-1',
237
+ 'europe-central-1a'
238
+ ]).optional(),
239
+ 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'),
37
240
  id: z.string().uuid(),
38
241
  status: z.enum([
39
242
  'active',
@@ -57,7 +260,11 @@ export const zCluster = z.object({
57
260
  });
58
261
  export const zClusterUpdateInput = z.object({
59
262
  name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/).optional(),
60
- version_channel: z.string().regex(/^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$/).optional()
263
+ tier: z.enum([
264
+ 'basic',
265
+ 'pro'
266
+ ]),
267
+ 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()
61
268
  });
62
269
  export const zFleetCreateInput = z.object({
63
270
  limits: z.object({
@@ -67,25 +274,15 @@ export const zFleetCreateInput = z.object({
67
274
  enabled: z.boolean().optional().default(true),
68
275
  project: z.string()
69
276
  }).optional(),
70
- hetzner: z.union([
71
- z.object({
72
- enabled: z.boolean().optional().default(true),
73
- apiKey: z.string().optional()
74
- }),
75
- z.object({
76
- apiKey: z.string().optional(),
77
- enabled: z.boolean().optional().default(true)
78
- })
79
- ]).optional(),
277
+ hetzner: z.object({
278
+ enabled: z.boolean().optional().default(true),
279
+ apiKey: z.string()
280
+ }).optional(),
80
281
  aws: z.object({
81
282
  enabled: z.boolean().optional().default(true),
82
283
  controllerRoleArn: z.string()
83
284
  }).optional(),
84
- id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
85
- type: z.enum([
86
- 'managed',
87
- 'connected'
88
- ])
285
+ id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
89
286
  });
90
287
  export const zFleet = z.object({
91
288
  limits: z.object({
@@ -95,25 +292,15 @@ export const zFleet = z.object({
95
292
  enabled: z.boolean().optional().default(true),
96
293
  project: z.string()
97
294
  }).optional(),
98
- hetzner: z.union([
99
- z.object({
100
- enabled: z.boolean().optional().default(true),
101
- apiKey: z.string().optional()
102
- }),
103
- z.object({
104
- apiKey: z.string().optional(),
105
- enabled: z.boolean().optional().default(true)
106
- })
107
- ]).optional(),
295
+ hetzner: z.object({
296
+ enabled: z.boolean().optional().default(true),
297
+ apiKey: z.string()
298
+ }).optional(),
108
299
  aws: z.object({
109
300
  enabled: z.boolean().optional().default(true),
110
301
  controllerRoleArn: z.string()
111
302
  }).optional(),
112
- id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
113
- type: z.enum([
114
- 'managed',
115
- 'connected'
116
- ])
303
+ id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
117
304
  });
118
305
  export const zFleetUpdateInput = z.object({
119
306
  limits: z.object({
@@ -123,67 +310,15 @@ export const zFleetUpdateInput = z.object({
123
310
  enabled: z.boolean().optional().default(true),
124
311
  project: z.string()
125
312
  }).optional(),
126
- hetzner: z.union([
127
- z.object({
128
- enabled: z.boolean().optional().default(true),
129
- apiKey: z.string().optional()
130
- }),
131
- z.object({
132
- apiKey: z.string().optional(),
133
- enabled: z.boolean().optional().default(true)
134
- })
135
- ]).optional(),
313
+ hetzner: z.object({
314
+ enabled: z.boolean().optional().default(true),
315
+ apiKey: z.string()
316
+ }).optional(),
136
317
  aws: z.object({
137
318
  enabled: z.boolean().optional().default(true),
138
319
  controllerRoleArn: z.string()
139
320
  }).optional()
140
321
  });
141
- export const zInfrastructureFilter = z.object({
142
- version: z.unknown().optional(),
143
- provider: z.array(z.string()).optional(),
144
- region: z.array(z.string()).optional(),
145
- sub_region: z.array(z.string()).optional(),
146
- csp_region: z.array(z.string()).optional(),
147
- instance_type: z.array(z.string()).optional(),
148
- accelerator_name: z.array(z.string()).optional(),
149
- accelerator_manufacturer: z.array(z.string()).optional(),
150
- accelerator_count_min: z.number().int().gte(0).optional(),
151
- accelerator_count_max: z.number().int().gte(0).optional(),
152
- accelerator_memory_min: z.number().optional(),
153
- accelerator_memory_max: z.number().optional(),
154
- memory_min: z.number().int().gte(0).optional(),
155
- memory_max: z.number().int().gte(0).optional(),
156
- vcpu_min: z.number().int().gte(1).optional(),
157
- vcpu_max: z.number().int().gte(1).optional(),
158
- storage_total_min: z.number().gte(10).optional(),
159
- storage_total_max: z.number().gte(10).optional(),
160
- storage_local_min: z.number().optional(),
161
- storage_local_max: z.number().optional(),
162
- price_min: z.number().optional(),
163
- price_max: z.number().optional()
164
- });
165
- export const zInfrastructureInstance = z.object({
166
- sku: z.string(),
167
- provider: z.string(),
168
- region: z.string(),
169
- sub_region: z.string(),
170
- csp_region: z.string(),
171
- csp_zone: z.string(),
172
- instance_type: z.string(),
173
- architecture: z.string(),
174
- os: z.string(),
175
- vcpu: z.number().gte(1),
176
- memory: z.number().gte(1),
177
- local_storage: z.number(),
178
- accelerator_name: z.string().optional(),
179
- accelerator_manufacturer: z.string().optional(),
180
- accelerator_count: z.number().int().optional(),
181
- accelerator_memory: z.number().optional(),
182
- pods_capacity: z.number().optional(),
183
- capacity_type: z.string().optional(),
184
- price: z.number(),
185
- available: z.boolean().optional()
186
- });
187
322
  export const zInvite = z.object({
188
323
  id: z.string().optional(),
189
324
  organization_id: z.string().uuid().optional(),
@@ -572,7 +707,13 @@ export const zInvoice = z.object({
572
707
  quantity: z.number().optional(),
573
708
  itemDetails: z.string().optional(),
574
709
  catalogEffectiveDate: z.string().optional(),
575
- childItems: z.array(z.unknown()).optional()
710
+ childItems: z.array(z.union([
711
+ z.array(z.unknown()),
712
+ z.boolean(),
713
+ z.number(),
714
+ z.object({}),
715
+ z.string()
716
+ ])).optional()
576
717
  })).optional(),
577
718
  items: z.array(z.object({
578
719
  id: z.string().uuid().optional(),
@@ -772,52 +913,40 @@ export const zInvoice = z.object({
772
913
  quantity: z.number().optional(),
773
914
  itemDetails: z.string().optional(),
774
915
  catalogEffectiveDate: z.string().optional(),
775
- childItems: z.array(z.unknown()).optional()
916
+ childItems: z.array(z.union([
917
+ z.array(z.unknown()),
918
+ z.boolean(),
919
+ z.number(),
920
+ z.object({}),
921
+ z.string()
922
+ ])).optional()
776
923
  })).optional()
777
924
  });
778
- export const zOrganizationContactInfo = z.object({
779
- address1: z.string().optional(),
780
- address2: z.string().optional(),
781
- postalCode: z.string().optional(),
782
- city: z.string().optional(),
783
- state: z.string().optional(),
784
- country: z.string().optional(),
785
- phone: z.string().optional(),
786
- email: z.string().email(),
787
- first_name: z.string(),
788
- last_name: z.string()
925
+ export const zMarketplaceListing = z.object({
926
+ id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
927
+ name: z.string(),
928
+ developer: z.string(),
929
+ description: z.string(),
930
+ logoUrl: z.string(),
931
+ longDescription: z.string(),
932
+ categories: z.array(z.string()),
933
+ 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-]+)*))?$/)),
934
+ value_schemas: z.array(z.object({
935
+ 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-]+)*))?$/),
936
+ schema: z.string(),
937
+ placeholder: z.string()
938
+ }))
789
939
  });
790
940
  export const zOrganizationCreateInput = z.object({
791
- 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,}$/),
792
- contactInfo: z.object({
793
- address1: z.string().optional(),
794
- address2: z.string().optional(),
795
- postalCode: z.string().optional(),
796
- city: z.string().optional(),
797
- state: z.string().optional(),
798
- country: z.string().optional(),
799
- phone: z.string().optional(),
800
- email: z.string().email(),
801
- first_name: z.string(),
802
- last_name: z.string()
803
- }),
941
+ email: z.string().email(),
942
+ first_name: z.string(),
943
+ last_name: z.string(),
944
+ 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,}$/),
804
945
  password: z.string().min(8)
805
946
  });
806
947
  export const zOrganization = z.object({
807
- 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,}$/),
808
- contactInfo: z.object({
809
- address1: z.string().optional(),
810
- address2: z.string().optional(),
811
- postalCode: z.string().optional(),
812
- city: z.string().optional(),
813
- state: z.string().optional(),
814
- country: z.string().optional(),
815
- phone: z.string().optional(),
816
- email: z.string().email(),
817
- first_name: z.string(),
818
- last_name: z.string()
819
- }),
820
948
  id: z.string().uuid(),
949
+ name: z.string().min(2).max(120).optional(),
821
950
  date_created: z.string().datetime(),
822
951
  quota: z.object({
823
952
  basic_clusters_max: z.number().int().gte(0),
@@ -825,7 +954,6 @@ export const zOrganization = z.object({
825
954
  pro_clusters_max: z.number().int().gte(0),
826
955
  pro_clusters_available: z.number().int(),
827
956
  fleets_max: z.number().int().gte(0),
828
- managed_fleets_cpu_max: z.number().int().gte(0),
829
957
  cluster_tiers: z.array(z.string()).min(0),
830
958
  regions: z.array(z.string()).min(1),
831
959
  versions: z.array(z.object({
@@ -833,33 +961,12 @@ export const zOrganization = z.object({
833
961
  label: z.string()
834
962
  })).min(1)
835
963
  }),
836
- pending_actions: z.array(z.enum([
837
- 'signup-billing-address',
838
- 'signup-payment-method',
839
- 'signup-invite-team',
840
- 'signup-create-cluster'
841
- ])),
842
964
  status: z.enum([
843
965
  'active',
844
966
  'closed',
845
967
  'suspended'
846
968
  ])
847
969
  });
848
- export const zOrganizationUpdateInput = z.object({
849
- 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(),
850
- contactInfo: z.object({
851
- address1: z.string().optional(),
852
- address2: z.string().optional(),
853
- postalCode: z.string().optional(),
854
- city: z.string().optional(),
855
- state: z.string().optional(),
856
- country: z.string().optional(),
857
- phone: z.string().optional(),
858
- email: z.string().email(),
859
- first_name: z.string(),
860
- last_name: z.string()
861
- })
862
- });
863
970
  export const zPaymentMethod = z.object({
864
971
  id: z.string().uuid(),
865
972
  setup: z.boolean(),
@@ -906,10 +1013,48 @@ export const zTokenUpdateInput = z.object({
906
1013
  ]).optional()
907
1014
  });
908
1015
  export const zUsage = z.object({
909
- id: z.string().uuid(),
910
- task_id: z.string().uuid(),
911
- unit: z.string(),
912
- amount: z.number()
1016
+ hour: z.string().optional(),
1017
+ cluster_id: z.string().uuid(),
1018
+ cluster_tier: z.enum([
1019
+ 'basic',
1020
+ 'pro',
1021
+ ''
1022
+ ]),
1023
+ product: z.enum([
1024
+ 'cfke_controlplane',
1025
+ 'cfke_connected_nodes',
1026
+ 'infra_compute',
1027
+ 'infra_storage',
1028
+ 'infra_loadbalancing',
1029
+ 'infra_traffic',
1030
+ 'cfcr_storage'
1031
+ ]),
1032
+ node_name: z.string(),
1033
+ sku: z.string(),
1034
+ cpu: z.union([
1035
+ z.number(),
1036
+ z.enum([
1037
+ ''
1038
+ ])
1039
+ ]),
1040
+ price: z.union([
1041
+ z.number(),
1042
+ z.enum([
1043
+ ''
1044
+ ])
1045
+ ]),
1046
+ value: z.union([
1047
+ z.number(),
1048
+ z.enum([
1049
+ ''
1050
+ ])
1051
+ ]),
1052
+ total: z.union([
1053
+ z.number(),
1054
+ z.enum([
1055
+ ''
1056
+ ])
1057
+ ])
913
1058
  });
914
1059
  export const zUserCreateInput = z.object({
915
1060
  email: z.string().email(),
@@ -939,14 +1084,7 @@ export const zUser = z.object({
939
1084
  'inactive'
940
1085
  ]),
941
1086
  id: z.string().uuid(),
942
- date_created: z.string().datetime(),
943
- cluster_permissions: z.array(z.object({
944
- cluster_id: z.string().uuid(),
945
- permissions: z.enum([
946
- 'readwrite',
947
- 'readonly'
948
- ])
949
- })).optional()
1087
+ date_created: z.string().datetime()
950
1088
  });
951
1089
  export const zUserUpdateInput = z.object({
952
1090
  email: z.string().email().optional(),
@@ -961,81 +1099,482 @@ export const zUserUpdateInput = z.object({
961
1099
  'inactive'
962
1100
  ]).optional()
963
1101
  });
1102
+ export const zGetUsageData = z.object({
1103
+ body: z.never().optional(),
1104
+ path: z.never().optional(),
1105
+ query: z.never().optional()
1106
+ });
1107
+ /**
1108
+ * An array of usage records.
1109
+ */
964
1110
  export const zGetUsageResponse = z.array(zUsage);
1111
+ export const zGetBalanceData = z.object({
1112
+ body: z.never().optional(),
1113
+ path: z.never().optional(),
1114
+ query: z.never().optional()
1115
+ });
1116
+ /**
1117
+ * Current balance of the organization in USD as a floating-point number.
1118
+ */
965
1119
  export const zGetBalanceResponse = z.number();
1120
+ export const zGetPaymentMethodData = z.object({
1121
+ body: z.never().optional(),
1122
+ path: z.never().optional(),
1123
+ query: z.never().optional()
1124
+ });
1125
+ /**
1126
+ * Redacted payment card information.
1127
+ */
966
1128
  export const zGetPaymentMethodResponse = zPaymentMethod;
1129
+ export const zGetPaymentMethodSecretData = z.object({
1130
+ body: z.never().optional(),
1131
+ path: z.never().optional(),
1132
+ query: z.never().optional()
1133
+ });
1134
+ /**
1135
+ * 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.
1136
+ *
1137
+ */
967
1138
  export const zGetPaymentMethodSecretResponse = z.object({
968
1139
  id: z.string().optional()
969
1140
  });
1141
+ export const zListInvoicesData = z.object({
1142
+ body: z.never().optional(),
1143
+ path: z.never().optional(),
1144
+ query: z.object({
1145
+ start_date: z.string(),
1146
+ end_date: z.string()
1147
+ })
1148
+ });
1149
+ /**
1150
+ * An array of usage records.
1151
+ */
970
1152
  export const zListInvoicesResponse = z.array(zInvoice);
1153
+ export const zGetInvoiceData = z.object({
1154
+ body: z.never().optional(),
1155
+ path: z.object({
1156
+ id: z.string()
1157
+ }),
1158
+ query: z.never().optional()
1159
+ });
1160
+ /**
1161
+ * Returns a single Invoice HTML representation under `html` property.
1162
+ */
971
1163
  export const zGetInvoiceResponse = z.object({
972
1164
  html: z.string().optional()
973
1165
  });
1166
+ export const zGetContactData = z.object({
1167
+ body: z.never().optional(),
1168
+ path: z.never().optional(),
1169
+ query: z.never().optional()
1170
+ });
1171
+ /**
1172
+ * Returns a single object containing organization contact and billing address details.
1173
+ */
1174
+ export const zGetContactResponse = zBillingContact;
1175
+ export const zUpdateContactData = z.object({
1176
+ body: zBillingContact,
1177
+ path: z.never().optional(),
1178
+ query: z.never().optional()
1179
+ });
1180
+ /**
1181
+ * Successfully updated. Returns updated organization details.
1182
+ */
1183
+ export const zUpdateContactResponse = zBillingContact;
1184
+ export const zGetCreditsData = z.object({
1185
+ body: z.never().optional(),
1186
+ path: z.never().optional(),
1187
+ query: z.never().optional()
1188
+ });
1189
+ /**
1190
+ * An array of the applied promotional credits records.
1191
+ */
1192
+ export const zGetCreditsResponse = z.array(zBillingCredits);
1193
+ export const zRedeemCreditsData = z.object({
1194
+ body: z.object({
1195
+ code: z.string().optional()
1196
+ }),
1197
+ path: z.never().optional(),
1198
+ query: z.never().optional()
1199
+ });
1200
+ export const zListChartsData = z.object({
1201
+ body: z.never().optional(),
1202
+ path: z.object({
1203
+ cluster_id: z.string()
1204
+ }),
1205
+ query: z.never().optional()
1206
+ });
1207
+ /**
1208
+ * An array of charts
1209
+ */
1210
+ export const zListChartsResponse = z.array(zChart);
1211
+ export const zCreateChartData = z.object({
1212
+ body: zChartCreateInput,
1213
+ path: z.object({
1214
+ cluster_id: z.string()
1215
+ }),
1216
+ query: z.never().optional()
1217
+ });
1218
+ /**
1219
+ * Successfully created. Returns created Chart ID.
1220
+ */
1221
+ export const zCreateChartResponse = z.string();
1222
+ export const zDeleteChartData = z.object({
1223
+ body: z.never().optional(),
1224
+ path: z.object({
1225
+ cluster_id: z.string(),
1226
+ chart_name: z.string()
1227
+ }),
1228
+ query: z.never().optional()
1229
+ });
1230
+ /**
1231
+ * Successfully deleted.
1232
+ */
1233
+ export const zDeleteChartResponse = z.string();
1234
+ export const zGetChartData = z.object({
1235
+ body: z.never().optional(),
1236
+ path: z.object({
1237
+ cluster_id: z.string(),
1238
+ chart_name: z.string()
1239
+ }),
1240
+ query: z.never().optional()
1241
+ });
1242
+ /**
1243
+ * Returns a single object containing chart details.
1244
+ */
1245
+ export const zGetChartResponse = zChart;
1246
+ export const zUpdateChartData = z.object({
1247
+ body: zChartUpdateInput,
1248
+ path: z.object({
1249
+ cluster_id: z.string(),
1250
+ chart_name: z.string()
1251
+ }),
1252
+ query: z.never().optional()
1253
+ });
1254
+ /**
1255
+ * Successfully updated.
1256
+ */
1257
+ export const zUpdateChartResponse = z.string();
1258
+ export const zListFleetsData = z.object({
1259
+ body: z.never().optional(),
1260
+ path: z.object({
1261
+ cluster_id: z.string()
1262
+ }),
1263
+ query: z.never().optional()
1264
+ });
1265
+ /**
1266
+ * An array of fleets
1267
+ */
974
1268
  export const zListFleetsResponse = z.array(zFleet);
1269
+ export const zCreateFleetData = z.object({
1270
+ body: zFleetCreateInput,
1271
+ path: z.object({
1272
+ cluster_id: z.string()
1273
+ }),
1274
+ query: z.never().optional()
1275
+ });
1276
+ /**
1277
+ * Successfully created. Returns created Fleet ID.
1278
+ */
975
1279
  export const zCreateFleetResponse = z.string();
1280
+ export const zDeleteFleetData = z.object({
1281
+ body: z.never().optional(),
1282
+ path: z.object({
1283
+ cluster_id: z.string(),
1284
+ fleet_name: z.string()
1285
+ }),
1286
+ query: z.never().optional()
1287
+ });
1288
+ /**
1289
+ * Successfully deleted.
1290
+ */
976
1291
  export const zDeleteFleetResponse = z.string();
1292
+ export const zGetFleetData = z.object({
1293
+ body: z.never().optional(),
1294
+ path: z.object({
1295
+ cluster_id: z.string(),
1296
+ fleet_name: z.string()
1297
+ }),
1298
+ query: z.never().optional()
1299
+ });
1300
+ /**
1301
+ * Returns a single object containing fleet details.
1302
+ */
977
1303
  export const zGetFleetResponse = zFleet;
1304
+ export const zUpdateFleetData = z.object({
1305
+ body: zFleetUpdateInput,
1306
+ path: z.object({
1307
+ cluster_id: z.string(),
1308
+ fleet_name: z.string()
1309
+ }),
1310
+ query: z.never().optional()
1311
+ });
1312
+ /**
1313
+ * Successfully updated.
1314
+ */
978
1315
  export const zUpdateFleetResponse = z.string();
1316
+ export const zQueryClusterData = z.object({
1317
+ body: z.never().optional(),
1318
+ path: z.object({
1319
+ cluster_id: z.string()
1320
+ }),
1321
+ query: z.never().optional()
1322
+ });
1323
+ export const zListClustersData = z.object({
1324
+ body: z.never().optional(),
1325
+ path: z.never().optional(),
1326
+ query: z.never().optional()
1327
+ });
1328
+ /**
1329
+ * An array of clusters
1330
+ */
979
1331
  export const zListClustersResponse = z.array(zCluster);
1332
+ export const zCreateClusterData = z.object({
1333
+ body: zClusterCreateInput,
1334
+ path: z.never().optional(),
1335
+ query: z.never().optional()
1336
+ });
1337
+ /**
1338
+ * Successfully created. Returns created Cluster ID.
1339
+ */
980
1340
  export const zCreateClusterResponse = z.string();
1341
+ export const zDeleteClusterData = z.object({
1342
+ body: z.never().optional(),
1343
+ path: z.object({
1344
+ cluster_id: z.string()
1345
+ }),
1346
+ query: z.never().optional()
1347
+ });
1348
+ /**
1349
+ * Successfully deleted.
1350
+ */
981
1351
  export const zDeleteClusterResponse = z.string();
1352
+ export const zGetClusterData = z.object({
1353
+ body: z.never().optional(),
1354
+ path: z.object({
1355
+ cluster_id: z.string()
1356
+ }),
1357
+ query: z.never().optional()
1358
+ });
1359
+ /**
1360
+ * Returns a single object containing cluster details.
1361
+ */
982
1362
  export const zGetClusterResponse = zCluster;
1363
+ export const zUpdateClusterData = z.object({
1364
+ body: zClusterUpdateInput,
1365
+ path: z.object({
1366
+ cluster_id: z.string()
1367
+ }),
1368
+ query: z.never().optional()
1369
+ });
1370
+ /**
1371
+ * Successfully updated. Returns updated cluster details.
1372
+ */
983
1373
  export const zUpdateClusterResponse = zCluster;
1374
+ export const zGetJoinInformationData = z.object({
1375
+ body: z.never().optional(),
1376
+ path: z.object({
1377
+ cluster_id: z.string()
1378
+ }),
1379
+ query: z.never().optional()
1380
+ });
1381
+ /**
1382
+ * An object of cluster join information
1383
+ */
984
1384
  export const zGetJoinInformationResponse = zCluster;
985
- export const zGetInfrastructureResponse = z.array(zInfrastructureInstance);
986
- export const zGetFacetsResponse = z.array(z.object({
987
- provider: z.array(z.string()).optional(),
988
- region: z.array(z.string()).optional(),
989
- sub_region: z.array(z.string()).optional(),
990
- csp_region: z.array(z.string()).optional(),
991
- vcpu_min: z.number().int().gte(1).optional(),
992
- vcpu_max: z.number().int().gte(1).optional(),
993
- memory_min: z.number().int().gte(0).optional(),
994
- memory_max: z.number().int().gte(0).optional(),
995
- storage_local_min: z.number().optional(),
996
- storage_local_max: z.number().optional(),
997
- accelerator_name: z.array(z.string()).optional(),
998
- accelerator_manufacturer: z.array(z.string()).optional(),
999
- accelerator_count_min: z.number().int().gte(0).optional(),
1000
- accelerator_count_max: z.number().int().gte(0).optional(),
1001
- accelerator_memory_min: z.number().optional(),
1002
- accelerator_memory_max: z.number().optional(),
1003
- price_min: z.number().optional(),
1004
- price_max: z.number().optional(),
1005
- regions_struct: z.array(z.object({
1006
- region: z.string().optional(),
1007
- sub_region: z.array(z.string()).optional()
1008
- })).optional(),
1009
- accelerators_struct: z.array(z.object({
1010
- accelerator_manufacturer: z.string().optional(),
1011
- accelerator_name: z.array(z.string()).optional()
1012
- })).optional(),
1013
- count_total: z.number().int().gte(0).optional(),
1014
- count_accelerators: z.number().int().gte(0).optional(),
1015
- count_instance_types: z.number().int().gte(0).optional(),
1016
- count_accelerators_instance_types: z.number().int().gte(0).optional()
1017
- }));
1018
- export const zGetRegionsResponse = z.object({});
1385
+ export const zListInvitesData = z.object({
1386
+ body: z.never().optional(),
1387
+ path: z.never().optional(),
1388
+ query: z.never().optional()
1389
+ });
1390
+ /**
1391
+ * An array of invites
1392
+ */
1019
1393
  export const zListInvitesResponse = z.array(zInvite);
1394
+ export const zCreateInviteData = z.object({
1395
+ body: z.object({
1396
+ email: z.string().optional()
1397
+ }),
1398
+ path: z.never().optional(),
1399
+ query: z.never().optional()
1400
+ });
1401
+ /**
1402
+ * Successfully created. Returns created invite details.
1403
+ */
1020
1404
  export const zCreateInviteResponse = zInvite;
1405
+ export const zGetInviteData = z.object({
1406
+ body: z.never().optional(),
1407
+ path: z.object({
1408
+ code: z.string()
1409
+ }),
1410
+ query: z.never().optional()
1411
+ });
1412
+ /**
1413
+ * Returns a single object containing invite details.
1414
+ */
1021
1415
  export const zGetInviteResponse = zInvite;
1416
+ export const zDeleteInviteData = z.object({
1417
+ body: z.never().optional(),
1418
+ path: z.object({
1419
+ email: z.string()
1420
+ }),
1421
+ query: z.never().optional()
1422
+ });
1423
+ export const zListMarketplaceChartsData = z.object({
1424
+ body: z.never().optional(),
1425
+ path: z.never().optional(),
1426
+ query: z.never().optional()
1427
+ });
1428
+ /**
1429
+ * An array of chart listings in the marketplace.
1430
+ */
1431
+ export const zListMarketplaceChartsResponse = z.array(zMarketplaceListing);
1432
+ export const zGetMarketplaceChartData = z.object({
1433
+ body: z.never().optional(),
1434
+ path: z.object({
1435
+ listing_id: z.string()
1436
+ }),
1437
+ query: z.never().optional()
1438
+ });
1439
+ /**
1440
+ * Returns an object containing the chart listing details.
1441
+ */
1442
+ export const zGetMarketplaceChartResponse = zMarketplaceListing;
1443
+ export const zGetOrganizationData = z.object({
1444
+ body: z.never().optional(),
1445
+ path: z.never().optional(),
1446
+ query: z.never().optional()
1447
+ });
1448
+ /**
1449
+ * Returns a single object containing organization details.
1450
+ */
1022
1451
  export const zGetOrganizationResponse = zOrganization;
1023
- export const zCreateOrganizationResponse = zOrganization;
1024
- export const zUpdateOrganizationResponse = zOrganization;
1452
+ export const zCreateOrganizationData = z.object({
1453
+ body: zOrganizationCreateInput,
1454
+ path: z.never().optional(),
1455
+ query: z.never().optional()
1456
+ });
1457
+ export const zListTokensData = z.object({
1458
+ body: z.never().optional(),
1459
+ path: z.never().optional(),
1460
+ query: z.never().optional()
1461
+ });
1462
+ /**
1463
+ * Returns a list of access token details with masked secrets.
1464
+ */
1025
1465
  export const zListTokensResponse = z.array(zToken);
1466
+ export const zCreateTokenData = z.object({
1467
+ body: zTokenCreateInput,
1468
+ path: z.never().optional(),
1469
+ query: z.never().optional()
1470
+ });
1471
+ /**
1472
+ * Successfully created. Returns created token details with unmasked/raw secret.
1473
+ */
1026
1474
  export const zCreateTokenResponse = zToken;
1475
+ export const zDeleteTokenData = z.object({
1476
+ body: z.never().optional(),
1477
+ path: z.object({
1478
+ token_id: z.string()
1479
+ }),
1480
+ query: z.never().optional()
1481
+ });
1482
+ export const zGetTokenData = z.object({
1483
+ body: z.never().optional(),
1484
+ path: z.object({
1485
+ token_id: z.string()
1486
+ }),
1487
+ query: z.never().optional()
1488
+ });
1489
+ /**
1490
+ * Returns access token details with masked secret.
1491
+ */
1027
1492
  export const zGetTokenResponse = zToken;
1493
+ export const zUpdateTokenData = z.object({
1494
+ body: zTokenUpdateInput,
1495
+ path: z.object({
1496
+ token_id: z.string()
1497
+ }),
1498
+ query: z.never().optional()
1499
+ });
1500
+ /**
1501
+ * Successfully updated. Returns updated token details with masked secret.
1502
+ */
1028
1503
  export const zUpdateTokenResponse = zToken;
1504
+ export const zRegenerateTokenData = z.object({
1505
+ body: z.never().optional(),
1506
+ path: z.object({
1507
+ token_id: z.string()
1508
+ }),
1509
+ query: z.never().optional()
1510
+ });
1511
+ /**
1512
+ * Successfully updated. Returns updated token details with unmasked / raw secret.
1513
+ */
1029
1514
  export const zRegenerateTokenResponse = zToken;
1515
+ export const zListUserOrganizationsData = z.object({
1516
+ body: z.never().optional(),
1517
+ path: z.object({
1518
+ email: z.string()
1519
+ }),
1520
+ query: z.never().optional()
1521
+ });
1522
+ /**
1523
+ * An array of organizations the user belongs to.
1524
+ */
1030
1525
  export const zListUserOrganizationsResponse = z.array(z.object({
1031
1526
  realm: z.string().optional(),
1032
1527
  displayName: z.string().optional()
1033
1528
  }));
1529
+ export const zListUsersData = z.object({
1530
+ body: z.never().optional(),
1531
+ path: z.never().optional(),
1532
+ query: z.never().optional()
1533
+ });
1534
+ /**
1535
+ * An array of users
1536
+ */
1034
1537
  export const zListUsersResponse = z.array(zUser);
1538
+ export const zCreateUserData = z.object({
1539
+ body: zUserCreateInput,
1540
+ path: z.never().optional(),
1541
+ query: z.never().optional()
1542
+ });
1543
+ /**
1544
+ * Successfully created. Returns created user details.
1545
+ */
1035
1546
  export const zCreateUserResponse = zUser;
1547
+ export const zDeleteUserData = z.object({
1548
+ body: z.never().optional(),
1549
+ path: z.object({
1550
+ user_id: z.string()
1551
+ }),
1552
+ query: z.never().optional()
1553
+ });
1554
+ /**
1555
+ * User profile information
1556
+ */
1036
1557
  export const zDeleteUserResponse = zUser;
1558
+ export const zGetUserData = z.object({
1559
+ body: z.never().optional(),
1560
+ path: z.object({
1561
+ user_id: z.string()
1562
+ }),
1563
+ query: z.never().optional()
1564
+ });
1565
+ /**
1566
+ * User profile information
1567
+ */
1037
1568
  export const zGetUserResponse = zUser;
1569
+ export const zUpdateUserData = z.object({
1570
+ body: zUserUpdateInput,
1571
+ path: z.object({
1572
+ user_id: z.string()
1573
+ }),
1574
+ query: z.never().optional()
1575
+ });
1576
+ /**
1577
+ * Successfully created. Returns created user details.
1578
+ */
1038
1579
  export const zUpdateUserResponse = zUser;
1039
- export const zDeleteClusterPermissionsResponse = zUser;
1040
- export const zSetClusterPermissionsResponse = zUser;
1041
1580
  //# sourceMappingURL=zod.gen.js.map