@xyo-network/payment-payload-plugins 2.91.10 → 2.91.11
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/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.cts +3 -3
- package/dist/browser/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.cts.map +1 -1
- package/dist/browser/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.mts +3 -3
- package/dist/browser/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.mts.map +1 -1
- package/dist/browser/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.ts +3 -3
- package/dist/browser/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.ts.map +1 -1
- package/dist/browser/Escrow/validators/escrow/agent.d.cts +3 -2
- package/dist/browser/Escrow/validators/escrow/agent.d.cts.map +1 -1
- package/dist/browser/Escrow/validators/escrow/agent.d.mts +3 -2
- package/dist/browser/Escrow/validators/escrow/agent.d.mts.map +1 -1
- package/dist/browser/Escrow/validators/escrow/agent.d.ts +3 -2
- package/dist/browser/Escrow/validators/escrow/agent.d.ts.map +1 -1
- package/dist/browser/Escrow/validators/escrow/appraisal.d.cts +6 -6
- package/dist/browser/Escrow/validators/escrow/appraisal.d.cts.map +1 -1
- package/dist/browser/Escrow/validators/escrow/appraisal.d.mts +6 -6
- package/dist/browser/Escrow/validators/escrow/appraisal.d.mts.map +1 -1
- package/dist/browser/Escrow/validators/escrow/appraisal.d.ts +6 -6
- package/dist/browser/Escrow/validators/escrow/appraisal.d.ts.map +1 -1
- package/dist/browser/Escrow/validators/escrow/appraisalAuthorities.d.cts +4 -3
- package/dist/browser/Escrow/validators/escrow/appraisalAuthorities.d.cts.map +1 -1
- package/dist/browser/Escrow/validators/escrow/appraisalAuthorities.d.mts +4 -3
- package/dist/browser/Escrow/validators/escrow/appraisalAuthorities.d.mts.map +1 -1
- package/dist/browser/Escrow/validators/escrow/appraisalAuthorities.d.ts +4 -3
- package/dist/browser/Escrow/validators/escrow/appraisalAuthorities.d.ts.map +1 -1
- package/dist/browser/Escrow/validators/escrow/assets.d.cts +3 -2
- package/dist/browser/Escrow/validators/escrow/assets.d.cts.map +1 -1
- package/dist/browser/Escrow/validators/escrow/assets.d.mts +3 -2
- package/dist/browser/Escrow/validators/escrow/assets.d.mts.map +1 -1
- package/dist/browser/Escrow/validators/escrow/assets.d.ts +3 -2
- package/dist/browser/Escrow/validators/escrow/assets.d.ts.map +1 -1
- package/dist/browser/Escrow/validators/escrow/buyer.d.cts +3 -2
- package/dist/browser/Escrow/validators/escrow/buyer.d.cts.map +1 -1
- package/dist/browser/Escrow/validators/escrow/buyer.d.mts +3 -2
- package/dist/browser/Escrow/validators/escrow/buyer.d.mts.map +1 -1
- package/dist/browser/Escrow/validators/escrow/buyer.d.ts +3 -2
- package/dist/browser/Escrow/validators/escrow/buyer.d.ts.map +1 -1
- package/dist/browser/Escrow/validators/escrow/buyerSecret.d.cts +5 -5
- package/dist/browser/Escrow/validators/escrow/buyerSecret.d.cts.map +1 -1
- package/dist/browser/Escrow/validators/escrow/buyerSecret.d.mts +5 -5
- package/dist/browser/Escrow/validators/escrow/buyerSecret.d.mts.map +1 -1
- package/dist/browser/Escrow/validators/escrow/buyerSecret.d.ts +5 -5
- package/dist/browser/Escrow/validators/escrow/buyerSecret.d.ts.map +1 -1
- package/dist/browser/Escrow/validators/escrow/nbfExp.d.cts +3 -2
- package/dist/browser/Escrow/validators/escrow/nbfExp.d.cts.map +1 -1
- package/dist/browser/Escrow/validators/escrow/nbfExp.d.mts +3 -2
- package/dist/browser/Escrow/validators/escrow/nbfExp.d.mts.map +1 -1
- package/dist/browser/Escrow/validators/escrow/nbfExp.d.ts +3 -2
- package/dist/browser/Escrow/validators/escrow/nbfExp.d.ts.map +1 -1
- package/dist/browser/Escrow/validators/escrow/paymentAuthorities.d.cts +3 -2
- package/dist/browser/Escrow/validators/escrow/paymentAuthorities.d.cts.map +1 -1
- package/dist/browser/Escrow/validators/escrow/paymentAuthorities.d.mts +3 -2
- package/dist/browser/Escrow/validators/escrow/paymentAuthorities.d.mts.map +1 -1
- package/dist/browser/Escrow/validators/escrow/paymentAuthorities.d.ts +3 -2
- package/dist/browser/Escrow/validators/escrow/paymentAuthorities.d.ts.map +1 -1
- package/dist/browser/Escrow/validators/escrow/seller.d.cts +3 -2
- package/dist/browser/Escrow/validators/escrow/seller.d.cts.map +1 -1
- package/dist/browser/Escrow/validators/escrow/seller.d.mts +3 -2
- package/dist/browser/Escrow/validators/escrow/seller.d.mts.map +1 -1
- package/dist/browser/Escrow/validators/escrow/seller.d.ts +3 -2
- package/dist/browser/Escrow/validators/escrow/seller.d.ts.map +1 -1
- package/dist/browser/Escrow/validators/escrow/sellerSecret.d.cts +5 -5
- package/dist/browser/Escrow/validators/escrow/sellerSecret.d.cts.map +1 -1
- package/dist/browser/Escrow/validators/escrow/sellerSecret.d.mts +5 -5
- package/dist/browser/Escrow/validators/escrow/sellerSecret.d.mts.map +1 -1
- package/dist/browser/Escrow/validators/escrow/sellerSecret.d.ts +5 -5
- package/dist/browser/Escrow/validators/escrow/sellerSecret.d.ts.map +1 -1
- package/dist/browser/Escrow/validators/index.d.cts +0 -1
- package/dist/browser/Escrow/validators/index.d.cts.map +1 -1
- package/dist/browser/Escrow/validators/index.d.mts +0 -1
- package/dist/browser/Escrow/validators/index.d.mts.map +1 -1
- package/dist/browser/Escrow/validators/index.d.ts +0 -1
- package/dist/browser/Escrow/validators/index.d.ts.map +1 -1
- package/dist/browser/index.cjs.map +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/node/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.cts +3 -3
- package/dist/node/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.cts.map +1 -1
- package/dist/node/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.mts +3 -3
- package/dist/node/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.mts.map +1 -1
- package/dist/node/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.ts +3 -3
- package/dist/node/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.ts.map +1 -1
- package/dist/node/Escrow/validators/escrow/agent.d.cts +3 -2
- package/dist/node/Escrow/validators/escrow/agent.d.cts.map +1 -1
- package/dist/node/Escrow/validators/escrow/agent.d.mts +3 -2
- package/dist/node/Escrow/validators/escrow/agent.d.mts.map +1 -1
- package/dist/node/Escrow/validators/escrow/agent.d.ts +3 -2
- package/dist/node/Escrow/validators/escrow/agent.d.ts.map +1 -1
- package/dist/node/Escrow/validators/escrow/appraisal.d.cts +6 -6
- package/dist/node/Escrow/validators/escrow/appraisal.d.cts.map +1 -1
- package/dist/node/Escrow/validators/escrow/appraisal.d.mts +6 -6
- package/dist/node/Escrow/validators/escrow/appraisal.d.mts.map +1 -1
- package/dist/node/Escrow/validators/escrow/appraisal.d.ts +6 -6
- package/dist/node/Escrow/validators/escrow/appraisal.d.ts.map +1 -1
- package/dist/node/Escrow/validators/escrow/appraisalAuthorities.d.cts +4 -3
- package/dist/node/Escrow/validators/escrow/appraisalAuthorities.d.cts.map +1 -1
- package/dist/node/Escrow/validators/escrow/appraisalAuthorities.d.mts +4 -3
- package/dist/node/Escrow/validators/escrow/appraisalAuthorities.d.mts.map +1 -1
- package/dist/node/Escrow/validators/escrow/appraisalAuthorities.d.ts +4 -3
- package/dist/node/Escrow/validators/escrow/appraisalAuthorities.d.ts.map +1 -1
- package/dist/node/Escrow/validators/escrow/assets.d.cts +3 -2
- package/dist/node/Escrow/validators/escrow/assets.d.cts.map +1 -1
- package/dist/node/Escrow/validators/escrow/assets.d.mts +3 -2
- package/dist/node/Escrow/validators/escrow/assets.d.mts.map +1 -1
- package/dist/node/Escrow/validators/escrow/assets.d.ts +3 -2
- package/dist/node/Escrow/validators/escrow/assets.d.ts.map +1 -1
- package/dist/node/Escrow/validators/escrow/buyer.d.cts +3 -2
- package/dist/node/Escrow/validators/escrow/buyer.d.cts.map +1 -1
- package/dist/node/Escrow/validators/escrow/buyer.d.mts +3 -2
- package/dist/node/Escrow/validators/escrow/buyer.d.mts.map +1 -1
- package/dist/node/Escrow/validators/escrow/buyer.d.ts +3 -2
- package/dist/node/Escrow/validators/escrow/buyer.d.ts.map +1 -1
- package/dist/node/Escrow/validators/escrow/buyerSecret.d.cts +5 -5
- package/dist/node/Escrow/validators/escrow/buyerSecret.d.cts.map +1 -1
- package/dist/node/Escrow/validators/escrow/buyerSecret.d.mts +5 -5
- package/dist/node/Escrow/validators/escrow/buyerSecret.d.mts.map +1 -1
- package/dist/node/Escrow/validators/escrow/buyerSecret.d.ts +5 -5
- package/dist/node/Escrow/validators/escrow/buyerSecret.d.ts.map +1 -1
- package/dist/node/Escrow/validators/escrow/nbfExp.d.cts +3 -2
- package/dist/node/Escrow/validators/escrow/nbfExp.d.cts.map +1 -1
- package/dist/node/Escrow/validators/escrow/nbfExp.d.mts +3 -2
- package/dist/node/Escrow/validators/escrow/nbfExp.d.mts.map +1 -1
- package/dist/node/Escrow/validators/escrow/nbfExp.d.ts +3 -2
- package/dist/node/Escrow/validators/escrow/nbfExp.d.ts.map +1 -1
- package/dist/node/Escrow/validators/escrow/paymentAuthorities.d.cts +3 -2
- package/dist/node/Escrow/validators/escrow/paymentAuthorities.d.cts.map +1 -1
- package/dist/node/Escrow/validators/escrow/paymentAuthorities.d.mts +3 -2
- package/dist/node/Escrow/validators/escrow/paymentAuthorities.d.mts.map +1 -1
- package/dist/node/Escrow/validators/escrow/paymentAuthorities.d.ts +3 -2
- package/dist/node/Escrow/validators/escrow/paymentAuthorities.d.ts.map +1 -1
- package/dist/node/Escrow/validators/escrow/seller.d.cts +3 -2
- package/dist/node/Escrow/validators/escrow/seller.d.cts.map +1 -1
- package/dist/node/Escrow/validators/escrow/seller.d.mts +3 -2
- package/dist/node/Escrow/validators/escrow/seller.d.mts.map +1 -1
- package/dist/node/Escrow/validators/escrow/seller.d.ts +3 -2
- package/dist/node/Escrow/validators/escrow/seller.d.ts.map +1 -1
- package/dist/node/Escrow/validators/escrow/sellerSecret.d.cts +5 -5
- package/dist/node/Escrow/validators/escrow/sellerSecret.d.cts.map +1 -1
- package/dist/node/Escrow/validators/escrow/sellerSecret.d.mts +5 -5
- package/dist/node/Escrow/validators/escrow/sellerSecret.d.mts.map +1 -1
- package/dist/node/Escrow/validators/escrow/sellerSecret.d.ts +5 -5
- package/dist/node/Escrow/validators/escrow/sellerSecret.d.ts.map +1 -1
- package/dist/node/Escrow/validators/index.d.cts +0 -1
- package/dist/node/Escrow/validators/index.d.cts.map +1 -1
- package/dist/node/Escrow/validators/index.d.mts +0 -1
- package/dist/node/Escrow/validators/index.d.mts.map +1 -1
- package/dist/node/Escrow/validators/index.d.ts +0 -1
- package/dist/node/Escrow/validators/index.d.ts.map +1 -1
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.js.map +1 -1
- package/package.json +10 -10
- package/src/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.ts +3 -3
- package/src/Escrow/validators/escrow/agent.ts +2 -2
- package/src/Escrow/validators/escrow/appraisal.ts +8 -6
- package/src/Escrow/validators/escrow/appraisalAuthorities.ts +3 -3
- package/src/Escrow/validators/escrow/assets.ts +3 -2
- package/src/Escrow/validators/escrow/buyer.ts +2 -2
- package/src/Escrow/validators/escrow/buyerSecret.ts +4 -5
- package/src/Escrow/validators/escrow/nbfExp.ts +3 -2
- package/src/Escrow/validators/escrow/paymentAuthorities.ts +2 -2
- package/src/Escrow/validators/escrow/seller.ts +2 -2
- package/src/Escrow/validators/escrow/sellerSecret.ts +4 -5
- package/src/Escrow/validators/index.ts +0 -1
- package/dist/browser/Escrow/validators/types/escrowValidation.d.cts +0 -26
- package/dist/browser/Escrow/validators/types/escrowValidation.d.cts.map +0 -1
- package/dist/browser/Escrow/validators/types/escrowValidation.d.mts +0 -26
- package/dist/browser/Escrow/validators/types/escrowValidation.d.mts.map +0 -1
- package/dist/browser/Escrow/validators/types/escrowValidation.d.ts +0 -26
- package/dist/browser/Escrow/validators/types/escrowValidation.d.ts.map +0 -1
- package/dist/browser/Escrow/validators/types/index.d.cts +0 -2
- package/dist/browser/Escrow/validators/types/index.d.cts.map +0 -1
- package/dist/browser/Escrow/validators/types/index.d.mts +0 -2
- package/dist/browser/Escrow/validators/types/index.d.mts.map +0 -1
- package/dist/browser/Escrow/validators/types/index.d.ts +0 -2
- package/dist/browser/Escrow/validators/types/index.d.ts.map +0 -1
- package/dist/node/Escrow/validators/types/escrowValidation.d.cts +0 -26
- package/dist/node/Escrow/validators/types/escrowValidation.d.cts.map +0 -1
- package/dist/node/Escrow/validators/types/escrowValidation.d.mts +0 -26
- package/dist/node/Escrow/validators/types/escrowValidation.d.mts.map +0 -1
- package/dist/node/Escrow/validators/types/escrowValidation.d.ts +0 -26
- package/dist/node/Escrow/validators/types/escrowValidation.d.ts.map +0 -1
- package/dist/node/Escrow/validators/types/index.d.cts +0 -2
- package/dist/node/Escrow/validators/types/index.d.cts.map +0 -1
- package/dist/node/Escrow/validators/types/index.d.mts +0 -2
- package/dist/node/Escrow/validators/types/index.d.mts.map +0 -1
- package/dist/node/Escrow/validators/types/index.d.ts +0 -2
- package/dist/node/Escrow/validators/types/index.d.ts.map +0 -1
- package/src/Escrow/validators/types/escrowValidation.ts +0 -30
- package/src/Escrow/validators/types/index.ts +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ModuleIdentifier } from '@xyo-network/module-model';
|
|
2
|
+
import { PayloadValueExpression } from '@xyo-network/payload-model';
|
|
2
3
|
import { EscrowTerms } from '../../../Terms';
|
|
3
|
-
import { EscrowTermsValueExpression } from '../../types/escrowValidation';
|
|
4
4
|
/**
|
|
5
5
|
* Checks if property value of the escrow terms contains one of the valid moduleIdentifiers
|
|
6
6
|
* @param escrowTerms The escrow terms to validate
|
|
@@ -9,7 +9,7 @@ import { EscrowTermsValueExpression } from '../../types/escrowValidation';
|
|
|
9
9
|
* @param required Is the property required to be present
|
|
10
10
|
* @returns True if the property value contains one of the valid moduleIdentifiers
|
|
11
11
|
*/
|
|
12
|
-
export declare const moduleIdentifiersContainsOneOf: (escrowTerms: EscrowTerms, propertyExpression:
|
|
12
|
+
export declare const moduleIdentifiersContainsOneOf: (escrowTerms: EscrowTerms, propertyExpression: PayloadValueExpression<EscrowTerms, 'appraisalAuthorities' | 'buyer' | 'escrowAgent' | 'paymentAuthorities' | 'seller'>, moduleIdentifiers: ModuleIdentifier[], required?: boolean) => boolean;
|
|
13
13
|
/**
|
|
14
14
|
* Checks if property value of the escrow terms contains all of the valid moduleIdentifiers
|
|
15
15
|
* @param escrowTerms The escrow terms to validate
|
|
@@ -18,5 +18,5 @@ export declare const moduleIdentifiersContainsOneOf: (escrowTerms: EscrowTerms,
|
|
|
18
18
|
* @param required Is the property required to be present
|
|
19
19
|
* @returns True if the property value contains all of the valid moduleIdentifiers
|
|
20
20
|
*/
|
|
21
|
-
export declare const moduleIdentifiersContainsAllOf: (escrowTerms: EscrowTerms, selector:
|
|
21
|
+
export declare const moduleIdentifiersContainsAllOf: (escrowTerms: EscrowTerms, selector: PayloadValueExpression<EscrowTerms, 'appraisalAuthorities' | 'buyer' | 'escrowAgent' | 'paymentAuthorities' | 'seller'>, moduleIdentifiers: ModuleIdentifier[], required?: boolean) => boolean;
|
|
22
22
|
//# sourceMappingURL=moduleInstanceValidators.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"moduleInstanceValidators.d.ts","sourceRoot":"","sources":["../../../../../../src/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;
|
|
1
|
+
{"version":3,"file":"moduleInstanceValidators.d.ts","sourceRoot":"","sources":["../../../../../../src/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAA;AAEnE,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAE5C;;;;;;;GAOG;AACH,eAAO,MAAM,8BAA8B,gBAC5B,WAAW,sBACJ,uBAAuB,WAAW,EAAE,sBAAsB,GAAG,OAAO,GAAG,aAAa,GAAG,oBAAoB,GAAG,QAAQ,CAAC,qBACxH,gBAAgB,EAAE,aAC3B,OAAO,YAQlB,CAAA;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,8BAA8B,gBAC5B,WAAW,YACd,uBAAuB,WAAW,EAAE,sBAAsB,GAAG,OAAO,GAAG,aAAa,GAAG,oBAAoB,GAAG,QAAQ,CAAC,qBAC9G,gBAAgB,EAAE,aAC3B,OAAO,YAQlB,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ModuleIdentifier } from '@xyo-network/module-model';
|
|
2
|
+
import { PayloadValueExpression } from '@xyo-network/payload-model';
|
|
2
3
|
import { EscrowTerms } from '../../../Terms';
|
|
3
|
-
import { EscrowTermsValueExpression } from '../../types/escrowValidation';
|
|
4
4
|
/**
|
|
5
5
|
* Checks if property value of the escrow terms contains one of the valid moduleIdentifiers
|
|
6
6
|
* @param escrowTerms The escrow terms to validate
|
|
@@ -9,7 +9,7 @@ import { EscrowTermsValueExpression } from '../../types/escrowValidation';
|
|
|
9
9
|
* @param required Is the property required to be present
|
|
10
10
|
* @returns True if the property value contains one of the valid moduleIdentifiers
|
|
11
11
|
*/
|
|
12
|
-
export declare const moduleIdentifiersContainsOneOf: (escrowTerms: EscrowTerms, propertyExpression:
|
|
12
|
+
export declare const moduleIdentifiersContainsOneOf: (escrowTerms: EscrowTerms, propertyExpression: PayloadValueExpression<EscrowTerms, 'appraisalAuthorities' | 'buyer' | 'escrowAgent' | 'paymentAuthorities' | 'seller'>, moduleIdentifiers: ModuleIdentifier[], required?: boolean) => boolean;
|
|
13
13
|
/**
|
|
14
14
|
* Checks if property value of the escrow terms contains all of the valid moduleIdentifiers
|
|
15
15
|
* @param escrowTerms The escrow terms to validate
|
|
@@ -18,5 +18,5 @@ export declare const moduleIdentifiersContainsOneOf: (escrowTerms: EscrowTerms,
|
|
|
18
18
|
* @param required Is the property required to be present
|
|
19
19
|
* @returns True if the property value contains all of the valid moduleIdentifiers
|
|
20
20
|
*/
|
|
21
|
-
export declare const moduleIdentifiersContainsAllOf: (escrowTerms: EscrowTerms, selector:
|
|
21
|
+
export declare const moduleIdentifiersContainsAllOf: (escrowTerms: EscrowTerms, selector: PayloadValueExpression<EscrowTerms, 'appraisalAuthorities' | 'buyer' | 'escrowAgent' | 'paymentAuthorities' | 'seller'>, moduleIdentifiers: ModuleIdentifier[], required?: boolean) => boolean;
|
|
22
22
|
//# sourceMappingURL=moduleInstanceValidators.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"moduleInstanceValidators.d.ts","sourceRoot":"","sources":["../../../../../../src/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;
|
|
1
|
+
{"version":3,"file":"moduleInstanceValidators.d.ts","sourceRoot":"","sources":["../../../../../../src/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAA;AAEnE,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAE5C;;;;;;;GAOG;AACH,eAAO,MAAM,8BAA8B,gBAC5B,WAAW,sBACJ,uBAAuB,WAAW,EAAE,sBAAsB,GAAG,OAAO,GAAG,aAAa,GAAG,oBAAoB,GAAG,QAAQ,CAAC,qBACxH,gBAAgB,EAAE,aAC3B,OAAO,YAQlB,CAAA;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,8BAA8B,gBAC5B,WAAW,YACd,uBAAuB,WAAW,EAAE,sBAAsB,GAAG,OAAO,GAAG,aAAa,GAAG,oBAAoB,GAAG,QAAQ,CAAC,qBAC9G,gBAAgB,EAAE,aAC3B,OAAO,YAQlB,CAAA"}
|
package/dist/browser/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ModuleIdentifier } from '@xyo-network/module-model';
|
|
2
|
+
import { PayloadValueExpression } from '@xyo-network/payload-model';
|
|
2
3
|
import { EscrowTerms } from '../../../Terms';
|
|
3
|
-
import { EscrowTermsValueExpression } from '../../types/escrowValidation';
|
|
4
4
|
/**
|
|
5
5
|
* Checks if property value of the escrow terms contains one of the valid moduleIdentifiers
|
|
6
6
|
* @param escrowTerms The escrow terms to validate
|
|
@@ -9,7 +9,7 @@ import { EscrowTermsValueExpression } from '../../types/escrowValidation';
|
|
|
9
9
|
* @param required Is the property required to be present
|
|
10
10
|
* @returns True if the property value contains one of the valid moduleIdentifiers
|
|
11
11
|
*/
|
|
12
|
-
export declare const moduleIdentifiersContainsOneOf: (escrowTerms: EscrowTerms, propertyExpression:
|
|
12
|
+
export declare const moduleIdentifiersContainsOneOf: (escrowTerms: EscrowTerms, propertyExpression: PayloadValueExpression<EscrowTerms, 'appraisalAuthorities' | 'buyer' | 'escrowAgent' | 'paymentAuthorities' | 'seller'>, moduleIdentifiers: ModuleIdentifier[], required?: boolean) => boolean;
|
|
13
13
|
/**
|
|
14
14
|
* Checks if property value of the escrow terms contains all of the valid moduleIdentifiers
|
|
15
15
|
* @param escrowTerms The escrow terms to validate
|
|
@@ -18,5 +18,5 @@ export declare const moduleIdentifiersContainsOneOf: (escrowTerms: EscrowTerms,
|
|
|
18
18
|
* @param required Is the property required to be present
|
|
19
19
|
* @returns True if the property value contains all of the valid moduleIdentifiers
|
|
20
20
|
*/
|
|
21
|
-
export declare const moduleIdentifiersContainsAllOf: (escrowTerms: EscrowTerms, selector:
|
|
21
|
+
export declare const moduleIdentifiersContainsAllOf: (escrowTerms: EscrowTerms, selector: PayloadValueExpression<EscrowTerms, 'appraisalAuthorities' | 'buyer' | 'escrowAgent' | 'paymentAuthorities' | 'seller'>, moduleIdentifiers: ModuleIdentifier[], required?: boolean) => boolean;
|
|
22
22
|
//# sourceMappingURL=moduleInstanceValidators.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"moduleInstanceValidators.d.ts","sourceRoot":"","sources":["../../../../../../src/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;
|
|
1
|
+
{"version":3,"file":"moduleInstanceValidators.d.ts","sourceRoot":"","sources":["../../../../../../src/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAA;AAEnE,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAE5C;;;;;;;GAOG;AACH,eAAO,MAAM,8BAA8B,gBAC5B,WAAW,sBACJ,uBAAuB,WAAW,EAAE,sBAAsB,GAAG,OAAO,GAAG,aAAa,GAAG,oBAAoB,GAAG,QAAQ,CAAC,qBACxH,gBAAgB,EAAE,aAC3B,OAAO,YAQlB,CAAA;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,8BAA8B,gBAC5B,WAAW,YACd,uBAAuB,WAAW,EAAE,sBAAsB,GAAG,OAAO,GAAG,aAAa,GAAG,oBAAoB,GAAG,QAAQ,CAAC,qBAC9G,gBAAgB,EAAE,aAC3B,OAAO,YAQlB,CAAA"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ModuleIdentifier } from '@xyo-network/module-model';
|
|
2
|
-
import {
|
|
3
|
-
|
|
2
|
+
import { PayloadValidationFunction } from '@xyo-network/payload-model';
|
|
3
|
+
import { EscrowTerms } from '../../Terms';
|
|
4
|
+
export declare const getEscrowAgentAllowedValidator: (allowedEscrowAgent: ModuleIdentifier) => PayloadValidationFunction<EscrowTerms>;
|
|
4
5
|
//# sourceMappingURL=agent.d.ts.map
|
|
@@ -1 +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;
|
|
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;AAC5D,OAAO,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAA;AAEtE,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAKzC,eAAO,MAAM,8BAA8B,uBAAwB,gBAAgB,KAAG,0BAA0B,WAAW,CAQ1H,CAAA"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ModuleIdentifier } from '@xyo-network/module-model';
|
|
2
|
-
import {
|
|
3
|
-
|
|
2
|
+
import { PayloadValidationFunction } from '@xyo-network/payload-model';
|
|
3
|
+
import { EscrowTerms } from '../../Terms';
|
|
4
|
+
export declare const getEscrowAgentAllowedValidator: (allowedEscrowAgent: ModuleIdentifier) => PayloadValidationFunction<EscrowTerms>;
|
|
4
5
|
//# sourceMappingURL=agent.d.ts.map
|
|
@@ -1 +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;
|
|
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;AAC5D,OAAO,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAA;AAEtE,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAKzC,eAAO,MAAM,8BAA8B,uBAAwB,gBAAgB,KAAG,0BAA0B,WAAW,CAQ1H,CAAA"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ModuleIdentifier } from '@xyo-network/module-model';
|
|
2
|
-
import {
|
|
3
|
-
|
|
2
|
+
import { PayloadValidationFunction } from '@xyo-network/payload-model';
|
|
3
|
+
import { EscrowTerms } from '../../Terms';
|
|
4
|
+
export declare const getEscrowAgentAllowedValidator: (allowedEscrowAgent: ModuleIdentifier) => PayloadValidationFunction<EscrowTerms>;
|
|
4
5
|
//# sourceMappingURL=agent.d.ts.map
|
|
@@ -1 +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;
|
|
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;AAC5D,OAAO,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAA;AAEtE,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAKzC,eAAO,MAAM,8BAA8B,uBAAwB,gBAAgB,KAAG,0BAA0B,WAAW,CAQ1H,CAAA"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { Hash } from '@xylabs/hex';
|
|
2
|
-
import { Payload, WithMeta } from '@xyo-network/payload-model';
|
|
3
|
-
import {
|
|
2
|
+
import { Payload, PayloadValidationFunction, WithMeta } from '@xyo-network/payload-model';
|
|
3
|
+
import { EscrowTerms } from '../../Terms';
|
|
4
4
|
/**
|
|
5
5
|
* A function that validates the escrow terms for tbe existence of appraisals
|
|
6
6
|
* @returns True if the escrow terms contain appraisals, false otherwise
|
|
7
7
|
*/
|
|
8
|
-
export declare const appraisalsExistValidator:
|
|
8
|
+
export declare const appraisalsExistValidator: PayloadValidationFunction<EscrowTerms>;
|
|
9
9
|
/**
|
|
10
10
|
* Returns a function that validates the escrow terms for appraisals which are from valid authorities
|
|
11
11
|
* @param dictionary Payload dictionary of the escrow terms
|
|
12
12
|
* @returns A function that validates the escrow terms for appraisals which are from valid authorities
|
|
13
13
|
*/
|
|
14
|
-
export declare const getAppraisalsFromValidAuthoritiesValidator: (dictionary: Record<Hash, WithMeta<Payload>>) =>
|
|
14
|
+
export declare const getAppraisalsFromValidAuthoritiesValidator: (dictionary: Record<Hash, WithMeta<Payload>>) => PayloadValidationFunction<EscrowTerms>;
|
|
15
15
|
/**
|
|
16
16
|
* Returns a function that validates the escrow terms for appraisals which are valid
|
|
17
17
|
* @param dictionary Payload dictionary of the escrow terms
|
|
@@ -19,11 +19,11 @@ export declare const getAppraisalsFromValidAuthoritiesValidator: (dictionary: Re
|
|
|
19
19
|
* for in the future (so as not to expire before the escrow is complete)
|
|
20
20
|
* @returns A function that validates the escrow terms for appraisals which are valid
|
|
21
21
|
*/
|
|
22
|
-
export declare const getAppraisalsValidValidator: (dictionary: Record<Hash, WithMeta<Payload>>, minimumExp: number) =>
|
|
22
|
+
export declare const getAppraisalsValidValidator: (dictionary: Record<Hash, WithMeta<Payload>>, minimumExp: number) => PayloadValidationFunction<EscrowTerms>;
|
|
23
23
|
/**
|
|
24
24
|
* Returns a function that validates the escrow terms to ensure that they contain an appraisal for each asset
|
|
25
25
|
* @param dictionary Payload dictionary of the escrow terms
|
|
26
26
|
* @returns A function that validates the escrow terms for appraisals
|
|
27
27
|
*/
|
|
28
|
-
export declare const getAppraisalsForAllAssetsValidator: (dictionary: Record<Hash, WithMeta<Payload>>) =>
|
|
28
|
+
export declare const getAppraisalsForAllAssetsValidator: (dictionary: Record<Hash, WithMeta<Payload>>) => PayloadValidationFunction<EscrowTerms>;
|
|
29
29
|
//# sourceMappingURL=appraisal.d.ts.map
|
|
@@ -1 +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;
|
|
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,yBAAyB,EAAE,QAAQ,EAAe,MAAM,4BAA4B,CAAA;AAEtG,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAKzC;;;GAGG;AACH,eAAO,MAAM,wBAAwB,EAAE,yBAAyB,CAAC,WAAW,CAQ3E,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,0CAA0C,eAAgB,OAAO,IAAI,EAAE,SAAS,OAAO,CAAC,CAAC,KAAG,0BAA0B,WAAW,CA0B7I,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,2BAA2B,eAC1B,OAAO,IAAI,EAAE,SAAS,OAAO,CAAC,CAAC,cAC/B,MAAM,KACjB,0BAA0B,WAAW,CAiBvC,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,kCAAkC,eAAgB,OAAO,IAAI,EAAE,SAAS,OAAO,CAAC,CAAC,KAAG,0BAA0B,WAAW,CAWrI,CAAA"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { Hash } from '@xylabs/hex';
|
|
2
|
-
import { Payload, WithMeta } from '@xyo-network/payload-model';
|
|
3
|
-
import {
|
|
2
|
+
import { Payload, PayloadValidationFunction, WithMeta } from '@xyo-network/payload-model';
|
|
3
|
+
import { EscrowTerms } from '../../Terms';
|
|
4
4
|
/**
|
|
5
5
|
* A function that validates the escrow terms for tbe existence of appraisals
|
|
6
6
|
* @returns True if the escrow terms contain appraisals, false otherwise
|
|
7
7
|
*/
|
|
8
|
-
export declare const appraisalsExistValidator:
|
|
8
|
+
export declare const appraisalsExistValidator: PayloadValidationFunction<EscrowTerms>;
|
|
9
9
|
/**
|
|
10
10
|
* Returns a function that validates the escrow terms for appraisals which are from valid authorities
|
|
11
11
|
* @param dictionary Payload dictionary of the escrow terms
|
|
12
12
|
* @returns A function that validates the escrow terms for appraisals which are from valid authorities
|
|
13
13
|
*/
|
|
14
|
-
export declare const getAppraisalsFromValidAuthoritiesValidator: (dictionary: Record<Hash, WithMeta<Payload>>) =>
|
|
14
|
+
export declare const getAppraisalsFromValidAuthoritiesValidator: (dictionary: Record<Hash, WithMeta<Payload>>) => PayloadValidationFunction<EscrowTerms>;
|
|
15
15
|
/**
|
|
16
16
|
* Returns a function that validates the escrow terms for appraisals which are valid
|
|
17
17
|
* @param dictionary Payload dictionary of the escrow terms
|
|
@@ -19,11 +19,11 @@ export declare const getAppraisalsFromValidAuthoritiesValidator: (dictionary: Re
|
|
|
19
19
|
* for in the future (so as not to expire before the escrow is complete)
|
|
20
20
|
* @returns A function that validates the escrow terms for appraisals which are valid
|
|
21
21
|
*/
|
|
22
|
-
export declare const getAppraisalsValidValidator: (dictionary: Record<Hash, WithMeta<Payload>>, minimumExp: number) =>
|
|
22
|
+
export declare const getAppraisalsValidValidator: (dictionary: Record<Hash, WithMeta<Payload>>, minimumExp: number) => PayloadValidationFunction<EscrowTerms>;
|
|
23
23
|
/**
|
|
24
24
|
* Returns a function that validates the escrow terms to ensure that they contain an appraisal for each asset
|
|
25
25
|
* @param dictionary Payload dictionary of the escrow terms
|
|
26
26
|
* @returns A function that validates the escrow terms for appraisals
|
|
27
27
|
*/
|
|
28
|
-
export declare const getAppraisalsForAllAssetsValidator: (dictionary: Record<Hash, WithMeta<Payload>>) =>
|
|
28
|
+
export declare const getAppraisalsForAllAssetsValidator: (dictionary: Record<Hash, WithMeta<Payload>>) => PayloadValidationFunction<EscrowTerms>;
|
|
29
29
|
//# sourceMappingURL=appraisal.d.ts.map
|
|
@@ -1 +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;
|
|
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,yBAAyB,EAAE,QAAQ,EAAe,MAAM,4BAA4B,CAAA;AAEtG,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAKzC;;;GAGG;AACH,eAAO,MAAM,wBAAwB,EAAE,yBAAyB,CAAC,WAAW,CAQ3E,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,0CAA0C,eAAgB,OAAO,IAAI,EAAE,SAAS,OAAO,CAAC,CAAC,KAAG,0BAA0B,WAAW,CA0B7I,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,2BAA2B,eAC1B,OAAO,IAAI,EAAE,SAAS,OAAO,CAAC,CAAC,cAC/B,MAAM,KACjB,0BAA0B,WAAW,CAiBvC,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,kCAAkC,eAAgB,OAAO,IAAI,EAAE,SAAS,OAAO,CAAC,CAAC,KAAG,0BAA0B,WAAW,CAWrI,CAAA"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { Hash } from '@xylabs/hex';
|
|
2
|
-
import { Payload, WithMeta } from '@xyo-network/payload-model';
|
|
3
|
-
import {
|
|
2
|
+
import { Payload, PayloadValidationFunction, WithMeta } from '@xyo-network/payload-model';
|
|
3
|
+
import { EscrowTerms } from '../../Terms';
|
|
4
4
|
/**
|
|
5
5
|
* A function that validates the escrow terms for tbe existence of appraisals
|
|
6
6
|
* @returns True if the escrow terms contain appraisals, false otherwise
|
|
7
7
|
*/
|
|
8
|
-
export declare const appraisalsExistValidator:
|
|
8
|
+
export declare const appraisalsExistValidator: PayloadValidationFunction<EscrowTerms>;
|
|
9
9
|
/**
|
|
10
10
|
* Returns a function that validates the escrow terms for appraisals which are from valid authorities
|
|
11
11
|
* @param dictionary Payload dictionary of the escrow terms
|
|
12
12
|
* @returns A function that validates the escrow terms for appraisals which are from valid authorities
|
|
13
13
|
*/
|
|
14
|
-
export declare const getAppraisalsFromValidAuthoritiesValidator: (dictionary: Record<Hash, WithMeta<Payload>>) =>
|
|
14
|
+
export declare const getAppraisalsFromValidAuthoritiesValidator: (dictionary: Record<Hash, WithMeta<Payload>>) => PayloadValidationFunction<EscrowTerms>;
|
|
15
15
|
/**
|
|
16
16
|
* Returns a function that validates the escrow terms for appraisals which are valid
|
|
17
17
|
* @param dictionary Payload dictionary of the escrow terms
|
|
@@ -19,11 +19,11 @@ export declare const getAppraisalsFromValidAuthoritiesValidator: (dictionary: Re
|
|
|
19
19
|
* for in the future (so as not to expire before the escrow is complete)
|
|
20
20
|
* @returns A function that validates the escrow terms for appraisals which are valid
|
|
21
21
|
*/
|
|
22
|
-
export declare const getAppraisalsValidValidator: (dictionary: Record<Hash, WithMeta<Payload>>, minimumExp: number) =>
|
|
22
|
+
export declare const getAppraisalsValidValidator: (dictionary: Record<Hash, WithMeta<Payload>>, minimumExp: number) => PayloadValidationFunction<EscrowTerms>;
|
|
23
23
|
/**
|
|
24
24
|
* Returns a function that validates the escrow terms to ensure that they contain an appraisal for each asset
|
|
25
25
|
* @param dictionary Payload dictionary of the escrow terms
|
|
26
26
|
* @returns A function that validates the escrow terms for appraisals
|
|
27
27
|
*/
|
|
28
|
-
export declare const getAppraisalsForAllAssetsValidator: (dictionary: Record<Hash, WithMeta<Payload>>) =>
|
|
28
|
+
export declare const getAppraisalsForAllAssetsValidator: (dictionary: Record<Hash, WithMeta<Payload>>) => PayloadValidationFunction<EscrowTerms>;
|
|
29
29
|
//# sourceMappingURL=appraisal.d.ts.map
|
|
@@ -1 +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;
|
|
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,yBAAyB,EAAE,QAAQ,EAAe,MAAM,4BAA4B,CAAA;AAEtG,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAKzC;;;GAGG;AACH,eAAO,MAAM,wBAAwB,EAAE,yBAAyB,CAAC,WAAW,CAQ3E,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,0CAA0C,eAAgB,OAAO,IAAI,EAAE,SAAS,OAAO,CAAC,CAAC,KAAG,0BAA0B,WAAW,CA0B7I,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,2BAA2B,eAC1B,OAAO,IAAI,EAAE,SAAS,OAAO,CAAC,CAAC,cAC/B,MAAM,KACjB,0BAA0B,WAAW,CAiBvC,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,kCAAkC,eAAgB,OAAO,IAAI,EAAE,SAAS,OAAO,CAAC,CAAC,KAAG,0BAA0B,WAAW,CAWrI,CAAA"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { ModuleIdentifier } from '@xyo-network/module-model';
|
|
2
|
-
import {
|
|
2
|
+
import { PayloadValidationFunction } from '@xyo-network/payload-model';
|
|
3
|
+
import { EscrowTerms } from '../../Terms';
|
|
3
4
|
/**
|
|
4
5
|
* A function that validates the escrow terms for appraisalAuthorities
|
|
5
6
|
* @returns True if the escrow terms contain appraisalAuthorities, false otherwise
|
|
6
7
|
*/
|
|
7
|
-
export declare const appraisalAuthoritiesExistValidator:
|
|
8
|
-
export declare const getAppraisalAuthoritiesAllowedValidator: (allowed: ModuleIdentifier[]) =>
|
|
8
|
+
export declare const appraisalAuthoritiesExistValidator: PayloadValidationFunction<EscrowTerms>;
|
|
9
|
+
export declare const getAppraisalAuthoritiesAllowedValidator: (allowed: ModuleIdentifier[]) => PayloadValidationFunction<EscrowTerms>;
|
|
9
10
|
//# sourceMappingURL=appraisalAuthorities.d.ts.map
|
|
@@ -1 +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;
|
|
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;AAC5D,OAAO,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAA;AAEtE,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAKzC;;;GAGG;AACH,eAAO,MAAM,kCAAkC,EAAE,yBAAyB,CAAC,WAAW,CAarF,CAAA;AAED,eAAO,MAAM,uCAAuC,YAAa,gBAAgB,EAAE,KAAG,0BAA0B,WAAW,CAQ1H,CAAA"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { ModuleIdentifier } from '@xyo-network/module-model';
|
|
2
|
-
import {
|
|
2
|
+
import { PayloadValidationFunction } from '@xyo-network/payload-model';
|
|
3
|
+
import { EscrowTerms } from '../../Terms';
|
|
3
4
|
/**
|
|
4
5
|
* A function that validates the escrow terms for appraisalAuthorities
|
|
5
6
|
* @returns True if the escrow terms contain appraisalAuthorities, false otherwise
|
|
6
7
|
*/
|
|
7
|
-
export declare const appraisalAuthoritiesExistValidator:
|
|
8
|
-
export declare const getAppraisalAuthoritiesAllowedValidator: (allowed: ModuleIdentifier[]) =>
|
|
8
|
+
export declare const appraisalAuthoritiesExistValidator: PayloadValidationFunction<EscrowTerms>;
|
|
9
|
+
export declare const getAppraisalAuthoritiesAllowedValidator: (allowed: ModuleIdentifier[]) => PayloadValidationFunction<EscrowTerms>;
|
|
9
10
|
//# sourceMappingURL=appraisalAuthorities.d.ts.map
|
|
@@ -1 +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;
|
|
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;AAC5D,OAAO,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAA;AAEtE,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAKzC;;;GAGG;AACH,eAAO,MAAM,kCAAkC,EAAE,yBAAyB,CAAC,WAAW,CAarF,CAAA;AAED,eAAO,MAAM,uCAAuC,YAAa,gBAAgB,EAAE,KAAG,0BAA0B,WAAW,CAQ1H,CAAA"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { ModuleIdentifier } from '@xyo-network/module-model';
|
|
2
|
-
import {
|
|
2
|
+
import { PayloadValidationFunction } from '@xyo-network/payload-model';
|
|
3
|
+
import { EscrowTerms } from '../../Terms';
|
|
3
4
|
/**
|
|
4
5
|
* A function that validates the escrow terms for appraisalAuthorities
|
|
5
6
|
* @returns True if the escrow terms contain appraisalAuthorities, false otherwise
|
|
6
7
|
*/
|
|
7
|
-
export declare const appraisalAuthoritiesExistValidator:
|
|
8
|
-
export declare const getAppraisalAuthoritiesAllowedValidator: (allowed: ModuleIdentifier[]) =>
|
|
8
|
+
export declare const appraisalAuthoritiesExistValidator: PayloadValidationFunction<EscrowTerms>;
|
|
9
|
+
export declare const getAppraisalAuthoritiesAllowedValidator: (allowed: ModuleIdentifier[]) => PayloadValidationFunction<EscrowTerms>;
|
|
9
10
|
//# sourceMappingURL=appraisalAuthorities.d.ts.map
|
|
@@ -1 +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;
|
|
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;AAC5D,OAAO,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAA;AAEtE,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAKzC;;;GAGG;AACH,eAAO,MAAM,kCAAkC,EAAE,yBAAyB,CAAC,WAAW,CAarF,CAAA;AAED,eAAO,MAAM,uCAAuC,YAAa,gBAAgB,EAAE,KAAG,0BAA0B,WAAW,CAQ1H,CAAA"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PayloadValidationFunction } from '@xyo-network/payload-model';
|
|
2
|
+
import { EscrowTerms } from '../../Terms';
|
|
2
3
|
/**
|
|
3
4
|
* Returns a function that validates the escrow terms for assets
|
|
4
5
|
* @returns A function that validates the escrow terms for assets
|
|
5
6
|
*/
|
|
6
|
-
export declare const assetsExistValidator:
|
|
7
|
+
export declare const assetsExistValidator: PayloadValidationFunction<EscrowTerms>;
|
|
7
8
|
//# sourceMappingURL=assets.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assets.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/assets.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"assets.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/assets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAA;AAEtE,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAIzC;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE,yBAAyB,CAAC,WAAW,CAQvE,CAAA"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PayloadValidationFunction } from '@xyo-network/payload-model';
|
|
2
|
+
import { EscrowTerms } from '../../Terms';
|
|
2
3
|
/**
|
|
3
4
|
* Returns a function that validates the escrow terms for assets
|
|
4
5
|
* @returns A function that validates the escrow terms for assets
|
|
5
6
|
*/
|
|
6
|
-
export declare const assetsExistValidator:
|
|
7
|
+
export declare const assetsExistValidator: PayloadValidationFunction<EscrowTerms>;
|
|
7
8
|
//# sourceMappingURL=assets.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assets.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/assets.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"assets.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/assets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAA;AAEtE,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAIzC;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE,yBAAyB,CAAC,WAAW,CAQvE,CAAA"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PayloadValidationFunction } from '@xyo-network/payload-model';
|
|
2
|
+
import { EscrowTerms } from '../../Terms';
|
|
2
3
|
/**
|
|
3
4
|
* Returns a function that validates the escrow terms for assets
|
|
4
5
|
* @returns A function that validates the escrow terms for assets
|
|
5
6
|
*/
|
|
6
|
-
export declare const assetsExistValidator:
|
|
7
|
+
export declare const assetsExistValidator: PayloadValidationFunction<EscrowTerms>;
|
|
7
8
|
//# sourceMappingURL=assets.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assets.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/assets.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"assets.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/assets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAA;AAEtE,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAIzC;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE,yBAAyB,CAAC,WAAW,CAQvE,CAAA"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PayloadValidationFunction } from '@xyo-network/payload-model';
|
|
2
|
+
import { EscrowTerms } from '../../Terms';
|
|
2
3
|
/**
|
|
3
4
|
* A function that validates the escrow terms for buyer
|
|
4
5
|
* @returns True if the escrow terms contain buyer, false otherwise
|
|
5
6
|
*/
|
|
6
|
-
export declare const buyerExistsValidator:
|
|
7
|
+
export declare const buyerExistsValidator: PayloadValidationFunction<EscrowTerms>;
|
|
7
8
|
//# sourceMappingURL=buyer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buyer.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/buyer.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"buyer.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/buyer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAA;AAEtE,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAIzC;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE,yBAAyB,CAAC,WAAW,CAavE,CAAA"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PayloadValidationFunction } from '@xyo-network/payload-model';
|
|
2
|
+
import { EscrowTerms } from '../../Terms';
|
|
2
3
|
/**
|
|
3
4
|
* A function that validates the escrow terms for buyer
|
|
4
5
|
* @returns True if the escrow terms contain buyer, false otherwise
|
|
5
6
|
*/
|
|
6
|
-
export declare const buyerExistsValidator:
|
|
7
|
+
export declare const buyerExistsValidator: PayloadValidationFunction<EscrowTerms>;
|
|
7
8
|
//# sourceMappingURL=buyer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buyer.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/buyer.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"buyer.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/buyer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAA;AAEtE,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAIzC;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE,yBAAyB,CAAC,WAAW,CAavE,CAAA"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PayloadValidationFunction } from '@xyo-network/payload-model';
|
|
2
|
+
import { EscrowTerms } from '../../Terms';
|
|
2
3
|
/**
|
|
3
4
|
* A function that validates the escrow terms for buyer
|
|
4
5
|
* @returns True if the escrow terms contain buyer, false otherwise
|
|
5
6
|
*/
|
|
6
|
-
export declare const buyerExistsValidator:
|
|
7
|
+
export declare const buyerExistsValidator: PayloadValidationFunction<EscrowTerms>;
|
|
7
8
|
//# sourceMappingURL=buyer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buyer.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/buyer.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"buyer.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/buyer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAA;AAEtE,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAIzC;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE,yBAAyB,CAAC,WAAW,CAavE,CAAA"}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { Hash } from '@xylabs/hex';
|
|
2
|
-
import { Payload, WithMeta } from '@xyo-network/payload-model';
|
|
3
|
-
import {
|
|
2
|
+
import { Payload, PayloadValidationFunction, WithMeta } from '@xyo-network/payload-model';
|
|
3
|
+
import { EscrowTerms } from '../../Terms';
|
|
4
4
|
/**
|
|
5
5
|
* Returns a function that validates the escrow terms for buyerSecret
|
|
6
6
|
* @returns A function that validates the escrow terms for buyerSecret
|
|
7
7
|
*/
|
|
8
|
-
export declare const buyerSecretExistsValidator:
|
|
8
|
+
export declare const buyerSecretExistsValidator: PayloadValidationFunction<EscrowTerms>;
|
|
9
9
|
/**
|
|
10
10
|
* Returns a function that validates the escrow terms for the existence of the buyerSecret in the dictionary
|
|
11
11
|
* @param dictionary Payload dictionary of the escrow terms
|
|
12
12
|
* @returns A function that validates the escrow terms for the existence of the buyerSecret in the dictionary
|
|
13
13
|
*/
|
|
14
|
-
export declare const getBuyerSecretSuppliedValidator: (dictionary: Record<Hash, WithMeta<Payload>>) =>
|
|
14
|
+
export declare const getBuyerSecretSuppliedValidator: (dictionary: Record<Hash, WithMeta<Payload>>) => PayloadValidationFunction<EscrowTerms>;
|
|
15
15
|
/**
|
|
16
16
|
* Returns a function that validates the escrow terms for the existence of the buyerSecret signed by the buyer
|
|
17
17
|
* @param dictionary Payload dictionary of the escrow terms
|
|
18
18
|
* @returns A function that validates the escrow terms for the existence of the buyerSecret signed by the buyer
|
|
19
19
|
*/
|
|
20
|
-
export declare const getBuyerSecretSignedValidator: (dictionary: Record<Hash, WithMeta<Payload>>) =>
|
|
20
|
+
export declare const getBuyerSecretSignedValidator: (dictionary: Record<Hash, WithMeta<Payload>>) => PayloadValidationFunction<EscrowTerms>;
|
|
21
21
|
//# sourceMappingURL=buyerSecret.d.ts.map
|
|
@@ -1 +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;
|
|
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,yBAAyB,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAA;AAEzF,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAIzC;;;GAGG;AACH,eAAO,MAAM,0BAA0B,EAAE,yBAAyB,CAAC,WAAW,CAQ7E,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,+BAA+B,eAAgB,OAAO,IAAI,EAAE,SAAS,OAAO,CAAC,CAAC,KAAG,0BAA0B,WAAW,CASlI,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,6BAA6B,eAAgB,OAAO,IAAI,EAAE,SAAS,OAAO,CAAC,CAAC,KAAG,0BAA0B,WAAW,CA4BhI,CAAA"}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { Hash } from '@xylabs/hex';
|
|
2
|
-
import { Payload, WithMeta } from '@xyo-network/payload-model';
|
|
3
|
-
import {
|
|
2
|
+
import { Payload, PayloadValidationFunction, WithMeta } from '@xyo-network/payload-model';
|
|
3
|
+
import { EscrowTerms } from '../../Terms';
|
|
4
4
|
/**
|
|
5
5
|
* Returns a function that validates the escrow terms for buyerSecret
|
|
6
6
|
* @returns A function that validates the escrow terms for buyerSecret
|
|
7
7
|
*/
|
|
8
|
-
export declare const buyerSecretExistsValidator:
|
|
8
|
+
export declare const buyerSecretExistsValidator: PayloadValidationFunction<EscrowTerms>;
|
|
9
9
|
/**
|
|
10
10
|
* Returns a function that validates the escrow terms for the existence of the buyerSecret in the dictionary
|
|
11
11
|
* @param dictionary Payload dictionary of the escrow terms
|
|
12
12
|
* @returns A function that validates the escrow terms for the existence of the buyerSecret in the dictionary
|
|
13
13
|
*/
|
|
14
|
-
export declare const getBuyerSecretSuppliedValidator: (dictionary: Record<Hash, WithMeta<Payload>>) =>
|
|
14
|
+
export declare const getBuyerSecretSuppliedValidator: (dictionary: Record<Hash, WithMeta<Payload>>) => PayloadValidationFunction<EscrowTerms>;
|
|
15
15
|
/**
|
|
16
16
|
* Returns a function that validates the escrow terms for the existence of the buyerSecret signed by the buyer
|
|
17
17
|
* @param dictionary Payload dictionary of the escrow terms
|
|
18
18
|
* @returns A function that validates the escrow terms for the existence of the buyerSecret signed by the buyer
|
|
19
19
|
*/
|
|
20
|
-
export declare const getBuyerSecretSignedValidator: (dictionary: Record<Hash, WithMeta<Payload>>) =>
|
|
20
|
+
export declare const getBuyerSecretSignedValidator: (dictionary: Record<Hash, WithMeta<Payload>>) => PayloadValidationFunction<EscrowTerms>;
|
|
21
21
|
//# sourceMappingURL=buyerSecret.d.ts.map
|
|
@@ -1 +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;
|
|
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,yBAAyB,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAA;AAEzF,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAIzC;;;GAGG;AACH,eAAO,MAAM,0BAA0B,EAAE,yBAAyB,CAAC,WAAW,CAQ7E,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,+BAA+B,eAAgB,OAAO,IAAI,EAAE,SAAS,OAAO,CAAC,CAAC,KAAG,0BAA0B,WAAW,CASlI,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,6BAA6B,eAAgB,OAAO,IAAI,EAAE,SAAS,OAAO,CAAC,CAAC,KAAG,0BAA0B,WAAW,CA4BhI,CAAA"}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { Hash } from '@xylabs/hex';
|
|
2
|
-
import { Payload, WithMeta } from '@xyo-network/payload-model';
|
|
3
|
-
import {
|
|
2
|
+
import { Payload, PayloadValidationFunction, WithMeta } from '@xyo-network/payload-model';
|
|
3
|
+
import { EscrowTerms } from '../../Terms';
|
|
4
4
|
/**
|
|
5
5
|
* Returns a function that validates the escrow terms for buyerSecret
|
|
6
6
|
* @returns A function that validates the escrow terms for buyerSecret
|
|
7
7
|
*/
|
|
8
|
-
export declare const buyerSecretExistsValidator:
|
|
8
|
+
export declare const buyerSecretExistsValidator: PayloadValidationFunction<EscrowTerms>;
|
|
9
9
|
/**
|
|
10
10
|
* Returns a function that validates the escrow terms for the existence of the buyerSecret in the dictionary
|
|
11
11
|
* @param dictionary Payload dictionary of the escrow terms
|
|
12
12
|
* @returns A function that validates the escrow terms for the existence of the buyerSecret in the dictionary
|
|
13
13
|
*/
|
|
14
|
-
export declare const getBuyerSecretSuppliedValidator: (dictionary: Record<Hash, WithMeta<Payload>>) =>
|
|
14
|
+
export declare const getBuyerSecretSuppliedValidator: (dictionary: Record<Hash, WithMeta<Payload>>) => PayloadValidationFunction<EscrowTerms>;
|
|
15
15
|
/**
|
|
16
16
|
* Returns a function that validates the escrow terms for the existence of the buyerSecret signed by the buyer
|
|
17
17
|
* @param dictionary Payload dictionary of the escrow terms
|
|
18
18
|
* @returns A function that validates the escrow terms for the existence of the buyerSecret signed by the buyer
|
|
19
19
|
*/
|
|
20
|
-
export declare const getBuyerSecretSignedValidator: (dictionary: Record<Hash, WithMeta<Payload>>) =>
|
|
20
|
+
export declare const getBuyerSecretSignedValidator: (dictionary: Record<Hash, WithMeta<Payload>>) => PayloadValidationFunction<EscrowTerms>;
|
|
21
21
|
//# sourceMappingURL=buyerSecret.d.ts.map
|
|
@@ -1 +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;
|
|
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,yBAAyB,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAA;AAEzF,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAIzC;;;GAGG;AACH,eAAO,MAAM,0BAA0B,EAAE,yBAAyB,CAAC,WAAW,CAQ7E,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,+BAA+B,eAAgB,OAAO,IAAI,EAAE,SAAS,OAAO,CAAC,CAAC,KAAG,0BAA0B,WAAW,CASlI,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,6BAA6B,eAAgB,OAAO,IAAI,EAAE,SAAS,OAAO,CAAC,CAAC,KAAG,0BAA0B,WAAW,CA4BhI,CAAA"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { PayloadValidationFunction } from '@xyo-network/payload-model';
|
|
2
|
+
import { EscrowTerms } from '../../Terms';
|
|
3
|
+
export declare const getNbfExpValidator: (now: number, minRequiredDuration: number) => PayloadValidationFunction<EscrowTerms>;
|
|
3
4
|
//# sourceMappingURL=nbfExp.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nbfExp.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/nbfExp.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"nbfExp.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/nbfExp.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAA;AAEtE,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAEzC,eAAO,MAAM,kBAAkB,QAAS,MAAM,uBAAuB,MAAM,KAAG,0BAA0B,WAAW,CAclH,CAAA"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { PayloadValidationFunction } from '@xyo-network/payload-model';
|
|
2
|
+
import { EscrowTerms } from '../../Terms';
|
|
3
|
+
export declare const getNbfExpValidator: (now: number, minRequiredDuration: number) => PayloadValidationFunction<EscrowTerms>;
|
|
3
4
|
//# sourceMappingURL=nbfExp.d.ts.map
|