@xyo-network/payment-payload-plugins 3.4.2 → 3.4.4
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.mjs.map +1 -1
- package/dist/types/Amount/Iso4217Currency.d.ts +14 -0
- package/dist/types/Amount/Iso4217Currency.d.ts.map +1 -0
- package/dist/types/Amount/Payload.d.ts +31 -0
- package/dist/types/Amount/Payload.d.ts.map +1 -0
- package/dist/types/Amount/index.d.ts +3 -0
- package/dist/types/Amount/index.d.ts.map +1 -0
- package/dist/types/Billing/Address/Address.d.ts +48 -0
- package/dist/types/Billing/Address/Address.d.ts.map +1 -0
- package/dist/types/Billing/Address/Schema.d.ts +3 -0
- package/dist/types/Billing/Address/Schema.d.ts.map +1 -0
- package/dist/types/Billing/Address/index.d.ts +3 -0
- package/dist/types/Billing/Address/index.d.ts.map +1 -0
- package/dist/types/Billing/Schema.d.ts +3 -0
- package/dist/types/Billing/Schema.d.ts.map +1 -0
- package/dist/types/Billing/index.d.ts +3 -0
- package/dist/types/Billing/index.d.ts.map +1 -0
- package/dist/types/Currency.d.ts +2 -0
- package/dist/types/Currency.d.ts.map +1 -0
- package/dist/types/Discount/Config.d.ts +23 -0
- package/dist/types/Discount/Config.d.ts.map +1 -0
- package/dist/types/Discount/Params.d.ts +11 -0
- package/dist/types/Discount/Params.d.ts.map +1 -0
- package/dist/types/Discount/Payload/Coupon/Conditions/AppraisalAmountCondition.d.ts +8 -0
- package/dist/types/Discount/Payload/Coupon/Conditions/AppraisalAmountCondition.d.ts.map +1 -0
- package/dist/types/Discount/Payload/Coupon/Conditions/AssetQuantityCondition.d.ts +8 -0
- package/dist/types/Discount/Payload/Coupon/Conditions/AssetQuantityCondition.d.ts.map +1 -0
- package/dist/types/Discount/Payload/Coupon/Conditions/BuyerCondition.d.ts +34 -0
- package/dist/types/Discount/Payload/Coupon/Conditions/BuyerCondition.d.ts.map +1 -0
- package/dist/types/Discount/Payload/Coupon/Conditions/index.d.ts +4 -0
- package/dist/types/Discount/Payload/Coupon/Conditions/index.d.ts.map +1 -0
- package/dist/types/Discount/Payload/Coupon/Coupons/FixedAmount.d.ts +30 -0
- package/dist/types/Discount/Payload/Coupon/Coupons/FixedAmount.d.ts.map +1 -0
- package/dist/types/Discount/Payload/Coupon/Coupons/FixedPercentage.d.ts +30 -0
- package/dist/types/Discount/Payload/Coupon/Coupons/FixedPercentage.d.ts.map +1 -0
- package/dist/types/Discount/Payload/Coupon/Coupons/FixedPrice.d.ts +30 -0
- package/dist/types/Discount/Payload/Coupon/Coupons/FixedPrice.d.ts.map +1 -0
- package/dist/types/Discount/Payload/Coupon/Coupons/index.d.ts +4 -0
- package/dist/types/Discount/Payload/Coupon/Coupons/index.d.ts.map +1 -0
- package/dist/types/Discount/Payload/Coupon/Payload.d.ts +22 -0
- package/dist/types/Discount/Payload/Coupon/Payload.d.ts.map +1 -0
- package/dist/types/Discount/Payload/Coupon/Schema.d.ts +3 -0
- package/dist/types/Discount/Payload/Coupon/Schema.d.ts.map +1 -0
- package/dist/types/Discount/Payload/Coupon/index.d.ts +6 -0
- package/dist/types/Discount/Payload/Coupon/index.d.ts.map +1 -0
- package/dist/types/Discount/Payload/Coupon/types/Condition.d.ts +22 -0
- package/dist/types/Discount/Payload/Coupon/types/Condition.d.ts.map +1 -0
- package/dist/types/Discount/Payload/Coupon/types/CouponFields.d.ts +16 -0
- package/dist/types/Discount/Payload/Coupon/types/CouponFields.d.ts.map +1 -0
- package/dist/types/Discount/Payload/Coupon/types/index.d.ts +4 -0
- package/dist/types/Discount/Payload/Coupon/types/index.d.ts.map +1 -0
- package/dist/types/Discount/Payload/Coupon/types/isStackable.d.ts +5 -0
- package/dist/types/Discount/Payload/Coupon/types/isStackable.d.ts.map +1 -0
- package/dist/types/Discount/Payload/Discount.d.ts +29 -0
- package/dist/types/Discount/Payload/Discount.d.ts.map +1 -0
- package/dist/types/Discount/Payload/NoDiscount.d.ts +3 -0
- package/dist/types/Discount/Payload/NoDiscount.d.ts.map +1 -0
- package/dist/types/Discount/Payload/index.d.ts +4 -0
- package/dist/types/Discount/Payload/index.d.ts.map +1 -0
- package/dist/types/Discount/index.d.ts +4 -0
- package/dist/types/Discount/index.d.ts.map +1 -0
- package/dist/types/Escrow/Outcome.d.ts +32 -0
- package/dist/types/Escrow/Outcome.d.ts.map +1 -0
- package/dist/types/Escrow/Schema.d.ts +3 -0
- package/dist/types/Escrow/Schema.d.ts.map +1 -0
- package/dist/types/Escrow/Terms/Party.d.ts +6 -0
- package/dist/types/Escrow/Terms/Party.d.ts.map +1 -0
- package/dist/types/Escrow/Terms/PartySecret.d.ts +6 -0
- package/dist/types/Escrow/Terms/PartySecret.d.ts.map +1 -0
- package/dist/types/Escrow/Terms/Terms.d.ts +77 -0
- package/dist/types/Escrow/Terms/Terms.d.ts.map +1 -0
- package/dist/types/Escrow/Terms/index.d.ts +4 -0
- package/dist/types/Escrow/Terms/index.d.ts.map +1 -0
- package/dist/types/Escrow/index.d.ts +6 -0
- package/dist/types/Escrow/index.d.ts.map +1 -0
- package/dist/types/Escrow/util/appraisal/getAppraisalsByAsset.d.ts +12 -0
- package/dist/types/Escrow/util/appraisal/getAppraisalsByAsset.d.ts.map +1 -0
- package/dist/types/Escrow/util/appraisal/getSignaturesByAppraisal.d.ts +13 -0
- package/dist/types/Escrow/util/appraisal/getSignaturesByAppraisal.d.ts.map +1 -0
- package/dist/types/Escrow/util/appraisal/index.d.ts +3 -0
- package/dist/types/Escrow/util/appraisal/index.d.ts.map +1 -0
- package/dist/types/Escrow/util/index.d.ts +3 -0
- package/dist/types/Escrow/util/index.d.ts.map +1 -0
- package/dist/types/Escrow/util/secret/createEscrowIntent.d.ts +12 -0
- package/dist/types/Escrow/util/secret/createEscrowIntent.d.ts.map +1 -0
- package/dist/types/Escrow/util/secret/findEscrowPartySecretSignatures.d.ts +13 -0
- package/dist/types/Escrow/util/secret/findEscrowPartySecretSignatures.d.ts.map +1 -0
- package/dist/types/Escrow/util/secret/getEscrowSecret.d.ts +7 -0
- package/dist/types/Escrow/util/secret/getEscrowSecret.d.ts.map +1 -0
- package/dist/types/Escrow/util/secret/index.d.ts +5 -0
- package/dist/types/Escrow/util/secret/index.d.ts.map +1 -0
- package/dist/types/Escrow/util/secret/updateEscrowTermsWithSecret.d.ts +14 -0
- package/dist/types/Escrow/util/secret/updateEscrowTermsWithSecret.d.ts.map +1 -0
- package/dist/types/Escrow/validators/common/ModuleInstanceValidators/index.d.ts +2 -0
- package/dist/types/Escrow/validators/common/ModuleInstanceValidators/index.d.ts.map +1 -0
- package/dist/types/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.ts +22 -0
- package/dist/types/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.ts.map +1 -0
- package/dist/types/Escrow/validators/common/SecretValidators/getPartySecretSignedValidator.d.ts +10 -0
- package/dist/types/Escrow/validators/common/SecretValidators/getPartySecretSignedValidator.d.ts.map +1 -0
- package/dist/types/Escrow/validators/common/SecretValidators/index.d.ts +2 -0
- package/dist/types/Escrow/validators/common/SecretValidators/index.d.ts.map +1 -0
- package/dist/types/Escrow/validators/common/TemporalValidators/index.d.ts +2 -0
- package/dist/types/Escrow/validators/common/TemporalValidators/index.d.ts.map +1 -0
- package/dist/types/Escrow/validators/common/TemporalValidators/validateWithinWindow.d.ts +6 -0
- package/dist/types/Escrow/validators/common/TemporalValidators/validateWithinWindow.d.ts.map +1 -0
- package/dist/types/Escrow/validators/common/index.d.ts +4 -0
- package/dist/types/Escrow/validators/common/index.d.ts.map +1 -0
- package/dist/types/Escrow/validators/escrow/agent.d.ts +5 -0
- package/dist/types/Escrow/validators/escrow/agent.d.ts.map +1 -0
- package/dist/types/Escrow/validators/escrow/appraisal.d.ts +29 -0
- package/dist/types/Escrow/validators/escrow/appraisal.d.ts.map +1 -0
- package/dist/types/Escrow/validators/escrow/appraisalAuthorities.d.ts +10 -0
- package/dist/types/Escrow/validators/escrow/appraisalAuthorities.d.ts.map +1 -0
- package/dist/types/Escrow/validators/escrow/assets.d.ts +8 -0
- package/dist/types/Escrow/validators/escrow/assets.d.ts.map +1 -0
- package/dist/types/Escrow/validators/escrow/buyer.d.ts +8 -0
- package/dist/types/Escrow/validators/escrow/buyer.d.ts.map +1 -0
- package/dist/types/Escrow/validators/escrow/buyerSecret.d.ts +21 -0
- package/dist/types/Escrow/validators/escrow/buyerSecret.d.ts.map +1 -0
- package/dist/types/Escrow/validators/escrow/index.d.ts +11 -0
- package/dist/types/Escrow/validators/escrow/index.d.ts.map +1 -0
- package/dist/types/Escrow/validators/escrow/nbfExp.d.ts +4 -0
- package/dist/types/Escrow/validators/escrow/nbfExp.d.ts.map +1 -0
- package/dist/types/Escrow/validators/escrow/paymentAuthorities.d.ts +5 -0
- package/dist/types/Escrow/validators/escrow/paymentAuthorities.d.ts.map +1 -0
- package/dist/types/Escrow/validators/escrow/seller.d.ts +8 -0
- package/dist/types/Escrow/validators/escrow/seller.d.ts.map +1 -0
- package/dist/types/Escrow/validators/escrow/sellerSecret.d.ts +21 -0
- package/dist/types/Escrow/validators/escrow/sellerSecret.d.ts.map +1 -0
- package/dist/types/Escrow/validators/index.d.ts +3 -0
- package/dist/types/Escrow/validators/index.d.ts.map +1 -0
- package/dist/types/Invoice/Invoice.d.ts +17 -0
- package/dist/types/Invoice/Invoice.d.ts.map +1 -0
- package/dist/types/Invoice/index.d.ts +2 -0
- package/dist/types/Invoice/index.d.ts.map +1 -0
- package/dist/types/Payment/Instrument/Card/Payload.d.ts +50 -0
- package/dist/types/Payment/Instrument/Card/Payload.d.ts.map +1 -0
- package/dist/types/Payment/Instrument/Card/Schema.d.ts +3 -0
- package/dist/types/Payment/Instrument/Card/Schema.d.ts.map +1 -0
- package/dist/types/Payment/Instrument/Card/index.d.ts +3 -0
- package/dist/types/Payment/Instrument/Card/index.d.ts.map +1 -0
- package/dist/types/Payment/Instrument/Schema.d.ts +3 -0
- package/dist/types/Payment/Instrument/Schema.d.ts.map +1 -0
- package/dist/types/Payment/Instrument/index.d.ts +3 -0
- package/dist/types/Payment/Instrument/index.d.ts.map +1 -0
- package/dist/types/Payment/Payload.d.ts +36 -0
- package/dist/types/Payment/Payload.d.ts.map +1 -0
- package/dist/types/Payment/Schema.d.ts +3 -0
- package/dist/types/Payment/Schema.d.ts.map +1 -0
- package/dist/types/Payment/Status/Payload.d.ts +35 -0
- package/dist/types/Payment/Status/Payload.d.ts.map +1 -0
- package/dist/types/Payment/Status/Schema.d.ts +3 -0
- package/dist/types/Payment/Status/Schema.d.ts.map +1 -0
- package/dist/types/Payment/Status/index.d.ts +3 -0
- package/dist/types/Payment/Status/index.d.ts.map +1 -0
- package/dist/types/Payment/index.d.ts +5 -0
- package/dist/types/Payment/index.d.ts.map +1 -0
- package/dist/types/Purchase/Payload.d.ts +37 -0
- package/dist/types/Purchase/Payload.d.ts.map +1 -0
- package/dist/types/Purchase/Schema.d.ts +3 -0
- package/dist/types/Purchase/Schema.d.ts.map +1 -0
- package/dist/types/Purchase/index.d.ts +3 -0
- package/dist/types/Purchase/index.d.ts.map +1 -0
- package/dist/types/Receipt/Payload.d.ts +36 -0
- package/dist/types/Receipt/Payload.d.ts.map +1 -0
- package/dist/types/Receipt/Schema.d.ts +3 -0
- package/dist/types/Receipt/Schema.d.ts.map +1 -0
- package/dist/types/Receipt/index.d.ts +3 -0
- package/dist/types/Receipt/index.d.ts.map +1 -0
- package/dist/types/Schema.d.ts +3 -0
- package/dist/types/Schema.d.ts.map +1 -0
- package/dist/types/Subtotal/Diviner/Config.d.ts +8 -0
- package/dist/types/Subtotal/Diviner/Config.d.ts.map +1 -0
- package/dist/types/Subtotal/Diviner/Params.d.ts +5 -0
- package/dist/types/Subtotal/Diviner/Params.d.ts.map +1 -0
- package/dist/types/Subtotal/Diviner/Payload.d.ts +29 -0
- package/dist/types/Subtotal/Diviner/Payload.d.ts.map +1 -0
- package/dist/types/Subtotal/Diviner/index.d.ts +4 -0
- package/dist/types/Subtotal/Diviner/index.d.ts.map +1 -0
- package/dist/types/Subtotal/index.d.ts +2 -0
- package/dist/types/Subtotal/index.d.ts.map +1 -0
- package/dist/types/Total/Diviner/Config.d.ts +18 -0
- package/dist/types/Total/Diviner/Config.d.ts.map +1 -0
- package/dist/types/Total/Diviner/Params.d.ts +5 -0
- package/dist/types/Total/Diviner/Params.d.ts.map +1 -0
- package/dist/types/Total/Diviner/Payload.d.ts +29 -0
- package/dist/types/Total/Diviner/Payload.d.ts.map +1 -0
- package/dist/types/Total/Diviner/index.d.ts +4 -0
- package/dist/types/Total/Diviner/index.d.ts.map +1 -0
- package/dist/types/Total/index.d.ts +2 -0
- package/dist/types/Total/index.d.ts.map +1 -0
- package/dist/types/index.d.ts +12 -0
- package/dist/types/index.d.ts.map +1 -0
- package/package.json +26 -26
- package/src/Discount/Payload/Coupon/Coupons/FixedAmount.ts +2 -2
- package/src/Discount/Payload/Coupon/Coupons/FixedPercentage.ts +2 -4
- package/src/Discount/Payload/Coupon/Coupons/FixedPrice.ts +2 -2
- package/src/Discount/Payload/Coupon/Payload.ts +3 -1
- package/src/Discount/Payload/Coupon/types/Condition.ts +2 -1
- package/src/Discount/Payload/Discount.ts +2 -2
- package/src/Escrow/util/appraisal/getAppraisalsByAsset.ts +2 -1
- package/src/Escrow/util/appraisal/getSignaturesByAppraisal.ts +2 -1
- package/src/Escrow/util/secret/createEscrowIntent.ts +2 -2
- package/src/Escrow/util/secret/findEscrowPartySecretSignatures.ts +2 -1
- package/src/Escrow/validators/escrow/appraisal.ts +2 -1
- package/dist/neutral/index.d.ts +0 -561
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import type { Payload, WithSources } from '@xyo-network/payload-model';
|
|
2
|
+
import { BillingAddressSchema } from './Schema.ts';
|
|
3
|
+
/**
|
|
4
|
+
* The fields describing a billing address.
|
|
5
|
+
*/
|
|
6
|
+
export interface BillingAddressFields {
|
|
7
|
+
/** Street address line 1. */
|
|
8
|
+
address?: string;
|
|
9
|
+
/** Street address line 2. */
|
|
10
|
+
address2?: string | null;
|
|
11
|
+
/** City of the billing address. */
|
|
12
|
+
city?: string;
|
|
13
|
+
/** Country code of the billing address, ISO 3166-1 alpha-2 code. */
|
|
14
|
+
country?: string;
|
|
15
|
+
/** First name */
|
|
16
|
+
firstName: string;
|
|
17
|
+
/** Last name */
|
|
18
|
+
lastName: string;
|
|
19
|
+
/** Organization or company name associated with the billing address. */
|
|
20
|
+
organization?: string | null;
|
|
21
|
+
/** Postal or ZIP code of the billing address. */
|
|
22
|
+
postalCode?: string;
|
|
23
|
+
/** State or region of the billing address. */
|
|
24
|
+
region?: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* A BillingAddress Payload
|
|
28
|
+
*/
|
|
29
|
+
export type BillingAddress = Payload<BillingAddressFields, BillingAddressSchema>;
|
|
30
|
+
/**
|
|
31
|
+
* Identity function for determine if an object is a BillingAddress
|
|
32
|
+
*/
|
|
33
|
+
export declare const isBillingAddress: (x?: unknown | null) => x is BillingAddress;
|
|
34
|
+
export declare const asBillingAddress: {
|
|
35
|
+
<TType extends BillingAddress>(value: import(".store/@xylabs-promise-npm-4.6.0-2effcc0872/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
36
|
+
<TType extends BillingAddress>(value: import(".store/@xylabs-promise-npm-4.6.0-2effcc0872/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<BillingAddress>, config?: import("@xylabs/object" /** Country code of the billing address, ISO 3166-1 alpha-2 code. */).TypeCheckConfig): TType;
|
|
37
|
+
};
|
|
38
|
+
export declare const asOptionalBillingAddress: <TType extends BillingAddress>(value: import(".store/@xylabs-promise-npm-4.6.0-2effcc0872/package").AnyNonPromise) => TType | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* Identity function for determine if an object is a BillingAddress with sources
|
|
41
|
+
*/
|
|
42
|
+
export declare const isBillingAddressWithSources: (x?: unknown | null) => x is WithSources<BillingAddress>;
|
|
43
|
+
export declare const asBillingAddressWithSources: {
|
|
44
|
+
<TType extends WithSources<BillingAddress>>(value: import(".store/@xylabs-promise-npm-4.6.0-2effcc0872/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
45
|
+
<TType extends WithSources<BillingAddress>>(value: import(".store/@xylabs-promise-npm-4.6.0-2effcc0872/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<WithSources<BillingAddress>>, config?: import("@xylabs/object" /** Country code of the billing address, ISO 3166-1 alpha-2 code. */).TypeCheckConfig): TType;
|
|
46
|
+
};
|
|
47
|
+
export declare const asOptionalBillingAddressWithSources: <TType extends WithSources<BillingAddress>>(value: import(".store/@xylabs-promise-npm-4.6.0-2effcc0872/package").AnyNonPromise) => TType | undefined;
|
|
48
|
+
//# sourceMappingURL=Address.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Address.d.ts","sourceRoot":"","sources":["../../../../src/Billing/Address/Address.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAGtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAElD;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,6BAA6B;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,6BAA6B;IAC7B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,mCAAmC;IACnC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,oEAAoE;IACpE,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,iBAAiB;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,gBAAgB;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB,wEAAwE;IACxE,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B,iDAAiD;IACjD,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,8CAA8C;IAC9C,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,CAAC,oBAAoB,EAAE,oBAAoB,CAAC,CAAA;AAEhF;;GAEG;AACH,eAAO,MAAM,gBAAgB,6CAA8D,CAAA;AAC3F,eAAO,MAAM,gBAAgB;iDAnCD,qDAAiB,iCAGvB,gBAAoB;iDAIxC,qDAAgB,yGAGkB,gBAElC,CAAA,oEAAoE;CAuBkB,CAAA;AACxF,eAAO,MAAM,wBAAwB,+CApB1B,qDACH,qCAmBgG,CAAA;AAExG;;GAEG;AACH,eAAO,MAAM,2BAA2B,0DAAyE,CAAA;AACjH,eAAO,MAAM,2BAA2B;8DA1CZ,qDAAiB,iCAGvB,gBAAoB;8DAIxC,qDAAgB,sHAGkB,gBAElC,CAAA,oEAAoE;CA8BqD,CAAA;AAC3H,eAAO,MAAM,mCAAmC,4DA3BrC,qDACH,qCA0BmI,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../../src/Billing/Address/Schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB,yCAA6B,CAAA;AAC9D,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Billing/Address/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,aAAa,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../src/Billing/Schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,iCAA8B,CAAA;AACxD,MAAM,MAAM,aAAa,GAAG,OAAO,aAAa,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Billing/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,aAAa,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Currency.d.ts","sourceRoot":"","sources":["../../src/Currency.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { Address } from '@xylabs/hex';
|
|
2
|
+
import type { DivinerConfig } from '@xyo-network/diviner-model';
|
|
3
|
+
import type { ModuleIdentifier } from '@xyo-network/module-model';
|
|
4
|
+
export declare const PaymentDiscountDivinerConfigSchema = "network.xyo.diviner.payments.discount.config";
|
|
5
|
+
export type PaymentDiscountDivinerConfigSchema = typeof PaymentDiscountDivinerConfigSchema;
|
|
6
|
+
/**
|
|
7
|
+
* The configuration for the Payment Discount Diviner
|
|
8
|
+
*/
|
|
9
|
+
export type PaymentDiscountDivinerConfig = DivinerConfig<{
|
|
10
|
+
/**
|
|
11
|
+
* The boundwitness diviner used to query for payloads
|
|
12
|
+
*/
|
|
13
|
+
boundWitnessDiviner?: ModuleIdentifier;
|
|
14
|
+
/**
|
|
15
|
+
* The list of coupon authorities that can be used to get a discount
|
|
16
|
+
*/
|
|
17
|
+
couponAuthorities?: Address[];
|
|
18
|
+
/**
|
|
19
|
+
* The Diviner that can be used to determine the subtotal to apply discounts to
|
|
20
|
+
*/
|
|
21
|
+
paymentSubtotalDiviner?: ModuleIdentifier;
|
|
22
|
+
}, PaymentDiscountDivinerConfigSchema>;
|
|
23
|
+
//# sourceMappingURL=Config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../../src/Discount/Config.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC/D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAEjE,eAAO,MAAM,kCAAkC,iDAAiD,CAAA;AAChG,MAAM,MAAM,kCAAkC,GAAG,OAAO,kCAAkC,CAAA;AAE1F;;GAEG;AACH,MAAM,MAAM,4BAA4B,GAAG,aAAa,CACtD;IACE;;OAEG;IACH,mBAAmB,CAAC,EAAE,gBAAgB,CAAA;IACtC;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,EAAE,CAAA;IAO7B;;OAEG;IACH,sBAAsB,CAAC,EAAE,gBAAgB,CAAA;CAC1C,EACD,kCAAkC,CACnC,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Address } from '@xylabs/hex';
|
|
2
|
+
import type { DivinerParams } from '@xyo-network/diviner-model';
|
|
3
|
+
import type { AnyConfigSchema } from '@xyo-network/module-model';
|
|
4
|
+
import type { PaymentDiscountDivinerConfig } from './Config.ts';
|
|
5
|
+
export type PaymentDiscountDivinerParams<TConfig extends AnyConfigSchema<PaymentDiscountDivinerConfig> = AnyConfigSchema<PaymentDiscountDivinerConfig>> = DivinerParams<TConfig, {
|
|
6
|
+
/**
|
|
7
|
+
* The list of coupon authorities that can be used to get a discount
|
|
8
|
+
*/
|
|
9
|
+
couponAuthorities?: Address[];
|
|
10
|
+
}>;
|
|
11
|
+
//# sourceMappingURL=Params.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../../src/Discount/Params.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC/D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAEhE,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,aAAa,CAAA;AAE/D,MAAM,MAAM,4BAA4B,CACtC,OAAO,SAAS,eAAe,CAAC,4BAA4B,CAAC,GAAG,eAAe,CAAC,4BAA4B,CAAC,IAC3G,aAAa,CAAC,OAAO,EAAE;IACzB;;SAEK;IACL,iBAAiB,CAAC,EAAE,OAAO,EAAE,CAAA;CAC9B,CAAC,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Condition } from '../types/index.ts';
|
|
2
|
+
/**
|
|
3
|
+
* Creates a coupon condition that requires an appraisal amount below a certain value
|
|
4
|
+
* @param maximumAppraisalAmount The maximum appraisal amount
|
|
5
|
+
* @returns A condition that requires an appraisal amount below a certain value
|
|
6
|
+
*/
|
|
7
|
+
export declare const createConditionForMaximumAppraisalAmount: (maximumAppraisalAmount: number) => Condition;
|
|
8
|
+
//# sourceMappingURL=AppraisalAmountCondition.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppraisalAmountCondition.d.ts","sourceRoot":"","sources":["../../../../../../src/Discount/Payload/Coupon/Conditions/AppraisalAmountCondition.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAElD;;;;GAIG;AACH,eAAO,MAAM,wCAAwC,GAAI,wBAAwB,MAAM,KAAG,SAgCzF,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Condition } from '../types/index.ts';
|
|
2
|
+
/**
|
|
3
|
+
* Returns a coupon condition that requires a minimum quantity of assets
|
|
4
|
+
* @param minimumAssetQuantity The minimum quantity of assets required
|
|
5
|
+
* @returns A condition that requires a minimum quantity of assets
|
|
6
|
+
*/
|
|
7
|
+
export declare const createConditionForMinimumAssetQuantity: (minimumAssetQuantity: number) => Condition;
|
|
8
|
+
//# sourceMappingURL=AssetQuantityCondition.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AssetQuantityCondition.d.ts","sourceRoot":"","sources":["../../../../../../src/Discount/Payload/Coupon/Conditions/AssetQuantityCondition.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAElD;;;;GAIG;AACH,eAAO,MAAM,sCAAsC,GAAI,sBAAsB,MAAM,KAAG,SAerF,CAAA"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { Address } from '@xylabs/hex';
|
|
2
|
+
import { SchemaSchema } from '@xyo-network/schema-payload-plugin';
|
|
3
|
+
import type { Condition } from '../types/index.ts';
|
|
4
|
+
export type BuyerCondition = Condition & {
|
|
5
|
+
definition: {
|
|
6
|
+
contains: {
|
|
7
|
+
properties: {
|
|
8
|
+
buyer: {
|
|
9
|
+
items: {
|
|
10
|
+
const: Address;
|
|
11
|
+
type: 'string';
|
|
12
|
+
};
|
|
13
|
+
minItems: 1;
|
|
14
|
+
type: 'array';
|
|
15
|
+
};
|
|
16
|
+
schema: {
|
|
17
|
+
const: 'network.xyo.escrow.terms';
|
|
18
|
+
type: 'string';
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
required: ['schema', 'buyer'];
|
|
22
|
+
type: 'object';
|
|
23
|
+
};
|
|
24
|
+
type: 'array';
|
|
25
|
+
};
|
|
26
|
+
schema: SchemaSchema;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Creates a coupon condition that requires a specific buyer
|
|
30
|
+
* @param buyer The buyer's address
|
|
31
|
+
* @returns A coupon condition that requires a specific buyer
|
|
32
|
+
*/
|
|
33
|
+
export declare const createConditionForRequiredBuyer: (buyer: Address) => BuyerCondition;
|
|
34
|
+
//# sourceMappingURL=BuyerCondition.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BuyerCondition.d.ts","sourceRoot":"","sources":["../../../../../../src/Discount/Payload/Coupon/Conditions/BuyerCondition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAA;AAEjE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAElD,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG;IACvC,UAAU,EAAE;QACV,QAAQ,EAAE;YACR,UAAU,EAAE;gBACV,KAAK,EAAE;oBACL,KAAK,EAAE;wBACL,KAAK,EAAE,OAAO,CAAA;wBACd,IAAI,EAAE,QAAQ,CAAA;qBACf,CAAA;oBACD,QAAQ,EAAE,CAAC,CAAA;oBACX,IAAI,EAAE,OAAO,CAAA;iBACd,CAAA;gBACD,MAAM,EAAE;oBAAE,KAAK,EAAE,0BAA0B,CAAC;oBAAC,IAAI,EAAE,QAAQ,CAAA;iBAAE,CAAA;aAC9D,CAAA;YACD,QAAQ,EAAE,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAA;YAC7B,IAAI,EAAE,QAAQ,CAAA;SACf,CAAA;QACD,IAAI,EAAE,OAAO,CAAA;KACd,CAAA;IACD,MAAM,EAAE,YAAY,CAAA;CACrB,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,+BAA+B,GAAI,OAAO,OAAO,KAAG,cAiBhE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/Discount/Payload/Coupon/Conditions/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAA;AAC7C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,qBAAqB,CAAA"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { Payload, WithSources } from '@xyo-network/payload-model';
|
|
2
|
+
import type { AmountFields } from '../../../../Amount/index.ts';
|
|
3
|
+
import type { CouponFields } from '../types/index.ts';
|
|
4
|
+
export declare const FixedAmountCouponSchema: "network.xyo.payments.coupon.fixed.amount";
|
|
5
|
+
export type FixedAmountCouponSchema = typeof FixedAmountCouponSchema;
|
|
6
|
+
export interface FixedAmountCouponFields extends CouponFields, AmountFields {
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* A coupon that provides a fixed discount amount
|
|
10
|
+
*/
|
|
11
|
+
export type FixedAmountCoupon = Payload<FixedAmountCouponFields, FixedAmountCouponSchema>;
|
|
12
|
+
/**
|
|
13
|
+
* Identity function for determining if an object is an FixedAmountCoupon
|
|
14
|
+
*/
|
|
15
|
+
export declare const isFixedAmountCoupon: (x?: unknown | null) => x is FixedAmountCoupon;
|
|
16
|
+
export declare const asFixedAmountCoupon: {
|
|
17
|
+
<TType extends FixedAmountCoupon>(value: import(".store/@xylabs-promise-npm-4.6.0-2effcc0872/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
18
|
+
<TType extends FixedAmountCoupon>(value: import(".store/@xylabs-promise-npm-4.6.0-2effcc0872/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<FixedAmountCoupon>, config?: import("@xylabs/object").TypeCheckConfig): TType;
|
|
19
|
+
};
|
|
20
|
+
export declare const asOptionalFixedAmountCoupon: <TType extends FixedAmountCoupon>(value: import(".store/@xylabs-promise-npm-4.6.0-2effcc0872/package").AnyNonPromise) => TType | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* Identity function for determining if an object is an FixedAmountCoupon with sources
|
|
23
|
+
*/
|
|
24
|
+
export declare const isFixedAmountCouponWithSources: (x?: unknown | null) => x is WithSources<WithSources<FixedAmountCoupon>>;
|
|
25
|
+
export declare const asFixedAmountCouponWithSources: {
|
|
26
|
+
<TType extends WithSources<FixedAmountCoupon>>(value: import(".store/@xylabs-promise-npm-4.6.0-2effcc0872/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
27
|
+
<TType extends WithSources<FixedAmountCoupon>>(value: import(".store/@xylabs-promise-npm-4.6.0-2effcc0872/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<WithSources<FixedAmountCoupon>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
|
|
28
|
+
};
|
|
29
|
+
export declare const asOptionalFixedAmountCouponWithSources: <TType extends WithSources<FixedAmountCoupon>>(value: import(".store/@xylabs-promise-npm-4.6.0-2effcc0872/package").AnyNonPromise) => TType | undefined;
|
|
30
|
+
//# sourceMappingURL=FixedAmount.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FixedAmount.d.ts","sourceRoot":"","sources":["../../../../../../src/Discount/Payload/Coupon/Coupons/FixedAmount.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAMtE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAE/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAErD,eAAO,MAAM,uBAAuB,4CAA0C,CAAA;AAC9E,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAA;AAEpE,MAAM,WAAW,uBAAwB,SAAQ,YAAY,EAAE,YAAY;CAAG;AAE9E;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,uBAAuB,EAAE,uBAAuB,CAAC,CAAA;AAEzF;;GAEG;AACH,eAAO,MAAM,mBAAmB,gDAAoE,CAAA;AACpG,eAAO,MAAM,mBAAmB;oDAlBT,qDAAiB,iCAC/B,gBAAoB;oDAGpB,qDAAiB,4GACiB,gBAAoB;CAakC,CAAA;AACjG,eAAO,MAAM,2BAA2B,kDATO,qDAErC,qCAOuG,CAAA;AAEjH;;EAEE;AACF,eAAO,MAAM,8BAA8B,0EAA4F,CAAA;AACvI,eAAO,MAAM,8BAA8B;iEAzBpB,qDAAiB,iCAC/B,gBAAoB;iEAGpB,qDAAiB,yHACiB,gBAAoB;CAoBqE,CAAA;AACpI,eAAO,MAAM,sCAAsC,+DAhBJ,qDAErC,qCAc0I,CAAA"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { Payload, WithSources } from '@xyo-network/payload-model';
|
|
2
|
+
import type { CouponFields } from '../types/index.ts';
|
|
3
|
+
export declare const FixedPercentageCouponSchema: "network.xyo.payments.coupon.fixed.percentage";
|
|
4
|
+
export type FixedPercentageCouponSchema = typeof FixedPercentageCouponSchema;
|
|
5
|
+
export interface FixedPercentageCouponFields extends CouponFields {
|
|
6
|
+
percentage: number;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* A coupon that provides a fixed discount amount
|
|
10
|
+
*/
|
|
11
|
+
export type FixedPercentageCoupon = Payload<FixedPercentageCouponFields, FixedPercentageCouponSchema>;
|
|
12
|
+
/**
|
|
13
|
+
* Identity function for determining if an object is an FixedPercentageCoupon
|
|
14
|
+
*/
|
|
15
|
+
export declare const isFixedPercentageCoupon: (x?: unknown | null) => x is FixedPercentageCoupon;
|
|
16
|
+
export declare const asFixedPercentageCoupon: {
|
|
17
|
+
<TType extends FixedPercentageCoupon>(value: import(".store/@xylabs-promise-npm-4.6.0-2effcc0872/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
18
|
+
<TType extends FixedPercentageCoupon>(value: import(".store/@xylabs-promise-npm-4.6.0-2effcc0872/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<FixedPercentageCoupon>, config?: import("@xylabs/object").TypeCheckConfig): TType;
|
|
19
|
+
};
|
|
20
|
+
export declare const asOptionalFixedPercentageCoupon: <TType extends FixedPercentageCoupon>(value: import(".store/@xylabs-promise-npm-4.6.0-2effcc0872/package").AnyNonPromise) => TType | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* Identity function for determining if an object is an FixedPercentageCoupon with sources
|
|
23
|
+
*/
|
|
24
|
+
export declare const isFixedPercentageCouponWithSources: (x?: unknown | null) => x is WithSources<WithSources<FixedPercentageCoupon>>;
|
|
25
|
+
export declare const asFixedPercentageCouponWithSources: {
|
|
26
|
+
<TType extends WithSources<FixedPercentageCoupon>>(value: import(".store/@xylabs-promise-npm-4.6.0-2effcc0872/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
27
|
+
<TType extends WithSources<FixedPercentageCoupon>>(value: import(".store/@xylabs-promise-npm-4.6.0-2effcc0872/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<WithSources<FixedPercentageCoupon>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
|
|
28
|
+
};
|
|
29
|
+
export declare const asOptionalFixedPercentageCouponWithSources: <TType extends WithSources<FixedPercentageCoupon>>(value: import(".store/@xylabs-promise-npm-4.6.0-2effcc0872/package").AnyNonPromise) => TType | undefined;
|
|
30
|
+
//# sourceMappingURL=FixedPercentage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FixedPercentage.d.ts","sourceRoot":"","sources":["../../../../../../src/Discount/Payload/Coupon/Coupons/FixedPercentage.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAOtE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAErD,eAAO,MAAM,2BAA2B,gDAA8C,CAAA;AACtF,MAAM,MAAM,2BAA2B,GAAG,OAAO,2BAA2B,CAAA;AAE5E,MAAM,WAAW,2BAA4B,SAAQ,YAAY;IAC/D,UAAU,EAAE,MAAM,CAAA;CACnB;AAED;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,OAAO,CAAC,2BAA2B,EAAE,2BAA2B,CAAC,CAAA;AAErG;;GAEG;AACH,eAAO,MAAM,uBAAuB,oDAA4E,CAAA;AAChH,eAAO,MAAM,uBAAuB;wDAnBZ,qDAAgB,iCACX,gBAAoB;wDAEwB,qDACtE,gHAEkB,gBAAoB;CAaoE,CAAA;AAC7G,eAAO,MAAM,+BAA+B,sDAPf,qDAAiB,qCAO+E,CAAA;AAE7H;;EAEE;AACF,eAAO,MAAM,kCAAkC,8EAAoG,CAAA;AACnJ,eAAO,MAAM,kCAAkC;qEA1BvB,qDAAgB,iCACX,gBAAoB;qEAEwB,qDACtE,6HAEkB,gBAAoB;CAoBuG,CAAA;AAChJ,eAAO,MAAM,0CAA0C,mEAd1B,qDAAiB,qCAckH,CAAA"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { Payload, WithSources } from '@xyo-network/payload-model';
|
|
2
|
+
import type { AmountFields } from '../../../../Amount/index.ts';
|
|
3
|
+
import type { CouponFields } from '../types/index.ts';
|
|
4
|
+
export declare const FixedPriceCouponSchema: "network.xyo.payments.coupon.fixed.price";
|
|
5
|
+
export type FixedPriceCouponSchema = typeof FixedPriceCouponSchema;
|
|
6
|
+
export interface FixedPriceCouponFields extends CouponFields, AmountFields {
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* A coupon that provides a fixed total price
|
|
10
|
+
*/
|
|
11
|
+
export type FixedPriceCoupon = Payload<FixedPriceCouponFields, FixedPriceCouponSchema>;
|
|
12
|
+
/**
|
|
13
|
+
* Identity function for determining if an object is an FixedPriceCoupon
|
|
14
|
+
*/
|
|
15
|
+
export declare const isFixedPriceCoupon: (x?: unknown | null) => x is FixedPriceCoupon;
|
|
16
|
+
export declare const asFixedPriceCoupon: {
|
|
17
|
+
<TType extends FixedPriceCoupon>(value: import(".store/@xylabs-promise-npm-4.6.0-2effcc0872/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
18
|
+
<TType extends FixedPriceCoupon>(value: import(".store/@xylabs-promise-npm-4.6.0-2effcc0872/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<FixedPriceCoupon>, config?: import("@xylabs/object").TypeCheckConfig): TType;
|
|
19
|
+
};
|
|
20
|
+
export declare const asOptionalFixedPriceCoupon: <TType extends FixedPriceCoupon>(value: import(".store/@xylabs-promise-npm-4.6.0-2effcc0872/package").AnyNonPromise) => TType | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* Identity function for determining if an object is an FixedPriceCoupon with sources
|
|
23
|
+
*/
|
|
24
|
+
export declare const isFixedPriceCouponWithSources: (x?: unknown | null) => x is WithSources<WithSources<FixedPriceCoupon>>;
|
|
25
|
+
export declare const asFixedPriceCouponWithSources: {
|
|
26
|
+
<TType extends WithSources<FixedPriceCoupon>>(value: import(".store/@xylabs-promise-npm-4.6.0-2effcc0872/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
27
|
+
<TType extends WithSources<FixedPriceCoupon>>(value: import(".store/@xylabs-promise-npm-4.6.0-2effcc0872/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<WithSources<FixedPriceCoupon>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
|
|
28
|
+
};
|
|
29
|
+
export declare const asOptionalFixedPriceCouponWithSources: <TType extends WithSources<FixedPriceCoupon>>(value: import(".store/@xylabs-promise-npm-4.6.0-2effcc0872/package").AnyNonPromise) => TType | undefined;
|
|
30
|
+
//# sourceMappingURL=FixedPrice.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FixedPrice.d.ts","sourceRoot":"","sources":["../../../../../../src/Discount/Payload/Coupon/Coupons/FixedPrice.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAMtE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAE/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAErD,eAAO,MAAM,sBAAsB,2CAAyC,CAAA;AAC5E,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAA;AAElE,MAAM,WAAW,sBAAuB,SAAQ,YAAY,EAAE,YAAY;CAAI;AAE9E;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAC,sBAAsB,EAAE,sBAAsB,CAAC,CAAA;AAEtF;;GAEG;AACH,eAAO,MAAM,kBAAkB,+CAAkE,CAAA;AACjG,eAAO,MAAM,kBAAkB;mDAlBR,qDAAiB,iCAC/B,gBAAoB;mDAGpB,qDAAiB,2GACmB,gBAAoB;CAa6B,CAAA;AAC9F,eAAO,MAAM,0BAA0B,iDAPtC,qDAAiB,qCAO4F,CAAA;AAE9G;;EAEE;AACF,eAAO,MAAM,6BAA6B,yEAA0F,CAAA;AACpI,eAAO,MAAM,6BAA6B;gEAzBnB,qDAAiB,iCAC/B,gBAAoB;gEAGpB,qDAAiB,wHACmB,gBAAoB;CAoBgE,CAAA;AACjI,eAAO,MAAM,qCAAqC,8DAdjD,qDAAiB,qCAc+H,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/Discount/Payload/Coupon/Coupons/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,sBAAsB,CAAA;AACpC,cAAc,iBAAiB,CAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { FixedAmountCoupon, FixedPercentageCoupon, FixedPriceCoupon } from './Coupons/index.ts';
|
|
2
|
+
/**
|
|
3
|
+
* The type of coupons
|
|
4
|
+
*/
|
|
5
|
+
export type Coupon = FixedAmountCoupon | FixedPercentageCoupon | FixedPriceCoupon;
|
|
6
|
+
/**
|
|
7
|
+
* Identity function for determining if an object is an Coupon
|
|
8
|
+
*/
|
|
9
|
+
export declare const isCoupon: (x?: unknown | null) => x is FixedAmountCoupon | FixedPercentageCoupon | FixedPriceCoupon;
|
|
10
|
+
export declare const asCoupon: {
|
|
11
|
+
<TType extends FixedAmountCoupon | FixedPercentageCoupon | FixedPriceCoupon>(value: import(".store/@xylabs-promise-npm-4.6.0-2effcc0872/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
12
|
+
<TType extends FixedAmountCoupon | FixedPercentageCoupon | FixedPriceCoupon>(value: import(".store/@xylabs-promise-npm-4.6.0-2effcc0872/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<FixedAmountCoupon | FixedPercentageCoupon | FixedPriceCoupon>, config?: import("@xylabs/object").TypeCheckConfig): TType;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Identity function for determining if an object is an Coupon with sources
|
|
16
|
+
*/
|
|
17
|
+
export declare const isCouponWithSources: (x?: unknown | null) => x is import("@xyo-network/payload-model").WithSources<import("@xyo-network/payload-model").WithSources<FixedAmountCoupon>> | import("@xyo-network/payload-model").WithSources<import("@xyo-network/payload-model").WithSources<FixedPercentageCoupon>> | import("@xyo-network/payload-model").WithSources<import("@xyo-network/payload-model").WithSources<FixedPriceCoupon>>;
|
|
18
|
+
export declare const asCouponWithSources: {
|
|
19
|
+
<TType extends import("@xyo-network/payload-model").WithSources<import("@xyo-network/payload-model").WithSources<FixedAmountCoupon>> | import("@xyo-network/payload-model").WithSources<import("@xyo-network/payload-model").WithSources<FixedPercentageCoupon>> | import("@xyo-network/payload-model").WithSources<import("@xyo-network/payload-model").WithSources<FixedPriceCoupon>>>(value: import(".store/@xylabs-promise-npm-4.6.0-2effcc0872/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
20
|
+
<TType extends import("@xyo-network/payload-model").WithSources<import("@xyo-network/payload-model").WithSources<FixedAmountCoupon>> | import("@xyo-network/payload-model").WithSources<import("@xyo-network/payload-model").WithSources<FixedPercentageCoupon>> | import("@xyo-network/payload-model").WithSources<import("@xyo-network/payload-model").WithSources<FixedPriceCoupon>>>(value: import(".store/@xylabs-promise-npm-4.6.0-2effcc0872/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<import("@xyo-network/payload-model").WithSources<import("@xyo-network/payload-model").WithSources<FixedAmountCoupon>> | import("@xyo-network/payload-model").WithSources<import("@xyo-network/payload-model").WithSources<FixedPercentageCoupon>> | import("@xyo-network/payload-model").WithSources<import("@xyo-network/payload-model").WithSources<FixedPriceCoupon>>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=Payload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../../../../src/Discount/Payload/Coupon/Payload.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,iBAAiB,EAAE,qBAAqB,EAAE,gBAAgB,EAC3D,MAAM,oBAAoB,CAAA;AAQ3B;;GAEG;AACH,MAAM,MAAM,MAAM,GAChB,iBAAiB,GACf,qBAAqB,GACrB,gBAAgB,CAAA;AAEpB;;GAEG;AACH,eAAO,MAAM,QAAQ,GAAI,IAAI,OAAO,GAAG,IAAI,sEAGjB,CAAA;AAC1B,eAAO,MAAM,QAAQ;+FApBd,qDAAiB,iCACL,gBACF;+FAMd,qDAAiB,uJAMG,gBAAoB;CAMa,CAAA;AAExD;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAAI,IAAI,OAAO,GAAG,IAAI,kXAGjB,CAAA;AACrC,eAAO,MAAM,mBAAmB;2YA7BzB,qDAAiB,iCACL,gBACF;2YAMd,qDAAiB,mcAMG,gBAAoB;CAemC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../../../src/Discount/Payload/Coupon/Schema.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,EAAG,6BAAsC,CAAA;AAClE,MAAM,MAAM,YAAY,GAAG,OAAO,YAAY,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/Discount/Payload/Coupon/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA;AACrC,cAAc,oBAAoB,CAAA;AAClC,cAAc,cAAc,CAAA;AAC5B,cAAc,aAAa,CAAA;AAC3B,cAAc,kBAAkB,CAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { SchemaPayload } from '@xyo-network/schema-payload-plugin';
|
|
2
|
+
/**
|
|
3
|
+
* The payloads that can be used as conditions for a coupon
|
|
4
|
+
*/
|
|
5
|
+
export type Condition = SchemaPayload;
|
|
6
|
+
/**
|
|
7
|
+
* Identity function for determining if an object is a Condition payload
|
|
8
|
+
*/
|
|
9
|
+
export declare const isCondition: (x?: unknown | null) => x is SchemaPayload;
|
|
10
|
+
export declare const asCondition: {
|
|
11
|
+
<TType extends SchemaPayload>(value: import(".store/@xylabs-promise-npm-4.6.0-2effcc0872/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
12
|
+
<TType extends SchemaPayload>(value: import(".store/@xylabs-promise-npm-4.6.0-2effcc0872/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<SchemaPayload>, config?: import("@xylabs/object").TypeCheckConfig): TType;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Identity function for determining if an object is a Condition payload with sources
|
|
16
|
+
*/
|
|
17
|
+
export declare const isConditionWithSources: (x?: unknown | null) => x is import("@xyo-network/payload-model").WithSources<SchemaPayload>;
|
|
18
|
+
export declare const asConditionWithSources: {
|
|
19
|
+
<TType extends import("@xyo-network/payload-model").WithSources<SchemaPayload>>(value: import(".store/@xylabs-promise-npm-4.6.0-2effcc0872/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
20
|
+
<TType extends import("@xyo-network/payload-model").WithSources<SchemaPayload>>(value: import(".store/@xylabs-promise-npm-4.6.0-2effcc0872/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<import("@xyo-network/payload-model").WithSources<SchemaPayload>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=Condition.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Condition.d.ts","sourceRoot":"","sources":["../../../../../../src/Discount/Payload/Coupon/types/Condition.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAA;AAGvE;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,aAAa,CAAA;AAErC;;GAEG;AACH,eAAO,MAAM,WAAW,4CAAiD,CAAA;AACzE,eAAO,MAAM,WAAW;gDAXK,qDAAgB,iCAGtC,gBAAoB;gDAK1B,qDAAe,wGAEmB,gBAAoB;CACO,CAAA;AAE9D;;EAEE;AACF,eAAO,MAAM,sBAAsB,8FAA4D,CAAA;AAC/F,eAAO,MAAM,sBAAsB;kGAjBN,qDAAgB,iCAGtC,gBAAoB;kGAK1B,qDAAe,0JAEmB,gBAAoB;CAO6B,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Hash } from '@xylabs/hex';
|
|
2
|
+
import type { DurationFields } from '@xyo-network/xns-record-payload-plugins';
|
|
3
|
+
/**
|
|
4
|
+
* The fields that are common across all coupons
|
|
5
|
+
*/
|
|
6
|
+
export interface CouponFields extends DurationFields {
|
|
7
|
+
/**
|
|
8
|
+
* The conditions that must be met in order for this coupon to be applied
|
|
9
|
+
*/
|
|
10
|
+
conditions?: Hash[];
|
|
11
|
+
/**
|
|
12
|
+
* Whether or not this discount can be stacked with other discounts
|
|
13
|
+
*/
|
|
14
|
+
stackable?: boolean;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=CouponFields.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CouponFields.d.ts","sourceRoot":"","sources":["../../../../../../src/Discount/Payload/Coupon/types/CouponFields.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAA;AAE7E;;GAEG;AACH,MAAM,WAAW,YAAa,SAAQ,cAAc;IAClD;;OAEG;IACH,UAAU,CAAC,EAAE,IAAI,EAAE,CAAA;IACnB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/Discount/Payload/Coupon/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,mBAAmB,CAAA;AACjC,cAAc,kBAAkB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isStackable.d.ts","sourceRoot":"","sources":["../../../../../../src/Discount/Payload/Coupon/types/isStackable.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,MAAM,WAAW,GAAI,IAAI,OAAO,GAAG,IAAI,wBAA2D,CAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { Payload, WithSources } from '@xyo-network/payload-model';
|
|
2
|
+
import type { AmountFields } from '../../Amount/index.ts';
|
|
3
|
+
export declare const DiscountSchema: "network.xyo.payments.discount";
|
|
4
|
+
export type DiscountSchema = typeof DiscountSchema;
|
|
5
|
+
export interface DiscountFields extends AmountFields {
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The result of a discount
|
|
9
|
+
*/
|
|
10
|
+
export type Discount = Payload<DiscountFields, DiscountSchema>;
|
|
11
|
+
/**
|
|
12
|
+
* Identity function for determining if an object is an Discount
|
|
13
|
+
*/
|
|
14
|
+
export declare const isDiscount: (x?: unknown | null) => x is Discount;
|
|
15
|
+
export declare const asDiscount: {
|
|
16
|
+
<TType extends Discount>(value: import(".store/@xylabs-promise-npm-4.6.0-2effcc0872/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
17
|
+
<TType extends Discount>(value: import(".store/@xylabs-promise-npm-4.6.0-2effcc0872/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<Discount>, config?: import("@xylabs/object").TypeCheckConfig): TType;
|
|
18
|
+
};
|
|
19
|
+
export declare const asOptionalDiscount: <TType extends Discount>(value: import(".store/@xylabs-promise-npm-4.6.0-2effcc0872/package").AnyNonPromise) => TType | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* Identity function for determining if an object is an Discount with sources
|
|
22
|
+
*/
|
|
23
|
+
export declare const isDiscountWithSources: (x?: unknown | null) => x is WithSources<Discount>;
|
|
24
|
+
export declare const asDiscountWithSources: {
|
|
25
|
+
<TType extends WithSources<Discount>>(value: import(".store/@xylabs-promise-npm-4.6.0-2effcc0872/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
26
|
+
<TType extends WithSources<Discount>>(value: import(".store/@xylabs-promise-npm-4.6.0-2effcc0872/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<WithSources<Discount>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
|
|
27
|
+
};
|
|
28
|
+
export declare const asOptionalDiscountWithSources: <TType extends WithSources<Discount>>(value: import(".store/@xylabs-promise-npm-4.6.0-2effcc0872/package").AnyNonPromise) => TType | undefined;
|
|
29
|
+
//# sourceMappingURL=Discount.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Discount.d.ts","sourceRoot":"","sources":["../../../../src/Discount/Payload/Discount.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAMtE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEzD,eAAO,MAAM,cAAc,EAAG,+BAAwC,CAAA;AACtE,MAAM,MAAM,cAAc,GAAG,OAAO,cAAc,CAAA;AAElD,MAAM,WAAW,cAAe,SAAQ,YAAY;CAAI;AAExD;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,OAAO,CAAC,cAAc,EAAE,cAAc,CAAC,CAAA;AAE9D;;GAEG;AACH,eAAO,MAAM,UAAU,uCAAkD,CAAA;AACzE,eAAO,MAAM,UAAU;2CAhBA,qDAAiB,iCAE1B,gBAAoB;2CACQ,qDAEnC,mGAKE,gBAAoB;CAMyC,CAAA;AACtE,eAAO,MAAM,kBAAkB,yCAFD,qDAAiB,qCAEuC,CAAA;AAEtF;;GAEG;AACH,eAAO,MAAM,qBAAqB,oDAA6D,CAAA;AAC/F,eAAO,MAAM,qBAAqB;wDAvBX,qDAAiB,iCAE1B,gBAAoB;wDACQ,qDAEnC,gHAKE,gBAAoB;CAa4E,CAAA;AACzG,eAAO,MAAM,6BAA6B,sDATZ,qDAAiB,qCAS0E,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NoDiscount.d.ts","sourceRoot":"","sources":["../../../../src/Discount/Payload/NoDiscount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAG7C,eAAO,MAAM,WAAW,EAAE,QAIzB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Discount/Payload/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,eAAe,CAAA;AAC7B,cAAc,iBAAiB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Discount/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,oBAAoB,CAAA"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { Hash } from '@xylabs/hex';
|
|
2
|
+
import type { PayloadWithSources, WithSources } from '@xyo-network/payload-model';
|
|
3
|
+
export declare const EscrowOutcomeSchema: "network.xyo.escrow.outcome";
|
|
4
|
+
export type EscrowOutcomeSchema = typeof EscrowOutcomeSchema;
|
|
5
|
+
/**
|
|
6
|
+
* The possible outcomes for an escrow
|
|
7
|
+
*/
|
|
8
|
+
export type EscrowOutcomes = 'fulfilled' | 'expired';
|
|
9
|
+
export interface EscrowOutcomeFields {
|
|
10
|
+
outcome: EscrowOutcomes;
|
|
11
|
+
terms: Hash;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* The terms of an escrow
|
|
15
|
+
*/
|
|
16
|
+
export type EscrowOutcome = PayloadWithSources<EscrowOutcomeFields, EscrowOutcomeSchema>;
|
|
17
|
+
/**
|
|
18
|
+
* Identity function for determining if an object is an EscrowOutcome
|
|
19
|
+
*/
|
|
20
|
+
export declare const isEscrowOutcome: (x?: unknown | null) => x is EscrowOutcome;
|
|
21
|
+
export declare const asEscrowOutcome: {
|
|
22
|
+
<TType extends EscrowOutcome>(value: import(".store/@xylabs-promise-npm-4.6.0-2effcc0872/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
23
|
+
<TType extends EscrowOutcome>(value: import(".store/@xylabs-promise-npm-4.6.0-2effcc0872/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<EscrowOutcome>, config?: import("@xylabs/object").TypeCheckConfig): TType;
|
|
24
|
+
};
|
|
25
|
+
export declare const asOptionalEscrowOutcome: <TType extends EscrowOutcome>(value: import(".store/@xylabs-promise-npm-4.6.0-2effcc0872/package").AnyNonPromise) => TType | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* Identity function for determining if an object is an EscrowOutcome with sources
|
|
28
|
+
*/
|
|
29
|
+
export declare const isEscrowOutcomeWithSources: (x?: unknown | null) => x is WithSources<EscrowOutcome>;
|
|
30
|
+
export declare const asEscrowOutcomeWithSources: <TType extends WithSources<EscrowOutcome>>(value: import(".store/@xylabs-promise-npm-4.6.0-2effcc0872/package").AnyNonPromise) => TType | undefined;
|
|
31
|
+
export declare const asOptionalEscrowOutcomeWithSources: <TType extends WithSources<EscrowOutcome>>(value: import(".store/@xylabs-promise-npm-4.6.0-2effcc0872/package").AnyNonPromise) => TType | undefined;
|
|
32
|
+
//# sourceMappingURL=Outcome.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Outcome.d.ts","sourceRoot":"","sources":["../../../src/Escrow/Outcome.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAEvC,OAAO,KAAK,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAQjF,eAAO,MAAM,mBAAmB,8BAAqC,CAAA;AACrE,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAA;AAE5D;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,WAAW,GAAG,SAAS,CAAA;AAEpD,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,cAAc,CAAA;IACvB,KAAK,EAAE,IAAI,CAAA;CACZ;AAED;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,kBAAkB,CAAC,mBAAmB,EAAE,mBAAmB,CAAC,CAAA;AAExF;;GAEG;AACH,eAAO,MAAM,eAAe,4CAA4D,CAAA;AACxF,eAAO,MAAM,eAAe;gDA1BnB,qDAAiB,iCAEJ,gBAAoB;gDAGnC,qDAAiB,wGAKZ,gBAAmB;CAgBsD,CAAA;AACrF,eAAO,MAAM,uBAAuB,8CAT7B,qDAAgB,qCAS8E,CAAA;AAErG;;GAEG;AACH,eAAO,MAAM,0BAA0B,yDAAuE,CAAA;AAC9G,eAAO,MAAM,0BAA0B,2DAfhC,qDAAgB,qCAeyG,CAAA;AAChI,eAAO,MAAM,kCAAkC,2DAhBxC,qDAAgB,qCAgBiH,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../src/Escrow/Schema.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,uBAAuB,CAAA;AAChD,MAAM,MAAM,YAAY,GAAG,OAAO,YAAY,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Party.d.ts","sourceRoot":"","sources":["../../../../src/Escrow/Terms/Party.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAEnD;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,IAAI,CAAC,iBAAiB,EAAE,OAAO,GAAG,QAAQ,CAAC,CAAA"}
|