@cloudfleet/sdk 0.0.1-96d5fec → 0.0.1-9c683a8

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 (87) hide show
  1. package/dist/@tanstack/react-query.gen.d.ts +1048 -0
  2. package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
  3. package/dist/@tanstack/react-query.gen.js +1040 -0
  4. package/dist/@tanstack/react-query.gen.js.map +1 -0
  5. package/dist/client/client.gen.d.ts +3 -0
  6. package/dist/client/client.gen.d.ts.map +1 -0
  7. package/dist/client/client.gen.js +220 -0
  8. package/dist/client/client.gen.js.map +1 -0
  9. package/dist/client/index.d.ts +9 -0
  10. package/dist/client/index.d.ts.map +1 -0
  11. package/dist/client/index.js +7 -0
  12. package/dist/client/index.js.map +1 -0
  13. package/dist/client/types.gen.d.ts +121 -0
  14. package/dist/client/types.gen.d.ts.map +1 -0
  15. package/dist/client/types.gen.js +3 -0
  16. package/dist/client/types.gen.js.map +1 -0
  17. package/dist/client/utils.gen.d.ts +38 -0
  18. package/dist/client/utils.gen.d.ts.map +1 -0
  19. package/dist/client/utils.gen.js +229 -0
  20. package/dist/client/utils.gen.js.map +1 -0
  21. package/dist/client.gen.d.ts +13 -0
  22. package/dist/client.gen.d.ts.map +1 -0
  23. package/dist/client.gen.js +4 -0
  24. package/dist/client.gen.js.map +1 -0
  25. package/dist/core/auth.gen.d.ts +19 -0
  26. package/dist/core/auth.gen.d.ts.map +1 -0
  27. package/dist/core/auth.gen.js +15 -0
  28. package/dist/core/auth.gen.js.map +1 -0
  29. package/dist/core/bodySerializer.gen.d.ts +26 -0
  30. package/dist/core/bodySerializer.gen.d.ts.map +1 -0
  31. package/dist/core/bodySerializer.gen.js +58 -0
  32. package/dist/core/bodySerializer.gen.js.map +1 -0
  33. package/dist/core/params.gen.d.ts +44 -0
  34. package/dist/core/params.gen.d.ts.map +1 -0
  35. package/dist/core/params.gen.js +101 -0
  36. package/dist/core/params.gen.js.map +1 -0
  37. package/dist/core/pathSerializer.gen.d.ts +34 -0
  38. package/dist/core/pathSerializer.gen.d.ts.map +1 -0
  39. package/dist/core/pathSerializer.gen.js +107 -0
  40. package/dist/core/pathSerializer.gen.js.map +1 -0
  41. package/dist/core/queryKeySerializer.gen.d.ts +19 -0
  42. package/dist/core/queryKeySerializer.gen.d.ts.map +1 -0
  43. package/dist/core/queryKeySerializer.gen.js +93 -0
  44. package/dist/core/queryKeySerializer.gen.js.map +1 -0
  45. package/dist/core/serverSentEvents.gen.d.ts +72 -0
  46. package/dist/core/serverSentEvents.gen.d.ts.map +1 -0
  47. package/dist/core/serverSentEvents.gen.js +133 -0
  48. package/dist/core/serverSentEvents.gen.js.map +1 -0
  49. package/dist/core/types.gen.d.ts +79 -0
  50. package/dist/core/types.gen.d.ts.map +1 -0
  51. package/dist/core/types.gen.js +3 -0
  52. package/dist/core/types.gen.js.map +1 -0
  53. package/dist/core/utils.gen.d.ts +20 -0
  54. package/dist/core/utils.gen.d.ts.map +1 -0
  55. package/dist/core/utils.gen.js +88 -0
  56. package/dist/core/utils.gen.js.map +1 -0
  57. package/dist/index.d.ts +3 -0
  58. package/dist/index.d.ts.map +1 -1
  59. package/dist/index.js +3 -0
  60. package/dist/index.js.map +1 -1
  61. package/dist/schemas.gen.d.ts +1012 -1039
  62. package/dist/schemas.gen.d.ts.map +1 -1
  63. package/dist/schemas.gen.js +1476 -1070
  64. package/dist/schemas.gen.js.map +1 -1
  65. package/dist/sdk.gen.d.ts +227 -142
  66. package/dist/sdk.gen.d.ts.map +1 -1
  67. package/dist/sdk.gen.js +284 -223
  68. package/dist/sdk.gen.js.map +1 -1
  69. package/dist/services/kubernetes/api.d.ts +196 -0
  70. package/dist/services/kubernetes/api.d.ts.map +1 -0
  71. package/dist/services/kubernetes/api.js +140 -0
  72. package/dist/services/kubernetes/api.js.map +1 -0
  73. package/dist/services/kubernetes/index.d.ts +44 -0
  74. package/dist/services/kubernetes/index.d.ts.map +1 -0
  75. package/dist/services/kubernetes/index.js +68 -0
  76. package/dist/services/kubernetes/index.js.map +1 -0
  77. package/dist/services/kubernetes/types.d.ts +1335 -0
  78. package/dist/services/kubernetes/types.d.ts.map +1 -0
  79. package/dist/services/kubernetes/types.js +2 -0
  80. package/dist/services/kubernetes/types.js.map +1 -0
  81. package/dist/types.gen.d.ts +983 -940
  82. package/dist/types.gen.d.ts.map +1 -1
  83. package/dist/zod.gen.d.ts +1713 -2836
  84. package/dist/zod.gen.d.ts.map +1 -1
  85. package/dist/zod.gen.js +697 -866
  86. package/dist/zod.gen.js.map +1 -1
  87. package/package.json +31 -5
package/dist/zod.gen.js CHANGED
@@ -1,42 +1,243 @@
1
1
  // This file is auto-generated by @hey-api/openapi-ts
2
- import { z } from 'zod';
2
+ import * as 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.email(),
13
+ individual_name: z.string(),
14
+ tax_id: z.string().optional(),
15
+ tax_id_type: z.enum([
16
+ 'ad_nrt',
17
+ 'ae_trn',
18
+ 'al_tin',
19
+ 'am_tin',
20
+ 'ao_tin',
21
+ 'ar_cuit',
22
+ 'at_vat',
23
+ 'au_abn',
24
+ 'au_arn',
25
+ 'ba_tin',
26
+ 'bb_tin',
27
+ 'be_vat',
28
+ 'bg_uic',
29
+ 'bg_vat',
30
+ 'bh_vat',
31
+ 'bo_tin',
32
+ 'br_cnpj',
33
+ 'br_cpf',
34
+ 'bs_tin',
35
+ 'by_tin',
36
+ 'ca_bn',
37
+ 'ca_gst_hst',
38
+ 'ca_pst_bc',
39
+ 'ca_pst_mb',
40
+ 'ca_pst_sk',
41
+ 'ca_qst',
42
+ 'cd_nif',
43
+ 'ch_uid',
44
+ 'ch_vat',
45
+ 'cl_tin',
46
+ 'cn_tin',
47
+ 'co_nit',
48
+ 'cr_tin',
49
+ 'cy_vat',
50
+ 'cz_vat',
51
+ 'de_stn',
52
+ 'de_vat',
53
+ 'dk_vat',
54
+ 'do_rcn',
55
+ 'ec_ruc',
56
+ 'ee_vat',
57
+ 'eg_tin',
58
+ 'es_cif',
59
+ 'es_vat',
60
+ 'eu_oss_vat',
61
+ 'fi_vat',
62
+ 'fr_vat',
63
+ 'gb_vat',
64
+ 'ge_vat',
65
+ 'gn_nif',
66
+ 'gr_vat',
67
+ 'hk_br',
68
+ 'hr_oib',
69
+ 'hr_vat',
70
+ 'hu_tin',
71
+ 'hu_vat',
72
+ 'id_npwp',
73
+ 'ie_vat',
74
+ 'il_vat',
75
+ 'in_gst',
76
+ 'is_vat',
77
+ 'it_vat',
78
+ 'jp_cn',
79
+ 'jp_rn',
80
+ 'jp_trn',
81
+ 'ke_pin',
82
+ 'kh_tin',
83
+ 'kr_brn',
84
+ 'kz_bin',
85
+ 'li_uid',
86
+ 'li_vat',
87
+ 'lt_vat',
88
+ 'lu_vat',
89
+ 'lv_vat',
90
+ 'ma_vat',
91
+ 'md_vat',
92
+ 'me_pib',
93
+ 'mk_vat',
94
+ 'mr_nif',
95
+ 'mt_vat',
96
+ 'mx_rfc',
97
+ 'my_frp',
98
+ 'my_itn',
99
+ 'my_sst',
100
+ 'ng_tin',
101
+ 'nl_vat',
102
+ 'no_vat',
103
+ 'no_voec',
104
+ 'np_pan',
105
+ 'nz_gst',
106
+ 'om_vat',
107
+ 'pe_ruc',
108
+ 'ph_tin',
109
+ 'pl_vat',
110
+ 'pt_vat',
111
+ 'ro_tin',
112
+ 'ro_vat',
113
+ 'rs_pib',
114
+ 'ru_inn',
115
+ 'ru_kpp',
116
+ 'sa_vat',
117
+ 'se_vat',
118
+ 'sg_gst',
119
+ 'sg_uen',
120
+ 'si_tin',
121
+ 'si_vat',
122
+ 'sk_vat',
123
+ 'sn_ninea',
124
+ 'sr_fin',
125
+ 'sv_nit',
126
+ 'th_vat',
127
+ 'tj_tin',
128
+ 'tr_tin',
129
+ 'tw_vat',
130
+ 'tz_vat',
131
+ 'ua_vat',
132
+ 'ug_tin',
133
+ 'us_ein',
134
+ 'uy_ruc',
135
+ 'uz_tin',
136
+ 'uz_vat',
137
+ 've_rif',
138
+ 'vn_tin',
139
+ 'xi_vat',
140
+ 'za_vat',
141
+ 'zm_tin',
142
+ 'zw_tin',
143
+ ''
144
+ ]).optional()
145
+ });
146
+ export const zBillingCredits = z.object({
147
+ id: z.string().optional(),
148
+ type: z.enum(['credit', 'discount']),
149
+ date_start: z.iso.datetime(),
150
+ date_end: z.iso.datetime().optional(),
151
+ code: z.string(),
152
+ description: z.string().optional(),
153
+ value_total: z.number(),
154
+ value_remaining: z.number().optional()
155
+ });
156
+ export const zChartCreateInput = z.object({
157
+ values: z.string(),
158
+ 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-]+)*))?$/),
159
+ name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
160
+ namespace: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
161
+ chart: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
162
+ });
163
+ export const zChart = z.object({
164
+ values: z.string(),
165
+ 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-]+)*))?$/),
166
+ name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
167
+ namespace: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
168
+ chart: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
169
+ status: z.enum([
170
+ 'InstallSucceeded',
171
+ 'InstallFailed',
172
+ 'UpgradeSucceeded',
173
+ 'UpgradeFailed',
174
+ 'TestSucceeded',
175
+ 'TestFailed',
176
+ 'RollbackSucceeded',
177
+ 'RollbackFailed',
178
+ 'UninstallSucceeded',
179
+ 'UninstallFailed',
180
+ 'ArtifactFailed',
181
+ 'DependencyNotReady',
182
+ 'Progressing',
183
+ 'SourceNotReady'
184
+ ]),
185
+ version_current: z.string(),
186
+ created_at: z.string(),
187
+ updated_at: z.string(),
188
+ ready: z.boolean()
189
+ });
190
+ export const zChartUpdateInput = z.object({
191
+ values: z.string(),
192
+ version_channel: z.string().regex(/^(x|X|0|[1-9]\d*)\.(x|X|0|[1-9]\d*)\.(x|X|0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/)
193
+ });
3
194
  export const zClusterCreateInput = z.object({
4
195
  name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
196
+ tier: z.enum(['basic', 'pro']),
5
197
  region: z.enum([
6
- 'staging',
7
- 'northamerica-central-1'
8
- ]).optional(),
9
- tier: z.enum([
10
- 'basic',
11
- 'pro'
12
- ]),
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')
198
+ 'staging-1a',
199
+ 'northamerica-central-1',
200
+ 'europe-central-1a',
201
+ 'northamerica-central-1a'
202
+ ]).optional().default('staging-1a'),
203
+ version_channel: z.enum([
204
+ '1.x.x-cfke.x',
205
+ '1.31.x-cfke.x',
206
+ '1.32.x-cfke.x',
207
+ '1.33.x-cfke.x'
208
+ ]).optional().default('1.x.x-cfke.x')
14
209
  });
15
210
  export const zClusterJoinInformation = z.object({
16
211
  certificate_authority: z.string(),
17
- endpoint: z.string().url(),
212
+ endpoint: z.url(),
213
+ cluster_dns: z.string(),
18
214
  auth_key: z.string(),
19
215
  bootstrap_token: z.string(),
20
216
  versions: z.object({
21
217
  kubernetes: z.string(),
22
218
  tailscale: z.string(),
23
- containerd: z.string()
219
+ containerd: z.string(),
220
+ nvidia_driver: 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])?$/),
230
+ tier: z.enum(['basic', 'pro']),
28
231
  region: z.enum([
29
- 'staging',
30
- 'northamerica-central-1'
31
- ]).optional(),
32
- tier: z.enum([
33
- 'basic',
34
- 'pro'
35
- ]),
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'),
37
- id: z.string().uuid(),
232
+ 'staging-1a',
233
+ 'northamerica-central-1',
234
+ 'europe-central-1a',
235
+ 'northamerica-central-1a'
236
+ ]).optional().default('staging-1a'),
237
+ id: z.uuid(),
38
238
  status: z.enum([
39
239
  'active',
240
+ 'disabled',
40
241
  'deleted',
41
242
  'creating',
42
243
  'deployed',
@@ -44,20 +245,20 @@ export const zCluster = z.object({
44
245
  'updating'
45
246
  ]),
46
247
  endpoint: z.union([
47
- z.string().url(),
48
- z.enum([
49
- ''
50
- ])
248
+ z.url(),
249
+ z.enum([''])
51
250
  ]).optional(),
52
251
  certificate_ca: z.string().optional(),
53
252
  version_current: z.string().optional(),
54
253
  created_at: z.string().optional(),
55
254
  updated_at: z.string().optional(),
56
- ready: z.boolean().optional()
255
+ ready: z.boolean().optional(),
256
+ version_channel: z.string().regex(/^(x|X|0|[1-9]\d*)\.(x|X|0|[1-9]\d*)\.(x|X|0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/).optional()
57
257
  });
58
258
  export const zClusterUpdateInput = z.object({
59
259
  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()
260
+ tier: z.enum(['basic', 'pro']),
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()
61
262
  });
62
263
  export const zFleetCreateInput = z.object({
63
264
  limits: z.object({
@@ -67,25 +268,15 @@ export const zFleetCreateInput = z.object({
67
268
  enabled: z.boolean().optional().default(true),
68
269
  project: z.string()
69
270
  }).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(),
271
+ hetzner: z.object({
272
+ enabled: z.boolean().optional().default(true),
273
+ apiKey: z.string()
274
+ }).optional(),
80
275
  aws: z.object({
81
276
  enabled: z.boolean().optional().default(true),
82
277
  controllerRoleArn: z.string()
83
278
  }).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
- ])
279
+ id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
89
280
  });
90
281
  export const zFleet = z.object({
91
282
  limits: z.object({
@@ -95,25 +286,15 @@ export const zFleet = z.object({
95
286
  enabled: z.boolean().optional().default(true),
96
287
  project: z.string()
97
288
  }).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(),
289
+ hetzner: z.object({
290
+ enabled: z.boolean().optional().default(true),
291
+ apiKey: z.string()
292
+ }).optional(),
108
293
  aws: z.object({
109
294
  enabled: z.boolean().optional().default(true),
110
295
  controllerRoleArn: z.string()
111
296
  }).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
- ])
297
+ id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
117
298
  });
118
299
  export const zFleetUpdateInput = z.object({
119
300
  limits: z.object({
@@ -123,752 +304,97 @@ export const zFleetUpdateInput = z.object({
123
304
  enabled: z.boolean().optional().default(true),
124
305
  project: z.string()
125
306
  }).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(),
307
+ hetzner: z.object({
308
+ enabled: z.boolean().optional().default(true),
309
+ apiKey: z.string()
310
+ }).optional(),
136
311
  aws: z.object({
137
312
  enabled: z.boolean().optional().default(true),
138
313
  controllerRoleArn: z.string()
139
314
  }).optional()
140
315
  });
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
316
  export const zInvite = z.object({
188
317
  id: z.string().optional(),
189
- organization_id: z.string().uuid().optional(),
190
- date_created: z.string().datetime(),
191
- email: z.string().email().optional(),
318
+ organization_id: z.uuid().optional(),
319
+ date_created: z.iso.datetime(),
320
+ email: z.email().optional(),
192
321
  code: z.string().optional()
193
322
  });
194
323
  export const zInvoice = z.object({
195
- id: z.string().uuid().optional(),
196
- organizationId: z.string().uuid().optional(),
197
- status: z.enum([
198
- 'DRAFT',
199
- 'COMMITTED',
200
- 'VOID'
201
- ]).optional(),
202
- amount: z.number().optional(),
203
- currency: z.enum([
204
- 'AED',
205
- 'AFN',
206
- 'ALL',
207
- 'AMD',
208
- 'ANG',
209
- 'AOA',
210
- 'ARS',
211
- 'AUD',
212
- 'AWG',
213
- 'AZN',
214
- 'BAM',
215
- 'BBD',
216
- 'BDT',
217
- 'BGN',
218
- 'BHD',
219
- 'BIF',
220
- 'BMD',
221
- 'BND',
222
- 'BOB',
223
- 'BRL',
224
- 'BSD',
225
- 'BTN',
226
- 'BWP',
227
- 'BYR',
228
- 'BZD',
229
- 'CAD',
230
- 'CDF',
231
- 'CHF',
232
- 'CLP',
233
- 'CNY',
234
- 'COP',
235
- 'CRC',
236
- 'CUC',
237
- 'CUP',
238
- 'CVE',
239
- 'CZK',
240
- 'DJF',
241
- 'DKK',
242
- 'DOP',
243
- 'DZD',
244
- 'EGP',
245
- 'ERN',
246
- 'ETB',
247
- 'EUR',
248
- 'FJD',
249
- 'FKP',
250
- 'GBP',
251
- 'GEL',
252
- 'GGP',
253
- 'GHS',
254
- 'GIP',
255
- 'GMD',
256
- 'GNF',
257
- 'GTQ',
258
- 'GYD',
259
- 'HKD',
260
- 'HNL',
261
- 'HRK',
262
- 'HTG',
263
- 'HUF',
264
- 'IDR',
265
- 'ILS',
266
- 'IMP',
267
- 'INR',
268
- 'IQD',
269
- 'IRR',
270
- 'ISK',
271
- 'JEP',
272
- 'JMD',
273
- 'JOD',
274
- 'JPY',
275
- 'KES',
276
- 'KGS',
277
- 'KHR',
278
- 'KMF',
279
- 'KPW',
280
- 'KRW',
281
- 'KWD',
282
- 'KYD',
283
- 'KZT',
284
- 'LAK',
285
- 'LBP',
286
- 'LKR',
287
- 'LRD',
288
- 'LSL',
289
- 'LTL',
290
- 'LVL',
291
- 'LYD',
292
- 'MAD',
293
- 'MDL',
294
- 'MGA',
295
- 'MKD',
296
- 'MMK',
297
- 'MNT',
298
- 'MOP',
299
- 'MRO',
300
- 'MUR',
301
- 'MVR',
302
- 'MWK',
303
- 'MXN',
304
- 'MYR',
305
- 'MZN',
306
- 'NAD',
307
- 'NGN',
308
- 'NIO',
309
- 'NOK',
310
- 'NPR',
311
- 'NZD',
312
- 'OMR',
313
- 'PAB',
314
- 'PEN',
315
- 'PGK',
316
- 'PHP',
317
- 'PKR',
318
- 'PLN',
319
- 'PYG',
320
- 'QAR',
321
- 'RON',
322
- 'RSD',
323
- 'RUB',
324
- 'RWF',
325
- 'SAR',
326
- 'SBD',
327
- 'SCR',
328
- 'SDG',
329
- 'SEK',
330
- 'SGD',
331
- 'SHP',
332
- 'SLL',
333
- 'SOS',
334
- 'SPL',
335
- 'SRD',
336
- 'STD',
337
- 'SVC',
338
- 'SYP',
339
- 'SZL',
340
- 'THB',
341
- 'TJS',
342
- 'TMT',
343
- 'TND',
344
- 'TOP',
345
- 'TRY',
346
- 'TTD',
347
- 'TVD',
348
- 'TWD',
349
- 'TZS',
350
- 'UAH',
351
- 'UGX',
352
- 'USD',
353
- 'UYU',
354
- 'UZS',
355
- 'VEF',
356
- 'VND',
357
- 'VUV',
358
- 'WST',
359
- 'XAF',
360
- 'XCD',
361
- 'XDR',
362
- 'XOF',
363
- 'XPF',
364
- 'YER',
365
- 'ZAR',
366
- 'ZMW',
367
- 'ZWD',
368
- 'BTC'
369
- ]).optional(),
370
- creditAdj: z.number().optional(),
371
- refundAdj: z.number().optional(),
372
- invoiceDate: z.string().optional(),
373
- targetDate: z.string().optional(),
374
- invoiceNumber: z.string().optional(),
375
- balance: z.number().optional(),
376
- bundleKeys: z.string().optional(),
377
- credits: z.array(z.object({
378
- id: z.string().uuid().optional(),
379
- linkedInvoiceItemId: z.string().uuid().optional(),
380
- productName: z.string().optional(),
381
- planName: z.string().optional(),
382
- phaseName: z.string().optional(),
383
- usageName: z.string().optional(),
384
- prettyProductName: z.string().optional(),
385
- prettyPlanName: z.string().optional(),
386
- prettyPhaseName: z.string().optional(),
387
- prettyUsageName: z.string().optional(),
388
- itemType: z.enum([
389
- 'EXTERNAL_CHARGE',
390
- 'FIXED',
391
- 'RECURRING',
392
- 'REPAIR_ADJ',
393
- 'CBA_ADJ',
394
- 'CREDIT_ADJ',
395
- 'ITEM_ADJ',
396
- 'USAGE',
397
- 'TAX',
398
- 'PARENT_SUMMARY'
399
- ]).optional(),
400
- description: z.string().optional(),
401
- startDate: z.string().optional(),
402
- endDate: z.string().optional(),
403
- amount: z.number().optional(),
404
- rate: z.number().optional(),
405
- currency: z.enum([
406
- 'AED',
407
- 'AFN',
408
- 'ALL',
409
- 'AMD',
410
- 'ANG',
411
- 'AOA',
412
- 'ARS',
413
- 'AUD',
414
- 'AWG',
415
- 'AZN',
416
- 'BAM',
417
- 'BBD',
418
- 'BDT',
419
- 'BGN',
420
- 'BHD',
421
- 'BIF',
422
- 'BMD',
423
- 'BND',
424
- 'BOB',
425
- 'BRL',
426
- 'BSD',
427
- 'BTN',
428
- 'BWP',
429
- 'BYR',
430
- 'BZD',
431
- 'CAD',
432
- 'CDF',
433
- 'CHF',
434
- 'CLP',
435
- 'CNY',
436
- 'COP',
437
- 'CRC',
438
- 'CUC',
439
- 'CUP',
440
- 'CVE',
441
- 'CZK',
442
- 'DJF',
443
- 'DKK',
444
- 'DOP',
445
- 'DZD',
446
- 'EGP',
447
- 'ERN',
448
- 'ETB',
449
- 'EUR',
450
- 'FJD',
451
- 'FKP',
452
- 'GBP',
453
- 'GEL',
454
- 'GGP',
455
- 'GHS',
456
- 'GIP',
457
- 'GMD',
458
- 'GNF',
459
- 'GTQ',
460
- 'GYD',
461
- 'HKD',
462
- 'HNL',
463
- 'HRK',
464
- 'HTG',
465
- 'HUF',
466
- 'IDR',
467
- 'ILS',
468
- 'IMP',
469
- 'INR',
470
- 'IQD',
471
- 'IRR',
472
- 'ISK',
473
- 'JEP',
474
- 'JMD',
475
- 'JOD',
476
- 'JPY',
477
- 'KES',
478
- 'KGS',
479
- 'KHR',
480
- 'KMF',
481
- 'KPW',
482
- 'KRW',
483
- 'KWD',
484
- 'KYD',
485
- 'KZT',
486
- 'LAK',
487
- 'LBP',
488
- 'LKR',
489
- 'LRD',
490
- 'LSL',
491
- 'LTL',
492
- 'LVL',
493
- 'LYD',
494
- 'MAD',
495
- 'MDL',
496
- 'MGA',
497
- 'MKD',
498
- 'MMK',
499
- 'MNT',
500
- 'MOP',
501
- 'MRO',
502
- 'MUR',
503
- 'MVR',
504
- 'MWK',
505
- 'MXN',
506
- 'MYR',
507
- 'MZN',
508
- 'NAD',
509
- 'NGN',
510
- 'NIO',
511
- 'NOK',
512
- 'NPR',
513
- 'NZD',
514
- 'OMR',
515
- 'PAB',
516
- 'PEN',
517
- 'PGK',
518
- 'PHP',
519
- 'PKR',
520
- 'PLN',
521
- 'PYG',
522
- 'QAR',
523
- 'RON',
524
- 'RSD',
525
- 'RUB',
526
- 'RWF',
527
- 'SAR',
528
- 'SBD',
529
- 'SCR',
530
- 'SDG',
531
- 'SEK',
532
- 'SGD',
533
- 'SHP',
534
- 'SLL',
535
- 'SOS',
536
- 'SPL',
537
- 'SRD',
538
- 'STD',
539
- 'SVC',
540
- 'SYP',
541
- 'SZL',
542
- 'THB',
543
- 'TJS',
544
- 'TMT',
545
- 'TND',
546
- 'TOP',
547
- 'TRY',
548
- 'TTD',
549
- 'TVD',
550
- 'TWD',
551
- 'TZS',
552
- 'UAH',
553
- 'UGX',
554
- 'USD',
555
- 'UYU',
556
- 'UZS',
557
- 'VEF',
558
- 'VND',
559
- 'VUV',
560
- 'WST',
561
- 'XAF',
562
- 'XCD',
563
- 'XDR',
564
- 'XOF',
565
- 'XPF',
566
- 'YER',
567
- 'ZAR',
568
- 'ZMW',
569
- 'ZWD',
570
- 'BTC'
571
- ]).optional(),
572
- quantity: z.number().optional(),
573
- itemDetails: z.string().optional(),
574
- catalogEffectiveDate: z.string().optional(),
575
- childItems: z.array(z.unknown()).optional()
576
- })).optional(),
577
- items: z.array(z.object({
578
- id: z.string().uuid().optional(),
579
- linkedInvoiceItemId: z.string().uuid().optional(),
580
- productName: z.string().optional(),
581
- planName: z.string().optional(),
582
- phaseName: z.string().optional(),
583
- usageName: z.string().optional(),
584
- prettyProductName: z.string().optional(),
585
- prettyPlanName: z.string().optional(),
586
- prettyPhaseName: z.string().optional(),
587
- prettyUsageName: z.string().optional(),
588
- itemType: z.enum([
589
- 'EXTERNAL_CHARGE',
590
- 'FIXED',
591
- 'RECURRING',
592
- 'REPAIR_ADJ',
593
- 'CBA_ADJ',
594
- 'CREDIT_ADJ',
595
- 'ITEM_ADJ',
596
- 'USAGE',
597
- 'TAX',
598
- 'PARENT_SUMMARY'
599
- ]).optional(),
324
+ id: z.string().optional(),
325
+ number: z.string().optional(),
326
+ status: z.string().optional(),
327
+ total: z.number().optional(),
328
+ currency: z.string().optional(),
329
+ created: z.iso.datetime(),
330
+ period_start: z.iso.datetime(),
331
+ period_end: z.iso.datetime(),
332
+ invoice_pdf: z.string().optional()
333
+ });
334
+ export const zMarketplaceListingFiles = z.object({
335
+ chartYaml: z.string().optional(),
336
+ valuesYaml: z.string().optional(),
337
+ valuesSchemaJson: z.string().optional()
338
+ });
339
+ export const zMarketplaceListing = z.object({
340
+ name: z.string(),
341
+ versions: z.array(z.string().regex(/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(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-]+)*))?$/)),
342
+ 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-]+)*))?$/)),
343
+ latestVersion: z.string(),
344
+ metadata: z.object({
345
+ name: z.string(),
346
+ version: z.string(),
600
347
  description: z.string().optional(),
601
- startDate: z.string().optional(),
602
- endDate: z.string().optional(),
603
- amount: z.number().optional(),
604
- rate: z.number().optional(),
605
- currency: z.enum([
606
- 'AED',
607
- 'AFN',
608
- 'ALL',
609
- 'AMD',
610
- 'ANG',
611
- 'AOA',
612
- 'ARS',
613
- 'AUD',
614
- 'AWG',
615
- 'AZN',
616
- 'BAM',
617
- 'BBD',
618
- 'BDT',
619
- 'BGN',
620
- 'BHD',
621
- 'BIF',
622
- 'BMD',
623
- 'BND',
624
- 'BOB',
625
- 'BRL',
626
- 'BSD',
627
- 'BTN',
628
- 'BWP',
629
- 'BYR',
630
- 'BZD',
631
- 'CAD',
632
- 'CDF',
633
- 'CHF',
634
- 'CLP',
635
- 'CNY',
636
- 'COP',
637
- 'CRC',
638
- 'CUC',
639
- 'CUP',
640
- 'CVE',
641
- 'CZK',
642
- 'DJF',
643
- 'DKK',
644
- 'DOP',
645
- 'DZD',
646
- 'EGP',
647
- 'ERN',
648
- 'ETB',
649
- 'EUR',
650
- 'FJD',
651
- 'FKP',
652
- 'GBP',
653
- 'GEL',
654
- 'GGP',
655
- 'GHS',
656
- 'GIP',
657
- 'GMD',
658
- 'GNF',
659
- 'GTQ',
660
- 'GYD',
661
- 'HKD',
662
- 'HNL',
663
- 'HRK',
664
- 'HTG',
665
- 'HUF',
666
- 'IDR',
667
- 'ILS',
668
- 'IMP',
669
- 'INR',
670
- 'IQD',
671
- 'IRR',
672
- 'ISK',
673
- 'JEP',
674
- 'JMD',
675
- 'JOD',
676
- 'JPY',
677
- 'KES',
678
- 'KGS',
679
- 'KHR',
680
- 'KMF',
681
- 'KPW',
682
- 'KRW',
683
- 'KWD',
684
- 'KYD',
685
- 'KZT',
686
- 'LAK',
687
- 'LBP',
688
- 'LKR',
689
- 'LRD',
690
- 'LSL',
691
- 'LTL',
692
- 'LVL',
693
- 'LYD',
694
- 'MAD',
695
- 'MDL',
696
- 'MGA',
697
- 'MKD',
698
- 'MMK',
699
- 'MNT',
700
- 'MOP',
701
- 'MRO',
702
- 'MUR',
703
- 'MVR',
704
- 'MWK',
705
- 'MXN',
706
- 'MYR',
707
- 'MZN',
708
- 'NAD',
709
- 'NGN',
710
- 'NIO',
711
- 'NOK',
712
- 'NPR',
713
- 'NZD',
714
- 'OMR',
715
- 'PAB',
716
- 'PEN',
717
- 'PGK',
718
- 'PHP',
719
- 'PKR',
720
- 'PLN',
721
- 'PYG',
722
- 'QAR',
723
- 'RON',
724
- 'RSD',
725
- 'RUB',
726
- 'RWF',
727
- 'SAR',
728
- 'SBD',
729
- 'SCR',
730
- 'SDG',
731
- 'SEK',
732
- 'SGD',
733
- 'SHP',
734
- 'SLL',
735
- 'SOS',
736
- 'SPL',
737
- 'SRD',
738
- 'STD',
739
- 'SVC',
740
- 'SYP',
741
- 'SZL',
742
- 'THB',
743
- 'TJS',
744
- 'TMT',
745
- 'TND',
746
- 'TOP',
747
- 'TRY',
748
- 'TTD',
749
- 'TVD',
750
- 'TWD',
751
- 'TZS',
752
- 'UAH',
753
- 'UGX',
754
- 'USD',
755
- 'UYU',
756
- 'UZS',
757
- 'VEF',
758
- 'VND',
759
- 'VUV',
760
- 'WST',
761
- 'XAF',
762
- 'XCD',
763
- 'XDR',
764
- 'XOF',
765
- 'XPF',
766
- 'YER',
767
- 'ZAR',
768
- 'ZMW',
769
- 'ZWD',
770
- 'BTC'
771
- ]).optional(),
772
- quantity: z.number().optional(),
773
- itemDetails: z.string().optional(),
774
- catalogEffectiveDate: z.string().optional(),
775
- childItems: z.array(z.unknown()).optional()
776
- })).optional()
777
- });
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()
348
+ appVersion: z.string().optional(),
349
+ apiVersion: z.string().optional(),
350
+ keywords: z.array(z.string()).optional(),
351
+ home: z.string().optional(),
352
+ icon: z.string().optional(),
353
+ sources: z.array(z.string()).optional(),
354
+ maintainers: z.array(z.object({
355
+ name: z.string(),
356
+ email: z.string().optional()
357
+ })).optional()
358
+ }).optional()
789
359
  });
790
360
  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
- }),
361
+ email: z.email(),
362
+ first_name: z.string(),
363
+ last_name: z.string(),
364
+ 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
365
  password: z.string().min(8)
805
366
  });
806
367
  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
- id: z.string().uuid(),
821
- date_created: z.string().datetime(),
368
+ id: z.uuid(),
369
+ name: z.string().min(2).max(120).optional(),
370
+ date_created: z.iso.datetime(),
822
371
  quota: z.object({
823
- basic_clusters_max: z.number().int().gte(0),
824
- basic_clusters_available: z.number().int(),
825
- pro_clusters_max: z.number().int().gte(0),
826
- pro_clusters_available: z.number().int(),
827
- fleets_max: z.number().int().gte(0),
828
- managed_fleets_cpu_max: z.number().int().gte(0),
372
+ basic_clusters_max: z.int().gte(0),
373
+ basic_clusters_available: z.int(),
374
+ pro_clusters_max: z.int().gte(0),
375
+ pro_clusters_available: z.int(),
376
+ fleets_max: z.int().gte(0),
829
377
  cluster_tiers: z.array(z.string()).min(0),
830
378
  regions: z.array(z.string()).min(1),
831
379
  versions: z.array(z.object({
832
380
  id: z.string(),
833
381
  label: z.string()
834
- })).min(1)
382
+ })).min(1),
383
+ cfcr_storage_gb: z.int().gte(-1)
835
384
  }),
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
385
  status: z.enum([
843
386
  'active',
844
387
  'closed',
845
388
  'suspended'
846
389
  ])
847
390
  });
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
391
  export const zPaymentMethod = z.object({
864
- id: z.string().uuid(),
392
+ id: z.uuid(),
865
393
  setup: z.boolean(),
866
- type: z.enum([
867
- 'card'
868
- ]),
394
+ type: z.enum(['card']),
869
395
  last4: z.string(),
870
- exp_month: z.number().int().gte(1).lte(12),
871
- exp_year: z.number().int().gte(2024),
396
+ exp_month: z.int().gte(1).lte(12),
397
+ exp_year: z.int().gte(2024),
872
398
  brand: z.enum([
873
399
  'amex',
874
400
  'diners',
@@ -881,161 +407,466 @@ export const zPaymentMethod = z.object({
881
407
  'unknown'
882
408
  ])
883
409
  });
410
+ export const zPlatformQuota = z.object({
411
+ basic_clusters_max: z.int().gte(0),
412
+ basic_clusters_available: z.int(),
413
+ pro_clusters_max: z.int().gte(0),
414
+ pro_clusters_available: z.int(),
415
+ fleets_max: z.int().gte(0),
416
+ cluster_tiers: z.array(z.string()).min(0),
417
+ regions: z.array(z.string()).min(1),
418
+ versions: z.array(z.object({
419
+ id: z.string(),
420
+ label: z.string()
421
+ })).min(1),
422
+ cfcr_storage_gb: z.int().gte(-1)
423
+ });
424
+ export const zRegistryRepository = z.object({
425
+ name: z.string(),
426
+ region: z.string(),
427
+ uri: z.string()
428
+ });
429
+ export const zRegistryRepositoryWithTags = z.object({
430
+ name: z.string(),
431
+ region: z.string(),
432
+ uri: z.string(),
433
+ tags: z.array(z.object({
434
+ name: z.string(),
435
+ size: z.number(),
436
+ mediaType: z.string().optional(),
437
+ platforms: z.array(z.string()).optional()
438
+ })),
439
+ totalSize: z.number()
440
+ });
441
+ export const zRegistryTag = z.object({
442
+ name: z.string(),
443
+ digest: z.string(),
444
+ mediaType: z.string().optional(),
445
+ config: z.object({
446
+ size: z.number()
447
+ }).optional(),
448
+ layers: z.array(z.object({
449
+ digest: z.string().optional(),
450
+ size: z.number()
451
+ })).optional(),
452
+ manifests: z.array(z.object({
453
+ digest: z.string(),
454
+ platform: z.object({
455
+ architecture: z.string(),
456
+ os: z.string(),
457
+ variant: z.string().optional()
458
+ }).optional(),
459
+ layers: z.array(z.object({
460
+ digest: z.string().optional(),
461
+ size: z.number()
462
+ })).optional(),
463
+ size: z.number().optional()
464
+ })).optional(),
465
+ size: z.number(),
466
+ region: z.string(),
467
+ repository: z.string(),
468
+ uri: z.string()
469
+ });
884
470
  export const zTokenCreateInput = z.object({
885
471
  name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
886
- role: z.enum([
887
- 'Administrator',
888
- 'User'
889
- ])
472
+ role: z.enum(['Administrator', 'User'])
890
473
  });
891
474
  export const zToken = z.object({
892
475
  name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
893
- role: z.enum([
894
- 'Administrator',
895
- 'User'
896
- ]),
476
+ role: z.enum(['Administrator', 'User']),
897
477
  id: z.string().optional(),
898
478
  secret: z.string().optional(),
899
- date_created: z.string().datetime()
479
+ date_created: z.iso.datetime()
900
480
  });
901
481
  export const zTokenUpdateInput = z.object({
902
482
  name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/).optional(),
903
- role: z.enum([
904
- 'Administrator',
905
- 'User'
906
- ]).optional()
483
+ role: z.enum(['Administrator', 'User']).optional()
484
+ });
485
+ export const zUsageFacets = z.object({
486
+ cluster_id: z.array(z.string()).optional(),
487
+ product: z.array(z.string()).optional()
488
+ });
489
+ export const zUsageResponse = z.object({
490
+ data: z.array(z.object({
491
+ hour: z.string(),
492
+ cluster_id: z.string(),
493
+ product: z.string(),
494
+ value: z.number(),
495
+ price: z.number(),
496
+ total: z.number()
497
+ })),
498
+ facets: z.object({
499
+ cluster_id: z.array(z.string()).optional(),
500
+ product: z.array(z.string()).optional()
501
+ })
907
502
  });
908
503
  export const zUsage = z.object({
909
- id: z.string().uuid(),
910
- task_id: z.string().uuid(),
911
- unit: z.string(),
912
- amount: z.number()
504
+ hour: z.string(),
505
+ cluster_id: z.string(),
506
+ product: z.string(),
507
+ value: z.number(),
508
+ price: z.number(),
509
+ total: z.number()
913
510
  });
914
511
  export const zUserCreateInput = z.object({
915
- email: z.string().email(),
512
+ email: z.email(),
916
513
  first_name: z.string().min(1).max(50),
917
514
  last_name: z.string().min(1).max(50),
918
515
  code: z.string(),
919
516
  password: z.string().min(8),
920
- status: z.enum([
921
- 'active',
922
- 'inactive'
923
- ]).optional(),
924
- role: z.enum([
925
- 'Administrator',
926
- 'User'
927
- ]).optional()
517
+ status: z.enum(['active', 'inactive']).optional(),
518
+ role: z.enum(['Administrator', 'User']).optional()
928
519
  });
929
520
  export const zUser = z.object({
930
- email: z.string().email(),
521
+ email: z.email(),
931
522
  first_name: z.string().min(1).max(50),
932
523
  last_name: z.string().min(1).max(50),
933
- role: z.enum([
934
- 'Administrator',
935
- 'User'
936
- ]),
937
- status: z.enum([
938
- 'active',
939
- 'inactive'
940
- ]),
941
- 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()
524
+ role: z.enum(['Administrator', 'User']),
525
+ status: z.enum(['active', 'inactive']),
526
+ id: z.uuid(),
527
+ date_created: z.iso.datetime()
950
528
  });
951
529
  export const zUserUpdateInput = z.object({
952
- email: z.string().email().optional(),
530
+ email: z.email().optional(),
953
531
  first_name: z.string().min(1).max(50).optional(),
954
532
  last_name: z.string().min(1).max(50).optional(),
955
- role: z.enum([
956
- 'Administrator',
957
- 'User'
958
- ]).optional(),
959
- status: z.enum([
960
- 'active',
961
- 'inactive'
962
- ]).optional()
533
+ role: z.enum(['Administrator', 'User']).optional(),
534
+ status: z.enum(['active', 'inactive']).optional()
535
+ });
536
+ export const zGetUsageQuery = z.object({
537
+ granularity: z.enum([
538
+ 'hourly',
539
+ 'daily',
540
+ 'monthly'
541
+ ]).optional().default('daily')
963
542
  });
964
- export const zGetUsageResponse = z.array(zUsage);
965
- export const zGetBalanceResponse = z.number();
543
+ /**
544
+ * Usage data with facets for filtering
545
+ */
546
+ export const zGetUsageResponse = zUsageResponse;
547
+ /**
548
+ * Redacted payment card information.
549
+ */
966
550
  export const zGetPaymentMethodResponse = zPaymentMethod;
551
+ /**
552
+ * 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.
553
+ *
554
+ */
967
555
  export const zGetPaymentMethodSecretResponse = z.object({
968
556
  id: z.string().optional()
969
557
  });
558
+ /**
559
+ * An array of usage records.
560
+ */
970
561
  export const zListInvoicesResponse = z.array(zInvoice);
971
- export const zGetInvoiceResponse = z.object({
972
- html: z.string().optional()
562
+ /**
563
+ * Returns a single object containing organization contact and billing address details.
564
+ */
565
+ export const zGetContactResponse = zBillingContact;
566
+ export const zUpdateContactBody = zBillingContact;
567
+ /**
568
+ * Successfully updated. Returns updated organization details.
569
+ */
570
+ export const zUpdateContactResponse = zBillingContact;
571
+ /**
572
+ * An array of the applied promotional credits records.
573
+ */
574
+ export const zGetCreditsResponse = z.array(zBillingCredits);
575
+ export const zRedeemCreditsBody = z.object({
576
+ code: z.string().optional()
577
+ });
578
+ export const zListChartsPath = z.object({
579
+ cluster_id: z.string()
973
580
  });
581
+ /**
582
+ * An array of charts
583
+ */
584
+ export const zListChartsResponse = z.array(zChart);
585
+ export const zCreateChartBody = zChartCreateInput;
586
+ export const zCreateChartPath = z.object({
587
+ cluster_id: z.string()
588
+ });
589
+ /**
590
+ * Successfully created. Returns created Chart ID.
591
+ */
592
+ export const zCreateChartResponse = z.string();
593
+ export const zDeleteChartPath = z.object({
594
+ cluster_id: z.string(),
595
+ chart_name: z.string()
596
+ });
597
+ /**
598
+ * Successfully deleted.
599
+ */
600
+ export const zDeleteChartResponse = z.string();
601
+ export const zGetChartPath = z.object({
602
+ cluster_id: z.string(),
603
+ chart_name: z.string()
604
+ });
605
+ /**
606
+ * Returns a single object containing chart details.
607
+ */
608
+ export const zGetChartResponse = zChart;
609
+ export const zUpdateChartBody = zChartUpdateInput;
610
+ export const zUpdateChartPath = z.object({
611
+ cluster_id: z.string(),
612
+ chart_name: z.string()
613
+ });
614
+ /**
615
+ * Successfully updated.
616
+ */
617
+ export const zUpdateChartResponse = z.string();
618
+ export const zListFleetsPath = z.object({
619
+ cluster_id: z.string()
620
+ });
621
+ /**
622
+ * An array of fleets
623
+ */
974
624
  export const zListFleetsResponse = z.array(zFleet);
625
+ export const zCreateFleetBody = zFleetCreateInput;
626
+ export const zCreateFleetPath = z.object({
627
+ cluster_id: z.string()
628
+ });
629
+ /**
630
+ * Successfully created. Returns created Fleet ID.
631
+ */
975
632
  export const zCreateFleetResponse = z.string();
633
+ export const zDeleteFleetPath = z.object({
634
+ cluster_id: z.string(),
635
+ fleet_name: z.string()
636
+ });
637
+ /**
638
+ * Successfully deleted.
639
+ */
976
640
  export const zDeleteFleetResponse = z.string();
641
+ export const zGetFleetPath = z.object({
642
+ cluster_id: z.string(),
643
+ fleet_name: z.string()
644
+ });
645
+ /**
646
+ * Returns a single object containing fleet details.
647
+ */
977
648
  export const zGetFleetResponse = zFleet;
649
+ export const zUpdateFleetBody = zFleetUpdateInput;
650
+ export const zUpdateFleetPath = z.object({
651
+ cluster_id: z.string(),
652
+ fleet_name: z.string()
653
+ });
654
+ /**
655
+ * Successfully updated.
656
+ */
978
657
  export const zUpdateFleetResponse = z.string();
658
+ export const zQueryClusterPath = z.object({
659
+ cluster_id: z.string()
660
+ });
661
+ /**
662
+ * An array of clusters
663
+ */
979
664
  export const zListClustersResponse = z.array(zCluster);
665
+ export const zCreateClusterBody = zClusterCreateInput;
666
+ /**
667
+ * Successfully created. Returns created Cluster ID.
668
+ */
980
669
  export const zCreateClusterResponse = z.string();
670
+ export const zDeleteClusterPath = z.object({
671
+ cluster_id: z.string()
672
+ });
673
+ /**
674
+ * Successfully deleted.
675
+ */
981
676
  export const zDeleteClusterResponse = z.string();
677
+ export const zGetClusterPath = z.object({
678
+ cluster_id: z.string()
679
+ });
680
+ /**
681
+ * Returns a single object containing cluster details.
682
+ */
982
683
  export const zGetClusterResponse = zCluster;
684
+ export const zUpdateClusterBody = zClusterUpdateInput;
685
+ export const zUpdateClusterPath = z.object({
686
+ cluster_id: z.string()
687
+ });
688
+ /**
689
+ * Successfully updated. Returns updated cluster details.
690
+ */
983
691
  export const zUpdateClusterResponse = zCluster;
984
- 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({});
692
+ export const zGetClusterCaPath = z.object({
693
+ cluster_id: z.string()
694
+ });
695
+ /**
696
+ * PEM-encoded certificate authority of the cluster.
697
+ */
698
+ export const zGetClusterCaResponse = z.string();
699
+ export const zGetJoinInformationPath = z.object({
700
+ cluster_id: z.string()
701
+ });
702
+ /**
703
+ * An object of cluster join information
704
+ */
705
+ export const zGetJoinInformationResponse = zClusterJoinInformation;
706
+ /**
707
+ * An array of invites
708
+ */
1019
709
  export const zListInvitesResponse = z.array(zInvite);
710
+ export const zCreateInviteBody = z.object({
711
+ email: z.string().optional()
712
+ });
713
+ /**
714
+ * Successfully created. Returns created invite details.
715
+ */
1020
716
  export const zCreateInviteResponse = zInvite;
717
+ export const zGetInvitePath = z.object({
718
+ code: z.string()
719
+ });
720
+ /**
721
+ * Returns a single object containing invite details.
722
+ */
1021
723
  export const zGetInviteResponse = zInvite;
724
+ export const zDeleteInvitePath = z.object({
725
+ email: z.string()
726
+ });
727
+ /**
728
+ * An array of chart listings in the marketplace.
729
+ */
730
+ export const zListMarketplaceChartsResponse = z.array(zMarketplaceListing);
731
+ export const zGetMarketplaceChartFilesPath = z.object({
732
+ chart_name: z.string(),
733
+ version_channel: z.string()
734
+ });
735
+ /**
736
+ * Returns an object containing the chart files for the latest matching version.
737
+ */
738
+ export const zGetMarketplaceChartFilesResponse = zMarketplaceListingFiles;
739
+ /**
740
+ * JSON-RPC 2.0 request payload
741
+ */
742
+ export const zPostMcpBody = z.object({
743
+ jsonrpc: z.string().optional(),
744
+ method: z.string().optional(),
745
+ id: z.union([
746
+ z.string(),
747
+ z.number()
748
+ ]).optional(),
749
+ params: z.record(z.string(), z.unknown()).optional()
750
+ });
751
+ /**
752
+ * JSON-RPC 2.0 success or error response
753
+ */
754
+ export const zPostMcpResponse = z.object({
755
+ jsonrpc: z.string().optional(),
756
+ id: z.union([
757
+ z.string(),
758
+ z.number()
759
+ ]).optional(),
760
+ result: z.record(z.string(), z.unknown()).optional(),
761
+ error: z.object({
762
+ code: z.int().optional(),
763
+ message: z.string().optional()
764
+ }).optional()
765
+ });
766
+ /**
767
+ * Returns a single object containing organization details.
768
+ */
1022
769
  export const zGetOrganizationResponse = zOrganization;
1023
- export const zCreateOrganizationResponse = zOrganization;
1024
- export const zUpdateOrganizationResponse = zOrganization;
770
+ export const zCreateOrganizationBody = zOrganizationCreateInput;
771
+ /**
772
+ * List of repositories
773
+ */
774
+ export const zListRepositoriesResponse = z.array(zRegistryRepository);
775
+ export const zListTagsPath = z.object({
776
+ region: z.string(),
777
+ repository: z.string()
778
+ });
779
+ /**
780
+ * Repository with tags
781
+ */
782
+ export const zListTagsResponse = zRegistryRepositoryWithTags;
783
+ export const zDeleteTagPath = z.object({
784
+ region: z.string(),
785
+ repository: z.string(),
786
+ tag: z.string()
787
+ });
788
+ export const zGetTagPath = z.object({
789
+ region: z.string(),
790
+ repository: z.string(),
791
+ tag: z.string()
792
+ });
793
+ /**
794
+ * Tag details
795
+ */
796
+ export const zGetTagResponse = zRegistryTag;
797
+ /**
798
+ * Returns a list of access token details with masked secrets.
799
+ */
1025
800
  export const zListTokensResponse = z.array(zToken);
801
+ export const zCreateTokenBody = zTokenCreateInput;
802
+ /**
803
+ * Successfully created. Returns created token details with unmasked/raw secret.
804
+ */
1026
805
  export const zCreateTokenResponse = zToken;
806
+ export const zDeleteTokenPath = z.object({
807
+ token_id: z.string()
808
+ });
809
+ export const zGetTokenPath = z.object({
810
+ token_id: z.string()
811
+ });
812
+ /**
813
+ * Returns access token details with masked secret.
814
+ */
1027
815
  export const zGetTokenResponse = zToken;
816
+ export const zUpdateTokenBody = zTokenUpdateInput;
817
+ export const zUpdateTokenPath = z.object({
818
+ token_id: z.string()
819
+ });
820
+ /**
821
+ * Successfully updated. Returns updated token details with masked secret.
822
+ */
1028
823
  export const zUpdateTokenResponse = zToken;
824
+ export const zRegenerateTokenPath = z.object({
825
+ token_id: z.string()
826
+ });
827
+ /**
828
+ * Successfully updated. Returns updated token details with unmasked / raw secret.
829
+ */
1029
830
  export const zRegenerateTokenResponse = zToken;
831
+ export const zListUserOrganizationsPath = z.object({
832
+ email: z.string()
833
+ });
834
+ /**
835
+ * An array of organizations the user belongs to.
836
+ */
1030
837
  export const zListUserOrganizationsResponse = z.array(z.object({
1031
838
  realm: z.string().optional(),
1032
839
  displayName: z.string().optional()
1033
840
  }));
841
+ /**
842
+ * An array of users
843
+ */
1034
844
  export const zListUsersResponse = z.array(zUser);
845
+ export const zCreateUserBody = zUserCreateInput;
846
+ /**
847
+ * Successfully created. Returns created user details.
848
+ */
1035
849
  export const zCreateUserResponse = zUser;
850
+ export const zDeleteUserPath = z.object({
851
+ user_id: z.string()
852
+ });
853
+ /**
854
+ * User profile information
855
+ */
1036
856
  export const zDeleteUserResponse = zUser;
857
+ export const zGetUserPath = z.object({
858
+ user_id: z.string()
859
+ });
860
+ /**
861
+ * User profile information
862
+ */
1037
863
  export const zGetUserResponse = zUser;
864
+ export const zUpdateUserBody = zUserUpdateInput;
865
+ export const zUpdateUserPath = z.object({
866
+ user_id: z.string()
867
+ });
868
+ /**
869
+ * Successfully created. Returns created user details.
870
+ */
1038
871
  export const zUpdateUserResponse = zUser;
1039
- export const zDeleteClusterPermissionsResponse = zUser;
1040
- export const zSetClusterPermissionsResponse = zUser;
1041
872
  //# sourceMappingURL=zod.gen.js.map