@wopee-io/wopee.wdio 6.0.0 → 6.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 (719) hide show
  1. package/build/domain/model/config.interface.d.ts +15 -60
  2. package/build/domain/model/config.interface.d.ts.map +1 -1
  3. package/build/domain/service/wopeeService.d.ts.map +1 -1
  4. package/build/domain/service/wopeeService.js +2 -0
  5. package/build/domain/service/wopeeService.js.map +1 -1
  6. package/build/utils/versionMetadata.js +2 -2
  7. package/node_modules/@autonomous-testing/sdk/build/core/domain/entities/createIntegrationScenarioPayload.interface.d.ts +1 -7
  8. package/node_modules/@autonomous-testing/sdk/build/core/domain/entities/createIntegrationStepPayload.interface.d.ts +1 -23
  9. package/node_modules/@autonomous-testing/sdk/build/core/domain/entities/createIntegrationSuitePayload.interface.d.ts +1 -5
  10. package/node_modules/@autonomous-testing/sdk/build/core/domain/entities/integrationScenario.interface.d.ts +1 -7
  11. package/node_modules/@autonomous-testing/sdk/build/core/domain/entities/integrationStep.interface.d.ts +3 -11
  12. package/node_modules/@autonomous-testing/sdk/build/core/domain/entities/integrationStep.interface.js +1 -1
  13. package/node_modules/@autonomous-testing/sdk/build/core/domain/entities/integrationSuite.interface.d.ts +1 -7
  14. package/node_modules/@autonomous-testing/sdk/build/core/domain/entities/visualAssert.interface.d.ts +3 -11
  15. package/node_modules/@autonomous-testing/sdk/build/core/domain/entities/visualAssert.interface.js +1 -1
  16. package/node_modules/@autonomous-testing/sdk/build/core/domain/entities/visualAssertPayload.interface.d.ts +1 -9
  17. package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/apolloAdapter/adapter.d.ts +9 -2
  18. package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/apolloAdapter/adapter.js +30 -3
  19. package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/apolloAdapter/axios-config.d.ts +15 -1
  20. package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/apolloAdapter/axios-config.js +17 -1
  21. package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/apolloAdapter/deadline.d.ts +36 -0
  22. package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/apolloAdapter/deadline.js +63 -0
  23. package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/apolloAdapter/errors.js +10 -0
  24. package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/apolloAdapter/factories.js +1 -0
  25. package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/apolloAdapter/index.d.ts +2 -2
  26. package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/apolloAdapter/interface.d.ts +41 -224
  27. package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/apolloAdapter/interface.js +16 -8
  28. package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/apolloAdapter/retry.d.ts +52 -0
  29. package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/apolloAdapter/retry.js +122 -0
  30. package/node_modules/@autonomous-testing/sdk/build/infrastructure/services/apolloAdapterService/apolloAdapterService.js +3 -7
  31. package/node_modules/@autonomous-testing/sdk/build/infrastructure/services/apolloAdapterService/apolloService.interface.d.ts +2 -2
  32. package/node_modules/@autonomous-testing/sdk/build/infrastructure/services/loggerService/loggerOptions.interface.d.ts +5 -10
  33. package/node_modules/@autonomous-testing/sdk/build/infrastructure/services/loggerService/loggerOptions.interface.js +2 -1
  34. package/node_modules/@autonomous-testing/sdk/build/shared/metadata/versionMetadata.js +2 -2
  35. package/node_modules/@autonomous-testing/sdk/build/shared/utils/zodHelper/zodHelper.d.ts +10 -0
  36. package/node_modules/@autonomous-testing/sdk/build/shared/utils/zodHelper/zodHelper.js +8 -0
  37. package/node_modules/@autonomous-testing/sdk/package.json +2 -2
  38. package/node_modules/follow-redirects/README.md +27 -1
  39. package/node_modules/follow-redirects/index.js +11 -6
  40. package/node_modules/follow-redirects/package.json +1 -1
  41. package/node_modules/zod/README.md +34 -24
  42. package/node_modules/zod/compile.cjs +96 -0
  43. package/node_modules/zod/compile.d.cts +1 -0
  44. package/node_modules/zod/compile.d.ts +1 -0
  45. package/node_modules/zod/compile.js +52 -0
  46. package/node_modules/zod/index.cjs +22 -3
  47. package/node_modules/zod/index.d.cts +3 -4
  48. package/node_modules/zod/index.d.ts +3 -4
  49. package/node_modules/zod/index.js +7 -4
  50. package/node_modules/zod/locales/index.cjs +36 -0
  51. package/node_modules/zod/locales/index.d.cts +1 -0
  52. package/node_modules/zod/locales/index.d.ts +1 -0
  53. package/node_modules/zod/locales/index.js +1 -0
  54. package/node_modules/zod/locales/package.json +7 -0
  55. package/node_modules/zod/mini/index.cjs +51 -0
  56. package/node_modules/zod/mini/index.d.cts +3 -0
  57. package/node_modules/zod/mini/index.d.ts +3 -0
  58. package/node_modules/zod/mini/index.js +3 -0
  59. package/node_modules/zod/mini/package.json +7 -0
  60. package/node_modules/zod/package.json +44 -15
  61. package/node_modules/zod/src/compile.ts +56 -0
  62. package/node_modules/zod/src/index.ts +7 -4
  63. package/node_modules/zod/src/locales/index.ts +1 -0
  64. package/node_modules/zod/src/mini/index.ts +3 -0
  65. package/node_modules/zod/src/v3/ZodError.ts +23 -13
  66. package/node_modules/zod/src/v3/helpers/errorUtil.ts +1 -1
  67. package/node_modules/zod/src/v3/tests/all-errors.test.ts +3 -3
  68. package/node_modules/zod/src/v3/tests/complex.test.ts +17 -3
  69. package/node_modules/zod/src/v3/tests/error.test.ts +35 -0
  70. package/node_modules/zod/src/v3/tests/function.test.ts +7 -3
  71. package/node_modules/zod/src/v3/tests/intersection.test.ts +18 -0
  72. package/node_modules/zod/src/v3/tests/language-server.test.ts +1 -2
  73. package/node_modules/zod/src/v3/tests/nan.test.ts +5 -2
  74. package/node_modules/zod/src/v3/tests/object.test.ts +10 -13
  75. package/node_modules/zod/src/v3/tests/partials.test.ts +3 -3
  76. package/node_modules/zod/src/v3/tests/readonly.test.ts +0 -80
  77. package/node_modules/zod/src/v3/tests/string.test.ts +8 -2
  78. package/node_modules/zod/src/v3/types.ts +8 -6
  79. package/node_modules/zod/src/v4/classic/checks.ts +3 -0
  80. package/node_modules/zod/src/v4/classic/compat.ts +30 -18
  81. package/node_modules/zod/src/v4/classic/deep-partial.ts +76 -0
  82. package/node_modules/zod/src/v4/classic/errors.ts +61 -39
  83. package/node_modules/zod/src/v4/classic/external.ts +18 -11
  84. package/node_modules/zod/src/v4/classic/from-json-schema.ts +944 -0
  85. package/node_modules/zod/src/v4/classic/in-out.ts +45 -0
  86. package/node_modules/zod/src/v4/classic/index.ts +2 -2
  87. package/node_modules/zod/src/v4/classic/iso.ts +2 -72
  88. package/node_modules/zod/src/v4/classic/parse.ts +57 -2
  89. package/node_modules/zod/src/v4/classic/schemas.ts +1258 -375
  90. package/node_modules/zod/src/v4/classic/tests/apply.test.ts +86 -0
  91. package/node_modules/zod/src/v4/classic/tests/array.test.ts +35 -8
  92. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +192 -0
  93. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +36 -1
  94. package/node_modules/zod/src/v4/classic/tests/brand.test.ts +43 -0
  95. package/node_modules/zod/src/v4/classic/tests/catch.test.ts +357 -5
  96. package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +572 -0
  97. package/node_modules/zod/src/v4/classic/tests/codec.test.ts +704 -0
  98. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +27 -5
  99. package/node_modules/zod/src/v4/classic/tests/credit-card.test.ts +76 -0
  100. package/node_modules/zod/src/v4/classic/tests/cyclic-data.test.ts +985 -0
  101. package/node_modules/zod/src/v4/classic/tests/date.test.ts +67 -6
  102. package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +37 -17
  103. package/node_modules/zod/src/v4/classic/tests/deep-partial.test.ts +380 -0
  104. package/node_modules/zod/src/v4/classic/tests/default-locale.test.ts +32 -0
  105. package/node_modules/zod/src/v4/classic/tests/default.test.ts +142 -0
  106. package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
  107. package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +221 -0
  108. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +333 -10
  109. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +20 -0
  110. package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +394 -4
  111. package/node_modules/zod/src/v4/classic/tests/error.test.ts +403 -6
  112. package/node_modules/zod/src/v4/classic/tests/file.test.ts +9 -4
  113. package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +4 -0
  114. package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
  115. package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +1467 -0
  116. package/node_modules/zod/src/v4/classic/tests/function.test.ts +160 -37
  117. package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +32 -0
  118. package/node_modules/zod/src/v4/classic/tests/hash.test.ts +67 -0
  119. package/node_modules/zod/src/v4/classic/tests/iban.test.ts +81 -0
  120. package/node_modules/zod/src/v4/classic/tests/in-out.test.ts +159 -0
  121. package/node_modules/zod/src/v4/classic/tests/index.test.ts +134 -5
  122. package/node_modules/zod/src/v4/classic/tests/instance-footprint.test.ts +319 -0
  123. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +93 -0
  124. package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +168 -5
  125. package/node_modules/zod/src/v4/classic/tests/issue-schema.test.ts +215 -0
  126. package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +39 -0
  127. package/node_modules/zod/src/v4/classic/tests/json.test.ts +4 -3
  128. package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +36 -1
  129. package/node_modules/zod/src/v4/classic/tests/literal.test.ts +37 -1
  130. package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +29 -0
  131. package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +24 -0
  132. package/node_modules/zod/src/v4/classic/tests/map.test.ts +153 -0
  133. package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +15 -0
  134. package/node_modules/zod/src/v4/classic/tests/number.test.ts +161 -7
  135. package/node_modules/zod/src/v4/classic/tests/object.test.ts +457 -14
  136. package/node_modules/zod/src/v4/classic/tests/optin-ladder.test.ts +235 -0
  137. package/node_modules/zod/src/v4/classic/tests/optional.test.ts +255 -12
  138. package/node_modules/zod/src/v4/classic/tests/partial.test.ts +350 -0
  139. package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +89 -5
  140. package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +25 -5
  141. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +107 -0
  142. package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +44 -0
  143. package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +74 -21
  144. package/node_modules/zod/src/v4/classic/tests/promise.test.ts +1 -1
  145. package/node_modules/zod/src/v4/classic/tests/properties.test.ts +141 -0
  146. package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +1 -69
  147. package/node_modules/zod/src/v4/classic/tests/record.test.ts +553 -10
  148. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +352 -1
  149. package/node_modules/zod/src/v4/classic/tests/redos.test.ts +68 -0
  150. package/node_modules/zod/src/v4/classic/tests/refine.test.ts +229 -68
  151. package/node_modules/zod/src/v4/classic/tests/registries.test.ts +40 -1
  152. package/node_modules/zod/src/v4/classic/tests/set.test.ts +20 -3
  153. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +96 -0
  154. package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +16 -0
  155. package/node_modules/zod/src/v4/classic/tests/string.test.ts +568 -9
  156. package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +58 -0
  157. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +70 -16
  158. package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
  159. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +3409 -990
  160. package/node_modules/zod/src/v4/classic/tests/transform.test.ts +128 -0
  161. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +353 -5
  162. package/node_modules/zod/src/v4/classic/tests/union.test.ts +219 -3
  163. package/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
  164. package/node_modules/zod/src/v4/classic/tests/validate.test.ts +645 -0
  165. package/node_modules/zod/src/v4/classic/tests/validations.test.ts +2 -2
  166. package/node_modules/zod/src/v4/core/api.ts +442 -161
  167. package/node_modules/zod/src/v4/core/checks.ts +134 -151
  168. package/node_modules/zod/src/v4/core/compile.ts +2322 -0
  169. package/node_modules/zod/src/v4/core/core.ts +146 -50
  170. package/node_modules/zod/src/v4/core/doc.ts +18 -10
  171. package/node_modules/zod/src/v4/core/errors.ts +221 -102
  172. package/node_modules/zod/src/v4/core/index.ts +5 -1
  173. package/node_modules/zod/src/v4/core/json-schema-generator.ts +131 -0
  174. package/node_modules/zod/src/v4/core/json-schema-processors.ts +934 -0
  175. package/node_modules/zod/src/v4/core/json-schema.ts +9 -4
  176. package/node_modules/zod/src/v4/core/memoizer.ts +331 -0
  177. package/node_modules/zod/src/v4/core/parse.ts +252 -37
  178. package/node_modules/zod/src/v4/core/regexes.ts +112 -30
  179. package/node_modules/zod/src/v4/core/registries.ts +19 -10
  180. package/node_modules/zod/src/v4/core/schemas.ts +1972 -588
  181. package/node_modules/zod/src/v4/core/standard-schema.ts +114 -19
  182. package/node_modules/zod/src/v4/core/tests/cached.test.ts +54 -0
  183. package/node_modules/zod/src/v4/core/tests/compile-differential.test.ts +1004 -0
  184. package/node_modules/zod/src/v4/core/tests/compile-generative.test.ts +445 -0
  185. package/node_modules/zod/src/v4/core/tests/compile-global.test.ts +89 -0
  186. package/node_modules/zod/src/v4/core/tests/compile-off-by-default.test.ts +26 -0
  187. package/node_modules/zod/src/v4/core/tests/compile-stats.test.ts +34 -0
  188. package/node_modules/zod/src/v4/core/tests/compile.test.ts +2036 -0
  189. package/node_modules/zod/src/v4/core/tests/email-regex.test.ts +140 -0
  190. package/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
  191. package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +214 -0
  192. package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +1 -1
  193. package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +180 -0
  194. package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +72 -0
  195. package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
  196. package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +163 -0
  197. package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
  198. package/node_modules/zod/src/v4/core/tests/locales/parity.test.ts +42 -0
  199. package/node_modules/zod/src/v4/core/tests/locales/tg.test.ts +85 -0
  200. package/node_modules/zod/src/v4/core/tests/locales/tk.test.ts +69 -0
  201. package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +2 -2
  202. package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +105 -0
  203. package/node_modules/zod/src/v4/core/tests/polyfill-collision.test.ts +46 -0
  204. package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +125 -0
  205. package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
  206. package/node_modules/zod/src/v4/core/tests/treeshake.test.ts +51 -0
  207. package/node_modules/zod/src/v4/core/tests/url-no-canparse.test.ts +133 -0
  208. package/node_modules/zod/src/v4/core/to-json-schema.ts +706 -826
  209. package/node_modules/zod/src/v4/core/util.ts +675 -157
  210. package/node_modules/zod/src/v4/core/versions.ts +2 -2
  211. package/node_modules/zod/src/v4/core/visit.ts +193 -0
  212. package/node_modules/zod/src/v4/index.ts +3 -3
  213. package/node_modules/zod/src/v4/locales/ar.ts +22 -27
  214. package/node_modules/zod/src/v4/locales/az.ts +22 -27
  215. package/node_modules/zod/src/v4/locales/be.ts +31 -27
  216. package/node_modules/zod/src/v4/locales/bg.ts +133 -0
  217. package/node_modules/zod/src/v4/locales/bn.ts +123 -0
  218. package/node_modules/zod/src/v4/locales/ca.ts +22 -28
  219. package/node_modules/zod/src/v4/locales/ckb.ts +140 -0
  220. package/node_modules/zod/src/v4/locales/cs.ts +26 -45
  221. package/node_modules/zod/src/v4/locales/da.ts +128 -0
  222. package/node_modules/zod/src/v4/locales/de.ts +24 -27
  223. package/node_modules/zod/src/v4/locales/el.ts +124 -0
  224. package/node_modules/zod/src/v4/locales/en.ts +38 -29
  225. package/node_modules/zod/src/v4/locales/eo.ts +25 -27
  226. package/node_modules/zod/src/v4/locales/es.ts +53 -33
  227. package/node_modules/zod/src/v4/locales/fa.ts +24 -27
  228. package/node_modules/zod/src/v4/locales/fi.ts +22 -27
  229. package/node_modules/zod/src/v4/locales/fr-CA.ts +22 -27
  230. package/node_modules/zod/src/v4/locales/fr.ts +58 -43
  231. package/node_modules/zod/src/v4/locales/gu.ts +123 -0
  232. package/node_modules/zod/src/v4/locales/he.ts +208 -80
  233. package/node_modules/zod/src/v4/locales/hi.ts +126 -0
  234. package/node_modules/zod/src/v4/locales/hr.ts +135 -0
  235. package/node_modules/zod/src/v4/locales/hu.ts +24 -28
  236. package/node_modules/zod/src/v4/locales/hy.ts +175 -0
  237. package/node_modules/zod/src/v4/locales/id.ts +22 -27
  238. package/node_modules/zod/src/v4/locales/index.ts +24 -0
  239. package/node_modules/zod/src/v4/locales/is.ts +124 -0
  240. package/node_modules/zod/src/v4/locales/it.ts +24 -28
  241. package/node_modules/zod/src/v4/locales/ja.ts +24 -27
  242. package/node_modules/zod/src/v4/locales/ka.ts +128 -0
  243. package/node_modules/zod/src/v4/locales/kh.ts +3 -122
  244. package/node_modules/zod/src/v4/locales/km.ts +124 -0
  245. package/node_modules/zod/src/v4/locales/kn.ts +126 -0
  246. package/node_modules/zod/src/v4/locales/ko.ts +22 -27
  247. package/node_modules/zod/src/v4/locales/lt.ts +243 -0
  248. package/node_modules/zod/src/v4/locales/mk.ts +24 -28
  249. package/node_modules/zod/src/v4/locales/ms.ts +23 -27
  250. package/node_modules/zod/src/v4/locales/ne.ts +128 -0
  251. package/node_modules/zod/src/v4/locales/nl.ts +37 -37
  252. package/node_modules/zod/src/v4/locales/nn.ts +121 -0
  253. package/node_modules/zod/src/v4/locales/no.ts +26 -29
  254. package/node_modules/zod/src/v4/locales/ota.ts +25 -28
  255. package/node_modules/zod/src/v4/locales/pl.ts +24 -27
  256. package/node_modules/zod/src/v4/locales/ps.ts +24 -26
  257. package/node_modules/zod/src/v4/locales/pt-BR.ts +161 -0
  258. package/node_modules/zod/src/v4/locales/pt.ts +107 -71
  259. package/node_modules/zod/src/v4/locales/ro.ts +132 -0
  260. package/node_modules/zod/src/v4/locales/ru.ts +31 -27
  261. package/node_modules/zod/src/v4/locales/sk.ts +123 -0
  262. package/node_modules/zod/src/v4/locales/sl.ts +24 -27
  263. package/node_modules/zod/src/v4/locales/sv.ts +26 -29
  264. package/node_modules/zod/src/v4/locales/ta.ts +25 -27
  265. package/node_modules/zod/src/v4/locales/tg.ts +135 -0
  266. package/node_modules/zod/src/v4/locales/th.ts +25 -27
  267. package/node_modules/zod/src/v4/locales/tk.ts +113 -0
  268. package/node_modules/zod/src/v4/locales/tr.ts +22 -27
  269. package/node_modules/zod/src/v4/locales/ua.ts +3 -122
  270. package/node_modules/zod/src/v4/locales/uk.ts +122 -0
  271. package/node_modules/zod/src/v4/locales/ur.ts +25 -27
  272. package/node_modules/zod/src/v4/locales/uz.ts +120 -0
  273. package/node_modules/zod/src/v4/locales/vi.ts +24 -27
  274. package/node_modules/zod/src/v4/locales/yo.ts +129 -0
  275. package/node_modules/zod/src/v4/locales/zh-CN.ts +25 -27
  276. package/node_modules/zod/src/v4/locales/zh-TW.ts +22 -27
  277. package/node_modules/zod/src/v4/mini/checks.ts +1 -0
  278. package/node_modules/zod/src/v4/mini/coerce.ts +5 -0
  279. package/node_modules/zod/src/v4/mini/deep-partial.ts +73 -0
  280. package/node_modules/zod/src/v4/mini/external.ts +15 -3
  281. package/node_modules/zod/src/v4/mini/in-out.ts +45 -0
  282. package/node_modules/zod/src/v4/mini/iso.ts +8 -4
  283. package/node_modules/zod/src/v4/mini/parse.ts +16 -1
  284. package/node_modules/zod/src/v4/mini/schemas.ts +586 -114
  285. package/node_modules/zod/src/v4/mini/tests/apply.test.ts +57 -0
  286. package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +63 -2
  287. package/node_modules/zod/src/v4/mini/tests/brand.test.ts +43 -0
  288. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +14 -0
  289. package/node_modules/zod/src/v4/mini/tests/codec.test.ts +582 -0
  290. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +12 -18
  291. package/node_modules/zod/src/v4/mini/tests/cyclic-data.test.ts +84 -0
  292. package/node_modules/zod/src/v4/mini/tests/deep-partial.test.ts +54 -0
  293. package/node_modules/zod/src/v4/mini/tests/error.test.ts +24 -5
  294. package/node_modules/zod/src/v4/mini/tests/functions.test.ts +7 -36
  295. package/node_modules/zod/src/v4/mini/tests/index.test.ts +281 -6
  296. package/node_modules/zod/src/v4/mini/tests/number.test.ts +15 -1
  297. package/node_modules/zod/src/v4/mini/tests/object.test.ts +116 -9
  298. package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +1 -1
  299. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +68 -2
  300. package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
  301. package/node_modules/zod/src/v4/mini/tests/string.test.ts +98 -1
  302. package/node_modules/zod/src/v4-mini/index.ts +3 -1
  303. package/node_modules/zod/v3/ZodError.cjs +42 -13
  304. package/node_modules/zod/v3/ZodError.d.cts +6 -6
  305. package/node_modules/zod/v3/ZodError.d.ts +6 -6
  306. package/node_modules/zod/v3/ZodError.js +23 -13
  307. package/node_modules/zod/v3/errors.cjs +19 -0
  308. package/node_modules/zod/v3/external.cjs +19 -0
  309. package/node_modules/zod/v3/helpers/enumUtil.cjs +19 -0
  310. package/node_modules/zod/v3/helpers/errorUtil.cjs +20 -1
  311. package/node_modules/zod/v3/helpers/errorUtil.js +1 -1
  312. package/node_modules/zod/v3/helpers/parseUtil.cjs +19 -0
  313. package/node_modules/zod/v3/helpers/partialUtil.cjs +19 -0
  314. package/node_modules/zod/v3/helpers/typeAliases.cjs +19 -0
  315. package/node_modules/zod/v3/helpers/util.cjs +19 -0
  316. package/node_modules/zod/v3/index.cjs +19 -0
  317. package/node_modules/zod/v3/locales/en.cjs +1 -0
  318. package/node_modules/zod/v3/locales/en.d.cts +1 -1
  319. package/node_modules/zod/v3/package.json +7 -0
  320. package/node_modules/zod/v3/standard-schema.cjs +19 -0
  321. package/node_modules/zod/v3/types.cjs +28 -5
  322. package/node_modules/zod/v3/types.d.cts +4 -1
  323. package/node_modules/zod/v3/types.d.ts +4 -1
  324. package/node_modules/zod/v3/types.js +9 -5
  325. package/node_modules/zod/v4/classic/checks.cjs +22 -1
  326. package/node_modules/zod/v4/classic/checks.d.cts +1 -1
  327. package/node_modules/zod/v4/classic/checks.d.ts +1 -1
  328. package/node_modules/zod/v4/classic/checks.js +1 -1
  329. package/node_modules/zod/v4/classic/coerce.cjs +19 -0
  330. package/node_modules/zod/v4/classic/compat.cjs +24 -1
  331. package/node_modules/zod/v4/classic/compat.d.cts +13 -11
  332. package/node_modules/zod/v4/classic/compat.d.ts +13 -11
  333. package/node_modules/zod/v4/classic/compat.js +4 -0
  334. package/node_modules/zod/v4/classic/deep-partial.cjs +58 -0
  335. package/node_modules/zod/v4/classic/deep-partial.d.cts +14 -0
  336. package/node_modules/zod/v4/classic/deep-partial.d.ts +14 -0
  337. package/node_modules/zod/v4/classic/deep-partial.js +13 -0
  338. package/node_modules/zod/v4/classic/errors.cjs +63 -28
  339. package/node_modules/zod/v4/classic/errors.d.cts +3 -4
  340. package/node_modules/zod/v4/classic/errors.d.ts +3 -4
  341. package/node_modules/zod/v4/classic/errors.js +45 -29
  342. package/node_modules/zod/v4/classic/external.cjs +55 -28
  343. package/node_modules/zod/v4/classic/external.d.cts +8 -2
  344. package/node_modules/zod/v4/classic/external.d.ts +8 -2
  345. package/node_modules/zod/v4/classic/external.js +7 -8
  346. package/node_modules/zod/v4/classic/from-json-schema.cjs +926 -0
  347. package/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
  348. package/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
  349. package/node_modules/zod/v4/classic/from-json-schema.js +881 -0
  350. package/node_modules/zod/v4/classic/in-out.cjs +82 -0
  351. package/node_modules/zod/v4/classic/in-out.d.cts +8 -0
  352. package/node_modules/zod/v4/classic/in-out.d.ts +8 -0
  353. package/node_modules/zod/v4/classic/in-out.js +36 -0
  354. package/node_modules/zod/v4/classic/index.cjs +21 -2
  355. package/node_modules/zod/v4/classic/index.d.cts +1 -2
  356. package/node_modules/zod/v4/classic/index.d.ts +1 -2
  357. package/node_modules/zod/v4/classic/index.js +2 -2
  358. package/node_modules/zod/v4/classic/iso.cjs +30 -22
  359. package/node_modules/zod/v4/classic/iso.d.cts +2 -17
  360. package/node_modules/zod/v4/classic/iso.d.ts +2 -17
  361. package/node_modules/zod/v4/classic/iso.js +2 -17
  362. package/node_modules/zod/v4/classic/package.json +7 -0
  363. package/node_modules/zod/v4/classic/parse.cjs +32 -1
  364. package/node_modules/zod/v4/classic/parse.d.cts +21 -0
  365. package/node_modules/zod/v4/classic/parse.d.ts +21 -0
  366. package/node_modules/zod/v4/classic/parse.js +10 -0
  367. package/node_modules/zod/v4/classic/schemas.cjs +805 -238
  368. package/node_modules/zod/v4/classic/schemas.d.cts +241 -55
  369. package/node_modules/zod/v4/classic/schemas.d.ts +241 -55
  370. package/node_modules/zod/v4/classic/schemas.js +766 -237
  371. package/node_modules/zod/v4/core/api.cjs +284 -54
  372. package/node_modules/zod/v4/core/api.d.cts +133 -82
  373. package/node_modules/zod/v4/core/api.d.ts +133 -82
  374. package/node_modules/zod/v4/core/api.js +255 -54
  375. package/node_modules/zod/v4/core/checks.cjs +100 -130
  376. package/node_modules/zod/v4/core/checks.d.cts +32 -16
  377. package/node_modules/zod/v4/core/checks.d.ts +32 -16
  378. package/node_modules/zod/v4/core/checks.js +80 -129
  379. package/node_modules/zod/v4/core/compile.cjs +1916 -0
  380. package/node_modules/zod/v4/core/compile.d.cts +65 -0
  381. package/node_modules/zod/v4/core/compile.d.ts +65 -0
  382. package/node_modules/zod/v4/core/compile.js +1866 -0
  383. package/node_modules/zod/v4/core/core.cjs +120 -20
  384. package/node_modules/zod/v4/core/core.d.cts +40 -7
  385. package/node_modules/zod/v4/core/core.d.ts +40 -7
  386. package/node_modules/zod/v4/core/core.js +101 -21
  387. package/node_modules/zod/v4/core/doc.cjs +31 -9
  388. package/node_modules/zod/v4/core/doc.d.cts +4 -2
  389. package/node_modules/zod/v4/core/doc.d.ts +4 -2
  390. package/node_modules/zod/v4/core/doc.js +12 -9
  391. package/node_modules/zod/v4/core/errors.cjs +151 -60
  392. package/node_modules/zod/v4/core/errors.d.cts +41 -24
  393. package/node_modules/zod/v4/core/errors.d.ts +41 -24
  394. package/node_modules/zod/v4/core/errors.js +132 -60
  395. package/node_modules/zod/v4/core/index.cjs +28 -2
  396. package/node_modules/zod/v4/core/index.d.cts +5 -1
  397. package/node_modules/zod/v4/core/index.d.ts +5 -1
  398. package/node_modules/zod/v4/core/index.js +5 -1
  399. package/node_modules/zod/v4/core/json-schema-generator.cjs +122 -0
  400. package/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
  401. package/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
  402. package/node_modules/zod/v4/core/json-schema-generator.js +99 -0
  403. package/node_modules/zod/v4/core/json-schema-processors.cjs +929 -0
  404. package/node_modules/zod/v4/core/json-schema-processors.d.cts +65 -0
  405. package/node_modules/zod/v4/core/json-schema-processors.d.ts +65 -0
  406. package/node_modules/zod/v4/core/json-schema-processors.js +843 -0
  407. package/node_modules/zod/v4/core/json-schema.cjs +19 -0
  408. package/node_modules/zod/v4/core/json-schema.d.cts +6 -4
  409. package/node_modules/zod/v4/core/json-schema.d.ts +6 -4
  410. package/node_modules/zod/v4/core/memoizer.cjs +360 -0
  411. package/node_modules/zod/v4/core/memoizer.d.cts +15 -0
  412. package/node_modules/zod/v4/core/memoizer.d.ts +15 -0
  413. package/node_modules/zod/v4/core/memoizer.js +311 -0
  414. package/node_modules/zod/v4/core/package.json +7 -0
  415. package/node_modules/zod/v4/core/parse.cjs +183 -37
  416. package/node_modules/zod/v4/core/parse.d.cts +34 -7
  417. package/node_modules/zod/v4/core/parse.d.ts +34 -7
  418. package/node_modules/zod/v4/core/parse.js +154 -36
  419. package/node_modules/zod/v4/core/regexes.cjs +137 -31
  420. package/node_modules/zod/v4/core/regexes.d.cts +30 -2
  421. package/node_modules/zod/v4/core/regexes.d.ts +30 -2
  422. package/node_modules/zod/v4/core/regexes.js +90 -29
  423. package/node_modules/zod/v4/core/registries.cjs +26 -7
  424. package/node_modules/zod/v4/core/registries.d.cts +2 -2
  425. package/node_modules/zod/v4/core/registries.d.ts +2 -2
  426. package/node_modules/zod/v4/core/registries.js +9 -9
  427. package/node_modules/zod/v4/core/schemas.cjs +1373 -422
  428. package/node_modules/zod/v4/core/schemas.d.cts +276 -42
  429. package/node_modules/zod/v4/core/schemas.d.ts +276 -42
  430. package/node_modules/zod/v4/core/schemas.js +1341 -422
  431. package/node_modules/zod/v4/core/standard-schema.cjs +19 -0
  432. package/node_modules/zod/v4/core/standard-schema.d.cts +90 -19
  433. package/node_modules/zod/v4/core/standard-schema.d.ts +90 -19
  434. package/node_modules/zod/v4/core/to-json-schema.cjs +628 -801
  435. package/node_modules/zod/v4/core/to-json-schema.d.cts +103 -37
  436. package/node_modules/zod/v4/core/to-json-schema.d.ts +103 -37
  437. package/node_modules/zod/v4/core/to-json-schema.js +602 -800
  438. package/node_modules/zod/v4/core/util.cjs +580 -155
  439. package/node_modules/zod/v4/core/util.d.cts +98 -1
  440. package/node_modules/zod/v4/core/util.d.ts +98 -1
  441. package/node_modules/zod/v4/core/util.js +536 -156
  442. package/node_modules/zod/v4/core/versions.cjs +21 -2
  443. package/node_modules/zod/v4/core/versions.d.cts +1 -1
  444. package/node_modules/zod/v4/core/versions.d.ts +1 -1
  445. package/node_modules/zod/v4/core/versions.js +2 -2
  446. package/node_modules/zod/v4/core/visit.cjs +214 -0
  447. package/node_modules/zod/v4/core/visit.d.cts +30 -0
  448. package/node_modules/zod/v4/core/visit.d.ts +30 -0
  449. package/node_modules/zod/v4/core/visit.js +169 -0
  450. package/node_modules/zod/v4/index.cjs +34 -5
  451. package/node_modules/zod/v4/index.d.cts +2 -2
  452. package/node_modules/zod/v4/index.d.ts +2 -2
  453. package/node_modules/zod/v4/index.js +3 -2
  454. package/node_modules/zod/v4/locales/ar.cjs +20 -24
  455. package/node_modules/zod/v4/locales/ar.d.cts +2 -1
  456. package/node_modules/zod/v4/locales/ar.js +19 -24
  457. package/node_modules/zod/v4/locales/az.cjs +20 -24
  458. package/node_modules/zod/v4/locales/az.d.cts +2 -1
  459. package/node_modules/zod/v4/locales/az.js +19 -24
  460. package/node_modules/zod/v4/locales/be.cjs +29 -24
  461. package/node_modules/zod/v4/locales/be.d.cts +2 -1
  462. package/node_modules/zod/v4/locales/be.js +28 -24
  463. package/node_modules/zod/v4/locales/bg.cjs +152 -0
  464. package/node_modules/zod/v4/locales/bg.d.cts +5 -0
  465. package/node_modules/zod/v4/locales/bg.d.ts +4 -0
  466. package/node_modules/zod/v4/locales/bg.js +125 -0
  467. package/node_modules/zod/v4/locales/bn.cjs +140 -0
  468. package/node_modules/zod/v4/locales/bn.d.cts +5 -0
  469. package/node_modules/zod/v4/locales/bn.d.ts +4 -0
  470. package/node_modules/zod/v4/locales/bn.js +113 -0
  471. package/node_modules/zod/v4/locales/ca.cjs +20 -25
  472. package/node_modules/zod/v4/locales/ca.d.cts +2 -1
  473. package/node_modules/zod/v4/locales/ca.js +19 -25
  474. package/node_modules/zod/v4/locales/ckb.cjs +160 -0
  475. package/node_modules/zod/v4/locales/ckb.d.cts +5 -0
  476. package/node_modules/zod/v4/locales/ckb.d.ts +4 -0
  477. package/node_modules/zod/v4/locales/ckb.js +133 -0
  478. package/node_modules/zod/v4/locales/cs.cjs +24 -42
  479. package/node_modules/zod/v4/locales/cs.d.cts +2 -1
  480. package/node_modules/zod/v4/locales/cs.js +23 -42
  481. package/node_modules/zod/v4/locales/da.cjs +147 -0
  482. package/node_modules/zod/v4/locales/da.d.cts +5 -0
  483. package/node_modules/zod/v4/locales/da.d.ts +4 -0
  484. package/node_modules/zod/v4/locales/da.js +120 -0
  485. package/node_modules/zod/v4/locales/de.cjs +22 -24
  486. package/node_modules/zod/v4/locales/de.d.cts +2 -1
  487. package/node_modules/zod/v4/locales/de.js +21 -24
  488. package/node_modules/zod/v4/locales/el.cjs +139 -0
  489. package/node_modules/zod/v4/locales/el.d.cts +5 -0
  490. package/node_modules/zod/v4/locales/el.d.ts +4 -0
  491. package/node_modules/zod/v4/locales/el.js +112 -0
  492. package/node_modules/zod/v4/locales/en.cjs +35 -28
  493. package/node_modules/zod/v4/locales/en.d.cts +2 -2
  494. package/node_modules/zod/v4/locales/en.d.ts +0 -1
  495. package/node_modules/zod/v4/locales/en.js +34 -26
  496. package/node_modules/zod/v4/locales/eo.cjs +23 -26
  497. package/node_modules/zod/v4/locales/eo.d.cts +2 -2
  498. package/node_modules/zod/v4/locales/eo.d.ts +0 -1
  499. package/node_modules/zod/v4/locales/eo.js +22 -24
  500. package/node_modules/zod/v4/locales/es.cjs +51 -31
  501. package/node_modules/zod/v4/locales/es.d.cts +2 -1
  502. package/node_modules/zod/v4/locales/es.js +50 -31
  503. package/node_modules/zod/v4/locales/fa.cjs +22 -24
  504. package/node_modules/zod/v4/locales/fa.d.cts +2 -1
  505. package/node_modules/zod/v4/locales/fa.js +21 -24
  506. package/node_modules/zod/v4/locales/fi.cjs +20 -24
  507. package/node_modules/zod/v4/locales/fi.d.cts +2 -1
  508. package/node_modules/zod/v4/locales/fi.js +19 -24
  509. package/node_modules/zod/v4/locales/fr-CA.cjs +20 -24
  510. package/node_modules/zod/v4/locales/fr-CA.d.cts +2 -1
  511. package/node_modules/zod/v4/locales/fr-CA.js +19 -24
  512. package/node_modules/zod/v4/locales/fr.cjs +53 -39
  513. package/node_modules/zod/v4/locales/fr.d.cts +2 -1
  514. package/node_modules/zod/v4/locales/fr.js +52 -39
  515. package/node_modules/zod/v4/locales/gu.cjs +140 -0
  516. package/node_modules/zod/v4/locales/gu.d.cts +5 -0
  517. package/node_modules/zod/v4/locales/gu.d.ts +4 -0
  518. package/node_modules/zod/v4/locales/gu.js +113 -0
  519. package/node_modules/zod/v4/locales/he.cjs +183 -78
  520. package/node_modules/zod/v4/locales/he.d.cts +2 -1
  521. package/node_modules/zod/v4/locales/he.js +182 -78
  522. package/node_modules/zod/v4/locales/hi.cjs +138 -0
  523. package/node_modules/zod/v4/locales/hi.d.cts +5 -0
  524. package/node_modules/zod/v4/locales/hi.d.ts +4 -0
  525. package/node_modules/zod/v4/locales/hi.js +111 -0
  526. package/node_modules/zod/v4/locales/hr.cjs +153 -0
  527. package/node_modules/zod/v4/locales/hr.d.cts +5 -0
  528. package/node_modules/zod/v4/locales/hr.d.ts +4 -0
  529. package/node_modules/zod/v4/locales/hr.js +126 -0
  530. package/node_modules/zod/v4/locales/hu.cjs +22 -25
  531. package/node_modules/zod/v4/locales/hu.d.cts +2 -1
  532. package/node_modules/zod/v4/locales/hu.js +21 -25
  533. package/node_modules/zod/v4/locales/hy.cjs +185 -0
  534. package/node_modules/zod/v4/locales/hy.d.cts +5 -0
  535. package/node_modules/zod/v4/locales/hy.d.ts +4 -0
  536. package/node_modules/zod/v4/locales/hy.js +158 -0
  537. package/node_modules/zod/v4/locales/id.cjs +20 -24
  538. package/node_modules/zod/v4/locales/id.d.cts +2 -1
  539. package/node_modules/zod/v4/locales/id.js +19 -24
  540. package/node_modules/zod/v4/locales/index.cjs +69 -1
  541. package/node_modules/zod/v4/locales/index.d.cts +24 -0
  542. package/node_modules/zod/v4/locales/index.d.ts +24 -0
  543. package/node_modules/zod/v4/locales/index.js +24 -0
  544. package/node_modules/zod/v4/locales/is.cjs +141 -0
  545. package/node_modules/zod/v4/locales/is.d.cts +5 -0
  546. package/node_modules/zod/v4/locales/is.d.ts +4 -0
  547. package/node_modules/zod/v4/locales/is.js +114 -0
  548. package/node_modules/zod/v4/locales/it.cjs +22 -25
  549. package/node_modules/zod/v4/locales/it.d.cts +2 -1
  550. package/node_modules/zod/v4/locales/it.js +21 -25
  551. package/node_modules/zod/v4/locales/ja.cjs +22 -24
  552. package/node_modules/zod/v4/locales/ja.d.cts +2 -1
  553. package/node_modules/zod/v4/locales/ja.js +21 -24
  554. package/node_modules/zod/v4/locales/ka.cjs +144 -0
  555. package/node_modules/zod/v4/locales/ka.d.cts +5 -0
  556. package/node_modules/zod/v4/locales/ka.d.ts +4 -0
  557. package/node_modules/zod/v4/locales/ka.js +117 -0
  558. package/node_modules/zod/v4/locales/kh.cjs +6 -137
  559. package/node_modules/zod/v4/locales/kh.d.cts +2 -1
  560. package/node_modules/zod/v4/locales/kh.d.ts +1 -0
  561. package/node_modules/zod/v4/locales/kh.js +3 -115
  562. package/node_modules/zod/v4/locales/km.cjs +142 -0
  563. package/node_modules/zod/v4/locales/km.d.cts +5 -0
  564. package/node_modules/zod/v4/locales/km.d.ts +4 -0
  565. package/node_modules/zod/v4/locales/km.js +115 -0
  566. package/node_modules/zod/v4/locales/kn.cjs +143 -0
  567. package/node_modules/zod/v4/locales/kn.d.cts +5 -0
  568. package/node_modules/zod/v4/locales/kn.d.ts +4 -0
  569. package/node_modules/zod/v4/locales/kn.js +116 -0
  570. package/node_modules/zod/v4/locales/ko.cjs +20 -24
  571. package/node_modules/zod/v4/locales/ko.d.cts +2 -1
  572. package/node_modules/zod/v4/locales/ko.js +19 -24
  573. package/node_modules/zod/v4/locales/lt.cjs +234 -0
  574. package/node_modules/zod/v4/locales/lt.d.cts +5 -0
  575. package/node_modules/zod/v4/locales/lt.d.ts +4 -0
  576. package/node_modules/zod/v4/locales/lt.js +207 -0
  577. package/node_modules/zod/v4/locales/mk.cjs +22 -25
  578. package/node_modules/zod/v4/locales/mk.d.cts +2 -1
  579. package/node_modules/zod/v4/locales/mk.js +21 -25
  580. package/node_modules/zod/v4/locales/ms.cjs +21 -24
  581. package/node_modules/zod/v4/locales/ms.d.cts +2 -1
  582. package/node_modules/zod/v4/locales/ms.js +20 -24
  583. package/node_modules/zod/v4/locales/ne.cjs +138 -0
  584. package/node_modules/zod/v4/locales/ne.d.cts +5 -0
  585. package/node_modules/zod/v4/locales/ne.d.ts +4 -0
  586. package/node_modules/zod/v4/locales/ne.js +111 -0
  587. package/node_modules/zod/v4/locales/nl.cjs +31 -32
  588. package/node_modules/zod/v4/locales/nl.d.cts +2 -1
  589. package/node_modules/zod/v4/locales/nl.js +30 -32
  590. package/node_modules/zod/v4/locales/nn.cjs +140 -0
  591. package/node_modules/zod/v4/locales/nn.d.cts +5 -0
  592. package/node_modules/zod/v4/locales/nn.d.ts +4 -0
  593. package/node_modules/zod/v4/locales/nn.js +113 -0
  594. package/node_modules/zod/v4/locales/no.cjs +24 -26
  595. package/node_modules/zod/v4/locales/no.d.cts +2 -1
  596. package/node_modules/zod/v4/locales/no.js +23 -26
  597. package/node_modules/zod/v4/locales/ota.cjs +23 -25
  598. package/node_modules/zod/v4/locales/ota.d.cts +2 -1
  599. package/node_modules/zod/v4/locales/ota.js +22 -25
  600. package/node_modules/zod/v4/locales/package.json +7 -0
  601. package/node_modules/zod/v4/locales/pl.cjs +22 -24
  602. package/node_modules/zod/v4/locales/pl.d.cts +2 -1
  603. package/node_modules/zod/v4/locales/pl.js +21 -24
  604. package/node_modules/zod/v4/locales/ps.cjs +22 -24
  605. package/node_modules/zod/v4/locales/ps.d.cts +2 -1
  606. package/node_modules/zod/v4/locales/ps.js +21 -24
  607. package/node_modules/zod/v4/locales/pt-BR.cjs +170 -0
  608. package/node_modules/zod/v4/locales/pt-BR.d.cts +5 -0
  609. package/node_modules/zod/v4/locales/pt-BR.d.ts +4 -0
  610. package/node_modules/zod/v4/locales/pt-BR.js +143 -0
  611. package/node_modules/zod/v4/locales/pt.cjs +95 -68
  612. package/node_modules/zod/v4/locales/pt.d.cts +2 -1
  613. package/node_modules/zod/v4/locales/pt.js +94 -68
  614. package/node_modules/zod/v4/locales/ro.cjs +149 -0
  615. package/node_modules/zod/v4/locales/ro.d.cts +5 -0
  616. package/node_modules/zod/v4/locales/ro.d.ts +4 -0
  617. package/node_modules/zod/v4/locales/ro.js +122 -0
  618. package/node_modules/zod/v4/locales/ru.cjs +29 -24
  619. package/node_modules/zod/v4/locales/ru.d.cts +2 -1
  620. package/node_modules/zod/v4/locales/ru.js +28 -24
  621. package/node_modules/zod/v4/locales/sk.cjs +143 -0
  622. package/node_modules/zod/v4/locales/sk.d.cts +5 -0
  623. package/node_modules/zod/v4/locales/sk.d.ts +4 -0
  624. package/node_modules/zod/v4/locales/sk.js +116 -0
  625. package/node_modules/zod/v4/locales/sl.cjs +22 -24
  626. package/node_modules/zod/v4/locales/sl.d.cts +2 -1
  627. package/node_modules/zod/v4/locales/sl.js +21 -24
  628. package/node_modules/zod/v4/locales/sv.cjs +24 -26
  629. package/node_modules/zod/v4/locales/sv.d.cts +2 -1
  630. package/node_modules/zod/v4/locales/sv.js +23 -26
  631. package/node_modules/zod/v4/locales/ta.cjs +23 -24
  632. package/node_modules/zod/v4/locales/ta.d.cts +2 -1
  633. package/node_modules/zod/v4/locales/ta.js +22 -24
  634. package/node_modules/zod/v4/locales/tg.cjs +144 -0
  635. package/node_modules/zod/v4/locales/tg.d.cts +5 -0
  636. package/node_modules/zod/v4/locales/tg.d.ts +4 -0
  637. package/node_modules/zod/v4/locales/tg.js +117 -0
  638. package/node_modules/zod/v4/locales/th.cjs +23 -24
  639. package/node_modules/zod/v4/locales/th.d.cts +2 -1
  640. package/node_modules/zod/v4/locales/th.js +22 -24
  641. package/node_modules/zod/v4/locales/tk.cjs +134 -0
  642. package/node_modules/zod/v4/locales/tk.d.cts +5 -0
  643. package/node_modules/zod/v4/locales/tk.d.ts +4 -0
  644. package/node_modules/zod/v4/locales/tk.js +107 -0
  645. package/node_modules/zod/v4/locales/tr.cjs +20 -26
  646. package/node_modules/zod/v4/locales/tr.d.cts +2 -2
  647. package/node_modules/zod/v4/locales/tr.d.ts +0 -1
  648. package/node_modules/zod/v4/locales/tr.js +19 -24
  649. package/node_modules/zod/v4/locales/ua.cjs +6 -137
  650. package/node_modules/zod/v4/locales/ua.d.cts +2 -1
  651. package/node_modules/zod/v4/locales/ua.d.ts +1 -0
  652. package/node_modules/zod/v4/locales/ua.js +3 -115
  653. package/node_modules/zod/v4/locales/uk.cjs +140 -0
  654. package/node_modules/zod/v4/locales/uk.d.cts +5 -0
  655. package/node_modules/zod/v4/locales/uk.d.ts +4 -0
  656. package/node_modules/zod/v4/locales/uk.js +113 -0
  657. package/node_modules/zod/v4/locales/ur.cjs +23 -24
  658. package/node_modules/zod/v4/locales/ur.d.cts +2 -1
  659. package/node_modules/zod/v4/locales/ur.js +22 -24
  660. package/node_modules/zod/v4/locales/uz.cjs +140 -0
  661. package/node_modules/zod/v4/locales/uz.d.cts +5 -0
  662. package/node_modules/zod/v4/locales/uz.d.ts +4 -0
  663. package/node_modules/zod/v4/locales/uz.js +113 -0
  664. package/node_modules/zod/v4/locales/vi.cjs +22 -24
  665. package/node_modules/zod/v4/locales/vi.d.cts +2 -1
  666. package/node_modules/zod/v4/locales/vi.js +21 -24
  667. package/node_modules/zod/v4/locales/yo.cjs +139 -0
  668. package/node_modules/zod/v4/locales/yo.d.cts +5 -0
  669. package/node_modules/zod/v4/locales/yo.d.ts +4 -0
  670. package/node_modules/zod/v4/locales/yo.js +112 -0
  671. package/node_modules/zod/v4/locales/zh-CN.cjs +23 -24
  672. package/node_modules/zod/v4/locales/zh-CN.d.cts +2 -1
  673. package/node_modules/zod/v4/locales/zh-CN.js +22 -24
  674. package/node_modules/zod/v4/locales/zh-TW.cjs +20 -24
  675. package/node_modules/zod/v4/locales/zh-TW.d.cts +2 -1
  676. package/node_modules/zod/v4/locales/zh-TW.js +19 -24
  677. package/node_modules/zod/v4/mini/checks.cjs +21 -1
  678. package/node_modules/zod/v4/mini/checks.d.cts +1 -1
  679. package/node_modules/zod/v4/mini/checks.d.ts +1 -1
  680. package/node_modules/zod/v4/mini/checks.js +1 -1
  681. package/node_modules/zod/v4/mini/coerce.cjs +24 -0
  682. package/node_modules/zod/v4/mini/coerce.js +5 -0
  683. package/node_modules/zod/v4/mini/deep-partial.cjs +58 -0
  684. package/node_modules/zod/v4/mini/deep-partial.d.cts +14 -0
  685. package/node_modules/zod/v4/mini/deep-partial.d.ts +14 -0
  686. package/node_modules/zod/v4/mini/deep-partial.js +13 -0
  687. package/node_modules/zod/v4/mini/external.cjs +36 -3
  688. package/node_modules/zod/v4/mini/external.d.cts +7 -2
  689. package/node_modules/zod/v4/mini/external.d.ts +7 -2
  690. package/node_modules/zod/v4/mini/external.js +4 -1
  691. package/node_modules/zod/v4/mini/in-out.cjs +82 -0
  692. package/node_modules/zod/v4/mini/in-out.d.cts +8 -0
  693. package/node_modules/zod/v4/mini/in-out.d.ts +8 -0
  694. package/node_modules/zod/v4/mini/in-out.js +36 -0
  695. package/node_modules/zod/v4/mini/index.cjs +19 -0
  696. package/node_modules/zod/v4/mini/iso.cjs +27 -4
  697. package/node_modules/zod/v4/mini/iso.js +8 -4
  698. package/node_modules/zod/v4/mini/package.json +7 -0
  699. package/node_modules/zod/v4/mini/parse.cjs +30 -1
  700. package/node_modules/zod/v4/mini/parse.d.cts +1 -1
  701. package/node_modules/zod/v4/mini/parse.d.ts +1 -1
  702. package/node_modules/zod/v4/mini/parse.js +1 -1
  703. package/node_modules/zod/v4/mini/schemas.cjs +390 -82
  704. package/node_modules/zod/v4/mini/schemas.d.cts +156 -32
  705. package/node_modules/zod/v4/mini/schemas.d.ts +156 -32
  706. package/node_modules/zod/v4/mini/schemas.js +329 -59
  707. package/node_modules/zod/v4/package.json +7 -0
  708. package/node_modules/zod/v4-mini/index.cjs +35 -1
  709. package/node_modules/zod/v4-mini/index.d.cts +3 -1
  710. package/node_modules/zod/v4-mini/index.d.ts +3 -1
  711. package/node_modules/zod/v4-mini/index.js +3 -1
  712. package/node_modules/zod/v4-mini/package.json +7 -0
  713. package/package.json +6 -3
  714. package/node_modules/zod/src/v4/core/config.ts +0 -15
  715. package/node_modules/zod/src/v4/core/function.ts +0 -176
  716. package/node_modules/zod/v4/core/function.cjs +0 -102
  717. package/node_modules/zod/v4/core/function.d.cts +0 -52
  718. package/node_modules/zod/v4/core/function.d.ts +0 -52
  719. package/node_modules/zod/v4/core/function.js +0 -75
@@ -1,4 +1,4 @@
1
1
  import { ApolloAdapter } from './adapter';
2
- import { ApolloAdapterConfig, ApolloAdapterConfigSchema } from './interface';
3
- export { ApolloAdapter, ApolloAdapterConfig, ApolloAdapterConfigSchema };
2
+ import { ApolloAdapterConfig, ApolloAdapterConfigInput, ApolloAdapterConfigSchema } from './interface';
3
+ export { ApolloAdapter, ApolloAdapterConfig, ApolloAdapterConfigInput, ApolloAdapterConfigSchema };
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1,130 +1,62 @@
1
1
  import { z } from 'zod';
2
2
  declare const ApolloAdapterConfigSchema: z.ZodObject<{
3
3
  apiKey: z.ZodString;
4
- apiUrl: z.ZodDefault<z.ZodString>;
4
+ apiUrl: z.ZodDefault<z.ZodURL>;
5
5
  branchName: z.ZodDefault<z.ZodString>;
6
6
  browser: z.ZodOptional<z.ZodString>;
7
7
  comment: z.ZodOptional<z.ZodString>;
8
8
  customTags: z.ZodOptional<z.ZodString>;
9
9
  device: z.ZodOptional<z.ZodString>;
10
- enableSoftAssert: z.ZodDefault<z.ZodType<boolean, z.ZodTypeDef, boolean>>;
10
+ enableSoftAssert: z.ZodDefault<z.ZodSchema<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>>;
11
+ maxRetries: z.ZodDefault<z.ZodSchema<number, unknown, z.core.$ZodTypeInternals<number, unknown>>>;
11
12
  os: z.ZodOptional<z.ZodString>;
12
- pixelToPixelDiffTolerance: z.ZodOptional<z.ZodType<number, z.ZodTypeDef, number>>;
13
+ pixelToPixelDiffTolerance: z.ZodOptional<z.ZodSchema<number, unknown, z.core.$ZodTypeInternals<number, unknown>>>;
13
14
  projectUuid: z.ZodString;
15
+ requestTimeoutMs: z.ZodDefault<z.ZodSchema<number, unknown, z.core.$ZodTypeInternals<number, unknown>>>;
14
16
  viewport: z.ZodOptional<z.ZodString>;
15
17
  baselineBranchName: z.ZodOptional<z.ZodString>;
16
18
  suiteUuid: z.ZodOptional<z.ZodString>;
17
- }, "strip", z.ZodTypeAny, {
18
- apiKey: string;
19
- projectUuid: string;
20
- apiUrl: string;
21
- branchName: string;
22
- enableSoftAssert: boolean;
23
- browser?: string | undefined;
24
- comment?: string | undefined;
25
- customTags?: string | undefined;
26
- pixelToPixelDiffTolerance?: number | undefined;
27
- viewport?: string | undefined;
28
- baselineBranchName?: string | undefined;
29
- device?: string | undefined;
30
- os?: string | undefined;
31
- suiteUuid?: string | undefined;
32
- }, {
33
- apiKey: string;
34
- projectUuid: string;
35
- browser?: string | undefined;
36
- comment?: string | undefined;
37
- customTags?: string | undefined;
38
- pixelToPixelDiffTolerance?: number | undefined;
39
- viewport?: string | undefined;
40
- baselineBranchName?: string | undefined;
41
- apiUrl?: string | undefined;
42
- branchName?: string | undefined;
43
- device?: string | undefined;
44
- enableSoftAssert?: boolean | undefined;
45
- os?: string | undefined;
46
- suiteUuid?: string | undefined;
47
- }>;
19
+ }, z.core.$strip>;
48
20
  type ApolloAdapterConfig = z.infer<typeof ApolloAdapterConfigSchema>;
21
+ /**
22
+ * What a caller may hand in, as opposed to what the adapter ends up holding.
23
+ * Every field with a `.default()` is optional here and required in
24
+ * `ApolloAdapterConfig`, so this is the type to accept at the boundary —
25
+ * otherwise adding a defaulted option forces every TypeScript consumer to
26
+ * start passing it.
27
+ */
28
+ type ApolloAdapterConfigInput = z.input<typeof ApolloAdapterConfigSchema>;
49
29
  declare const SuiteIntegrationConfigApolloPayloadSchema: z.ZodObject<{
50
30
  branchName: z.ZodString;
51
- }, "strip", z.ZodTypeAny, {
52
- branchName: string;
53
- }, {
54
- branchName: string;
55
- }>;
31
+ }, z.core.$strip>;
56
32
  type SuiteIntegrationConfigApolloPayload = z.infer<typeof SuiteIntegrationConfigApolloPayloadSchema>;
57
33
  declare const CreateIntegrationSuiteApolloPayloadSchema: z.ZodObject<{
58
34
  name: z.ZodString;
59
35
  projectUuid: z.ZodString;
60
36
  suiteIntegrationConfig: z.ZodObject<{
61
37
  branchName: z.ZodString;
62
- }, "strip", z.ZodTypeAny, {
63
- branchName: string;
64
- }, {
65
- branchName: string;
66
- }>;
38
+ }, z.core.$strip>;
67
39
  suiteUuid: z.ZodOptional<z.ZodString>;
68
- }, "strip", z.ZodTypeAny, {
69
- name: string;
70
- projectUuid: string;
71
- suiteIntegrationConfig: {
72
- branchName: string;
73
- };
74
- suiteUuid?: string | undefined;
75
- }, {
76
- name: string;
77
- projectUuid: string;
78
- suiteIntegrationConfig: {
79
- branchName: string;
80
- };
81
- suiteUuid?: string | undefined;
82
- }>;
40
+ }, z.core.$strip>;
83
41
  type CreateIntegrationSuiteApolloPayload = z.infer<typeof CreateIntegrationSuiteApolloPayloadSchema>;
84
42
  declare const CreateIntegrationScenarioApolloPayloadSchema: z.ZodObject<{
85
43
  name: z.ZodString;
86
44
  projectUuid: z.ZodString;
87
45
  suiteUuid: z.ZodString;
88
- }, "strip", z.ZodTypeAny, {
89
- name: string;
90
- projectUuid: string;
91
- suiteUuid: string;
92
- }, {
93
- name: string;
94
- projectUuid: string;
95
- suiteUuid: string;
96
- }>;
46
+ }, z.core.$strip>;
97
47
  type CreateIntegrationScenarioApolloPayload = z.infer<typeof CreateIntegrationScenarioApolloPayloadSchema>;
98
48
  declare const StopIntegrationScenarioApolloPayloadSchema: z.ZodObject<{
99
49
  projectUuid: z.ZodString;
100
50
  scenarioUuid: z.ZodString;
101
- }, "strip", z.ZodTypeAny, {
102
- projectUuid: string;
103
- scenarioUuid: string;
104
- }, {
105
- projectUuid: string;
106
- scenarioUuid: string;
107
- }>;
51
+ }, z.core.$strip>;
108
52
  type StopIntegrationScenarioApolloPayload = z.infer<typeof StopIntegrationScenarioApolloPayloadSchema>;
109
53
  declare const IgnoreAreaApolloPayloadSchema: z.ZodObject<{
110
- height: z.ZodPipeline<z.ZodType<number, z.ZodTypeDef, number>, z.ZodNumber>;
54
+ height: z.ZodPipe<z.ZodSchema<number, unknown, z.core.$ZodTypeInternals<number, unknown>>, z.ZodNumber>;
111
55
  innerHeight: z.ZodNumber;
112
- width: z.ZodPipeline<z.ZodType<number, z.ZodTypeDef, number>, z.ZodNumber>;
113
- x: z.ZodPipeline<z.ZodType<number, z.ZodTypeDef, number>, z.ZodNumber>;
114
- y: z.ZodPipeline<z.ZodType<number, z.ZodTypeDef, number>, z.ZodNumber>;
115
- }, "strip", z.ZodTypeAny, {
116
- height: number;
117
- width: number;
118
- x: number;
119
- y: number;
120
- innerHeight: number;
121
- }, {
122
- height: number;
123
- width: number;
124
- x: number;
125
- y: number;
126
- innerHeight: number;
127
- }>;
56
+ width: z.ZodPipe<z.ZodSchema<number, unknown, z.core.$ZodTypeInternals<number, unknown>>, z.ZodNumber>;
57
+ x: z.ZodPipe<z.ZodSchema<number, unknown, z.core.$ZodTypeInternals<number, unknown>>, z.ZodNumber>;
58
+ y: z.ZodPipe<z.ZodSchema<number, unknown, z.core.$ZodTypeInternals<number, unknown>>, z.ZodNumber>;
59
+ }, z.core.$strip>;
128
60
  type IgnoreAreaApolloPayload = z.infer<typeof IgnoreAreaApolloPayloadSchema>;
129
61
  declare const CreateIntegrationStepConfigApolloPayloadSchema: z.ZodObject<{
130
62
  browser: z.ZodOptional<z.ZodString>;
@@ -132,55 +64,26 @@ declare const CreateIntegrationStepConfigApolloPayloadSchema: z.ZodObject<{
132
64
  customTags: z.ZodOptional<z.ZodString>;
133
65
  device: z.ZodOptional<z.ZodString>;
134
66
  os: z.ZodOptional<z.ZodString>;
135
- pixelToPixelDiffTolerance: z.ZodOptional<z.ZodType<number, z.ZodTypeDef, number>>;
67
+ pixelToPixelDiffTolerance: z.ZodOptional<z.ZodSchema<number, unknown, z.core.$ZodTypeInternals<number, unknown>>>;
136
68
  viewport: z.ZodOptional<z.ZodString>;
137
69
  baselineBranchName: z.ZodOptional<z.ZodString>;
138
- }, "strip", z.ZodTypeAny, {
139
- browser?: string | undefined;
140
- comment?: string | undefined;
141
- customTags?: string | undefined;
142
- pixelToPixelDiffTolerance?: number | undefined;
143
- viewport?: string | undefined;
144
- baselineBranchName?: string | undefined;
145
- device?: string | undefined;
146
- os?: string | undefined;
147
- }, {
148
- browser?: string | undefined;
149
- comment?: string | undefined;
150
- customTags?: string | undefined;
151
- pixelToPixelDiffTolerance?: number | undefined;
152
- viewport?: string | undefined;
153
- baselineBranchName?: string | undefined;
154
- device?: string | undefined;
155
- os?: string | undefined;
156
- }>;
70
+ }, z.core.$strip>;
157
71
  type CreateIntegrationStepConfigApolloPayload = z.infer<typeof CreateIntegrationStepConfigApolloPayloadSchema>;
158
72
  declare const CreateIntegrationStepApolloPayloadSchema: z.ZodObject<{
159
73
  browser: z.ZodOptional<z.ZodString>;
160
74
  device: z.ZodOptional<z.ZodString>;
75
+ os: z.ZodOptional<z.ZodString>;
161
76
  comment: z.ZodOptional<z.ZodString>;
162
77
  customTags: z.ZodOptional<z.ZodString>;
163
78
  ignoreAreas: z.ZodOptional<z.ZodArray<z.ZodObject<{
164
- height: z.ZodPipeline<z.ZodType<number, z.ZodTypeDef, number>, z.ZodNumber>;
79
+ height: z.ZodPipe<z.ZodSchema<number, unknown, z.core.$ZodTypeInternals<number, unknown>>, z.ZodNumber>;
165
80
  innerHeight: z.ZodNumber;
166
- width: z.ZodPipeline<z.ZodType<number, z.ZodTypeDef, number>, z.ZodNumber>;
167
- x: z.ZodPipeline<z.ZodType<number, z.ZodTypeDef, number>, z.ZodNumber>;
168
- y: z.ZodPipeline<z.ZodType<number, z.ZodTypeDef, number>, z.ZodNumber>;
169
- }, "strip", z.ZodTypeAny, {
170
- height: number;
171
- width: number;
172
- x: number;
173
- y: number;
174
- innerHeight: number;
175
- }, {
176
- height: number;
177
- width: number;
178
- x: number;
179
- y: number;
180
- innerHeight: number;
181
- }>, "many">>;
81
+ width: z.ZodPipe<z.ZodSchema<number, unknown, z.core.$ZodTypeInternals<number, unknown>>, z.ZodNumber>;
82
+ x: z.ZodPipe<z.ZodSchema<number, unknown, z.core.$ZodTypeInternals<number, unknown>>, z.ZodNumber>;
83
+ y: z.ZodPipe<z.ZodSchema<number, unknown, z.core.$ZodTypeInternals<number, unknown>>, z.ZodNumber>;
84
+ }, z.core.$strip>>>;
182
85
  imageBase64: z.ZodString;
183
- pixelToPixelDiffTolerance: z.ZodOptional<z.ZodType<number, z.ZodTypeDef, number>>;
86
+ pixelToPixelDiffTolerance: z.ZodOptional<z.ZodSchema<number, unknown, z.core.$ZodTypeInternals<number, unknown>>>;
184
87
  projectUuid: z.ZodString;
185
88
  scenarioUuid: z.ZodString;
186
89
  stepName: z.ZodString;
@@ -188,69 +91,15 @@ declare const CreateIntegrationStepApolloPayloadSchema: z.ZodObject<{
188
91
  viewport: z.ZodOptional<z.ZodString>;
189
92
  pageContentBase64: z.ZodOptional<z.ZodNullable<z.ZodString>>;
190
93
  baselineBranchName: z.ZodOptional<z.ZodString>;
191
- }, "strip", z.ZodTypeAny, {
192
- imageBase64: string;
193
- stepName: string;
194
- projectUuid: string;
195
- scenarioUuid: string;
196
- trackName: string;
197
- browser?: string | undefined;
198
- comment?: string | undefined;
199
- customTags?: string | undefined;
200
- pixelToPixelDiffTolerance?: number | undefined;
201
- viewport?: string | undefined;
202
- pageContentBase64?: string | null | undefined;
203
- baselineBranchName?: string | undefined;
204
- device?: string | undefined;
205
- ignoreAreas?: {
206
- height: number;
207
- width: number;
208
- x: number;
209
- y: number;
210
- innerHeight: number;
211
- }[] | undefined;
212
- }, {
213
- imageBase64: string;
214
- stepName: string;
215
- projectUuid: string;
216
- scenarioUuid: string;
217
- trackName: string;
218
- browser?: string | undefined;
219
- comment?: string | undefined;
220
- customTags?: string | undefined;
221
- pixelToPixelDiffTolerance?: number | undefined;
222
- viewport?: string | undefined;
223
- pageContentBase64?: string | null | undefined;
224
- baselineBranchName?: string | undefined;
225
- device?: string | undefined;
226
- ignoreAreas?: {
227
- height: number;
228
- width: number;
229
- x: number;
230
- y: number;
231
- innerHeight: number;
232
- }[] | undefined;
233
- }>;
94
+ }, z.core.$strip>;
234
95
  type CreateIntegrationStepApolloPayload = z.infer<typeof CreateIntegrationStepApolloPayloadSchema>;
235
96
  declare const CreateIntegrationStepApolloResponseSchema: z.ZodObject<{
236
- diffPercent: z.ZodOptional<z.ZodNullable<z.ZodType<number, z.ZodTypeDef, number>>>;
97
+ diffPercent: z.ZodOptional<z.ZodNullable<z.ZodSchema<number, unknown, z.core.$ZodTypeInternals<number, unknown>>>>;
237
98
  stepName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
238
- pixelToPixelDiffTolerance: z.ZodOptional<z.ZodNullable<z.ZodType<number, z.ZodTypeDef, number>>>;
99
+ pixelToPixelDiffTolerance: z.ZodOptional<z.ZodNullable<z.ZodSchema<number, unknown, z.core.$ZodTypeInternals<number, unknown>>>>;
239
100
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
240
101
  url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
241
- }, "strip", z.ZodTypeAny, {
242
- url?: string | null | undefined;
243
- status?: string | null | undefined;
244
- stepName?: string | null | undefined;
245
- pixelToPixelDiffTolerance?: number | null | undefined;
246
- diffPercent?: number | null | undefined;
247
- }, {
248
- url?: string | null | undefined;
249
- status?: string | null | undefined;
250
- stepName?: string | null | undefined;
251
- pixelToPixelDiffTolerance?: number | null | undefined;
252
- diffPercent?: number | null | undefined;
253
- }>;
102
+ }, z.core.$strip>;
254
103
  type CreateIntegrationStepApolloResponse = z.infer<typeof CreateIntegrationStepApolloResponseSchema>;
255
104
  declare const VisualAssertApolloPayloadSchema: z.ZodObject<{
256
105
  input: z.ZodObject<{
@@ -258,46 +107,14 @@ declare const VisualAssertApolloPayloadSchema: z.ZodObject<{
258
107
  context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
259
108
  imageBase64: z.ZodString;
260
109
  projectUuid: z.ZodString;
261
- }, "strip", z.ZodTypeAny, {
262
- prompt: string;
263
- imageBase64: string;
264
- projectUuid: string;
265
- context?: string | null | undefined;
266
- }, {
267
- prompt: string;
268
- imageBase64: string;
269
- projectUuid: string;
270
- context?: string | null | undefined;
271
- }>;
272
- }, "strip", z.ZodTypeAny, {
273
- input: {
274
- prompt: string;
275
- imageBase64: string;
276
- projectUuid: string;
277
- context?: string | null | undefined;
278
- };
279
- }, {
280
- input: {
281
- prompt: string;
282
- imageBase64: string;
283
- projectUuid: string;
284
- context?: string | null | undefined;
285
- };
286
- }>;
110
+ }, z.core.$strip>;
111
+ }, z.core.$strip>;
287
112
  type VisualAssertApolloPayload = z.infer<typeof VisualAssertApolloPayloadSchema>;
288
113
  declare const VisualAssertApolloResponseSchema: z.ZodObject<{
289
114
  status: z.ZodString;
290
115
  confidence: z.ZodNumber;
291
116
  message: z.ZodString;
292
- }, "strip", z.ZodTypeAny, {
293
- message: string;
294
- status: string;
295
- confidence: number;
296
- }, {
297
- message: string;
298
- status: string;
299
- confidence: number;
300
- }>;
117
+ }, z.core.$strip>;
301
118
  type VisualAssertApolloResponse = z.infer<typeof VisualAssertApolloResponseSchema>;
302
- export { ApolloAdapterConfig, ApolloAdapterConfigSchema, CreateIntegrationScenarioApolloPayload, CreateIntegrationScenarioApolloPayloadSchema, CreateIntegrationStepApolloPayload, CreateIntegrationStepApolloPayloadSchema, CreateIntegrationStepApolloResponse, CreateIntegrationStepApolloResponseSchema, CreateIntegrationStepConfigApolloPayload, CreateIntegrationStepConfigApolloPayloadSchema, CreateIntegrationSuiteApolloPayload, CreateIntegrationSuiteApolloPayloadSchema, IgnoreAreaApolloPayload, IgnoreAreaApolloPayloadSchema, StopIntegrationScenarioApolloPayload, StopIntegrationScenarioApolloPayloadSchema, SuiteIntegrationConfigApolloPayload, SuiteIntegrationConfigApolloPayloadSchema, VisualAssertApolloPayloadSchema, VisualAssertApolloPayload, VisualAssertApolloResponse, VisualAssertApolloResponseSchema, };
119
+ export { ApolloAdapterConfig, ApolloAdapterConfigInput, ApolloAdapterConfigSchema, CreateIntegrationScenarioApolloPayload, CreateIntegrationScenarioApolloPayloadSchema, CreateIntegrationStepApolloPayload, CreateIntegrationStepApolloPayloadSchema, CreateIntegrationStepApolloResponse, CreateIntegrationStepApolloResponseSchema, CreateIntegrationStepConfigApolloPayload, CreateIntegrationStepConfigApolloPayloadSchema, CreateIntegrationSuiteApolloPayload, CreateIntegrationSuiteApolloPayloadSchema, IgnoreAreaApolloPayload, IgnoreAreaApolloPayloadSchema, StopIntegrationScenarioApolloPayload, StopIntegrationScenarioApolloPayloadSchema, SuiteIntegrationConfigApolloPayload, SuiteIntegrationConfigApolloPayloadSchema, VisualAssertApolloPayloadSchema, VisualAssertApolloPayload, VisualAssertApolloResponse, VisualAssertApolloResponseSchema, };
303
120
  //# sourceMappingURL=interface.d.ts.map
@@ -2,17 +2,20 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VisualAssertApolloResponseSchema = exports.VisualAssertApolloPayloadSchema = exports.SuiteIntegrationConfigApolloPayloadSchema = exports.StopIntegrationScenarioApolloPayloadSchema = exports.IgnoreAreaApolloPayloadSchema = exports.CreateIntegrationSuiteApolloPayloadSchema = exports.CreateIntegrationStepConfigApolloPayloadSchema = exports.CreateIntegrationStepApolloResponseSchema = exports.CreateIntegrationStepApolloPayloadSchema = exports.CreateIntegrationScenarioApolloPayloadSchema = exports.ApolloAdapterConfigSchema = void 0;
4
4
  const shared_1 = require("../../../shared");
5
+ const axios_config_1 = require("./axios-config");
6
+ const retry_1 = require("./retry");
5
7
  const zod_1 = require("zod");
6
8
  // The messages below are rendered into a human-readable summary by
7
9
  // `toConfigError` in ./errors.ts, so they read as a sentence fragment following
8
10
  // the field name, e.g. "apiKey: missing.".
9
11
  const ApolloAdapterConfigSchema = zod_1.z.object({
10
- apiKey: zod_1.z
11
- .string({ required_error: 'missing', invalid_type_error: 'must be a string' })
12
- .min(1, 'missing (empty string)'),
12
+ apiKey: zod_1.z.string(shared_1.ZodHelper.typeError('missing', 'must be a string')).min(1, 'missing (empty string)'),
13
13
  apiUrl: zod_1.z
14
- .string({ invalid_type_error: 'must be a string' })
15
- .url('must be an absolute URL including the scheme, e.g. https://api.wopee.io')
14
+ .url({
15
+ error: (issue) => issue.code === 'invalid_type'
16
+ ? 'must be a string'
17
+ : 'must be an absolute URL including the scheme, e.g. https://api.wopee.io',
18
+ })
16
19
  .default('https://api.wopee.io'),
17
20
  branchName: zod_1.z.string().default('master'),
18
21
  browser: zod_1.z.string().optional(),
@@ -20,11 +23,15 @@ const ApolloAdapterConfigSchema = zod_1.z.object({
20
23
  customTags: zod_1.z.string().optional(),
21
24
  device: zod_1.z.string().optional(),
22
25
  enableSoftAssert: shared_1.ZodHelper.parseStringToBoolean().default(true),
26
+ // How many times a transient API failure is retried before it surfaces.
27
+ // Set to 0 to disable retries entirely (see ./retry.ts).
28
+ maxRetries: shared_1.ZodHelper.parseStringToNumberSchema().default(retry_1.DEFAULT_MAX_RETRIES),
23
29
  os: zod_1.z.string().optional(),
24
30
  pixelToPixelDiffTolerance: shared_1.ZodHelper.parseStringToNumberSchema().optional(),
25
- projectUuid: zod_1.z
26
- .string({ required_error: 'missing', invalid_type_error: 'must be a string' })
27
- .min(1, 'missing (empty string)'),
31
+ projectUuid: zod_1.z.string(shared_1.ZodHelper.typeError('missing', 'must be a string')).min(1, 'missing (empty string)'),
32
+ // Wall-clock ceiling for a single attempt at an API call, in milliseconds.
33
+ // Set to 0 to remove the ceiling entirely (see ./deadline.ts).
34
+ requestTimeoutMs: shared_1.ZodHelper.parseStringToNumberSchema().default(axios_config_1.DEFAULT_REQUEST_TIMEOUT_MS),
28
35
  viewport: zod_1.z.string().optional(),
29
36
  baselineBranchName: zod_1.z.string().optional(),
30
37
  suiteUuid: zod_1.z.string().optional(),
@@ -74,6 +81,7 @@ exports.CreateIntegrationStepConfigApolloPayloadSchema = CreateIntegrationStepCo
74
81
  const CreateIntegrationStepApolloPayloadSchema = zod_1.z.object({
75
82
  browser: zod_1.z.string().optional(),
76
83
  device: zod_1.z.string().optional(),
84
+ os: zod_1.z.string().optional(),
77
85
  comment: zod_1.z.string().optional(),
78
86
  customTags: zod_1.z.string().optional(),
79
87
  ignoreAreas: zod_1.z.array(IgnoreAreaApolloPayloadSchema).optional(),
@@ -0,0 +1,52 @@
1
+ /**
2
+ * Two retries, so three attempts in total. Each attempt of a tracking call can
3
+ * carry a multi-megabyte payload and take a minute on a slow link, so the point
4
+ * of the budget is to ride out a blip without turning one lost step into a
5
+ * multi-minute stall.
6
+ */
7
+ export declare const DEFAULT_MAX_RETRIES = 2;
8
+ export declare const RETRY_BASE_DELAY_MS = 1000;
9
+ /**
10
+ * Whether a failed call is worth attempting again.
11
+ *
12
+ * Note that a request that never produced a response is treated as transient.
13
+ * For a mutation that is a deliberate trade: the call may in principle have
14
+ * reached the API and been applied, so a retry can duplicate it. Losing a step
15
+ * record is the failure we actually observe, a duplicated one is hypothetical,
16
+ * and callers that disagree can set `maxRetries: 0`.
17
+ */
18
+ export declare function isRetryable(error: unknown): boolean;
19
+ /**
20
+ * Exponential backoff, deliberately without jitter: the retry budget is two and
21
+ * tracking calls fire per test step rather than in a synchronized burst, so
22
+ * there is no herd to spread out and a predictable delay is easier to reason
23
+ * about in a CI log.
24
+ */
25
+ export declare function retryDelayMs(attempt: number): number;
26
+ /**
27
+ * One-line summary of a failure, for the retry log line. The status code is the
28
+ * useful part when there is a response; the errno is what identifies a
29
+ * connection that never got one.
30
+ */
31
+ export declare function describeFailure(error: unknown): string;
32
+ export type RetryContext = {
33
+ /** 1-based, so the first retry reads as "attempt 1 of 2". */
34
+ attempt: number;
35
+ /** The budget actually in force, which is the clamped `maxRetries`. */
36
+ maxRetries: number;
37
+ delayMs: number;
38
+ error: unknown;
39
+ };
40
+ export type WithRetryOptions = {
41
+ maxRetries: number;
42
+ onRetry?: (context: RetryContext) => void;
43
+ /** Injectable so tests do not have to wait out the backoff. */
44
+ sleep?: (ms: number) => Promise<void>;
45
+ };
46
+ /**
47
+ * Runs `operation`, retrying it while the failure looks transient and the retry
48
+ * budget lasts. The original error is rethrown untouched once either runs out,
49
+ * so error reporting upstream stays unchanged.
50
+ */
51
+ export declare function withRetry<T>(operation: () => Promise<T>, options: WithRetryOptions): Promise<T>;
52
+ //# sourceMappingURL=retry.d.ts.map
@@ -0,0 +1,122 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.RETRY_BASE_DELAY_MS = exports.DEFAULT_MAX_RETRIES = void 0;
7
+ exports.isRetryable = isRetryable;
8
+ exports.retryDelayMs = retryDelayMs;
9
+ exports.describeFailure = describeFailure;
10
+ exports.withRetry = withRetry;
11
+ const deadline_1 = require("./deadline");
12
+ const axios_1 = __importDefault(require("axios"));
13
+ /**
14
+ * Two retries, so three attempts in total. Each attempt of a tracking call can
15
+ * carry a multi-megabyte payload and take a minute on a slow link, so the point
16
+ * of the budget is to ride out a blip without turning one lost step into a
17
+ * multi-minute stall.
18
+ */
19
+ exports.DEFAULT_MAX_RETRIES = 2;
20
+ exports.RETRY_BASE_DELAY_MS = 1_000;
21
+ /**
22
+ * HTTP statuses worth a second attempt. Every one of them means the request did
23
+ * not get through to the API, or the API asked us to come back later. Statuses
24
+ * that mean "the API looked at what you sent and rejected it" — 400, 401, 403,
25
+ * 404, 422 — are deliberately absent: retrying those just fails slower.
26
+ *
27
+ * 500 is absent for a different reason, worth stating because it is not the same
28
+ * argument: a 500 is an unhandled server exception, not a rejection, so the API
29
+ * may well have applied part of the mutation before it threw. Repeating it risks
30
+ * a duplicate — the same reasoning that makes 504 a judgment call below, except
31
+ * that here there is no evidence the request failed to land.
32
+ *
33
+ * 499 is the one that is easy to miss. It is not a real IANA status; it is what
34
+ * a gateway (traefik, nginx) reports when it gave up reading the *request* and
35
+ * cancelled it. The API never saw a complete request, so a retry cannot
36
+ * duplicate anything.
37
+ */
38
+ const RETRYABLE_STATUS_CODES = new Set([
39
+ 408, // Request Timeout
40
+ 429, // Too Many Requests
41
+ 499, // Client Closed Request — the gateway cancelled reading the request body
42
+ 502, // Bad Gateway
43
+ 503, // Service Unavailable
44
+ 504, // Gateway Timeout
45
+ ]);
46
+ /**
47
+ * Whether a failed call is worth attempting again.
48
+ *
49
+ * Note that a request that never produced a response is treated as transient.
50
+ * For a mutation that is a deliberate trade: the call may in principle have
51
+ * reached the API and been applied, so a retry can duplicate it. Losing a step
52
+ * record is the failure we actually observe, a duplicated one is hypothetical,
53
+ * and callers that disagree can set `maxRetries: 0`.
54
+ */
55
+ function isRetryable(error) {
56
+ // Our own wall-clock deadline. It has to be checked before the abort guard
57
+ // below, because that is the mechanism it fires through.
58
+ if (error instanceof deadline_1.DeadlineExceededError) {
59
+ return true;
60
+ }
61
+ if (!axios_1.default.isAxiosError(error)) {
62
+ return false;
63
+ }
64
+ // An abort is a caller's decision, not a transient failure.
65
+ if (error.code === 'ERR_CANCELED') {
66
+ return false;
67
+ }
68
+ // No response at all: DNS, TCP, TLS, a proxy tunnel, or our own timeout.
69
+ if (!error.response) {
70
+ return true;
71
+ }
72
+ return RETRYABLE_STATUS_CODES.has(error.response.status);
73
+ }
74
+ /**
75
+ * Exponential backoff, deliberately without jitter: the retry budget is two and
76
+ * tracking calls fire per test step rather than in a synchronized burst, so
77
+ * there is no herd to spread out and a predictable delay is easier to reason
78
+ * about in a CI log.
79
+ */
80
+ function retryDelayMs(attempt) {
81
+ return exports.RETRY_BASE_DELAY_MS * 2 ** attempt;
82
+ }
83
+ /**
84
+ * One-line summary of a failure, for the retry log line. The status code is the
85
+ * useful part when there is a response; the errno is what identifies a
86
+ * connection that never got one.
87
+ */
88
+ function describeFailure(error) {
89
+ if (axios_1.default.isAxiosError(error)) {
90
+ return error.response ? `HTTP ${error.response.status}` : (error.code ?? error.message);
91
+ }
92
+ return error instanceof Error ? error.message : String(error);
93
+ }
94
+ const defaultSleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
95
+ /**
96
+ * Runs `operation`, retrying it while the failure looks transient and the retry
97
+ * budget lasts. The original error is rethrown untouched once either runs out,
98
+ * so error reporting upstream stays unchanged.
99
+ */
100
+ async function withRetry(operation, options) {
101
+ const { maxRetries, onRetry, sleep = defaultSleep } = options;
102
+ // The loop has no upper bound of its own, so the budget is the only thing
103
+ // that ends it — and `attempt >= NaN` is always false, which would spin
104
+ // forever on a retryable failure. Config parsing rejects NaN, but this
105
+ // option is a plain `number`, so make the guarantee structural rather than
106
+ // borrowed from whoever happened to build the config.
107
+ const budget = Number.isFinite(maxRetries) ? Math.max(0, Math.floor(maxRetries)) : 0;
108
+ for (let attempt = 0;; attempt++) {
109
+ try {
110
+ return await operation();
111
+ }
112
+ catch (error) {
113
+ if (attempt >= budget || !isRetryable(error)) {
114
+ throw error;
115
+ }
116
+ const delayMs = retryDelayMs(attempt);
117
+ onRetry?.({ attempt: attempt + 1, maxRetries: budget, delayMs, error });
118
+ await sleep(delayMs);
119
+ }
120
+ }
121
+ }
122
+ //# sourceMappingURL=retry.js.map
@@ -2,15 +2,11 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.createApolloTrackAdapter = createApolloTrackAdapter;
4
4
  const adapters_1 = require("../../adapters");
5
- const adapters_2 = require("../../adapters");
6
- const errors_1 = require("../../adapters/apolloAdapter/errors");
7
5
  const loggerService_1 = require("../loggerService");
8
6
  function createApolloTrackAdapter(apolloAdapterOptions) {
9
7
  const logger = (0, loggerService_1.createLogger)(apolloAdapterOptions.loggerOptions);
10
- const parsed = adapters_2.ApolloAdapterConfigSchema.safeParse(apolloAdapterOptions.apolloAdapterConfig);
11
- if (!parsed.success) {
12
- throw (0, errors_1.toConfigError)(parsed.error);
13
- }
14
- return new adapters_1.ApolloAdapter(parsed.data, logger);
8
+ // The adapter parses and validates its own config, so an invalid one throws
9
+ // the same WOPEE_CONFIG_INVALID error whichever way it is constructed.
10
+ return new adapters_1.ApolloAdapter(apolloAdapterOptions.apolloAdapterConfig, logger);
15
11
  }
16
12
  //# sourceMappingURL=apolloAdapterService.js.map
@@ -1,7 +1,7 @@
1
- import { ApolloAdapterConfig } from '../../adapters';
1
+ import { ApolloAdapterConfigInput } from '../../adapters';
2
2
  import { LoggerOptions } from '../loggerService';
3
3
  export interface ApolloAdapterOptions {
4
- apolloAdapterConfig: ApolloAdapterConfig;
4
+ apolloAdapterConfig: ApolloAdapterConfigInput;
5
5
  loggerOptions: LoggerOptions;
6
6
  }
7
7
  //# sourceMappingURL=apolloService.interface.d.ts.map
@@ -2,18 +2,13 @@ import { LoggerPort } from '../../../core';
2
2
  import { ConsoleLoggerOptions } from './consoleLoggerOptions.interface.js';
3
3
  import z from 'zod';
4
4
  export declare const loggerOptionsScheme: z.ZodObject<{
5
- logger: z.ZodOptional<z.ZodEnum<["NoLogger", "ConsoleLogger"]>>;
5
+ logger: z.ZodOptional<z.ZodEnum<{
6
+ NoLogger: "NoLogger";
7
+ ConsoleLogger: "ConsoleLogger";
8
+ }>>;
6
9
  loggerOptions: z.ZodOptional<z.ZodAny>;
7
10
  loggerInstance: z.ZodOptional<z.ZodAny>;
8
- }, "strip", z.ZodTypeAny, {
9
- logger?: "NoLogger" | "ConsoleLogger" | undefined;
10
- loggerOptions?: any;
11
- loggerInstance?: any;
12
- }, {
13
- logger?: "NoLogger" | "ConsoleLogger" | undefined;
14
- loggerOptions?: any;
15
- loggerInstance?: any;
16
- }>;
11
+ }, z.core.$strip>;
17
12
  export interface LoggerOptions {
18
13
  logger?: 'NoLogger' | 'ConsoleLogger';
19
14
  loggerOptions?: ConsoleLoggerOptions;
@@ -4,10 +4,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.loggerOptionsScheme = void 0;
7
+ const shared_1 = require("../../../shared");
7
8
  const zod_1 = __importDefault(require("zod"));
8
9
  exports.loggerOptionsScheme = zod_1.default.object({
9
10
  logger: zod_1.default
10
- .enum(['NoLogger', 'ConsoleLogger'], { required_error: "Allowed options ['NoLogger', 'ConsoleLogger']" })
11
+ .enum(['NoLogger', 'ConsoleLogger'], shared_1.ZodHelper.typeError("Allowed options ['NoLogger', 'ConsoleLogger']"))
11
12
  .optional(),
12
13
  loggerOptions: zod_1.default.any().optional(),
13
14
  loggerInstance: zod_1.default.any().optional(),
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.hash = exports.version = void 0;
4
- exports.version = "3.9.0"
5
- exports.hash = "0563bb7e8a10da7649566d51b13fb4bef3ee3f5c"
4
+ exports.version = "4.0.1"
5
+ exports.hash = "f3934a0f75cd5b50bd7d6e0edad25840e534d312"
6
6
  //# sourceMappingURL=versionMetadata.js.map