@salesforce/b2c-dx-mcp 2.1.2 → 3.0.1

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 (1439) hide show
  1. package/README.md +20 -129
  2. package/content/guidance/b2c/b2c-business-manager-extensions/SKILL.md +361 -0
  3. package/content/guidance/b2c/b2c-business-manager-extensions/references/EXTENSIONS-XML.md +458 -0
  4. package/content/guidance/b2c/b2c-controllers/SKILL.md +301 -0
  5. package/content/guidance/b2c/b2c-controllers/references/CLASSIC-PATTERNS.md +335 -0
  6. package/content/guidance/b2c/b2c-controllers/references/SFRA-PATTERNS.md +400 -0
  7. package/content/guidance/b2c/b2c-custom-api-development/SKILL.md +281 -0
  8. package/content/guidance/b2c/b2c-custom-api-development/references/CONTRACT.md +142 -0
  9. package/content/guidance/b2c/b2c-custom-api-development/references/IMPLEMENTATION.md +153 -0
  10. package/content/guidance/b2c/b2c-custom-api-development/references/TESTING.md +118 -0
  11. package/content/guidance/b2c/b2c-custom-caches/SKILL.md +279 -0
  12. package/content/guidance/b2c/b2c-custom-job-steps/SKILL.md +520 -0
  13. package/content/guidance/b2c/b2c-custom-job-steps/references/CHUNK-ORIENTED.md +377 -0
  14. package/content/guidance/b2c/b2c-custom-job-steps/references/JOBS-XML.md +212 -0
  15. package/content/guidance/b2c/b2c-custom-job-steps/references/STEPTYPES-JSON.md +373 -0
  16. package/content/guidance/b2c/b2c-custom-job-steps/references/TASK-ORIENTED.md +344 -0
  17. package/content/guidance/b2c/b2c-custom-objects/SKILL.md +327 -0
  18. package/content/guidance/b2c/b2c-custom-objects/references/OCAPI-SEARCH.md +298 -0
  19. package/content/guidance/b2c/b2c-forms/SKILL.md +242 -0
  20. package/content/guidance/b2c/b2c-forms/references/FORM-XML.md +409 -0
  21. package/content/guidance/b2c/b2c-hooks/SKILL.md +500 -0
  22. package/content/guidance/b2c/b2c-hooks/references/OCAPI-SCAPI-HOOKS.md +403 -0
  23. package/content/guidance/b2c/b2c-hooks/references/ORDER-HOOK-LIFECYCLE.md +169 -0
  24. package/content/guidance/b2c/b2c-hooks/references/SYSTEM-HOOKS.md +433 -0
  25. package/content/guidance/b2c/b2c-isml/SKILL.md +320 -0
  26. package/content/guidance/b2c/b2c-isml/references/EXPRESSIONS.md +366 -0
  27. package/content/guidance/b2c/b2c-isml/references/TAGS.md +443 -0
  28. package/content/guidance/b2c/b2c-localization/SKILL.md +344 -0
  29. package/content/guidance/b2c/b2c-localization/references/PATTERNS.md +407 -0
  30. package/content/guidance/b2c/b2c-logging/SKILL.md +352 -0
  31. package/content/guidance/b2c/b2c-logging/references/LOG-FILES.md +282 -0
  32. package/content/guidance/b2c/b2c-metadata/SKILL.md +406 -0
  33. package/content/guidance/b2c/b2c-metadata/references/SYSTEM-OBJECTS.md +320 -0
  34. package/content/guidance/b2c/b2c-metadata/references/XML-EXAMPLES.md +366 -0
  35. package/content/guidance/b2c/b2c-onboarding/SKILL.md +154 -0
  36. package/content/guidance/b2c/b2c-ordering/SKILL.md +391 -0
  37. package/content/guidance/b2c/b2c-page-designer/SKILL.md +410 -0
  38. package/content/guidance/b2c/b2c-page-designer/references/ATTRIBUTE-TYPES.md +436 -0
  39. package/content/guidance/b2c/b2c-page-designer/references/META-DEFINITIONS.md +340 -0
  40. package/content/guidance/b2c/b2c-querying-data/SKILL.md +289 -0
  41. package/content/guidance/b2c/b2c-querying-data/references/PERFORMANCE-APIS.md +74 -0
  42. package/content/guidance/b2c/b2c-scapi-admin/SKILL.md +53 -0
  43. package/content/guidance/b2c/b2c-scapi-admin/references/CLIENT-EXAMPLES.md +440 -0
  44. package/content/guidance/b2c/b2c-scapi-admin/references/INTEGRATION-PATTERNS.md +518 -0
  45. package/content/guidance/b2c/b2c-scapi-admin/references/OAUTH-SCOPES.md +337 -0
  46. package/content/guidance/b2c/b2c-scapi-shopper/SKILL.md +56 -0
  47. package/content/guidance/b2c/b2c-scapi-shopper/references/CHECKOUT-FLOW.md +466 -0
  48. package/content/guidance/b2c/b2c-scapi-shopper/references/CLIENT-EXAMPLES.md +352 -0
  49. package/content/guidance/b2c/b2c-scapi-shopper/references/COMMON-PATTERNS.md +390 -0
  50. package/content/guidance/b2c/b2c-scapi-shopper/references/SCOPES.md +290 -0
  51. package/content/guidance/b2c/b2c-slas-auth-patterns/SKILL.md +420 -0
  52. package/content/guidance/b2c/b2c-slas-auth-patterns/references/PASSKEYS.md +126 -0
  53. package/content/guidance/b2c/b2c-slas-auth-patterns/references/SESSION-BRIDGE.md +267 -0
  54. package/content/guidance/b2c/b2c-slas-auth-patterns/references/TOKEN-LIFECYCLE.md +367 -0
  55. package/content/guidance/b2c/b2c-webservices/SKILL.md +318 -0
  56. package/content/guidance/b2c/b2c-webservices/references/FTP-SERVICES.md +524 -0
  57. package/content/guidance/b2c/b2c-webservices/references/HTTP-SERVICES.md +578 -0
  58. package/content/guidance/b2c/b2c-webservices/references/SERVICES-XML.md +351 -0
  59. package/content/guidance/b2c/b2c-webservices/references/SOAP-SERVICES.md +587 -0
  60. package/content/guidance/b2c-cli/b2c-am/SKILL.md +277 -0
  61. package/content/guidance/b2c-cli/b2c-bm-users-roles/SKILL.md +210 -0
  62. package/content/guidance/b2c-cli/b2c-cap/SKILL.md +131 -0
  63. package/content/guidance/b2c-cli/b2c-cip/SKILL.md +116 -0
  64. package/content/guidance/b2c-cli/b2c-cip/references/KNOWN_TABLES.md +105 -0
  65. package/content/guidance/b2c-cli/b2c-cip/references/SALES_ANALYSIS.md +50 -0
  66. package/content/guidance/b2c-cli/b2c-cip/references/STARTER_QUERIES.md +147 -0
  67. package/content/guidance/b2c-cli/b2c-code/SKILL.md +146 -0
  68. package/content/guidance/b2c-cli/b2c-config/SKILL.md +412 -0
  69. package/content/guidance/b2c-cli/b2c-content/SKILL.md +176 -0
  70. package/content/guidance/b2c-cli/b2c-debug/SKILL.md +138 -0
  71. package/content/guidance/b2c-cli/b2c-docs/SKILL.md +274 -0
  72. package/content/guidance/b2c-cli/b2c-ecdn/SKILL.md +135 -0
  73. package/content/guidance/b2c-cli/b2c-ecdn/references/ADVANCED.md +82 -0
  74. package/content/guidance/b2c-cli/b2c-ecdn/references/SECURITY.md +75 -0
  75. package/content/guidance/b2c-cli/b2c-import-set-migrations/SKILL.md +265 -0
  76. package/content/guidance/b2c-cli/b2c-job/SKILL.md +62 -0
  77. package/content/guidance/b2c-cli/b2c-job/references/EXPORT.md +115 -0
  78. package/content/guidance/b2c-cli/b2c-job/references/IMPORT.md +43 -0
  79. package/content/guidance/b2c-cli/b2c-job/references/RUN-AND-MONITOR.md +119 -0
  80. package/content/guidance/b2c-cli/b2c-logs/SKILL.md +249 -0
  81. package/content/guidance/b2c-cli/b2c-metrics/SKILL.md +315 -0
  82. package/content/guidance/b2c-cli/b2c-mrt/SKILL.md +206 -0
  83. package/content/guidance/b2c-cli/b2c-mrt/references/BUNDLE-COMMANDS.md +185 -0
  84. package/content/guidance/b2c-cli/b2c-mrt/references/ENVIRONMENT-COMMANDS.md +195 -0
  85. package/content/guidance/b2c-cli/b2c-mrt/references/PROJECT-COMMANDS.md +154 -0
  86. package/content/guidance/b2c-cli/b2c-sandbox/SKILL.md +112 -0
  87. package/content/guidance/b2c-cli/b2c-scapi-custom/SKILL.md +126 -0
  88. package/content/guidance/b2c-cli/b2c-scapi-schemas/SKILL.md +64 -0
  89. package/content/guidance/b2c-cli/b2c-scapi-schemas/references/CLI-EXAMPLES.md +108 -0
  90. package/content/guidance/b2c-cli/b2c-site-import-export/SKILL.md +57 -0
  91. package/content/guidance/b2c-cli/b2c-site-import-export/references/IMPORT-OPTIONS.md +118 -0
  92. package/content/guidance/b2c-cli/b2c-site-import-export/references/METADATA-XML.md +381 -0
  93. package/content/guidance/b2c-cli/b2c-site-import-export/references/WORKFLOWS.md +182 -0
  94. package/content/guidance/b2c-cli/b2c-sites/SKILL.md +112 -0
  95. package/content/guidance/b2c-cli/b2c-slas/SKILL.md +182 -0
  96. package/content/guidance/b2c-cli/b2c-webdav/SKILL.md +169 -0
  97. package/content/guidance/b2c-ops/b2c-checkout-triage/SKILL.md +68 -0
  98. package/content/guidance/b2c-ops/b2c-job-health/SKILL.md +75 -0
  99. package/content/guidance/b2c-ops/b2c-job-health/references/job-logs.md +21 -0
  100. package/content/guidance/b2c-ops/b2c-order-failure-triage/SKILL.md +66 -0
  101. package/content/guidance/b2c-ops/b2c-order-failure-triage/references/order-evidence.md +87 -0
  102. package/content/guidance/b2c-ops/b2c-production-triage/SKILL.md +87 -0
  103. package/content/guidance/b2c-ops/b2c-production-triage/references/escalation.md +57 -0
  104. package/content/guidance/index.json +1427 -0
  105. package/content/guidance/mcp/b2c-config/SKILL.md +86 -0
  106. package/content/guidance/mcp/cip/SKILL.md +86 -0
  107. package/content/guidance/mcp/debugger/SKILL.md +71 -0
  108. package/content/guidance/mcp/scapi/SKILL.md +153 -0
  109. package/content/guidance/mcp/scapi/references/custom-apis.md +51 -0
  110. package/content/guidance/mcp/scapi/references/custom-properties.md +43 -0
  111. package/content/guidance/mcp/scapi/references/jobs.md +30 -0
  112. package/content/guidance/mcp/scapi/references/products.md +37 -0
  113. package/content/guidance/mcp/scapi/references/promotions.md +19 -0
  114. package/content/guidance/mcp/scapi/references/saving.md +12 -0
  115. package/content/guidance/mcp/scapi/references/snippets.md +89 -0
  116. package/content/guidance/mcp/scapi/references/tokens.md +56 -0
  117. package/content/guidance/mcp/server/SKILL.md +99 -0
  118. package/content/guidance/mcp/server/references/files.md +37 -0
  119. package/content/guidance/storefront-next/sfnext-authentication/SKILL.md +120 -0
  120. package/content/guidance/storefront-next/sfnext-components/SKILL.md +191 -0
  121. package/content/guidance/storefront-next/sfnext-configuration/SKILL.md +160 -0
  122. package/content/guidance/storefront-next/sfnext-create-component/SKILL.md +195 -0
  123. package/content/guidance/storefront-next/sfnext-create-component/references/COMPONENT-AUTHORING.md +206 -0
  124. package/content/guidance/storefront-next/sfnext-create-component/references/PROJECT-STRUCTURE.md +43 -0
  125. package/content/guidance/storefront-next/sfnext-create-component/references/TOKEN-SYSTEM.md +130 -0
  126. package/content/guidance/storefront-next/sfnext-create-component/references/TROUBLESHOOTING.md +34 -0
  127. package/content/guidance/storefront-next/sfnext-create-vertical/SKILL.md +135 -0
  128. package/content/guidance/storefront-next/sfnext-create-vertical/references/COMPONENT-AUTHORING.md +206 -0
  129. package/content/guidance/storefront-next/sfnext-create-vertical/references/PROJECT-STRUCTURE.md +43 -0
  130. package/content/guidance/storefront-next/sfnext-create-vertical/references/TOKEN-SYSTEM.md +130 -0
  131. package/content/guidance/storefront-next/sfnext-create-vertical/references/TROUBLESHOOTING.md +34 -0
  132. package/content/guidance/storefront-next/sfnext-custom-apis/SKILL.md +221 -0
  133. package/content/guidance/storefront-next/sfnext-custom-apis/references/WORKFLOW-EXAMPLES.md +294 -0
  134. package/content/guidance/storefront-next/sfnext-data-fetching/SKILL.md +190 -0
  135. package/content/guidance/storefront-next/sfnext-data-fetching/references/LOADER-PATTERNS.md +102 -0
  136. package/content/guidance/storefront-next/sfnext-data-fetching/references/SCAPI-FETCHER.md +93 -0
  137. package/content/guidance/storefront-next/sfnext-deployment/SKILL.md +141 -0
  138. package/content/guidance/storefront-next/sfnext-deployment/references/MRT-DEPLOYMENT.md +90 -0
  139. package/content/guidance/storefront-next/sfnext-extensions/SKILL.md +142 -0
  140. package/content/guidance/storefront-next/sfnext-extensions/references/BASE-AUDIT.md +65 -0
  141. package/content/guidance/storefront-next/sfnext-extensions/references/EXTENSION-EXAMPLES.md +116 -0
  142. package/content/guidance/storefront-next/sfnext-hybrid-storefronts/SKILL.md +148 -0
  143. package/content/guidance/storefront-next/sfnext-hybrid-storefronts/references/HYBRID-PROXY-CONFIG.md +123 -0
  144. package/content/guidance/storefront-next/sfnext-i18n/SKILL.md +187 -0
  145. package/content/guidance/storefront-next/sfnext-page-designer/SKILL.md +181 -0
  146. package/content/guidance/storefront-next/sfnext-page-designer/references/COMPONENT-REGISTRY.md +78 -0
  147. package/content/guidance/storefront-next/sfnext-page-designer/references/DECORATOR-PATTERNS.md +180 -0
  148. package/content/guidance/storefront-next/sfnext-performance/SKILL.md +132 -0
  149. package/content/guidance/storefront-next/sfnext-project-setup/SKILL.md +160 -0
  150. package/content/guidance/storefront-next/sfnext-project-setup/references/ENV-VARIABLES.md +82 -0
  151. package/content/guidance/storefront-next/sfnext-project-setup/references/PROJECT-STRUCTURE.md +99 -0
  152. package/content/guidance/storefront-next/sfnext-routing/SKILL.md +180 -0
  153. package/content/guidance/storefront-next/sfnext-routing/references/ROUTE-CONVENTIONS.md +65 -0
  154. package/content/guidance/storefront-next/sfnext-scapi-management/SKILL.md +203 -0
  155. package/content/guidance/storefront-next/sfnext-scapi-management/references/CLI-COMMANDS.md +122 -0
  156. package/content/guidance/storefront-next/sfnext-state-management/SKILL.md +123 -0
  157. package/content/guidance/storefront-next/sfnext-testing/SKILL.md +184 -0
  158. package/content/guidance/storefront-next/sfnext-testing/references/STORYBOOK-PATTERNS.md +118 -0
  159. package/dist/commands/mcp.d.ts +3 -3
  160. package/dist/commands/mcp.js +60 -48
  161. package/dist/guidance.d.ts +6 -0
  162. package/dist/guidance.js +157 -0
  163. package/dist/registry.d.ts +2 -1
  164. package/dist/registry.js +22 -170
  165. package/dist/server.d.ts +19 -5
  166. package/dist/server.js +65 -8
  167. package/dist/skill-references.d.ts +28 -0
  168. package/dist/skill-references.js +14 -0
  169. package/dist/tools/adapter.d.ts +8 -5
  170. package/dist/tools/adapter.js +19 -7
  171. package/dist/tools/cartridges/index.js +38 -15
  172. package/dist/tools/cartridges/selected-files.d.ts +11 -0
  173. package/dist/tools/cartridges/selected-files.js +61 -0
  174. package/dist/tools/cip/client.d.ts +9 -0
  175. package/dist/tools/cip/client.js +44 -0
  176. package/dist/tools/cip/index.d.ts +6 -0
  177. package/dist/tools/cip/index.js +209 -0
  178. package/dist/tools/diagnostics/config-inspect.js +8 -4
  179. package/dist/tools/diagnostics/debug-capture-at-breakpoint.js +37 -11
  180. package/dist/tools/diagnostics/{debug-step.d.ts → debug-control.d.ts} +1 -1
  181. package/dist/tools/diagnostics/debug-control.js +36 -0
  182. package/dist/tools/diagnostics/debug-end-session.js +6 -7
  183. package/dist/tools/diagnostics/debug-evaluate.js +8 -6
  184. package/dist/tools/diagnostics/{debug-continue.d.ts → debug-inspect.d.ts} +1 -1
  185. package/dist/tools/diagnostics/debug-inspect.js +70 -0
  186. package/dist/tools/diagnostics/debug-list-sessions.js +4 -2
  187. package/dist/tools/diagnostics/debug-set-breakpoints.js +16 -15
  188. package/dist/tools/diagnostics/debug-start-session.js +5 -2
  189. package/dist/tools/diagnostics/debug-wait-for-stop.js +5 -2
  190. package/dist/tools/diagnostics/index.d.ts +2 -2
  191. package/dist/tools/diagnostics/index.js +8 -20
  192. package/dist/tools/diagnostics/log-watch-registry.d.ts +1 -1
  193. package/dist/tools/diagnostics/log-watch-registry.js +2 -2
  194. package/dist/tools/diagnostics/logs-get-recent.js +4 -1
  195. package/dist/tools/diagnostics/logs-list-files.js +4 -2
  196. package/dist/tools/diagnostics/logs-watch-poll.js +7 -11
  197. package/dist/tools/diagnostics/{logs-watch-start.d.ts → logs-watch.d.ts} +1 -1
  198. package/dist/tools/diagnostics/{logs-watch-start.js → logs-watch.js} +45 -12
  199. package/dist/tools/diagnostics/mrt-log-watch-registry.js +2 -2
  200. package/dist/tools/diagnostics/mrt-logs-watch-poll.js +6 -8
  201. package/dist/tools/diagnostics/{mrt-logs-watch-start.d.ts → mrt-logs-watch.d.ts} +1 -1
  202. package/dist/tools/diagnostics/{mrt-logs-watch-start.js → mrt-logs-watch.js} +44 -11
  203. package/dist/tools/diagnostics/watch-lifecycle.d.ts +3 -0
  204. package/dist/tools/diagnostics/watch-lifecycle.js +47 -0
  205. package/dist/tools/docs/docs-list.js +12 -8
  206. package/dist/tools/docs/docs-read.js +8 -2
  207. package/dist/tools/docs/docs-schema-list.js +5 -1
  208. package/dist/tools/docs/docs-schema-read.js +5 -1
  209. package/dist/tools/docs/docs-schema-search.js +5 -1
  210. package/dist/tools/docs/docs-search.js +8 -7
  211. package/dist/tools/docs/storefront.d.ts +21 -1
  212. package/dist/tools/docs/storefront.js +25 -0
  213. package/dist/tools/index.d.ts +2 -2
  214. package/dist/tools/index.js +2 -2
  215. package/dist/tools/mrt/index.js +3 -1
  216. package/dist/tools/project-context.d.ts +5 -3
  217. package/dist/tools/project-context.js +1 -1
  218. package/dist/tools/scapi/index.d.ts +1 -1
  219. package/dist/tools/scapi/index.js +2 -2
  220. package/dist/tools/scapi/metrics-get.js +3 -1
  221. package/dist/tools/scapi/scapi-code.d.ts +3 -0
  222. package/dist/tools/scapi/scapi-code.js +237 -0
  223. package/dist/tools/scapi/scapi-custom-apis-get-status.js +3 -1
  224. package/dist/tools/scapi/scapi-schemas-list.js +8 -1
  225. package/dist/tools/webdav/files.d.ts +14 -0
  226. package/dist/tools/webdav/files.js +118 -0
  227. package/dist/tools/webdav/index.d.ts +3 -0
  228. package/dist/tools/webdav/index.js +160 -0
  229. package/dist/utils/constants.d.ts +2 -2
  230. package/dist/utils/constants.js +1 -1
  231. package/dist/utils/index.d.ts +1 -0
  232. package/dist/utils/index.js +1 -0
  233. package/dist/utils/tool-effects.d.ts +4 -0
  234. package/dist/utils/tool-effects.js +15 -0
  235. package/dist/utils/types.d.ts +17 -8
  236. package/dist/utils/types.js +0 -5
  237. package/node_modules/@modelcontextprotocol/core/LICENSE +216 -0
  238. package/node_modules/@modelcontextprotocol/core/README.md +40 -0
  239. package/node_modules/@modelcontextprotocol/core/dist/auth-BWdKR39I.d.mts +8501 -0
  240. package/node_modules/@modelcontextprotocol/core/dist/auth-BWdKR39I.d.mts.map +1 -0
  241. package/node_modules/@modelcontextprotocol/core/dist/auth-CUe6YdwF.mjs +1678 -0
  242. package/node_modules/@modelcontextprotocol/core/dist/auth-CUe6YdwF.mjs.map +1 -0
  243. package/node_modules/@modelcontextprotocol/core/dist/auth-CfDMXiII.cjs +2899 -0
  244. package/node_modules/@modelcontextprotocol/core/dist/auth-CfDMXiII.cjs.map +1 -0
  245. package/node_modules/@modelcontextprotocol/core/dist/auth-hYtaIUZm.d.cts +8501 -0
  246. package/node_modules/@modelcontextprotocol/core/dist/auth-hYtaIUZm.d.cts.map +1 -0
  247. package/node_modules/@modelcontextprotocol/core/dist/index.cjs +175 -0
  248. package/node_modules/@modelcontextprotocol/core/dist/index.d.cts +2 -0
  249. package/node_modules/@modelcontextprotocol/core/dist/index.d.mts +2 -0
  250. package/node_modules/@modelcontextprotocol/core/dist/index.mjs +3 -0
  251. package/node_modules/@modelcontextprotocol/core/dist/internal.cjs +201 -0
  252. package/node_modules/@modelcontextprotocol/core/dist/internal.d.cts +99 -0
  253. package/node_modules/@modelcontextprotocol/core/dist/internal.d.cts.map +1 -0
  254. package/node_modules/@modelcontextprotocol/core/dist/internal.d.mts +99 -0
  255. package/node_modules/@modelcontextprotocol/core/dist/internal.d.mts.map +1 -0
  256. package/node_modules/@modelcontextprotocol/core/dist/internal.mjs +3 -0
  257. package/node_modules/@modelcontextprotocol/core/package.json +85 -0
  258. package/node_modules/@modelcontextprotocol/server/LICENSE +216 -0
  259. package/node_modules/@modelcontextprotocol/server/README.md +30 -0
  260. package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-CEoC__sr.mjs +7514 -0
  261. package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-CEoC__sr.mjs.map +1 -0
  262. package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-CgI-5L6O.d.mts +1071 -0
  263. package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-CgI-5L6O.d.mts.map +1 -0
  264. package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-FOQRM7up.d.cts +1071 -0
  265. package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-FOQRM7up.d.cts.map +1 -0
  266. package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-ZaoO9afR.cjs +7531 -0
  267. package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-ZaoO9afR.cjs.map +1 -0
  268. package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-BwbPzsdI.cjs +986 -0
  269. package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-BwbPzsdI.cjs.map +1 -0
  270. package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-C03CSigr.d.mts +74 -0
  271. package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-C03CSigr.d.mts.map +1 -0
  272. package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-doTkZbTr.d.cts +74 -0
  273. package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-doTkZbTr.d.cts.map +1 -0
  274. package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-p3WaZPqB.mjs +981 -0
  275. package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-p3WaZPqB.mjs.map +1 -0
  276. package/node_modules/@modelcontextprotocol/server/dist/chunk-Bnu9O96Y.cjs +60 -0
  277. package/node_modules/@modelcontextprotocol/server/dist/chunk-Br0eD_fh.mjs +42 -0
  278. package/node_modules/@modelcontextprotocol/server/dist/createMcpHandler-CLhGwQTn.d.mts +4043 -0
  279. package/node_modules/@modelcontextprotocol/server/dist/createMcpHandler-CLhGwQTn.d.mts.map +1 -0
  280. package/node_modules/@modelcontextprotocol/server/dist/createMcpHandler-dBHMsxwf.d.cts +4045 -0
  281. package/node_modules/@modelcontextprotocol/server/dist/createMcpHandler-dBHMsxwf.d.cts.map +1 -0
  282. package/node_modules/@modelcontextprotocol/server/dist/dialects-D8eXzoGv.cjs +46 -0
  283. package/node_modules/@modelcontextprotocol/server/dist/dialects-D8eXzoGv.cjs.map +1 -0
  284. package/node_modules/@modelcontextprotocol/server/dist/dialects-DoSzNhcb.mjs +34 -0
  285. package/node_modules/@modelcontextprotocol/server/dist/dialects-DoSzNhcb.mjs.map +1 -0
  286. package/node_modules/@modelcontextprotocol/server/dist/index.cjs +2055 -0
  287. package/node_modules/@modelcontextprotocol/server/dist/index.cjs.map +1 -0
  288. package/node_modules/@modelcontextprotocol/server/dist/index.d.cts +739 -0
  289. package/node_modules/@modelcontextprotocol/server/dist/index.d.cts.map +1 -0
  290. package/node_modules/@modelcontextprotocol/server/dist/index.d.mts +739 -0
  291. package/node_modules/@modelcontextprotocol/server/dist/index.d.mts.map +1 -0
  292. package/node_modules/@modelcontextprotocol/server/dist/index.mjs +1870 -0
  293. package/node_modules/@modelcontextprotocol/server/dist/index.mjs.map +1 -0
  294. package/node_modules/@modelcontextprotocol/server/dist/mcp-D7GmuPnv.cjs +2022 -0
  295. package/node_modules/@modelcontextprotocol/server/dist/mcp-D7GmuPnv.cjs.map +1 -0
  296. package/node_modules/@modelcontextprotocol/server/dist/mcp-DXXb3Vv3.mjs +1931 -0
  297. package/node_modules/@modelcontextprotocol/server/dist/mcp-DXXb3Vv3.mjs.map +1 -0
  298. package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.cjs +23 -0
  299. package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.cjs.map +1 -0
  300. package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.d.cts +11 -0
  301. package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.d.cts.map +1 -0
  302. package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.d.mts +11 -0
  303. package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.d.mts.map +1 -0
  304. package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.mjs +22 -0
  305. package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.mjs.map +1 -0
  306. package/node_modules/@modelcontextprotocol/server/dist/shimsNode.cjs +12 -0
  307. package/node_modules/@modelcontextprotocol/server/dist/shimsNode.d.cts +3 -0
  308. package/node_modules/@modelcontextprotocol/server/dist/shimsNode.d.mts +3 -0
  309. package/node_modules/@modelcontextprotocol/server/dist/shimsNode.mjs +4 -0
  310. package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.cjs +30 -0
  311. package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.cjs.map +1 -0
  312. package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.d.cts +10 -0
  313. package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.d.cts.map +1 -0
  314. package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.d.mts +10 -0
  315. package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.d.mts.map +1 -0
  316. package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.mjs +29 -0
  317. package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.mjs.map +1 -0
  318. package/node_modules/@modelcontextprotocol/server/dist/src-CX2iR2pK.mjs +7606 -0
  319. package/node_modules/@modelcontextprotocol/server/dist/src-CX2iR2pK.mjs.map +1 -0
  320. package/node_modules/@modelcontextprotocol/server/dist/src-STyD_Vvf.cjs +8104 -0
  321. package/node_modules/@modelcontextprotocol/server/dist/src-STyD_Vvf.cjs.map +1 -0
  322. package/node_modules/@modelcontextprotocol/server/dist/stdio.cjs +564 -0
  323. package/node_modules/@modelcontextprotocol/server/dist/stdio.cjs.map +1 -0
  324. package/node_modules/@modelcontextprotocol/server/dist/stdio.d.cts +107 -0
  325. package/node_modules/@modelcontextprotocol/server/dist/stdio.d.cts.map +1 -0
  326. package/node_modules/@modelcontextprotocol/server/dist/stdio.d.mts +107 -0
  327. package/node_modules/@modelcontextprotocol/server/dist/stdio.d.mts.map +1 -0
  328. package/node_modules/@modelcontextprotocol/server/dist/stdio.mjs +562 -0
  329. package/node_modules/@modelcontextprotocol/server/dist/stdio.mjs.map +1 -0
  330. package/node_modules/@modelcontextprotocol/server/dist/types-DUs7mGBv.d.mts +1099 -0
  331. package/node_modules/@modelcontextprotocol/server/dist/types-DUs7mGBv.d.mts.map +1 -0
  332. package/node_modules/@modelcontextprotocol/server/dist/types-DsbMXNFL.d.cts +1099 -0
  333. package/node_modules/@modelcontextprotocol/server/dist/types-DsbMXNFL.d.cts.map +1 -0
  334. package/node_modules/@modelcontextprotocol/server/dist/validators/ajv.cjs +5 -0
  335. package/node_modules/@modelcontextprotocol/server/dist/validators/ajv.d.cts +2 -0
  336. package/node_modules/@modelcontextprotocol/server/dist/validators/ajv.d.mts +2 -0
  337. package/node_modules/@modelcontextprotocol/server/dist/validators/ajv.mjs +3 -0
  338. package/node_modules/@modelcontextprotocol/server/dist/validators/cfWorker.cjs +3 -0
  339. package/node_modules/@modelcontextprotocol/server/dist/validators/cfWorker.d.cts +2 -0
  340. package/node_modules/@modelcontextprotocol/server/dist/validators/cfWorker.d.mts +2 -0
  341. package/node_modules/@modelcontextprotocol/server/dist/validators/cfWorker.mjs +3 -0
  342. package/node_modules/@modelcontextprotocol/server/package.json +160 -0
  343. package/node_modules/@salesforce/b2c-agent-plugins/CHANGELOG.md +351 -0
  344. package/node_modules/@salesforce/b2c-agent-plugins/README.md +84 -0
  345. package/node_modules/@salesforce/b2c-agent-plugins/b2c/.codex-plugin/plugin.json +40 -0
  346. package/node_modules/@salesforce/b2c-agent-plugins/b2c/README.md +42 -0
  347. package/node_modules/@salesforce/b2c-agent-plugins/b2c/assets/logo.svg +31 -0
  348. package/node_modules/@salesforce/b2c-agent-plugins/b2c/plugin.json +44 -0
  349. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-business-manager-extensions/SKILL.md +361 -0
  350. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-business-manager-extensions/evals/trigger-evals.json +12 -0
  351. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-business-manager-extensions/references/EXTENSIONS-XML.md +458 -0
  352. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-controllers/SKILL.md +301 -0
  353. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-controllers/evals/trigger-evals.json +12 -0
  354. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-controllers/references/CLASSIC-PATTERNS.md +335 -0
  355. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-controllers/references/SFRA-PATTERNS.md +400 -0
  356. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-custom-api-development/SKILL.md +281 -0
  357. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-custom-api-development/evals/trigger-evals.json +12 -0
  358. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-custom-api-development/references/CONTRACT.md +142 -0
  359. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-custom-api-development/references/IMPLEMENTATION.md +153 -0
  360. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-custom-api-development/references/TESTING.md +118 -0
  361. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-custom-caches/SKILL.md +279 -0
  362. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-custom-caches/evals/trigger-evals.json +12 -0
  363. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-custom-job-steps/SKILL.md +520 -0
  364. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-custom-job-steps/evals/trigger-evals.json +12 -0
  365. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-custom-job-steps/references/CHUNK-ORIENTED.md +377 -0
  366. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-custom-job-steps/references/JOBS-XML.md +212 -0
  367. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-custom-job-steps/references/STEPTYPES-JSON.md +373 -0
  368. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-custom-job-steps/references/TASK-ORIENTED.md +344 -0
  369. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-custom-objects/SKILL.md +327 -0
  370. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-custom-objects/evals/trigger-evals.json +12 -0
  371. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-custom-objects/references/OCAPI-SEARCH.md +298 -0
  372. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-forms/SKILL.md +242 -0
  373. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-forms/evals/trigger-evals.json +12 -0
  374. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-forms/references/FORM-XML.md +409 -0
  375. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-hooks/SKILL.md +500 -0
  376. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-hooks/evals/trigger-evals.json +14 -0
  377. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-hooks/references/OCAPI-SCAPI-HOOKS.md +403 -0
  378. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-hooks/references/ORDER-HOOK-LIFECYCLE.md +169 -0
  379. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-hooks/references/SYSTEM-HOOKS.md +433 -0
  380. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-isml/SKILL.md +320 -0
  381. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-isml/evals/trigger-evals.json +12 -0
  382. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-isml/references/EXPRESSIONS.md +366 -0
  383. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-isml/references/TAGS.md +443 -0
  384. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-localization/SKILL.md +344 -0
  385. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-localization/evals/trigger-evals.json +12 -0
  386. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-localization/references/PATTERNS.md +407 -0
  387. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-logging/SKILL.md +352 -0
  388. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-logging/evals/trigger-evals.json +12 -0
  389. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-logging/references/LOG-FILES.md +282 -0
  390. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-metadata/SKILL.md +406 -0
  391. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-metadata/evals/trigger-evals.json +12 -0
  392. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-metadata/references/SYSTEM-OBJECTS.md +320 -0
  393. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-metadata/references/XML-EXAMPLES.md +366 -0
  394. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-onboarding/SKILL.md +154 -0
  395. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-ordering/SKILL.md +391 -0
  396. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-ordering/evals/trigger-evals.json +12 -0
  397. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-page-designer/SKILL.md +410 -0
  398. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-page-designer/evals/trigger-evals.json +12 -0
  399. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-page-designer/references/ATTRIBUTE-TYPES.md +436 -0
  400. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-page-designer/references/META-DEFINITIONS.md +340 -0
  401. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-querying-data/SKILL.md +289 -0
  402. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-querying-data/evals/trigger-evals.json +12 -0
  403. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-querying-data/references/PERFORMANCE-APIS.md +74 -0
  404. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-scapi-admin/SKILL.md +53 -0
  405. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-scapi-admin/evals/trigger-evals.json +12 -0
  406. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-scapi-admin/references/CLIENT-EXAMPLES.md +440 -0
  407. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-scapi-admin/references/INTEGRATION-PATTERNS.md +518 -0
  408. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-scapi-admin/references/OAUTH-SCOPES.md +337 -0
  409. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-scapi-shopper/SKILL.md +56 -0
  410. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-scapi-shopper/evals/trigger-evals.json +12 -0
  411. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-scapi-shopper/references/CHECKOUT-FLOW.md +466 -0
  412. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-scapi-shopper/references/CLIENT-EXAMPLES.md +352 -0
  413. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-scapi-shopper/references/COMMON-PATTERNS.md +390 -0
  414. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-scapi-shopper/references/SCOPES.md +290 -0
  415. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-slas-auth-patterns/SKILL.md +420 -0
  416. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-slas-auth-patterns/evals/trigger-evals.json +12 -0
  417. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-slas-auth-patterns/references/PASSKEYS.md +126 -0
  418. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-slas-auth-patterns/references/SESSION-BRIDGE.md +267 -0
  419. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-slas-auth-patterns/references/TOKEN-LIFECYCLE.md +367 -0
  420. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-webservices/SKILL.md +318 -0
  421. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-webservices/evals/trigger-evals.json +12 -0
  422. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-webservices/references/FTP-SERVICES.md +524 -0
  423. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-webservices/references/HTTP-SERVICES.md +578 -0
  424. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-webservices/references/SERVICES-XML.md +351 -0
  425. package/node_modules/@salesforce/b2c-agent-plugins/b2c/skills/b2c-webservices/references/SOAP-SERVICES.md +587 -0
  426. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/.codex-plugin/plugin.json +40 -0
  427. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/README.md +42 -0
  428. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/assets/logo.svg +31 -0
  429. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/plugin.json +44 -0
  430. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-am/SKILL.md +277 -0
  431. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-am/evals/trigger-evals.json +12 -0
  432. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-bm-users-roles/SKILL.md +210 -0
  433. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-cap/SKILL.md +131 -0
  434. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-cip/SKILL.md +116 -0
  435. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-cip/evals/trigger-evals.json +12 -0
  436. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-cip/references/KNOWN_TABLES.md +105 -0
  437. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-cip/references/SALES_ANALYSIS.md +50 -0
  438. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-cip/references/STARTER_QUERIES.md +147 -0
  439. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-code/SKILL.md +146 -0
  440. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-code/evals/trigger-evals.json +14 -0
  441. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-config/SKILL.md +412 -0
  442. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-config/evals/trigger-evals.json +12 -0
  443. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-content/SKILL.md +176 -0
  444. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-content/evals/trigger-evals.json +12 -0
  445. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-debug/SKILL.md +138 -0
  446. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-debug/evals/trigger-evals.json +16 -0
  447. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-docs/SKILL.md +274 -0
  448. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-docs/evals/trigger-evals.json +12 -0
  449. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-ecdn/SKILL.md +135 -0
  450. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-ecdn/evals/trigger-evals.json +12 -0
  451. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-ecdn/references/ADVANCED.md +82 -0
  452. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-ecdn/references/SECURITY.md +75 -0
  453. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-import-set-migrations/SKILL.md +265 -0
  454. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-import-set-migrations/evals/trigger-evals.json +12 -0
  455. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-job/SKILL.md +62 -0
  456. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-job/evals/trigger-evals.json +12 -0
  457. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-job/references/EXPORT.md +115 -0
  458. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-job/references/IMPORT.md +43 -0
  459. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-job/references/RUN-AND-MONITOR.md +119 -0
  460. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-logs/SKILL.md +249 -0
  461. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-logs/evals/trigger-evals.json +12 -0
  462. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-metrics/SKILL.md +315 -0
  463. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-mrt/SKILL.md +206 -0
  464. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-mrt/evals/trigger-evals.json +12 -0
  465. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-mrt/references/BUNDLE-COMMANDS.md +185 -0
  466. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-mrt/references/ENVIRONMENT-COMMANDS.md +195 -0
  467. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-mrt/references/PROJECT-COMMANDS.md +154 -0
  468. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-sandbox/SKILL.md +112 -0
  469. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-sandbox/evals/trigger-evals.json +12 -0
  470. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-scapi-custom/SKILL.md +126 -0
  471. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-scapi-custom/evals/trigger-evals.json +12 -0
  472. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-scapi-schemas/SKILL.md +64 -0
  473. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-scapi-schemas/evals/trigger-evals.json +12 -0
  474. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-scapi-schemas/references/CLI-EXAMPLES.md +108 -0
  475. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-site-import-export/SKILL.md +57 -0
  476. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-site-import-export/evals/trigger-evals.json +14 -0
  477. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-site-import-export/references/IMPORT-OPTIONS.md +118 -0
  478. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-site-import-export/references/METADATA-XML.md +381 -0
  479. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-site-import-export/references/WORKFLOWS.md +182 -0
  480. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-sites/SKILL.md +112 -0
  481. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-sites/evals/trigger-evals.json +12 -0
  482. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-slas/SKILL.md +182 -0
  483. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-slas/evals/trigger-evals.json +12 -0
  484. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-webdav/SKILL.md +169 -0
  485. package/node_modules/@salesforce/b2c-agent-plugins/b2c-cli/skills/b2c-webdav/evals/trigger-evals.json +12 -0
  486. package/node_modules/@salesforce/b2c-agent-plugins/b2c-experimental/skills/b2c-scaffold/SKILL.md +168 -0
  487. package/node_modules/@salesforce/b2c-agent-plugins/b2c-experimental/skills/b2c-scaffold/evals/trigger-evals.json +12 -0
  488. package/node_modules/@salesforce/b2c-agent-plugins/b2c-ops/.codex-plugin/plugin.json +39 -0
  489. package/node_modules/@salesforce/b2c-agent-plugins/b2c-ops/README.md +31 -0
  490. package/node_modules/@salesforce/b2c-agent-plugins/b2c-ops/assets/logo.svg +31 -0
  491. package/node_modules/@salesforce/b2c-agent-plugins/b2c-ops/plugin.json +43 -0
  492. package/node_modules/@salesforce/b2c-agent-plugins/b2c-ops/skills/b2c-checkout-triage/SKILL.md +68 -0
  493. package/node_modules/@salesforce/b2c-agent-plugins/b2c-ops/skills/b2c-job-health/SKILL.md +75 -0
  494. package/node_modules/@salesforce/b2c-agent-plugins/b2c-ops/skills/b2c-job-health/references/job-logs.md +21 -0
  495. package/node_modules/@salesforce/b2c-agent-plugins/b2c-ops/skills/b2c-order-failure-triage/SKILL.md +66 -0
  496. package/node_modules/@salesforce/b2c-agent-plugins/b2c-ops/skills/b2c-order-failure-triage/references/order-evidence.md +87 -0
  497. package/node_modules/@salesforce/b2c-agent-plugins/b2c-ops/skills/b2c-production-triage/SKILL.md +87 -0
  498. package/node_modules/@salesforce/b2c-agent-plugins/b2c-ops/skills/b2c-production-triage/references/escalation.md +57 -0
  499. package/node_modules/@salesforce/b2c-agent-plugins/eval/README.md +160 -0
  500. package/node_modules/@salesforce/b2c-agent-plugins/eval/eval_lib.py +705 -0
  501. package/node_modules/@salesforce/b2c-agent-plugins/eval/project/CLAUDE.md +10 -0
  502. package/node_modules/@salesforce/b2c-agent-plugins/eval/project/README.md +24 -0
  503. package/node_modules/@salesforce/b2c-agent-plugins/eval/project/cartridges/app_storefront_custom/cartridge/controllers/Loyalty.js +16 -0
  504. package/node_modules/@salesforce/b2c-agent-plugins/eval/project/cartridges/app_storefront_custom/cartridge/models/loyalty.js +13 -0
  505. package/node_modules/@salesforce/b2c-agent-plugins/eval/project/cartridges/app_storefront_custom/cartridge/templates/default/loyalty/dashboard.isml +22 -0
  506. package/node_modules/@salesforce/b2c-agent-plugins/eval/project/dw.json +5 -0
  507. package/node_modules/@salesforce/b2c-agent-plugins/eval/run_eval.py +187 -0
  508. package/node_modules/@salesforce/b2c-agent-plugins/eval/run_loop.py +467 -0
  509. package/node_modules/@salesforce/b2c-agent-plugins/figma-to-sfnext-pagedesigner/.codex-plugin/plugin.json +40 -0
  510. package/node_modules/@salesforce/b2c-agent-plugins/figma-to-sfnext-pagedesigner/README.md +55 -0
  511. package/node_modules/@salesforce/b2c-agent-plugins/figma-to-sfnext-pagedesigner/assets/logo.svg +31 -0
  512. package/node_modules/@salesforce/b2c-agent-plugins/figma-to-sfnext-pagedesigner/plugin.json +44 -0
  513. package/node_modules/@salesforce/b2c-agent-plugins/figma-to-sfnext-pagedesigner/skills/figma-to-sfnext-pagedesigner/SKILL.md +444 -0
  514. package/node_modules/@salesforce/b2c-agent-plugins/figma-to-sfnext-pagedesigner/skills/figma-to-sfnext-pagedesigner/evals/trigger-evals.json +12 -0
  515. package/node_modules/@salesforce/b2c-agent-plugins/figma-to-sfnext-pagedesigner/skills/figma-to-sfnext-pagedesigner/references/PAGE-DESIGNER-SFN.md +120 -0
  516. package/node_modules/@salesforce/b2c-agent-plugins/package.json +6 -0
  517. package/node_modules/@salesforce/b2c-agent-plugins/plugins.json +23 -0
  518. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/.codex-plugin/plugin.json +39 -0
  519. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/README.md +56 -0
  520. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/assets/logo.svg +31 -0
  521. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/plugin.json +43 -0
  522. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-authentication/SKILL.md +120 -0
  523. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-components/SKILL.md +191 -0
  524. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-configuration/SKILL.md +160 -0
  525. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-create-component/SKILL.md +195 -0
  526. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-create-component/evals/trigger-evals.json +12 -0
  527. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-create-component/references/COMPONENT-AUTHORING.md +206 -0
  528. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-create-component/references/PROJECT-STRUCTURE.md +43 -0
  529. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-create-component/references/TOKEN-SYSTEM.md +130 -0
  530. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-create-component/references/TROUBLESHOOTING.md +34 -0
  531. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-create-vertical/SKILL.md +135 -0
  532. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-create-vertical/evals/trigger-evals.json +12 -0
  533. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-create-vertical/references/COMPONENT-AUTHORING.md +206 -0
  534. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-create-vertical/references/PROJECT-STRUCTURE.md +43 -0
  535. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-create-vertical/references/TOKEN-SYSTEM.md +130 -0
  536. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-create-vertical/references/TROUBLESHOOTING.md +34 -0
  537. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-custom-apis/SKILL.md +221 -0
  538. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-custom-apis/evals/trigger-evals.json +12 -0
  539. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-custom-apis/references/WORKFLOW-EXAMPLES.md +294 -0
  540. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-data-fetching/SKILL.md +190 -0
  541. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-data-fetching/references/LOADER-PATTERNS.md +102 -0
  542. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-data-fetching/references/SCAPI-FETCHER.md +93 -0
  543. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-deployment/SKILL.md +141 -0
  544. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-deployment/references/MRT-DEPLOYMENT.md +90 -0
  545. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-extensions/SKILL.md +142 -0
  546. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-extensions/references/BASE-AUDIT.md +65 -0
  547. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-extensions/references/EXTENSION-EXAMPLES.md +116 -0
  548. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-hybrid-storefronts/SKILL.md +148 -0
  549. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-hybrid-storefronts/references/HYBRID-PROXY-CONFIG.md +123 -0
  550. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-i18n/SKILL.md +187 -0
  551. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-page-designer/SKILL.md +181 -0
  552. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-page-designer/references/COMPONENT-REGISTRY.md +78 -0
  553. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-page-designer/references/DECORATOR-PATTERNS.md +180 -0
  554. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-performance/SKILL.md +132 -0
  555. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-project-setup/SKILL.md +160 -0
  556. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-project-setup/references/ENV-VARIABLES.md +82 -0
  557. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-project-setup/references/PROJECT-STRUCTURE.md +99 -0
  558. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-routing/SKILL.md +180 -0
  559. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-routing/references/ROUTE-CONVENTIONS.md +65 -0
  560. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-scapi-management/SKILL.md +203 -0
  561. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-scapi-management/evals/trigger-evals.json +12 -0
  562. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-scapi-management/references/CLI-COMMANDS.md +122 -0
  563. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-state-management/SKILL.md +123 -0
  564. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-testing/SKILL.md +184 -0
  565. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next/skills/sfnext-testing/references/STORYBOOK-PATTERNS.md +118 -0
  566. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next-figma/.codex-plugin/plugin.json +40 -0
  567. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next-figma/README.md +45 -0
  568. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next-figma/assets/logo.svg +31 -0
  569. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next-figma/plugin.json +44 -0
  570. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next-figma/skills/sfnext-create-figma-kit/SKILL.md +133 -0
  571. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next-figma/skills/sfnext-create-figma-kit/evals/trigger-evals.json +12 -0
  572. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next-figma/skills/sfnext-create-figma-kit/references/FIGMA-COMPONENT-EDITING.md +92 -0
  573. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next-figma/skills/sfnext-create-figma-kit/references/PROJECT-STRUCTURE.md +43 -0
  574. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next-figma/skills/sfnext-create-figma-kit/references/TOKEN-SYSTEM.md +130 -0
  575. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next-figma/skills/sfnext-create-figma-kit/references/TROUBLESHOOTING.md +34 -0
  576. package/node_modules/@salesforce/b2c-agent-plugins/storefront-next-figma/skills/sfnext-create-figma-kit/references/VERTICAL-FIGMA-SYNC.md +45 -0
  577. package/node_modules/zod/LICENSE +21 -0
  578. package/node_modules/zod/README.md +218 -0
  579. package/node_modules/zod/compile.cjs +77 -0
  580. package/node_modules/zod/compile.d.cts +1 -0
  581. package/node_modules/zod/compile.d.ts +1 -0
  582. package/node_modules/zod/compile.js +52 -0
  583. package/node_modules/zod/index.cjs +33 -0
  584. package/node_modules/zod/index.d.cts +3 -0
  585. package/node_modules/zod/index.d.ts +3 -0
  586. package/node_modules/zod/index.js +7 -0
  587. package/node_modules/zod/locales/index.cjs +17 -0
  588. package/node_modules/zod/locales/index.d.cts +1 -0
  589. package/node_modules/zod/locales/index.d.ts +1 -0
  590. package/node_modules/zod/locales/index.js +1 -0
  591. package/node_modules/zod/locales/package.json +7 -0
  592. package/node_modules/zod/mini/index.cjs +32 -0
  593. package/node_modules/zod/mini/index.d.cts +3 -0
  594. package/node_modules/zod/mini/index.d.ts +3 -0
  595. package/node_modules/zod/mini/index.js +3 -0
  596. package/node_modules/zod/mini/package.json +7 -0
  597. package/node_modules/zod/package.json +146 -0
  598. package/node_modules/zod/src/compile.ts +56 -0
  599. package/node_modules/zod/src/index.ts +7 -0
  600. package/node_modules/zod/src/locales/index.ts +1 -0
  601. package/node_modules/zod/src/mini/index.ts +3 -0
  602. package/node_modules/zod/src/v3/ZodError.ts +340 -0
  603. package/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
  604. package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
  605. package/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
  606. package/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
  607. package/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
  608. package/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
  609. package/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
  610. package/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
  611. package/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
  612. package/node_modules/zod/src/v3/errors.ts +13 -0
  613. package/node_modules/zod/src/v3/external.ts +6 -0
  614. package/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
  615. package/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
  616. package/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
  617. package/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
  618. package/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
  619. package/node_modules/zod/src/v3/helpers/util.ts +224 -0
  620. package/node_modules/zod/src/v3/index.ts +4 -0
  621. package/node_modules/zod/src/v3/locales/en.ts +124 -0
  622. package/node_modules/zod/src/v3/standard-schema.ts +113 -0
  623. package/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
  624. package/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
  625. package/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
  626. package/node_modules/zod/src/v3/tests/array.test.ts +71 -0
  627. package/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
  628. package/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
  629. package/node_modules/zod/src/v3/tests/base.test.ts +29 -0
  630. package/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
  631. package/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
  632. package/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
  633. package/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
  634. package/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
  635. package/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
  636. package/node_modules/zod/src/v3/tests/date.test.ts +32 -0
  637. package/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
  638. package/node_modules/zod/src/v3/tests/default.test.ts +112 -0
  639. package/node_modules/zod/src/v3/tests/description.test.ts +33 -0
  640. package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
  641. package/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
  642. package/node_modules/zod/src/v3/tests/error.test.ts +586 -0
  643. package/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
  644. package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
  645. package/node_modules/zod/src/v3/tests/function.test.ts +261 -0
  646. package/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
  647. package/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
  648. package/node_modules/zod/src/v3/tests/intersection.test.ts +128 -0
  649. package/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
  650. package/node_modules/zod/src/v3/tests/language-server.test.ts +206 -0
  651. package/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
  652. package/node_modules/zod/src/v3/tests/map.test.ts +110 -0
  653. package/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
  654. package/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
  655. package/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
  656. package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
  657. package/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
  658. package/node_modules/zod/src/v3/tests/number.test.ts +176 -0
  659. package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
  660. package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
  661. package/node_modules/zod/src/v3/tests/object.test.ts +431 -0
  662. package/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
  663. package/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
  664. package/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
  665. package/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
  666. package/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
  667. package/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
  668. package/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
  669. package/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
  670. package/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
  671. package/node_modules/zod/src/v3/tests/readonly.test.ts +114 -0
  672. package/node_modules/zod/src/v3/tests/record.test.ts +171 -0
  673. package/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
  674. package/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
  675. package/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
  676. package/node_modules/zod/src/v3/tests/set.test.ts +142 -0
  677. package/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
  678. package/node_modules/zod/src/v3/tests/string.test.ts +922 -0
  679. package/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
  680. package/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
  681. package/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
  682. package/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
  683. package/node_modules/zod/src/v3/tests/void.test.ts +15 -0
  684. package/node_modules/zod/src/v3/types.ts +5138 -0
  685. package/node_modules/zod/src/v4/classic/checks.ts +33 -0
  686. package/node_modules/zod/src/v4/classic/coerce.ts +27 -0
  687. package/node_modules/zod/src/v4/classic/compat.ts +78 -0
  688. package/node_modules/zod/src/v4/classic/deep-partial.ts +76 -0
  689. package/node_modules/zod/src/v4/classic/errors.ts +97 -0
  690. package/node_modules/zod/src/v4/classic/external.ts +55 -0
  691. package/node_modules/zod/src/v4/classic/from-json-schema.ts +721 -0
  692. package/node_modules/zod/src/v4/classic/in-out.ts +45 -0
  693. package/node_modules/zod/src/v4/classic/index.ts +5 -0
  694. package/node_modules/zod/src/v4/classic/iso.ts +20 -0
  695. package/node_modules/zod/src/v4/classic/parse.ts +88 -0
  696. package/node_modules/zod/src/v4/classic/schemas.ts +2862 -0
  697. package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
  698. package/node_modules/zod/src/v4/classic/tests/apply.test.ts +86 -0
  699. package/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
  700. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +351 -0
  701. package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
  702. package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
  703. package/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
  704. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +83 -0
  705. package/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
  706. package/node_modules/zod/src/v4/classic/tests/catch.test.ts +604 -0
  707. package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
  708. package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +572 -0
  709. package/node_modules/zod/src/v4/classic/tests/codec.test.ts +704 -0
  710. package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
  711. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
  712. package/node_modules/zod/src/v4/classic/tests/credit-card.test.ts +76 -0
  713. package/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
  714. package/node_modules/zod/src/v4/classic/tests/cyclic-data.test.ts +720 -0
  715. package/node_modules/zod/src/v4/classic/tests/date.test.ts +92 -0
  716. package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +316 -0
  717. package/node_modules/zod/src/v4/classic/tests/deep-partial.test.ts +380 -0
  718. package/node_modules/zod/src/v4/classic/tests/default-locale.test.ts +32 -0
  719. package/node_modules/zod/src/v4/classic/tests/default.test.ts +455 -0
  720. package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
  721. package/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
  722. package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +221 -0
  723. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +836 -0
  724. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +296 -0
  725. package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +917 -0
  726. package/node_modules/zod/src/v4/classic/tests/error.test.ts +979 -0
  727. package/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
  728. package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
  729. package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
  730. package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +1310 -0
  731. package/node_modules/zod/src/v4/classic/tests/function.test.ts +391 -0
  732. package/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
  733. package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +32 -0
  734. package/node_modules/zod/src/v4/classic/tests/hash.test.ts +67 -0
  735. package/node_modules/zod/src/v4/classic/tests/in-out.test.ts +159 -0
  736. package/node_modules/zod/src/v4/classic/tests/index.test.ts +958 -0
  737. package/node_modules/zod/src/v4/classic/tests/instance-footprint.test.ts +281 -0
  738. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +107 -0
  739. package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +334 -0
  740. package/node_modules/zod/src/v4/classic/tests/issue-schema.test.ts +183 -0
  741. package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +39 -0
  742. package/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
  743. package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +262 -0
  744. package/node_modules/zod/src/v4/classic/tests/literal.test.ts +128 -0
  745. package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +29 -0
  746. package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +24 -0
  747. package/node_modules/zod/src/v4/classic/tests/map.test.ts +342 -0
  748. package/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
  749. package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
  750. package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
  751. package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
  752. package/node_modules/zod/src/v4/classic/tests/number.test.ts +362 -0
  753. package/node_modules/zod/src/v4/classic/tests/object.test.ts +950 -0
  754. package/node_modules/zod/src/v4/classic/tests/optin-ladder.test.ts +234 -0
  755. package/node_modules/zod/src/v4/classic/tests/optional.test.ts +366 -0
  756. package/node_modules/zod/src/v4/classic/tests/partial.test.ts +497 -0
  757. package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
  758. package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
  759. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +74 -0
  760. package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +44 -0
  761. package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +351 -0
  762. package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
  763. package/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
  764. package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
  765. package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +184 -0
  766. package/node_modules/zod/src/v4/classic/tests/record.test.ts +885 -0
  767. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +662 -0
  768. package/node_modules/zod/src/v4/classic/tests/redos.test.ts +68 -0
  769. package/node_modules/zod/src/v4/classic/tests/refine.test.ts +693 -0
  770. package/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
  771. package/node_modules/zod/src/v4/classic/tests/set.test.ts +190 -0
  772. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +134 -0
  773. package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
  774. package/node_modules/zod/src/v4/classic/tests/string.test.ts +1346 -0
  775. package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +124 -0
  776. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +780 -0
  777. package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
  778. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +4537 -0
  779. package/node_modules/zod/src/v4/classic/tests/transform.test.ts +378 -0
  780. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +511 -0
  781. package/node_modules/zod/src/v4/classic/tests/union.test.ts +310 -0
  782. package/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
  783. package/node_modules/zod/src/v4/classic/tests/validate.test.ts +76 -0
  784. package/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
  785. package/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
  786. package/node_modules/zod/src/v4/core/api.ts +1859 -0
  787. package/node_modules/zod/src/v4/core/checks.ts +1306 -0
  788. package/node_modules/zod/src/v4/core/compile.ts +2188 -0
  789. package/node_modules/zod/src/v4/core/core.ts +232 -0
  790. package/node_modules/zod/src/v4/core/doc.ts +48 -0
  791. package/node_modules/zod/src/v4/core/errors.ts +546 -0
  792. package/node_modules/zod/src/v4/core/index.ts +19 -0
  793. package/node_modules/zod/src/v4/core/json-schema-generator.ts +131 -0
  794. package/node_modules/zod/src/v4/core/json-schema-processors.ts +830 -0
  795. package/node_modules/zod/src/v4/core/json-schema.ts +148 -0
  796. package/node_modules/zod/src/v4/core/memoizer.ts +284 -0
  797. package/node_modules/zod/src/v4/core/parse.ts +288 -0
  798. package/node_modules/zod/src/v4/core/regexes.ts +207 -0
  799. package/node_modules/zod/src/v4/core/registries.ts +105 -0
  800. package/node_modules/zod/src/v4/core/schemas.ts +5028 -0
  801. package/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
  802. package/node_modules/zod/src/v4/core/tests/compile-differential.test.ts +969 -0
  803. package/node_modules/zod/src/v4/core/tests/compile-global.test.ts +89 -0
  804. package/node_modules/zod/src/v4/core/tests/compile-off-by-default.test.ts +26 -0
  805. package/node_modules/zod/src/v4/core/tests/compile-stats.test.ts +34 -0
  806. package/node_modules/zod/src/v4/core/tests/compile.test.ts +1639 -0
  807. package/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
  808. package/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
  809. package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
  810. package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +214 -0
  811. package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
  812. package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +180 -0
  813. package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +72 -0
  814. package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
  815. package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +163 -0
  816. package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
  817. package/node_modules/zod/src/v4/core/tests/locales/parity.test.ts +42 -0
  818. package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
  819. package/node_modules/zod/src/v4/core/tests/locales/tk.test.ts +69 -0
  820. package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
  821. package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +105 -0
  822. package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +125 -0
  823. package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
  824. package/node_modules/zod/src/v4/core/tests/treeshake.test.ts +51 -0
  825. package/node_modules/zod/src/v4/core/tests/url-no-canparse.test.ts +31 -0
  826. package/node_modules/zod/src/v4/core/to-json-schema.ts +855 -0
  827. package/node_modules/zod/src/v4/core/util.ts +1209 -0
  828. package/node_modules/zod/src/v4/core/versions.ts +5 -0
  829. package/node_modules/zod/src/v4/core/visit.ts +193 -0
  830. package/node_modules/zod/src/v4/core/zsf.ts +323 -0
  831. package/node_modules/zod/src/v4/index.ts +4 -0
  832. package/node_modules/zod/src/v4/locales/ar.ts +118 -0
  833. package/node_modules/zod/src/v4/locales/az.ts +114 -0
  834. package/node_modules/zod/src/v4/locales/be.ts +186 -0
  835. package/node_modules/zod/src/v4/locales/bg.ts +131 -0
  836. package/node_modules/zod/src/v4/locales/bn.ts +121 -0
  837. package/node_modules/zod/src/v4/locales/ca.ts +119 -0
  838. package/node_modules/zod/src/v4/locales/ckb.ts +138 -0
  839. package/node_modules/zod/src/v4/locales/cs.ts +121 -0
  840. package/node_modules/zod/src/v4/locales/da.ts +126 -0
  841. package/node_modules/zod/src/v4/locales/de.ts +119 -0
  842. package/node_modules/zod/src/v4/locales/el.ts +122 -0
  843. package/node_modules/zod/src/v4/locales/en.ts +134 -0
  844. package/node_modules/zod/src/v4/locales/eo.ts +121 -0
  845. package/node_modules/zod/src/v4/locales/es.ts +143 -0
  846. package/node_modules/zod/src/v4/locales/fa.ts +129 -0
  847. package/node_modules/zod/src/v4/locales/fi.ts +124 -0
  848. package/node_modules/zod/src/v4/locales/fr-CA.ts +119 -0
  849. package/node_modules/zod/src/v4/locales/fr.ts +137 -0
  850. package/node_modules/zod/src/v4/locales/gu.ts +121 -0
  851. package/node_modules/zod/src/v4/locales/he.ts +251 -0
  852. package/node_modules/zod/src/v4/locales/hi.ts +124 -0
  853. package/node_modules/zod/src/v4/locales/hr.ts +133 -0
  854. package/node_modules/zod/src/v4/locales/hu.ts +120 -0
  855. package/node_modules/zod/src/v4/locales/hy.ts +173 -0
  856. package/node_modules/zod/src/v4/locales/id.ts +118 -0
  857. package/node_modules/zod/src/v4/locales/index.ts +62 -0
  858. package/node_modules/zod/src/v4/locales/is.ts +122 -0
  859. package/node_modules/zod/src/v4/locales/it.ts +119 -0
  860. package/node_modules/zod/src/v4/locales/ja.ts +117 -0
  861. package/node_modules/zod/src/v4/locales/ka.ts +126 -0
  862. package/node_modules/zod/src/v4/locales/kh.ts +7 -0
  863. package/node_modules/zod/src/v4/locales/km.ts +122 -0
  864. package/node_modules/zod/src/v4/locales/kn.ts +124 -0
  865. package/node_modules/zod/src/v4/locales/ko.ts +124 -0
  866. package/node_modules/zod/src/v4/locales/lt.ts +241 -0
  867. package/node_modules/zod/src/v4/locales/mk.ts +121 -0
  868. package/node_modules/zod/src/v4/locales/ms.ts +118 -0
  869. package/node_modules/zod/src/v4/locales/ne.ts +126 -0
  870. package/node_modules/zod/src/v4/locales/nl.ts +124 -0
  871. package/node_modules/zod/src/v4/locales/nn.ts +119 -0
  872. package/node_modules/zod/src/v4/locales/no.ts +119 -0
  873. package/node_modules/zod/src/v4/locales/ota.ts +120 -0
  874. package/node_modules/zod/src/v4/locales/pl.ts +121 -0
  875. package/node_modules/zod/src/v4/locales/ps.ts +129 -0
  876. package/node_modules/zod/src/v4/locales/pt-BR.ts +159 -0
  877. package/node_modules/zod/src/v4/locales/pt.ts +157 -0
  878. package/node_modules/zod/src/v4/locales/ro.ts +130 -0
  879. package/node_modules/zod/src/v4/locales/ru.ts +186 -0
  880. package/node_modules/zod/src/v4/locales/sk.ts +121 -0
  881. package/node_modules/zod/src/v4/locales/sl.ts +121 -0
  882. package/node_modules/zod/src/v4/locales/sv.ts +122 -0
  883. package/node_modules/zod/src/v4/locales/ta.ts +121 -0
  884. package/node_modules/zod/src/v4/locales/th.ts +122 -0
  885. package/node_modules/zod/src/v4/locales/tk.ts +111 -0
  886. package/node_modules/zod/src/v4/locales/tr.ts +114 -0
  887. package/node_modules/zod/src/v4/locales/ua.ts +7 -0
  888. package/node_modules/zod/src/v4/locales/uk.ts +120 -0
  889. package/node_modules/zod/src/v4/locales/ur.ts +122 -0
  890. package/node_modules/zod/src/v4/locales/uz.ts +118 -0
  891. package/node_modules/zod/src/v4/locales/vi.ts +120 -0
  892. package/node_modules/zod/src/v4/locales/yo.ts +127 -0
  893. package/node_modules/zod/src/v4/locales/zh-CN.ts +119 -0
  894. package/node_modules/zod/src/v4/locales/zh-TW.ts +118 -0
  895. package/node_modules/zod/src/v4/mini/checks.ts +33 -0
  896. package/node_modules/zod/src/v4/mini/coerce.ts +27 -0
  897. package/node_modules/zod/src/v4/mini/deep-partial.ts +73 -0
  898. package/node_modules/zod/src/v4/mini/external.ts +50 -0
  899. package/node_modules/zod/src/v4/mini/in-out.ts +45 -0
  900. package/node_modules/zod/src/v4/mini/index.ts +3 -0
  901. package/node_modules/zod/src/v4/mini/iso.ts +66 -0
  902. package/node_modules/zod/src/v4/mini/parse.ts +16 -0
  903. package/node_modules/zod/src/v4/mini/schemas.ts +2026 -0
  904. package/node_modules/zod/src/v4/mini/tests/apply.test.ts +57 -0
  905. package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +190 -0
  906. package/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
  907. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +158 -0
  908. package/node_modules/zod/src/v4/mini/tests/codec.test.ts +582 -0
  909. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
  910. package/node_modules/zod/src/v4/mini/tests/cyclic-data.test.ts +84 -0
  911. package/node_modules/zod/src/v4/mini/tests/deep-partial.test.ts +54 -0
  912. package/node_modules/zod/src/v4/mini/tests/error.test.ts +41 -0
  913. package/node_modules/zod/src/v4/mini/tests/functions.test.ts +14 -0
  914. package/node_modules/zod/src/v4/mini/tests/index.test.ts +1060 -0
  915. package/node_modules/zod/src/v4/mini/tests/number.test.ts +109 -0
  916. package/node_modules/zod/src/v4/mini/tests/object.test.ts +292 -0
  917. package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
  918. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +325 -0
  919. package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
  920. package/node_modules/zod/src/v4/mini/tests/string.test.ts +373 -0
  921. package/node_modules/zod/src/v4-mini/index.ts +3 -0
  922. package/node_modules/zod/v3/ZodError.cjs +148 -0
  923. package/node_modules/zod/v3/ZodError.d.cts +164 -0
  924. package/node_modules/zod/v3/ZodError.d.ts +164 -0
  925. package/node_modules/zod/v3/ZodError.js +143 -0
  926. package/node_modules/zod/v3/errors.cjs +17 -0
  927. package/node_modules/zod/v3/errors.d.cts +5 -0
  928. package/node_modules/zod/v3/errors.d.ts +5 -0
  929. package/node_modules/zod/v3/errors.js +9 -0
  930. package/node_modules/zod/v3/external.cjs +22 -0
  931. package/node_modules/zod/v3/external.d.cts +6 -0
  932. package/node_modules/zod/v3/external.d.ts +6 -0
  933. package/node_modules/zod/v3/external.js +6 -0
  934. package/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
  935. package/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
  936. package/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
  937. package/node_modules/zod/v3/helpers/enumUtil.js +1 -0
  938. package/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
  939. package/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
  940. package/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
  941. package/node_modules/zod/v3/helpers/errorUtil.js +6 -0
  942. package/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
  943. package/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
  944. package/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
  945. package/node_modules/zod/v3/helpers/parseUtil.js +109 -0
  946. package/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
  947. package/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
  948. package/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
  949. package/node_modules/zod/v3/helpers/partialUtil.js +1 -0
  950. package/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
  951. package/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
  952. package/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
  953. package/node_modules/zod/v3/helpers/typeAliases.js +1 -0
  954. package/node_modules/zod/v3/helpers/util.cjs +137 -0
  955. package/node_modules/zod/v3/helpers/util.d.cts +85 -0
  956. package/node_modules/zod/v3/helpers/util.d.ts +85 -0
  957. package/node_modules/zod/v3/helpers/util.js +133 -0
  958. package/node_modules/zod/v3/index.cjs +33 -0
  959. package/node_modules/zod/v3/index.d.cts +4 -0
  960. package/node_modules/zod/v3/index.d.ts +4 -0
  961. package/node_modules/zod/v3/index.js +4 -0
  962. package/node_modules/zod/v3/locales/en.cjs +112 -0
  963. package/node_modules/zod/v3/locales/en.d.cts +3 -0
  964. package/node_modules/zod/v3/locales/en.d.ts +3 -0
  965. package/node_modules/zod/v3/locales/en.js +109 -0
  966. package/node_modules/zod/v3/package.json +7 -0
  967. package/node_modules/zod/v3/standard-schema.cjs +2 -0
  968. package/node_modules/zod/v3/standard-schema.d.cts +102 -0
  969. package/node_modules/zod/v3/standard-schema.d.ts +102 -0
  970. package/node_modules/zod/v3/standard-schema.js +1 -0
  971. package/node_modules/zod/v3/types.cjs +3779 -0
  972. package/node_modules/zod/v3/types.d.cts +1034 -0
  973. package/node_modules/zod/v3/types.d.ts +1034 -0
  974. package/node_modules/zod/v3/types.js +3697 -0
  975. package/node_modules/zod/v4/classic/checks.cjs +34 -0
  976. package/node_modules/zod/v4/classic/checks.d.cts +1 -0
  977. package/node_modules/zod/v4/classic/checks.d.ts +1 -0
  978. package/node_modules/zod/v4/classic/checks.js +1 -0
  979. package/node_modules/zod/v4/classic/coerce.cjs +47 -0
  980. package/node_modules/zod/v4/classic/coerce.d.cts +17 -0
  981. package/node_modules/zod/v4/classic/coerce.d.ts +17 -0
  982. package/node_modules/zod/v4/classic/coerce.js +17 -0
  983. package/node_modules/zod/v4/classic/compat.cjs +61 -0
  984. package/node_modules/zod/v4/classic/compat.d.cts +48 -0
  985. package/node_modules/zod/v4/classic/compat.d.ts +48 -0
  986. package/node_modules/zod/v4/classic/compat.js +31 -0
  987. package/node_modules/zod/v4/classic/deep-partial.cjs +39 -0
  988. package/node_modules/zod/v4/classic/deep-partial.d.cts +14 -0
  989. package/node_modules/zod/v4/classic/deep-partial.d.ts +14 -0
  990. package/node_modules/zod/v4/classic/deep-partial.js +13 -0
  991. package/node_modules/zod/v4/classic/errors.cjs +83 -0
  992. package/node_modules/zod/v4/classic/errors.d.cts +29 -0
  993. package/node_modules/zod/v4/classic/errors.d.ts +29 -0
  994. package/node_modules/zod/v4/classic/errors.js +57 -0
  995. package/node_modules/zod/v4/classic/external.cjs +76 -0
  996. package/node_modules/zod/v4/classic/external.d.cts +19 -0
  997. package/node_modules/zod/v4/classic/external.d.ts +19 -0
  998. package/node_modules/zod/v4/classic/external.js +17 -0
  999. package/node_modules/zod/v4/classic/from-json-schema.cjs +686 -0
  1000. package/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
  1001. package/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
  1002. package/node_modules/zod/v4/classic/from-json-schema.js +660 -0
  1003. package/node_modules/zod/v4/classic/in-out.cjs +63 -0
  1004. package/node_modules/zod/v4/classic/in-out.d.cts +8 -0
  1005. package/node_modules/zod/v4/classic/in-out.d.ts +8 -0
  1006. package/node_modules/zod/v4/classic/in-out.js +36 -0
  1007. package/node_modules/zod/v4/classic/index.cjs +33 -0
  1008. package/node_modules/zod/v4/classic/index.d.cts +3 -0
  1009. package/node_modules/zod/v4/classic/index.d.ts +3 -0
  1010. package/node_modules/zod/v4/classic/index.js +4 -0
  1011. package/node_modules/zod/v4/classic/iso.cjs +49 -0
  1012. package/node_modules/zod/v4/classic/iso.d.cts +7 -0
  1013. package/node_modules/zod/v4/classic/iso.d.ts +7 -0
  1014. package/node_modules/zod/v4/classic/iso.js +15 -0
  1015. package/node_modules/zod/v4/classic/package.json +7 -0
  1016. package/node_modules/zod/v4/classic/parse.cjs +44 -0
  1017. package/node_modules/zod/v4/classic/parse.d.cts +44 -0
  1018. package/node_modules/zod/v4/classic/parse.d.ts +44 -0
  1019. package/node_modules/zod/v4/classic/parse.js +16 -0
  1020. package/node_modules/zod/v4/classic/schemas.cjs +1611 -0
  1021. package/node_modules/zod/v4/classic/schemas.d.cts +802 -0
  1022. package/node_modules/zod/v4/classic/schemas.d.ts +802 -0
  1023. package/node_modules/zod/v4/classic/schemas.js +1491 -0
  1024. package/node_modules/zod/v4/core/api.cjs +1246 -0
  1025. package/node_modules/zod/v4/core/api.d.cts +329 -0
  1026. package/node_modules/zod/v4/core/api.d.ts +329 -0
  1027. package/node_modules/zod/v4/core/api.js +1104 -0
  1028. package/node_modules/zod/v4/core/checks.cjs +607 -0
  1029. package/node_modules/zod/v4/core/checks.d.cts +278 -0
  1030. package/node_modules/zod/v4/core/checks.d.ts +278 -0
  1031. package/node_modules/zod/v4/core/checks.js +581 -0
  1032. package/node_modules/zod/v4/core/compile.cjs +1813 -0
  1033. package/node_modules/zod/v4/core/compile.d.cts +51 -0
  1034. package/node_modules/zod/v4/core/compile.d.ts +51 -0
  1035. package/node_modules/zod/v4/core/compile.js +1783 -0
  1036. package/node_modules/zod/v4/core/core.cjs +148 -0
  1037. package/node_modules/zod/v4/core/core.d.cts +82 -0
  1038. package/node_modules/zod/v4/core/core.d.ts +82 -0
  1039. package/node_modules/zod/v4/core/core.js +141 -0
  1040. package/node_modules/zod/v4/core/doc.cjs +37 -0
  1041. package/node_modules/zod/v4/core/doc.d.cts +16 -0
  1042. package/node_modules/zod/v4/core/doc.d.ts +16 -0
  1043. package/node_modules/zod/v4/core/doc.js +33 -0
  1044. package/node_modules/zod/v4/core/errors.cjs +301 -0
  1045. package/node_modules/zod/v4/core/errors.d.cts +225 -0
  1046. package/node_modules/zod/v4/core/errors.d.ts +225 -0
  1047. package/node_modules/zod/v4/core/errors.js +270 -0
  1048. package/node_modules/zod/v4/core/index.cjs +51 -0
  1049. package/node_modules/zod/v4/core/index.d.cts +19 -0
  1050. package/node_modules/zod/v4/core/index.d.ts +19 -0
  1051. package/node_modules/zod/v4/core/index.js +19 -0
  1052. package/node_modules/zod/v4/core/json-schema-generator.cjs +103 -0
  1053. package/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
  1054. package/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
  1055. package/node_modules/zod/v4/core/json-schema-generator.js +99 -0
  1056. package/node_modules/zod/v4/core/json-schema-processors.cjs +813 -0
  1057. package/node_modules/zod/v4/core/json-schema-processors.d.cts +49 -0
  1058. package/node_modules/zod/v4/core/json-schema-processors.d.ts +49 -0
  1059. package/node_modules/zod/v4/core/json-schema-processors.js +747 -0
  1060. package/node_modules/zod/v4/core/json-schema.cjs +2 -0
  1061. package/node_modules/zod/v4/core/json-schema.d.cts +89 -0
  1062. package/node_modules/zod/v4/core/json-schema.d.ts +89 -0
  1063. package/node_modules/zod/v4/core/json-schema.js +1 -0
  1064. package/node_modules/zod/v4/core/memoizer.cjs +272 -0
  1065. package/node_modules/zod/v4/core/memoizer.d.cts +15 -0
  1066. package/node_modules/zod/v4/core/memoizer.d.ts +15 -0
  1067. package/node_modules/zod/v4/core/memoizer.js +265 -0
  1068. package/node_modules/zod/v4/core/package.json +7 -0
  1069. package/node_modules/zod/v4/core/parse.cjs +193 -0
  1070. package/node_modules/zod/v4/core/parse.d.cts +52 -0
  1071. package/node_modules/zod/v4/core/parse.d.ts +52 -0
  1072. package/node_modules/zod/v4/core/parse.js +154 -0
  1073. package/node_modules/zod/v4/core/regexes.cjs +184 -0
  1074. package/node_modules/zod/v4/core/regexes.d.cts +87 -0
  1075. package/node_modules/zod/v4/core/regexes.d.ts +87 -0
  1076. package/node_modules/zod/v4/core/regexes.js +150 -0
  1077. package/node_modules/zod/v4/core/registries.cjs +56 -0
  1078. package/node_modules/zod/v4/core/registries.d.cts +35 -0
  1079. package/node_modules/zod/v4/core/registries.d.ts +35 -0
  1080. package/node_modules/zod/v4/core/registries.js +51 -0
  1081. package/node_modules/zod/v4/core/schemas.cjs +2481 -0
  1082. package/node_modules/zod/v4/core/schemas.d.cts +1253 -0
  1083. package/node_modules/zod/v4/core/schemas.d.ts +1253 -0
  1084. package/node_modules/zod/v4/core/schemas.js +2440 -0
  1085. package/node_modules/zod/v4/core/standard-schema.cjs +2 -0
  1086. package/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
  1087. package/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
  1088. package/node_modules/zod/v4/core/standard-schema.js +1 -0
  1089. package/node_modules/zod/v4/core/to-json-schema.cjs +660 -0
  1090. package/node_modules/zod/v4/core/to-json-schema.d.cts +153 -0
  1091. package/node_modules/zod/v4/core/to-json-schema.d.ts +153 -0
  1092. package/node_modules/zod/v4/core/to-json-schema.js +650 -0
  1093. package/node_modules/zod/v4/core/util.cjs +915 -0
  1094. package/node_modules/zod/v4/core/util.d.cts +257 -0
  1095. package/node_modules/zod/v4/core/util.d.ts +257 -0
  1096. package/node_modules/zod/v4/core/util.js +846 -0
  1097. package/node_modules/zod/v4/core/versions.cjs +8 -0
  1098. package/node_modules/zod/v4/core/versions.d.cts +5 -0
  1099. package/node_modules/zod/v4/core/versions.d.ts +5 -0
  1100. package/node_modules/zod/v4/core/versions.js +5 -0
  1101. package/node_modules/zod/v4/core/visit.cjs +195 -0
  1102. package/node_modules/zod/v4/core/visit.d.cts +30 -0
  1103. package/node_modules/zod/v4/core/visit.d.ts +30 -0
  1104. package/node_modules/zod/v4/core/visit.js +169 -0
  1105. package/node_modules/zod/v4/index.cjs +32 -0
  1106. package/node_modules/zod/v4/index.d.cts +3 -0
  1107. package/node_modules/zod/v4/index.d.ts +3 -0
  1108. package/node_modules/zod/v4/index.js +4 -0
  1109. package/node_modules/zod/v4/locales/ar.cjs +136 -0
  1110. package/node_modules/zod/v4/locales/ar.d.cts +5 -0
  1111. package/node_modules/zod/v4/locales/ar.d.ts +4 -0
  1112. package/node_modules/zod/v4/locales/ar.js +109 -0
  1113. package/node_modules/zod/v4/locales/az.cjs +135 -0
  1114. package/node_modules/zod/v4/locales/az.d.cts +5 -0
  1115. package/node_modules/zod/v4/locales/az.d.ts +4 -0
  1116. package/node_modules/zod/v4/locales/az.js +108 -0
  1117. package/node_modules/zod/v4/locales/be.cjs +193 -0
  1118. package/node_modules/zod/v4/locales/be.d.cts +5 -0
  1119. package/node_modules/zod/v4/locales/be.d.ts +4 -0
  1120. package/node_modules/zod/v4/locales/be.js +166 -0
  1121. package/node_modules/zod/v4/locales/bg.cjs +150 -0
  1122. package/node_modules/zod/v4/locales/bg.d.cts +5 -0
  1123. package/node_modules/zod/v4/locales/bg.d.ts +4 -0
  1124. package/node_modules/zod/v4/locales/bg.js +123 -0
  1125. package/node_modules/zod/v4/locales/bn.cjs +138 -0
  1126. package/node_modules/zod/v4/locales/bn.d.cts +5 -0
  1127. package/node_modules/zod/v4/locales/bn.d.ts +4 -0
  1128. package/node_modules/zod/v4/locales/bn.js +111 -0
  1129. package/node_modules/zod/v4/locales/ca.cjs +137 -0
  1130. package/node_modules/zod/v4/locales/ca.d.cts +5 -0
  1131. package/node_modules/zod/v4/locales/ca.d.ts +4 -0
  1132. package/node_modules/zod/v4/locales/ca.js +110 -0
  1133. package/node_modules/zod/v4/locales/ckb.cjs +158 -0
  1134. package/node_modules/zod/v4/locales/ckb.d.cts +5 -0
  1135. package/node_modules/zod/v4/locales/ckb.d.ts +4 -0
  1136. package/node_modules/zod/v4/locales/ckb.js +131 -0
  1137. package/node_modules/zod/v4/locales/cs.cjs +141 -0
  1138. package/node_modules/zod/v4/locales/cs.d.cts +5 -0
  1139. package/node_modules/zod/v4/locales/cs.d.ts +4 -0
  1140. package/node_modules/zod/v4/locales/cs.js +114 -0
  1141. package/node_modules/zod/v4/locales/da.cjs +145 -0
  1142. package/node_modules/zod/v4/locales/da.d.cts +5 -0
  1143. package/node_modules/zod/v4/locales/da.d.ts +4 -0
  1144. package/node_modules/zod/v4/locales/da.js +118 -0
  1145. package/node_modules/zod/v4/locales/de.cjs +138 -0
  1146. package/node_modules/zod/v4/locales/de.d.cts +5 -0
  1147. package/node_modules/zod/v4/locales/de.d.ts +4 -0
  1148. package/node_modules/zod/v4/locales/de.js +111 -0
  1149. package/node_modules/zod/v4/locales/el.cjs +137 -0
  1150. package/node_modules/zod/v4/locales/el.d.cts +5 -0
  1151. package/node_modules/zod/v4/locales/el.d.ts +4 -0
  1152. package/node_modules/zod/v4/locales/el.js +110 -0
  1153. package/node_modules/zod/v4/locales/en.cjs +150 -0
  1154. package/node_modules/zod/v4/locales/en.d.cts +5 -0
  1155. package/node_modules/zod/v4/locales/en.d.ts +4 -0
  1156. package/node_modules/zod/v4/locales/en.js +123 -0
  1157. package/node_modules/zod/v4/locales/eo.cjs +139 -0
  1158. package/node_modules/zod/v4/locales/eo.d.cts +5 -0
  1159. package/node_modules/zod/v4/locales/eo.d.ts +4 -0
  1160. package/node_modules/zod/v4/locales/eo.js +112 -0
  1161. package/node_modules/zod/v4/locales/es.cjs +161 -0
  1162. package/node_modules/zod/v4/locales/es.d.cts +5 -0
  1163. package/node_modules/zod/v4/locales/es.d.ts +4 -0
  1164. package/node_modules/zod/v4/locales/es.js +134 -0
  1165. package/node_modules/zod/v4/locales/fa.cjs +144 -0
  1166. package/node_modules/zod/v4/locales/fa.d.cts +5 -0
  1167. package/node_modules/zod/v4/locales/fa.d.ts +4 -0
  1168. package/node_modules/zod/v4/locales/fa.js +117 -0
  1169. package/node_modules/zod/v4/locales/fi.cjs +142 -0
  1170. package/node_modules/zod/v4/locales/fi.d.cts +5 -0
  1171. package/node_modules/zod/v4/locales/fi.d.ts +4 -0
  1172. package/node_modules/zod/v4/locales/fi.js +115 -0
  1173. package/node_modules/zod/v4/locales/fr-CA.cjs +137 -0
  1174. package/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
  1175. package/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
  1176. package/node_modules/zod/v4/locales/fr-CA.js +110 -0
  1177. package/node_modules/zod/v4/locales/fr.cjs +154 -0
  1178. package/node_modules/zod/v4/locales/fr.d.cts +5 -0
  1179. package/node_modules/zod/v4/locales/fr.d.ts +4 -0
  1180. package/node_modules/zod/v4/locales/fr.js +127 -0
  1181. package/node_modules/zod/v4/locales/gu.cjs +138 -0
  1182. package/node_modules/zod/v4/locales/gu.d.cts +5 -0
  1183. package/node_modules/zod/v4/locales/gu.d.ts +4 -0
  1184. package/node_modules/zod/v4/locales/gu.js +111 -0
  1185. package/node_modules/zod/v4/locales/he.cjs +246 -0
  1186. package/node_modules/zod/v4/locales/he.d.cts +5 -0
  1187. package/node_modules/zod/v4/locales/he.d.ts +4 -0
  1188. package/node_modules/zod/v4/locales/he.js +219 -0
  1189. package/node_modules/zod/v4/locales/hi.cjs +136 -0
  1190. package/node_modules/zod/v4/locales/hi.d.cts +5 -0
  1191. package/node_modules/zod/v4/locales/hi.d.ts +4 -0
  1192. package/node_modules/zod/v4/locales/hi.js +109 -0
  1193. package/node_modules/zod/v4/locales/hr.cjs +151 -0
  1194. package/node_modules/zod/v4/locales/hr.d.cts +5 -0
  1195. package/node_modules/zod/v4/locales/hr.d.ts +4 -0
  1196. package/node_modules/zod/v4/locales/hr.js +124 -0
  1197. package/node_modules/zod/v4/locales/hu.cjs +138 -0
  1198. package/node_modules/zod/v4/locales/hu.d.cts +5 -0
  1199. package/node_modules/zod/v4/locales/hu.d.ts +4 -0
  1200. package/node_modules/zod/v4/locales/hu.js +111 -0
  1201. package/node_modules/zod/v4/locales/hy.cjs +183 -0
  1202. package/node_modules/zod/v4/locales/hy.d.cts +5 -0
  1203. package/node_modules/zod/v4/locales/hy.d.ts +4 -0
  1204. package/node_modules/zod/v4/locales/hy.js +156 -0
  1205. package/node_modules/zod/v4/locales/id.cjs +136 -0
  1206. package/node_modules/zod/v4/locales/id.d.cts +5 -0
  1207. package/node_modules/zod/v4/locales/id.d.ts +4 -0
  1208. package/node_modules/zod/v4/locales/id.js +109 -0
  1209. package/node_modules/zod/v4/locales/index.cjs +131 -0
  1210. package/node_modules/zod/v4/locales/index.d.cts +62 -0
  1211. package/node_modules/zod/v4/locales/index.d.ts +62 -0
  1212. package/node_modules/zod/v4/locales/index.js +62 -0
  1213. package/node_modules/zod/v4/locales/is.cjs +139 -0
  1214. package/node_modules/zod/v4/locales/is.d.cts +5 -0
  1215. package/node_modules/zod/v4/locales/is.d.ts +4 -0
  1216. package/node_modules/zod/v4/locales/is.js +112 -0
  1217. package/node_modules/zod/v4/locales/it.cjs +138 -0
  1218. package/node_modules/zod/v4/locales/it.d.cts +5 -0
  1219. package/node_modules/zod/v4/locales/it.d.ts +4 -0
  1220. package/node_modules/zod/v4/locales/it.js +111 -0
  1221. package/node_modules/zod/v4/locales/ja.cjs +137 -0
  1222. package/node_modules/zod/v4/locales/ja.d.cts +5 -0
  1223. package/node_modules/zod/v4/locales/ja.d.ts +4 -0
  1224. package/node_modules/zod/v4/locales/ja.js +110 -0
  1225. package/node_modules/zod/v4/locales/ka.cjs +142 -0
  1226. package/node_modules/zod/v4/locales/ka.d.cts +5 -0
  1227. package/node_modules/zod/v4/locales/ka.d.ts +4 -0
  1228. package/node_modules/zod/v4/locales/ka.js +115 -0
  1229. package/node_modules/zod/v4/locales/kh.cjs +12 -0
  1230. package/node_modules/zod/v4/locales/kh.d.cts +5 -0
  1231. package/node_modules/zod/v4/locales/kh.d.ts +5 -0
  1232. package/node_modules/zod/v4/locales/kh.js +5 -0
  1233. package/node_modules/zod/v4/locales/km.cjs +140 -0
  1234. package/node_modules/zod/v4/locales/km.d.cts +5 -0
  1235. package/node_modules/zod/v4/locales/km.d.ts +4 -0
  1236. package/node_modules/zod/v4/locales/km.js +113 -0
  1237. package/node_modules/zod/v4/locales/kn.cjs +141 -0
  1238. package/node_modules/zod/v4/locales/kn.d.cts +5 -0
  1239. package/node_modules/zod/v4/locales/kn.d.ts +4 -0
  1240. package/node_modules/zod/v4/locales/kn.js +114 -0
  1241. package/node_modules/zod/v4/locales/ko.cjs +141 -0
  1242. package/node_modules/zod/v4/locales/ko.d.cts +5 -0
  1243. package/node_modules/zod/v4/locales/ko.d.ts +4 -0
  1244. package/node_modules/zod/v4/locales/ko.js +114 -0
  1245. package/node_modules/zod/v4/locales/lt.cjs +232 -0
  1246. package/node_modules/zod/v4/locales/lt.d.cts +5 -0
  1247. package/node_modules/zod/v4/locales/lt.d.ts +4 -0
  1248. package/node_modules/zod/v4/locales/lt.js +205 -0
  1249. package/node_modules/zod/v4/locales/mk.cjs +139 -0
  1250. package/node_modules/zod/v4/locales/mk.d.cts +5 -0
  1251. package/node_modules/zod/v4/locales/mk.d.ts +4 -0
  1252. package/node_modules/zod/v4/locales/mk.js +112 -0
  1253. package/node_modules/zod/v4/locales/ms.cjs +137 -0
  1254. package/node_modules/zod/v4/locales/ms.d.cts +5 -0
  1255. package/node_modules/zod/v4/locales/ms.d.ts +4 -0
  1256. package/node_modules/zod/v4/locales/ms.js +110 -0
  1257. package/node_modules/zod/v4/locales/ne.cjs +136 -0
  1258. package/node_modules/zod/v4/locales/ne.d.cts +5 -0
  1259. package/node_modules/zod/v4/locales/ne.d.ts +4 -0
  1260. package/node_modules/zod/v4/locales/ne.js +109 -0
  1261. package/node_modules/zod/v4/locales/nl.cjs +140 -0
  1262. package/node_modules/zod/v4/locales/nl.d.cts +5 -0
  1263. package/node_modules/zod/v4/locales/nl.d.ts +4 -0
  1264. package/node_modules/zod/v4/locales/nl.js +113 -0
  1265. package/node_modules/zod/v4/locales/nn.cjs +138 -0
  1266. package/node_modules/zod/v4/locales/nn.d.cts +5 -0
  1267. package/node_modules/zod/v4/locales/nn.d.ts +4 -0
  1268. package/node_modules/zod/v4/locales/nn.js +111 -0
  1269. package/node_modules/zod/v4/locales/no.cjs +138 -0
  1270. package/node_modules/zod/v4/locales/no.d.cts +5 -0
  1271. package/node_modules/zod/v4/locales/no.d.ts +4 -0
  1272. package/node_modules/zod/v4/locales/no.js +111 -0
  1273. package/node_modules/zod/v4/locales/ota.cjs +139 -0
  1274. package/node_modules/zod/v4/locales/ota.d.cts +5 -0
  1275. package/node_modules/zod/v4/locales/ota.d.ts +4 -0
  1276. package/node_modules/zod/v4/locales/ota.js +112 -0
  1277. package/node_modules/zod/v4/locales/package.json +7 -0
  1278. package/node_modules/zod/v4/locales/pl.cjs +139 -0
  1279. package/node_modules/zod/v4/locales/pl.d.cts +5 -0
  1280. package/node_modules/zod/v4/locales/pl.d.ts +4 -0
  1281. package/node_modules/zod/v4/locales/pl.js +112 -0
  1282. package/node_modules/zod/v4/locales/ps.cjs +144 -0
  1283. package/node_modules/zod/v4/locales/ps.d.cts +5 -0
  1284. package/node_modules/zod/v4/locales/ps.d.ts +4 -0
  1285. package/node_modules/zod/v4/locales/ps.js +117 -0
  1286. package/node_modules/zod/v4/locales/pt-BR.cjs +168 -0
  1287. package/node_modules/zod/v4/locales/pt-BR.d.cts +5 -0
  1288. package/node_modules/zod/v4/locales/pt-BR.d.ts +4 -0
  1289. package/node_modules/zod/v4/locales/pt-BR.js +141 -0
  1290. package/node_modules/zod/v4/locales/pt.cjs +167 -0
  1291. package/node_modules/zod/v4/locales/pt.d.cts +5 -0
  1292. package/node_modules/zod/v4/locales/pt.d.ts +4 -0
  1293. package/node_modules/zod/v4/locales/pt.js +140 -0
  1294. package/node_modules/zod/v4/locales/ro.cjs +147 -0
  1295. package/node_modules/zod/v4/locales/ro.d.cts +5 -0
  1296. package/node_modules/zod/v4/locales/ro.d.ts +4 -0
  1297. package/node_modules/zod/v4/locales/ro.js +120 -0
  1298. package/node_modules/zod/v4/locales/ru.cjs +193 -0
  1299. package/node_modules/zod/v4/locales/ru.d.cts +5 -0
  1300. package/node_modules/zod/v4/locales/ru.d.ts +4 -0
  1301. package/node_modules/zod/v4/locales/ru.js +166 -0
  1302. package/node_modules/zod/v4/locales/sk.cjs +141 -0
  1303. package/node_modules/zod/v4/locales/sk.d.cts +5 -0
  1304. package/node_modules/zod/v4/locales/sk.d.ts +4 -0
  1305. package/node_modules/zod/v4/locales/sk.js +114 -0
  1306. package/node_modules/zod/v4/locales/sl.cjs +139 -0
  1307. package/node_modules/zod/v4/locales/sl.d.cts +5 -0
  1308. package/node_modules/zod/v4/locales/sl.d.ts +4 -0
  1309. package/node_modules/zod/v4/locales/sl.js +112 -0
  1310. package/node_modules/zod/v4/locales/sv.cjs +140 -0
  1311. package/node_modules/zod/v4/locales/sv.d.cts +5 -0
  1312. package/node_modules/zod/v4/locales/sv.d.ts +4 -0
  1313. package/node_modules/zod/v4/locales/sv.js +113 -0
  1314. package/node_modules/zod/v4/locales/ta.cjs +140 -0
  1315. package/node_modules/zod/v4/locales/ta.d.cts +5 -0
  1316. package/node_modules/zod/v4/locales/ta.d.ts +4 -0
  1317. package/node_modules/zod/v4/locales/ta.js +113 -0
  1318. package/node_modules/zod/v4/locales/th.cjs +140 -0
  1319. package/node_modules/zod/v4/locales/th.d.cts +5 -0
  1320. package/node_modules/zod/v4/locales/th.d.ts +4 -0
  1321. package/node_modules/zod/v4/locales/th.js +113 -0
  1322. package/node_modules/zod/v4/locales/tk.cjs +132 -0
  1323. package/node_modules/zod/v4/locales/tk.d.cts +5 -0
  1324. package/node_modules/zod/v4/locales/tk.d.ts +4 -0
  1325. package/node_modules/zod/v4/locales/tk.js +105 -0
  1326. package/node_modules/zod/v4/locales/tr.cjs +135 -0
  1327. package/node_modules/zod/v4/locales/tr.d.cts +5 -0
  1328. package/node_modules/zod/v4/locales/tr.d.ts +4 -0
  1329. package/node_modules/zod/v4/locales/tr.js +108 -0
  1330. package/node_modules/zod/v4/locales/ua.cjs +12 -0
  1331. package/node_modules/zod/v4/locales/ua.d.cts +5 -0
  1332. package/node_modules/zod/v4/locales/ua.d.ts +5 -0
  1333. package/node_modules/zod/v4/locales/ua.js +5 -0
  1334. package/node_modules/zod/v4/locales/uk.cjs +138 -0
  1335. package/node_modules/zod/v4/locales/uk.d.cts +5 -0
  1336. package/node_modules/zod/v4/locales/uk.d.ts +4 -0
  1337. package/node_modules/zod/v4/locales/uk.js +111 -0
  1338. package/node_modules/zod/v4/locales/ur.cjs +140 -0
  1339. package/node_modules/zod/v4/locales/ur.d.cts +5 -0
  1340. package/node_modules/zod/v4/locales/ur.d.ts +4 -0
  1341. package/node_modules/zod/v4/locales/ur.js +113 -0
  1342. package/node_modules/zod/v4/locales/uz.cjs +138 -0
  1343. package/node_modules/zod/v4/locales/uz.d.cts +5 -0
  1344. package/node_modules/zod/v4/locales/uz.d.ts +4 -0
  1345. package/node_modules/zod/v4/locales/uz.js +111 -0
  1346. package/node_modules/zod/v4/locales/vi.cjs +138 -0
  1347. package/node_modules/zod/v4/locales/vi.d.cts +5 -0
  1348. package/node_modules/zod/v4/locales/vi.d.ts +4 -0
  1349. package/node_modules/zod/v4/locales/vi.js +111 -0
  1350. package/node_modules/zod/v4/locales/yo.cjs +137 -0
  1351. package/node_modules/zod/v4/locales/yo.d.cts +5 -0
  1352. package/node_modules/zod/v4/locales/yo.d.ts +4 -0
  1353. package/node_modules/zod/v4/locales/yo.js +110 -0
  1354. package/node_modules/zod/v4/locales/zh-CN.cjs +139 -0
  1355. package/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
  1356. package/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
  1357. package/node_modules/zod/v4/locales/zh-CN.js +112 -0
  1358. package/node_modules/zod/v4/locales/zh-TW.cjs +137 -0
  1359. package/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
  1360. package/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
  1361. package/node_modules/zod/v4/locales/zh-TW.js +110 -0
  1362. package/node_modules/zod/v4/mini/checks.cjs +35 -0
  1363. package/node_modules/zod/v4/mini/checks.d.cts +1 -0
  1364. package/node_modules/zod/v4/mini/checks.d.ts +1 -0
  1365. package/node_modules/zod/v4/mini/checks.js +1 -0
  1366. package/node_modules/zod/v4/mini/coerce.cjs +52 -0
  1367. package/node_modules/zod/v4/mini/coerce.d.cts +7 -0
  1368. package/node_modules/zod/v4/mini/coerce.d.ts +7 -0
  1369. package/node_modules/zod/v4/mini/coerce.js +22 -0
  1370. package/node_modules/zod/v4/mini/deep-partial.cjs +39 -0
  1371. package/node_modules/zod/v4/mini/deep-partial.d.cts +14 -0
  1372. package/node_modules/zod/v4/mini/deep-partial.d.ts +14 -0
  1373. package/node_modules/zod/v4/mini/deep-partial.js +13 -0
  1374. package/node_modules/zod/v4/mini/external.cjs +74 -0
  1375. package/node_modules/zod/v4/mini/external.d.cts +16 -0
  1376. package/node_modules/zod/v4/mini/external.d.ts +16 -0
  1377. package/node_modules/zod/v4/mini/external.js +16 -0
  1378. package/node_modules/zod/v4/mini/in-out.cjs +63 -0
  1379. package/node_modules/zod/v4/mini/in-out.d.cts +8 -0
  1380. package/node_modules/zod/v4/mini/in-out.d.ts +8 -0
  1381. package/node_modules/zod/v4/mini/in-out.js +36 -0
  1382. package/node_modules/zod/v4/mini/index.cjs +32 -0
  1383. package/node_modules/zod/v4/mini/index.d.cts +3 -0
  1384. package/node_modules/zod/v4/mini/index.d.ts +3 -0
  1385. package/node_modules/zod/v4/mini/index.js +3 -0
  1386. package/node_modules/zod/v4/mini/iso.cjs +64 -0
  1387. package/node_modules/zod/v4/mini/iso.d.cts +22 -0
  1388. package/node_modules/zod/v4/mini/iso.d.ts +22 -0
  1389. package/node_modules/zod/v4/mini/iso.js +34 -0
  1390. package/node_modules/zod/v4/mini/package.json +7 -0
  1391. package/node_modules/zod/v4/mini/parse.cjs +18 -0
  1392. package/node_modules/zod/v4/mini/parse.d.cts +1 -0
  1393. package/node_modules/zod/v4/mini/parse.d.ts +1 -0
  1394. package/node_modules/zod/v4/mini/parse.js +1 -0
  1395. package/node_modules/zod/v4/mini/schemas.cjs +1111 -0
  1396. package/node_modules/zod/v4/mini/schemas.d.cts +475 -0
  1397. package/node_modules/zod/v4/mini/schemas.d.ts +475 -0
  1398. package/node_modules/zod/v4/mini/schemas.js +987 -0
  1399. package/node_modules/zod/v4/package.json +7 -0
  1400. package/node_modules/zod/v4-mini/index.cjs +32 -0
  1401. package/node_modules/zod/v4-mini/index.d.cts +3 -0
  1402. package/node_modules/zod/v4-mini/index.d.ts +3 -0
  1403. package/node_modules/zod/v4-mini/index.js +3 -0
  1404. package/node_modules/zod/v4-mini/package.json +7 -0
  1405. package/oclif.manifest.json +95 -62
  1406. package/package.json +17 -9
  1407. package/content/pwav3/components.md +0 -400
  1408. package/content/pwav3/config.md +0 -124
  1409. package/content/pwav3/data-fetching.md +0 -213
  1410. package/content/pwav3/extensibility.md +0 -167
  1411. package/content/pwav3/i18n.md +0 -214
  1412. package/content/pwav3/quick-reference.md +0 -169
  1413. package/content/pwav3/routing.md +0 -107
  1414. package/content/pwav3/state-management.md +0 -193
  1415. package/content/pwav3/styling.md +0 -248
  1416. package/content/pwav3/testing.md +0 -124
  1417. package/content/site-theming/theming-accessibility.md +0 -126
  1418. package/content/site-theming/theming-questions.md +0 -208
  1419. package/content/site-theming/theming-validation.md +0 -174
  1420. package/dist/tools/diagnostics/debug-continue.js +0 -27
  1421. package/dist/tools/diagnostics/debug-get-stack.d.ts +0 -4
  1422. package/dist/tools/diagnostics/debug-get-stack.js +0 -31
  1423. package/dist/tools/diagnostics/debug-get-variables.d.ts +0 -4
  1424. package/dist/tools/diagnostics/debug-get-variables.js +0 -45
  1425. package/dist/tools/diagnostics/debug-step.js +0 -38
  1426. package/dist/tools/diagnostics/logs-watch-list.d.ts +0 -4
  1427. package/dist/tools/diagnostics/logs-watch-list.js +0 -37
  1428. package/dist/tools/diagnostics/logs-watch-stop.d.ts +0 -4
  1429. package/dist/tools/diagnostics/logs-watch-stop.js +0 -36
  1430. package/dist/tools/diagnostics/mrt-logs-watch-list.d.ts +0 -4
  1431. package/dist/tools/diagnostics/mrt-logs-watch-list.js +0 -37
  1432. package/dist/tools/diagnostics/mrt-logs-watch-stop.d.ts +0 -4
  1433. package/dist/tools/diagnostics/mrt-logs-watch-stop.js +0 -37
  1434. package/dist/tools/pwav3/index.d.ts +0 -22
  1435. package/dist/tools/pwav3/index.js +0 -20
  1436. package/dist/tools/pwav3/pwa-kit-development-guidelines.d.ts +0 -9
  1437. package/dist/tools/pwav3/pwa-kit-development-guidelines.js +0 -111
  1438. package/dist/tools/scapi/scapi-custom-api-generate-scaffold.d.ts +0 -67
  1439. package/dist/tools/scapi/scapi-custom-api-generate-scaffold.js +0 -204
@@ -0,0 +1,1859 @@
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 registries from "./registries.js";
5
+ import * as schemas from "./schemas.js";
6
+ import * as util from "./util.js";
7
+
8
+ export type Params<
9
+ T extends schemas.$ZodType | checks.$ZodCheck,
10
+ IssueTypes extends errors.$ZodIssueBase,
11
+ OmitKeys extends keyof T["_zod"]["def"] = never,
12
+ > = util.Flatten<
13
+ Partial<
14
+ util.EmptyToNever<
15
+ Omit<T["_zod"]["def"], OmitKeys> &
16
+ ([IssueTypes] extends [never]
17
+ ? {} // unknown
18
+ : {
19
+ error?: string | errors.$ZodErrorMap<IssueTypes> | undefined;
20
+ /** @deprecated This parameter is deprecated. Use `error` instead. */
21
+ message?: string | undefined; // supported in Zod 3
22
+ })
23
+ >
24
+ >
25
+ >;
26
+
27
+ export type TypeParams<
28
+ T extends schemas.$ZodType = schemas.$ZodType & { _isst: never },
29
+ AlsoOmit extends Exclude<keyof T["_zod"]["def"], "type" | "checks" | "error"> = never,
30
+ > = Params<T, NonNullable<T["_zod"]["isst"]>, "type" | "checks" | "error" | AlsoOmit>;
31
+
32
+ // strips types that are not exposed in the public factory
33
+ // incl. `error`, `check`
34
+ export type CheckParams<
35
+ T extends checks.$ZodCheck = checks.$ZodCheck, // & { _issc: never },
36
+ AlsoOmit extends Exclude<keyof T["_zod"]["def"], "check" | "error"> = never,
37
+ > = Params<T, NonNullable<T["_zod"]["issc"]>, "check" | "error" | AlsoOmit>;
38
+
39
+ // strips types that are not exposed in the public factory
40
+ // incl. `type`, `checks`, `error`, `check`, `format`
41
+ export type StringFormatParams<
42
+ T extends schemas.$ZodStringFormat = schemas.$ZodStringFormat,
43
+ AlsoOmit extends Exclude<keyof T["_zod"]["def"], "type" | "coerce" | "checks" | "error" | "check" | "format"> = never,
44
+ > = Params<
45
+ T,
46
+ NonNullable<T["_zod"]["isst"] | T["_zod"]["issc"]>,
47
+ "type" | "coerce" | "checks" | "error" | "check" | "format" | AlsoOmit
48
+ >;
49
+
50
+ export type CheckStringFormatParams<
51
+ T extends schemas.$ZodStringFormat = schemas.$ZodStringFormat,
52
+ AlsoOmit extends Exclude<keyof T["_zod"]["def"], "type" | "coerce" | "checks" | "error" | "check" | "format"> = never,
53
+ > = Params<T, NonNullable<T["_zod"]["issc"]>, "type" | "coerce" | "checks" | "error" | "check" | "format" | AlsoOmit>;
54
+
55
+ export type CheckTypeParams<
56
+ T extends schemas.$ZodType & checks.$ZodCheck = schemas.$ZodType & checks.$ZodCheck,
57
+ AlsoOmit extends Exclude<keyof T["_zod"]["def"], "type" | "checks" | "error" | "check"> = never,
58
+ > = Params<T, NonNullable<T["_zod"]["isst"] | T["_zod"]["issc"]>, "type" | "checks" | "error" | "check" | AlsoOmit>;
59
+
60
+ // String
61
+ export type $ZodStringParams = TypeParams<schemas.$ZodString<string>, "coerce">;
62
+ // @__NO_SIDE_EFFECTS__
63
+ export function _string<T extends schemas.$ZodString>(
64
+ Class: util.SchemaClass<T>,
65
+ params?: string | $ZodStringParams
66
+ ): T {
67
+ return new Class({
68
+ type: "string",
69
+ ...util.normalizeParams(params),
70
+ });
71
+ }
72
+
73
+ // @__NO_SIDE_EFFECTS__
74
+ export function _coercedString<T extends schemas.$ZodString>(
75
+ Class: util.SchemaClass<T>,
76
+ params?: string | $ZodStringParams
77
+ ): T {
78
+ return new Class({
79
+ type: "string",
80
+ coerce: true,
81
+ ...util.normalizeParams(params),
82
+ });
83
+ }
84
+
85
+ export type $ZodStringFormatParams = CheckTypeParams<
86
+ schemas.$ZodStringFormat,
87
+ "format" | "coerce" | "when" | "pattern"
88
+ >;
89
+ export type $ZodCheckStringFormatParams = CheckParams<checks.$ZodCheckStringFormat, "format">;
90
+ // custom format
91
+
92
+ // Email
93
+ export type $ZodEmailParams = StringFormatParams<schemas.$ZodEmail, "when">;
94
+ export type $ZodCheckEmailParams = CheckStringFormatParams<schemas.$ZodEmail, "when">;
95
+ // @__NO_SIDE_EFFECTS__
96
+ export function _email<T extends schemas.$ZodEmail>(
97
+ Class: util.SchemaClass<T>,
98
+ params?: string | $ZodEmailParams | $ZodCheckEmailParams
99
+ ): T {
100
+ return new Class({
101
+ type: "string",
102
+ format: "email",
103
+ check: "string_format",
104
+ abort: false,
105
+ ...util.normalizeParams(params),
106
+ });
107
+ }
108
+
109
+ // GUID
110
+ export type $ZodGUIDParams = StringFormatParams<schemas.$ZodGUID, "pattern" | "when">;
111
+ export type $ZodCheckGUIDParams = CheckStringFormatParams<schemas.$ZodGUID, "pattern" | "when">;
112
+ // @__NO_SIDE_EFFECTS__
113
+ export function _guid<T extends schemas.$ZodGUID>(
114
+ Class: util.SchemaClass<T>,
115
+ params?: string | $ZodGUIDParams | $ZodCheckGUIDParams
116
+ ): T {
117
+ return new Class({
118
+ type: "string",
119
+ format: "guid",
120
+ check: "string_format",
121
+ abort: false,
122
+ ...util.normalizeParams(params),
123
+ });
124
+ }
125
+
126
+ // UUID
127
+ export type $ZodUUIDParams = StringFormatParams<schemas.$ZodUUID, "pattern" | "when">;
128
+ export type $ZodCheckUUIDParams = CheckStringFormatParams<schemas.$ZodUUID, "pattern" | "when">;
129
+ // @__NO_SIDE_EFFECTS__
130
+ export function _uuid<T extends schemas.$ZodUUID>(
131
+ Class: util.SchemaClass<T>,
132
+ params?: string | $ZodUUIDParams | $ZodCheckUUIDParams
133
+ ): T {
134
+ return new Class({
135
+ type: "string",
136
+ format: "uuid",
137
+ check: "string_format",
138
+ abort: false,
139
+ ...util.normalizeParams(params),
140
+ });
141
+ }
142
+
143
+ // UUIDv4
144
+ export type $ZodUUIDv4Params = StringFormatParams<schemas.$ZodUUID, "pattern" | "when">;
145
+ export type $ZodCheckUUIDv4Params = CheckStringFormatParams<schemas.$ZodUUID, "pattern" | "when">;
146
+ // @__NO_SIDE_EFFECTS__
147
+ export function _uuidv4<T extends schemas.$ZodUUID>(
148
+ Class: util.SchemaClass<T>,
149
+ params?: string | $ZodUUIDv4Params | $ZodCheckUUIDv4Params
150
+ ): T {
151
+ return new Class({
152
+ type: "string",
153
+ format: "uuid",
154
+ check: "string_format",
155
+ abort: false,
156
+ version: "v4",
157
+ ...util.normalizeParams(params),
158
+ });
159
+ }
160
+
161
+ // UUIDv6
162
+ export type $ZodUUIDv6Params = StringFormatParams<schemas.$ZodUUID, "pattern" | "when">;
163
+ export type $ZodCheckUUIDv6Params = CheckStringFormatParams<schemas.$ZodUUID, "pattern" | "when">;
164
+ // @__NO_SIDE_EFFECTS__
165
+ export function _uuidv6<T extends schemas.$ZodUUID>(
166
+ Class: util.SchemaClass<T>,
167
+ params?: string | $ZodUUIDv6Params | $ZodCheckUUIDv6Params
168
+ ): T {
169
+ return new Class({
170
+ type: "string",
171
+ format: "uuid",
172
+ check: "string_format",
173
+ abort: false,
174
+ version: "v6",
175
+ ...util.normalizeParams(params),
176
+ });
177
+ }
178
+
179
+ // UUIDv7
180
+ export type $ZodUUIDv7Params = StringFormatParams<schemas.$ZodUUID, "pattern" | "when">;
181
+ export type $ZodCheckUUIDv7Params = CheckStringFormatParams<schemas.$ZodUUID, "pattern" | "when">;
182
+ // @__NO_SIDE_EFFECTS__
183
+ export function _uuidv7<T extends schemas.$ZodUUID>(
184
+ Class: util.SchemaClass<T>,
185
+ params?: string | $ZodUUIDv7Params | $ZodCheckUUIDv7Params
186
+ ): T {
187
+ return new Class({
188
+ type: "string",
189
+ format: "uuid",
190
+ check: "string_format",
191
+ abort: false,
192
+ version: "v7",
193
+ ...util.normalizeParams(params),
194
+ });
195
+ }
196
+
197
+ // URL
198
+ export type $ZodURLParams = StringFormatParams<schemas.$ZodURL, "when">;
199
+ export type $ZodCheckURLParams = CheckStringFormatParams<schemas.$ZodURL, "when">;
200
+ // @__NO_SIDE_EFFECTS__
201
+ export function _url<T extends schemas.$ZodURL>(
202
+ Class: util.SchemaClass<T>,
203
+ params?: string | $ZodURLParams | $ZodCheckURLParams
204
+ ): T {
205
+ return new Class({
206
+ type: "string",
207
+ format: "url",
208
+ check: "string_format",
209
+ abort: false,
210
+ ...util.normalizeParams(params),
211
+ });
212
+ }
213
+
214
+ // Emoji
215
+ export type $ZodEmojiParams = StringFormatParams<schemas.$ZodEmoji, "when">;
216
+ export type $ZodCheckEmojiParams = CheckStringFormatParams<schemas.$ZodEmoji, "when">;
217
+ // @__NO_SIDE_EFFECTS__
218
+ export function _emoji<T extends schemas.$ZodEmoji>(
219
+ Class: util.SchemaClass<T>,
220
+ params?: string | $ZodEmojiParams | $ZodCheckEmojiParams
221
+ ): T {
222
+ return new Class({
223
+ type: "string",
224
+ format: "emoji",
225
+ check: "string_format",
226
+ abort: false,
227
+ ...util.normalizeParams(params),
228
+ });
229
+ }
230
+
231
+ // NanoID
232
+ export type $ZodNanoIDParams = StringFormatParams<schemas.$ZodNanoID, "when" | "pattern">;
233
+ export type $ZodCheckNanoIDParams = CheckStringFormatParams<schemas.$ZodNanoID, "when" | "pattern">;
234
+ // @__NO_SIDE_EFFECTS__
235
+ export function _nanoid<T extends schemas.$ZodNanoID>(
236
+ Class: util.SchemaClass<T>,
237
+ params?: string | $ZodNanoIDParams | $ZodCheckNanoIDParams
238
+ ): T {
239
+ return new Class({
240
+ type: "string",
241
+ format: "nanoid",
242
+ check: "string_format",
243
+ abort: false,
244
+ ...util.normalizeParams(params),
245
+ });
246
+ }
247
+
248
+ // CUID
249
+ /**
250
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
251
+ * (timestamps embedded in the id). Use {@link _cuid2} instead.
252
+ * See https://github.com/paralleldrive/cuid.
253
+ */
254
+ export type $ZodCUIDParams = StringFormatParams<schemas.$ZodCUID, "when">;
255
+ /**
256
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
257
+ * (timestamps embedded in the id). Use {@link _cuid2} instead.
258
+ * See https://github.com/paralleldrive/cuid.
259
+ */
260
+ export type $ZodCheckCUIDParams = CheckStringFormatParams<schemas.$ZodCUID, "when">;
261
+ /**
262
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
263
+ * (timestamps embedded in the id). Use {@link _cuid2} instead.
264
+ * See https://github.com/paralleldrive/cuid.
265
+ */
266
+ // @__NO_SIDE_EFFECTS__
267
+ export function _cuid<T extends schemas.$ZodCUID>(
268
+ Class: util.SchemaClass<T>,
269
+ params?: string | $ZodCUIDParams | $ZodCheckCUIDParams
270
+ ): T {
271
+ return new Class({
272
+ type: "string",
273
+ format: "cuid",
274
+ check: "string_format",
275
+ abort: false,
276
+ ...util.normalizeParams(params),
277
+ });
278
+ }
279
+
280
+ // CUID2
281
+ export type $ZodCUID2Params = StringFormatParams<schemas.$ZodCUID2, "when">;
282
+ export type $ZodCheckCUID2Params = CheckStringFormatParams<schemas.$ZodCUID2, "when">;
283
+ // @__NO_SIDE_EFFECTS__
284
+ export function _cuid2<T extends schemas.$ZodCUID2>(
285
+ Class: util.SchemaClass<T>,
286
+ params?: string | $ZodCUID2Params | $ZodCheckCUID2Params
287
+ ): T {
288
+ return new Class({
289
+ type: "string",
290
+ format: "cuid2",
291
+ check: "string_format",
292
+ abort: false,
293
+ ...util.normalizeParams(params),
294
+ });
295
+ }
296
+
297
+ // ULID
298
+ export type $ZodULIDParams = StringFormatParams<schemas.$ZodULID, "when">;
299
+ export type $ZodCheckULIDParams = CheckStringFormatParams<schemas.$ZodULID, "when">;
300
+ // @__NO_SIDE_EFFECTS__
301
+ export function _ulid<T extends schemas.$ZodULID>(
302
+ Class: util.SchemaClass<T>,
303
+ params?: string | $ZodULIDParams | $ZodCheckULIDParams
304
+ ): T {
305
+ return new Class({
306
+ type: "string",
307
+ format: "ulid",
308
+ check: "string_format",
309
+ abort: false,
310
+ ...util.normalizeParams(params),
311
+ });
312
+ }
313
+
314
+ // XID
315
+ export type $ZodXIDParams = StringFormatParams<schemas.$ZodXID, "when">;
316
+ export type $ZodCheckXIDParams = CheckStringFormatParams<schemas.$ZodXID, "when">;
317
+ // @__NO_SIDE_EFFECTS__
318
+ export function _xid<T extends schemas.$ZodXID>(
319
+ Class: util.SchemaClass<T>,
320
+ params?: string | $ZodXIDParams | $ZodCheckXIDParams
321
+ ): T {
322
+ return new Class({
323
+ type: "string",
324
+ format: "xid",
325
+ check: "string_format",
326
+ abort: false,
327
+ ...util.normalizeParams(params),
328
+ });
329
+ }
330
+
331
+ // KSUID
332
+ export type $ZodKSUIDParams = StringFormatParams<schemas.$ZodKSUID, "when">;
333
+ export type $ZodCheckKSUIDParams = CheckStringFormatParams<schemas.$ZodKSUID, "when">;
334
+ // @__NO_SIDE_EFFECTS__
335
+ export function _ksuid<T extends schemas.$ZodKSUID>(
336
+ Class: util.SchemaClass<T>,
337
+ params?: string | $ZodKSUIDParams | $ZodCheckKSUIDParams
338
+ ): T {
339
+ return new Class({
340
+ type: "string",
341
+ format: "ksuid",
342
+ check: "string_format",
343
+ abort: false,
344
+ ...util.normalizeParams(params),
345
+ });
346
+ }
347
+
348
+ // IPv4
349
+ export type $ZodIPv4Params = StringFormatParams<schemas.$ZodIPv4, "pattern" | "when" | "version">;
350
+ export type $ZodCheckIPv4Params = CheckStringFormatParams<schemas.$ZodIPv4, "pattern" | "when" | "version">;
351
+ // @__NO_SIDE_EFFECTS__
352
+ export function _ipv4<T extends schemas.$ZodIPv4>(
353
+ Class: util.SchemaClass<T>,
354
+ params?: string | $ZodIPv4Params | $ZodCheckIPv4Params
355
+ ): T {
356
+ return new Class({
357
+ type: "string",
358
+ format: "ipv4",
359
+ check: "string_format",
360
+ abort: false,
361
+ ...util.normalizeParams(params),
362
+ });
363
+ }
364
+
365
+ // IPv6
366
+ export type $ZodIPv6Params = StringFormatParams<schemas.$ZodIPv6, "pattern" | "when" | "version">;
367
+ export type $ZodCheckIPv6Params = CheckStringFormatParams<schemas.$ZodIPv6, "pattern" | "when" | "version">;
368
+ // @__NO_SIDE_EFFECTS__
369
+ export function _ipv6<T extends schemas.$ZodIPv6>(
370
+ Class: util.SchemaClass<T>,
371
+ params?: string | $ZodIPv6Params | $ZodCheckIPv6Params
372
+ ): T {
373
+ return new Class({
374
+ type: "string",
375
+ format: "ipv6",
376
+ check: "string_format",
377
+ abort: false,
378
+ ...util.normalizeParams(params),
379
+ });
380
+ }
381
+
382
+ // MAC
383
+ export type $ZodMACParams = StringFormatParams<schemas.$ZodMAC, "pattern" | "when">;
384
+ export type $ZodCheckMACParams = CheckStringFormatParams<schemas.$ZodMAC, "pattern" | "when">;
385
+ // @__NO_SIDE_EFFECTS__
386
+ export function _mac<T extends schemas.$ZodMAC>(
387
+ Class: util.SchemaClass<T>,
388
+ params?: string | $ZodMACParams | $ZodCheckMACParams
389
+ ): T {
390
+ return new Class({
391
+ type: "string",
392
+ format: "mac",
393
+ check: "string_format",
394
+ abort: false,
395
+ ...util.normalizeParams(params),
396
+ });
397
+ }
398
+
399
+ // CIDRv4
400
+ export type $ZodCIDRv4Params = StringFormatParams<schemas.$ZodCIDRv4, "pattern" | "when">;
401
+ export type $ZodCheckCIDRv4Params = CheckStringFormatParams<schemas.$ZodCIDRv4, "pattern" | "when">;
402
+ // @__NO_SIDE_EFFECTS__
403
+ export function _cidrv4<T extends schemas.$ZodCIDRv4>(
404
+ Class: util.SchemaClass<T>,
405
+ params?: string | $ZodCIDRv4Params | $ZodCheckCIDRv4Params
406
+ ): T {
407
+ return new Class({
408
+ type: "string",
409
+ format: "cidrv4",
410
+ check: "string_format",
411
+ abort: false,
412
+ ...util.normalizeParams(params),
413
+ });
414
+ }
415
+
416
+ // CIDRv6
417
+ export type $ZodCIDRv6Params = StringFormatParams<schemas.$ZodCIDRv6, "pattern" | "when">;
418
+ export type $ZodCheckCIDRv6Params = CheckStringFormatParams<schemas.$ZodCIDRv6, "pattern" | "when">;
419
+ // @__NO_SIDE_EFFECTS__
420
+ export function _cidrv6<T extends schemas.$ZodCIDRv6>(
421
+ Class: util.SchemaClass<T>,
422
+ params?: string | $ZodCIDRv6Params | $ZodCheckCIDRv6Params
423
+ ): T {
424
+ return new Class({
425
+ type: "string",
426
+ format: "cidrv6",
427
+ check: "string_format",
428
+ abort: false,
429
+ ...util.normalizeParams(params),
430
+ });
431
+ }
432
+
433
+ // Base64
434
+ export type $ZodBase64Params = StringFormatParams<schemas.$ZodBase64, "pattern" | "when">;
435
+ export type $ZodCheckBase64Params = CheckStringFormatParams<schemas.$ZodBase64, "pattern" | "when">;
436
+ // @__NO_SIDE_EFFECTS__
437
+ export function _base64<T extends schemas.$ZodBase64>(
438
+ Class: util.SchemaClass<T>,
439
+ params?: string | $ZodBase64Params | $ZodCheckBase64Params
440
+ ): T {
441
+ return new Class({
442
+ type: "string",
443
+ format: "base64",
444
+ check: "string_format",
445
+ abort: false,
446
+ ...util.normalizeParams(params),
447
+ });
448
+ }
449
+
450
+ // base64url
451
+ export type $ZodBase64URLParams = StringFormatParams<schemas.$ZodBase64URL, "pattern" | "when">;
452
+ export type $ZodCheckBase64URLParams = CheckStringFormatParams<schemas.$ZodBase64URL, "pattern" | "when">;
453
+ // @__NO_SIDE_EFFECTS__
454
+ export function _base64url<T extends schemas.$ZodBase64URL>(
455
+ Class: util.SchemaClass<T>,
456
+ params?: string | $ZodBase64URLParams | $ZodCheckBase64URLParams
457
+ ): T {
458
+ return new Class({
459
+ type: "string",
460
+ format: "base64url",
461
+ check: "string_format",
462
+ abort: false,
463
+ ...util.normalizeParams(params),
464
+ });
465
+ }
466
+
467
+ // E164
468
+ export type $ZodE164Params = StringFormatParams<schemas.$ZodE164, "when">;
469
+ export type $ZodCheckE164Params = CheckStringFormatParams<schemas.$ZodE164, "when">;
470
+ // @__NO_SIDE_EFFECTS__
471
+ export function _e164<T extends schemas.$ZodE164>(
472
+ Class: util.SchemaClass<T>,
473
+ params?: string | $ZodE164Params | $ZodCheckE164Params
474
+ ): T {
475
+ return new Class({
476
+ type: "string",
477
+ format: "e164",
478
+ check: "string_format",
479
+ abort: false,
480
+ ...util.normalizeParams(params),
481
+ });
482
+ }
483
+
484
+ // CreditCard
485
+ export type $ZodCreditCardParams = StringFormatParams<schemas.$ZodCreditCard, "pattern" | "when">;
486
+ export type $ZodCheckCreditCardParams = CheckStringFormatParams<schemas.$ZodCreditCard, "pattern" | "when">;
487
+ // @__NO_SIDE_EFFECTS__
488
+ export function _creditCard<T extends schemas.$ZodCreditCard>(
489
+ Class: util.SchemaClass<T>,
490
+ params?: string | $ZodCreditCardParams | $ZodCheckCreditCardParams
491
+ ): T {
492
+ return new Class({
493
+ type: "string",
494
+ format: "credit_card",
495
+ check: "string_format",
496
+ abort: false,
497
+ ...util.normalizeParams(params),
498
+ });
499
+ }
500
+
501
+ // JWT
502
+ export type $ZodJWTParams = StringFormatParams<schemas.$ZodJWT, "pattern" | "when">;
503
+ export type $ZodCheckJWTParams = CheckStringFormatParams<schemas.$ZodJWT, "pattern" | "when">;
504
+ // @__NO_SIDE_EFFECTS__
505
+ export function _jwt<T extends schemas.$ZodJWT>(
506
+ Class: util.SchemaClass<T>,
507
+ params?: string | $ZodJWTParams | $ZodCheckJWTParams
508
+ ): T {
509
+ return new Class({
510
+ type: "string",
511
+ format: "jwt",
512
+ check: "string_format",
513
+ abort: false,
514
+ ...util.normalizeParams(params),
515
+ });
516
+ }
517
+
518
+ export const TimePrecision = {
519
+ Any: null,
520
+ Minute: -1,
521
+ Second: 0,
522
+ Millisecond: 3,
523
+ Microsecond: 6,
524
+ } as const;
525
+ // ISODateTime
526
+ export type $ZodISODateTimeParams = StringFormatParams<schemas.$ZodISODateTime, "pattern" | "when">;
527
+ export type $ZodCheckISODateTimeParams = CheckStringFormatParams<schemas.$ZodISODateTime, "pattern" | "when">;
528
+ // @__NO_SIDE_EFFECTS__
529
+ export function _isoDateTime<T extends schemas.$ZodISODateTime>(
530
+ Class: util.SchemaClass<T>,
531
+ params?: string | $ZodISODateTimeParams | $ZodCheckISODateTimeParams
532
+ ): T {
533
+ return new Class({
534
+ type: "string",
535
+ format: "datetime",
536
+ check: "string_format",
537
+ offset: false,
538
+ local: false,
539
+ precision: null,
540
+ ...util.normalizeParams(params),
541
+ });
542
+ }
543
+
544
+ // ISODate
545
+ export type $ZodISODateParams = StringFormatParams<schemas.$ZodISODate, "pattern" | "when">;
546
+ export type $ZodCheckISODateParams = CheckStringFormatParams<schemas.$ZodISODate, "pattern" | "when">;
547
+ // @__NO_SIDE_EFFECTS__
548
+ export function _isoDate<T extends schemas.$ZodISODate>(
549
+ Class: util.SchemaClass<T>,
550
+ params?: string | $ZodISODateParams | $ZodCheckISODateParams
551
+ ): T {
552
+ return new Class({
553
+ type: "string",
554
+ format: "date",
555
+ check: "string_format",
556
+ ...util.normalizeParams(params),
557
+ });
558
+ }
559
+
560
+ // ISOTime
561
+ export type $ZodISOTimeParams = StringFormatParams<schemas.$ZodISOTime, "pattern" | "when">;
562
+ export type $ZodCheckISOTimeParams = CheckStringFormatParams<schemas.$ZodISOTime, "pattern" | "when">;
563
+ // @__NO_SIDE_EFFECTS__
564
+ export function _isoTime<T extends schemas.$ZodISOTime>(
565
+ Class: util.SchemaClass<T>,
566
+ params?: string | $ZodISOTimeParams | $ZodCheckISOTimeParams
567
+ ): T {
568
+ return new Class({
569
+ type: "string",
570
+ format: "time",
571
+ check: "string_format",
572
+ precision: null,
573
+ ...util.normalizeParams(params),
574
+ });
575
+ }
576
+
577
+ // ISODuration
578
+ export type $ZodISODurationParams = StringFormatParams<schemas.$ZodISODuration, "when">;
579
+ export type $ZodCheckISODurationParams = CheckStringFormatParams<schemas.$ZodISODuration, "when">;
580
+ // @__NO_SIDE_EFFECTS__
581
+ export function _isoDuration<T extends schemas.$ZodISODuration>(
582
+ Class: util.SchemaClass<T>,
583
+ params?: string | $ZodISODurationParams | $ZodCheckISODurationParams
584
+ ): T {
585
+ return new Class({
586
+ type: "string",
587
+ format: "duration",
588
+ check: "string_format",
589
+ ...util.normalizeParams(params),
590
+ });
591
+ }
592
+
593
+ // Number
594
+ export type $ZodNumberParams = TypeParams<schemas.$ZodNumber<number>, "coerce">;
595
+ export type $ZodNumberFormatParams = CheckTypeParams<schemas.$ZodNumberFormat, "format" | "coerce">;
596
+ export type $ZodCheckNumberFormatParams = CheckParams<checks.$ZodCheckNumberFormat, "format" | "when">;
597
+ // @__NO_SIDE_EFFECTS__
598
+ export function _number<T extends schemas.$ZodNumber>(
599
+ Class: util.SchemaClass<T>,
600
+ params?: string | $ZodNumberParams
601
+ ): T {
602
+ return new Class({
603
+ type: "number",
604
+ checks: [],
605
+ ...util.normalizeParams(params),
606
+ });
607
+ }
608
+
609
+ // @__NO_SIDE_EFFECTS__
610
+ export function _coercedNumber<T extends schemas.$ZodNumber>(
611
+ Class: util.SchemaClass<T>,
612
+ params?: string | $ZodNumberParams
613
+ ): T {
614
+ return new Class({
615
+ type: "number",
616
+ coerce: true,
617
+ checks: [],
618
+ ...util.normalizeParams(params),
619
+ });
620
+ }
621
+
622
+ // @__NO_SIDE_EFFECTS__
623
+ export function _int<T extends schemas.$ZodNumberFormat>(
624
+ Class: util.SchemaClass<T>,
625
+ params?: string | $ZodCheckNumberFormatParams
626
+ ): T {
627
+ return new Class({
628
+ type: "number",
629
+ check: "number_format",
630
+ abort: false,
631
+ format: "safeint",
632
+ ...util.normalizeParams(params),
633
+ });
634
+ }
635
+ // @__NO_SIDE_EFFECTS__
636
+ export function _float32<T extends schemas.$ZodNumberFormat>(
637
+ Class: util.SchemaClass<T>,
638
+ params?: string | $ZodCheckNumberFormatParams
639
+ ): T {
640
+ return new Class({
641
+ type: "number",
642
+ check: "number_format",
643
+ abort: false,
644
+ format: "float32",
645
+ ...util.normalizeParams(params),
646
+ });
647
+ }
648
+ // @__NO_SIDE_EFFECTS__
649
+ export function _float64<T extends schemas.$ZodNumberFormat>(
650
+ Class: util.SchemaClass<T>,
651
+ params?: string | $ZodCheckNumberFormatParams
652
+ ): T {
653
+ return new Class({
654
+ type: "number",
655
+ check: "number_format",
656
+ abort: false,
657
+ format: "float64",
658
+ ...util.normalizeParams(params),
659
+ });
660
+ }
661
+ // @__NO_SIDE_EFFECTS__
662
+ export function _int32<T extends schemas.$ZodNumberFormat>(
663
+ Class: util.SchemaClass<T>,
664
+ params?: string | $ZodCheckNumberFormatParams
665
+ ): T {
666
+ return new Class({
667
+ type: "number",
668
+ check: "number_format",
669
+ abort: false,
670
+ format: "int32",
671
+ ...util.normalizeParams(params),
672
+ });
673
+ }
674
+ // @__NO_SIDE_EFFECTS__
675
+ export function _uint32<T extends schemas.$ZodNumberFormat>(
676
+ Class: util.SchemaClass<T>,
677
+ params?: string | $ZodCheckNumberFormatParams
678
+ ): T {
679
+ return new Class({
680
+ type: "number",
681
+ check: "number_format",
682
+ abort: false,
683
+ format: "uint32",
684
+ ...util.normalizeParams(params),
685
+ });
686
+ }
687
+
688
+ // Boolean
689
+ export type $ZodBooleanParams = TypeParams<schemas.$ZodBoolean<boolean>, "coerce">;
690
+ // @__NO_SIDE_EFFECTS__
691
+ export function _boolean<T extends schemas.$ZodBoolean>(
692
+ Class: util.SchemaClass<T>,
693
+ params?: string | $ZodBooleanParams
694
+ ): T {
695
+ return new Class({
696
+ type: "boolean",
697
+ ...util.normalizeParams(params),
698
+ });
699
+ }
700
+ // @__NO_SIDE_EFFECTS__
701
+ export function _coercedBoolean<T extends schemas.$ZodBoolean>(
702
+ Class: util.SchemaClass<T>,
703
+ params?: string | $ZodBooleanParams
704
+ ): T {
705
+ return new Class({
706
+ type: "boolean",
707
+ coerce: true,
708
+ ...util.normalizeParams(params),
709
+ });
710
+ }
711
+
712
+ // BigInt
713
+ export type $ZodBigIntParams = TypeParams<schemas.$ZodBigInt<bigint>>;
714
+ export type $ZodBigIntFormatParams = CheckTypeParams<schemas.$ZodBigIntFormat, "format" | "coerce">;
715
+ export type $ZodCheckBigIntFormatParams = CheckParams<checks.$ZodCheckBigIntFormat, "format" | "when">;
716
+ // @__NO_SIDE_EFFECTS__
717
+ export function _bigint<T extends schemas.$ZodBigInt>(
718
+ Class: util.SchemaClass<T>,
719
+ params?: string | $ZodBigIntParams
720
+ ): T {
721
+ return new Class({
722
+ type: "bigint",
723
+ ...util.normalizeParams(params),
724
+ });
725
+ }
726
+ // @__NO_SIDE_EFFECTS__
727
+ export function _coercedBigint<T extends schemas.$ZodBigInt>(
728
+ Class: util.SchemaClass<T>,
729
+ params?: string | $ZodBigIntParams
730
+ ): T {
731
+ return new Class({
732
+ type: "bigint",
733
+ coerce: true,
734
+ ...util.normalizeParams(params),
735
+ });
736
+ }
737
+
738
+ // @__NO_SIDE_EFFECTS__
739
+ export function _int64<T extends schemas.$ZodBigIntFormat>(
740
+ Class: util.SchemaClass<T>,
741
+ params?: string | $ZodBigIntFormatParams
742
+ ): T {
743
+ return new Class({
744
+ type: "bigint",
745
+ check: "bigint_format",
746
+ abort: false,
747
+ format: "int64",
748
+ ...util.normalizeParams(params),
749
+ });
750
+ }
751
+ // @__NO_SIDE_EFFECTS__
752
+ export function _uint64<T extends schemas.$ZodBigIntFormat>(
753
+ Class: util.SchemaClass<T>,
754
+ params?: string | $ZodBigIntFormatParams
755
+ ): T {
756
+ return new Class({
757
+ type: "bigint",
758
+ check: "bigint_format",
759
+ abort: false,
760
+ format: "uint64",
761
+ ...util.normalizeParams(params),
762
+ });
763
+ }
764
+
765
+ // Symbol
766
+ export type $ZodSymbolParams = TypeParams<schemas.$ZodSymbol>;
767
+ // @__NO_SIDE_EFFECTS__
768
+ export function _symbol<T extends schemas.$ZodSymbol>(
769
+ Class: util.SchemaClass<T>,
770
+ params?: string | $ZodSymbolParams
771
+ ): T {
772
+ return new Class({
773
+ type: "symbol",
774
+ ...util.normalizeParams(params),
775
+ });
776
+ }
777
+
778
+ // Undefined
779
+ export type $ZodUndefinedParams = TypeParams<schemas.$ZodUndefined>;
780
+ // @__NO_SIDE_EFFECTS__
781
+ export function _undefined<T extends schemas.$ZodUndefined>(
782
+ Class: util.SchemaClass<T>,
783
+ params?: string | $ZodUndefinedParams
784
+ ): T {
785
+ return new Class({
786
+ type: "undefined",
787
+ ...util.normalizeParams(params),
788
+ });
789
+ }
790
+
791
+ // Null
792
+ export type $ZodNullParams = TypeParams<schemas.$ZodNull>;
793
+ // @__NO_SIDE_EFFECTS__
794
+ export function _null<T extends schemas.$ZodNull>(Class: util.SchemaClass<T>, params?: string | $ZodNullParams): T {
795
+ return new Class({
796
+ type: "null",
797
+ ...util.normalizeParams(params),
798
+ });
799
+ }
800
+
801
+ // Any
802
+ export type $ZodAnyParams = TypeParams<schemas.$ZodAny>;
803
+ // @__NO_SIDE_EFFECTS__
804
+ export function _any<T extends schemas.$ZodAny>(Class: util.SchemaClass<T>): T {
805
+ return new Class({
806
+ type: "any",
807
+ });
808
+ }
809
+
810
+ // Unknown
811
+ export type $ZodUnknownParams = TypeParams<schemas.$ZodUnknown>;
812
+ // @__NO_SIDE_EFFECTS__
813
+ export function _unknown<T extends schemas.$ZodUnknown>(Class: util.SchemaClass<T>): T {
814
+ return new Class({
815
+ type: "unknown",
816
+ });
817
+ }
818
+
819
+ // Never
820
+ export type $ZodNeverParams = TypeParams<schemas.$ZodNever>;
821
+ // @__NO_SIDE_EFFECTS__
822
+ export function _never<T extends schemas.$ZodNever>(Class: util.SchemaClass<T>, params?: string | $ZodNeverParams): T {
823
+ return new Class({
824
+ type: "never",
825
+ ...util.normalizeParams(params),
826
+ });
827
+ }
828
+
829
+ // Void
830
+ export type $ZodVoidParams = TypeParams<schemas.$ZodVoid>;
831
+ // @__NO_SIDE_EFFECTS__
832
+ export function _void<T extends schemas.$ZodVoid>(Class: util.SchemaClass<T>, params?: string | $ZodVoidParams): T {
833
+ return new Class({
834
+ type: "void",
835
+ ...util.normalizeParams(params),
836
+ });
837
+ }
838
+
839
+ // Date
840
+ export type $ZodDateParams = TypeParams<schemas.$ZodDate, "coerce">;
841
+ // @__NO_SIDE_EFFECTS__
842
+ export function _date<T extends schemas.$ZodDate>(Class: util.SchemaClass<T>, params?: string | $ZodDateParams): T {
843
+ return new Class({
844
+ type: "date",
845
+ ...util.normalizeParams(params),
846
+ });
847
+ }
848
+ // @__NO_SIDE_EFFECTS__
849
+ export function _coercedDate<T extends schemas.$ZodDate>(
850
+ Class: util.SchemaClass<T>,
851
+ params?: string | $ZodDateParams
852
+ ): T {
853
+ return new Class({
854
+ type: "date",
855
+ coerce: true,
856
+ ...util.normalizeParams(params),
857
+ });
858
+ }
859
+
860
+ // NaN
861
+ export type $ZodNaNParams = TypeParams<schemas.$ZodNaN>;
862
+ // @__NO_SIDE_EFFECTS__
863
+ export function _nan<T extends schemas.$ZodNaN>(Class: util.SchemaClass<T>, params?: string | $ZodNaNParams): T {
864
+ return new Class({
865
+ type: "nan",
866
+ ...util.normalizeParams(params),
867
+ });
868
+ }
869
+
870
+ // export type $ZodCheckParams = CheckParams<checks.$ZodCheck, "abort" | "when">;
871
+
872
+ export type $ZodCheckLessThanParams = CheckParams<checks.$ZodCheckLessThan, "inclusive" | "value" | "when">;
873
+ // @__NO_SIDE_EFFECTS__
874
+ export function _lt(
875
+ value: util.Numeric,
876
+ params?: string | $ZodCheckLessThanParams
877
+ ): checks.$ZodCheckLessThan<util.Numeric> {
878
+ return new checks.$ZodCheckLessThan({
879
+ check: "less_than",
880
+ ...util.normalizeParams(params),
881
+ value,
882
+ inclusive: false,
883
+ });
884
+ }
885
+
886
+ // @__NO_SIDE_EFFECTS__
887
+ export function _lte(
888
+ value: util.Numeric,
889
+ params?: string | $ZodCheckLessThanParams
890
+ ): checks.$ZodCheckLessThan<util.Numeric> {
891
+ return new checks.$ZodCheckLessThan({
892
+ check: "less_than",
893
+
894
+ ...util.normalizeParams(params),
895
+ value,
896
+ inclusive: true,
897
+ });
898
+ }
899
+ export {
900
+ /** @deprecated Use `z.lte()` instead. */
901
+ _lte as _max,
902
+ };
903
+
904
+ // ZodCheckGreaterThan
905
+ export type $ZodCheckGreaterThanParams = CheckParams<checks.$ZodCheckGreaterThan, "inclusive" | "value" | "when">;
906
+ // @__NO_SIDE_EFFECTS__
907
+ export function _gt(value: util.Numeric, params?: string | $ZodCheckGreaterThanParams): checks.$ZodCheckGreaterThan {
908
+ return new checks.$ZodCheckGreaterThan({
909
+ check: "greater_than",
910
+
911
+ ...util.normalizeParams(params),
912
+ value,
913
+ inclusive: false,
914
+ });
915
+ }
916
+
917
+ // @__NO_SIDE_EFFECTS__
918
+ export function _gte(value: util.Numeric, params?: string | $ZodCheckGreaterThanParams): checks.$ZodCheckGreaterThan {
919
+ return new checks.$ZodCheckGreaterThan({
920
+ check: "greater_than",
921
+ ...util.normalizeParams(params),
922
+ value,
923
+ inclusive: true,
924
+ });
925
+ }
926
+
927
+ export {
928
+ /** @deprecated Use `z.gte()` instead. */
929
+ _gte as _min,
930
+ };
931
+
932
+ // @__NO_SIDE_EFFECTS__
933
+ export function _positive(params?: string | $ZodCheckGreaterThanParams): checks.$ZodCheckGreaterThan {
934
+ return _gt(0, params);
935
+ }
936
+
937
+ // negative
938
+ // @__NO_SIDE_EFFECTS__
939
+ export function _negative(params?: string | $ZodCheckLessThanParams): checks.$ZodCheckLessThan {
940
+ return _lt(0, params);
941
+ }
942
+
943
+ // nonpositive
944
+ // @__NO_SIDE_EFFECTS__
945
+ export function _nonpositive(params?: string | $ZodCheckLessThanParams): checks.$ZodCheckLessThan {
946
+ return _lte(0, params);
947
+ }
948
+
949
+ // nonnegative
950
+ // @__NO_SIDE_EFFECTS__
951
+ export function _nonnegative(params?: string | $ZodCheckGreaterThanParams): checks.$ZodCheckGreaterThan {
952
+ return _gte(0, params);
953
+ }
954
+
955
+ export type $ZodCheckMultipleOfParams = CheckParams<checks.$ZodCheckMultipleOf, "value" | "when">;
956
+ // @__NO_SIDE_EFFECTS__
957
+ export function _multipleOf(
958
+ value: number | bigint,
959
+ params?: string | $ZodCheckMultipleOfParams
960
+ ): checks.$ZodCheckMultipleOf {
961
+ return new checks.$ZodCheckMultipleOf({
962
+ check: "multiple_of",
963
+ ...util.normalizeParams(params),
964
+ value,
965
+ });
966
+ }
967
+
968
+ export type $ZodCheckMaxSizeParams = CheckParams<checks.$ZodCheckMaxSize, "maximum" | "when">;
969
+ // @__NO_SIDE_EFFECTS__
970
+ export function _maxSize(
971
+ maximum: number,
972
+ params?: string | $ZodCheckMaxSizeParams
973
+ ): checks.$ZodCheckMaxSize<util.HasSize> {
974
+ return new checks.$ZodCheckMaxSize({
975
+ check: "max_size",
976
+ ...util.normalizeParams(params),
977
+ maximum,
978
+ });
979
+ }
980
+
981
+ export type $ZodCheckMinSizeParams = CheckParams<checks.$ZodCheckMinSize, "minimum" | "when">;
982
+ // @__NO_SIDE_EFFECTS__
983
+ export function _minSize(
984
+ minimum: number,
985
+ params?: string | $ZodCheckMinSizeParams
986
+ ): checks.$ZodCheckMinSize<util.HasSize> {
987
+ return new checks.$ZodCheckMinSize({
988
+ check: "min_size",
989
+ ...util.normalizeParams(params),
990
+ minimum,
991
+ });
992
+ }
993
+
994
+ export type $ZodCheckSizeEqualsParams = CheckParams<checks.$ZodCheckSizeEquals, "size" | "when">;
995
+ // @__NO_SIDE_EFFECTS__
996
+ export function _size(
997
+ size: number,
998
+ params?: string | $ZodCheckSizeEqualsParams
999
+ ): checks.$ZodCheckSizeEquals<util.HasSize> {
1000
+ return new checks.$ZodCheckSizeEquals({
1001
+ check: "size_equals",
1002
+ ...util.normalizeParams(params),
1003
+ size,
1004
+ });
1005
+ }
1006
+
1007
+ export type $ZodCheckMaxLengthParams = CheckParams<checks.$ZodCheckMaxLength, "maximum" | "when">;
1008
+ // @__NO_SIDE_EFFECTS__
1009
+ export function _maxLength(
1010
+ maximum: number,
1011
+ params?: string | $ZodCheckMaxLengthParams
1012
+ ): checks.$ZodCheckMaxLength<util.HasLength> {
1013
+ const ch = new checks.$ZodCheckMaxLength({
1014
+ check: "max_length",
1015
+ ...util.normalizeParams(params),
1016
+ maximum,
1017
+ });
1018
+ return ch;
1019
+ }
1020
+
1021
+ export type $ZodCheckMinLengthParams = CheckParams<checks.$ZodCheckMinLength, "minimum" | "when">;
1022
+ // @__NO_SIDE_EFFECTS__
1023
+ export function _minLength(
1024
+ minimum: number,
1025
+ params?: string | $ZodCheckMinLengthParams
1026
+ ): checks.$ZodCheckMinLength<util.HasLength> {
1027
+ return new checks.$ZodCheckMinLength({
1028
+ check: "min_length",
1029
+ ...util.normalizeParams(params),
1030
+ minimum,
1031
+ });
1032
+ }
1033
+
1034
+ export type $ZodCheckLengthEqualsParams = CheckParams<checks.$ZodCheckLengthEquals, "length" | "when">;
1035
+ // @__NO_SIDE_EFFECTS__
1036
+ export function _length(
1037
+ length: number,
1038
+ params?: string | $ZodCheckLengthEqualsParams
1039
+ ): checks.$ZodCheckLengthEquals<util.HasLength> {
1040
+ return new checks.$ZodCheckLengthEquals({
1041
+ check: "length_equals",
1042
+ ...util.normalizeParams(params),
1043
+ length,
1044
+ });
1045
+ }
1046
+
1047
+ export type $ZodCheckRegexParams = CheckParams<checks.$ZodCheckRegex, "format" | "pattern" | "when">;
1048
+ // @__NO_SIDE_EFFECTS__
1049
+ export function _regex(pattern: RegExp, params?: string | $ZodCheckRegexParams): checks.$ZodCheckRegex {
1050
+ return new checks.$ZodCheckRegex({
1051
+ check: "string_format",
1052
+ format: "regex",
1053
+ ...util.normalizeParams(params),
1054
+ pattern,
1055
+ });
1056
+ }
1057
+
1058
+ export type $ZodCheckLowerCaseParams = CheckParams<checks.$ZodCheckLowerCase, "format" | "when">;
1059
+ // @__NO_SIDE_EFFECTS__
1060
+ export function _lowercase(params?: string | $ZodCheckLowerCaseParams): checks.$ZodCheckLowerCase {
1061
+ return new checks.$ZodCheckLowerCase({
1062
+ check: "string_format",
1063
+ format: "lowercase",
1064
+ ...util.normalizeParams(params),
1065
+ });
1066
+ }
1067
+
1068
+ export type $ZodCheckUpperCaseParams = CheckParams<checks.$ZodCheckUpperCase, "format" | "when">;
1069
+
1070
+ // @__NO_SIDE_EFFECTS__
1071
+ export function _uppercase(params?: string | $ZodCheckUpperCaseParams): checks.$ZodCheckUpperCase {
1072
+ return new checks.$ZodCheckUpperCase({
1073
+ check: "string_format",
1074
+ format: "uppercase",
1075
+ ...util.normalizeParams(params),
1076
+ });
1077
+ }
1078
+
1079
+ export type $ZodCheckIncludesParams = CheckParams<checks.$ZodCheckIncludes, "includes" | "format" | "when" | "pattern">;
1080
+ // @__NO_SIDE_EFFECTS__
1081
+ export function _includes(includes: string, params?: string | $ZodCheckIncludesParams): checks.$ZodCheckIncludes {
1082
+ return new checks.$ZodCheckIncludes({
1083
+ check: "string_format",
1084
+ format: "includes",
1085
+ ...util.normalizeParams(params),
1086
+ includes,
1087
+ });
1088
+ }
1089
+ export type $ZodCheckStartsWithParams = CheckParams<
1090
+ checks.$ZodCheckStartsWith,
1091
+ "prefix" | "format" | "when" | "pattern"
1092
+ >;
1093
+ // @__NO_SIDE_EFFECTS__
1094
+ export function _startsWith(prefix: string, params?: string | $ZodCheckStartsWithParams): checks.$ZodCheckStartsWith {
1095
+ return new checks.$ZodCheckStartsWith({
1096
+ check: "string_format",
1097
+ format: "starts_with",
1098
+ ...util.normalizeParams(params),
1099
+ prefix,
1100
+ });
1101
+ }
1102
+
1103
+ export type $ZodCheckEndsWithParams = CheckParams<checks.$ZodCheckEndsWith, "suffix" | "format" | "pattern" | "when">;
1104
+
1105
+ // @__NO_SIDE_EFFECTS__
1106
+ export function _endsWith(suffix: string, params?: string | $ZodCheckEndsWithParams): checks.$ZodCheckEndsWith {
1107
+ return new checks.$ZodCheckEndsWith({
1108
+ check: "string_format",
1109
+ format: "ends_with",
1110
+ ...util.normalizeParams(params),
1111
+ suffix,
1112
+ });
1113
+ }
1114
+
1115
+ export type $ZodCheckPropertyParams = CheckParams<checks.$ZodCheckProperty, "property" | "schema" | "when">;
1116
+ // @__NO_SIDE_EFFECTS__
1117
+ export function _property<K extends string, T extends schemas.$ZodType>(
1118
+ property: K,
1119
+ schema: T,
1120
+ params?: string | $ZodCheckPropertyParams
1121
+ ): checks.$ZodCheckProperty<{ [k in K]: core.output<T> }> {
1122
+ return new checks.$ZodCheckProperty({
1123
+ check: "property",
1124
+ property,
1125
+ schema,
1126
+ ...util.normalizeParams(params),
1127
+ });
1128
+ }
1129
+
1130
+ // @__NO_SIDE_EFFECTS__
1131
+ export function _properties<Shape extends schemas.$ZodShape>(
1132
+ shape: Shape
1133
+ ): checks.$ZodCheckProperty<{ -readonly [k in keyof Shape]: core.output<Shape[k]> }>[] {
1134
+ return Object.entries(shape).map(
1135
+ ([property, schema]) => new checks.$ZodCheckProperty({ check: "property", property, schema })
1136
+ ) as any;
1137
+ }
1138
+
1139
+ export type $ZodCheckMimeTypeParams = CheckParams<checks.$ZodCheckMimeType, "mime" | "when">;
1140
+ // @__NO_SIDE_EFFECTS__
1141
+ export function _mime(types: util.MimeTypes[], params?: string | $ZodCheckMimeTypeParams): checks.$ZodCheckMimeType {
1142
+ return new checks.$ZodCheckMimeType({
1143
+ check: "mime_type",
1144
+ mime: types,
1145
+ ...util.normalizeParams(params),
1146
+ });
1147
+ }
1148
+
1149
+ // @__NO_SIDE_EFFECTS__
1150
+ export function _overwrite<T>(tx: (input: T) => T): checks.$ZodCheckOverwrite<T> {
1151
+ return new checks.$ZodCheckOverwrite({
1152
+ check: "overwrite",
1153
+ tx,
1154
+ }) as checks.$ZodCheckOverwrite<T>;
1155
+ }
1156
+ // normalize
1157
+ // @__NO_SIDE_EFFECTS__
1158
+ export function _normalize(form?: "NFC" | "NFD" | "NFKC" | "NFKD" | (string & {})): checks.$ZodCheckOverwrite<string> {
1159
+ return _overwrite((input) => input.normalize(form));
1160
+ }
1161
+
1162
+ // trim
1163
+ // @__NO_SIDE_EFFECTS__
1164
+ export function _trim(): checks.$ZodCheckOverwrite<string> {
1165
+ return _overwrite((input) => input.trim());
1166
+ }
1167
+ // toLowerCase
1168
+ // @__NO_SIDE_EFFECTS__
1169
+ export function _toLowerCase(): checks.$ZodCheckOverwrite<string> {
1170
+ return _overwrite((input) => input.toLowerCase());
1171
+ }
1172
+ // toUpperCase
1173
+ // @__NO_SIDE_EFFECTS__
1174
+ export function _toUpperCase(): checks.$ZodCheckOverwrite<string> {
1175
+ return _overwrite((input) => input.toUpperCase());
1176
+ }
1177
+ // slugify
1178
+ // @__NO_SIDE_EFFECTS__
1179
+ export function _slugify(): checks.$ZodCheckOverwrite<string> {
1180
+ return _overwrite((input) => util.slugify(input));
1181
+ }
1182
+
1183
+ /////// collections ///////
1184
+
1185
+ // Array
1186
+ export type $ZodArrayParams = TypeParams<schemas.$ZodArray, "element">;
1187
+ // @__NO_SIDE_EFFECTS__
1188
+ export function _array<T extends schemas.$ZodType>(
1189
+ Class: util.SchemaClass<schemas.$ZodArray>,
1190
+ element: T,
1191
+ params?: string | $ZodArrayParams
1192
+ ): schemas.$ZodArray<T> {
1193
+ return new Class({
1194
+ type: "array",
1195
+ element,
1196
+ // get element() {
1197
+ // return element;
1198
+ // },
1199
+ ...util.normalizeParams(params),
1200
+ }) as any;
1201
+ }
1202
+
1203
+ export type $ZodObjectParams = TypeParams<schemas.$ZodObject, "shape" | "catchall">;
1204
+
1205
+ // ZodUnion
1206
+ export type $ZodUnionParams = TypeParams<schemas.$ZodUnion, "options">;
1207
+ // @__NO_SIDE_EFFECTS__
1208
+ export function _union<const T extends readonly schemas.$ZodObject[]>(
1209
+ Class: util.SchemaClass<schemas.$ZodUnion>,
1210
+ options: T,
1211
+ params?: string | $ZodUnionParams
1212
+ ): schemas.$ZodUnion<T> {
1213
+ return new Class({
1214
+ type: "union",
1215
+ options,
1216
+ ...util.normalizeParams(params),
1217
+ }) as any;
1218
+ }
1219
+
1220
+ // ZodXor
1221
+ export type $ZodXorParams = TypeParams<schemas.$ZodXor, "options">;
1222
+ export function _xor<const T extends readonly schemas.$ZodObject[]>(
1223
+ Class: util.SchemaClass<schemas.$ZodXor>,
1224
+ options: T,
1225
+ params?: string | $ZodXorParams
1226
+ ): schemas.$ZodXor<T> {
1227
+ return new Class({
1228
+ type: "union",
1229
+ options,
1230
+ inclusive: false,
1231
+ ...util.normalizeParams(params),
1232
+ }) as any;
1233
+ }
1234
+
1235
+ // ZodDiscriminatedUnion
1236
+
1237
+ // The bound stops at `propValues`; it deliberately does not check that the option carries the discriminator. Any such check has to name the option's `input`, and constraining `input` in argument position forces TypeScript to resolve it while checking the call — circular for an option whose input references the union, which collapses the whole union to `any`. `$ZodDiscriminatedUnion` validates the discriminator lazily instead, when it builds its lookup map.
1238
+ //
1239
+ // Validating eagerly through `propValues` is not available: reading it runs the option's shape getters, and for a recursive option that getter references the union whose initializer is still running, so it throws `ReferenceError: Cannot access '...' before initialization`.
1240
+ //
1241
+ // `Object.keys` on the shape is recursion-safe by contrast — it lists the keys without invoking them — so an eager check is reachable. It was tried and reverted: a key list derived from the shape cannot be kept in agreement with `shape` itself, which resolves lazily over the object the caller passed and then freezes to a copy, and it charged every object schema construction time and memory for a check only this one type reads.
1242
+ //
1243
+ // `_Disc` is unused and retained only so `$ZodTypeDiscriminable<"kind">` keeps compiling for external callers.
1244
+ export interface $ZodTypeDiscriminableInternals<_Disc extends string = string> extends schemas._$ZodTypeInternals {
1245
+ propValues: util.PropValues;
1246
+ }
1247
+
1248
+ export interface $ZodTypeDiscriminable<_Disc extends string = string> extends schemas.SomeType {
1249
+ _zod: $ZodTypeDiscriminableInternals;
1250
+ }
1251
+
1252
+ export type $ZodDiscriminatedUnionParams = TypeParams<schemas.$ZodDiscriminatedUnion, "options" | "discriminator">;
1253
+ // @__NO_SIDE_EFFECTS__
1254
+ export function _discriminatedUnion<
1255
+ Types extends [$ZodTypeDiscriminable, ...$ZodTypeDiscriminable[]],
1256
+ Disc extends string,
1257
+ >(
1258
+ Class: util.SchemaClass<schemas.$ZodDiscriminatedUnion>,
1259
+ discriminator: Disc,
1260
+ options: Types,
1261
+ params?: string | $ZodDiscriminatedUnionParams
1262
+ ): schemas.$ZodDiscriminatedUnion<Types, Disc> {
1263
+ return new Class({
1264
+ type: "union",
1265
+ options: options as any as schemas.$ZodType[],
1266
+ discriminator,
1267
+ ...util.normalizeParams(params),
1268
+ }) as any;
1269
+ }
1270
+
1271
+ // ZodIntersection
1272
+ export type $ZodIntersectionParams = TypeParams<schemas.$ZodIntersection, "left" | "right">;
1273
+ // @__NO_SIDE_EFFECTS__
1274
+ export function _intersection<T extends schemas.$ZodObject, U extends schemas.$ZodObject>(
1275
+ Class: util.SchemaClass<schemas.$ZodIntersection>,
1276
+ left: T,
1277
+ right: U
1278
+ ): schemas.$ZodIntersection<T, U> {
1279
+ return new Class({
1280
+ type: "intersection",
1281
+ left,
1282
+ right,
1283
+ }) as any;
1284
+ }
1285
+
1286
+ // ZodTuple
1287
+ export type $ZodTupleParams = TypeParams<schemas.$ZodTuple, "items" | "rest">;
1288
+ // @__NO_SIDE_EFFECTS__
1289
+ export function _tuple<T extends readonly [schemas.$ZodType, ...schemas.$ZodType[]]>(
1290
+ Class: util.SchemaClass<schemas.$ZodTuple>,
1291
+ items: T,
1292
+ params?: string | $ZodTupleParams
1293
+ ): schemas.$ZodTuple<T, null>;
1294
+ // @__NO_SIDE_EFFECTS__
1295
+ export function _tuple<T extends readonly [schemas.$ZodType, ...schemas.$ZodType[]], Rest extends schemas.$ZodType>(
1296
+ Class: util.SchemaClass<schemas.$ZodTuple>,
1297
+ items: T,
1298
+ rest: Rest,
1299
+ params?: string | $ZodTupleParams
1300
+ ): schemas.$ZodTuple<T, Rest>;
1301
+ // export function _tuple(
1302
+ // Class: util.SchemaClass<schemas.$ZodTuple>,
1303
+ // items: [],
1304
+ // params?: string | $ZodTupleParams
1305
+ // ): schemas.$ZodTuple<[], null>;
1306
+ // @__NO_SIDE_EFFECTS__
1307
+ export function _tuple(
1308
+ Class: util.SchemaClass<schemas.$ZodTuple>,
1309
+ items: schemas.$ZodType[],
1310
+ _paramsOrRest?: string | $ZodTupleParams | schemas.$ZodType,
1311
+ _params?: string | $ZodTupleParams
1312
+ ) {
1313
+ const hasRest = _paramsOrRest instanceof schemas.$ZodType;
1314
+ const params = hasRest ? _params : _paramsOrRest;
1315
+ const rest = hasRest ? _paramsOrRest : null;
1316
+ return new Class({
1317
+ type: "tuple",
1318
+ items,
1319
+ rest,
1320
+ ...util.normalizeParams(params),
1321
+ });
1322
+ }
1323
+
1324
+ // ZodRecord
1325
+ export type $ZodRecordParams = TypeParams<schemas.$ZodRecord, "keyType" | "valueType" | "partial">;
1326
+ // @__NO_SIDE_EFFECTS__
1327
+ export function _record<Key extends schemas.$ZodRecordKey, Value extends schemas.$ZodObject>(
1328
+ Class: util.SchemaClass<schemas.$ZodRecord>,
1329
+ keyType: Key,
1330
+ valueType: Value,
1331
+ params?: string | $ZodRecordParams
1332
+ ): schemas.$ZodRecord<Key, Value> {
1333
+ return new Class({
1334
+ type: "record",
1335
+ keyType,
1336
+ valueType,
1337
+ ...util.normalizeParams(params),
1338
+ }) as any;
1339
+ }
1340
+
1341
+ // ZodMap
1342
+ export type $ZodMapParams = TypeParams<schemas.$ZodMap, "keyType" | "valueType">;
1343
+ // @__NO_SIDE_EFFECTS__
1344
+ export function _map<Key extends schemas.$ZodObject, Value extends schemas.$ZodObject>(
1345
+ Class: util.SchemaClass<schemas.$ZodMap>,
1346
+ keyType: Key,
1347
+ valueType: Value,
1348
+ params?: string | $ZodMapParams
1349
+ ): schemas.$ZodMap<Key, Value> {
1350
+ return new Class({
1351
+ type: "map",
1352
+ keyType,
1353
+ valueType,
1354
+ ...util.normalizeParams(params),
1355
+ }) as any;
1356
+ }
1357
+
1358
+ // ZodSet
1359
+ export type $ZodSetParams = TypeParams<schemas.$ZodSet, "valueType">;
1360
+ // @__NO_SIDE_EFFECTS__
1361
+ export function _set<Value extends schemas.$ZodObject>(
1362
+ Class: util.SchemaClass<schemas.$ZodSet>,
1363
+ valueType: Value,
1364
+ params?: string | $ZodSetParams
1365
+ ): schemas.$ZodSet<Value> {
1366
+ return new Class({
1367
+ type: "set",
1368
+ valueType,
1369
+ ...util.normalizeParams(params),
1370
+ }) as any;
1371
+ }
1372
+
1373
+ // ZodEnum
1374
+ export type $ZodEnumParams = TypeParams<schemas.$ZodEnum, "entries">;
1375
+ // @__NO_SIDE_EFFECTS__
1376
+ export function _enum<const T extends string[]>(
1377
+ Class: util.SchemaClass<schemas.$ZodEnum>,
1378
+ values: T,
1379
+ params?: string | $ZodEnumParams
1380
+ ): schemas.$ZodEnum<util.ToEnum<T[number]>>;
1381
+ // @__NO_SIDE_EFFECTS__
1382
+ export function _enum<T extends util.EnumLike>(
1383
+ Class: util.SchemaClass<schemas.$ZodEnum>,
1384
+ entries: T,
1385
+ params?: string | $ZodEnumParams
1386
+ ): schemas.$ZodEnum<T>;
1387
+ // @__NO_SIDE_EFFECTS__
1388
+ export function _enum(Class: util.SchemaClass<schemas.$ZodEnum>, values: any, params?: string | $ZodEnumParams) {
1389
+ const entries: any = Array.isArray(values) ? Object.fromEntries(values.map((v) => [v, v])) : values;
1390
+ // if (Array.isArray(values)) {
1391
+ // for (const value of values) {
1392
+ // entries[value] = value;
1393
+ // }
1394
+ // } else {
1395
+ // Object.assign(entries, values);
1396
+ // }
1397
+ // const entries: util.EnumLike = {};
1398
+ // for (const val of values) {
1399
+ // entries[val] = val;
1400
+ // }
1401
+
1402
+ return new Class({
1403
+ type: "enum",
1404
+ entries,
1405
+ ...util.normalizeParams(params),
1406
+ }) as any;
1407
+ }
1408
+
1409
+ // @__NO_SIDE_EFFECTS__
1410
+ /** @deprecated This API has been merged into `z.enum()`. Use `z.enum()` instead.
1411
+ *
1412
+ * ```ts
1413
+ * enum Colors { red, green, blue }
1414
+ * z.enum(Colors);
1415
+ * ```
1416
+ */
1417
+ export function _nativeEnum<T extends util.EnumLike>(
1418
+ Class: util.SchemaClass<schemas.$ZodEnum>,
1419
+ entries: T,
1420
+ params?: string | $ZodEnumParams
1421
+ ): schemas.$ZodEnum<T> {
1422
+ return new Class({
1423
+ type: "enum",
1424
+ entries,
1425
+ ...util.normalizeParams(params),
1426
+ }) as any;
1427
+ }
1428
+
1429
+ // ZodLiteral
1430
+ export type $ZodLiteralParams = TypeParams<schemas.$ZodLiteral, "values">;
1431
+ export function _literal<const T extends Array<util.Literal>>(
1432
+ Class: util.SchemaClass<schemas.$ZodLiteral>,
1433
+ value: T,
1434
+ params?: string | $ZodLiteralParams
1435
+ ): schemas.$ZodLiteral<T[number]>;
1436
+ export function _literal<const T extends util.Literal>(
1437
+ Class: util.SchemaClass<schemas.$ZodLiteral>,
1438
+ value: T,
1439
+ params?: string | $ZodLiteralParams
1440
+ ): schemas.$ZodLiteral<T>;
1441
+ // @__NO_SIDE_EFFECTS__
1442
+ export function _literal(Class: util.SchemaClass<schemas.$ZodLiteral>, value: any, params: any) {
1443
+ return new Class({
1444
+ type: "literal",
1445
+ values: Array.isArray(value) ? value : [value],
1446
+ ...util.normalizeParams(params),
1447
+ });
1448
+ }
1449
+
1450
+ // ZodFile
1451
+ export type $ZodFileParams = TypeParams<schemas.$ZodFile>;
1452
+ // @__NO_SIDE_EFFECTS__
1453
+ export function _file(Class: util.SchemaClass<schemas.$ZodFile>, params?: string | $ZodFileParams): schemas.$ZodFile {
1454
+ return new Class({
1455
+ type: "file",
1456
+ ...util.normalizeParams(params),
1457
+ });
1458
+ }
1459
+
1460
+ // ZodTransform
1461
+ export type $ZodTransformParams = TypeParams<schemas.$ZodTransform, "transform">;
1462
+ // @__NO_SIDE_EFFECTS__
1463
+ export function _transform<I = unknown, O = I>(
1464
+ Class: util.SchemaClass<schemas.$ZodTransform>,
1465
+ fn: (input: I, ctx?: schemas.ParsePayload) => O
1466
+ ): schemas.$ZodTransform<Awaited<O>, I> {
1467
+ return new Class({
1468
+ type: "transform",
1469
+ transform: fn as any,
1470
+ }) as any;
1471
+ }
1472
+
1473
+ // ZodOptional
1474
+ export type $ZodOptionalParams = TypeParams<schemas.$ZodOptional, "innerType">;
1475
+ // @__NO_SIDE_EFFECTS__
1476
+ export function _optional<T extends schemas.$ZodObject>(
1477
+ Class: util.SchemaClass<schemas.$ZodOptional>,
1478
+ innerType: T
1479
+ ): schemas.$ZodOptional<T> {
1480
+ return new Class({
1481
+ type: "optional",
1482
+ innerType,
1483
+ }) as any;
1484
+ }
1485
+
1486
+ // ZodNullable
1487
+ export type $ZodNullableParams = TypeParams<schemas.$ZodNullable, "innerType">;
1488
+ // @__NO_SIDE_EFFECTS__
1489
+ export function _nullable<T extends schemas.$ZodObject>(
1490
+ Class: util.SchemaClass<schemas.$ZodNullable>,
1491
+ innerType: T
1492
+ ): schemas.$ZodNullable<T> {
1493
+ return new Class({
1494
+ type: "nullable",
1495
+ innerType,
1496
+ }) as any;
1497
+ }
1498
+
1499
+ // ZodDefault
1500
+ export type $ZodDefaultParams = TypeParams<schemas.$ZodDefault, "innerType" | "defaultValue">;
1501
+ // @__NO_SIDE_EFFECTS__
1502
+ export function _default<T extends schemas.$ZodObject>(
1503
+ Class: util.SchemaClass<schemas.$ZodDefault>,
1504
+ innerType: T,
1505
+ defaultValue: util.NoUndefined<core.output<T>> | (() => util.NoUndefined<core.output<T>>)
1506
+ ): schemas.$ZodDefault<T> {
1507
+ return new Class({
1508
+ type: "default",
1509
+ innerType,
1510
+ get defaultValue() {
1511
+ return typeof defaultValue === "function" ? (defaultValue as Function)() : util.shallowClone(defaultValue);
1512
+ },
1513
+ }) as any;
1514
+ }
1515
+
1516
+ // ZodNonOptional
1517
+ export type $ZodNonOptionalParams = TypeParams<schemas.$ZodNonOptional, "innerType">;
1518
+ // @__NO_SIDE_EFFECTS__
1519
+ export function _nonoptional<T extends schemas.$ZodObject>(
1520
+ Class: util.SchemaClass<schemas.$ZodNonOptional>,
1521
+ innerType: T,
1522
+ params?: string | $ZodNonOptionalParams
1523
+ ): schemas.$ZodNonOptional<T> {
1524
+ return new Class({
1525
+ type: "nonoptional",
1526
+ innerType,
1527
+ ...util.normalizeParams(params),
1528
+ }) as any;
1529
+ }
1530
+
1531
+ // ZodSuccess
1532
+ export type $ZodSuccessParams = TypeParams<schemas.$ZodSuccess, "innerType">;
1533
+ // @__NO_SIDE_EFFECTS__
1534
+ export function _success<T extends schemas.$ZodObject>(
1535
+ Class: util.SchemaClass<schemas.$ZodSuccess>,
1536
+ innerType: T
1537
+ ): schemas.$ZodSuccess<T> {
1538
+ return new Class({
1539
+ type: "success",
1540
+ innerType,
1541
+ }) as any;
1542
+ }
1543
+
1544
+ // ZodCatch
1545
+ export type $ZodCatchParams = TypeParams<schemas.$ZodCatch, "innerType" | "catchValue">;
1546
+ // @__NO_SIDE_EFFECTS__
1547
+ export function _catch<T extends schemas.$ZodObject>(
1548
+ Class: util.SchemaClass<schemas.$ZodCatch>,
1549
+ innerType: T,
1550
+ catchValue: core.output<T> | ((ctx: schemas.$ZodCatchCtx) => core.output<T>)
1551
+ ): schemas.$ZodCatch<T> {
1552
+ return new Class({
1553
+ type: "catch",
1554
+ innerType,
1555
+ catchValue: (typeof catchValue === "function" ? catchValue : util.constantCatch(catchValue)) as any,
1556
+ }) as any;
1557
+ }
1558
+
1559
+ // ZodPipe
1560
+ export type $ZodPipeParams = TypeParams<schemas.$ZodPipe, "in" | "out">;
1561
+ // @__NO_SIDE_EFFECTS__
1562
+ export function _pipe<
1563
+ const A extends schemas.$ZodType,
1564
+ B extends schemas.$ZodType<unknown, core.output<A>> = schemas.$ZodType<unknown, core.output<A>>,
1565
+ >(
1566
+ Class: util.SchemaClass<schemas.$ZodPipe>,
1567
+ in_: A,
1568
+ out: B | schemas.$ZodType<unknown, core.output<A>>
1569
+ ): schemas.$ZodPipe<A, B> {
1570
+ return new Class({
1571
+ type: "pipe",
1572
+ in: in_,
1573
+ out,
1574
+ }) as any;
1575
+ }
1576
+
1577
+ // ZodReadonly
1578
+ export type $ZodReadonlyParams = TypeParams<schemas.$ZodReadonly, "innerType">;
1579
+ // @__NO_SIDE_EFFECTS__
1580
+ export function _readonly<T extends schemas.$ZodObject>(
1581
+ Class: util.SchemaClass<schemas.$ZodReadonly>,
1582
+ innerType: T
1583
+ ): schemas.$ZodReadonly<T> {
1584
+ return new Class({
1585
+ type: "readonly",
1586
+ innerType,
1587
+ }) as any;
1588
+ }
1589
+
1590
+ // ZodTemplateLiteral
1591
+ export type $ZodTemplateLiteralParams = TypeParams<schemas.$ZodTemplateLiteral, "parts">;
1592
+ // @__NO_SIDE_EFFECTS__
1593
+ export function _templateLiteral<const Parts extends schemas.$ZodTemplateLiteralPart[]>(
1594
+ Class: util.SchemaClass<schemas.$ZodTemplateLiteral>,
1595
+ parts: Parts,
1596
+ params?: string | $ZodTemplateLiteralParams
1597
+ ): schemas.$ZodTemplateLiteral<schemas.$PartsToTemplateLiteral<Parts>> {
1598
+ return new Class({
1599
+ type: "template_literal",
1600
+ parts,
1601
+ ...util.normalizeParams(params),
1602
+ }) as any;
1603
+ }
1604
+
1605
+ // ZodLazy
1606
+ export type $ZodLazyParams = TypeParams<schemas.$ZodLazy, "getter">;
1607
+ // @__NO_SIDE_EFFECTS__
1608
+ export function _lazy<T extends schemas.$ZodType>(
1609
+ Class: util.SchemaClass<schemas.$ZodLazy>,
1610
+ getter: () => T
1611
+ ): schemas.$ZodLazy<T> {
1612
+ return new Class({
1613
+ type: "lazy",
1614
+ getter,
1615
+ }) as any;
1616
+ }
1617
+
1618
+ // ZodPromise
1619
+ export type $ZodPromiseParams = TypeParams<schemas.$ZodPromise, "innerType">;
1620
+ // @__NO_SIDE_EFFECTS__
1621
+ export function _promise<T extends schemas.$ZodObject>(
1622
+ Class: util.SchemaClass<schemas.$ZodPromise>,
1623
+ innerType: T
1624
+ ): schemas.$ZodPromise<T> {
1625
+ return new Class({
1626
+ type: "promise",
1627
+ innerType,
1628
+ }) as any;
1629
+ }
1630
+
1631
+ // ZodCustom
1632
+ export type $ZodCustomParams = CheckTypeParams<schemas.$ZodCustom, "fn">;
1633
+ // @__NO_SIDE_EFFECTS__
1634
+ export function _custom<O = unknown, I = O>(
1635
+ Class: util.SchemaClass<schemas.$ZodCustom>,
1636
+ fn: (data: O) => unknown,
1637
+ _params: string | $ZodCustomParams | undefined
1638
+ ): schemas.$ZodCustom<O, I> {
1639
+ const norm = util.normalizeParams(_params);
1640
+ norm.abort ??= true; // default to abort:false
1641
+ const schema = new Class({
1642
+ type: "custom",
1643
+ check: "custom",
1644
+ fn: fn as any,
1645
+ ...norm,
1646
+ });
1647
+
1648
+ return schema as any;
1649
+ }
1650
+
1651
+ // same as _custom but defaults to abort:false
1652
+ // @__NO_SIDE_EFFECTS__
1653
+ export function _refine<O = unknown, I = O>(
1654
+ Class: util.SchemaClass<schemas.$ZodCustom>,
1655
+ fn: (data: O) => unknown,
1656
+ _params: string | $ZodCustomParams | undefined
1657
+ ): schemas.$ZodCustom<O, I> {
1658
+ const schema = new Class({
1659
+ type: "custom",
1660
+ check: "custom",
1661
+ fn: fn as any,
1662
+ ...util.normalizeParams(_params),
1663
+ });
1664
+
1665
+ return schema as any;
1666
+ }
1667
+
1668
+ export type $ZodSuperRefineIssue<T extends errors.$ZodIssueBase = errors.$ZodIssue> = T extends any
1669
+ ? RawIssue<T>
1670
+ : never;
1671
+ type RawIssue<T extends errors.$ZodIssueBase> = T extends any
1672
+ ? util.Flatten<
1673
+ util.MakePartial<T, "message" | "path"> & {
1674
+ /** The schema or check that originated this issue. */
1675
+ readonly inst?: schemas.$ZodType | checks.$ZodCheck;
1676
+ /** If `true`, Zod will execute subsequent checks/refinements instead of immediately aborting */
1677
+ readonly continue?: boolean | undefined;
1678
+ } & Record<string, unknown>
1679
+ >
1680
+ : never;
1681
+
1682
+ export interface $RefinementCtx<T = unknown> extends schemas.ParsePayload<T> {
1683
+ addIssue(arg: string | $ZodSuperRefineIssue): void;
1684
+ }
1685
+
1686
+ export interface $ZodSuperRefineParams {
1687
+ /** If provided, the refinement runs only when this returns `true`. By default, it is skipped if prior parsing produced aborting issues. */
1688
+ when?: ((payload: schemas.ParsePayload) => boolean) | undefined;
1689
+ }
1690
+
1691
+ // @__NO_SIDE_EFFECTS__
1692
+ export function _superRefine<T>(
1693
+ fn: (arg: T, payload: $RefinementCtx<T>) => void | Promise<void>,
1694
+ params?: $ZodSuperRefineParams
1695
+ ): checks.$ZodCheck<T> {
1696
+ const ch = _check<T>((payload) => {
1697
+ (payload as $RefinementCtx).addIssue = (issue) => {
1698
+ if (typeof issue === "string") {
1699
+ payload.issues.push(util.issue(issue, payload.value, ch._zod.def));
1700
+ } else {
1701
+ // for Zod 3 backwards compatibility
1702
+ const _issue: any = issue;
1703
+ if (_issue.fatal) _issue.continue = false;
1704
+ _issue.code ??= "custom";
1705
+ if (!("input" in _issue)) _issue.input = payload.value;
1706
+ _issue.inst ??= ch;
1707
+ _issue.continue ??= !ch._zod.def.abort; // abort is always undefined, so this is always true...
1708
+ payload.issues.push(util.issue(_issue));
1709
+ }
1710
+ };
1711
+
1712
+ return fn(payload.value, payload as $RefinementCtx<T>);
1713
+ }, params);
1714
+ return ch;
1715
+ }
1716
+
1717
+ // @__NO_SIDE_EFFECTS__
1718
+ export function _check<O = unknown>(fn: schemas.CheckFn<O>, params?: string | $ZodCustomParams): checks.$ZodCheck<O> {
1719
+ const ch = new checks.$ZodCheck({
1720
+ check: "custom",
1721
+ ...util.normalizeParams(params),
1722
+ });
1723
+
1724
+ ch._zod.check = fn;
1725
+ return ch;
1726
+ }
1727
+
1728
+ // @__NO_SIDE_EFFECTS__
1729
+ export function describe<T>(description: string): checks.$ZodCheck<T> {
1730
+ const ch = new checks.$ZodCheck({ check: "describe" });
1731
+ ch._zod.onattach = [
1732
+ (inst) => {
1733
+ const existing = registries.globalRegistry.get(inst) ?? {};
1734
+ registries.globalRegistry.add(inst, { ...existing, description });
1735
+ },
1736
+ ];
1737
+ ch._zod.check = () => {}; // no-op check
1738
+ return ch;
1739
+ }
1740
+
1741
+ // @__NO_SIDE_EFFECTS__
1742
+ export function meta<T>(metadata: registries.GlobalMeta): checks.$ZodCheck<T> {
1743
+ const ch = new checks.$ZodCheck({ check: "meta" });
1744
+ ch._zod.onattach = [
1745
+ (inst) => {
1746
+ const existing = registries.globalRegistry.get(inst) ?? {};
1747
+ registries.globalRegistry.add(inst, { ...existing, ...metadata });
1748
+ },
1749
+ ];
1750
+ ch._zod.check = () => {}; // no-op check
1751
+ return ch;
1752
+ }
1753
+
1754
+ // export type $ZodCustomParams = CheckTypeParams<schemas.$ZodCustom, "fn">
1755
+
1756
+ ///////// STRINGBOOL /////////
1757
+
1758
+ // stringbool
1759
+ export interface $ZodStringBoolParams extends TypeParams {
1760
+ truthy?: string[];
1761
+ falsy?: string[];
1762
+ /**
1763
+ * Options: `"sensitive"`, `"insensitive"`
1764
+ *
1765
+ * @default `"insensitive"`
1766
+ */
1767
+ case?: "sensitive" | "insensitive" | undefined;
1768
+ }
1769
+
1770
+ // @__NO_SIDE_EFFECTS__
1771
+ export function _stringbool(
1772
+ Classes: {
1773
+ Codec?: typeof schemas.$ZodCodec;
1774
+ Boolean?: typeof schemas.$ZodBoolean;
1775
+ String?: typeof schemas.$ZodString;
1776
+ },
1777
+ _params?: string | $ZodStringBoolParams
1778
+ ): schemas.$ZodCodec<schemas.$ZodString, schemas.$ZodBoolean> {
1779
+ const params = util.normalizeParams(_params);
1780
+
1781
+ let truthyArray = params.truthy ?? ["true", "1", "yes", "on", "y", "enabled"];
1782
+ let falsyArray = params.falsy ?? ["false", "0", "no", "off", "n", "disabled"];
1783
+ if (params.case !== "sensitive") {
1784
+ truthyArray = truthyArray.map((v) => (typeof v === "string" ? v.toLowerCase() : v));
1785
+ falsyArray = falsyArray.map((v) => (typeof v === "string" ? v.toLowerCase() : v));
1786
+ }
1787
+
1788
+ const truthySet = new Set(truthyArray);
1789
+ const falsySet = new Set(falsyArray);
1790
+
1791
+ const _Codec = Classes.Codec ?? schemas.$ZodCodec;
1792
+ const _Boolean = Classes.Boolean ?? schemas.$ZodBoolean;
1793
+ const _String = Classes.String ?? schemas.$ZodString;
1794
+
1795
+ const stringSchema = new _String({ type: "string", error: params.error });
1796
+ const booleanSchema = new _Boolean({ type: "boolean", error: params.error });
1797
+
1798
+ const codec = new _Codec({
1799
+ type: "pipe",
1800
+ in: stringSchema as any,
1801
+ out: booleanSchema as any,
1802
+ transform: ((input: string, payload: schemas.ParsePayload<string>) => {
1803
+ let data: string = input;
1804
+ if (params.case !== "sensitive") data = data.toLowerCase();
1805
+ if (truthySet.has(data)) {
1806
+ return true;
1807
+ } else if (falsySet.has(data)) {
1808
+ return false;
1809
+ } else {
1810
+ payload.issues.push({
1811
+ code: "invalid_value",
1812
+ expected: "stringbool",
1813
+ values: [...truthySet, ...falsySet],
1814
+ input: payload.value,
1815
+ inst: codec,
1816
+ continue: false,
1817
+ });
1818
+ return {} as never;
1819
+ }
1820
+ }) as any,
1821
+ reverseTransform: ((input: boolean, _payload: schemas.ParsePayload<boolean>) => {
1822
+ if (input === true) {
1823
+ return truthyArray[0] || "true";
1824
+ } else {
1825
+ return falsyArray[0] || "false";
1826
+ }
1827
+ }) as any,
1828
+ error: params.error,
1829
+ }) as any;
1830
+
1831
+ codec._zod.bag.truthy = truthyArray;
1832
+ codec._zod.bag.falsy = falsyArray;
1833
+ codec._zod.bag.case = params.case ?? "insensitive";
1834
+
1835
+ return codec;
1836
+ }
1837
+
1838
+ // @__NO_SIDE_EFFECTS__
1839
+ export function _stringFormat<Format extends string>(
1840
+ Class: typeof schemas.$ZodCustomStringFormat,
1841
+ format: Format,
1842
+ fnOrRegex: ((arg: string) => util.MaybeAsync<unknown>) | RegExp,
1843
+ _params: string | $ZodStringFormatParams = {}
1844
+ ): schemas.$ZodCustomStringFormat<Format> {
1845
+ const params = util.normalizeParams(_params);
1846
+ const def: schemas.$ZodCustomStringFormatDef = {
1847
+ check: "string_format",
1848
+ type: "string",
1849
+ format,
1850
+ fn: typeof fnOrRegex === "function" ? fnOrRegex : (val) => fnOrRegex.test(val),
1851
+ ...params,
1852
+ };
1853
+ if (fnOrRegex instanceof RegExp) {
1854
+ def.pattern = fnOrRegex;
1855
+ }
1856
+
1857
+ const inst = new Class(def);
1858
+ return inst as any;
1859
+ }