@xyo-network/payment-payload-plugins 2.91.5 → 2.91.7

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 (269) hide show
  1. package/dist/browser/Escrow/index.d.cts +1 -0
  2. package/dist/browser/Escrow/index.d.cts.map +1 -1
  3. package/dist/browser/Escrow/index.d.mts +1 -0
  4. package/dist/browser/Escrow/index.d.mts.map +1 -1
  5. package/dist/browser/Escrow/index.d.ts +1 -0
  6. package/dist/browser/Escrow/index.d.ts.map +1 -1
  7. package/dist/browser/Escrow/validators/common/ModuleInstanceValidators/index.d.cts +2 -0
  8. package/dist/browser/Escrow/validators/common/ModuleInstanceValidators/index.d.cts.map +1 -0
  9. package/dist/browser/Escrow/validators/common/ModuleInstanceValidators/index.d.mts +2 -0
  10. package/dist/browser/Escrow/validators/common/ModuleInstanceValidators/index.d.mts.map +1 -0
  11. package/dist/browser/Escrow/validators/common/ModuleInstanceValidators/index.d.ts +2 -0
  12. package/dist/browser/Escrow/validators/common/ModuleInstanceValidators/index.d.ts.map +1 -0
  13. package/dist/browser/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.cts +22 -0
  14. package/dist/browser/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.cts.map +1 -0
  15. package/dist/browser/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.mts +22 -0
  16. package/dist/browser/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.mts.map +1 -0
  17. package/dist/browser/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.ts +22 -0
  18. package/dist/browser/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.ts.map +1 -0
  19. package/dist/browser/Escrow/validators/common/TemporalValidators/index.d.cts +2 -0
  20. package/dist/browser/Escrow/validators/common/TemporalValidators/index.d.cts.map +1 -0
  21. package/dist/browser/Escrow/validators/common/TemporalValidators/index.d.mts +2 -0
  22. package/dist/browser/Escrow/validators/common/TemporalValidators/index.d.mts.map +1 -0
  23. package/dist/browser/Escrow/validators/common/TemporalValidators/index.d.ts +2 -0
  24. package/dist/browser/Escrow/validators/common/TemporalValidators/index.d.ts.map +1 -0
  25. package/dist/browser/Escrow/validators/common/TemporalValidators/validateWithinWindow.d.cts +6 -0
  26. package/dist/browser/Escrow/validators/common/TemporalValidators/validateWithinWindow.d.cts.map +1 -0
  27. package/dist/browser/Escrow/validators/common/TemporalValidators/validateWithinWindow.d.mts +6 -0
  28. package/dist/browser/Escrow/validators/common/TemporalValidators/validateWithinWindow.d.mts.map +1 -0
  29. package/dist/browser/Escrow/validators/common/TemporalValidators/validateWithinWindow.d.ts +6 -0
  30. package/dist/browser/Escrow/validators/common/TemporalValidators/validateWithinWindow.d.ts.map +1 -0
  31. package/dist/browser/Escrow/validators/common/index.d.cts +3 -0
  32. package/dist/browser/Escrow/validators/common/index.d.cts.map +1 -0
  33. package/dist/browser/Escrow/validators/common/index.d.mts +3 -0
  34. package/dist/browser/Escrow/validators/common/index.d.mts.map +1 -0
  35. package/dist/browser/Escrow/validators/common/index.d.ts +3 -0
  36. package/dist/browser/Escrow/validators/common/index.d.ts.map +1 -0
  37. package/dist/browser/Escrow/validators/escrow/agent.d.cts +4 -0
  38. package/dist/browser/Escrow/validators/escrow/agent.d.cts.map +1 -0
  39. package/dist/browser/Escrow/validators/escrow/agent.d.mts +4 -0
  40. package/dist/browser/Escrow/validators/escrow/agent.d.mts.map +1 -0
  41. package/dist/browser/Escrow/validators/escrow/agent.d.ts +4 -0
  42. package/dist/browser/Escrow/validators/escrow/agent.d.ts.map +1 -0
  43. package/dist/browser/Escrow/validators/escrow/appraisal.d.cts +29 -0
  44. package/dist/browser/Escrow/validators/escrow/appraisal.d.cts.map +1 -0
  45. package/dist/browser/Escrow/validators/escrow/appraisal.d.mts +29 -0
  46. package/dist/browser/Escrow/validators/escrow/appraisal.d.mts.map +1 -0
  47. package/dist/browser/Escrow/validators/escrow/appraisal.d.ts +29 -0
  48. package/dist/browser/Escrow/validators/escrow/appraisal.d.ts.map +1 -0
  49. package/dist/browser/Escrow/validators/escrow/appraisalAuthorities.d.cts +9 -0
  50. package/dist/browser/Escrow/validators/escrow/appraisalAuthorities.d.cts.map +1 -0
  51. package/dist/browser/Escrow/validators/escrow/appraisalAuthorities.d.mts +9 -0
  52. package/dist/browser/Escrow/validators/escrow/appraisalAuthorities.d.mts.map +1 -0
  53. package/dist/browser/Escrow/validators/escrow/appraisalAuthorities.d.ts +9 -0
  54. package/dist/browser/Escrow/validators/escrow/appraisalAuthorities.d.ts.map +1 -0
  55. package/dist/browser/Escrow/validators/escrow/assets.d.cts +7 -0
  56. package/dist/browser/Escrow/validators/escrow/assets.d.cts.map +1 -0
  57. package/dist/browser/Escrow/validators/escrow/assets.d.mts +7 -0
  58. package/dist/browser/Escrow/validators/escrow/assets.d.mts.map +1 -0
  59. package/dist/browser/Escrow/validators/escrow/assets.d.ts +7 -0
  60. package/dist/browser/Escrow/validators/escrow/assets.d.ts.map +1 -0
  61. package/dist/browser/Escrow/validators/escrow/buyer.d.cts +7 -0
  62. package/dist/browser/Escrow/validators/escrow/buyer.d.cts.map +1 -0
  63. package/dist/browser/Escrow/validators/escrow/buyer.d.mts +7 -0
  64. package/dist/browser/Escrow/validators/escrow/buyer.d.mts.map +1 -0
  65. package/dist/browser/Escrow/validators/escrow/buyer.d.ts +7 -0
  66. package/dist/browser/Escrow/validators/escrow/buyer.d.ts.map +1 -0
  67. package/dist/browser/Escrow/validators/escrow/buyerSecret.d.cts +21 -0
  68. package/dist/browser/Escrow/validators/escrow/buyerSecret.d.cts.map +1 -0
  69. package/dist/browser/Escrow/validators/escrow/buyerSecret.d.mts +21 -0
  70. package/dist/browser/Escrow/validators/escrow/buyerSecret.d.mts.map +1 -0
  71. package/dist/browser/Escrow/validators/escrow/buyerSecret.d.ts +21 -0
  72. package/dist/browser/Escrow/validators/escrow/buyerSecret.d.ts.map +1 -0
  73. package/dist/browser/Escrow/validators/escrow/index.d.cts +11 -0
  74. package/dist/browser/Escrow/validators/escrow/index.d.cts.map +1 -0
  75. package/dist/browser/Escrow/validators/escrow/index.d.mts +11 -0
  76. package/dist/browser/Escrow/validators/escrow/index.d.mts.map +1 -0
  77. package/dist/browser/Escrow/validators/escrow/index.d.ts +11 -0
  78. package/dist/browser/Escrow/validators/escrow/index.d.ts.map +1 -0
  79. package/dist/browser/Escrow/validators/escrow/nbfExp.d.cts +3 -0
  80. package/dist/browser/Escrow/validators/escrow/nbfExp.d.cts.map +1 -0
  81. package/dist/browser/Escrow/validators/escrow/nbfExp.d.mts +3 -0
  82. package/dist/browser/Escrow/validators/escrow/nbfExp.d.mts.map +1 -0
  83. package/dist/browser/Escrow/validators/escrow/nbfExp.d.ts +3 -0
  84. package/dist/browser/Escrow/validators/escrow/nbfExp.d.ts.map +1 -0
  85. package/dist/browser/Escrow/validators/escrow/paymentAuthorities.d.cts +4 -0
  86. package/dist/browser/Escrow/validators/escrow/paymentAuthorities.d.cts.map +1 -0
  87. package/dist/browser/Escrow/validators/escrow/paymentAuthorities.d.mts +4 -0
  88. package/dist/browser/Escrow/validators/escrow/paymentAuthorities.d.mts.map +1 -0
  89. package/dist/browser/Escrow/validators/escrow/paymentAuthorities.d.ts +4 -0
  90. package/dist/browser/Escrow/validators/escrow/paymentAuthorities.d.ts.map +1 -0
  91. package/dist/browser/Escrow/validators/escrow/seller.d.cts +7 -0
  92. package/dist/browser/Escrow/validators/escrow/seller.d.cts.map +1 -0
  93. package/dist/browser/Escrow/validators/escrow/seller.d.mts +7 -0
  94. package/dist/browser/Escrow/validators/escrow/seller.d.mts.map +1 -0
  95. package/dist/browser/Escrow/validators/escrow/seller.d.ts +7 -0
  96. package/dist/browser/Escrow/validators/escrow/seller.d.ts.map +1 -0
  97. package/dist/browser/Escrow/validators/escrow/sellerSecret.d.cts +21 -0
  98. package/dist/browser/Escrow/validators/escrow/sellerSecret.d.cts.map +1 -0
  99. package/dist/browser/Escrow/validators/escrow/sellerSecret.d.mts +21 -0
  100. package/dist/browser/Escrow/validators/escrow/sellerSecret.d.mts.map +1 -0
  101. package/dist/browser/Escrow/validators/escrow/sellerSecret.d.ts +21 -0
  102. package/dist/browser/Escrow/validators/escrow/sellerSecret.d.ts.map +1 -0
  103. package/dist/browser/Escrow/validators/index.d.cts +4 -0
  104. package/dist/browser/Escrow/validators/index.d.cts.map +1 -0
  105. package/dist/browser/Escrow/validators/index.d.mts +4 -0
  106. package/dist/browser/Escrow/validators/index.d.mts.map +1 -0
  107. package/dist/browser/Escrow/validators/index.d.ts +4 -0
  108. package/dist/browser/Escrow/validators/index.d.ts.map +1 -0
  109. package/dist/browser/Escrow/validators/types/escrowValidation.d.cts +26 -0
  110. package/dist/browser/Escrow/validators/types/escrowValidation.d.cts.map +1 -0
  111. package/dist/browser/Escrow/validators/types/escrowValidation.d.mts +26 -0
  112. package/dist/browser/Escrow/validators/types/escrowValidation.d.mts.map +1 -0
  113. package/dist/browser/Escrow/validators/types/escrowValidation.d.ts +26 -0
  114. package/dist/browser/Escrow/validators/types/escrowValidation.d.ts.map +1 -0
  115. package/dist/browser/Escrow/validators/types/index.d.cts +2 -0
  116. package/dist/browser/Escrow/validators/types/index.d.cts.map +1 -0
  117. package/dist/browser/Escrow/validators/types/index.d.mts +2 -0
  118. package/dist/browser/Escrow/validators/types/index.d.mts.map +1 -0
  119. package/dist/browser/Escrow/validators/types/index.d.ts +2 -0
  120. package/dist/browser/Escrow/validators/types/index.d.ts.map +1 -0
  121. package/dist/browser/index.cjs +337 -3
  122. package/dist/browser/index.cjs.map +1 -1
  123. package/dist/browser/index.js +335 -1
  124. package/dist/browser/index.js.map +1 -1
  125. package/dist/node/Escrow/index.d.cts +1 -0
  126. package/dist/node/Escrow/index.d.cts.map +1 -1
  127. package/dist/node/Escrow/index.d.mts +1 -0
  128. package/dist/node/Escrow/index.d.mts.map +1 -1
  129. package/dist/node/Escrow/index.d.ts +1 -0
  130. package/dist/node/Escrow/index.d.ts.map +1 -1
  131. package/dist/node/Escrow/validators/common/ModuleInstanceValidators/index.d.cts +2 -0
  132. package/dist/node/Escrow/validators/common/ModuleInstanceValidators/index.d.cts.map +1 -0
  133. package/dist/node/Escrow/validators/common/ModuleInstanceValidators/index.d.mts +2 -0
  134. package/dist/node/Escrow/validators/common/ModuleInstanceValidators/index.d.mts.map +1 -0
  135. package/dist/node/Escrow/validators/common/ModuleInstanceValidators/index.d.ts +2 -0
  136. package/dist/node/Escrow/validators/common/ModuleInstanceValidators/index.d.ts.map +1 -0
  137. package/dist/node/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.cts +22 -0
  138. package/dist/node/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.cts.map +1 -0
  139. package/dist/node/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.mts +22 -0
  140. package/dist/node/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.mts.map +1 -0
  141. package/dist/node/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.ts +22 -0
  142. package/dist/node/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.ts.map +1 -0
  143. package/dist/node/Escrow/validators/common/TemporalValidators/index.d.cts +2 -0
  144. package/dist/node/Escrow/validators/common/TemporalValidators/index.d.cts.map +1 -0
  145. package/dist/node/Escrow/validators/common/TemporalValidators/index.d.mts +2 -0
  146. package/dist/node/Escrow/validators/common/TemporalValidators/index.d.mts.map +1 -0
  147. package/dist/node/Escrow/validators/common/TemporalValidators/index.d.ts +2 -0
  148. package/dist/node/Escrow/validators/common/TemporalValidators/index.d.ts.map +1 -0
  149. package/dist/node/Escrow/validators/common/TemporalValidators/validateWithinWindow.d.cts +6 -0
  150. package/dist/node/Escrow/validators/common/TemporalValidators/validateWithinWindow.d.cts.map +1 -0
  151. package/dist/node/Escrow/validators/common/TemporalValidators/validateWithinWindow.d.mts +6 -0
  152. package/dist/node/Escrow/validators/common/TemporalValidators/validateWithinWindow.d.mts.map +1 -0
  153. package/dist/node/Escrow/validators/common/TemporalValidators/validateWithinWindow.d.ts +6 -0
  154. package/dist/node/Escrow/validators/common/TemporalValidators/validateWithinWindow.d.ts.map +1 -0
  155. package/dist/node/Escrow/validators/common/index.d.cts +3 -0
  156. package/dist/node/Escrow/validators/common/index.d.cts.map +1 -0
  157. package/dist/node/Escrow/validators/common/index.d.mts +3 -0
  158. package/dist/node/Escrow/validators/common/index.d.mts.map +1 -0
  159. package/dist/node/Escrow/validators/common/index.d.ts +3 -0
  160. package/dist/node/Escrow/validators/common/index.d.ts.map +1 -0
  161. package/dist/node/Escrow/validators/escrow/agent.d.cts +4 -0
  162. package/dist/node/Escrow/validators/escrow/agent.d.cts.map +1 -0
  163. package/dist/node/Escrow/validators/escrow/agent.d.mts +4 -0
  164. package/dist/node/Escrow/validators/escrow/agent.d.mts.map +1 -0
  165. package/dist/node/Escrow/validators/escrow/agent.d.ts +4 -0
  166. package/dist/node/Escrow/validators/escrow/agent.d.ts.map +1 -0
  167. package/dist/node/Escrow/validators/escrow/appraisal.d.cts +29 -0
  168. package/dist/node/Escrow/validators/escrow/appraisal.d.cts.map +1 -0
  169. package/dist/node/Escrow/validators/escrow/appraisal.d.mts +29 -0
  170. package/dist/node/Escrow/validators/escrow/appraisal.d.mts.map +1 -0
  171. package/dist/node/Escrow/validators/escrow/appraisal.d.ts +29 -0
  172. package/dist/node/Escrow/validators/escrow/appraisal.d.ts.map +1 -0
  173. package/dist/node/Escrow/validators/escrow/appraisalAuthorities.d.cts +9 -0
  174. package/dist/node/Escrow/validators/escrow/appraisalAuthorities.d.cts.map +1 -0
  175. package/dist/node/Escrow/validators/escrow/appraisalAuthorities.d.mts +9 -0
  176. package/dist/node/Escrow/validators/escrow/appraisalAuthorities.d.mts.map +1 -0
  177. package/dist/node/Escrow/validators/escrow/appraisalAuthorities.d.ts +9 -0
  178. package/dist/node/Escrow/validators/escrow/appraisalAuthorities.d.ts.map +1 -0
  179. package/dist/node/Escrow/validators/escrow/assets.d.cts +7 -0
  180. package/dist/node/Escrow/validators/escrow/assets.d.cts.map +1 -0
  181. package/dist/node/Escrow/validators/escrow/assets.d.mts +7 -0
  182. package/dist/node/Escrow/validators/escrow/assets.d.mts.map +1 -0
  183. package/dist/node/Escrow/validators/escrow/assets.d.ts +7 -0
  184. package/dist/node/Escrow/validators/escrow/assets.d.ts.map +1 -0
  185. package/dist/node/Escrow/validators/escrow/buyer.d.cts +7 -0
  186. package/dist/node/Escrow/validators/escrow/buyer.d.cts.map +1 -0
  187. package/dist/node/Escrow/validators/escrow/buyer.d.mts +7 -0
  188. package/dist/node/Escrow/validators/escrow/buyer.d.mts.map +1 -0
  189. package/dist/node/Escrow/validators/escrow/buyer.d.ts +7 -0
  190. package/dist/node/Escrow/validators/escrow/buyer.d.ts.map +1 -0
  191. package/dist/node/Escrow/validators/escrow/buyerSecret.d.cts +21 -0
  192. package/dist/node/Escrow/validators/escrow/buyerSecret.d.cts.map +1 -0
  193. package/dist/node/Escrow/validators/escrow/buyerSecret.d.mts +21 -0
  194. package/dist/node/Escrow/validators/escrow/buyerSecret.d.mts.map +1 -0
  195. package/dist/node/Escrow/validators/escrow/buyerSecret.d.ts +21 -0
  196. package/dist/node/Escrow/validators/escrow/buyerSecret.d.ts.map +1 -0
  197. package/dist/node/Escrow/validators/escrow/index.d.cts +11 -0
  198. package/dist/node/Escrow/validators/escrow/index.d.cts.map +1 -0
  199. package/dist/node/Escrow/validators/escrow/index.d.mts +11 -0
  200. package/dist/node/Escrow/validators/escrow/index.d.mts.map +1 -0
  201. package/dist/node/Escrow/validators/escrow/index.d.ts +11 -0
  202. package/dist/node/Escrow/validators/escrow/index.d.ts.map +1 -0
  203. package/dist/node/Escrow/validators/escrow/nbfExp.d.cts +3 -0
  204. package/dist/node/Escrow/validators/escrow/nbfExp.d.cts.map +1 -0
  205. package/dist/node/Escrow/validators/escrow/nbfExp.d.mts +3 -0
  206. package/dist/node/Escrow/validators/escrow/nbfExp.d.mts.map +1 -0
  207. package/dist/node/Escrow/validators/escrow/nbfExp.d.ts +3 -0
  208. package/dist/node/Escrow/validators/escrow/nbfExp.d.ts.map +1 -0
  209. package/dist/node/Escrow/validators/escrow/paymentAuthorities.d.cts +4 -0
  210. package/dist/node/Escrow/validators/escrow/paymentAuthorities.d.cts.map +1 -0
  211. package/dist/node/Escrow/validators/escrow/paymentAuthorities.d.mts +4 -0
  212. package/dist/node/Escrow/validators/escrow/paymentAuthorities.d.mts.map +1 -0
  213. package/dist/node/Escrow/validators/escrow/paymentAuthorities.d.ts +4 -0
  214. package/dist/node/Escrow/validators/escrow/paymentAuthorities.d.ts.map +1 -0
  215. package/dist/node/Escrow/validators/escrow/seller.d.cts +7 -0
  216. package/dist/node/Escrow/validators/escrow/seller.d.cts.map +1 -0
  217. package/dist/node/Escrow/validators/escrow/seller.d.mts +7 -0
  218. package/dist/node/Escrow/validators/escrow/seller.d.mts.map +1 -0
  219. package/dist/node/Escrow/validators/escrow/seller.d.ts +7 -0
  220. package/dist/node/Escrow/validators/escrow/seller.d.ts.map +1 -0
  221. package/dist/node/Escrow/validators/escrow/sellerSecret.d.cts +21 -0
  222. package/dist/node/Escrow/validators/escrow/sellerSecret.d.cts.map +1 -0
  223. package/dist/node/Escrow/validators/escrow/sellerSecret.d.mts +21 -0
  224. package/dist/node/Escrow/validators/escrow/sellerSecret.d.mts.map +1 -0
  225. package/dist/node/Escrow/validators/escrow/sellerSecret.d.ts +21 -0
  226. package/dist/node/Escrow/validators/escrow/sellerSecret.d.ts.map +1 -0
  227. package/dist/node/Escrow/validators/index.d.cts +4 -0
  228. package/dist/node/Escrow/validators/index.d.cts.map +1 -0
  229. package/dist/node/Escrow/validators/index.d.mts +4 -0
  230. package/dist/node/Escrow/validators/index.d.mts.map +1 -0
  231. package/dist/node/Escrow/validators/index.d.ts +4 -0
  232. package/dist/node/Escrow/validators/index.d.ts.map +1 -0
  233. package/dist/node/Escrow/validators/types/escrowValidation.d.cts +26 -0
  234. package/dist/node/Escrow/validators/types/escrowValidation.d.cts.map +1 -0
  235. package/dist/node/Escrow/validators/types/escrowValidation.d.mts +26 -0
  236. package/dist/node/Escrow/validators/types/escrowValidation.d.mts.map +1 -0
  237. package/dist/node/Escrow/validators/types/escrowValidation.d.ts +26 -0
  238. package/dist/node/Escrow/validators/types/escrowValidation.d.ts.map +1 -0
  239. package/dist/node/Escrow/validators/types/index.d.cts +2 -0
  240. package/dist/node/Escrow/validators/types/index.d.cts.map +1 -0
  241. package/dist/node/Escrow/validators/types/index.d.mts +2 -0
  242. package/dist/node/Escrow/validators/types/index.d.mts.map +1 -0
  243. package/dist/node/Escrow/validators/types/index.d.ts +2 -0
  244. package/dist/node/Escrow/validators/types/index.d.ts.map +1 -0
  245. package/dist/node/index.cjs +359 -4
  246. package/dist/node/index.cjs.map +1 -1
  247. package/dist/node/index.js +335 -1
  248. package/dist/node/index.js.map +1 -1
  249. package/package.json +10 -5
  250. package/src/Escrow/index.ts +1 -0
  251. package/src/Escrow/validators/common/ModuleInstanceValidators/index.ts +1 -0
  252. package/src/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.ts +48 -0
  253. package/src/Escrow/validators/common/TemporalValidators/index.ts +1 -0
  254. package/src/Escrow/validators/common/TemporalValidators/validateWithinWindow.ts +7 -0
  255. package/src/Escrow/validators/common/index.ts +2 -0
  256. package/src/Escrow/validators/escrow/agent.ts +17 -0
  257. package/src/Escrow/validators/escrow/appraisal.ts +129 -0
  258. package/src/Escrow/validators/escrow/appraisalAuthorities.ts +37 -0
  259. package/src/Escrow/validators/escrow/assets.ts +18 -0
  260. package/src/Escrow/validators/escrow/buyer.ts +25 -0
  261. package/src/Escrow/validators/escrow/buyerSecret.ts +75 -0
  262. package/src/Escrow/validators/escrow/index.ts +10 -0
  263. package/src/Escrow/validators/escrow/nbfExp.ts +18 -0
  264. package/src/Escrow/validators/escrow/paymentAuthorities.ts +17 -0
  265. package/src/Escrow/validators/escrow/seller.ts +25 -0
  266. package/src/Escrow/validators/escrow/sellerSecret.ts +75 -0
  267. package/src/Escrow/validators/index.ts +3 -0
  268. package/src/Escrow/validators/types/escrowValidation.ts +30 -0
  269. package/src/Escrow/validators/types/index.ts +1 -0
@@ -0,0 +1,6 @@
1
+ export type Windowed = {
2
+ exp?: number;
3
+ nbf?: number;
4
+ };
5
+ export declare const validateWithinWindow: (value: Windowed, exp: number, nbf?: number) => boolean;
6
+ //# sourceMappingURL=validateWithinWindow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validateWithinWindow.d.ts","sourceRoot":"","sources":["../../../../../../src/Escrow/validators/common/TemporalValidators/validateWithinWindow.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG;IAAE,GAAG,CAAC,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,CAAA;AAErD,eAAO,MAAM,oBAAoB,UAAW,QAAQ,OAAO,MAAM,QAAO,MAAM,KAAgB,OAI7F,CAAA"}
@@ -0,0 +1,6 @@
1
+ export type Windowed = {
2
+ exp?: number;
3
+ nbf?: number;
4
+ };
5
+ export declare const validateWithinWindow: (value: Windowed, exp: number, nbf?: number) => boolean;
6
+ //# sourceMappingURL=validateWithinWindow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validateWithinWindow.d.ts","sourceRoot":"","sources":["../../../../../../src/Escrow/validators/common/TemporalValidators/validateWithinWindow.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG;IAAE,GAAG,CAAC,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,CAAA;AAErD,eAAO,MAAM,oBAAoB,UAAW,QAAQ,OAAO,MAAM,QAAO,MAAM,KAAgB,OAI7F,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './ModuleInstanceValidators';
2
+ export * from './TemporalValidators';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAA;AAC1C,cAAc,sBAAsB,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './ModuleInstanceValidators';
2
+ export * from './TemporalValidators';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAA;AAC1C,cAAc,sBAAsB,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './ModuleInstanceValidators';
2
+ export * from './TemporalValidators';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAA;AAC1C,cAAc,sBAAsB,CAAA"}
@@ -0,0 +1,4 @@
1
+ import { ModuleIdentifier } from '@xyo-network/module-model';
2
+ import { EscrowTermsValidationFunction } from '../types';
3
+ export declare const getEscrowAgentAllowedValidator: (allowedEscrowAgent: ModuleIdentifier) => EscrowTermsValidationFunction;
4
+ //# sourceMappingURL=agent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/agent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAI5D,OAAO,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAA;AAIxD,eAAO,MAAM,8BAA8B,uBAAwB,gBAAgB,KAAG,6BAQrF,CAAA"}
@@ -0,0 +1,4 @@
1
+ import { ModuleIdentifier } from '@xyo-network/module-model';
2
+ import { EscrowTermsValidationFunction } from '../types';
3
+ export declare const getEscrowAgentAllowedValidator: (allowedEscrowAgent: ModuleIdentifier) => EscrowTermsValidationFunction;
4
+ //# sourceMappingURL=agent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/agent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAI5D,OAAO,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAA;AAIxD,eAAO,MAAM,8BAA8B,uBAAwB,gBAAgB,KAAG,6BAQrF,CAAA"}
@@ -0,0 +1,4 @@
1
+ import { ModuleIdentifier } from '@xyo-network/module-model';
2
+ import { EscrowTermsValidationFunction } from '../types';
3
+ export declare const getEscrowAgentAllowedValidator: (allowedEscrowAgent: ModuleIdentifier) => EscrowTermsValidationFunction;
4
+ //# sourceMappingURL=agent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/agent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAI5D,OAAO,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAA;AAIxD,eAAO,MAAM,8BAA8B,uBAAwB,gBAAgB,KAAG,6BAQrF,CAAA"}
@@ -0,0 +1,29 @@
1
+ import { Hash } from '@xylabs/hex';
2
+ import { Payload, WithMeta } from '@xyo-network/payload-model';
3
+ import { EscrowTermsValidationFunction } from '../types';
4
+ /**
5
+ * A function that validates the escrow terms for tbe existence of appraisals
6
+ * @returns True if the escrow terms contain appraisals, false otherwise
7
+ */
8
+ export declare const appraisalsExistValidator: EscrowTermsValidationFunction;
9
+ /**
10
+ * Returns a function that validates the escrow terms for appraisals which are from valid authorities
11
+ * @param dictionary Payload dictionary of the escrow terms
12
+ * @returns A function that validates the escrow terms for appraisals which are from valid authorities
13
+ */
14
+ export declare const getAppraisalsFromValidAuthoritiesValidator: (dictionary: Record<Hash, WithMeta<Payload>>) => EscrowTermsValidationFunction;
15
+ /**
16
+ * Returns a function that validates the escrow terms for appraisals which are valid
17
+ * @param dictionary Payload dictionary of the escrow terms
18
+ * @param minimumExp The minium amount of time an estimate needs to be valid
19
+ * for in the future (so as not to expire before the escrow is complete)
20
+ * @returns A function that validates the escrow terms for appraisals which are valid
21
+ */
22
+ export declare const getAppraisalsValidValidator: (dictionary: Record<Hash, WithMeta<Payload>>, minimumExp: number) => EscrowTermsValidationFunction;
23
+ /**
24
+ * Returns a function that validates the escrow terms to ensure that they contain an appraisal for each asset
25
+ * @param dictionary Payload dictionary of the escrow terms
26
+ * @returns A function that validates the escrow terms for appraisals
27
+ */
28
+ export declare const getAppraisalsForAllAssetsValidator: (dictionary: Record<Hash, WithMeta<Payload>>) => EscrowTermsValidationFunction;
29
+ //# sourceMappingURL=appraisal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"appraisal.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/appraisal.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAGlC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAe,MAAM,4BAA4B,CAAA;AAI3E,OAAO,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAA;AAIxD;;;GAGG;AACH,eAAO,MAAM,wBAAwB,EAAE,6BAQtC,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,0CAA0C,eAAgB,OAAO,IAAI,EAAE,SAAS,OAAO,CAAC,CAAC,KAAG,6BA0BxG,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,2BAA2B,eAAgB,OAAO,IAAI,EAAE,SAAS,OAAO,CAAC,CAAC,cAAc,MAAM,KAAG,6BAiB7G,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,kCAAkC,eAAgB,OAAO,IAAI,EAAE,SAAS,OAAO,CAAC,CAAC,KAAG,6BAWhG,CAAA"}
@@ -0,0 +1,29 @@
1
+ import { Hash } from '@xylabs/hex';
2
+ import { Payload, WithMeta } from '@xyo-network/payload-model';
3
+ import { EscrowTermsValidationFunction } from '../types';
4
+ /**
5
+ * A function that validates the escrow terms for tbe existence of appraisals
6
+ * @returns True if the escrow terms contain appraisals, false otherwise
7
+ */
8
+ export declare const appraisalsExistValidator: EscrowTermsValidationFunction;
9
+ /**
10
+ * Returns a function that validates the escrow terms for appraisals which are from valid authorities
11
+ * @param dictionary Payload dictionary of the escrow terms
12
+ * @returns A function that validates the escrow terms for appraisals which are from valid authorities
13
+ */
14
+ export declare const getAppraisalsFromValidAuthoritiesValidator: (dictionary: Record<Hash, WithMeta<Payload>>) => EscrowTermsValidationFunction;
15
+ /**
16
+ * Returns a function that validates the escrow terms for appraisals which are valid
17
+ * @param dictionary Payload dictionary of the escrow terms
18
+ * @param minimumExp The minium amount of time an estimate needs to be valid
19
+ * for in the future (so as not to expire before the escrow is complete)
20
+ * @returns A function that validates the escrow terms for appraisals which are valid
21
+ */
22
+ export declare const getAppraisalsValidValidator: (dictionary: Record<Hash, WithMeta<Payload>>, minimumExp: number) => EscrowTermsValidationFunction;
23
+ /**
24
+ * Returns a function that validates the escrow terms to ensure that they contain an appraisal for each asset
25
+ * @param dictionary Payload dictionary of the escrow terms
26
+ * @returns A function that validates the escrow terms for appraisals
27
+ */
28
+ export declare const getAppraisalsForAllAssetsValidator: (dictionary: Record<Hash, WithMeta<Payload>>) => EscrowTermsValidationFunction;
29
+ //# sourceMappingURL=appraisal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"appraisal.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/appraisal.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAGlC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAe,MAAM,4BAA4B,CAAA;AAI3E,OAAO,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAA;AAIxD;;;GAGG;AACH,eAAO,MAAM,wBAAwB,EAAE,6BAQtC,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,0CAA0C,eAAgB,OAAO,IAAI,EAAE,SAAS,OAAO,CAAC,CAAC,KAAG,6BA0BxG,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,2BAA2B,eAAgB,OAAO,IAAI,EAAE,SAAS,OAAO,CAAC,CAAC,cAAc,MAAM,KAAG,6BAiB7G,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,kCAAkC,eAAgB,OAAO,IAAI,EAAE,SAAS,OAAO,CAAC,CAAC,KAAG,6BAWhG,CAAA"}
@@ -0,0 +1,29 @@
1
+ import { Hash } from '@xylabs/hex';
2
+ import { Payload, WithMeta } from '@xyo-network/payload-model';
3
+ import { EscrowTermsValidationFunction } from '../types';
4
+ /**
5
+ * A function that validates the escrow terms for tbe existence of appraisals
6
+ * @returns True if the escrow terms contain appraisals, false otherwise
7
+ */
8
+ export declare const appraisalsExistValidator: EscrowTermsValidationFunction;
9
+ /**
10
+ * Returns a function that validates the escrow terms for appraisals which are from valid authorities
11
+ * @param dictionary Payload dictionary of the escrow terms
12
+ * @returns A function that validates the escrow terms for appraisals which are from valid authorities
13
+ */
14
+ export declare const getAppraisalsFromValidAuthoritiesValidator: (dictionary: Record<Hash, WithMeta<Payload>>) => EscrowTermsValidationFunction;
15
+ /**
16
+ * Returns a function that validates the escrow terms for appraisals which are valid
17
+ * @param dictionary Payload dictionary of the escrow terms
18
+ * @param minimumExp The minium amount of time an estimate needs to be valid
19
+ * for in the future (so as not to expire before the escrow is complete)
20
+ * @returns A function that validates the escrow terms for appraisals which are valid
21
+ */
22
+ export declare const getAppraisalsValidValidator: (dictionary: Record<Hash, WithMeta<Payload>>, minimumExp: number) => EscrowTermsValidationFunction;
23
+ /**
24
+ * Returns a function that validates the escrow terms to ensure that they contain an appraisal for each asset
25
+ * @param dictionary Payload dictionary of the escrow terms
26
+ * @returns A function that validates the escrow terms for appraisals
27
+ */
28
+ export declare const getAppraisalsForAllAssetsValidator: (dictionary: Record<Hash, WithMeta<Payload>>) => EscrowTermsValidationFunction;
29
+ //# sourceMappingURL=appraisal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"appraisal.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/appraisal.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAGlC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAe,MAAM,4BAA4B,CAAA;AAI3E,OAAO,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAA;AAIxD;;;GAGG;AACH,eAAO,MAAM,wBAAwB,EAAE,6BAQtC,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,0CAA0C,eAAgB,OAAO,IAAI,EAAE,SAAS,OAAO,CAAC,CAAC,KAAG,6BA0BxG,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,2BAA2B,eAAgB,OAAO,IAAI,EAAE,SAAS,OAAO,CAAC,CAAC,cAAc,MAAM,KAAG,6BAiB7G,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,kCAAkC,eAAgB,OAAO,IAAI,EAAE,SAAS,OAAO,CAAC,CAAC,KAAG,6BAWhG,CAAA"}
@@ -0,0 +1,9 @@
1
+ import { ModuleIdentifier } from '@xyo-network/module-model';
2
+ import { EscrowTermsValidationFunction } from '../types';
3
+ /**
4
+ * A function that validates the escrow terms for appraisalAuthorities
5
+ * @returns True if the escrow terms contain appraisalAuthorities, false otherwise
6
+ */
7
+ export declare const appraisalAuthoritiesExistValidator: EscrowTermsValidationFunction;
8
+ export declare const getAppraisalAuthoritiesAllowedValidator: (allowed: ModuleIdentifier[]) => EscrowTermsValidationFunction;
9
+ //# sourceMappingURL=appraisalAuthorities.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"appraisalAuthorities.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/appraisalAuthorities.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAI5D,OAAO,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAA;AAIxD;;;GAGG;AACH,eAAO,MAAM,kCAAkC,EAAE,6BAahD,CAAA;AAED,eAAO,MAAM,uCAAuC,YAAa,gBAAgB,EAAE,KAAG,6BAQrF,CAAA"}
@@ -0,0 +1,9 @@
1
+ import { ModuleIdentifier } from '@xyo-network/module-model';
2
+ import { EscrowTermsValidationFunction } from '../types';
3
+ /**
4
+ * A function that validates the escrow terms for appraisalAuthorities
5
+ * @returns True if the escrow terms contain appraisalAuthorities, false otherwise
6
+ */
7
+ export declare const appraisalAuthoritiesExistValidator: EscrowTermsValidationFunction;
8
+ export declare const getAppraisalAuthoritiesAllowedValidator: (allowed: ModuleIdentifier[]) => EscrowTermsValidationFunction;
9
+ //# sourceMappingURL=appraisalAuthorities.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"appraisalAuthorities.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/appraisalAuthorities.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAI5D,OAAO,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAA;AAIxD;;;GAGG;AACH,eAAO,MAAM,kCAAkC,EAAE,6BAahD,CAAA;AAED,eAAO,MAAM,uCAAuC,YAAa,gBAAgB,EAAE,KAAG,6BAQrF,CAAA"}
@@ -0,0 +1,9 @@
1
+ import { ModuleIdentifier } from '@xyo-network/module-model';
2
+ import { EscrowTermsValidationFunction } from '../types';
3
+ /**
4
+ * A function that validates the escrow terms for appraisalAuthorities
5
+ * @returns True if the escrow terms contain appraisalAuthorities, false otherwise
6
+ */
7
+ export declare const appraisalAuthoritiesExistValidator: EscrowTermsValidationFunction;
8
+ export declare const getAppraisalAuthoritiesAllowedValidator: (allowed: ModuleIdentifier[]) => EscrowTermsValidationFunction;
9
+ //# sourceMappingURL=appraisalAuthorities.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"appraisalAuthorities.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/appraisalAuthorities.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAI5D,OAAO,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAA;AAIxD;;;GAGG;AACH,eAAO,MAAM,kCAAkC,EAAE,6BAahD,CAAA;AAED,eAAO,MAAM,uCAAuC,YAAa,gBAAgB,EAAE,KAAG,6BAQrF,CAAA"}
@@ -0,0 +1,7 @@
1
+ import { EscrowTermsValidationFunction } from '../types';
2
+ /**
3
+ * Returns a function that validates the escrow terms for assets
4
+ * @returns A function that validates the escrow terms for assets
5
+ */
6
+ export declare const assetsExistValidator: EscrowTermsValidationFunction;
7
+ //# sourceMappingURL=assets.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"assets.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/assets.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAA;AAIxD;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE,6BAQlC,CAAA"}
@@ -0,0 +1,7 @@
1
+ import { EscrowTermsValidationFunction } from '../types';
2
+ /**
3
+ * Returns a function that validates the escrow terms for assets
4
+ * @returns A function that validates the escrow terms for assets
5
+ */
6
+ export declare const assetsExistValidator: EscrowTermsValidationFunction;
7
+ //# sourceMappingURL=assets.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"assets.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/assets.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAA;AAIxD;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE,6BAQlC,CAAA"}
@@ -0,0 +1,7 @@
1
+ import { EscrowTermsValidationFunction } from '../types';
2
+ /**
3
+ * Returns a function that validates the escrow terms for assets
4
+ * @returns A function that validates the escrow terms for assets
5
+ */
6
+ export declare const assetsExistValidator: EscrowTermsValidationFunction;
7
+ //# sourceMappingURL=assets.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"assets.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/assets.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAA;AAIxD;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE,6BAQlC,CAAA"}
@@ -0,0 +1,7 @@
1
+ import { EscrowTermsValidationFunction } from '../types';
2
+ /**
3
+ * A function that validates the escrow terms for buyer
4
+ * @returns True if the escrow terms contain buyer, false otherwise
5
+ */
6
+ export declare const buyerExistsValidator: EscrowTermsValidationFunction;
7
+ //# sourceMappingURL=buyer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"buyer.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/buyer.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAA;AAIxD;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE,6BAalC,CAAA"}
@@ -0,0 +1,7 @@
1
+ import { EscrowTermsValidationFunction } from '../types';
2
+ /**
3
+ * A function that validates the escrow terms for buyer
4
+ * @returns True if the escrow terms contain buyer, false otherwise
5
+ */
6
+ export declare const buyerExistsValidator: EscrowTermsValidationFunction;
7
+ //# sourceMappingURL=buyer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"buyer.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/buyer.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAA;AAIxD;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE,6BAalC,CAAA"}
@@ -0,0 +1,7 @@
1
+ import { EscrowTermsValidationFunction } from '../types';
2
+ /**
3
+ * A function that validates the escrow terms for buyer
4
+ * @returns True if the escrow terms contain buyer, false otherwise
5
+ */
6
+ export declare const buyerExistsValidator: EscrowTermsValidationFunction;
7
+ //# sourceMappingURL=buyer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"buyer.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/buyer.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAA;AAIxD;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE,6BAalC,CAAA"}
@@ -0,0 +1,21 @@
1
+ import { Hash } from '@xylabs/hex';
2
+ import { Payload, WithMeta } from '@xyo-network/payload-model';
3
+ import { EscrowTermsValidationFunction } from '../types';
4
+ /**
5
+ * Returns a function that validates the escrow terms for buyerSecret
6
+ * @returns A function that validates the escrow terms for buyerSecret
7
+ */
8
+ export declare const buyerSecretExistsValidator: EscrowTermsValidationFunction;
9
+ /**
10
+ * Returns a function that validates the escrow terms for the existence of the buyerSecret in the dictionary
11
+ * @param dictionary Payload dictionary of the escrow terms
12
+ * @returns A function that validates the escrow terms for the existence of the buyerSecret in the dictionary
13
+ */
14
+ export declare const getBuyerSecretSuppliedValidator: (dictionary: Record<Hash, WithMeta<Payload>>) => EscrowTermsValidationFunction;
15
+ /**
16
+ * Returns a function that validates the escrow terms for the existence of the buyerSecret signed by the buyer
17
+ * @param dictionary Payload dictionary of the escrow terms
18
+ * @returns A function that validates the escrow terms for the existence of the buyerSecret signed by the buyer
19
+ */
20
+ export declare const getBuyerSecretSignedValidator: (dictionary: Record<Hash, WithMeta<Payload>>) => EscrowTermsValidationFunction;
21
+ //# sourceMappingURL=buyerSecret.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"buyerSecret.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/buyerSecret.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAGlC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAA;AAG9D,OAAO,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAA;AAIxD;;;GAGG;AACH,eAAO,MAAM,0BAA0B,EAAE,6BAQxC,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,+BAA+B,eAAgB,OAAO,IAAI,EAAE,SAAS,OAAO,CAAC,CAAC,KAAG,6BAS7F,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,6BAA6B,eAAgB,OAAO,IAAI,EAAE,SAAS,OAAO,CAAC,CAAC,KAAG,6BA4B3F,CAAA"}
@@ -0,0 +1,21 @@
1
+ import { Hash } from '@xylabs/hex';
2
+ import { Payload, WithMeta } from '@xyo-network/payload-model';
3
+ import { EscrowTermsValidationFunction } from '../types';
4
+ /**
5
+ * Returns a function that validates the escrow terms for buyerSecret
6
+ * @returns A function that validates the escrow terms for buyerSecret
7
+ */
8
+ export declare const buyerSecretExistsValidator: EscrowTermsValidationFunction;
9
+ /**
10
+ * Returns a function that validates the escrow terms for the existence of the buyerSecret in the dictionary
11
+ * @param dictionary Payload dictionary of the escrow terms
12
+ * @returns A function that validates the escrow terms for the existence of the buyerSecret in the dictionary
13
+ */
14
+ export declare const getBuyerSecretSuppliedValidator: (dictionary: Record<Hash, WithMeta<Payload>>) => EscrowTermsValidationFunction;
15
+ /**
16
+ * Returns a function that validates the escrow terms for the existence of the buyerSecret signed by the buyer
17
+ * @param dictionary Payload dictionary of the escrow terms
18
+ * @returns A function that validates the escrow terms for the existence of the buyerSecret signed by the buyer
19
+ */
20
+ export declare const getBuyerSecretSignedValidator: (dictionary: Record<Hash, WithMeta<Payload>>) => EscrowTermsValidationFunction;
21
+ //# sourceMappingURL=buyerSecret.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"buyerSecret.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/buyerSecret.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAGlC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAA;AAG9D,OAAO,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAA;AAIxD;;;GAGG;AACH,eAAO,MAAM,0BAA0B,EAAE,6BAQxC,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,+BAA+B,eAAgB,OAAO,IAAI,EAAE,SAAS,OAAO,CAAC,CAAC,KAAG,6BAS7F,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,6BAA6B,eAAgB,OAAO,IAAI,EAAE,SAAS,OAAO,CAAC,CAAC,KAAG,6BA4B3F,CAAA"}
@@ -0,0 +1,21 @@
1
+ import { Hash } from '@xylabs/hex';
2
+ import { Payload, WithMeta } from '@xyo-network/payload-model';
3
+ import { EscrowTermsValidationFunction } from '../types';
4
+ /**
5
+ * Returns a function that validates the escrow terms for buyerSecret
6
+ * @returns A function that validates the escrow terms for buyerSecret
7
+ */
8
+ export declare const buyerSecretExistsValidator: EscrowTermsValidationFunction;
9
+ /**
10
+ * Returns a function that validates the escrow terms for the existence of the buyerSecret in the dictionary
11
+ * @param dictionary Payload dictionary of the escrow terms
12
+ * @returns A function that validates the escrow terms for the existence of the buyerSecret in the dictionary
13
+ */
14
+ export declare const getBuyerSecretSuppliedValidator: (dictionary: Record<Hash, WithMeta<Payload>>) => EscrowTermsValidationFunction;
15
+ /**
16
+ * Returns a function that validates the escrow terms for the existence of the buyerSecret signed by the buyer
17
+ * @param dictionary Payload dictionary of the escrow terms
18
+ * @returns A function that validates the escrow terms for the existence of the buyerSecret signed by the buyer
19
+ */
20
+ export declare const getBuyerSecretSignedValidator: (dictionary: Record<Hash, WithMeta<Payload>>) => EscrowTermsValidationFunction;
21
+ //# sourceMappingURL=buyerSecret.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"buyerSecret.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/buyerSecret.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAGlC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAA;AAG9D,OAAO,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAA;AAIxD;;;GAGG;AACH,eAAO,MAAM,0BAA0B,EAAE,6BAQxC,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,+BAA+B,eAAgB,OAAO,IAAI,EAAE,SAAS,OAAO,CAAC,CAAC,KAAG,6BAS7F,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,6BAA6B,eAAgB,OAAO,IAAI,EAAE,SAAS,OAAO,CAAC,CAAC,KAAG,6BA4B3F,CAAA"}
@@ -0,0 +1,11 @@
1
+ export * from './agent';
2
+ export * from './appraisal';
3
+ export * from './appraisalAuthorities';
4
+ export * from './assets';
5
+ export * from './buyer';
6
+ export * from './buyerSecret';
7
+ export * from './nbfExp';
8
+ export * from './paymentAuthorities';
9
+ export * from './seller';
10
+ export * from './sellerSecret';
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,aAAa,CAAA;AAC3B,cAAc,wBAAwB,CAAA;AACtC,cAAc,UAAU,CAAA;AACxB,cAAc,SAAS,CAAA;AACvB,cAAc,eAAe,CAAA;AAC7B,cAAc,UAAU,CAAA;AACxB,cAAc,sBAAsB,CAAA;AACpC,cAAc,UAAU,CAAA;AACxB,cAAc,gBAAgB,CAAA"}
@@ -0,0 +1,11 @@
1
+ export * from './agent';
2
+ export * from './appraisal';
3
+ export * from './appraisalAuthorities';
4
+ export * from './assets';
5
+ export * from './buyer';
6
+ export * from './buyerSecret';
7
+ export * from './nbfExp';
8
+ export * from './paymentAuthorities';
9
+ export * from './seller';
10
+ export * from './sellerSecret';
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,aAAa,CAAA;AAC3B,cAAc,wBAAwB,CAAA;AACtC,cAAc,UAAU,CAAA;AACxB,cAAc,SAAS,CAAA;AACvB,cAAc,eAAe,CAAA;AAC7B,cAAc,UAAU,CAAA;AACxB,cAAc,sBAAsB,CAAA;AACpC,cAAc,UAAU,CAAA;AACxB,cAAc,gBAAgB,CAAA"}
@@ -0,0 +1,11 @@
1
+ export * from './agent';
2
+ export * from './appraisal';
3
+ export * from './appraisalAuthorities';
4
+ export * from './assets';
5
+ export * from './buyer';
6
+ export * from './buyerSecret';
7
+ export * from './nbfExp';
8
+ export * from './paymentAuthorities';
9
+ export * from './seller';
10
+ export * from './sellerSecret';
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,aAAa,CAAA;AAC3B,cAAc,wBAAwB,CAAA;AACtC,cAAc,UAAU,CAAA;AACxB,cAAc,SAAS,CAAA;AACvB,cAAc,eAAe,CAAA;AAC7B,cAAc,UAAU,CAAA;AACxB,cAAc,sBAAsB,CAAA;AACpC,cAAc,UAAU,CAAA;AACxB,cAAc,gBAAgB,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { EscrowTermsValidationFunction } from '../types';
2
+ export declare const getNbfExpValidator: (now: number, minRequiredDuration: number) => EscrowTermsValidationFunction;
3
+ //# sourceMappingURL=nbfExp.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nbfExp.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/nbfExp.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAA;AAExD,eAAO,MAAM,kBAAkB,QAAS,MAAM,uBAAuB,MAAM,KAAG,6BAc7E,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { EscrowTermsValidationFunction } from '../types';
2
+ export declare const getNbfExpValidator: (now: number, minRequiredDuration: number) => EscrowTermsValidationFunction;
3
+ //# sourceMappingURL=nbfExp.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nbfExp.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/nbfExp.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAA;AAExD,eAAO,MAAM,kBAAkB,QAAS,MAAM,uBAAuB,MAAM,KAAG,6BAc7E,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { EscrowTermsValidationFunction } from '../types';
2
+ export declare const getNbfExpValidator: (now: number, minRequiredDuration: number) => EscrowTermsValidationFunction;
3
+ //# sourceMappingURL=nbfExp.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nbfExp.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/nbfExp.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAA;AAExD,eAAO,MAAM,kBAAkB,QAAS,MAAM,uBAAuB,MAAM,KAAG,6BAc7E,CAAA"}
@@ -0,0 +1,4 @@
1
+ import { ModuleIdentifier } from '@xyo-network/module-model';
2
+ import { EscrowTermsValidationFunction } from '../types';
3
+ export declare const getPaymentAuthoritiesAllowedValidator: (allowed: ModuleIdentifier[]) => EscrowTermsValidationFunction;
4
+ //# sourceMappingURL=paymentAuthorities.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"paymentAuthorities.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/paymentAuthorities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAI5D,OAAO,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAA;AAIxD,eAAO,MAAM,qCAAqC,YAAa,gBAAgB,EAAE,KAAG,6BAQnF,CAAA"}
@@ -0,0 +1,4 @@
1
+ import { ModuleIdentifier } from '@xyo-network/module-model';
2
+ import { EscrowTermsValidationFunction } from '../types';
3
+ export declare const getPaymentAuthoritiesAllowedValidator: (allowed: ModuleIdentifier[]) => EscrowTermsValidationFunction;
4
+ //# sourceMappingURL=paymentAuthorities.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"paymentAuthorities.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/paymentAuthorities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAI5D,OAAO,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAA;AAIxD,eAAO,MAAM,qCAAqC,YAAa,gBAAgB,EAAE,KAAG,6BAQnF,CAAA"}
@@ -0,0 +1,4 @@
1
+ import { ModuleIdentifier } from '@xyo-network/module-model';
2
+ import { EscrowTermsValidationFunction } from '../types';
3
+ export declare const getPaymentAuthoritiesAllowedValidator: (allowed: ModuleIdentifier[]) => EscrowTermsValidationFunction;
4
+ //# sourceMappingURL=paymentAuthorities.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"paymentAuthorities.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/paymentAuthorities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAI5D,OAAO,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAA;AAIxD,eAAO,MAAM,qCAAqC,YAAa,gBAAgB,EAAE,KAAG,6BAQnF,CAAA"}
@@ -0,0 +1,7 @@
1
+ import { EscrowTermsValidationFunction } from '../types';
2
+ /**
3
+ * A function that validates the escrow terms for seller
4
+ * @returns True if the escrow terms contain seller, false otherwise
5
+ */
6
+ export declare const sellerExistsValidator: EscrowTermsValidationFunction;
7
+ //# sourceMappingURL=seller.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"seller.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/seller.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAA;AAIxD;;;GAGG;AACH,eAAO,MAAM,qBAAqB,EAAE,6BAanC,CAAA"}
@@ -0,0 +1,7 @@
1
+ import { EscrowTermsValidationFunction } from '../types';
2
+ /**
3
+ * A function that validates the escrow terms for seller
4
+ * @returns True if the escrow terms contain seller, false otherwise
5
+ */
6
+ export declare const sellerExistsValidator: EscrowTermsValidationFunction;
7
+ //# sourceMappingURL=seller.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"seller.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/seller.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAA;AAIxD;;;GAGG;AACH,eAAO,MAAM,qBAAqB,EAAE,6BAanC,CAAA"}
@@ -0,0 +1,7 @@
1
+ import { EscrowTermsValidationFunction } from '../types';
2
+ /**
3
+ * A function that validates the escrow terms for seller
4
+ * @returns True if the escrow terms contain seller, false otherwise
5
+ */
6
+ export declare const sellerExistsValidator: EscrowTermsValidationFunction;
7
+ //# sourceMappingURL=seller.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"seller.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/seller.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAA;AAIxD;;;GAGG;AACH,eAAO,MAAM,qBAAqB,EAAE,6BAanC,CAAA"}
@@ -0,0 +1,21 @@
1
+ import { Hash } from '@xylabs/hex';
2
+ import { Payload, WithMeta } from '@xyo-network/payload-model';
3
+ import { EscrowTermsValidationFunction } from '../types';
4
+ /**
5
+ * Returns a function that validates the escrow terms for sellerSecret
6
+ * @returns A function that validates the escrow terms for sellerSecret
7
+ */
8
+ export declare const sellerSecretExistsValidator: EscrowTermsValidationFunction;
9
+ /**
10
+ * Returns a function that validates the escrow terms for the existence of the sellerSecret in the dictionary
11
+ * @param dictionary Payload dictionary of the escrow terms
12
+ * @returns A function that validates the escrow terms for the existence of the sellerSecret in the dictionary
13
+ */
14
+ export declare const getSellerSecretSuppliedValidator: (dictionary: Record<Hash, WithMeta<Payload>>) => EscrowTermsValidationFunction;
15
+ /**
16
+ * Returns a function that validates the escrow terms for the existence of the sellerSecret signed by the seller
17
+ * @param dictionary Payload dictionary of the escrow terms
18
+ * @returns A function that validates the escrow terms for the existence of the sellerSecret signed by the seller
19
+ */
20
+ export declare const getSellerSecretSignedValidator: (dictionary: Record<Hash, WithMeta<Payload>>) => EscrowTermsValidationFunction;
21
+ //# sourceMappingURL=sellerSecret.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sellerSecret.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/sellerSecret.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAGlC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAA;AAG9D,OAAO,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAA;AAIxD;;;GAGG;AACH,eAAO,MAAM,2BAA2B,EAAE,6BAQzC,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,gCAAgC,eAAgB,OAAO,IAAI,EAAE,SAAS,OAAO,CAAC,CAAC,KAAG,6BAS9F,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,eAAgB,OAAO,IAAI,EAAE,SAAS,OAAO,CAAC,CAAC,KAAG,6BA4B5F,CAAA"}
@@ -0,0 +1,21 @@
1
+ import { Hash } from '@xylabs/hex';
2
+ import { Payload, WithMeta } from '@xyo-network/payload-model';
3
+ import { EscrowTermsValidationFunction } from '../types';
4
+ /**
5
+ * Returns a function that validates the escrow terms for sellerSecret
6
+ * @returns A function that validates the escrow terms for sellerSecret
7
+ */
8
+ export declare const sellerSecretExistsValidator: EscrowTermsValidationFunction;
9
+ /**
10
+ * Returns a function that validates the escrow terms for the existence of the sellerSecret in the dictionary
11
+ * @param dictionary Payload dictionary of the escrow terms
12
+ * @returns A function that validates the escrow terms for the existence of the sellerSecret in the dictionary
13
+ */
14
+ export declare const getSellerSecretSuppliedValidator: (dictionary: Record<Hash, WithMeta<Payload>>) => EscrowTermsValidationFunction;
15
+ /**
16
+ * Returns a function that validates the escrow terms for the existence of the sellerSecret signed by the seller
17
+ * @param dictionary Payload dictionary of the escrow terms
18
+ * @returns A function that validates the escrow terms for the existence of the sellerSecret signed by the seller
19
+ */
20
+ export declare const getSellerSecretSignedValidator: (dictionary: Record<Hash, WithMeta<Payload>>) => EscrowTermsValidationFunction;
21
+ //# sourceMappingURL=sellerSecret.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sellerSecret.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/sellerSecret.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAGlC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAA;AAG9D,OAAO,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAA;AAIxD;;;GAGG;AACH,eAAO,MAAM,2BAA2B,EAAE,6BAQzC,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,gCAAgC,eAAgB,OAAO,IAAI,EAAE,SAAS,OAAO,CAAC,CAAC,KAAG,6BAS9F,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,eAAgB,OAAO,IAAI,EAAE,SAAS,OAAO,CAAC,CAAC,KAAG,6BA4B5F,CAAA"}