@xyo-network/payment-payload-plugins 2.91.4 → 2.91.6
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.
- package/dist/browser/Escrow/createEscrowIntent.d.cts +20 -0
- package/dist/browser/Escrow/createEscrowIntent.d.cts.map +1 -1
- package/dist/browser/Escrow/createEscrowIntent.d.mts +20 -0
- package/dist/browser/Escrow/createEscrowIntent.d.mts.map +1 -1
- package/dist/browser/Escrow/createEscrowIntent.d.ts +20 -0
- package/dist/browser/Escrow/createEscrowIntent.d.ts.map +1 -1
- package/dist/browser/Escrow/index.d.cts +1 -0
- package/dist/browser/Escrow/index.d.cts.map +1 -1
- package/dist/browser/Escrow/index.d.mts +1 -0
- package/dist/browser/Escrow/index.d.mts.map +1 -1
- package/dist/browser/Escrow/index.d.ts +1 -0
- package/dist/browser/Escrow/index.d.ts.map +1 -1
- package/dist/browser/Escrow/validators/common/ModuleInstanceValidators/index.d.cts +2 -0
- package/dist/browser/Escrow/validators/common/ModuleInstanceValidators/index.d.cts.map +1 -0
- package/dist/browser/Escrow/validators/common/ModuleInstanceValidators/index.d.mts +2 -0
- package/dist/browser/Escrow/validators/common/ModuleInstanceValidators/index.d.mts.map +1 -0
- package/dist/browser/Escrow/validators/common/ModuleInstanceValidators/index.d.ts +2 -0
- package/dist/browser/Escrow/validators/common/ModuleInstanceValidators/index.d.ts.map +1 -0
- package/dist/browser/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.cts +22 -0
- package/dist/browser/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.cts.map +1 -0
- package/dist/browser/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.mts +22 -0
- package/dist/browser/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.mts.map +1 -0
- package/dist/browser/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.ts +22 -0
- package/dist/browser/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.ts.map +1 -0
- package/dist/browser/Escrow/validators/common/TemporalValidators/index.d.cts +2 -0
- package/dist/browser/Escrow/validators/common/TemporalValidators/index.d.cts.map +1 -0
- package/dist/browser/Escrow/validators/common/TemporalValidators/index.d.mts +2 -0
- package/dist/browser/Escrow/validators/common/TemporalValidators/index.d.mts.map +1 -0
- package/dist/browser/Escrow/validators/common/TemporalValidators/index.d.ts +2 -0
- package/dist/browser/Escrow/validators/common/TemporalValidators/index.d.ts.map +1 -0
- package/dist/browser/Escrow/validators/common/TemporalValidators/validateWithinWindow.d.cts +6 -0
- package/dist/browser/Escrow/validators/common/TemporalValidators/validateWithinWindow.d.cts.map +1 -0
- package/dist/browser/Escrow/validators/common/TemporalValidators/validateWithinWindow.d.mts +6 -0
- package/dist/browser/Escrow/validators/common/TemporalValidators/validateWithinWindow.d.mts.map +1 -0
- package/dist/browser/Escrow/validators/common/TemporalValidators/validateWithinWindow.d.ts +6 -0
- package/dist/browser/Escrow/validators/common/TemporalValidators/validateWithinWindow.d.ts.map +1 -0
- package/dist/browser/Escrow/validators/common/index.d.cts +3 -0
- package/dist/browser/Escrow/validators/common/index.d.cts.map +1 -0
- package/dist/browser/Escrow/validators/common/index.d.mts +3 -0
- package/dist/browser/Escrow/validators/common/index.d.mts.map +1 -0
- package/dist/browser/Escrow/validators/common/index.d.ts +3 -0
- package/dist/browser/Escrow/validators/common/index.d.ts.map +1 -0
- package/dist/browser/Escrow/validators/escrow/agent.d.cts +4 -0
- package/dist/browser/Escrow/validators/escrow/agent.d.cts.map +1 -0
- package/dist/browser/Escrow/validators/escrow/agent.d.mts +4 -0
- package/dist/browser/Escrow/validators/escrow/agent.d.mts.map +1 -0
- package/dist/browser/Escrow/validators/escrow/agent.d.ts +4 -0
- package/dist/browser/Escrow/validators/escrow/agent.d.ts.map +1 -0
- package/dist/browser/Escrow/validators/escrow/appraisal.d.cts +29 -0
- package/dist/browser/Escrow/validators/escrow/appraisal.d.cts.map +1 -0
- package/dist/browser/Escrow/validators/escrow/appraisal.d.mts +29 -0
- package/dist/browser/Escrow/validators/escrow/appraisal.d.mts.map +1 -0
- package/dist/browser/Escrow/validators/escrow/appraisal.d.ts +29 -0
- package/dist/browser/Escrow/validators/escrow/appraisal.d.ts.map +1 -0
- package/dist/browser/Escrow/validators/escrow/appraisalAuthorities.d.cts +9 -0
- package/dist/browser/Escrow/validators/escrow/appraisalAuthorities.d.cts.map +1 -0
- package/dist/browser/Escrow/validators/escrow/appraisalAuthorities.d.mts +9 -0
- package/dist/browser/Escrow/validators/escrow/appraisalAuthorities.d.mts.map +1 -0
- package/dist/browser/Escrow/validators/escrow/appraisalAuthorities.d.ts +9 -0
- package/dist/browser/Escrow/validators/escrow/appraisalAuthorities.d.ts.map +1 -0
- package/dist/browser/Escrow/validators/escrow/assets.d.cts +7 -0
- package/dist/browser/Escrow/validators/escrow/assets.d.cts.map +1 -0
- package/dist/browser/Escrow/validators/escrow/assets.d.mts +7 -0
- package/dist/browser/Escrow/validators/escrow/assets.d.mts.map +1 -0
- package/dist/browser/Escrow/validators/escrow/assets.d.ts +7 -0
- package/dist/browser/Escrow/validators/escrow/assets.d.ts.map +1 -0
- package/dist/browser/Escrow/validators/escrow/buyer.d.cts +7 -0
- package/dist/browser/Escrow/validators/escrow/buyer.d.cts.map +1 -0
- package/dist/browser/Escrow/validators/escrow/buyer.d.mts +7 -0
- package/dist/browser/Escrow/validators/escrow/buyer.d.mts.map +1 -0
- package/dist/browser/Escrow/validators/escrow/buyer.d.ts +7 -0
- package/dist/browser/Escrow/validators/escrow/buyer.d.ts.map +1 -0
- package/dist/browser/Escrow/validators/escrow/buyerSecret.d.cts +21 -0
- package/dist/browser/Escrow/validators/escrow/buyerSecret.d.cts.map +1 -0
- package/dist/browser/Escrow/validators/escrow/buyerSecret.d.mts +21 -0
- package/dist/browser/Escrow/validators/escrow/buyerSecret.d.mts.map +1 -0
- package/dist/browser/Escrow/validators/escrow/buyerSecret.d.ts +21 -0
- package/dist/browser/Escrow/validators/escrow/buyerSecret.d.ts.map +1 -0
- package/dist/browser/Escrow/validators/escrow/index.d.cts +10 -0
- package/dist/browser/Escrow/validators/escrow/index.d.cts.map +1 -0
- package/dist/browser/Escrow/validators/escrow/index.d.mts +10 -0
- package/dist/browser/Escrow/validators/escrow/index.d.mts.map +1 -0
- package/dist/browser/Escrow/validators/escrow/index.d.ts +10 -0
- package/dist/browser/Escrow/validators/escrow/index.d.ts.map +1 -0
- package/dist/browser/Escrow/validators/escrow/nbfExp.d.cts +3 -0
- package/dist/browser/Escrow/validators/escrow/nbfExp.d.cts.map +1 -0
- package/dist/browser/Escrow/validators/escrow/nbfExp.d.mts +3 -0
- package/dist/browser/Escrow/validators/escrow/nbfExp.d.mts.map +1 -0
- package/dist/browser/Escrow/validators/escrow/nbfExp.d.ts +3 -0
- package/dist/browser/Escrow/validators/escrow/nbfExp.d.ts.map +1 -0
- package/dist/browser/Escrow/validators/escrow/paymentAuthorities.d.cts +4 -0
- package/dist/browser/Escrow/validators/escrow/paymentAuthorities.d.cts.map +1 -0
- package/dist/browser/Escrow/validators/escrow/paymentAuthorities.d.mts +4 -0
- package/dist/browser/Escrow/validators/escrow/paymentAuthorities.d.mts.map +1 -0
- package/dist/browser/Escrow/validators/escrow/paymentAuthorities.d.ts +4 -0
- package/dist/browser/Escrow/validators/escrow/paymentAuthorities.d.ts.map +1 -0
- package/dist/browser/Escrow/validators/escrow/seller.d.cts +7 -0
- package/dist/browser/Escrow/validators/escrow/seller.d.cts.map +1 -0
- package/dist/browser/Escrow/validators/escrow/seller.d.mts +7 -0
- package/dist/browser/Escrow/validators/escrow/seller.d.mts.map +1 -0
- package/dist/browser/Escrow/validators/escrow/seller.d.ts +7 -0
- package/dist/browser/Escrow/validators/escrow/seller.d.ts.map +1 -0
- package/dist/browser/Escrow/validators/index.d.cts +4 -0
- package/dist/browser/Escrow/validators/index.d.cts.map +1 -0
- package/dist/browser/Escrow/validators/index.d.mts +4 -0
- package/dist/browser/Escrow/validators/index.d.mts.map +1 -0
- package/dist/browser/Escrow/validators/index.d.ts +4 -0
- package/dist/browser/Escrow/validators/index.d.ts.map +1 -0
- package/dist/browser/Escrow/validators/types/escrowValidation.d.cts +26 -0
- package/dist/browser/Escrow/validators/types/escrowValidation.d.cts.map +1 -0
- package/dist/browser/Escrow/validators/types/escrowValidation.d.mts +26 -0
- package/dist/browser/Escrow/validators/types/escrowValidation.d.mts.map +1 -0
- package/dist/browser/Escrow/validators/types/escrowValidation.d.ts +26 -0
- package/dist/browser/Escrow/validators/types/escrowValidation.d.ts.map +1 -0
- package/dist/browser/Escrow/validators/types/index.d.cts +2 -0
- package/dist/browser/Escrow/validators/types/index.d.cts.map +1 -0
- package/dist/browser/Escrow/validators/types/index.d.mts +2 -0
- package/dist/browser/Escrow/validators/types/index.d.mts.map +1 -0
- package/dist/browser/Escrow/validators/types/index.d.ts +2 -0
- package/dist/browser/Escrow/validators/types/index.d.ts.map +1 -0
- package/dist/browser/index.cjs +297 -3
- package/dist/browser/index.cjs.map +1 -1
- package/dist/browser/index.js +295 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/node/Escrow/createEscrowIntent.d.cts +20 -0
- package/dist/node/Escrow/createEscrowIntent.d.cts.map +1 -1
- package/dist/node/Escrow/createEscrowIntent.d.mts +20 -0
- package/dist/node/Escrow/createEscrowIntent.d.mts.map +1 -1
- package/dist/node/Escrow/createEscrowIntent.d.ts +20 -0
- package/dist/node/Escrow/createEscrowIntent.d.ts.map +1 -1
- package/dist/node/Escrow/index.d.cts +1 -0
- package/dist/node/Escrow/index.d.cts.map +1 -1
- package/dist/node/Escrow/index.d.mts +1 -0
- package/dist/node/Escrow/index.d.mts.map +1 -1
- package/dist/node/Escrow/index.d.ts +1 -0
- package/dist/node/Escrow/index.d.ts.map +1 -1
- package/dist/node/Escrow/validators/common/ModuleInstanceValidators/index.d.cts +2 -0
- package/dist/node/Escrow/validators/common/ModuleInstanceValidators/index.d.cts.map +1 -0
- package/dist/node/Escrow/validators/common/ModuleInstanceValidators/index.d.mts +2 -0
- package/dist/node/Escrow/validators/common/ModuleInstanceValidators/index.d.mts.map +1 -0
- package/dist/node/Escrow/validators/common/ModuleInstanceValidators/index.d.ts +2 -0
- package/dist/node/Escrow/validators/common/ModuleInstanceValidators/index.d.ts.map +1 -0
- package/dist/node/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.cts +22 -0
- package/dist/node/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.cts.map +1 -0
- package/dist/node/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.mts +22 -0
- package/dist/node/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.mts.map +1 -0
- package/dist/node/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.ts +22 -0
- package/dist/node/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.ts.map +1 -0
- package/dist/node/Escrow/validators/common/TemporalValidators/index.d.cts +2 -0
- package/dist/node/Escrow/validators/common/TemporalValidators/index.d.cts.map +1 -0
- package/dist/node/Escrow/validators/common/TemporalValidators/index.d.mts +2 -0
- package/dist/node/Escrow/validators/common/TemporalValidators/index.d.mts.map +1 -0
- package/dist/node/Escrow/validators/common/TemporalValidators/index.d.ts +2 -0
- package/dist/node/Escrow/validators/common/TemporalValidators/index.d.ts.map +1 -0
- package/dist/node/Escrow/validators/common/TemporalValidators/validateWithinWindow.d.cts +6 -0
- package/dist/node/Escrow/validators/common/TemporalValidators/validateWithinWindow.d.cts.map +1 -0
- package/dist/node/Escrow/validators/common/TemporalValidators/validateWithinWindow.d.mts +6 -0
- package/dist/node/Escrow/validators/common/TemporalValidators/validateWithinWindow.d.mts.map +1 -0
- package/dist/node/Escrow/validators/common/TemporalValidators/validateWithinWindow.d.ts +6 -0
- package/dist/node/Escrow/validators/common/TemporalValidators/validateWithinWindow.d.ts.map +1 -0
- package/dist/node/Escrow/validators/common/index.d.cts +3 -0
- package/dist/node/Escrow/validators/common/index.d.cts.map +1 -0
- package/dist/node/Escrow/validators/common/index.d.mts +3 -0
- package/dist/node/Escrow/validators/common/index.d.mts.map +1 -0
- package/dist/node/Escrow/validators/common/index.d.ts +3 -0
- package/dist/node/Escrow/validators/common/index.d.ts.map +1 -0
- package/dist/node/Escrow/validators/escrow/agent.d.cts +4 -0
- package/dist/node/Escrow/validators/escrow/agent.d.cts.map +1 -0
- package/dist/node/Escrow/validators/escrow/agent.d.mts +4 -0
- package/dist/node/Escrow/validators/escrow/agent.d.mts.map +1 -0
- package/dist/node/Escrow/validators/escrow/agent.d.ts +4 -0
- package/dist/node/Escrow/validators/escrow/agent.d.ts.map +1 -0
- package/dist/node/Escrow/validators/escrow/appraisal.d.cts +29 -0
- package/dist/node/Escrow/validators/escrow/appraisal.d.cts.map +1 -0
- package/dist/node/Escrow/validators/escrow/appraisal.d.mts +29 -0
- package/dist/node/Escrow/validators/escrow/appraisal.d.mts.map +1 -0
- package/dist/node/Escrow/validators/escrow/appraisal.d.ts +29 -0
- package/dist/node/Escrow/validators/escrow/appraisal.d.ts.map +1 -0
- package/dist/node/Escrow/validators/escrow/appraisalAuthorities.d.cts +9 -0
- package/dist/node/Escrow/validators/escrow/appraisalAuthorities.d.cts.map +1 -0
- package/dist/node/Escrow/validators/escrow/appraisalAuthorities.d.mts +9 -0
- package/dist/node/Escrow/validators/escrow/appraisalAuthorities.d.mts.map +1 -0
- package/dist/node/Escrow/validators/escrow/appraisalAuthorities.d.ts +9 -0
- package/dist/node/Escrow/validators/escrow/appraisalAuthorities.d.ts.map +1 -0
- package/dist/node/Escrow/validators/escrow/assets.d.cts +7 -0
- package/dist/node/Escrow/validators/escrow/assets.d.cts.map +1 -0
- package/dist/node/Escrow/validators/escrow/assets.d.mts +7 -0
- package/dist/node/Escrow/validators/escrow/assets.d.mts.map +1 -0
- package/dist/node/Escrow/validators/escrow/assets.d.ts +7 -0
- package/dist/node/Escrow/validators/escrow/assets.d.ts.map +1 -0
- package/dist/node/Escrow/validators/escrow/buyer.d.cts +7 -0
- package/dist/node/Escrow/validators/escrow/buyer.d.cts.map +1 -0
- package/dist/node/Escrow/validators/escrow/buyer.d.mts +7 -0
- package/dist/node/Escrow/validators/escrow/buyer.d.mts.map +1 -0
- package/dist/node/Escrow/validators/escrow/buyer.d.ts +7 -0
- package/dist/node/Escrow/validators/escrow/buyer.d.ts.map +1 -0
- package/dist/node/Escrow/validators/escrow/buyerSecret.d.cts +21 -0
- package/dist/node/Escrow/validators/escrow/buyerSecret.d.cts.map +1 -0
- package/dist/node/Escrow/validators/escrow/buyerSecret.d.mts +21 -0
- package/dist/node/Escrow/validators/escrow/buyerSecret.d.mts.map +1 -0
- package/dist/node/Escrow/validators/escrow/buyerSecret.d.ts +21 -0
- package/dist/node/Escrow/validators/escrow/buyerSecret.d.ts.map +1 -0
- package/dist/node/Escrow/validators/escrow/index.d.cts +10 -0
- package/dist/node/Escrow/validators/escrow/index.d.cts.map +1 -0
- package/dist/node/Escrow/validators/escrow/index.d.mts +10 -0
- package/dist/node/Escrow/validators/escrow/index.d.mts.map +1 -0
- package/dist/node/Escrow/validators/escrow/index.d.ts +10 -0
- package/dist/node/Escrow/validators/escrow/index.d.ts.map +1 -0
- package/dist/node/Escrow/validators/escrow/nbfExp.d.cts +3 -0
- package/dist/node/Escrow/validators/escrow/nbfExp.d.cts.map +1 -0
- package/dist/node/Escrow/validators/escrow/nbfExp.d.mts +3 -0
- package/dist/node/Escrow/validators/escrow/nbfExp.d.mts.map +1 -0
- package/dist/node/Escrow/validators/escrow/nbfExp.d.ts +3 -0
- package/dist/node/Escrow/validators/escrow/nbfExp.d.ts.map +1 -0
- package/dist/node/Escrow/validators/escrow/paymentAuthorities.d.cts +4 -0
- package/dist/node/Escrow/validators/escrow/paymentAuthorities.d.cts.map +1 -0
- package/dist/node/Escrow/validators/escrow/paymentAuthorities.d.mts +4 -0
- package/dist/node/Escrow/validators/escrow/paymentAuthorities.d.mts.map +1 -0
- package/dist/node/Escrow/validators/escrow/paymentAuthorities.d.ts +4 -0
- package/dist/node/Escrow/validators/escrow/paymentAuthorities.d.ts.map +1 -0
- package/dist/node/Escrow/validators/escrow/seller.d.cts +7 -0
- package/dist/node/Escrow/validators/escrow/seller.d.cts.map +1 -0
- package/dist/node/Escrow/validators/escrow/seller.d.mts +7 -0
- package/dist/node/Escrow/validators/escrow/seller.d.mts.map +1 -0
- package/dist/node/Escrow/validators/escrow/seller.d.ts +7 -0
- package/dist/node/Escrow/validators/escrow/seller.d.ts.map +1 -0
- package/dist/node/Escrow/validators/index.d.cts +4 -0
- package/dist/node/Escrow/validators/index.d.cts.map +1 -0
- package/dist/node/Escrow/validators/index.d.mts +4 -0
- package/dist/node/Escrow/validators/index.d.mts.map +1 -0
- package/dist/node/Escrow/validators/index.d.ts +4 -0
- package/dist/node/Escrow/validators/index.d.ts.map +1 -0
- package/dist/node/Escrow/validators/types/escrowValidation.d.cts +26 -0
- package/dist/node/Escrow/validators/types/escrowValidation.d.cts.map +1 -0
- package/dist/node/Escrow/validators/types/escrowValidation.d.mts +26 -0
- package/dist/node/Escrow/validators/types/escrowValidation.d.mts.map +1 -0
- package/dist/node/Escrow/validators/types/escrowValidation.d.ts +26 -0
- package/dist/node/Escrow/validators/types/escrowValidation.d.ts.map +1 -0
- package/dist/node/Escrow/validators/types/index.d.cts +2 -0
- package/dist/node/Escrow/validators/types/index.d.cts.map +1 -0
- package/dist/node/Escrow/validators/types/index.d.mts +2 -0
- package/dist/node/Escrow/validators/types/index.d.mts.map +1 -0
- package/dist/node/Escrow/validators/types/index.d.ts +2 -0
- package/dist/node/Escrow/validators/types/index.d.ts.map +1 -0
- package/dist/node/index.cjs +317 -4
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.js +295 -1
- package/dist/node/index.js.map +1 -1
- package/package.json +12 -7
- package/src/Escrow/createEscrowIntent.ts +14 -0
- package/src/Escrow/index.ts +1 -0
- package/src/Escrow/validators/common/ModuleInstanceValidators/index.ts +1 -0
- package/src/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.ts +48 -0
- package/src/Escrow/validators/common/TemporalValidators/index.ts +1 -0
- package/src/Escrow/validators/common/TemporalValidators/validateWithinWindow.ts +7 -0
- package/src/Escrow/validators/common/index.ts +2 -0
- package/src/Escrow/validators/escrow/agent.ts +17 -0
- package/src/Escrow/validators/escrow/appraisal.ts +129 -0
- package/src/Escrow/validators/escrow/appraisalAuthorities.ts +37 -0
- package/src/Escrow/validators/escrow/assets.ts +18 -0
- package/src/Escrow/validators/escrow/buyer.ts +25 -0
- package/src/Escrow/validators/escrow/buyerSecret.ts +75 -0
- package/src/Escrow/validators/escrow/index.ts +9 -0
- package/src/Escrow/validators/escrow/nbfExp.ts +18 -0
- package/src/Escrow/validators/escrow/paymentAuthorities.ts +17 -0
- package/src/Escrow/validators/escrow/seller.ts +25 -0
- package/src/Escrow/validators/index.ts +3 -0
- package/src/Escrow/validators/types/escrowValidation.ts +30 -0
- package/src/Escrow/validators/types/index.ts +1 -0
|
@@ -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,10 @@
|
|
|
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
|
+
//# 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"}
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
+
//# 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"}
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
+
//# 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"}
|
|
@@ -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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Escrow/validators/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,SAAS,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Escrow/validators/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,SAAS,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Escrow/validators/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,SAAS,CAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { EscrowTerms } from '../../Terms';
|
|
2
|
+
/**
|
|
3
|
+
* Type corresponding to the escrow terms properties
|
|
4
|
+
*/
|
|
5
|
+
export type EscrowTermsProperty = keyof EscrowTerms;
|
|
6
|
+
/**
|
|
7
|
+
* Type corresponding to the escrow terms property value
|
|
8
|
+
*/
|
|
9
|
+
export type EscrowTermsValue<K extends EscrowTermsProperty> = EscrowTerms[K];
|
|
10
|
+
/**
|
|
11
|
+
* An expressions that selects a property value from the escrow terms
|
|
12
|
+
*/
|
|
13
|
+
export type EscrowTermsValueExpression<
|
|
14
|
+
/**
|
|
15
|
+
* The property of the escrow terms to select
|
|
16
|
+
*/
|
|
17
|
+
K extends EscrowTermsProperty,
|
|
18
|
+
/**
|
|
19
|
+
* The type of the selected property's value
|
|
20
|
+
*/
|
|
21
|
+
V = EscrowTermsValue<K>> = (escrowTerms: EscrowTerms) => V;
|
|
22
|
+
/**
|
|
23
|
+
* A function that validates the supplied escrow terms
|
|
24
|
+
*/
|
|
25
|
+
export type EscrowTermsValidationFunction = (escrowTerms: EscrowTerms) => boolean | Promise<boolean>;
|
|
26
|
+
//# sourceMappingURL=escrowValidation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"escrowValidation.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/types/escrowValidation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAEzC;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,MAAM,WAAW,CAAA;AAEnD;;GAEG;AACH,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,mBAAmB,IAAI,WAAW,CAAC,CAAC,CAAC,CAAA;AAE5E;;GAEG;AACH,MAAM,MAAM,0BAA0B;AACpC;;GAEG;AACH,CAAC,SAAS,mBAAmB;AAC7B;;GAEG;AACH,CAAC,GAAG,gBAAgB,CAAC,CAAC,CAAC,IACrB,CAAC,WAAW,EAAE,WAAW,KAAK,CAAC,CAAA;AAEnC;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG,CAAC,WAAW,EAAE,WAAW,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { EscrowTerms } from '../../Terms';
|
|
2
|
+
/**
|
|
3
|
+
* Type corresponding to the escrow terms properties
|
|
4
|
+
*/
|
|
5
|
+
export type EscrowTermsProperty = keyof EscrowTerms;
|
|
6
|
+
/**
|
|
7
|
+
* Type corresponding to the escrow terms property value
|
|
8
|
+
*/
|
|
9
|
+
export type EscrowTermsValue<K extends EscrowTermsProperty> = EscrowTerms[K];
|
|
10
|
+
/**
|
|
11
|
+
* An expressions that selects a property value from the escrow terms
|
|
12
|
+
*/
|
|
13
|
+
export type EscrowTermsValueExpression<
|
|
14
|
+
/**
|
|
15
|
+
* The property of the escrow terms to select
|
|
16
|
+
*/
|
|
17
|
+
K extends EscrowTermsProperty,
|
|
18
|
+
/**
|
|
19
|
+
* The type of the selected property's value
|
|
20
|
+
*/
|
|
21
|
+
V = EscrowTermsValue<K>> = (escrowTerms: EscrowTerms) => V;
|
|
22
|
+
/**
|
|
23
|
+
* A function that validates the supplied escrow terms
|
|
24
|
+
*/
|
|
25
|
+
export type EscrowTermsValidationFunction = (escrowTerms: EscrowTerms) => boolean | Promise<boolean>;
|
|
26
|
+
//# sourceMappingURL=escrowValidation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"escrowValidation.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/types/escrowValidation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAEzC;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,MAAM,WAAW,CAAA;AAEnD;;GAEG;AACH,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,mBAAmB,IAAI,WAAW,CAAC,CAAC,CAAC,CAAA;AAE5E;;GAEG;AACH,MAAM,MAAM,0BAA0B;AACpC;;GAEG;AACH,CAAC,SAAS,mBAAmB;AAC7B;;GAEG;AACH,CAAC,GAAG,gBAAgB,CAAC,CAAC,CAAC,IACrB,CAAC,WAAW,EAAE,WAAW,KAAK,CAAC,CAAA;AAEnC;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG,CAAC,WAAW,EAAE,WAAW,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { EscrowTerms } from '../../Terms';
|
|
2
|
+
/**
|
|
3
|
+
* Type corresponding to the escrow terms properties
|
|
4
|
+
*/
|
|
5
|
+
export type EscrowTermsProperty = keyof EscrowTerms;
|
|
6
|
+
/**
|
|
7
|
+
* Type corresponding to the escrow terms property value
|
|
8
|
+
*/
|
|
9
|
+
export type EscrowTermsValue<K extends EscrowTermsProperty> = EscrowTerms[K];
|
|
10
|
+
/**
|
|
11
|
+
* An expressions that selects a property value from the escrow terms
|
|
12
|
+
*/
|
|
13
|
+
export type EscrowTermsValueExpression<
|
|
14
|
+
/**
|
|
15
|
+
* The property of the escrow terms to select
|
|
16
|
+
*/
|
|
17
|
+
K extends EscrowTermsProperty,
|
|
18
|
+
/**
|
|
19
|
+
* The type of the selected property's value
|
|
20
|
+
*/
|
|
21
|
+
V = EscrowTermsValue<K>> = (escrowTerms: EscrowTerms) => V;
|
|
22
|
+
/**
|
|
23
|
+
* A function that validates the supplied escrow terms
|
|
24
|
+
*/
|
|
25
|
+
export type EscrowTermsValidationFunction = (escrowTerms: EscrowTerms) => boolean | Promise<boolean>;
|
|
26
|
+
//# sourceMappingURL=escrowValidation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"escrowValidation.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/types/escrowValidation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAEzC;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,MAAM,WAAW,CAAA;AAEnD;;GAEG;AACH,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,mBAAmB,IAAI,WAAW,CAAC,CAAC,CAAC,CAAA;AAE5E;;GAEG;AACH,MAAM,MAAM,0BAA0B;AACpC;;GAEG;AACH,CAAC,SAAS,mBAAmB;AAC7B;;GAEG;AACH,CAAC,GAAG,gBAAgB,CAAC,CAAC,CAAC,IACrB,CAAC,WAAW,EAAE,WAAW,KAAK,CAAC,CAAA;AAEnC;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG,CAAC,WAAW,EAAE,WAAW,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA"}
|