@xyo-network/payment-payload-plugins 3.4.0 → 3.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/neutral/index.d.ts +1159 -12
- package/dist/neutral/index.mjs +2 -4
- package/dist/neutral/index.mjs.map +1 -1
- package/package.json +18 -18
- package/src/Escrow/validators/common/TemporalValidators/validateWithinWindow.ts +1 -2
- package/src/Escrow/validators/escrow/appraisal.ts +1 -2
- package/dist/neutral/Amount/Iso4217Currency.d.ts +0 -14
- package/dist/neutral/Amount/Iso4217Currency.d.ts.map +0 -1
- package/dist/neutral/Amount/Payload.d.ts +0 -31
- package/dist/neutral/Amount/Payload.d.ts.map +0 -1
- package/dist/neutral/Amount/index.d.ts +0 -3
- package/dist/neutral/Amount/index.d.ts.map +0 -1
- package/dist/neutral/Billing/Address/Address.d.ts +0 -278
- package/dist/neutral/Billing/Address/Address.d.ts.map +0 -1
- package/dist/neutral/Billing/Address/Schema.d.ts +0 -3
- package/dist/neutral/Billing/Address/Schema.d.ts.map +0 -1
- package/dist/neutral/Billing/Address/index.d.ts +0 -3
- package/dist/neutral/Billing/Address/index.d.ts.map +0 -1
- package/dist/neutral/Billing/Schema.d.ts +0 -3
- package/dist/neutral/Billing/Schema.d.ts.map +0 -1
- package/dist/neutral/Billing/index.d.ts +0 -3
- package/dist/neutral/Billing/index.d.ts.map +0 -1
- package/dist/neutral/Currency.d.ts +0 -2
- package/dist/neutral/Currency.d.ts.map +0 -1
- package/dist/neutral/Discount/Config.d.ts +0 -23
- package/dist/neutral/Discount/Config.d.ts.map +0 -1
- package/dist/neutral/Discount/Params.d.ts +0 -11
- package/dist/neutral/Discount/Params.d.ts.map +0 -1
- package/dist/neutral/Discount/Payload/Coupon/Conditions/AppraisalAmountCondition.d.ts +0 -8
- package/dist/neutral/Discount/Payload/Coupon/Conditions/AppraisalAmountCondition.d.ts.map +0 -1
- package/dist/neutral/Discount/Payload/Coupon/Conditions/AssetQuantityCondition.d.ts +0 -8
- package/dist/neutral/Discount/Payload/Coupon/Conditions/AssetQuantityCondition.d.ts.map +0 -1
- package/dist/neutral/Discount/Payload/Coupon/Conditions/BuyerCondition.d.ts +0 -34
- package/dist/neutral/Discount/Payload/Coupon/Conditions/BuyerCondition.d.ts.map +0 -1
- package/dist/neutral/Discount/Payload/Coupon/Conditions/index.d.ts +0 -4
- package/dist/neutral/Discount/Payload/Coupon/Conditions/index.d.ts.map +0 -1
- package/dist/neutral/Discount/Payload/Coupon/Coupons/FixedAmount.d.ts +0 -70
- package/dist/neutral/Discount/Payload/Coupon/Coupons/FixedAmount.d.ts.map +0 -1
- package/dist/neutral/Discount/Payload/Coupon/Coupons/FixedPercentage.d.ts +0 -65
- package/dist/neutral/Discount/Payload/Coupon/Coupons/FixedPercentage.d.ts.map +0 -1
- package/dist/neutral/Discount/Payload/Coupon/Coupons/FixedPrice.d.ts +0 -70
- package/dist/neutral/Discount/Payload/Coupon/Coupons/FixedPrice.d.ts.map +0 -1
- package/dist/neutral/Discount/Payload/Coupon/Coupons/index.d.ts +0 -4
- package/dist/neutral/Discount/Payload/Coupon/Coupons/index.d.ts.map +0 -1
- package/dist/neutral/Discount/Payload/Coupon/Payload.d.ts +0 -114
- package/dist/neutral/Discount/Payload/Coupon/Payload.d.ts.map +0 -1
- package/dist/neutral/Discount/Payload/Coupon/Schema.d.ts +0 -3
- package/dist/neutral/Discount/Payload/Coupon/Schema.d.ts.map +0 -1
- package/dist/neutral/Discount/Payload/Coupon/index.d.ts +0 -6
- package/dist/neutral/Discount/Payload/Coupon/index.d.ts.map +0 -1
- package/dist/neutral/Discount/Payload/Coupon/types/Condition.d.ts +0 -22
- package/dist/neutral/Discount/Payload/Coupon/types/Condition.d.ts.map +0 -1
- package/dist/neutral/Discount/Payload/Coupon/types/CouponFields.d.ts +0 -16
- package/dist/neutral/Discount/Payload/Coupon/types/CouponFields.d.ts.map +0 -1
- package/dist/neutral/Discount/Payload/Coupon/types/index.d.ts +0 -4
- package/dist/neutral/Discount/Payload/Coupon/types/index.d.ts.map +0 -1
- package/dist/neutral/Discount/Payload/Coupon/types/isStackable.d.ts +0 -5
- package/dist/neutral/Discount/Payload/Coupon/types/isStackable.d.ts.map +0 -1
- package/dist/neutral/Discount/Payload/Discount.d.ts +0 -49
- package/dist/neutral/Discount/Payload/Discount.d.ts.map +0 -1
- package/dist/neutral/Discount/Payload/NoDiscount.d.ts +0 -3
- package/dist/neutral/Discount/Payload/NoDiscount.d.ts.map +0 -1
- package/dist/neutral/Discount/Payload/index.d.ts +0 -4
- package/dist/neutral/Discount/Payload/index.d.ts.map +0 -1
- package/dist/neutral/Discount/index.d.ts +0 -4
- package/dist/neutral/Discount/index.d.ts.map +0 -1
- package/dist/neutral/Escrow/Outcome.d.ts +0 -32
- package/dist/neutral/Escrow/Outcome.d.ts.map +0 -1
- package/dist/neutral/Escrow/Schema.d.ts +0 -3
- package/dist/neutral/Escrow/Schema.d.ts.map +0 -1
- package/dist/neutral/Escrow/Terms/Party.d.ts +0 -6
- package/dist/neutral/Escrow/Terms/Party.d.ts.map +0 -1
- package/dist/neutral/Escrow/Terms/PartySecret.d.ts +0 -6
- package/dist/neutral/Escrow/Terms/PartySecret.d.ts.map +0 -1
- package/dist/neutral/Escrow/Terms/Terms.d.ts +0 -217
- package/dist/neutral/Escrow/Terms/Terms.d.ts.map +0 -1
- package/dist/neutral/Escrow/Terms/index.d.ts +0 -4
- package/dist/neutral/Escrow/Terms/index.d.ts.map +0 -1
- package/dist/neutral/Escrow/index.d.ts +0 -6
- package/dist/neutral/Escrow/index.d.ts.map +0 -1
- package/dist/neutral/Escrow/util/appraisal/getAppraisalsByAsset.d.ts +0 -12
- package/dist/neutral/Escrow/util/appraisal/getAppraisalsByAsset.d.ts.map +0 -1
- package/dist/neutral/Escrow/util/appraisal/getSignaturesByAppraisal.d.ts +0 -13
- package/dist/neutral/Escrow/util/appraisal/getSignaturesByAppraisal.d.ts.map +0 -1
- package/dist/neutral/Escrow/util/appraisal/index.d.ts +0 -3
- package/dist/neutral/Escrow/util/appraisal/index.d.ts.map +0 -1
- package/dist/neutral/Escrow/util/index.d.ts +0 -3
- package/dist/neutral/Escrow/util/index.d.ts.map +0 -1
- package/dist/neutral/Escrow/util/secret/createEscrowIntent.d.ts +0 -69
- package/dist/neutral/Escrow/util/secret/createEscrowIntent.d.ts.map +0 -1
- package/dist/neutral/Escrow/util/secret/findEscrowPartySecretSignatures.d.ts +0 -13
- package/dist/neutral/Escrow/util/secret/findEscrowPartySecretSignatures.d.ts.map +0 -1
- package/dist/neutral/Escrow/util/secret/getEscrowSecret.d.ts +0 -7
- package/dist/neutral/Escrow/util/secret/getEscrowSecret.d.ts.map +0 -1
- package/dist/neutral/Escrow/util/secret/index.d.ts +0 -5
- package/dist/neutral/Escrow/util/secret/index.d.ts.map +0 -1
- package/dist/neutral/Escrow/util/secret/updateEscrowTermsWithSecret.d.ts +0 -71
- package/dist/neutral/Escrow/util/secret/updateEscrowTermsWithSecret.d.ts.map +0 -1
- package/dist/neutral/Escrow/validators/common/ModuleInstanceValidators/index.d.ts +0 -2
- package/dist/neutral/Escrow/validators/common/ModuleInstanceValidators/index.d.ts.map +0 -1
- package/dist/neutral/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.ts +0 -22
- package/dist/neutral/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.ts.map +0 -1
- package/dist/neutral/Escrow/validators/common/SecretValidators/getPartySecretSignedValidator.d.ts +0 -10
- package/dist/neutral/Escrow/validators/common/SecretValidators/getPartySecretSignedValidator.d.ts.map +0 -1
- package/dist/neutral/Escrow/validators/common/SecretValidators/index.d.ts +0 -2
- package/dist/neutral/Escrow/validators/common/SecretValidators/index.d.ts.map +0 -1
- package/dist/neutral/Escrow/validators/common/TemporalValidators/index.d.ts +0 -2
- package/dist/neutral/Escrow/validators/common/TemporalValidators/index.d.ts.map +0 -1
- package/dist/neutral/Escrow/validators/common/TemporalValidators/validateWithinWindow.d.ts +0 -6
- package/dist/neutral/Escrow/validators/common/TemporalValidators/validateWithinWindow.d.ts.map +0 -1
- package/dist/neutral/Escrow/validators/common/index.d.ts +0 -4
- package/dist/neutral/Escrow/validators/common/index.d.ts.map +0 -1
- package/dist/neutral/Escrow/validators/escrow/agent.d.ts +0 -5
- package/dist/neutral/Escrow/validators/escrow/agent.d.ts.map +0 -1
- package/dist/neutral/Escrow/validators/escrow/appraisal.d.ts +0 -29
- package/dist/neutral/Escrow/validators/escrow/appraisal.d.ts.map +0 -1
- package/dist/neutral/Escrow/validators/escrow/appraisalAuthorities.d.ts +0 -10
- package/dist/neutral/Escrow/validators/escrow/appraisalAuthorities.d.ts.map +0 -1
- package/dist/neutral/Escrow/validators/escrow/assets.d.ts +0 -8
- package/dist/neutral/Escrow/validators/escrow/assets.d.ts.map +0 -1
- package/dist/neutral/Escrow/validators/escrow/buyer.d.ts +0 -8
- package/dist/neutral/Escrow/validators/escrow/buyer.d.ts.map +0 -1
- package/dist/neutral/Escrow/validators/escrow/buyerSecret.d.ts +0 -21
- package/dist/neutral/Escrow/validators/escrow/buyerSecret.d.ts.map +0 -1
- package/dist/neutral/Escrow/validators/escrow/index.d.ts +0 -11
- package/dist/neutral/Escrow/validators/escrow/index.d.ts.map +0 -1
- package/dist/neutral/Escrow/validators/escrow/nbfExp.d.ts +0 -4
- package/dist/neutral/Escrow/validators/escrow/nbfExp.d.ts.map +0 -1
- package/dist/neutral/Escrow/validators/escrow/paymentAuthorities.d.ts +0 -5
- package/dist/neutral/Escrow/validators/escrow/paymentAuthorities.d.ts.map +0 -1
- package/dist/neutral/Escrow/validators/escrow/seller.d.ts +0 -8
- package/dist/neutral/Escrow/validators/escrow/seller.d.ts.map +0 -1
- package/dist/neutral/Escrow/validators/escrow/sellerSecret.d.ts +0 -21
- package/dist/neutral/Escrow/validators/escrow/sellerSecret.d.ts.map +0 -1
- package/dist/neutral/Escrow/validators/index.d.ts +0 -3
- package/dist/neutral/Escrow/validators/index.d.ts.map +0 -1
- package/dist/neutral/Invoice/Invoice.d.ts +0 -17
- package/dist/neutral/Invoice/Invoice.d.ts.map +0 -1
- package/dist/neutral/Invoice/index.d.ts +0 -2
- package/dist/neutral/Invoice/index.d.ts.map +0 -1
- package/dist/neutral/Payment/Instrument/Card/Payload.d.ts +0 -160
- package/dist/neutral/Payment/Instrument/Card/Payload.d.ts.map +0 -1
- package/dist/neutral/Payment/Instrument/Card/Schema.d.ts +0 -3
- package/dist/neutral/Payment/Instrument/Card/Schema.d.ts.map +0 -1
- package/dist/neutral/Payment/Instrument/Card/index.d.ts +0 -3
- package/dist/neutral/Payment/Instrument/Card/index.d.ts.map +0 -1
- package/dist/neutral/Payment/Instrument/Schema.d.ts +0 -3
- package/dist/neutral/Payment/Instrument/Schema.d.ts.map +0 -1
- package/dist/neutral/Payment/Instrument/index.d.ts +0 -3
- package/dist/neutral/Payment/Instrument/index.d.ts.map +0 -1
- package/dist/neutral/Payment/Payload.d.ts +0 -36
- package/dist/neutral/Payment/Payload.d.ts.map +0 -1
- package/dist/neutral/Payment/Schema.d.ts +0 -3
- package/dist/neutral/Payment/Schema.d.ts.map +0 -1
- package/dist/neutral/Payment/Status/Payload.d.ts +0 -35
- package/dist/neutral/Payment/Status/Payload.d.ts.map +0 -1
- package/dist/neutral/Payment/Status/Schema.d.ts +0 -3
- package/dist/neutral/Payment/Status/Schema.d.ts.map +0 -1
- package/dist/neutral/Payment/Status/index.d.ts +0 -3
- package/dist/neutral/Payment/Status/index.d.ts.map +0 -1
- package/dist/neutral/Payment/index.d.ts +0 -5
- package/dist/neutral/Payment/index.d.ts.map +0 -1
- package/dist/neutral/Purchase/Payload.d.ts +0 -37
- package/dist/neutral/Purchase/Payload.d.ts.map +0 -1
- package/dist/neutral/Purchase/Schema.d.ts +0 -3
- package/dist/neutral/Purchase/Schema.d.ts.map +0 -1
- package/dist/neutral/Purchase/index.d.ts +0 -3
- package/dist/neutral/Purchase/index.d.ts.map +0 -1
- package/dist/neutral/Receipt/Payload.d.ts +0 -36
- package/dist/neutral/Receipt/Payload.d.ts.map +0 -1
- package/dist/neutral/Receipt/Schema.d.ts +0 -3
- package/dist/neutral/Receipt/Schema.d.ts.map +0 -1
- package/dist/neutral/Receipt/index.d.ts +0 -3
- package/dist/neutral/Receipt/index.d.ts.map +0 -1
- package/dist/neutral/Schema.d.ts +0 -3
- package/dist/neutral/Schema.d.ts.map +0 -1
- package/dist/neutral/Subtotal/Diviner/Config.d.ts +0 -8
- package/dist/neutral/Subtotal/Diviner/Config.d.ts.map +0 -1
- package/dist/neutral/Subtotal/Diviner/Params.d.ts +0 -5
- package/dist/neutral/Subtotal/Diviner/Params.d.ts.map +0 -1
- package/dist/neutral/Subtotal/Diviner/Payload.d.ts +0 -29
- package/dist/neutral/Subtotal/Diviner/Payload.d.ts.map +0 -1
- package/dist/neutral/Subtotal/Diviner/index.d.ts +0 -4
- package/dist/neutral/Subtotal/Diviner/index.d.ts.map +0 -1
- package/dist/neutral/Subtotal/index.d.ts +0 -2
- package/dist/neutral/Subtotal/index.d.ts.map +0 -1
- package/dist/neutral/Total/Diviner/Config.d.ts +0 -18
- package/dist/neutral/Total/Diviner/Config.d.ts.map +0 -1
- package/dist/neutral/Total/Diviner/Params.d.ts +0 -5
- package/dist/neutral/Total/Diviner/Params.d.ts.map +0 -1
- package/dist/neutral/Total/Diviner/Payload.d.ts +0 -29
- package/dist/neutral/Total/Diviner/Payload.d.ts.map +0 -1
- package/dist/neutral/Total/Diviner/index.d.ts +0 -4
- package/dist/neutral/Total/Diviner/index.d.ts.map +0 -1
- package/dist/neutral/Total/index.d.ts +0 -2
- package/dist/neutral/Total/index.d.ts.map +0 -1
- package/dist/neutral/index.d.ts.map +0 -1
|
@@ -1,217 +0,0 @@
|
|
|
1
|
-
import type { Address, Hash } from '@xylabs/hex';
|
|
2
|
-
import type { Payload } from '@xyo-network/payload-model';
|
|
3
|
-
export declare const EscrowTermsSchema: "network.xyo.escrow.terms";
|
|
4
|
-
export type EscrowTermsSchema = typeof EscrowTermsSchema;
|
|
5
|
-
export interface EscrowTermsFields {
|
|
6
|
-
/**
|
|
7
|
-
* The trusted estimators for the worth of the things being sold
|
|
8
|
-
*/
|
|
9
|
-
appraisalAuthorities: Address[];
|
|
10
|
-
/**
|
|
11
|
-
* The estimated worths of the things being sold
|
|
12
|
-
*/
|
|
13
|
-
appraisals: Hash[];
|
|
14
|
-
/**
|
|
15
|
-
* The things being sold
|
|
16
|
-
*/
|
|
17
|
-
assets: Hash[];
|
|
18
|
-
/**
|
|
19
|
-
* The buyer
|
|
20
|
-
*/
|
|
21
|
-
buyer: Address[];
|
|
22
|
-
/**
|
|
23
|
-
* The buyer
|
|
24
|
-
*/
|
|
25
|
-
buyerSecret: Hash;
|
|
26
|
-
/**
|
|
27
|
-
* Any discounts (coupons, vouchers, credits, etc.) to be applied to the escrow
|
|
28
|
-
*/
|
|
29
|
-
discounts: Hash[];
|
|
30
|
-
/**
|
|
31
|
-
* The escrow agent responsible for the escrow
|
|
32
|
-
*/
|
|
33
|
-
escrowAgent: Address;
|
|
34
|
-
/**
|
|
35
|
-
* The time the escrow expires
|
|
36
|
-
*/
|
|
37
|
-
exp: number;
|
|
38
|
-
/**
|
|
39
|
-
* The time the escrow starts
|
|
40
|
-
*/
|
|
41
|
-
nbf: number;
|
|
42
|
-
/**
|
|
43
|
-
* The trusted payment authorities
|
|
44
|
-
*/
|
|
45
|
-
paymentAuthorities: Address[];
|
|
46
|
-
/**
|
|
47
|
-
* The seller
|
|
48
|
-
*/
|
|
49
|
-
seller: Address[];
|
|
50
|
-
/**
|
|
51
|
-
* The seller
|
|
52
|
-
*/
|
|
53
|
-
sellerSecret: Hash;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* The terms of an escrow
|
|
57
|
-
*/
|
|
58
|
-
export type EscrowTerms = Payload<Partial<EscrowTermsFields>, EscrowTermsSchema>;
|
|
59
|
-
/**
|
|
60
|
-
* Identity function for determining if an object is an EscrowTerms
|
|
61
|
-
*/
|
|
62
|
-
export declare const isEscrowTerms: (x?: unknown | null) => x is import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
63
|
-
schema: "network.xyo.escrow.terms";
|
|
64
|
-
appraisalAuthorities?: Lowercase<string>[] | undefined;
|
|
65
|
-
appraisals?: Lowercase<string>[] | undefined;
|
|
66
|
-
assets?: Lowercase<string>[] | undefined;
|
|
67
|
-
buyer?: Lowercase<string>[] | undefined;
|
|
68
|
-
buyerSecret?: Lowercase<string> | undefined;
|
|
69
|
-
discounts?: Lowercase<string>[] | undefined;
|
|
70
|
-
escrowAgent?: Lowercase<string> | undefined;
|
|
71
|
-
exp?: number | undefined;
|
|
72
|
-
nbf?: number | undefined;
|
|
73
|
-
paymentAuthorities?: Lowercase<string>[] | undefined;
|
|
74
|
-
seller?: Lowercase<string>[] | undefined;
|
|
75
|
-
sellerSecret?: Lowercase<string> | undefined;
|
|
76
|
-
}>;
|
|
77
|
-
export declare const asEscrowTerms: {
|
|
78
|
-
<TType extends import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
79
|
-
schema: "network.xyo.escrow.terms";
|
|
80
|
-
appraisalAuthorities?: Lowercase<string>[] | undefined;
|
|
81
|
-
appraisals?: Lowercase<string>[] | undefined;
|
|
82
|
-
assets?: Lowercase<string>[] | undefined;
|
|
83
|
-
buyer?: Lowercase<string>[] | undefined;
|
|
84
|
-
buyerSecret?: Lowercase<string> | undefined;
|
|
85
|
-
discounts?: Lowercase<string>[] | undefined;
|
|
86
|
-
escrowAgent?: Lowercase<string> | undefined;
|
|
87
|
-
exp?: number | undefined;
|
|
88
|
-
nbf?: number | undefined;
|
|
89
|
-
paymentAuthorities?: Lowercase<string>[] | undefined;
|
|
90
|
-
seller?: Lowercase<string>[] | undefined;
|
|
91
|
-
sellerSecret?: Lowercase<string> | undefined;
|
|
92
|
-
}>>(value: import(".store/@xylabs-promise-npm-4.5.1-97d36b712b/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
93
|
-
<TType extends import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
94
|
-
schema: "network.xyo.escrow.terms";
|
|
95
|
-
appraisalAuthorities?: Lowercase<string>[] | undefined;
|
|
96
|
-
appraisals?: Lowercase<string>[] | undefined;
|
|
97
|
-
assets?: Lowercase<string>[] | undefined;
|
|
98
|
-
buyer?: Lowercase<string>[] | undefined;
|
|
99
|
-
buyerSecret?: Lowercase<string> | undefined;
|
|
100
|
-
discounts?: Lowercase<string>[] | undefined;
|
|
101
|
-
escrowAgent?: Lowercase<string> | undefined;
|
|
102
|
-
exp?: number | undefined;
|
|
103
|
-
nbf?: number | undefined;
|
|
104
|
-
paymentAuthorities?: Lowercase<string>[] | undefined;
|
|
105
|
-
seller?: Lowercase<string>[] | undefined;
|
|
106
|
-
sellerSecret?: Lowercase<string> | undefined;
|
|
107
|
-
}>>(value: import(".store/@xylabs-promise-npm-4.5.1-97d36b712b/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
108
|
-
schema: "network.xyo.escrow.terms";
|
|
109
|
-
appraisalAuthorities?: Lowercase<string>[] | undefined;
|
|
110
|
-
appraisals?: Lowercase<string>[] | undefined;
|
|
111
|
-
assets?: Lowercase<string>[] | undefined;
|
|
112
|
-
buyer?: Lowercase<string>[] | undefined;
|
|
113
|
-
buyerSecret?: Lowercase<string> | undefined;
|
|
114
|
-
discounts?: Lowercase<string>[] | undefined;
|
|
115
|
-
escrowAgent?: Lowercase<string> | undefined;
|
|
116
|
-
exp?: number | undefined;
|
|
117
|
-
nbf?: number | undefined;
|
|
118
|
-
paymentAuthorities?: Lowercase<string>[] | undefined;
|
|
119
|
-
seller?: Lowercase<string>[] | undefined;
|
|
120
|
-
sellerSecret?: Lowercase<string> | undefined;
|
|
121
|
-
}>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
|
|
122
|
-
};
|
|
123
|
-
export declare const asOptionalEscrowTerms: <TType extends import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
124
|
-
schema: "network.xyo.escrow.terms";
|
|
125
|
-
appraisalAuthorities?: Lowercase<string>[] | undefined;
|
|
126
|
-
appraisals?: Lowercase<string>[] | undefined;
|
|
127
|
-
assets?: Lowercase<string>[] | undefined;
|
|
128
|
-
buyer?: Lowercase<string>[] | undefined;
|
|
129
|
-
buyerSecret?: Lowercase<string> | undefined;
|
|
130
|
-
discounts?: Lowercase<string>[] | undefined;
|
|
131
|
-
escrowAgent?: Lowercase<string> | undefined;
|
|
132
|
-
exp?: number | undefined;
|
|
133
|
-
nbf?: number | undefined;
|
|
134
|
-
paymentAuthorities?: Lowercase<string>[] | undefined;
|
|
135
|
-
seller?: Lowercase<string>[] | undefined;
|
|
136
|
-
sellerSecret?: Lowercase<string> | undefined;
|
|
137
|
-
}>>(value: import(".store/@xylabs-promise-npm-4.5.1-97d36b712b/package").AnyNonPromise) => TType | undefined;
|
|
138
|
-
/**
|
|
139
|
-
* Identity function for determining if an object is an EscrowTerms with sources
|
|
140
|
-
*/
|
|
141
|
-
export declare const isEscrowTermsWithSources: (x?: unknown | null) => x is import("@xyo-network/payload-model").WithSources<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
142
|
-
schema: "network.xyo.escrow.terms";
|
|
143
|
-
appraisalAuthorities?: Lowercase<string>[] | undefined;
|
|
144
|
-
appraisals?: Lowercase<string>[] | undefined;
|
|
145
|
-
assets?: Lowercase<string>[] | undefined;
|
|
146
|
-
buyer?: Lowercase<string>[] | undefined;
|
|
147
|
-
buyerSecret?: Lowercase<string> | undefined;
|
|
148
|
-
discounts?: Lowercase<string>[] | undefined;
|
|
149
|
-
escrowAgent?: Lowercase<string> | undefined;
|
|
150
|
-
exp?: number | undefined;
|
|
151
|
-
nbf?: number | undefined;
|
|
152
|
-
paymentAuthorities?: Lowercase<string>[] | undefined;
|
|
153
|
-
seller?: Lowercase<string>[] | undefined;
|
|
154
|
-
sellerSecret?: Lowercase<string> | undefined;
|
|
155
|
-
}>>;
|
|
156
|
-
export declare const asEscrowTermsWithSources: {
|
|
157
|
-
<TType extends import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
158
|
-
schema: "network.xyo.escrow.terms";
|
|
159
|
-
appraisalAuthorities?: Lowercase<string>[] | undefined;
|
|
160
|
-
appraisals?: Lowercase<string>[] | undefined;
|
|
161
|
-
assets?: Lowercase<string>[] | undefined;
|
|
162
|
-
buyer?: Lowercase<string>[] | undefined;
|
|
163
|
-
buyerSecret?: Lowercase<string> | undefined;
|
|
164
|
-
discounts?: Lowercase<string>[] | undefined;
|
|
165
|
-
escrowAgent?: Lowercase<string> | undefined;
|
|
166
|
-
exp?: number | undefined;
|
|
167
|
-
nbf?: number | undefined;
|
|
168
|
-
paymentAuthorities?: Lowercase<string>[] | undefined;
|
|
169
|
-
seller?: Lowercase<string>[] | undefined;
|
|
170
|
-
sellerSecret?: Lowercase<string> | undefined;
|
|
171
|
-
}>>(value: import(".store/@xylabs-promise-npm-4.5.1-97d36b712b/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
172
|
-
<TType extends import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
173
|
-
schema: "network.xyo.escrow.terms";
|
|
174
|
-
appraisalAuthorities?: Lowercase<string>[] | undefined;
|
|
175
|
-
appraisals?: Lowercase<string>[] | undefined;
|
|
176
|
-
assets?: Lowercase<string>[] | undefined;
|
|
177
|
-
buyer?: Lowercase<string>[] | undefined;
|
|
178
|
-
buyerSecret?: Lowercase<string> | undefined;
|
|
179
|
-
discounts?: Lowercase<string>[] | undefined;
|
|
180
|
-
escrowAgent?: Lowercase<string> | undefined;
|
|
181
|
-
exp?: number | undefined;
|
|
182
|
-
nbf?: number | undefined;
|
|
183
|
-
paymentAuthorities?: Lowercase<string>[] | undefined;
|
|
184
|
-
seller?: Lowercase<string>[] | undefined;
|
|
185
|
-
sellerSecret?: Lowercase<string> | undefined;
|
|
186
|
-
}>>(value: import(".store/@xylabs-promise-npm-4.5.1-97d36b712b/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
187
|
-
schema: "network.xyo.escrow.terms";
|
|
188
|
-
appraisalAuthorities?: Lowercase<string>[] | undefined;
|
|
189
|
-
appraisals?: Lowercase<string>[] | undefined;
|
|
190
|
-
assets?: Lowercase<string>[] | undefined;
|
|
191
|
-
buyer?: Lowercase<string>[] | undefined;
|
|
192
|
-
buyerSecret?: Lowercase<string> | undefined;
|
|
193
|
-
discounts?: Lowercase<string>[] | undefined;
|
|
194
|
-
escrowAgent?: Lowercase<string> | undefined;
|
|
195
|
-
exp?: number | undefined;
|
|
196
|
-
nbf?: number | undefined;
|
|
197
|
-
paymentAuthorities?: Lowercase<string>[] | undefined;
|
|
198
|
-
seller?: Lowercase<string>[] | undefined;
|
|
199
|
-
sellerSecret?: Lowercase<string> | undefined;
|
|
200
|
-
}>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
|
|
201
|
-
};
|
|
202
|
-
export declare const asOptionalEscrowTermsWithSources: <TType extends import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
203
|
-
schema: "network.xyo.escrow.terms";
|
|
204
|
-
appraisalAuthorities?: Lowercase<string>[] | undefined;
|
|
205
|
-
appraisals?: Lowercase<string>[] | undefined;
|
|
206
|
-
assets?: Lowercase<string>[] | undefined;
|
|
207
|
-
buyer?: Lowercase<string>[] | undefined;
|
|
208
|
-
buyerSecret?: Lowercase<string> | undefined;
|
|
209
|
-
discounts?: Lowercase<string>[] | undefined;
|
|
210
|
-
escrowAgent?: Lowercase<string> | undefined;
|
|
211
|
-
exp?: number | undefined;
|
|
212
|
-
nbf?: number | undefined;
|
|
213
|
-
paymentAuthorities?: Lowercase<string>[] | undefined;
|
|
214
|
-
seller?: Lowercase<string>[] | undefined;
|
|
215
|
-
sellerSecret?: Lowercase<string> | undefined;
|
|
216
|
-
}>>(value: import(".store/@xylabs-promise-npm-4.5.1-97d36b712b/package").AnyNonPromise) => TType | undefined;
|
|
217
|
-
//# sourceMappingURL=Terms.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Terms.d.ts","sourceRoot":"","sources":["../../../../src/Escrow/Terms/Terms.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAEhD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAKzD,eAAO,MAAM,iBAAiB,4BAAmC,CAAA;AACjE,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAA;AAGxD,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,oBAAoB,EAAE,OAAO,EAAE,CAAA;IAC/B;;OAEG;IACH,UAAU,EAAE,IAAI,EAAE,CAAA;IAClB;;OAEG;IACH,MAAM,EAAE,IAAI,EAAE,CAAA;IACd;;OAEG;IACH,KAAK,EAAE,OAAO,EAAE,CAAA;IAChB;;OAEG;IACH,WAAW,EAAE,IAAI,CAAA;IACjB;;OAEG;IACH,SAAS,EAAE,IAAI,EAAE,CAAA;IACjB;;OAEG;IACH,WAAW,EAAE,OAAO,CAAA;IACpB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAA;IACX;;OAEG;IACH,GAAG,EAAE,MAAM,CAAA;IACX;;OAEG;IACH,kBAAkB,EAAE,OAAO,EAAE,CAAA;IAC7B;;OAEG;IACH,MAAM,EAAE,OAAO,EAAE,CAAA;IACjB;;OAEG;IACH,YAAY,EAAE,IAAI,CAAA;CACnB;AAED;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,OAAO,CAAC,iBAAiB,CAAC,EAAE,iBAAiB,CAAC,CAAA;AAEhF;;GAEG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;EAAwD,CAAA;AAClF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;sBApEoE,qDAErF,iCAAiC,gBAEzB;;;;;;;;;;;;;;;sBACa,qDAAiB;;;;;;;;;;;;;;yBAO7C,gBAFc;CA0D+D,CAAA;AAC/E,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;kBAvDO,qDAExC,qCAqD8F,CAAA;AAE/F;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;GAAmE,CAAA;AACxG,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;sBA3EyD,qDAErF,iCAAiC,gBAEzB;;;;;;;;;;;;;;;sBACa,qDAAiB;;;;;;;;;;;;;;yBAO7C,gBAFc;CAiEqF,CAAA;AACrG,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;kBA9DJ,qDAExC,qCA4DoH,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Escrow/Terms/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,kBAAkB,CAAA;AAChC,cAAc,YAAY,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Escrow/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,aAAa,CAAA;AAC3B,cAAc,kBAAkB,CAAA;AAChC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,uBAAuB,CAAA"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { Hash } from '@xylabs/hex';
|
|
2
|
-
import { type HashLeaseEstimate } from '@xyo-network/diviner-hash-lease';
|
|
3
|
-
import type { Payload, WithSources } from '@xyo-network/payload-model';
|
|
4
|
-
import type { EscrowTerms } from '../../Terms/index.ts';
|
|
5
|
-
/**
|
|
6
|
-
* Returns a dictionary of asset hashes and their associated appraisals
|
|
7
|
-
* @param terms The escrow terms
|
|
8
|
-
* @param dictionary The dictionary of payloads associated with the escrow terms
|
|
9
|
-
* @returns A dictionary of asset hashes and their associated appraisals
|
|
10
|
-
*/
|
|
11
|
-
export declare const getAppraisalsByAsset: (terms: EscrowTerms, dictionary: Record<Hash, Payload>) => Record<Hash, WithSources<HashLeaseEstimate>[]>;
|
|
12
|
-
//# sourceMappingURL=getAppraisalsByAsset.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getAppraisalsByAsset.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/util/appraisal/getAppraisalsByAsset.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,KAAK,iBAAiB,EAAkC,MAAM,iCAAiC,CAAA;AACxG,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAEtE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAEvD;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,UAAW,WAAW,cAAc,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,KAAG,MAAM,CAAC,IAAI,EAAE,WAAW,CAAC,iBAAiB,CAAC,EAAE,CAkBzI,CAAA"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { Hash } from '@xylabs/hex';
|
|
2
|
-
import { type BoundWitness } from '@xyo-network/boundwitness-model';
|
|
3
|
-
import type { Payload } from '@xyo-network/payload-model';
|
|
4
|
-
import type { EscrowTerms } from '../../Terms/index.ts';
|
|
5
|
-
/**
|
|
6
|
-
* Returns a dictionary of appraisals and their associated bound witnesses which are signed by
|
|
7
|
-
* valid appraisal authorities from the escrow terms
|
|
8
|
-
* @param terms The escrow terms
|
|
9
|
-
* @param dictionary The diction of payloads associated with the escrow terms
|
|
10
|
-
* @returns A dictionary of appraisals and their associated bound witnesses
|
|
11
|
-
*/
|
|
12
|
-
export declare const getSignaturesByAppraisal: (terms: EscrowTerms, dictionary: Record<Hash, Payload>) => Record<Hash, BoundWitness[]>;
|
|
13
|
-
//# sourceMappingURL=getSignaturesByAppraisal.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getSignaturesByAppraisal.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/util/appraisal/getSignaturesByAppraisal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,KAAK,YAAY,EAAkB,MAAM,iCAAiC,CAAA;AACnF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAEvD;;;;;;GAMG;AACH,eAAO,MAAM,wBAAwB,UAC5B,WAAW,cACN,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,KAChC,MAAM,CAAC,IAAI,EAAE,YAAY,EAAE,CAsB7B,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/util/appraisal/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAA;AACzC,cAAc,+BAA+B,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Escrow/util/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,mBAAmB,CAAA"}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import type { AccountInstance } from '@xyo-network/account-model';
|
|
2
|
-
import type { IdPayload } from '@xyo-network/id-payload-plugin';
|
|
3
|
-
import type { EscrowTerms } from '../../Terms/index.ts';
|
|
4
|
-
/**
|
|
5
|
-
* Creates an escrow intent (for a buyer or seller) using the supplied secret
|
|
6
|
-
* @param terms The payload describing the terms for the escrow
|
|
7
|
-
* @param secret The secret for the escrow principal party to use for the escrow
|
|
8
|
-
* @param account The account to create the escrow intent with
|
|
9
|
-
* @returns The escrow intent
|
|
10
|
-
*/
|
|
11
|
-
export declare const createEscrowIntentWithSecret: (terms: EscrowTerms, secret: IdPayload, account: AccountInstance) => Promise<[import("@xyo-network/boundwitness-model").Signed<import("@xyo-network/boundwitness-model").UnsignedBoundWitness>, import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
12
|
-
[x: string]: string | number | boolean | {
|
|
13
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
14
|
-
} | (string | number | boolean | {
|
|
15
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
16
|
-
} | (string | number | boolean | {
|
|
17
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
18
|
-
} | (string | number | boolean | {
|
|
19
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
20
|
-
} | (string | number | boolean | {
|
|
21
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
22
|
-
} | (string | number | boolean | {
|
|
23
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
24
|
-
} | (string | number | boolean | {
|
|
25
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
26
|
-
} | (string | number | boolean | {
|
|
27
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null;
|
|
28
|
-
} | (string | number | boolean | {
|
|
29
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null;
|
|
30
|
-
} | (string | number | boolean | {
|
|
31
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null;
|
|
32
|
-
} | (string | number | boolean | {
|
|
33
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null;
|
|
34
|
-
} | (string | number | boolean | {
|
|
35
|
-
[x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
|
|
36
|
-
} | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
37
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
38
|
-
}>[], import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
39
|
-
schema: "network.xyo.error.module";
|
|
40
|
-
details?: string | number | boolean | {
|
|
41
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
42
|
-
} | (string | number | boolean | {
|
|
43
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
44
|
-
} | (string | number | boolean | {
|
|
45
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
46
|
-
} | (string | number | boolean | {
|
|
47
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
48
|
-
} | (string | number | boolean | {
|
|
49
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
50
|
-
} | (string | number | boolean | {
|
|
51
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
52
|
-
} | (string | number | boolean | {
|
|
53
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
54
|
-
} | (string | number | boolean | {
|
|
55
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null;
|
|
56
|
-
} | (string | number | boolean | {
|
|
57
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null;
|
|
58
|
-
} | (string | number | boolean | {
|
|
59
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null;
|
|
60
|
-
} | (string | number | boolean | {
|
|
61
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null;
|
|
62
|
-
} | (string | number | boolean | {
|
|
63
|
-
[x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
|
|
64
|
-
} | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null | undefined;
|
|
65
|
-
message?: string | undefined;
|
|
66
|
-
name?: string | undefined;
|
|
67
|
-
query?: import("@xylabs/hex").Hash | undefined;
|
|
68
|
-
}>[]]>;
|
|
69
|
-
//# sourceMappingURL=createEscrowIntent.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createEscrowIntent.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/util/secret/createEscrowIntent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAEjE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAA;AAE/D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAEvD;;;;;;GAMG;AACH,eAAO,MAAM,4BAA4B,UAAiB,WAAW,UAAU,SAAS,WAAW,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAGjH,CAAA"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { Hash } from '@xylabs/hex';
|
|
2
|
-
import { type BoundWitness } from '@xyo-network/boundwitness-model';
|
|
3
|
-
import type { Payload } from '@xyo-network/payload-model';
|
|
4
|
-
import type { EscrowParty, EscrowTerms } from '../../Terms/index.ts';
|
|
5
|
-
/**
|
|
6
|
-
* Returns an array of BoundWitnesses containing the secret signed by all the parties
|
|
7
|
-
* @param terms The escrow terms
|
|
8
|
-
* @param dictionary A dictionary of all the payloads associated with the escrow
|
|
9
|
-
* @param party The party to get the secret signatures for
|
|
10
|
-
* @returns An array of BoundWitnesses containing the secret signed by all the parties
|
|
11
|
-
*/
|
|
12
|
-
export declare const findEscrowPartySecretSignatures: (terms: EscrowTerms, dictionary: Record<Hash, Payload>, party: EscrowParty) => BoundWitness[];
|
|
13
|
-
//# sourceMappingURL=findEscrowPartySecretSignatures.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"findEscrowPartySecretSignatures.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/util/secret/findEscrowPartySecretSignatures.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,KAAK,YAAY,EAAkB,MAAM,iCAAiC,CAAA;AACnF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEzD,OAAO,KAAK,EACV,WAAW,EAAqB,WAAW,EAC5C,MAAM,sBAAsB,CAAA;AAW7B;;;;;;GAMG;AACH,eAAO,MAAM,+BAA+B,UAAW,WAAW,cAAc,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,SAAS,WAAW,KAAG,YAAY,EAqBvI,CAAA"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { IdPayload } from '@xyo-network/id-payload-plugin';
|
|
2
|
-
/**
|
|
3
|
-
* Returns a cryptographically random secret to use for escrow
|
|
4
|
-
* @returns The escrow secret
|
|
5
|
-
*/
|
|
6
|
-
export declare const getEscrowSecret: () => IdPayload;
|
|
7
|
-
//# sourceMappingURL=getEscrowSecret.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getEscrowSecret.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/util/secret/getEscrowSecret.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAA;AAG/D;;;GAGG;AACH,eAAO,MAAM,eAAe,QAAO,SAElC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/util/secret/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,sCAAsC,CAAA;AACpD,cAAc,sBAAsB,CAAA;AACpC,cAAc,kCAAkC,CAAA"}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import type { AccountInstance } from '@xyo-network/account-model';
|
|
2
|
-
import type { IdPayload } from '@xyo-network/id-payload-plugin';
|
|
3
|
-
import type { EscrowParty, EscrowTerms } from '../../Terms/index.ts';
|
|
4
|
-
/**
|
|
5
|
-
* Creates an escrow intent (for a buyer or seller) using the supplied secret
|
|
6
|
-
* @param terms The payload describing the terms for the escrow
|
|
7
|
-
* @param escrowParty The party in the escrow transaction
|
|
8
|
-
* @param account The account(s) to create the escrow intent with
|
|
9
|
-
* @param secret The secret for the escrow principal party to use for the escrow. If
|
|
10
|
-
* not provided, a cryptographically random secret will be generated.
|
|
11
|
-
* @returns The escrow intent
|
|
12
|
-
*/
|
|
13
|
-
export declare const updateEscrowTermsWithSecret: (terms: EscrowTerms, escrowParty: EscrowParty, account: AccountInstance | AccountInstance[], secret?: IdPayload) => Promise<[import("@xyo-network/boundwitness-model").Signed<import("@xyo-network/boundwitness-model").UnsignedBoundWitness>, import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
14
|
-
[x: string]: string | number | boolean | {
|
|
15
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
16
|
-
} | (string | number | boolean | {
|
|
17
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
18
|
-
} | (string | number | boolean | {
|
|
19
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
20
|
-
} | (string | number | boolean | {
|
|
21
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
22
|
-
} | (string | number | boolean | {
|
|
23
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
24
|
-
} | (string | number | boolean | {
|
|
25
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
26
|
-
} | (string | number | boolean | {
|
|
27
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
28
|
-
} | (string | number | boolean | {
|
|
29
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null;
|
|
30
|
-
} | (string | number | boolean | {
|
|
31
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null;
|
|
32
|
-
} | (string | number | boolean | {
|
|
33
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null;
|
|
34
|
-
} | (string | number | boolean | {
|
|
35
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null;
|
|
36
|
-
} | (string | number | boolean | {
|
|
37
|
-
[x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
|
|
38
|
-
} | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
39
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
40
|
-
}>[], import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
41
|
-
schema: "network.xyo.error.module";
|
|
42
|
-
details?: string | number | boolean | {
|
|
43
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
44
|
-
} | (string | number | boolean | {
|
|
45
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
46
|
-
} | (string | number | boolean | {
|
|
47
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
48
|
-
} | (string | number | boolean | {
|
|
49
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
50
|
-
} | (string | number | boolean | {
|
|
51
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
52
|
-
} | (string | number | boolean | {
|
|
53
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
54
|
-
} | (string | number | boolean | {
|
|
55
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
56
|
-
} | (string | number | boolean | {
|
|
57
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null;
|
|
58
|
-
} | (string | number | boolean | {
|
|
59
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null;
|
|
60
|
-
} | (string | number | boolean | {
|
|
61
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null;
|
|
62
|
-
} | (string | number | boolean | {
|
|
63
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null;
|
|
64
|
-
} | (string | number | boolean | {
|
|
65
|
-
[x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
|
|
66
|
-
} | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null | undefined;
|
|
67
|
-
message?: string | undefined;
|
|
68
|
-
name?: string | undefined;
|
|
69
|
-
query?: import("@xylabs/hex").Hash | undefined;
|
|
70
|
-
}>[]]>;
|
|
71
|
-
//# sourceMappingURL=updateEscrowTermsWithSecret.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"updateEscrowTermsWithSecret.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/util/secret/updateEscrowTermsWithSecret.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAEjE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAA;AAG/D,OAAO,KAAK,EACV,WAAW,EAAqB,WAAW,EAC5C,MAAM,sBAAsB,CAAA;AAG7B;;;;;;;;GAQG;AACH,eAAO,MAAM,2BAA2B,UAC/B,WAAW,eACL,WAAW,WACf,eAAe,GAAG,eAAe,EAAE,WACnC,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAanB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/Escrow/validators/common/ModuleInstanceValidators/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAA"}
|
package/dist/neutral/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { ModuleIdentifier } from '@xyo-network/module-model';
|
|
2
|
-
import type { PayloadValueExpression } from '@xyo-network/payload-model';
|
|
3
|
-
import type { EscrowTerms } from '../../../Terms/index.ts';
|
|
4
|
-
/**
|
|
5
|
-
* Checks if property value of the escrow terms contains one of the valid moduleIdentifiers
|
|
6
|
-
* @param escrowTerms The escrow terms to validate
|
|
7
|
-
* @param propertyExpression The selector to get the property containing the moduleIdentifier(s) from the escrow terms
|
|
8
|
-
* @param moduleIdentifiers The list of allowed moduleIdentifiers
|
|
9
|
-
* @param required Is the property required to be present
|
|
10
|
-
* @returns True if the property value contains one of the valid moduleIdentifiers
|
|
11
|
-
*/
|
|
12
|
-
export declare const moduleIdentifiersContainsOneOf: (escrowTerms: EscrowTerms, propertyExpression: PayloadValueExpression<EscrowTerms, "appraisalAuthorities" | "buyer" | "escrowAgent" | "paymentAuthorities" | "seller">, moduleIdentifiers: ModuleIdentifier[], required?: boolean) => boolean;
|
|
13
|
-
/**
|
|
14
|
-
* Checks if property value of the escrow terms contains all of the valid moduleIdentifiers
|
|
15
|
-
* @param escrowTerms The escrow terms to validate
|
|
16
|
-
* @param selector The selector to get the property containing the moduleIdentifier(s) from the escrow terms
|
|
17
|
-
* @param moduleIdentifiers The list of allowed moduleIdentifiers
|
|
18
|
-
* @param required Is the property required to be present
|
|
19
|
-
* @returns True if the property value contains all of the valid moduleIdentifiers
|
|
20
|
-
*/
|
|
21
|
-
export declare const moduleIdentifiersContainsAllOf: (escrowTerms: EscrowTerms, selector: PayloadValueExpression<EscrowTerms, "appraisalAuthorities" | "buyer" | "escrowAgent" | "paymentAuthorities" | "seller">, moduleIdentifiers: ModuleIdentifier[], required?: boolean) => boolean;
|
|
22
|
-
//# sourceMappingURL=moduleInstanceValidators.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"moduleInstanceValidators.d.ts","sourceRoot":"","sources":["../../../../../../src/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AACjE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAA;AAExE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAE1D;;;;;;;GAOG;AACH,eAAO,MAAM,8BAA8B,gBAC5B,WAAW,sBACJ,sBAAsB,CAAC,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,sBAAsB,CAAC,WAAW,EAAE,sBAAsB,GAAG,OAAO,GAAG,aAAa,GAAG,oBAAoB,GAAG,QAAQ,CAAC,qBAC9G,gBAAgB,EAAE,aAC3B,OAAO,YAQlB,CAAA"}
|
package/dist/neutral/Escrow/validators/common/SecretValidators/getPartySecretSignedValidator.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { Hash } from '@xylabs/hex';
|
|
2
|
-
import type { AsyncPayloadValidationFunction, Payload } from '@xyo-network/payload-model';
|
|
3
|
-
import type { EscrowParty, EscrowTerms } from '../../../Terms/index.ts';
|
|
4
|
-
/**
|
|
5
|
-
* Returns a function that validates the escrow terms for the existence of the party secret signed by the party
|
|
6
|
-
* @param dictionary Payload dictionary of the escrow terms
|
|
7
|
-
* @returns A function that validates the escrow terms for the existence of the party secret signed by the party
|
|
8
|
-
*/
|
|
9
|
-
export declare const getPartySecretSignedValidator: (dictionary: Record<Hash, Payload>, party: EscrowParty) => AsyncPayloadValidationFunction<EscrowTerms>;
|
|
10
|
-
//# sourceMappingURL=getPartySecretSignedValidator.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getPartySecretSignedValidator.d.ts","sourceRoot":"","sources":["../../../../../../src/Escrow/validators/common/SecretValidators/getPartySecretSignedValidator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAEvC,OAAO,KAAK,EAAE,8BAA8B,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEzF,OAAO,KAAK,EACV,WAAW,EAAqB,WAAW,EAC5C,MAAM,yBAAyB,CAAA;AAahC;;;;GAIG;AACH,eAAO,MAAM,6BAA6B,eAAgB,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,SAAS,WAAW,KAAG,8BAA8B,CAAC,WAAW,CAqB/I,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/Escrow/validators/common/SecretValidators/index.ts"],"names":[],"mappings":"AAAA,cAAc,oCAAoC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/Escrow/validators/common/TemporalValidators/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAA"}
|
package/dist/neutral/Escrow/validators/common/TemporalValidators/validateWithinWindow.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validateWithinWindow.d.ts","sourceRoot":"","sources":["../../../../../../src/Escrow/validators/common/TemporalValidators/validateWithinWindow.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG;IAAE,GAAG,CAAC,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,CAAA;AAErD,eAAO,MAAM,oBAAoB,UAAW,QAAQ,OAAO,MAAM,QAAO,MAAM,KAAgB,OAI7F,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAA;AACnD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,+BAA+B,CAAA"}
|