aws-runtime-bridge 1.9.71 → 1.9.73

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 (990) hide show
  1. package/dist/routes/terminal.d.ts.map +1 -1
  2. package/dist/routes/terminal.js +41 -3
  3. package/dist/services/auto-register.d.ts +13 -0
  4. package/dist/services/auto-register.d.ts.map +1 -1
  5. package/dist/services/auto-register.js +36 -1
  6. package/dist/services/session-output.d.ts.map +1 -1
  7. package/dist/services/session-output.js +18 -3
  8. package/dist/services/tunnel-client.js +4 -0
  9. package/node_modules/zod/mini/index.cjs +17 -0
  10. package/node_modules/zod/mini/index.d.cts +1 -0
  11. package/node_modules/zod/mini/index.d.ts +1 -0
  12. package/node_modules/zod/mini/index.js +1 -0
  13. package/node_modules/zod/package.json +135 -0
  14. package/node_modules/zod/src/mini/index.ts +1 -0
  15. package/node_modules/zod/src/v3/tests/complex.test.ts +56 -0
  16. package/node_modules/zod/src/v3/tests/function.test.ts +257 -0
  17. package/node_modules/zod/src/v3/tests/nan.test.ts +21 -0
  18. package/node_modules/zod/src/v4/classic/checks.ts +31 -0
  19. package/node_modules/zod/src/v4/classic/external.ts +50 -0
  20. package/node_modules/zod/src/v4/classic/schemas.ts +2197 -0
  21. package/node_modules/zod/src/v4/classic/tests/brand.test.ts +63 -0
  22. package/node_modules/zod/src/v4/classic/tests/codec.test.ts +562 -0
  23. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +352 -0
  24. package/node_modules/zod/src/v4/classic/tests/date.test.ts +31 -0
  25. package/node_modules/zod/src/v4/classic/tests/function.test.ts +308 -0
  26. package/node_modules/zod/src/v4/classic/tests/index.test.ts +844 -0
  27. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +34 -0
  28. package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +171 -0
  29. package/node_modules/zod/src/v4/classic/tests/json.test.ts +108 -0
  30. package/node_modules/zod/src/v4/classic/tests/map.test.ts +196 -0
  31. package/node_modules/zod/src/v4/classic/tests/object.test.ts +609 -0
  32. package/node_modules/zod/src/v4/classic/tests/optional.test.ts +136 -0
  33. package/node_modules/zod/src/v4/classic/tests/partial.test.ts +340 -0
  34. package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +127 -0
  35. package/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
  36. package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
  37. package/node_modules/zod/src/v4/classic/tests/record.test.ts +356 -0
  38. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +582 -0
  39. package/node_modules/zod/src/v4/classic/tests/refine.test.ts +605 -0
  40. package/node_modules/zod/src/v4/classic/tests/registries.test.ts +204 -0
  41. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +57 -0
  42. package/node_modules/zod/src/v4/classic/tests/string.test.ts +1080 -0
  43. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +763 -0
  44. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +2622 -0
  45. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +163 -0
  46. package/node_modules/zod/src/v4/classic/tests/union.test.ts +181 -0
  47. package/node_modules/zod/src/v4/core/api.ts +1621 -0
  48. package/node_modules/zod/src/v4/core/checks.ts +1287 -0
  49. package/node_modules/zod/src/v4/core/core.ts +115 -0
  50. package/node_modules/zod/src/v4/core/errors.ts +413 -0
  51. package/node_modules/zod/src/v4/core/index.ts +14 -0
  52. package/node_modules/zod/src/v4/core/regexes.ts +177 -0
  53. package/node_modules/zod/src/v4/core/registries.ts +97 -0
  54. package/node_modules/zod/src/v4/core/schemas.ts +4317 -0
  55. package/node_modules/zod/src/v4/core/standard-schema.ts +64 -0
  56. package/node_modules/zod/src/v4/core/tests/extend.test.ts +18 -0
  57. package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
  58. package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
  59. package/node_modules/zod/src/v4/core/to-json-schema.ts +1044 -0
  60. package/node_modules/zod/src/v4/core/util.ts +910 -0
  61. package/node_modules/zod/src/v4/core/versions.ts +5 -0
  62. package/node_modules/zod/src/v4/locales/ar.ts +125 -0
  63. package/node_modules/zod/src/v4/locales/az.ts +121 -0
  64. package/node_modules/zod/src/v4/locales/be.ts +184 -0
  65. package/node_modules/zod/src/v4/locales/bg.ts +136 -0
  66. package/node_modules/zod/src/v4/locales/ca.ts +127 -0
  67. package/node_modules/zod/src/v4/locales/cs.ts +142 -0
  68. package/node_modules/zod/src/v4/locales/da.ts +141 -0
  69. package/node_modules/zod/src/v4/locales/de.ts +124 -0
  70. package/node_modules/zod/src/v4/locales/en.ts +127 -0
  71. package/node_modules/zod/src/v4/locales/eo.ts +125 -0
  72. package/node_modules/zod/src/v4/locales/es.ts +159 -0
  73. package/node_modules/zod/src/v4/locales/fa.ts +134 -0
  74. package/node_modules/zod/src/v4/locales/fi.ts +131 -0
  75. package/node_modules/zod/src/v4/locales/fr-CA.ts +126 -0
  76. package/node_modules/zod/src/v4/locales/fr.ts +124 -0
  77. package/node_modules/zod/src/v4/locales/he.ts +125 -0
  78. package/node_modules/zod/src/v4/locales/hu.ts +126 -0
  79. package/node_modules/zod/src/v4/locales/id.ts +125 -0
  80. package/node_modules/zod/src/v4/locales/index.ts +47 -0
  81. package/node_modules/zod/src/v4/locales/is.ts +127 -0
  82. package/node_modules/zod/src/v4/locales/it.ts +125 -0
  83. package/node_modules/zod/src/v4/locales/ja.ts +122 -0
  84. package/node_modules/zod/src/v4/locales/ka.ts +138 -0
  85. package/node_modules/zod/src/v4/locales/km.ts +126 -0
  86. package/node_modules/zod/src/v4/locales/ko.ts +131 -0
  87. package/node_modules/zod/src/v4/locales/lt.ts +265 -0
  88. package/node_modules/zod/src/v4/locales/mk.ts +127 -0
  89. package/node_modules/zod/src/v4/locales/ms.ts +124 -0
  90. package/node_modules/zod/src/v4/locales/nl.ts +126 -0
  91. package/node_modules/zod/src/v4/locales/no.ts +124 -0
  92. package/node_modules/zod/src/v4/locales/ota.ts +125 -0
  93. package/node_modules/zod/src/v4/locales/pl.ts +126 -0
  94. package/node_modules/zod/src/v4/locales/ps.ts +133 -0
  95. package/node_modules/zod/src/v4/locales/pt.ts +123 -0
  96. package/node_modules/zod/src/v4/locales/ru.ts +184 -0
  97. package/node_modules/zod/src/v4/locales/sl.ts +126 -0
  98. package/node_modules/zod/src/v4/locales/sv.ts +127 -0
  99. package/node_modules/zod/src/v4/locales/ta.ts +125 -0
  100. package/node_modules/zod/src/v4/locales/th.ts +126 -0
  101. package/node_modules/zod/src/v4/locales/tr.ts +121 -0
  102. package/node_modules/zod/src/v4/locales/uk.ts +126 -0
  103. package/node_modules/zod/src/v4/locales/ur.ts +126 -0
  104. package/node_modules/zod/src/v4/locales/vi.ts +125 -0
  105. package/node_modules/zod/src/v4/locales/yo.ts +131 -0
  106. package/node_modules/zod/src/v4/locales/zh-CN.ts +123 -0
  107. package/node_modules/zod/src/v4/locales/zh-TW.ts +125 -0
  108. package/node_modules/zod/src/v4/mini/coerce.ts +22 -0
  109. package/node_modules/zod/src/v4/mini/external.ts +40 -0
  110. package/node_modules/zod/src/v4/mini/iso.ts +62 -0
  111. package/node_modules/zod/src/v4/mini/schemas.ts +1725 -0
  112. package/node_modules/zod/src/v4/mini/tests/brand.test.ts +51 -0
  113. package/node_modules/zod/src/v4/mini/tests/functions.test.ts +43 -0
  114. package/node_modules/zod/src/v4/mini/tests/index.test.ts +899 -0
  115. package/node_modules/zod/src/v4/mini/tests/object.test.ts +200 -0
  116. package/node_modules/zod/src/v4/mini/tests/string.test.ts +315 -0
  117. package/node_modules/zod/src/v4-mini/index.ts +1 -0
  118. package/node_modules/zod/v3/ZodError.d.cts +164 -0
  119. package/node_modules/zod/v3/ZodError.d.ts +164 -0
  120. package/node_modules/zod/v4/classic/checks.cjs +32 -0
  121. package/node_modules/zod/v4/classic/checks.d.cts +1 -0
  122. package/node_modules/zod/v4/classic/checks.d.ts +1 -0
  123. package/node_modules/zod/v4/classic/checks.js +1 -0
  124. package/node_modules/zod/v4/classic/external.cjs +70 -0
  125. package/node_modules/zod/v4/classic/external.d.cts +13 -0
  126. package/node_modules/zod/v4/classic/external.d.ts +13 -0
  127. package/node_modules/zod/v4/classic/external.js +18 -0
  128. package/node_modules/zod/v4/classic/schemas.cjs +1151 -0
  129. package/node_modules/zod/v4/classic/schemas.d.cts +673 -0
  130. package/node_modules/zod/v4/classic/schemas.d.ts +673 -0
  131. package/node_modules/zod/v4/classic/schemas.js +1040 -0
  132. package/node_modules/zod/v4/core/api.cjs +1060 -0
  133. package/node_modules/zod/v4/core/api.d.cts +295 -0
  134. package/node_modules/zod/v4/core/api.d.ts +295 -0
  135. package/node_modules/zod/v4/core/api.js +925 -0
  136. package/node_modules/zod/v4/core/checks.cjs +595 -0
  137. package/node_modules/zod/v4/core/checks.js +569 -0
  138. package/node_modules/zod/v4/core/core.cjs +74 -0
  139. package/node_modules/zod/v4/core/core.d.cts +52 -0
  140. package/node_modules/zod/v4/core/core.d.ts +52 -0
  141. package/node_modules/zod/v4/core/core.js +67 -0
  142. package/node_modules/zod/v4/core/errors.d.cts +210 -0
  143. package/node_modules/zod/v4/core/errors.d.ts +210 -0
  144. package/node_modules/zod/v4/core/index.cjs +43 -0
  145. package/node_modules/zod/v4/core/index.d.cts +14 -0
  146. package/node_modules/zod/v4/core/index.d.ts +14 -0
  147. package/node_modules/zod/v4/core/index.js +14 -0
  148. package/node_modules/zod/v4/core/regexes.cjs +136 -0
  149. package/node_modules/zod/v4/core/regexes.d.cts +78 -0
  150. package/node_modules/zod/v4/core/regexes.d.ts +78 -0
  151. package/node_modules/zod/v4/core/regexes.js +127 -0
  152. package/node_modules/zod/v4/core/registries.cjs +57 -0
  153. package/node_modules/zod/v4/core/registries.js +52 -0
  154. package/node_modules/zod/v4/core/schemas.cjs +1986 -0
  155. package/node_modules/zod/v4/core/schemas.d.cts +1113 -0
  156. package/node_modules/zod/v4/core/schemas.d.ts +1113 -0
  157. package/node_modules/zod/v4/core/schemas.js +1955 -0
  158. package/node_modules/zod/v4/core/standard-schema.d.cts +55 -0
  159. package/node_modules/zod/v4/core/standard-schema.d.ts +55 -0
  160. package/node_modules/zod/v4/core/to-json-schema.cjs +920 -0
  161. package/node_modules/zod/v4/core/to-json-schema.d.cts +90 -0
  162. package/node_modules/zod/v4/core/to-json-schema.d.ts +90 -0
  163. package/node_modules/zod/v4/core/to-json-schema.js +915 -0
  164. package/node_modules/zod/v4/core/util.cjs +658 -0
  165. package/node_modules/zod/v4/core/util.d.cts +197 -0
  166. package/node_modules/zod/v4/core/util.d.ts +197 -0
  167. package/node_modules/zod/v4/core/util.js +601 -0
  168. package/node_modules/zod/v4/core/versions.cjs +8 -0
  169. package/node_modules/zod/v4/core/versions.d.cts +5 -0
  170. package/node_modules/zod/v4/core/versions.d.ts +5 -0
  171. package/node_modules/zod/v4/core/versions.js +5 -0
  172. package/node_modules/zod/v4/locales/ar.cjs +143 -0
  173. package/node_modules/zod/v4/locales/ar.js +116 -0
  174. package/node_modules/zod/v4/locales/az.cjs +142 -0
  175. package/node_modules/zod/v4/locales/az.js +115 -0
  176. package/node_modules/zod/v4/locales/be.cjs +191 -0
  177. package/node_modules/zod/v4/locales/be.js +164 -0
  178. package/node_modules/zod/v4/locales/bg.cjs +156 -0
  179. package/node_modules/zod/v4/locales/bg.d.cts +5 -0
  180. package/node_modules/zod/v4/locales/bg.d.ts +5 -0
  181. package/node_modules/zod/v4/locales/bg.js +128 -0
  182. package/node_modules/zod/v4/locales/ca.cjs +145 -0
  183. package/node_modules/zod/v4/locales/ca.js +118 -0
  184. package/node_modules/zod/v4/locales/cs.cjs +162 -0
  185. package/node_modules/zod/v4/locales/cs.js +135 -0
  186. package/node_modules/zod/v4/locales/da.cjs +158 -0
  187. package/node_modules/zod/v4/locales/da.js +131 -0
  188. package/node_modules/zod/v4/locales/de.cjs +143 -0
  189. package/node_modules/zod/v4/locales/de.js +116 -0
  190. package/node_modules/zod/v4/locales/en.cjs +145 -0
  191. package/node_modules/zod/v4/locales/en.d.cts +5 -0
  192. package/node_modules/zod/v4/locales/en.d.ts +5 -0
  193. package/node_modules/zod/v4/locales/en.js +117 -0
  194. package/node_modules/zod/v4/locales/eo.cjs +144 -0
  195. package/node_modules/zod/v4/locales/eo.d.cts +5 -0
  196. package/node_modules/zod/v4/locales/eo.d.ts +5 -0
  197. package/node_modules/zod/v4/locales/eo.js +116 -0
  198. package/node_modules/zod/v4/locales/es.cjs +176 -0
  199. package/node_modules/zod/v4/locales/es.js +149 -0
  200. package/node_modules/zod/v4/locales/fa.cjs +149 -0
  201. package/node_modules/zod/v4/locales/fa.js +122 -0
  202. package/node_modules/zod/v4/locales/fi.cjs +149 -0
  203. package/node_modules/zod/v4/locales/fi.js +122 -0
  204. package/node_modules/zod/v4/locales/fr-CA.cjs +144 -0
  205. package/node_modules/zod/v4/locales/fr-CA.js +117 -0
  206. package/node_modules/zod/v4/locales/fr.cjs +143 -0
  207. package/node_modules/zod/v4/locales/fr.js +116 -0
  208. package/node_modules/zod/v4/locales/he.cjs +144 -0
  209. package/node_modules/zod/v4/locales/he.js +117 -0
  210. package/node_modules/zod/v4/locales/hu.cjs +144 -0
  211. package/node_modules/zod/v4/locales/hu.js +117 -0
  212. package/node_modules/zod/v4/locales/id.cjs +143 -0
  213. package/node_modules/zod/v4/locales/id.js +116 -0
  214. package/node_modules/zod/v4/locales/index.cjs +100 -0
  215. package/node_modules/zod/v4/locales/index.d.cts +47 -0
  216. package/node_modules/zod/v4/locales/index.d.ts +47 -0
  217. package/node_modules/zod/v4/locales/index.js +47 -0
  218. package/node_modules/zod/v4/locales/is.cjs +145 -0
  219. package/node_modules/zod/v4/locales/is.d.cts +5 -0
  220. package/node_modules/zod/v4/locales/is.d.ts +5 -0
  221. package/node_modules/zod/v4/locales/is.js +117 -0
  222. package/node_modules/zod/v4/locales/it.cjs +144 -0
  223. package/node_modules/zod/v4/locales/it.js +117 -0
  224. package/node_modules/zod/v4/locales/ja.cjs +142 -0
  225. package/node_modules/zod/v4/locales/ja.js +115 -0
  226. package/node_modules/zod/v4/locales/ka.cjs +153 -0
  227. package/node_modules/zod/v4/locales/ka.d.cts +5 -0
  228. package/node_modules/zod/v4/locales/ka.d.ts +5 -0
  229. package/node_modules/zod/v4/locales/ka.js +125 -0
  230. package/node_modules/zod/v4/locales/km.cjs +144 -0
  231. package/node_modules/zod/v4/locales/km.js +117 -0
  232. package/node_modules/zod/v4/locales/ko.cjs +148 -0
  233. package/node_modules/zod/v4/locales/ko.js +121 -0
  234. package/node_modules/zod/v4/locales/lt.cjs +258 -0
  235. package/node_modules/zod/v4/locales/lt.d.cts +5 -0
  236. package/node_modules/zod/v4/locales/lt.d.ts +5 -0
  237. package/node_modules/zod/v4/locales/lt.js +230 -0
  238. package/node_modules/zod/v4/locales/mk.cjs +145 -0
  239. package/node_modules/zod/v4/locales/mk.js +118 -0
  240. package/node_modules/zod/v4/locales/ms.cjs +143 -0
  241. package/node_modules/zod/v4/locales/ms.js +116 -0
  242. package/node_modules/zod/v4/locales/nl.cjs +144 -0
  243. package/node_modules/zod/v4/locales/nl.js +117 -0
  244. package/node_modules/zod/v4/locales/no.cjs +143 -0
  245. package/node_modules/zod/v4/locales/no.js +116 -0
  246. package/node_modules/zod/v4/locales/ota.cjs +144 -0
  247. package/node_modules/zod/v4/locales/ota.js +117 -0
  248. package/node_modules/zod/v4/locales/pl.cjs +144 -0
  249. package/node_modules/zod/v4/locales/pl.js +117 -0
  250. package/node_modules/zod/v4/locales/ps.cjs +149 -0
  251. package/node_modules/zod/v4/locales/ps.js +122 -0
  252. package/node_modules/zod/v4/locales/pt.cjs +143 -0
  253. package/node_modules/zod/v4/locales/pt.js +116 -0
  254. package/node_modules/zod/v4/locales/ru.cjs +191 -0
  255. package/node_modules/zod/v4/locales/ru.js +164 -0
  256. package/node_modules/zod/v4/locales/sl.cjs +144 -0
  257. package/node_modules/zod/v4/locales/sl.js +117 -0
  258. package/node_modules/zod/v4/locales/sv.cjs +145 -0
  259. package/node_modules/zod/v4/locales/sv.js +118 -0
  260. package/node_modules/zod/v4/locales/ta.cjs +144 -0
  261. package/node_modules/zod/v4/locales/ta.js +117 -0
  262. package/node_modules/zod/v4/locales/th.cjs +144 -0
  263. package/node_modules/zod/v4/locales/th.js +117 -0
  264. package/node_modules/zod/v4/locales/tr.cjs +143 -0
  265. package/node_modules/zod/v4/locales/tr.d.cts +5 -0
  266. package/node_modules/zod/v4/locales/tr.d.ts +5 -0
  267. package/node_modules/zod/v4/locales/tr.js +115 -0
  268. package/node_modules/zod/v4/locales/uk.cjs +144 -0
  269. package/node_modules/zod/v4/locales/uk.js +117 -0
  270. package/node_modules/zod/v4/locales/ur.cjs +144 -0
  271. package/node_modules/zod/v4/locales/ur.js +117 -0
  272. package/node_modules/zod/v4/locales/vi.cjs +143 -0
  273. package/node_modules/zod/v4/locales/vi.js +116 -0
  274. package/node_modules/zod/v4/locales/yo.cjs +142 -0
  275. package/node_modules/zod/v4/locales/yo.js +115 -0
  276. package/node_modules/zod/v4/locales/zh-CN.cjs +143 -0
  277. package/node_modules/zod/v4/locales/zh-CN.js +116 -0
  278. package/node_modules/zod/v4/locales/zh-TW.cjs +144 -0
  279. package/node_modules/zod/v4/locales/zh-TW.js +117 -0
  280. package/node_modules/zod/v4/mini/coerce.cjs +47 -0
  281. package/node_modules/zod/v4/mini/coerce.js +17 -0
  282. package/node_modules/zod/v4/mini/external.cjs +62 -0
  283. package/node_modules/zod/v4/mini/external.d.cts +11 -0
  284. package/node_modules/zod/v4/mini/external.d.ts +11 -0
  285. package/node_modules/zod/v4/mini/external.js +13 -0
  286. package/node_modules/zod/v4/mini/iso.cjs +60 -0
  287. package/node_modules/zod/v4/mini/iso.js +30 -0
  288. package/node_modules/zod/v4/mini/schemas.cjs +892 -0
  289. package/node_modules/zod/v4/mini/schemas.d.cts +407 -0
  290. package/node_modules/zod/v4/mini/schemas.d.ts +407 -0
  291. package/node_modules/zod/v4/mini/schemas.js +775 -0
  292. package/node_modules/zod/v4-mini/index.cjs +17 -0
  293. package/node_modules/zod/v4-mini/index.d.cts +1 -0
  294. package/node_modules/zod/v4-mini/index.d.ts +1 -0
  295. package/node_modules/zod/v4-mini/index.js +1 -0
  296. package/package.json +3 -1
  297. package/package/cc-switch-sdk/node_modules/zod/mini/index.cjs +0 -32
  298. package/package/cc-switch-sdk/node_modules/zod/mini/index.d.cts +0 -3
  299. package/package/cc-switch-sdk/node_modules/zod/mini/index.d.ts +0 -3
  300. package/package/cc-switch-sdk/node_modules/zod/mini/index.js +0 -3
  301. package/package/cc-switch-sdk/node_modules/zod/package.json +0 -135
  302. package/package/cc-switch-sdk/node_modules/zod/src/mini/index.ts +0 -3
  303. package/package/cc-switch-sdk/node_modules/zod/src/v3/tests/complex.test.ts +0 -70
  304. package/package/cc-switch-sdk/node_modules/zod/src/v3/tests/function.test.ts +0 -261
  305. package/package/cc-switch-sdk/node_modules/zod/src/v3/tests/nan.test.ts +0 -24
  306. package/package/cc-switch-sdk/node_modules/zod/src/v4/classic/checks.ts +0 -32
  307. package/package/cc-switch-sdk/node_modules/zod/src/v4/classic/external.ts +0 -51
  308. package/package/cc-switch-sdk/node_modules/zod/src/v4/classic/from-json-schema.ts +0 -643
  309. package/package/cc-switch-sdk/node_modules/zod/src/v4/classic/schemas.ts +0 -2409
  310. package/package/cc-switch-sdk/node_modules/zod/src/v4/classic/tests/apply.test.ts +0 -59
  311. package/package/cc-switch-sdk/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -106
  312. package/package/cc-switch-sdk/node_modules/zod/src/v4/classic/tests/codec.test.ts +0 -562
  313. package/package/cc-switch-sdk/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -374
  314. package/package/cc-switch-sdk/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -62
  315. package/package/cc-switch-sdk/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +0 -27
  316. package/package/cc-switch-sdk/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +0 -26
  317. package/package/cc-switch-sdk/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +0 -734
  318. package/package/cc-switch-sdk/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -360
  319. package/package/cc-switch-sdk/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -939
  320. package/package/cc-switch-sdk/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -60
  321. package/package/cc-switch-sdk/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -198
  322. package/package/cc-switch-sdk/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -109
  323. package/package/cc-switch-sdk/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -330
  324. package/package/cc-switch-sdk/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -640
  325. package/package/cc-switch-sdk/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -223
  326. package/package/cc-switch-sdk/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -427
  327. package/package/cc-switch-sdk/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -211
  328. package/package/cc-switch-sdk/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
  329. package/package/cc-switch-sdk/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -252
  330. package/package/cc-switch-sdk/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -632
  331. package/package/cc-switch-sdk/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -582
  332. package/package/cc-switch-sdk/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -570
  333. package/package/cc-switch-sdk/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -243
  334. package/package/cc-switch-sdk/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -134
  335. package/package/cc-switch-sdk/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -1175
  336. package/package/cc-switch-sdk/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -771
  337. package/package/cc-switch-sdk/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +0 -438
  338. package/package/cc-switch-sdk/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -2990
  339. package/package/cc-switch-sdk/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -183
  340. package/package/cc-switch-sdk/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -219
  341. package/package/cc-switch-sdk/node_modules/zod/src/v4/classic/tests/url.test.ts +0 -13
  342. package/package/cc-switch-sdk/node_modules/zod/src/v4/core/api.ts +0 -1798
  343. package/package/cc-switch-sdk/node_modules/zod/src/v4/core/checks.ts +0 -1293
  344. package/package/cc-switch-sdk/node_modules/zod/src/v4/core/core.ts +0 -138
  345. package/package/cc-switch-sdk/node_modules/zod/src/v4/core/errors.ts +0 -448
  346. package/package/cc-switch-sdk/node_modules/zod/src/v4/core/index.ts +0 -16
  347. package/package/cc-switch-sdk/node_modules/zod/src/v4/core/json-schema-generator.ts +0 -126
  348. package/package/cc-switch-sdk/node_modules/zod/src/v4/core/json-schema-processors.ts +0 -667
  349. package/package/cc-switch-sdk/node_modules/zod/src/v4/core/regexes.ts +0 -183
  350. package/package/cc-switch-sdk/node_modules/zod/src/v4/core/registries.ts +0 -105
  351. package/package/cc-switch-sdk/node_modules/zod/src/v4/core/schemas.ts +0 -4538
  352. package/package/cc-switch-sdk/node_modules/zod/src/v4/core/standard-schema.ts +0 -159
  353. package/package/cc-switch-sdk/node_modules/zod/src/v4/core/tests/extend.test.ts +0 -59
  354. package/package/cc-switch-sdk/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
  355. package/package/cc-switch-sdk/node_modules/zod/src/v4/core/tests/locales/he.test.ts +0 -379
  356. package/package/cc-switch-sdk/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +0 -46
  357. package/package/cc-switch-sdk/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
  358. package/package/cc-switch-sdk/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +0 -83
  359. package/package/cc-switch-sdk/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +0 -67
  360. package/package/cc-switch-sdk/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +0 -45
  361. package/package/cc-switch-sdk/node_modules/zod/src/v4/core/to-json-schema.ts +0 -613
  362. package/package/cc-switch-sdk/node_modules/zod/src/v4/core/util.ts +0 -966
  363. package/package/cc-switch-sdk/node_modules/zod/src/v4/core/versions.ts +0 -5
  364. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/ar.ts +0 -115
  365. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/az.ts +0 -111
  366. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/be.ts +0 -176
  367. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/bg.ts +0 -128
  368. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/ca.ts +0 -116
  369. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/cs.ts +0 -118
  370. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/da.ts +0 -123
  371. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/de.ts +0 -116
  372. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/en.ts +0 -119
  373. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/eo.ts +0 -118
  374. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/es.ts +0 -141
  375. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/fa.ts +0 -126
  376. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/fi.ts +0 -121
  377. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/fr-CA.ts +0 -116
  378. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/fr.ts +0 -116
  379. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/he.ts +0 -246
  380. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/hu.ts +0 -117
  381. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/hy.ts +0 -164
  382. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/id.ts +0 -115
  383. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/index.ts +0 -49
  384. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/is.ts +0 -119
  385. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/it.ts +0 -116
  386. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/ja.ts +0 -114
  387. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/ka.ts +0 -123
  388. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/km.ts +0 -119
  389. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/ko.ts +0 -121
  390. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/lt.ts +0 -239
  391. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/mk.ts +0 -118
  392. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/ms.ts +0 -115
  393. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/nl.ts +0 -121
  394. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/no.ts +0 -116
  395. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/ota.ts +0 -117
  396. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/pl.ts +0 -118
  397. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/ps.ts +0 -126
  398. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/pt.ts +0 -116
  399. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/ru.ts +0 -176
  400. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/sl.ts +0 -118
  401. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/sv.ts +0 -119
  402. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/ta.ts +0 -118
  403. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/th.ts +0 -119
  404. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/tr.ts +0 -111
  405. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/uk.ts +0 -117
  406. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/ur.ts +0 -119
  407. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/uz.ts +0 -116
  408. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/vi.ts +0 -117
  409. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/yo.ts +0 -124
  410. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/zh-CN.ts +0 -116
  411. package/package/cc-switch-sdk/node_modules/zod/src/v4/locales/zh-TW.ts +0 -115
  412. package/package/cc-switch-sdk/node_modules/zod/src/v4/mini/coerce.ts +0 -27
  413. package/package/cc-switch-sdk/node_modules/zod/src/v4/mini/external.ts +0 -40
  414. package/package/cc-switch-sdk/node_modules/zod/src/v4/mini/iso.ts +0 -66
  415. package/package/cc-switch-sdk/node_modules/zod/src/v4/mini/schemas.ts +0 -1916
  416. package/package/cc-switch-sdk/node_modules/zod/src/v4/mini/tests/apply.test.ts +0 -24
  417. package/package/cc-switch-sdk/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -94
  418. package/package/cc-switch-sdk/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -5
  419. package/package/cc-switch-sdk/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -963
  420. package/package/cc-switch-sdk/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -227
  421. package/package/cc-switch-sdk/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +0 -50
  422. package/package/cc-switch-sdk/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -347
  423. package/package/cc-switch-sdk/node_modules/zod/src/v4-mini/index.ts +0 -3
  424. package/package/cc-switch-sdk/node_modules/zod/v3/ZodError.d.cts +0 -164
  425. package/package/cc-switch-sdk/node_modules/zod/v3/ZodError.d.ts +0 -164
  426. package/package/cc-switch-sdk/node_modules/zod/v4/classic/checks.cjs +0 -33
  427. package/package/cc-switch-sdk/node_modules/zod/v4/classic/checks.d.cts +0 -1
  428. package/package/cc-switch-sdk/node_modules/zod/v4/classic/checks.d.ts +0 -1
  429. package/package/cc-switch-sdk/node_modules/zod/v4/classic/checks.js +0 -1
  430. package/package/cc-switch-sdk/node_modules/zod/v4/classic/external.cjs +0 -73
  431. package/package/cc-switch-sdk/node_modules/zod/v4/classic/external.d.cts +0 -15
  432. package/package/cc-switch-sdk/node_modules/zod/v4/classic/external.d.ts +0 -15
  433. package/package/cc-switch-sdk/node_modules/zod/v4/classic/external.js +0 -20
  434. package/package/cc-switch-sdk/node_modules/zod/v4/classic/from-json-schema.cjs +0 -610
  435. package/package/cc-switch-sdk/node_modules/zod/v4/classic/from-json-schema.d.cts +0 -12
  436. package/package/cc-switch-sdk/node_modules/zod/v4/classic/from-json-schema.d.ts +0 -12
  437. package/package/cc-switch-sdk/node_modules/zod/v4/classic/from-json-schema.js +0 -584
  438. package/package/cc-switch-sdk/node_modules/zod/v4/classic/schemas.cjs +0 -1272
  439. package/package/cc-switch-sdk/node_modules/zod/v4/classic/schemas.d.cts +0 -739
  440. package/package/cc-switch-sdk/node_modules/zod/v4/classic/schemas.d.ts +0 -739
  441. package/package/cc-switch-sdk/node_modules/zod/v4/classic/schemas.js +0 -1157
  442. package/package/cc-switch-sdk/node_modules/zod/v4/core/api.cjs +0 -1222
  443. package/package/cc-switch-sdk/node_modules/zod/v4/core/api.d.cts +0 -304
  444. package/package/cc-switch-sdk/node_modules/zod/v4/core/api.d.ts +0 -304
  445. package/package/cc-switch-sdk/node_modules/zod/v4/core/api.js +0 -1082
  446. package/package/cc-switch-sdk/node_modules/zod/v4/core/checks.cjs +0 -601
  447. package/package/cc-switch-sdk/node_modules/zod/v4/core/checks.js +0 -575
  448. package/package/cc-switch-sdk/node_modules/zod/v4/core/core.cjs +0 -83
  449. package/package/cc-switch-sdk/node_modules/zod/v4/core/core.d.cts +0 -70
  450. package/package/cc-switch-sdk/node_modules/zod/v4/core/core.d.ts +0 -70
  451. package/package/cc-switch-sdk/node_modules/zod/v4/core/core.js +0 -76
  452. package/package/cc-switch-sdk/node_modules/zod/v4/core/errors.d.cts +0 -220
  453. package/package/cc-switch-sdk/node_modules/zod/v4/core/errors.d.ts +0 -220
  454. package/package/cc-switch-sdk/node_modules/zod/v4/core/index.cjs +0 -47
  455. package/package/cc-switch-sdk/node_modules/zod/v4/core/index.d.cts +0 -16
  456. package/package/cc-switch-sdk/node_modules/zod/v4/core/index.d.ts +0 -16
  457. package/package/cc-switch-sdk/node_modules/zod/v4/core/index.js +0 -16
  458. package/package/cc-switch-sdk/node_modules/zod/v4/core/json-schema-generator.cjs +0 -99
  459. package/package/cc-switch-sdk/node_modules/zod/v4/core/json-schema-generator.d.cts +0 -65
  460. package/package/cc-switch-sdk/node_modules/zod/v4/core/json-schema-generator.d.ts +0 -65
  461. package/package/cc-switch-sdk/node_modules/zod/v4/core/json-schema-generator.js +0 -95
  462. package/package/cc-switch-sdk/node_modules/zod/v4/core/json-schema-processors.cjs +0 -648
  463. package/package/cc-switch-sdk/node_modules/zod/v4/core/json-schema-processors.d.cts +0 -49
  464. package/package/cc-switch-sdk/node_modules/zod/v4/core/json-schema-processors.d.ts +0 -49
  465. package/package/cc-switch-sdk/node_modules/zod/v4/core/json-schema-processors.js +0 -605
  466. package/package/cc-switch-sdk/node_modules/zod/v4/core/regexes.cjs +0 -166
  467. package/package/cc-switch-sdk/node_modules/zod/v4/core/regexes.d.cts +0 -79
  468. package/package/cc-switch-sdk/node_modules/zod/v4/core/regexes.d.ts +0 -79
  469. package/package/cc-switch-sdk/node_modules/zod/v4/core/regexes.js +0 -133
  470. package/package/cc-switch-sdk/node_modules/zod/v4/core/registries.cjs +0 -56
  471. package/package/cc-switch-sdk/node_modules/zod/v4/core/registries.js +0 -51
  472. package/package/cc-switch-sdk/node_modules/zod/v4/core/schemas.cjs +0 -2124
  473. package/package/cc-switch-sdk/node_modules/zod/v4/core/schemas.d.cts +0 -1146
  474. package/package/cc-switch-sdk/node_modules/zod/v4/core/schemas.d.ts +0 -1146
  475. package/package/cc-switch-sdk/node_modules/zod/v4/core/schemas.js +0 -2093
  476. package/package/cc-switch-sdk/node_modules/zod/v4/core/standard-schema.d.cts +0 -126
  477. package/package/cc-switch-sdk/node_modules/zod/v4/core/standard-schema.d.ts +0 -126
  478. package/package/cc-switch-sdk/node_modules/zod/v4/core/to-json-schema.cjs +0 -446
  479. package/package/cc-switch-sdk/node_modules/zod/v4/core/to-json-schema.d.cts +0 -114
  480. package/package/cc-switch-sdk/node_modules/zod/v4/core/to-json-schema.d.ts +0 -114
  481. package/package/cc-switch-sdk/node_modules/zod/v4/core/to-json-schema.js +0 -437
  482. package/package/cc-switch-sdk/node_modules/zod/v4/core/util.cjs +0 -710
  483. package/package/cc-switch-sdk/node_modules/zod/v4/core/util.d.cts +0 -199
  484. package/package/cc-switch-sdk/node_modules/zod/v4/core/util.d.ts +0 -199
  485. package/package/cc-switch-sdk/node_modules/zod/v4/core/util.js +0 -651
  486. package/package/cc-switch-sdk/node_modules/zod/v4/core/versions.cjs +0 -8
  487. package/package/cc-switch-sdk/node_modules/zod/v4/core/versions.d.cts +0 -5
  488. package/package/cc-switch-sdk/node_modules/zod/v4/core/versions.d.ts +0 -5
  489. package/package/cc-switch-sdk/node_modules/zod/v4/core/versions.js +0 -5
  490. package/package/cc-switch-sdk/node_modules/zod/v4/locales/ar.cjs +0 -133
  491. package/package/cc-switch-sdk/node_modules/zod/v4/locales/ar.js +0 -106
  492. package/package/cc-switch-sdk/node_modules/zod/v4/locales/az.cjs +0 -132
  493. package/package/cc-switch-sdk/node_modules/zod/v4/locales/az.js +0 -105
  494. package/package/cc-switch-sdk/node_modules/zod/v4/locales/be.cjs +0 -183
  495. package/package/cc-switch-sdk/node_modules/zod/v4/locales/be.js +0 -156
  496. package/package/cc-switch-sdk/node_modules/zod/v4/locales/bg.cjs +0 -147
  497. package/package/cc-switch-sdk/node_modules/zod/v4/locales/bg.d.cts +0 -5
  498. package/package/cc-switch-sdk/node_modules/zod/v4/locales/bg.d.ts +0 -4
  499. package/package/cc-switch-sdk/node_modules/zod/v4/locales/bg.js +0 -120
  500. package/package/cc-switch-sdk/node_modules/zod/v4/locales/ca.cjs +0 -134
  501. package/package/cc-switch-sdk/node_modules/zod/v4/locales/ca.js +0 -107
  502. package/package/cc-switch-sdk/node_modules/zod/v4/locales/cs.cjs +0 -138
  503. package/package/cc-switch-sdk/node_modules/zod/v4/locales/cs.js +0 -111
  504. package/package/cc-switch-sdk/node_modules/zod/v4/locales/da.cjs +0 -142
  505. package/package/cc-switch-sdk/node_modules/zod/v4/locales/da.js +0 -115
  506. package/package/cc-switch-sdk/node_modules/zod/v4/locales/de.cjs +0 -135
  507. package/package/cc-switch-sdk/node_modules/zod/v4/locales/de.js +0 -108
  508. package/package/cc-switch-sdk/node_modules/zod/v4/locales/en.cjs +0 -136
  509. package/package/cc-switch-sdk/node_modules/zod/v4/locales/en.d.cts +0 -5
  510. package/package/cc-switch-sdk/node_modules/zod/v4/locales/en.d.ts +0 -4
  511. package/package/cc-switch-sdk/node_modules/zod/v4/locales/en.js +0 -109
  512. package/package/cc-switch-sdk/node_modules/zod/v4/locales/eo.cjs +0 -136
  513. package/package/cc-switch-sdk/node_modules/zod/v4/locales/eo.d.cts +0 -5
  514. package/package/cc-switch-sdk/node_modules/zod/v4/locales/eo.d.ts +0 -4
  515. package/package/cc-switch-sdk/node_modules/zod/v4/locales/eo.js +0 -109
  516. package/package/cc-switch-sdk/node_modules/zod/v4/locales/es.cjs +0 -159
  517. package/package/cc-switch-sdk/node_modules/zod/v4/locales/es.js +0 -132
  518. package/package/cc-switch-sdk/node_modules/zod/v4/locales/fa.cjs +0 -141
  519. package/package/cc-switch-sdk/node_modules/zod/v4/locales/fa.js +0 -114
  520. package/package/cc-switch-sdk/node_modules/zod/v4/locales/fi.cjs +0 -139
  521. package/package/cc-switch-sdk/node_modules/zod/v4/locales/fi.js +0 -112
  522. package/package/cc-switch-sdk/node_modules/zod/v4/locales/fr-CA.cjs +0 -134
  523. package/package/cc-switch-sdk/node_modules/zod/v4/locales/fr-CA.js +0 -107
  524. package/package/cc-switch-sdk/node_modules/zod/v4/locales/fr.cjs +0 -135
  525. package/package/cc-switch-sdk/node_modules/zod/v4/locales/fr.js +0 -108
  526. package/package/cc-switch-sdk/node_modules/zod/v4/locales/he.cjs +0 -241
  527. package/package/cc-switch-sdk/node_modules/zod/v4/locales/he.js +0 -214
  528. package/package/cc-switch-sdk/node_modules/zod/v4/locales/hu.cjs +0 -135
  529. package/package/cc-switch-sdk/node_modules/zod/v4/locales/hu.js +0 -108
  530. package/package/cc-switch-sdk/node_modules/zod/v4/locales/hy.cjs +0 -174
  531. package/package/cc-switch-sdk/node_modules/zod/v4/locales/hy.d.cts +0 -5
  532. package/package/cc-switch-sdk/node_modules/zod/v4/locales/hy.d.ts +0 -4
  533. package/package/cc-switch-sdk/node_modules/zod/v4/locales/hy.js +0 -147
  534. package/package/cc-switch-sdk/node_modules/zod/v4/locales/id.cjs +0 -133
  535. package/package/cc-switch-sdk/node_modules/zod/v4/locales/id.js +0 -106
  536. package/package/cc-switch-sdk/node_modules/zod/v4/locales/index.cjs +0 -104
  537. package/package/cc-switch-sdk/node_modules/zod/v4/locales/index.d.cts +0 -49
  538. package/package/cc-switch-sdk/node_modules/zod/v4/locales/index.d.ts +0 -49
  539. package/package/cc-switch-sdk/node_modules/zod/v4/locales/index.js +0 -49
  540. package/package/cc-switch-sdk/node_modules/zod/v4/locales/is.cjs +0 -136
  541. package/package/cc-switch-sdk/node_modules/zod/v4/locales/is.d.cts +0 -5
  542. package/package/cc-switch-sdk/node_modules/zod/v4/locales/is.d.ts +0 -4
  543. package/package/cc-switch-sdk/node_modules/zod/v4/locales/is.js +0 -109
  544. package/package/cc-switch-sdk/node_modules/zod/v4/locales/it.cjs +0 -135
  545. package/package/cc-switch-sdk/node_modules/zod/v4/locales/it.js +0 -108
  546. package/package/cc-switch-sdk/node_modules/zod/v4/locales/ja.cjs +0 -134
  547. package/package/cc-switch-sdk/node_modules/zod/v4/locales/ja.js +0 -107
  548. package/package/cc-switch-sdk/node_modules/zod/v4/locales/ka.cjs +0 -139
  549. package/package/cc-switch-sdk/node_modules/zod/v4/locales/ka.d.cts +0 -5
  550. package/package/cc-switch-sdk/node_modules/zod/v4/locales/ka.d.ts +0 -4
  551. package/package/cc-switch-sdk/node_modules/zod/v4/locales/ka.js +0 -112
  552. package/package/cc-switch-sdk/node_modules/zod/v4/locales/km.cjs +0 -137
  553. package/package/cc-switch-sdk/node_modules/zod/v4/locales/km.js +0 -110
  554. package/package/cc-switch-sdk/node_modules/zod/v4/locales/ko.cjs +0 -138
  555. package/package/cc-switch-sdk/node_modules/zod/v4/locales/ko.js +0 -111
  556. package/package/cc-switch-sdk/node_modules/zod/v4/locales/lt.cjs +0 -230
  557. package/package/cc-switch-sdk/node_modules/zod/v4/locales/lt.d.cts +0 -5
  558. package/package/cc-switch-sdk/node_modules/zod/v4/locales/lt.d.ts +0 -4
  559. package/package/cc-switch-sdk/node_modules/zod/v4/locales/lt.js +0 -203
  560. package/package/cc-switch-sdk/node_modules/zod/v4/locales/mk.cjs +0 -136
  561. package/package/cc-switch-sdk/node_modules/zod/v4/locales/mk.js +0 -109
  562. package/package/cc-switch-sdk/node_modules/zod/v4/locales/ms.cjs +0 -134
  563. package/package/cc-switch-sdk/node_modules/zod/v4/locales/ms.js +0 -107
  564. package/package/cc-switch-sdk/node_modules/zod/v4/locales/nl.cjs +0 -137
  565. package/package/cc-switch-sdk/node_modules/zod/v4/locales/nl.js +0 -110
  566. package/package/cc-switch-sdk/node_modules/zod/v4/locales/no.cjs +0 -135
  567. package/package/cc-switch-sdk/node_modules/zod/v4/locales/no.js +0 -108
  568. package/package/cc-switch-sdk/node_modules/zod/v4/locales/ota.cjs +0 -136
  569. package/package/cc-switch-sdk/node_modules/zod/v4/locales/ota.js +0 -109
  570. package/package/cc-switch-sdk/node_modules/zod/v4/locales/pl.cjs +0 -136
  571. package/package/cc-switch-sdk/node_modules/zod/v4/locales/pl.js +0 -109
  572. package/package/cc-switch-sdk/node_modules/zod/v4/locales/ps.cjs +0 -141
  573. package/package/cc-switch-sdk/node_modules/zod/v4/locales/ps.js +0 -114
  574. package/package/cc-switch-sdk/node_modules/zod/v4/locales/pt.cjs +0 -135
  575. package/package/cc-switch-sdk/node_modules/zod/v4/locales/pt.js +0 -108
  576. package/package/cc-switch-sdk/node_modules/zod/v4/locales/ru.cjs +0 -183
  577. package/package/cc-switch-sdk/node_modules/zod/v4/locales/ru.js +0 -156
  578. package/package/cc-switch-sdk/node_modules/zod/v4/locales/sl.cjs +0 -136
  579. package/package/cc-switch-sdk/node_modules/zod/v4/locales/sl.js +0 -109
  580. package/package/cc-switch-sdk/node_modules/zod/v4/locales/sv.cjs +0 -137
  581. package/package/cc-switch-sdk/node_modules/zod/v4/locales/sv.js +0 -110
  582. package/package/cc-switch-sdk/node_modules/zod/v4/locales/ta.cjs +0 -137
  583. package/package/cc-switch-sdk/node_modules/zod/v4/locales/ta.js +0 -110
  584. package/package/cc-switch-sdk/node_modules/zod/v4/locales/th.cjs +0 -137
  585. package/package/cc-switch-sdk/node_modules/zod/v4/locales/th.js +0 -110
  586. package/package/cc-switch-sdk/node_modules/zod/v4/locales/tr.cjs +0 -132
  587. package/package/cc-switch-sdk/node_modules/zod/v4/locales/tr.d.cts +0 -5
  588. package/package/cc-switch-sdk/node_modules/zod/v4/locales/tr.d.ts +0 -4
  589. package/package/cc-switch-sdk/node_modules/zod/v4/locales/tr.js +0 -105
  590. package/package/cc-switch-sdk/node_modules/zod/v4/locales/uk.cjs +0 -135
  591. package/package/cc-switch-sdk/node_modules/zod/v4/locales/uk.js +0 -108
  592. package/package/cc-switch-sdk/node_modules/zod/v4/locales/ur.cjs +0 -137
  593. package/package/cc-switch-sdk/node_modules/zod/v4/locales/ur.js +0 -110
  594. package/package/cc-switch-sdk/node_modules/zod/v4/locales/uz.cjs +0 -136
  595. package/package/cc-switch-sdk/node_modules/zod/v4/locales/uz.d.cts +0 -5
  596. package/package/cc-switch-sdk/node_modules/zod/v4/locales/uz.d.ts +0 -4
  597. package/package/cc-switch-sdk/node_modules/zod/v4/locales/uz.js +0 -109
  598. package/package/cc-switch-sdk/node_modules/zod/v4/locales/vi.cjs +0 -135
  599. package/package/cc-switch-sdk/node_modules/zod/v4/locales/vi.js +0 -108
  600. package/package/cc-switch-sdk/node_modules/zod/v4/locales/yo.cjs +0 -134
  601. package/package/cc-switch-sdk/node_modules/zod/v4/locales/yo.js +0 -107
  602. package/package/cc-switch-sdk/node_modules/zod/v4/locales/zh-CN.cjs +0 -136
  603. package/package/cc-switch-sdk/node_modules/zod/v4/locales/zh-CN.js +0 -109
  604. package/package/cc-switch-sdk/node_modules/zod/v4/locales/zh-TW.cjs +0 -134
  605. package/package/cc-switch-sdk/node_modules/zod/v4/locales/zh-TW.js +0 -107
  606. package/package/cc-switch-sdk/node_modules/zod/v4/mini/coerce.cjs +0 -52
  607. package/package/cc-switch-sdk/node_modules/zod/v4/mini/coerce.js +0 -22
  608. package/package/cc-switch-sdk/node_modules/zod/v4/mini/external.cjs +0 -63
  609. package/package/cc-switch-sdk/node_modules/zod/v4/mini/external.d.cts +0 -12
  610. package/package/cc-switch-sdk/node_modules/zod/v4/mini/external.d.ts +0 -12
  611. package/package/cc-switch-sdk/node_modules/zod/v4/mini/external.js +0 -14
  612. package/package/cc-switch-sdk/node_modules/zod/v4/mini/iso.cjs +0 -64
  613. package/package/cc-switch-sdk/node_modules/zod/v4/mini/iso.js +0 -34
  614. package/package/cc-switch-sdk/node_modules/zod/v4/mini/schemas.cjs +0 -1046
  615. package/package/cc-switch-sdk/node_modules/zod/v4/mini/schemas.d.cts +0 -427
  616. package/package/cc-switch-sdk/node_modules/zod/v4/mini/schemas.d.ts +0 -427
  617. package/package/cc-switch-sdk/node_modules/zod/v4/mini/schemas.js +0 -925
  618. package/package/cc-switch-sdk/node_modules/zod/v4-mini/index.cjs +0 -32
  619. package/package/cc-switch-sdk/node_modules/zod/v4-mini/index.d.cts +0 -3
  620. package/package/cc-switch-sdk/node_modules/zod/v4-mini/index.d.ts +0 -3
  621. package/package/cc-switch-sdk/node_modules/zod/v4-mini/index.js +0 -3
  622. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/LICENSE +0 -0
  623. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/README.md +0 -0
  624. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/index.cjs +0 -0
  625. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/index.d.cts +0 -0
  626. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/index.d.ts +0 -0
  627. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/index.js +0 -0
  628. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/locales/index.cjs +0 -0
  629. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/locales/index.d.cts +0 -0
  630. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/locales/index.d.ts +0 -0
  631. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/locales/index.js +0 -0
  632. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/locales/package.json +0 -0
  633. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/mini/package.json +0 -0
  634. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/index.ts +0 -0
  635. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/locales/index.ts +0 -0
  636. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/ZodError.ts +0 -0
  637. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/benchmarks/datetime.ts +0 -0
  638. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -0
  639. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/benchmarks/index.ts +0 -0
  640. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/benchmarks/ipv4.ts +0 -0
  641. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/benchmarks/object.ts +0 -0
  642. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/benchmarks/primitives.ts +0 -0
  643. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/benchmarks/realworld.ts +0 -0
  644. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/benchmarks/string.ts +0 -0
  645. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/benchmarks/union.ts +0 -0
  646. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/errors.ts +0 -0
  647. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/external.ts +0 -0
  648. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/helpers/enumUtil.ts +0 -0
  649. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/helpers/errorUtil.ts +0 -0
  650. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/helpers/parseUtil.ts +0 -0
  651. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/helpers/partialUtil.ts +0 -0
  652. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/helpers/typeAliases.ts +0 -0
  653. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/helpers/util.ts +0 -0
  654. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/index.ts +0 -0
  655. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/locales/en.ts +0 -0
  656. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/standard-schema.ts +0 -0
  657. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/Mocker.ts +0 -0
  658. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/all-errors.test.ts +0 -0
  659. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/anyunknown.test.ts +0 -0
  660. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/array.test.ts +0 -0
  661. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/async-parsing.test.ts +0 -0
  662. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/async-refinements.test.ts +0 -0
  663. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/base.test.ts +0 -0
  664. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/bigint.test.ts +0 -0
  665. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/branded.test.ts +0 -0
  666. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/catch.test.ts +0 -0
  667. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/coerce.test.ts +0 -0
  668. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/custom.test.ts +0 -0
  669. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/date.test.ts +0 -0
  670. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/deepmasking.test.ts +0 -0
  671. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/default.test.ts +0 -0
  672. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/description.test.ts +0 -0
  673. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/discriminated-unions.test.ts +0 -0
  674. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/enum.test.ts +0 -0
  675. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/error.test.ts +0 -0
  676. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/firstparty.test.ts +0 -0
  677. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -0
  678. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/generics.test.ts +0 -0
  679. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/instanceof.test.ts +0 -0
  680. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/intersection.test.ts +0 -0
  681. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/language-server.source.ts +0 -0
  682. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/language-server.test.ts +0 -0
  683. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/literal.test.ts +0 -0
  684. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/map.test.ts +0 -0
  685. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/masking.test.ts +0 -0
  686. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/mocker.test.ts +0 -0
  687. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/nativeEnum.test.ts +0 -0
  688. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/nullable.test.ts +0 -0
  689. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/number.test.ts +0 -0
  690. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/object-augmentation.test.ts +0 -0
  691. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/object-in-es5-env.test.ts +0 -0
  692. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/object.test.ts +0 -0
  693. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/optional.test.ts +0 -0
  694. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/parseUtil.test.ts +0 -0
  695. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/parser.test.ts +0 -0
  696. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/partials.test.ts +0 -0
  697. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/pickomit.test.ts +0 -0
  698. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/pipeline.test.ts +0 -0
  699. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/preprocess.test.ts +0 -0
  700. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/primitive.test.ts +0 -0
  701. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/promise.test.ts +0 -0
  702. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/readonly.test.ts +0 -0
  703. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/record.test.ts +0 -0
  704. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/recursive.test.ts +0 -0
  705. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/refine.test.ts +0 -0
  706. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/safeparse.test.ts +0 -0
  707. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/set.test.ts +0 -0
  708. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/standard-schema.test.ts +0 -0
  709. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/string.test.ts +0 -0
  710. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/transformer.test.ts +0 -0
  711. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/tuple.test.ts +0 -0
  712. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/unions.test.ts +0 -0
  713. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/validations.test.ts +0 -0
  714. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/tests/void.test.ts +0 -0
  715. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v3/types.ts +0 -0
  716. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/coerce.ts +0 -0
  717. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/compat.ts +0 -0
  718. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/errors.ts +0 -0
  719. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/index.ts +0 -0
  720. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/iso.ts +0 -0
  721. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/parse.ts +0 -0
  722. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/tests/anyunknown.test.ts +0 -0
  723. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/tests/array.test.ts +0 -0
  724. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/tests/assignability.test.ts +0 -0
  725. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/tests/async-parsing.test.ts +0 -0
  726. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/tests/async-refinements.test.ts +0 -0
  727. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/tests/base.test.ts +0 -0
  728. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/tests/bigint.test.ts +0 -0
  729. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/tests/catch.test.ts +0 -0
  730. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/tests/coalesce.test.ts +0 -0
  731. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/tests/codec-examples.test.ts +0 -0
  732. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/tests/coerce.test.ts +0 -0
  733. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/tests/custom.test.ts +0 -0
  734. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/tests/datetime.test.ts +0 -0
  735. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/tests/default.test.ts +0 -0
  736. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/tests/description.test.ts +0 -0
  737. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -0
  738. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/tests/enum.test.ts +0 -0
  739. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/tests/error-utils.test.ts +0 -0
  740. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/tests/error.test.ts +0 -0
  741. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/tests/file.test.ts +0 -0
  742. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/tests/firstparty.test.ts +0 -0
  743. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/tests/generics.test.ts +0 -0
  744. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/tests/hash.test.ts +0 -0
  745. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/tests/lazy.test.ts +0 -0
  746. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/tests/literal.test.ts +0 -0
  747. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/tests/nan.test.ts +0 -0
  748. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/tests/nested-refine.test.ts +0 -0
  749. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/tests/nonoptional.test.ts +0 -0
  750. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/tests/nullable.test.ts +0 -0
  751. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/tests/number.test.ts +0 -0
  752. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/tests/pipe.test.ts +0 -0
  753. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/tests/prefault.test.ts +0 -0
  754. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/tests/preprocess.test.ts +0 -0
  755. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/tests/primitive.test.ts +0 -0
  756. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/tests/prototypes.test.ts +0 -0
  757. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/tests/set.test.ts +0 -0
  758. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/tests/string-formats.test.ts +0 -0
  759. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/tests/stringbool.test.ts +0 -0
  760. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/tests/transform.test.ts +0 -0
  761. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/tests/validations.test.ts +0 -0
  762. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/classic/tests/void.test.ts +0 -0
  763. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/core/config.ts +0 -0
  764. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/core/doc.ts +0 -0
  765. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/core/json-schema.ts +0 -0
  766. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/core/parse.ts +0 -0
  767. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/core/tests/index.test.ts +0 -0
  768. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/core/tests/locales/be.test.ts +0 -0
  769. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/core/tests/locales/es.test.ts +0 -0
  770. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/core/tests/locales/ru.test.ts +0 -0
  771. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/core/zsf.ts +0 -0
  772. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/index.ts +0 -0
  773. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/locales/kh.ts +0 -0
  774. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/locales/ua.ts +0 -0
  775. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/mini/checks.ts +0 -0
  776. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/mini/index.ts +0 -0
  777. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/mini/parse.ts +0 -0
  778. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/mini/tests/assignability.test.ts +0 -0
  779. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/mini/tests/checks.test.ts +0 -0
  780. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/mini/tests/codec.test.ts +0 -0
  781. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/mini/tests/computed.test.ts +0 -0
  782. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/mini/tests/error.test.ts +0 -0
  783. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/mini/tests/number.test.ts +0 -0
  784. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/mini/tests/prototypes.test.ts +0 -0
  785. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/src/v4/mini/tests/recursive-types.test.ts +0 -0
  786. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/ZodError.cjs +0 -0
  787. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/ZodError.js +0 -0
  788. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/errors.cjs +0 -0
  789. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/errors.d.cts +0 -0
  790. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/errors.d.ts +0 -0
  791. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/errors.js +0 -0
  792. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/external.cjs +0 -0
  793. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/external.d.cts +0 -0
  794. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/external.d.ts +0 -0
  795. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/external.js +0 -0
  796. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/helpers/enumUtil.cjs +0 -0
  797. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/helpers/enumUtil.d.cts +0 -0
  798. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/helpers/enumUtil.d.ts +0 -0
  799. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/helpers/enumUtil.js +0 -0
  800. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/helpers/errorUtil.cjs +0 -0
  801. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/helpers/errorUtil.d.cts +0 -0
  802. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/helpers/errorUtil.d.ts +0 -0
  803. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/helpers/errorUtil.js +0 -0
  804. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/helpers/parseUtil.cjs +0 -0
  805. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/helpers/parseUtil.d.cts +0 -0
  806. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/helpers/parseUtil.d.ts +0 -0
  807. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/helpers/parseUtil.js +0 -0
  808. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/helpers/partialUtil.cjs +0 -0
  809. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/helpers/partialUtil.d.cts +0 -0
  810. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/helpers/partialUtil.d.ts +0 -0
  811. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/helpers/partialUtil.js +0 -0
  812. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/helpers/typeAliases.cjs +0 -0
  813. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/helpers/typeAliases.d.cts +0 -0
  814. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/helpers/typeAliases.d.ts +0 -0
  815. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/helpers/typeAliases.js +0 -0
  816. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/helpers/util.cjs +0 -0
  817. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/helpers/util.d.cts +0 -0
  818. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/helpers/util.d.ts +0 -0
  819. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/helpers/util.js +0 -0
  820. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/index.cjs +0 -0
  821. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/index.d.cts +0 -0
  822. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/index.d.ts +0 -0
  823. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/index.js +0 -0
  824. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/locales/en.cjs +0 -0
  825. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/locales/en.d.cts +0 -0
  826. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/locales/en.d.ts +0 -0
  827. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/locales/en.js +0 -0
  828. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/package.json +0 -0
  829. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/standard-schema.cjs +0 -0
  830. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/standard-schema.d.cts +0 -0
  831. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/standard-schema.d.ts +0 -0
  832. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/standard-schema.js +0 -0
  833. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/types.cjs +0 -0
  834. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/types.d.cts +0 -0
  835. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/types.d.ts +0 -0
  836. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v3/types.js +0 -0
  837. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/classic/coerce.cjs +0 -0
  838. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/classic/coerce.d.cts +0 -0
  839. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/classic/coerce.d.ts +0 -0
  840. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/classic/coerce.js +0 -0
  841. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/classic/compat.cjs +0 -0
  842. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/classic/compat.d.cts +0 -0
  843. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/classic/compat.d.ts +0 -0
  844. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/classic/compat.js +0 -0
  845. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/classic/errors.cjs +0 -0
  846. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/classic/errors.d.cts +0 -0
  847. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/classic/errors.d.ts +0 -0
  848. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/classic/errors.js +0 -0
  849. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/classic/index.cjs +0 -0
  850. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/classic/index.d.cts +0 -0
  851. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/classic/index.d.ts +0 -0
  852. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/classic/index.js +0 -0
  853. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/classic/iso.cjs +0 -0
  854. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/classic/iso.d.cts +0 -0
  855. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/classic/iso.d.ts +0 -0
  856. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/classic/iso.js +0 -0
  857. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/classic/package.json +0 -0
  858. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/classic/parse.cjs +0 -0
  859. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/classic/parse.d.cts +0 -0
  860. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/classic/parse.d.ts +0 -0
  861. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/classic/parse.js +0 -0
  862. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/core/checks.d.cts +0 -0
  863. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/core/checks.d.ts +0 -0
  864. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/core/doc.cjs +0 -0
  865. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/core/doc.d.cts +0 -0
  866. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/core/doc.d.ts +0 -0
  867. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/core/doc.js +0 -0
  868. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/core/errors.cjs +0 -0
  869. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/core/errors.js +0 -0
  870. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/core/json-schema.cjs +0 -0
  871. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/core/json-schema.d.cts +0 -0
  872. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/core/json-schema.d.ts +0 -0
  873. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/core/json-schema.js +0 -0
  874. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/core/package.json +0 -0
  875. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/core/parse.cjs +0 -0
  876. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/core/parse.d.cts +0 -0
  877. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/core/parse.d.ts +0 -0
  878. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/core/parse.js +0 -0
  879. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/core/registries.d.cts +0 -0
  880. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/core/registries.d.ts +0 -0
  881. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/core/standard-schema.cjs +0 -0
  882. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/core/standard-schema.js +0 -0
  883. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/index.cjs +0 -0
  884. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/index.d.cts +0 -0
  885. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/index.d.ts +0 -0
  886. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/index.js +0 -0
  887. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/ar.d.cts +0 -0
  888. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/ar.d.ts +0 -0
  889. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/az.d.cts +0 -0
  890. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/az.d.ts +0 -0
  891. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/be.d.cts +0 -0
  892. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/be.d.ts +0 -0
  893. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/ca.d.cts +0 -0
  894. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/ca.d.ts +0 -0
  895. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/cs.d.cts +0 -0
  896. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/cs.d.ts +0 -0
  897. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/da.d.cts +0 -0
  898. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/da.d.ts +0 -0
  899. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/de.d.cts +0 -0
  900. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/de.d.ts +0 -0
  901. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/es.d.cts +0 -0
  902. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/es.d.ts +0 -0
  903. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/fa.d.cts +0 -0
  904. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/fa.d.ts +0 -0
  905. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/fi.d.cts +0 -0
  906. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/fi.d.ts +0 -0
  907. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/fr-CA.d.cts +0 -0
  908. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/fr-CA.d.ts +0 -0
  909. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/fr.d.cts +0 -0
  910. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/fr.d.ts +0 -0
  911. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/he.d.cts +0 -0
  912. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/he.d.ts +0 -0
  913. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/hu.d.cts +0 -0
  914. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/hu.d.ts +0 -0
  915. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/id.d.cts +0 -0
  916. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/id.d.ts +0 -0
  917. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/it.d.cts +0 -0
  918. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/it.d.ts +0 -0
  919. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/ja.d.cts +0 -0
  920. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/ja.d.ts +0 -0
  921. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/kh.cjs +0 -0
  922. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/kh.d.cts +0 -0
  923. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/kh.d.ts +0 -0
  924. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/kh.js +0 -0
  925. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/km.d.cts +0 -0
  926. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/km.d.ts +0 -0
  927. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/ko.d.cts +0 -0
  928. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/ko.d.ts +0 -0
  929. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/mk.d.cts +0 -0
  930. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/mk.d.ts +0 -0
  931. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/ms.d.cts +0 -0
  932. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/ms.d.ts +0 -0
  933. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/nl.d.cts +0 -0
  934. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/nl.d.ts +0 -0
  935. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/no.d.cts +0 -0
  936. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/no.d.ts +0 -0
  937. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/ota.d.cts +0 -0
  938. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/ota.d.ts +0 -0
  939. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/package.json +0 -0
  940. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/pl.d.cts +0 -0
  941. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/pl.d.ts +0 -0
  942. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/ps.d.cts +0 -0
  943. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/ps.d.ts +0 -0
  944. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/pt.d.cts +0 -0
  945. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/pt.d.ts +0 -0
  946. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/ru.d.cts +0 -0
  947. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/ru.d.ts +0 -0
  948. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/sl.d.cts +0 -0
  949. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/sl.d.ts +0 -0
  950. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/sv.d.cts +0 -0
  951. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/sv.d.ts +0 -0
  952. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/ta.d.cts +0 -0
  953. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/ta.d.ts +0 -0
  954. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/th.d.cts +0 -0
  955. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/th.d.ts +0 -0
  956. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/ua.cjs +0 -0
  957. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/ua.d.cts +0 -0
  958. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/ua.d.ts +0 -0
  959. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/ua.js +0 -0
  960. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/uk.d.cts +0 -0
  961. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/uk.d.ts +0 -0
  962. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/ur.d.cts +0 -0
  963. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/ur.d.ts +0 -0
  964. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/vi.d.cts +0 -0
  965. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/vi.d.ts +0 -0
  966. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/yo.d.cts +0 -0
  967. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/yo.d.ts +0 -0
  968. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/zh-CN.d.cts +0 -0
  969. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/zh-CN.d.ts +0 -0
  970. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/zh-TW.d.cts +0 -0
  971. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/locales/zh-TW.d.ts +0 -0
  972. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/mini/checks.cjs +0 -0
  973. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/mini/checks.d.cts +0 -0
  974. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/mini/checks.d.ts +0 -0
  975. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/mini/checks.js +0 -0
  976. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/mini/coerce.d.cts +0 -0
  977. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/mini/coerce.d.ts +0 -0
  978. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/mini/index.cjs +0 -0
  979. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/mini/index.d.cts +0 -0
  980. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/mini/index.d.ts +0 -0
  981. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/mini/index.js +0 -0
  982. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/mini/iso.d.cts +0 -0
  983. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/mini/iso.d.ts +0 -0
  984. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/mini/package.json +0 -0
  985. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/mini/parse.cjs +0 -0
  986. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/mini/parse.d.cts +0 -0
  987. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/mini/parse.d.ts +0 -0
  988. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/mini/parse.js +0 -0
  989. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4/package.json +0 -0
  990. /package/{package/cc-switch-sdk/node_modules → node_modules}/zod/v4-mini/package.json +0 -0
@@ -0,0 +1,1621 @@
1
+ import * as checks from "./checks.js";
2
+ import type * as core from "./core.js";
3
+ import type * as errors from "./errors.js";
4
+ import * as schemas from "./schemas.js";
5
+ import * as util from "./util.js";
6
+
7
+ export type Params<
8
+ T extends schemas.$ZodType | checks.$ZodCheck,
9
+ IssueTypes extends errors.$ZodIssueBase,
10
+ OmitKeys extends keyof T["_zod"]["def"] = never,
11
+ > = util.Flatten<
12
+ Partial<
13
+ util.EmptyToNever<
14
+ Omit<T["_zod"]["def"], OmitKeys> &
15
+ ([IssueTypes] extends [never]
16
+ ? {} // unknown
17
+ : {
18
+ error?: string | errors.$ZodErrorMap<IssueTypes> | undefined;
19
+ /** @deprecated This parameter is deprecated. Use `error` instead. */
20
+ message?: string | undefined; // supported in Zod 3
21
+ })
22
+ >
23
+ >
24
+ >;
25
+
26
+ export type TypeParams<
27
+ T extends schemas.$ZodType = schemas.$ZodType & { _isst: never },
28
+ AlsoOmit extends Exclude<keyof T["_zod"]["def"], "type" | "checks" | "error"> = never,
29
+ > = Params<T, NonNullable<T["_zod"]["isst"]>, "type" | "checks" | "error" | AlsoOmit>;
30
+
31
+ // strips types that are not exposed in the public factory
32
+ // incl. `error`, `check`
33
+ export type CheckParams<
34
+ T extends checks.$ZodCheck = checks.$ZodCheck, // & { _issc: never },
35
+ AlsoOmit extends Exclude<keyof T["_zod"]["def"], "check" | "error"> = never,
36
+ > = Params<T, NonNullable<T["_zod"]["issc"]>, "check" | "error" | AlsoOmit>;
37
+
38
+ // strips types that are not exposed in the public factory
39
+ // incl. `type`, `checks`, `error`, `check`, `format`
40
+ export type StringFormatParams<
41
+ T extends schemas.$ZodStringFormat = schemas.$ZodStringFormat,
42
+ AlsoOmit extends Exclude<keyof T["_zod"]["def"], "type" | "coerce" | "checks" | "error" | "check" | "format"> = never,
43
+ > = Params<
44
+ T,
45
+ NonNullable<T["_zod"]["isst"] | T["_zod"]["issc"]>,
46
+ "type" | "coerce" | "checks" | "error" | "check" | "format" | AlsoOmit
47
+ >;
48
+
49
+ export type CheckStringFormatParams<
50
+ T extends schemas.$ZodStringFormat = schemas.$ZodStringFormat,
51
+ AlsoOmit extends Exclude<keyof T["_zod"]["def"], "type" | "coerce" | "checks" | "error" | "check" | "format"> = never,
52
+ > = Params<T, NonNullable<T["_zod"]["issc"]>, "type" | "coerce" | "checks" | "error" | "check" | "format" | AlsoOmit>;
53
+
54
+ export type CheckTypeParams<
55
+ T extends schemas.$ZodType & checks.$ZodCheck = schemas.$ZodType & checks.$ZodCheck,
56
+ AlsoOmit extends Exclude<keyof T["_zod"]["def"], "type" | "checks" | "error" | "check"> = never,
57
+ > = Params<T, NonNullable<T["_zod"]["isst"] | T["_zod"]["issc"]>, "type" | "checks" | "error" | "check" | AlsoOmit>;
58
+
59
+ // String
60
+ export type $ZodStringParams = TypeParams<schemas.$ZodString<string>, "coerce">;
61
+ export function _string<T extends schemas.$ZodString>(
62
+ Class: util.SchemaClass<T>,
63
+ params?: string | $ZodStringParams
64
+ ): T {
65
+ return new Class({
66
+ type: "string",
67
+ ...util.normalizeParams(params),
68
+ });
69
+ }
70
+
71
+ export function _coercedString<T extends schemas.$ZodString>(
72
+ Class: util.SchemaClass<T>,
73
+ params?: string | $ZodStringParams
74
+ ): T {
75
+ return new Class({
76
+ type: "string",
77
+ coerce: true,
78
+ ...util.normalizeParams(params),
79
+ });
80
+ }
81
+
82
+ export type $ZodStringFormatParams = CheckTypeParams<
83
+ schemas.$ZodStringFormat,
84
+ "format" | "coerce" | "when" | "pattern"
85
+ >;
86
+ export type $ZodCheckStringFormatParams = CheckParams<checks.$ZodCheckStringFormat, "format">;
87
+ // custom format
88
+
89
+ // Email
90
+ export type $ZodEmailParams = StringFormatParams<schemas.$ZodEmail, "when">;
91
+ export type $ZodCheckEmailParams = CheckStringFormatParams<schemas.$ZodEmail, "when">;
92
+ export function _email<T extends schemas.$ZodEmail>(
93
+ Class: util.SchemaClass<T>,
94
+ params?: string | $ZodEmailParams | $ZodCheckEmailParams
95
+ ): T {
96
+ return new Class({
97
+ type: "string",
98
+ format: "email",
99
+ check: "string_format",
100
+ abort: false,
101
+ ...util.normalizeParams(params),
102
+ });
103
+ }
104
+
105
+ // GUID
106
+ export type $ZodGUIDParams = StringFormatParams<schemas.$ZodGUID, "pattern" | "when">;
107
+ export type $ZodCheckGUIDParams = CheckStringFormatParams<schemas.$ZodGUID, "pattern" | "when">;
108
+ export function _guid<T extends schemas.$ZodGUID>(
109
+ Class: util.SchemaClass<T>,
110
+ params?: string | $ZodGUIDParams | $ZodCheckGUIDParams
111
+ ): T {
112
+ return new Class({
113
+ type: "string",
114
+ format: "guid",
115
+ check: "string_format",
116
+ abort: false,
117
+ ...util.normalizeParams(params),
118
+ });
119
+ }
120
+
121
+ // UUID
122
+ export type $ZodUUIDParams = StringFormatParams<schemas.$ZodUUID, "pattern" | "when">;
123
+ export type $ZodCheckUUIDParams = CheckStringFormatParams<schemas.$ZodUUID, "pattern" | "when">;
124
+ export function _uuid<T extends schemas.$ZodUUID>(
125
+ Class: util.SchemaClass<T>,
126
+ params?: string | $ZodUUIDParams | $ZodCheckUUIDParams
127
+ ): T {
128
+ return new Class({
129
+ type: "string",
130
+ format: "uuid",
131
+ check: "string_format",
132
+ abort: false,
133
+ ...util.normalizeParams(params),
134
+ });
135
+ }
136
+
137
+ // UUIDv4
138
+ export type $ZodUUIDv4Params = StringFormatParams<schemas.$ZodUUID, "pattern" | "when">;
139
+ export type $ZodCheckUUIDv4Params = CheckStringFormatParams<schemas.$ZodUUID, "pattern" | "when">;
140
+ export function _uuidv4<T extends schemas.$ZodUUID>(
141
+ Class: util.SchemaClass<T>,
142
+ params?: string | $ZodUUIDv4Params | $ZodCheckUUIDv4Params
143
+ ): T {
144
+ return new Class({
145
+ type: "string",
146
+ format: "uuid",
147
+ check: "string_format",
148
+ abort: false,
149
+ version: "v4",
150
+ ...util.normalizeParams(params),
151
+ });
152
+ }
153
+
154
+ // UUIDv6
155
+ export type $ZodUUIDv6Params = StringFormatParams<schemas.$ZodUUID, "pattern" | "when">;
156
+ export type $ZodCheckUUIDv6Params = CheckStringFormatParams<schemas.$ZodUUID, "pattern" | "when">;
157
+ export function _uuidv6<T extends schemas.$ZodUUID>(
158
+ Class: util.SchemaClass<T>,
159
+ params?: string | $ZodUUIDv6Params | $ZodCheckUUIDv6Params
160
+ ): T {
161
+ return new Class({
162
+ type: "string",
163
+ format: "uuid",
164
+ check: "string_format",
165
+ abort: false,
166
+ version: "v6",
167
+ ...util.normalizeParams(params),
168
+ });
169
+ }
170
+
171
+ // UUIDv7
172
+ export type $ZodUUIDv7Params = StringFormatParams<schemas.$ZodUUID, "pattern" | "when">;
173
+ export type $ZodCheckUUIDv7Params = CheckStringFormatParams<schemas.$ZodUUID, "pattern" | "when">;
174
+ export function _uuidv7<T extends schemas.$ZodUUID>(
175
+ Class: util.SchemaClass<T>,
176
+ params?: string | $ZodUUIDv7Params | $ZodCheckUUIDv7Params
177
+ ): T {
178
+ return new Class({
179
+ type: "string",
180
+ format: "uuid",
181
+ check: "string_format",
182
+ abort: false,
183
+ version: "v7",
184
+ ...util.normalizeParams(params),
185
+ });
186
+ }
187
+
188
+ // URL
189
+ export type $ZodURLParams = StringFormatParams<schemas.$ZodURL, "when">;
190
+ export type $ZodCheckURLParams = CheckStringFormatParams<schemas.$ZodURL, "when">;
191
+ export function _url<T extends schemas.$ZodURL>(
192
+ Class: util.SchemaClass<T>,
193
+ params?: string | $ZodURLParams | $ZodCheckURLParams
194
+ ): T {
195
+ return new Class({
196
+ type: "string",
197
+ format: "url",
198
+ check: "string_format",
199
+ abort: false,
200
+ ...util.normalizeParams(params),
201
+ });
202
+ }
203
+
204
+ // Emoji
205
+ export type $ZodEmojiParams = StringFormatParams<schemas.$ZodEmoji, "when">;
206
+ export type $ZodCheckEmojiParams = CheckStringFormatParams<schemas.$ZodEmoji, "when">;
207
+ export function _emoji<T extends schemas.$ZodEmoji>(
208
+ Class: util.SchemaClass<T>,
209
+ params?: string | $ZodEmojiParams | $ZodCheckEmojiParams
210
+ ): T {
211
+ return new Class({
212
+ type: "string",
213
+ format: "emoji",
214
+ check: "string_format",
215
+ abort: false,
216
+ ...util.normalizeParams(params),
217
+ });
218
+ }
219
+
220
+ // NanoID
221
+ export type $ZodNanoIDParams = StringFormatParams<schemas.$ZodNanoID, "when">;
222
+ export type $ZodCheckNanoIDParams = CheckStringFormatParams<schemas.$ZodNanoID, "when">;
223
+ export function _nanoid<T extends schemas.$ZodNanoID>(
224
+ Class: util.SchemaClass<T>,
225
+ params?: string | $ZodNanoIDParams | $ZodCheckNanoIDParams
226
+ ): T {
227
+ return new Class({
228
+ type: "string",
229
+ format: "nanoid",
230
+ check: "string_format",
231
+ abort: false,
232
+ ...util.normalizeParams(params),
233
+ });
234
+ }
235
+
236
+ // CUID
237
+ export type $ZodCUIDParams = StringFormatParams<schemas.$ZodCUID, "when">;
238
+ export type $ZodCheckCUIDParams = CheckStringFormatParams<schemas.$ZodCUID, "when">;
239
+ export function _cuid<T extends schemas.$ZodCUID>(
240
+ Class: util.SchemaClass<T>,
241
+ params?: string | $ZodCUIDParams | $ZodCheckCUIDParams
242
+ ): T {
243
+ return new Class({
244
+ type: "string",
245
+ format: "cuid",
246
+ check: "string_format",
247
+ abort: false,
248
+ ...util.normalizeParams(params),
249
+ });
250
+ }
251
+
252
+ // CUID2
253
+ export type $ZodCUID2Params = StringFormatParams<schemas.$ZodCUID2, "when">;
254
+ export type $ZodCheckCUID2Params = CheckStringFormatParams<schemas.$ZodCUID2, "when">;
255
+ export function _cuid2<T extends schemas.$ZodCUID2>(
256
+ Class: util.SchemaClass<T>,
257
+ params?: string | $ZodCUID2Params | $ZodCheckCUID2Params
258
+ ): T {
259
+ return new Class({
260
+ type: "string",
261
+ format: "cuid2",
262
+ check: "string_format",
263
+ abort: false,
264
+ ...util.normalizeParams(params),
265
+ });
266
+ }
267
+
268
+ // ULID
269
+ export type $ZodULIDParams = StringFormatParams<schemas.$ZodULID, "when">;
270
+ export type $ZodCheckULIDParams = CheckStringFormatParams<schemas.$ZodULID, "when">;
271
+ export function _ulid<T extends schemas.$ZodULID>(
272
+ Class: util.SchemaClass<T>,
273
+ params?: string | $ZodULIDParams | $ZodCheckULIDParams
274
+ ): T {
275
+ return new Class({
276
+ type: "string",
277
+ format: "ulid",
278
+ check: "string_format",
279
+ abort: false,
280
+ ...util.normalizeParams(params),
281
+ });
282
+ }
283
+
284
+ // XID
285
+ export type $ZodXIDParams = StringFormatParams<schemas.$ZodXID, "when">;
286
+ export type $ZodCheckXIDParams = CheckStringFormatParams<schemas.$ZodXID, "when">;
287
+ export function _xid<T extends schemas.$ZodXID>(
288
+ Class: util.SchemaClass<T>,
289
+ params?: string | $ZodXIDParams | $ZodCheckXIDParams
290
+ ): T {
291
+ return new Class({
292
+ type: "string",
293
+ format: "xid",
294
+ check: "string_format",
295
+ abort: false,
296
+ ...util.normalizeParams(params),
297
+ });
298
+ }
299
+
300
+ // KSUID
301
+ export type $ZodKSUIDParams = StringFormatParams<schemas.$ZodKSUID, "when">;
302
+ export type $ZodCheckKSUIDParams = CheckStringFormatParams<schemas.$ZodKSUID, "when">;
303
+ export function _ksuid<T extends schemas.$ZodKSUID>(
304
+ Class: util.SchemaClass<T>,
305
+ params?: string | $ZodKSUIDParams | $ZodCheckKSUIDParams
306
+ ): T {
307
+ return new Class({
308
+ type: "string",
309
+ format: "ksuid",
310
+ check: "string_format",
311
+ abort: false,
312
+ ...util.normalizeParams(params),
313
+ });
314
+ }
315
+
316
+ // IPv4
317
+ export type $ZodIPv4Params = StringFormatParams<schemas.$ZodIPv4, "pattern" | "when" | "version">;
318
+ export type $ZodCheckIPv4Params = CheckStringFormatParams<schemas.$ZodIPv4, "pattern" | "when" | "version">;
319
+ export function _ipv4<T extends schemas.$ZodIPv4>(
320
+ Class: util.SchemaClass<T>,
321
+ params?: string | $ZodIPv4Params | $ZodCheckIPv4Params
322
+ ): T {
323
+ return new Class({
324
+ type: "string",
325
+ format: "ipv4",
326
+ check: "string_format",
327
+ abort: false,
328
+ ...util.normalizeParams(params),
329
+ });
330
+ }
331
+
332
+ // IPv6
333
+ export type $ZodIPv6Params = StringFormatParams<schemas.$ZodIPv6, "pattern" | "when" | "version">;
334
+ export type $ZodCheckIPv6Params = CheckStringFormatParams<schemas.$ZodIPv6, "pattern" | "when" | "version">;
335
+ export function _ipv6<T extends schemas.$ZodIPv6>(
336
+ Class: util.SchemaClass<T>,
337
+ params?: string | $ZodIPv6Params | $ZodCheckIPv6Params
338
+ ): T {
339
+ return new Class({
340
+ type: "string",
341
+ format: "ipv6",
342
+ check: "string_format",
343
+ abort: false,
344
+ ...util.normalizeParams(params),
345
+ });
346
+ }
347
+
348
+ // CIDRv4
349
+ export type $ZodCIDRv4Params = StringFormatParams<schemas.$ZodCIDRv4, "pattern" | "when">;
350
+ export type $ZodCheckCIDRv4Params = CheckStringFormatParams<schemas.$ZodCIDRv4, "pattern" | "when">;
351
+ export function _cidrv4<T extends schemas.$ZodCIDRv4>(
352
+ Class: util.SchemaClass<T>,
353
+ params?: string | $ZodCIDRv4Params | $ZodCheckCIDRv4Params
354
+ ): T {
355
+ return new Class({
356
+ type: "string",
357
+ format: "cidrv4",
358
+ check: "string_format",
359
+ abort: false,
360
+ ...util.normalizeParams(params),
361
+ });
362
+ }
363
+
364
+ // CIDRv6
365
+ export type $ZodCIDRv6Params = StringFormatParams<schemas.$ZodCIDRv6, "pattern" | "when">;
366
+ export type $ZodCheckCIDRv6Params = CheckStringFormatParams<schemas.$ZodCIDRv6, "pattern" | "when">;
367
+ export function _cidrv6<T extends schemas.$ZodCIDRv6>(
368
+ Class: util.SchemaClass<T>,
369
+ params?: string | $ZodCIDRv6Params | $ZodCheckCIDRv6Params
370
+ ): T {
371
+ return new Class({
372
+ type: "string",
373
+ format: "cidrv6",
374
+ check: "string_format",
375
+ abort: false,
376
+ ...util.normalizeParams(params),
377
+ });
378
+ }
379
+
380
+ // Base64
381
+ export type $ZodBase64Params = StringFormatParams<schemas.$ZodBase64, "pattern" | "when">;
382
+ export type $ZodCheckBase64Params = CheckStringFormatParams<schemas.$ZodBase64, "pattern" | "when">;
383
+ export function _base64<T extends schemas.$ZodBase64>(
384
+ Class: util.SchemaClass<T>,
385
+ params?: string | $ZodBase64Params | $ZodCheckBase64Params
386
+ ): T {
387
+ return new Class({
388
+ type: "string",
389
+ format: "base64",
390
+ check: "string_format",
391
+ abort: false,
392
+ ...util.normalizeParams(params),
393
+ });
394
+ }
395
+
396
+ // base64url
397
+ export type $ZodBase64URLParams = StringFormatParams<schemas.$ZodBase64URL, "pattern" | "when">;
398
+ export type $ZodCheckBase64URLParams = CheckStringFormatParams<schemas.$ZodBase64URL, "pattern" | "when">;
399
+ export function _base64url<T extends schemas.$ZodBase64URL>(
400
+ Class: util.SchemaClass<T>,
401
+ params?: string | $ZodBase64URLParams | $ZodCheckBase64URLParams
402
+ ): T {
403
+ return new Class({
404
+ type: "string",
405
+ format: "base64url",
406
+ check: "string_format",
407
+ abort: false,
408
+ ...util.normalizeParams(params),
409
+ });
410
+ }
411
+
412
+ // E164
413
+ export type $ZodE164Params = StringFormatParams<schemas.$ZodE164, "when">;
414
+ export type $ZodCheckE164Params = CheckStringFormatParams<schemas.$ZodE164, "when">;
415
+ export function _e164<T extends schemas.$ZodE164>(
416
+ Class: util.SchemaClass<T>,
417
+ params?: string | $ZodE164Params | $ZodCheckE164Params
418
+ ): T {
419
+ return new Class({
420
+ type: "string",
421
+ format: "e164",
422
+ check: "string_format",
423
+ abort: false,
424
+ ...util.normalizeParams(params),
425
+ });
426
+ }
427
+
428
+ // JWT
429
+ export type $ZodJWTParams = StringFormatParams<schemas.$ZodJWT, "pattern" | "when">;
430
+ export type $ZodCheckJWTParams = CheckStringFormatParams<schemas.$ZodJWT, "pattern" | "when">;
431
+ export function _jwt<T extends schemas.$ZodJWT>(
432
+ Class: util.SchemaClass<T>,
433
+ params?: string | $ZodJWTParams | $ZodCheckJWTParams
434
+ ): T {
435
+ return new Class({
436
+ type: "string",
437
+ format: "jwt",
438
+ check: "string_format",
439
+ abort: false,
440
+ ...util.normalizeParams(params),
441
+ });
442
+ }
443
+
444
+ export const TimePrecision = {
445
+ Any: null,
446
+ Minute: -1,
447
+ Second: 0,
448
+ Millisecond: 3,
449
+ Microsecond: 6,
450
+ } as const;
451
+ // ISODateTime
452
+ export type $ZodISODateTimeParams = StringFormatParams<schemas.$ZodISODateTime, "pattern" | "when">;
453
+ export type $ZodCheckISODateTimeParams = CheckStringFormatParams<schemas.$ZodISODateTime, "pattern" | "when">;
454
+ export function _isoDateTime<T extends schemas.$ZodISODateTime>(
455
+ Class: util.SchemaClass<T>,
456
+ params?: string | $ZodISODateTimeParams | $ZodCheckISODateTimeParams
457
+ ): T {
458
+ return new Class({
459
+ type: "string",
460
+ format: "datetime",
461
+ check: "string_format",
462
+ offset: false,
463
+ local: false,
464
+ precision: null,
465
+ ...util.normalizeParams(params),
466
+ });
467
+ }
468
+
469
+ // ISODate
470
+ export type $ZodISODateParams = StringFormatParams<schemas.$ZodISODate, "pattern" | "when">;
471
+ export type $ZodCheckISODateParams = CheckStringFormatParams<schemas.$ZodISODate, "pattern" | "when">;
472
+ export function _isoDate<T extends schemas.$ZodISODate>(
473
+ Class: util.SchemaClass<T>,
474
+ params?: string | $ZodISODateParams | $ZodCheckISODateParams
475
+ ): T {
476
+ return new Class({
477
+ type: "string",
478
+ format: "date",
479
+ check: "string_format",
480
+ ...util.normalizeParams(params),
481
+ });
482
+ }
483
+
484
+ // ISOTime
485
+ export type $ZodISOTimeParams = StringFormatParams<schemas.$ZodISOTime, "pattern" | "when">;
486
+ export type $ZodCheckISOTimeParams = CheckStringFormatParams<schemas.$ZodISOTime, "pattern" | "when">;
487
+ export function _isoTime<T extends schemas.$ZodISOTime>(
488
+ Class: util.SchemaClass<T>,
489
+ params?: string | $ZodISOTimeParams | $ZodCheckISOTimeParams
490
+ ): T {
491
+ return new Class({
492
+ type: "string",
493
+ format: "time",
494
+ check: "string_format",
495
+ precision: null,
496
+ ...util.normalizeParams(params),
497
+ });
498
+ }
499
+
500
+ // ISODuration
501
+ export type $ZodISODurationParams = StringFormatParams<schemas.$ZodISODuration, "when">;
502
+ export type $ZodCheckISODurationParams = CheckStringFormatParams<schemas.$ZodISODuration, "when">;
503
+ export function _isoDuration<T extends schemas.$ZodISODuration>(
504
+ Class: util.SchemaClass<T>,
505
+ params?: string | $ZodISODurationParams | $ZodCheckISODurationParams
506
+ ): T {
507
+ return new Class({
508
+ type: "string",
509
+ format: "duration",
510
+ check: "string_format",
511
+ ...util.normalizeParams(params),
512
+ });
513
+ }
514
+
515
+ // Number
516
+ export type $ZodNumberParams = TypeParams<schemas.$ZodNumber<number>, "coerce">;
517
+ export type $ZodNumberFormatParams = CheckTypeParams<schemas.$ZodNumberFormat, "format" | "coerce">;
518
+ export type $ZodCheckNumberFormatParams = CheckParams<checks.$ZodCheckNumberFormat, "format" | "when">;
519
+ export function _number<T extends schemas.$ZodNumber>(
520
+ Class: util.SchemaClass<T>,
521
+ params?: string | $ZodNumberParams
522
+ ): T {
523
+ return new Class({
524
+ type: "number",
525
+ checks: [],
526
+ ...util.normalizeParams(params),
527
+ });
528
+ }
529
+
530
+ export function _coercedNumber<T extends schemas.$ZodNumber>(
531
+ Class: util.SchemaClass<T>,
532
+ params?: string | $ZodNumberParams
533
+ ): T {
534
+ return new Class({
535
+ type: "number",
536
+ coerce: true,
537
+ checks: [],
538
+ ...util.normalizeParams(params),
539
+ });
540
+ }
541
+
542
+ export function _int<T extends schemas.$ZodNumberFormat>(
543
+ Class: util.SchemaClass<T>,
544
+ params?: string | $ZodCheckNumberFormatParams
545
+ ): T {
546
+ return new Class({
547
+ type: "number",
548
+ check: "number_format",
549
+ abort: false,
550
+ format: "safeint",
551
+ ...util.normalizeParams(params),
552
+ });
553
+ }
554
+ export function _float32<T extends schemas.$ZodNumberFormat>(
555
+ Class: util.SchemaClass<T>,
556
+ params?: string | $ZodCheckNumberFormatParams
557
+ ): T {
558
+ return new Class({
559
+ type: "number",
560
+ check: "number_format",
561
+ abort: false,
562
+ format: "float32",
563
+ ...util.normalizeParams(params),
564
+ });
565
+ }
566
+ export function _float64<T extends schemas.$ZodNumberFormat>(
567
+ Class: util.SchemaClass<T>,
568
+ params?: string | $ZodCheckNumberFormatParams
569
+ ): T {
570
+ return new Class({
571
+ type: "number",
572
+ check: "number_format",
573
+ abort: false,
574
+ format: "float64",
575
+ ...util.normalizeParams(params),
576
+ });
577
+ }
578
+ export function _int32<T extends schemas.$ZodNumberFormat>(
579
+ Class: util.SchemaClass<T>,
580
+ params?: string | $ZodCheckNumberFormatParams
581
+ ): T {
582
+ return new Class({
583
+ type: "number",
584
+ check: "number_format",
585
+ abort: false,
586
+ format: "int32",
587
+ ...util.normalizeParams(params),
588
+ });
589
+ }
590
+ export function _uint32<T extends schemas.$ZodNumberFormat>(
591
+ Class: util.SchemaClass<T>,
592
+ params?: string | $ZodCheckNumberFormatParams
593
+ ): T {
594
+ return new Class({
595
+ type: "number",
596
+ check: "number_format",
597
+ abort: false,
598
+ format: "uint32",
599
+ ...util.normalizeParams(params),
600
+ });
601
+ }
602
+
603
+ // Boolean
604
+ export type $ZodBooleanParams = TypeParams<schemas.$ZodBoolean<boolean>, "coerce">;
605
+ export function _boolean<T extends schemas.$ZodBoolean>(
606
+ Class: util.SchemaClass<T>,
607
+ params?: string | $ZodBooleanParams
608
+ ): T {
609
+ return new Class({
610
+ type: "boolean",
611
+ ...util.normalizeParams(params),
612
+ });
613
+ }
614
+ export function _coercedBoolean<T extends schemas.$ZodBoolean>(
615
+ Class: util.SchemaClass<T>,
616
+ params?: string | $ZodBooleanParams
617
+ ): T {
618
+ return new Class({
619
+ type: "boolean",
620
+ coerce: true,
621
+ ...util.normalizeParams(params),
622
+ });
623
+ }
624
+
625
+ // BigInt
626
+ export type $ZodBigIntParams = TypeParams<schemas.$ZodBigInt<bigint>>;
627
+ export type $ZodBigIntFormatParams = CheckTypeParams<schemas.$ZodBigIntFormat, "format" | "coerce">;
628
+ export type $ZodCheckBigIntFormatParams = CheckParams<checks.$ZodCheckBigIntFormat, "format" | "when">;
629
+ export function _bigint<T extends schemas.$ZodBigInt>(
630
+ Class: util.SchemaClass<T>,
631
+ params?: string | $ZodBigIntParams
632
+ ): T {
633
+ return new Class({
634
+ type: "bigint",
635
+ ...util.normalizeParams(params),
636
+ });
637
+ }
638
+ export function _coercedBigint<T extends schemas.$ZodBigInt>(
639
+ Class: util.SchemaClass<T>,
640
+ params?: string | $ZodBigIntParams
641
+ ): T {
642
+ return new Class({
643
+ type: "bigint",
644
+ coerce: true,
645
+ ...util.normalizeParams(params),
646
+ });
647
+ }
648
+
649
+ export function _int64<T extends schemas.$ZodBigIntFormat>(
650
+ Class: util.SchemaClass<T>,
651
+ params?: string | $ZodBigIntFormatParams
652
+ ): T {
653
+ return new Class({
654
+ type: "bigint",
655
+ check: "bigint_format",
656
+ abort: false,
657
+ format: "int64",
658
+ ...util.normalizeParams(params),
659
+ });
660
+ }
661
+ export function _uint64<T extends schemas.$ZodBigIntFormat>(
662
+ Class: util.SchemaClass<T>,
663
+ params?: string | $ZodBigIntFormatParams
664
+ ): T {
665
+ return new Class({
666
+ type: "bigint",
667
+ check: "bigint_format",
668
+ abort: false,
669
+ format: "uint64",
670
+ ...util.normalizeParams(params),
671
+ });
672
+ }
673
+
674
+ // Symbol
675
+ export type $ZodSymbolParams = TypeParams<schemas.$ZodSymbol>;
676
+ export function _symbol<T extends schemas.$ZodSymbol>(
677
+ Class: util.SchemaClass<T>,
678
+ params?: string | $ZodSymbolParams
679
+ ): T {
680
+ return new Class({
681
+ type: "symbol",
682
+ ...util.normalizeParams(params),
683
+ });
684
+ }
685
+
686
+ // Undefined
687
+ export type $ZodUndefinedParams = TypeParams<schemas.$ZodUndefined>;
688
+ export function _undefined<T extends schemas.$ZodUndefined>(
689
+ Class: util.SchemaClass<T>,
690
+ params?: string | $ZodUndefinedParams
691
+ ): T {
692
+ return new Class({
693
+ type: "undefined",
694
+ ...util.normalizeParams(params),
695
+ });
696
+ }
697
+
698
+ // Null
699
+ export type $ZodNullParams = TypeParams<schemas.$ZodNull>;
700
+ export function _null<T extends schemas.$ZodNull>(Class: util.SchemaClass<T>, params?: string | $ZodNullParams): T {
701
+ return new Class({
702
+ type: "null",
703
+ ...util.normalizeParams(params),
704
+ });
705
+ }
706
+
707
+ // Any
708
+ export type $ZodAnyParams = TypeParams<schemas.$ZodAny>;
709
+ export function _any<T extends schemas.$ZodAny>(Class: util.SchemaClass<T>): T {
710
+ return new Class({
711
+ type: "any",
712
+ });
713
+ }
714
+
715
+ // Unknown
716
+ export type $ZodUnknownParams = TypeParams<schemas.$ZodUnknown>;
717
+ export function _unknown<T extends schemas.$ZodUnknown>(Class: util.SchemaClass<T>): T {
718
+ return new Class({
719
+ type: "unknown",
720
+ });
721
+ }
722
+
723
+ // Never
724
+ export type $ZodNeverParams = TypeParams<schemas.$ZodNever>;
725
+ export function _never<T extends schemas.$ZodNever>(Class: util.SchemaClass<T>, params?: string | $ZodNeverParams): T {
726
+ return new Class({
727
+ type: "never",
728
+ ...util.normalizeParams(params),
729
+ });
730
+ }
731
+
732
+ // Void
733
+ export type $ZodVoidParams = TypeParams<schemas.$ZodVoid>;
734
+ export function _void<T extends schemas.$ZodVoid>(Class: util.SchemaClass<T>, params?: string | $ZodVoidParams): T {
735
+ return new Class({
736
+ type: "void",
737
+ ...util.normalizeParams(params),
738
+ });
739
+ }
740
+
741
+ // Date
742
+ export type $ZodDateParams = TypeParams<schemas.$ZodDate, "coerce">;
743
+ export function _date<T extends schemas.$ZodDate>(Class: util.SchemaClass<T>, params?: string | $ZodDateParams): T {
744
+ return new Class({
745
+ type: "date",
746
+ ...util.normalizeParams(params),
747
+ });
748
+ }
749
+ export function _coercedDate<T extends schemas.$ZodDate>(
750
+ Class: util.SchemaClass<T>,
751
+ params?: string | $ZodDateParams
752
+ ): T {
753
+ return new Class({
754
+ type: "date",
755
+ coerce: true,
756
+ ...util.normalizeParams(params),
757
+ });
758
+ }
759
+
760
+ // NaN
761
+ export type $ZodNaNParams = TypeParams<schemas.$ZodNaN>;
762
+ export function _nan<T extends schemas.$ZodNaN>(Class: util.SchemaClass<T>, params?: string | $ZodNaNParams): T {
763
+ return new Class({
764
+ type: "nan",
765
+ ...util.normalizeParams(params),
766
+ });
767
+ }
768
+
769
+ // export type $ZodCheckParams = CheckParams<checks.$ZodCheck, "abort" | "when">;
770
+
771
+ export type $ZodCheckLessThanParams = CheckParams<checks.$ZodCheckLessThan, "inclusive" | "value" | "when">;
772
+ export function _lt(
773
+ value: util.Numeric,
774
+ params?: string | $ZodCheckLessThanParams
775
+ ): checks.$ZodCheckLessThan<util.Numeric> {
776
+ return new checks.$ZodCheckLessThan({
777
+ check: "less_than",
778
+ ...util.normalizeParams(params),
779
+ value,
780
+ inclusive: false,
781
+ });
782
+ }
783
+
784
+ export function _lte(
785
+ value: util.Numeric,
786
+ params?: string | $ZodCheckLessThanParams
787
+ ): checks.$ZodCheckLessThan<util.Numeric> {
788
+ return new checks.$ZodCheckLessThan({
789
+ check: "less_than",
790
+
791
+ ...util.normalizeParams(params),
792
+ value,
793
+ inclusive: true,
794
+ });
795
+ }
796
+ export {
797
+ /** @deprecated Use `z.lte()` instead. */
798
+ _lte as _max,
799
+ };
800
+
801
+ // ZodCheckGreaterThan
802
+ export type $ZodCheckGreaterThanParams = CheckParams<checks.$ZodCheckGreaterThan, "inclusive" | "value" | "when">;
803
+ export function _gt(value: util.Numeric, params?: string | $ZodCheckGreaterThanParams): checks.$ZodCheckGreaterThan {
804
+ return new checks.$ZodCheckGreaterThan({
805
+ check: "greater_than",
806
+
807
+ ...util.normalizeParams(params),
808
+ value,
809
+ inclusive: false,
810
+ });
811
+ }
812
+
813
+ export function _gte(value: util.Numeric, params?: string | $ZodCheckGreaterThanParams): checks.$ZodCheckGreaterThan {
814
+ return new checks.$ZodCheckGreaterThan({
815
+ check: "greater_than",
816
+ ...util.normalizeParams(params),
817
+ value,
818
+ inclusive: true,
819
+ });
820
+ }
821
+
822
+ export {
823
+ /** @deprecated Use `z.gte()` instead. */
824
+ _gte as _min,
825
+ };
826
+
827
+ export function _positive(params?: string | $ZodCheckGreaterThanParams): checks.$ZodCheckGreaterThan {
828
+ return _gt(0, params);
829
+ }
830
+
831
+ // negative
832
+ export function _negative(params?: string | $ZodCheckLessThanParams): checks.$ZodCheckLessThan {
833
+ return _lt(0, params);
834
+ }
835
+
836
+ // nonpositive
837
+ export function _nonpositive(params?: string | $ZodCheckLessThanParams): checks.$ZodCheckLessThan {
838
+ return _lte(0, params);
839
+ }
840
+
841
+ // nonnegative
842
+ export function _nonnegative(params?: string | $ZodCheckGreaterThanParams): checks.$ZodCheckGreaterThan {
843
+ return _gte(0, params);
844
+ }
845
+
846
+ export type $ZodCheckMultipleOfParams = CheckParams<checks.$ZodCheckMultipleOf, "value" | "when">;
847
+ export function _multipleOf(
848
+ value: number | bigint,
849
+ params?: string | $ZodCheckMultipleOfParams
850
+ ): checks.$ZodCheckMultipleOf {
851
+ return new checks.$ZodCheckMultipleOf({
852
+ check: "multiple_of",
853
+ ...util.normalizeParams(params),
854
+ value,
855
+ });
856
+ }
857
+
858
+ export type $ZodCheckMaxSizeParams = CheckParams<checks.$ZodCheckMaxSize, "maximum" | "when">;
859
+ export function _maxSize(
860
+ maximum: number,
861
+ params?: string | $ZodCheckMaxSizeParams
862
+ ): checks.$ZodCheckMaxSize<util.HasSize> {
863
+ return new checks.$ZodCheckMaxSize({
864
+ check: "max_size",
865
+ ...util.normalizeParams(params),
866
+ maximum,
867
+ });
868
+ }
869
+
870
+ export type $ZodCheckMinSizeParams = CheckParams<checks.$ZodCheckMinSize, "minimum" | "when">;
871
+ export function _minSize(
872
+ minimum: number,
873
+ params?: string | $ZodCheckMinSizeParams
874
+ ): checks.$ZodCheckMinSize<util.HasSize> {
875
+ return new checks.$ZodCheckMinSize({
876
+ check: "min_size",
877
+ ...util.normalizeParams(params),
878
+ minimum,
879
+ });
880
+ }
881
+
882
+ export type $ZodCheckSizeEqualsParams = CheckParams<checks.$ZodCheckSizeEquals, "size" | "when">;
883
+ export function _size(
884
+ size: number,
885
+ params?: string | $ZodCheckSizeEqualsParams
886
+ ): checks.$ZodCheckSizeEquals<util.HasSize> {
887
+ return new checks.$ZodCheckSizeEquals({
888
+ check: "size_equals",
889
+ ...util.normalizeParams(params),
890
+ size,
891
+ });
892
+ }
893
+
894
+ export type $ZodCheckMaxLengthParams = CheckParams<checks.$ZodCheckMaxLength, "maximum" | "when">;
895
+ export function _maxLength(
896
+ maximum: number,
897
+ params?: string | $ZodCheckMaxLengthParams
898
+ ): checks.$ZodCheckMaxLength<util.HasLength> {
899
+ const ch = new checks.$ZodCheckMaxLength({
900
+ check: "max_length",
901
+ ...util.normalizeParams(params),
902
+ maximum,
903
+ });
904
+ return ch;
905
+ }
906
+
907
+ export type $ZodCheckMinLengthParams = CheckParams<checks.$ZodCheckMinLength, "minimum" | "when">;
908
+ export function _minLength(
909
+ minimum: number,
910
+ params?: string | $ZodCheckMinLengthParams
911
+ ): checks.$ZodCheckMinLength<util.HasLength> {
912
+ return new checks.$ZodCheckMinLength({
913
+ check: "min_length",
914
+ ...util.normalizeParams(params),
915
+ minimum,
916
+ });
917
+ }
918
+
919
+ export type $ZodCheckLengthEqualsParams = CheckParams<checks.$ZodCheckLengthEquals, "length" | "when">;
920
+ export function _length(
921
+ length: number,
922
+ params?: string | $ZodCheckLengthEqualsParams
923
+ ): checks.$ZodCheckLengthEquals<util.HasLength> {
924
+ return new checks.$ZodCheckLengthEquals({
925
+ check: "length_equals",
926
+ ...util.normalizeParams(params),
927
+ length,
928
+ });
929
+ }
930
+
931
+ export type $ZodCheckRegexParams = CheckParams<checks.$ZodCheckRegex, "format" | "pattern" | "when">;
932
+ export function _regex(pattern: RegExp, params?: string | $ZodCheckRegexParams): checks.$ZodCheckRegex {
933
+ return new checks.$ZodCheckRegex({
934
+ check: "string_format",
935
+ format: "regex",
936
+ ...util.normalizeParams(params),
937
+ pattern,
938
+ });
939
+ }
940
+
941
+ export type $ZodCheckLowerCaseParams = CheckParams<checks.$ZodCheckLowerCase, "format" | "when">;
942
+ export function _lowercase(params?: string | $ZodCheckLowerCaseParams): checks.$ZodCheckLowerCase {
943
+ return new checks.$ZodCheckLowerCase({
944
+ check: "string_format",
945
+ format: "lowercase",
946
+ ...util.normalizeParams(params),
947
+ });
948
+ }
949
+
950
+ export type $ZodCheckUpperCaseParams = CheckParams<checks.$ZodCheckUpperCase, "format" | "when">;
951
+
952
+ export function _uppercase(params?: string | $ZodCheckUpperCaseParams): checks.$ZodCheckUpperCase {
953
+ return new checks.$ZodCheckUpperCase({
954
+ check: "string_format",
955
+ format: "uppercase",
956
+ ...util.normalizeParams(params),
957
+ });
958
+ }
959
+
960
+ export type $ZodCheckIncludesParams = CheckParams<checks.$ZodCheckIncludes, "includes" | "format" | "when" | "pattern">;
961
+ export function _includes(includes: string, params?: string | $ZodCheckIncludesParams): checks.$ZodCheckIncludes {
962
+ return new checks.$ZodCheckIncludes({
963
+ check: "string_format",
964
+ format: "includes",
965
+ ...util.normalizeParams(params),
966
+ includes,
967
+ });
968
+ }
969
+ export type $ZodCheckStartsWithParams = CheckParams<
970
+ checks.$ZodCheckStartsWith,
971
+ "prefix" | "format" | "when" | "pattern"
972
+ >;
973
+ export function _startsWith(prefix: string, params?: string | $ZodCheckStartsWithParams): checks.$ZodCheckStartsWith {
974
+ return new checks.$ZodCheckStartsWith({
975
+ check: "string_format",
976
+ format: "starts_with",
977
+ ...util.normalizeParams(params),
978
+ prefix,
979
+ });
980
+ }
981
+
982
+ export type $ZodCheckEndsWithParams = CheckParams<checks.$ZodCheckEndsWith, "suffix" | "format" | "pattern" | "when">;
983
+
984
+ export function _endsWith(suffix: string, params?: string | $ZodCheckEndsWithParams): checks.$ZodCheckEndsWith {
985
+ return new checks.$ZodCheckEndsWith({
986
+ check: "string_format",
987
+ format: "ends_with",
988
+ ...util.normalizeParams(params),
989
+ suffix,
990
+ });
991
+ }
992
+
993
+ export type $ZodCheckPropertyParams = CheckParams<checks.$ZodCheckProperty, "property" | "schema" | "when">;
994
+ export function _property<K extends string, T extends schemas.$ZodType>(
995
+ property: K,
996
+ schema: T,
997
+ params?: string | $ZodCheckPropertyParams
998
+ ): checks.$ZodCheckProperty<{ [k in K]: core.output<T> }> {
999
+ return new checks.$ZodCheckProperty({
1000
+ check: "property",
1001
+ property,
1002
+ schema,
1003
+ ...util.normalizeParams(params),
1004
+ });
1005
+ }
1006
+
1007
+ export type $ZodCheckMimeTypeParams = CheckParams<checks.$ZodCheckMimeType, "mime" | "when">;
1008
+ export function _mime(types: util.MimeTypes[], params?: string | $ZodCheckMimeTypeParams): checks.$ZodCheckMimeType {
1009
+ return new checks.$ZodCheckMimeType({
1010
+ check: "mime_type",
1011
+ mime: types,
1012
+ ...util.normalizeParams(params),
1013
+ });
1014
+ }
1015
+
1016
+ export function _overwrite<T>(tx: (input: T) => T): checks.$ZodCheckOverwrite<T> {
1017
+ return new checks.$ZodCheckOverwrite({
1018
+ check: "overwrite",
1019
+ tx,
1020
+ }) as checks.$ZodCheckOverwrite<T>;
1021
+ }
1022
+ // normalize
1023
+ export function _normalize(form?: "NFC" | "NFD" | "NFKC" | "NFKD" | (string & {})): checks.$ZodCheckOverwrite<string> {
1024
+ return _overwrite((input) => input.normalize(form));
1025
+ }
1026
+
1027
+ // trim
1028
+ export function _trim(): checks.$ZodCheckOverwrite<string> {
1029
+ return _overwrite((input) => input.trim());
1030
+ }
1031
+ // toLowerCase
1032
+ export function _toLowerCase(): checks.$ZodCheckOverwrite<string> {
1033
+ return _overwrite((input) => input.toLowerCase());
1034
+ }
1035
+ // toUpperCase
1036
+ export function _toUpperCase(): checks.$ZodCheckOverwrite<string> {
1037
+ return _overwrite((input) => input.toUpperCase());
1038
+ }
1039
+
1040
+ /////// collections ///////
1041
+
1042
+ // Array
1043
+ export type $ZodArrayParams = TypeParams<schemas.$ZodArray, "element">;
1044
+ export function _array<T extends schemas.$ZodType>(
1045
+ Class: util.SchemaClass<schemas.$ZodArray>,
1046
+ element: T,
1047
+ params?: string | $ZodArrayParams
1048
+ ): schemas.$ZodArray<T> {
1049
+ return new Class({
1050
+ type: "array",
1051
+ element,
1052
+ // get element() {
1053
+ // return element;
1054
+ // },
1055
+ ...util.normalizeParams(params),
1056
+ }) as any;
1057
+ }
1058
+
1059
+ export type $ZodObjectParams = TypeParams<schemas.$ZodObject, "shape" | "catchall">;
1060
+
1061
+ // ZodUnion
1062
+ export type $ZodUnionParams = TypeParams<schemas.$ZodUnion, "options">;
1063
+ export function _union<const T extends readonly schemas.$ZodObject[]>(
1064
+ Class: util.SchemaClass<schemas.$ZodUnion>,
1065
+ options: T,
1066
+ params?: string | $ZodUnionParams
1067
+ ): schemas.$ZodUnion<T> {
1068
+ return new Class({
1069
+ type: "union",
1070
+ options,
1071
+ ...util.normalizeParams(params),
1072
+ }) as any;
1073
+ }
1074
+
1075
+ // ZodDiscriminatedUnion
1076
+ export interface $ZodTypeDiscriminableInternals extends schemas.$ZodTypeInternals {
1077
+ propValues: util.PropValues;
1078
+ }
1079
+
1080
+ export interface $ZodTypeDiscriminable extends schemas.$ZodType {
1081
+ _zod: $ZodTypeDiscriminableInternals;
1082
+ }
1083
+ export type $ZodDiscriminatedUnionParams = TypeParams<schemas.$ZodDiscriminatedUnion, "options" | "discriminator">;
1084
+ export function _discriminatedUnion<
1085
+ Types extends [$ZodTypeDiscriminable, ...$ZodTypeDiscriminable[]],
1086
+ Disc extends string,
1087
+ >(
1088
+ Class: util.SchemaClass<schemas.$ZodDiscriminatedUnion>,
1089
+ discriminator: Disc,
1090
+ options: Types,
1091
+ params?: string | $ZodDiscriminatedUnionParams
1092
+ ): schemas.$ZodDiscriminatedUnion<Types, Disc> {
1093
+ return new Class({
1094
+ type: "union",
1095
+ options,
1096
+ discriminator,
1097
+ ...util.normalizeParams(params),
1098
+ }) as any;
1099
+ }
1100
+
1101
+ // ZodIntersection
1102
+ export type $ZodIntersectionParams = TypeParams<schemas.$ZodIntersection, "left" | "right">;
1103
+ export function _intersection<T extends schemas.$ZodObject, U extends schemas.$ZodObject>(
1104
+ Class: util.SchemaClass<schemas.$ZodIntersection>,
1105
+ left: T,
1106
+ right: U
1107
+ ): schemas.$ZodIntersection<T, U> {
1108
+ return new Class({
1109
+ type: "intersection",
1110
+ left,
1111
+ right,
1112
+ }) as any;
1113
+ }
1114
+
1115
+ // ZodTuple
1116
+ export type $ZodTupleParams = TypeParams<schemas.$ZodTuple, "items" | "rest">;
1117
+ export function _tuple<T extends readonly [schemas.$ZodType, ...schemas.$ZodType[]]>(
1118
+ Class: util.SchemaClass<schemas.$ZodTuple>,
1119
+ items: T,
1120
+ params?: string | $ZodTupleParams
1121
+ ): schemas.$ZodTuple<T, null>;
1122
+ export function _tuple<T extends readonly [schemas.$ZodType, ...schemas.$ZodType[]], Rest extends schemas.$ZodType>(
1123
+ Class: util.SchemaClass<schemas.$ZodTuple>,
1124
+ items: T,
1125
+ rest: Rest,
1126
+ params?: string | $ZodTupleParams
1127
+ ): schemas.$ZodTuple<T, Rest>;
1128
+ // export function _tuple(
1129
+ // Class: util.SchemaClass<schemas.$ZodTuple>,
1130
+ // items: [],
1131
+ // params?: string | $ZodTupleParams
1132
+ // ): schemas.$ZodTuple<[], null>;
1133
+ export function _tuple(
1134
+ Class: util.SchemaClass<schemas.$ZodTuple>,
1135
+ items: schemas.$ZodType[],
1136
+ _paramsOrRest?: string | $ZodTupleParams | schemas.$ZodType,
1137
+ _params?: string | $ZodTupleParams
1138
+ ) {
1139
+ const hasRest = _paramsOrRest instanceof schemas.$ZodType;
1140
+ const params = hasRest ? _params : _paramsOrRest;
1141
+ const rest = hasRest ? _paramsOrRest : null;
1142
+ return new Class({
1143
+ type: "tuple",
1144
+ items,
1145
+ rest,
1146
+ ...util.normalizeParams(params),
1147
+ });
1148
+ }
1149
+
1150
+ // ZodRecord
1151
+ export type $ZodRecordParams = TypeParams<schemas.$ZodRecord, "keyType" | "valueType">;
1152
+ export function _record<Key extends schemas.$ZodRecordKey, Value extends schemas.$ZodObject>(
1153
+ Class: util.SchemaClass<schemas.$ZodRecord>,
1154
+ keyType: Key,
1155
+ valueType: Value,
1156
+ params?: string | $ZodRecordParams
1157
+ ): schemas.$ZodRecord<Key, Value> {
1158
+ return new Class({
1159
+ type: "record",
1160
+ keyType,
1161
+ valueType,
1162
+ ...util.normalizeParams(params),
1163
+ }) as any;
1164
+ }
1165
+
1166
+ // ZodMap
1167
+ export type $ZodMapParams = TypeParams<schemas.$ZodMap, "keyType" | "valueType">;
1168
+ export function _map<Key extends schemas.$ZodObject, Value extends schemas.$ZodObject>(
1169
+ Class: util.SchemaClass<schemas.$ZodMap>,
1170
+ keyType: Key,
1171
+ valueType: Value,
1172
+ params?: string | $ZodMapParams
1173
+ ): schemas.$ZodMap<Key, Value> {
1174
+ return new Class({
1175
+ type: "map",
1176
+ keyType,
1177
+ valueType,
1178
+ ...util.normalizeParams(params),
1179
+ }) as any;
1180
+ }
1181
+
1182
+ // ZodSet
1183
+ export type $ZodSetParams = TypeParams<schemas.$ZodSet, "valueType">;
1184
+ export function _set<Value extends schemas.$ZodObject>(
1185
+ Class: util.SchemaClass<schemas.$ZodSet>,
1186
+ valueType: Value,
1187
+ params?: string | $ZodSetParams
1188
+ ): schemas.$ZodSet<Value> {
1189
+ return new Class({
1190
+ type: "set",
1191
+ valueType,
1192
+ ...util.normalizeParams(params),
1193
+ }) as any;
1194
+ }
1195
+
1196
+ // ZodEnum
1197
+ export type $ZodEnumParams = TypeParams<schemas.$ZodEnum, "entries">;
1198
+ export function _enum<const T extends string[]>(
1199
+ Class: util.SchemaClass<schemas.$ZodEnum>,
1200
+ values: T,
1201
+ params?: string | $ZodEnumParams
1202
+ ): schemas.$ZodEnum<util.ToEnum<T[number]>>;
1203
+ export function _enum<T extends util.EnumLike>(
1204
+ Class: util.SchemaClass<schemas.$ZodEnum>,
1205
+ entries: T,
1206
+ params?: string | $ZodEnumParams
1207
+ ): schemas.$ZodEnum<T>;
1208
+ export function _enum(Class: util.SchemaClass<schemas.$ZodEnum>, values: any, params?: string | $ZodEnumParams) {
1209
+ const entries: any = Array.isArray(values) ? Object.fromEntries(values.map((v) => [v, v])) : values;
1210
+ // if (Array.isArray(values)) {
1211
+ // for (const value of values) {
1212
+ // entries[value] = value;
1213
+ // }
1214
+ // } else {
1215
+ // Object.assign(entries, values);
1216
+ // }
1217
+ // const entries: util.EnumLike = {};
1218
+ // for (const val of values) {
1219
+ // entries[val] = val;
1220
+ // }
1221
+
1222
+ return new Class({
1223
+ type: "enum",
1224
+ entries,
1225
+ ...util.normalizeParams(params),
1226
+ }) as any;
1227
+ }
1228
+
1229
+ /** @deprecated This API has been merged into `z.enum()`. Use `z.enum()` instead.
1230
+ *
1231
+ * ```ts
1232
+ * enum Colors { red, green, blue }
1233
+ * z.enum(Colors);
1234
+ * ```
1235
+ */
1236
+ export function _nativeEnum<T extends util.EnumLike>(
1237
+ Class: util.SchemaClass<schemas.$ZodEnum>,
1238
+ entries: T,
1239
+ params?: string | $ZodEnumParams
1240
+ ): schemas.$ZodEnum<T> {
1241
+ return new Class({
1242
+ type: "enum",
1243
+ entries,
1244
+ ...util.normalizeParams(params),
1245
+ }) as any;
1246
+ }
1247
+
1248
+ // ZodLiteral
1249
+ export type $ZodLiteralParams = TypeParams<schemas.$ZodLiteral, "values">;
1250
+ export function _literal<const T extends Array<util.Literal>>(
1251
+ Class: util.SchemaClass<schemas.$ZodLiteral>,
1252
+ value: T,
1253
+ params?: string | $ZodLiteralParams
1254
+ ): schemas.$ZodLiteral<T[number]>;
1255
+ export function _literal<const T extends util.Literal>(
1256
+ Class: util.SchemaClass<schemas.$ZodLiteral>,
1257
+ value: T,
1258
+ params?: string | $ZodLiteralParams
1259
+ ): schemas.$ZodLiteral<T>;
1260
+ export function _literal(Class: util.SchemaClass<schemas.$ZodLiteral>, value: any, params: any) {
1261
+ return new Class({
1262
+ type: "literal",
1263
+ values: Array.isArray(value) ? value : [value],
1264
+ ...util.normalizeParams(params),
1265
+ });
1266
+ }
1267
+
1268
+ // ZodFile
1269
+ export type $ZodFileParams = TypeParams<schemas.$ZodFile>;
1270
+ export function _file(Class: util.SchemaClass<schemas.$ZodFile>, params?: string | $ZodFileParams): schemas.$ZodFile {
1271
+ return new Class({
1272
+ type: "file",
1273
+ ...util.normalizeParams(params),
1274
+ });
1275
+ }
1276
+
1277
+ // ZodTransform
1278
+ export type $ZodTransformParams = TypeParams<schemas.$ZodTransform, "transform">;
1279
+ export function _transform<I = unknown, O = I>(
1280
+ Class: util.SchemaClass<schemas.$ZodTransform>,
1281
+ fn: (input: I, ctx?: schemas.ParsePayload) => O
1282
+ ): schemas.$ZodTransform<Awaited<O>, I> {
1283
+ return new Class({
1284
+ type: "transform",
1285
+ transform: fn as any,
1286
+ }) as any;
1287
+ }
1288
+
1289
+ // ZodOptional
1290
+ export type $ZodOptionalParams = TypeParams<schemas.$ZodOptional, "innerType">;
1291
+ export function _optional<T extends schemas.$ZodObject>(
1292
+ Class: util.SchemaClass<schemas.$ZodOptional>,
1293
+ innerType: T
1294
+ ): schemas.$ZodOptional<T> {
1295
+ return new Class({
1296
+ type: "optional",
1297
+ innerType,
1298
+ }) as any;
1299
+ }
1300
+
1301
+ // ZodNullable
1302
+ export type $ZodNullableParams = TypeParams<schemas.$ZodNullable, "innerType">;
1303
+ export function _nullable<T extends schemas.$ZodObject>(
1304
+ Class: util.SchemaClass<schemas.$ZodNullable>,
1305
+ innerType: T
1306
+ ): schemas.$ZodNullable<T> {
1307
+ return new Class({
1308
+ type: "nullable",
1309
+ innerType,
1310
+ }) as any;
1311
+ }
1312
+
1313
+ // ZodDefault
1314
+ export type $ZodDefaultParams = TypeParams<schemas.$ZodDefault, "innerType" | "defaultValue">;
1315
+ export function _default<T extends schemas.$ZodObject>(
1316
+ Class: util.SchemaClass<schemas.$ZodDefault>,
1317
+ innerType: T,
1318
+ defaultValue: util.NoUndefined<core.output<T>> | (() => util.NoUndefined<core.output<T>>)
1319
+ ): schemas.$ZodDefault<T> {
1320
+ return new Class({
1321
+ type: "default",
1322
+ innerType,
1323
+ get defaultValue() {
1324
+ return typeof defaultValue === "function" ? (defaultValue as Function)() : util.shallowClone(defaultValue);
1325
+ },
1326
+ }) as any;
1327
+ }
1328
+
1329
+ // ZodNonOptional
1330
+ export type $ZodNonOptionalParams = TypeParams<schemas.$ZodNonOptional, "innerType">;
1331
+ export function _nonoptional<T extends schemas.$ZodObject>(
1332
+ Class: util.SchemaClass<schemas.$ZodNonOptional>,
1333
+ innerType: T,
1334
+ params?: string | $ZodNonOptionalParams
1335
+ ): schemas.$ZodNonOptional<T> {
1336
+ return new Class({
1337
+ type: "nonoptional",
1338
+ innerType,
1339
+ ...util.normalizeParams(params),
1340
+ }) as any;
1341
+ }
1342
+
1343
+ // ZodSuccess
1344
+ export type $ZodSuccessParams = TypeParams<schemas.$ZodSuccess, "innerType">;
1345
+ export function _success<T extends schemas.$ZodObject>(
1346
+ Class: util.SchemaClass<schemas.$ZodSuccess>,
1347
+ innerType: T
1348
+ ): schemas.$ZodSuccess<T> {
1349
+ return new Class({
1350
+ type: "success",
1351
+ innerType,
1352
+ }) as any;
1353
+ }
1354
+
1355
+ // ZodCatch
1356
+ export type $ZodCatchParams = TypeParams<schemas.$ZodCatch, "innerType" | "catchValue">;
1357
+ export function _catch<T extends schemas.$ZodObject>(
1358
+ Class: util.SchemaClass<schemas.$ZodCatch>,
1359
+ innerType: T,
1360
+ catchValue: core.output<T> | ((ctx: schemas.$ZodCatchCtx) => core.output<T>)
1361
+ ): schemas.$ZodCatch<T> {
1362
+ return new Class({
1363
+ type: "catch",
1364
+ innerType,
1365
+ catchValue: (typeof catchValue === "function" ? catchValue : () => catchValue) as any,
1366
+ }) as any;
1367
+ }
1368
+
1369
+ // ZodPipe
1370
+ export type $ZodPipeParams = TypeParams<schemas.$ZodPipe, "in" | "out">;
1371
+ export function _pipe<
1372
+ const A extends schemas.$ZodType,
1373
+ B extends schemas.$ZodType<unknown, core.output<A>> = schemas.$ZodType<unknown, core.output<A>>,
1374
+ >(
1375
+ Class: util.SchemaClass<schemas.$ZodPipe>,
1376
+ in_: A,
1377
+ out: B | schemas.$ZodType<unknown, core.output<A>>
1378
+ ): schemas.$ZodPipe<A, B> {
1379
+ return new Class({
1380
+ type: "pipe",
1381
+ in: in_,
1382
+ out,
1383
+ }) as any;
1384
+ }
1385
+
1386
+ // ZodReadonly
1387
+ export type $ZodReadonlyParams = TypeParams<schemas.$ZodReadonly, "innerType">;
1388
+ export function _readonly<T extends schemas.$ZodObject>(
1389
+ Class: util.SchemaClass<schemas.$ZodReadonly>,
1390
+ innerType: T
1391
+ ): schemas.$ZodReadonly<T> {
1392
+ return new Class({
1393
+ type: "readonly",
1394
+ innerType,
1395
+ }) as any;
1396
+ }
1397
+
1398
+ // ZodTemplateLiteral
1399
+ export type $ZodTemplateLiteralParams = TypeParams<schemas.$ZodTemplateLiteral, "parts">;
1400
+ export function _templateLiteral<const Parts extends schemas.$ZodTemplateLiteralPart[]>(
1401
+ Class: util.SchemaClass<schemas.$ZodTemplateLiteral>,
1402
+ parts: Parts,
1403
+ params?: string | $ZodTemplateLiteralParams
1404
+ ): schemas.$ZodTemplateLiteral<schemas.$PartsToTemplateLiteral<Parts>> {
1405
+ return new Class({
1406
+ type: "template_literal",
1407
+ parts,
1408
+ ...util.normalizeParams(params),
1409
+ }) as any;
1410
+ }
1411
+
1412
+ // ZodLazy
1413
+ export type $ZodLazyParams = TypeParams<schemas.$ZodLazy, "getter">;
1414
+ export function _lazy<T extends schemas.$ZodType>(
1415
+ Class: util.SchemaClass<schemas.$ZodLazy>,
1416
+ getter: () => T
1417
+ ): schemas.$ZodLazy<T> {
1418
+ return new Class({
1419
+ type: "lazy",
1420
+ getter,
1421
+ }) as any;
1422
+ }
1423
+
1424
+ // ZodPromise
1425
+ export type $ZodPromiseParams = TypeParams<schemas.$ZodPromise, "innerType">;
1426
+ export function _promise<T extends schemas.$ZodObject>(
1427
+ Class: util.SchemaClass<schemas.$ZodPromise>,
1428
+ innerType: T
1429
+ ): schemas.$ZodPromise<T> {
1430
+ return new Class({
1431
+ type: "promise",
1432
+ innerType,
1433
+ }) as any;
1434
+ }
1435
+
1436
+ // ZodCustom
1437
+ export type $ZodCustomParams = CheckTypeParams<schemas.$ZodCustom, "fn">;
1438
+ export function _custom<O = unknown, I = O>(
1439
+ Class: util.SchemaClass<schemas.$ZodCustom>,
1440
+ fn: (data: O) => unknown,
1441
+ _params: string | $ZodCustomParams | undefined
1442
+ ): schemas.$ZodCustom<O, I> {
1443
+ const norm = util.normalizeParams(_params);
1444
+ norm.abort ??= true; // default to abort:false
1445
+ const schema = new Class({
1446
+ type: "custom",
1447
+ check: "custom",
1448
+ fn: fn as any,
1449
+ ...norm,
1450
+ });
1451
+
1452
+ return schema as any;
1453
+ }
1454
+
1455
+ // same as _custom but defaults to abort:false
1456
+ export function _refine<O = unknown, I = O>(
1457
+ Class: util.SchemaClass<schemas.$ZodCustom>,
1458
+ fn: (data: O) => unknown,
1459
+ _params: string | $ZodCustomParams | undefined
1460
+ ): schemas.$ZodCustom<O, I> {
1461
+ const schema = new Class({
1462
+ type: "custom",
1463
+ check: "custom",
1464
+ fn: fn as any,
1465
+ ...util.normalizeParams(_params),
1466
+ });
1467
+
1468
+ return schema as any;
1469
+ }
1470
+
1471
+ export type $ZodSuperRefineIssue<T extends errors.$ZodIssueBase = errors.$ZodIssue> = T extends any
1472
+ ? RawIssue<T>
1473
+ : never;
1474
+ type RawIssue<T extends errors.$ZodIssueBase> = T extends any
1475
+ ? util.Flatten<
1476
+ util.MakePartial<T, "message" | "path"> & {
1477
+ /** The schema or check that originated this issue. */
1478
+ readonly inst?: schemas.$ZodType | checks.$ZodCheck;
1479
+ /** If `true`, Zod will execute subsequent checks/refinements instead of immediately aborting */
1480
+ readonly continue?: boolean | undefined;
1481
+ } & Record<string, unknown>
1482
+ >
1483
+ : never;
1484
+
1485
+ export interface $RefinementCtx<T = unknown> extends schemas.ParsePayload<T> {
1486
+ addIssue(arg: string | $ZodSuperRefineIssue): void;
1487
+ }
1488
+
1489
+ export function _superRefine<T>(fn: (arg: T, payload: $RefinementCtx<T>) => void | Promise<void>): checks.$ZodCheck<T> {
1490
+ const ch = _check<T>((payload) => {
1491
+ (payload as $RefinementCtx).addIssue = (issue) => {
1492
+ if (typeof issue === "string") {
1493
+ payload.issues.push(util.issue(issue, payload.value, ch._zod.def));
1494
+ } else {
1495
+ // for Zod 3 backwards compatibility
1496
+ const _issue: any = issue;
1497
+ if (_issue.fatal) _issue.continue = false;
1498
+ _issue.code ??= "custom";
1499
+ _issue.input ??= payload.value;
1500
+ _issue.inst ??= ch;
1501
+ _issue.continue ??= !ch._zod.def.abort; // abort is always undefined, so this is always true...
1502
+ payload.issues.push(util.issue(_issue));
1503
+ }
1504
+ };
1505
+
1506
+ return fn(payload.value, payload as $RefinementCtx<T>);
1507
+ });
1508
+ return ch;
1509
+ }
1510
+
1511
+ export function _check<O = unknown>(fn: schemas.CheckFn<O>, params?: string | $ZodCustomParams): checks.$ZodCheck<O> {
1512
+ const ch = new checks.$ZodCheck({
1513
+ check: "custom",
1514
+ ...util.normalizeParams(params),
1515
+ });
1516
+
1517
+ ch._zod.check = fn;
1518
+ return ch;
1519
+ }
1520
+
1521
+ // export type $ZodCustomParams = CheckTypeParams<schemas.$ZodCustom, "fn">
1522
+
1523
+ ///////// STRINGBOOL /////////
1524
+
1525
+ // stringbool
1526
+ export interface $ZodStringBoolParams extends TypeParams {
1527
+ truthy?: string[];
1528
+ falsy?: string[];
1529
+ /**
1530
+ * Options: `"sensitive"`, `"insensitive"`
1531
+ *
1532
+ * @default `"insensitive"`
1533
+ */
1534
+ case?: "sensitive" | "insensitive" | undefined;
1535
+ }
1536
+
1537
+ export function _stringbool(
1538
+ Classes: {
1539
+ Codec?: typeof schemas.$ZodCodec;
1540
+ Boolean?: typeof schemas.$ZodBoolean;
1541
+ String?: typeof schemas.$ZodString;
1542
+ },
1543
+ _params?: string | $ZodStringBoolParams
1544
+ ): schemas.$ZodCodec<schemas.$ZodString, schemas.$ZodBoolean> {
1545
+ const params = util.normalizeParams(_params);
1546
+
1547
+ let truthyArray = params.truthy ?? ["true", "1", "yes", "on", "y", "enabled"];
1548
+ let falsyArray = params.falsy ?? ["false", "0", "no", "off", "n", "disabled"];
1549
+ if (params.case !== "sensitive") {
1550
+ truthyArray = truthyArray.map((v) => (typeof v === "string" ? v.toLowerCase() : v));
1551
+ falsyArray = falsyArray.map((v) => (typeof v === "string" ? v.toLowerCase() : v));
1552
+ }
1553
+
1554
+ const truthySet = new Set(truthyArray);
1555
+ const falsySet = new Set(falsyArray);
1556
+
1557
+ const _Codec = Classes.Codec ?? schemas.$ZodCodec;
1558
+ const _Boolean = Classes.Boolean ?? schemas.$ZodBoolean;
1559
+ const _String = Classes.String ?? schemas.$ZodString;
1560
+
1561
+ const stringSchema = new _String({ type: "string", error: params.error });
1562
+ const booleanSchema = new _Boolean({ type: "boolean", error: params.error });
1563
+
1564
+ const codec = new _Codec({
1565
+ type: "pipe",
1566
+ in: stringSchema as any,
1567
+ out: booleanSchema as any,
1568
+ transform: ((input: string, payload: schemas.ParsePayload<string>) => {
1569
+ let data: string = input;
1570
+ if (params.case !== "sensitive") data = data.toLowerCase();
1571
+ if (truthySet.has(data)) {
1572
+ return true;
1573
+ } else if (falsySet.has(data)) {
1574
+ return false;
1575
+ } else {
1576
+ payload.issues.push({
1577
+ code: "invalid_value",
1578
+ expected: "stringbool",
1579
+ values: [...truthySet, ...falsySet],
1580
+ input: payload.value,
1581
+ inst: codec,
1582
+ continue: false,
1583
+ });
1584
+ return {} as never;
1585
+ }
1586
+ }) as any,
1587
+ reverseTransform: ((input: boolean, _payload: schemas.ParsePayload<boolean>) => {
1588
+ if (input === true) {
1589
+ return truthyArray[0] || "true";
1590
+ } else {
1591
+ return falsyArray[0] || "false";
1592
+ }
1593
+ }) as any,
1594
+ error: params.error,
1595
+ }) as any;
1596
+
1597
+ return codec;
1598
+ }
1599
+
1600
+ export function _stringFormat<Format extends string>(
1601
+ Class: typeof schemas.$ZodCustomStringFormat,
1602
+ format: Format,
1603
+ fnOrRegex: ((arg: string) => util.MaybeAsync<unknown>) | RegExp,
1604
+ _params: string | $ZodStringFormatParams = {}
1605
+ ): schemas.$ZodCustomStringFormat<Format> {
1606
+ const params = util.normalizeParams(_params);
1607
+ const def: schemas.$ZodCustomStringFormatDef = {
1608
+ ...util.normalizeParams(_params),
1609
+ check: "string_format",
1610
+ type: "string",
1611
+ format,
1612
+ fn: typeof fnOrRegex === "function" ? fnOrRegex : (val) => fnOrRegex.test(val),
1613
+ ...params,
1614
+ };
1615
+ if (fnOrRegex instanceof RegExp) {
1616
+ def.pattern = fnOrRegex;
1617
+ }
1618
+
1619
+ const inst = new Class(def);
1620
+ return inst as any;
1621
+ }