@xyo-network/payment-payload-plugins 6.0.1 → 6.0.3
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/Amount/Payload.d.ts +2 -2
- package/dist/neutral/Amount/Payload.d.ts.map +1 -1
- package/dist/neutral/Billing/Address/Address.d.ts +2 -2
- package/dist/neutral/Billing/Address/Address.d.ts.map +1 -1
- package/dist/neutral/Discount/Config.d.ts +2 -3
- package/dist/neutral/Discount/Config.d.ts.map +1 -1
- package/dist/neutral/Discount/Params.d.ts +2 -3
- package/dist/neutral/Discount/Params.d.ts.map +1 -1
- package/dist/neutral/Discount/Payload/Coupon/Conditions/BuyerCondition.d.ts +3 -3
- package/dist/neutral/Discount/Payload/Coupon/Conditions/BuyerCondition.d.ts.map +1 -1
- package/dist/neutral/Discount/Payload/Coupon/Coupons/FixedAmount.d.ts +2 -2
- package/dist/neutral/Discount/Payload/Coupon/Coupons/FixedAmount.d.ts.map +1 -1
- package/dist/neutral/Discount/Payload/Coupon/Coupons/FixedPercentage.d.ts +2 -2
- package/dist/neutral/Discount/Payload/Coupon/Coupons/FixedPercentage.d.ts.map +1 -1
- package/dist/neutral/Discount/Payload/Coupon/Coupons/FixedPrice.d.ts +2 -2
- package/dist/neutral/Discount/Payload/Coupon/Coupons/FixedPrice.d.ts.map +1 -1
- package/dist/neutral/Discount/Payload/Coupon/Payload.d.ts +2 -2
- package/dist/neutral/Discount/Payload/Coupon/Payload.d.ts.map +1 -1
- package/dist/neutral/Discount/Payload/Coupon/types/Condition.d.ts +2 -2
- package/dist/neutral/Discount/Payload/Coupon/types/Condition.d.ts.map +1 -1
- package/dist/neutral/Discount/Payload/Discount.d.ts +2 -2
- package/dist/neutral/Discount/Payload/Discount.d.ts.map +1 -1
- package/dist/neutral/Escrow/Outcome.d.ts +2 -2
- package/dist/neutral/Escrow/Outcome.d.ts.map +1 -1
- package/dist/neutral/Escrow/Terms/Terms.d.ts +9 -9
- package/dist/neutral/Escrow/Terms/Terms.d.ts.map +1 -1
- package/dist/neutral/Escrow/util/secret/createEscrowIntent.d.ts +2 -6
- package/dist/neutral/Escrow/util/secret/createEscrowIntent.d.ts.map +1 -1
- package/dist/neutral/Escrow/util/secret/updateEscrowTermsWithSecret.d.ts +2 -6
- package/dist/neutral/Escrow/util/secret/updateEscrowTermsWithSecret.d.ts.map +1 -1
- package/dist/neutral/Payment/Instrument/Card/Payload.d.ts +2 -2
- package/dist/neutral/Payment/Instrument/Card/Payload.d.ts.map +1 -1
- package/dist/neutral/Payment/Payload.d.ts +2 -2
- package/dist/neutral/Payment/Payload.d.ts.map +1 -1
- package/dist/neutral/Payment/Status/Payload.d.ts +2 -2
- package/dist/neutral/Payment/Status/Payload.d.ts.map +1 -1
- package/dist/neutral/Purchase/Payload.d.ts +2 -2
- package/dist/neutral/Purchase/Payload.d.ts.map +1 -1
- package/dist/neutral/Receipt/Payload.d.ts +2 -2
- package/dist/neutral/Receipt/Payload.d.ts.map +1 -1
- package/dist/neutral/Subtotal/Diviner/Payload.d.ts +2 -2
- package/dist/neutral/Subtotal/Diviner/Payload.d.ts.map +1 -1
- package/dist/neutral/Total/Diviner/Payload.d.ts +2 -2
- package/dist/neutral/Total/Diviner/Payload.d.ts.map +1 -1
- package/dist/neutral/index.mjs.map +2 -2
- package/package.json +16 -60
|
@@ -15,13 +15,13 @@ export type Amount = PayloadWithSources<AmountFields, AmountSchema>;
|
|
|
15
15
|
/**
|
|
16
16
|
* Identity function for determining if an object is an Amount
|
|
17
17
|
*/
|
|
18
|
-
export declare const isAmount: (x?: unknown
|
|
18
|
+
export declare const isAmount: (x?: unknown) => x is Amount;
|
|
19
19
|
export declare const asAmount: import("@xylabs/sdk-js").AsTypeFunction<Amount>;
|
|
20
20
|
export declare const asOptionalAmount: (value: import("@xylabs/sdk-js").AnyNonPromise) => Amount | undefined;
|
|
21
21
|
/**
|
|
22
22
|
* Identity function for determining if an object is an Amount with sources
|
|
23
23
|
*/
|
|
24
|
-
export declare const isAmountWithSources: (x?: unknown
|
|
24
|
+
export declare const isAmountWithSources: (x?: unknown) => x is WithSources<Amount>;
|
|
25
25
|
export declare const asAmountWithSources: import("@xylabs/sdk-js").AsTypeFunction<WithSources<Amount>>;
|
|
26
26
|
export declare const asOptionalAmountWithSources: (value: import("@xylabs/sdk-js").AnyNonPromise) => WithSources<Amount> | undefined;
|
|
27
27
|
//# sourceMappingURL=Payload.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../../src/Amount/Payload.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAO1E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAEnE,eAAO,MAAM,YAAY;;CAAgD,CAAA;AACzE,MAAM,MAAM,YAAY,GAAG,OAAO,YAAY,CAAA;AAE9C,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,uBAAuB,CAAA;CAClC;AAED;;GAEG;AACH,MAAM,MAAM,MAAM,GAAG,kBAAkB,CAAC,YAAY,EAAE,YAAY,CAAC,CAAA;AAEnE;;GAEG;AACH,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../../src/Amount/Payload.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAO1E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAEnE,eAAO,MAAM,YAAY;;CAAgD,CAAA;AACzE,MAAM,MAAM,YAAY,GAAG,OAAO,YAAY,CAAA;AAE9C,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,uBAAuB,CAAA;CAClC;AAED;;GAEG;AACH,MAAM,MAAM,MAAM,GAAG,kBAAkB,CAAC,YAAY,EAAE,YAAY,CAAC,CAAA;AAEnE;;GAEG;AACH,eAAO,MAAM,QAAQ,8BAA8C,CAAA;AACnE,eAAO,MAAM,QAAQ,iDAA2C,CAAA;AAChE,eAAO,MAAM,gBAAgB,uEAAmD,CAAA;AAEhF;;GAEG;AACH,eAAO,MAAM,mBAAmB,2CAAyD,CAAA;AACzF,eAAO,MAAM,mBAAmB,8DAAmE,CAAA;AACnG,eAAO,MAAM,2BAA2B,oFAA2E,CAAA"}
|
|
@@ -30,13 +30,13 @@ export type BillingAddress = Payload<BillingAddressFields, BillingAddressSchema>
|
|
|
30
30
|
/**
|
|
31
31
|
* Identity function for determine if an object is a BillingAddress
|
|
32
32
|
*/
|
|
33
|
-
export declare const isBillingAddress: (x?: unknown
|
|
33
|
+
export declare const isBillingAddress: (x?: unknown) => x is BillingAddress;
|
|
34
34
|
export declare const asBillingAddress: import("@xylabs/sdk-js").AsTypeFunction<BillingAddress>;
|
|
35
35
|
export declare const asOptionalBillingAddress: (value: import("@xylabs/sdk-js").AnyNonPromise) => BillingAddress | undefined;
|
|
36
36
|
/**
|
|
37
37
|
* Identity function for determine if an object is a BillingAddress with sources
|
|
38
38
|
*/
|
|
39
|
-
export declare const isBillingAddressWithSources: (x?: unknown
|
|
39
|
+
export declare const isBillingAddressWithSources: (x?: unknown) => x is WithSources<BillingAddress>;
|
|
40
40
|
export declare const asBillingAddressWithSources: import("@xylabs/sdk-js").AsTypeFunction<WithSources<BillingAddress>>;
|
|
41
41
|
export declare const asOptionalBillingAddressWithSources: (value: import("@xylabs/sdk-js").AnyNonPromise) => WithSources<BillingAddress> | undefined;
|
|
42
42
|
//# sourceMappingURL=Address.d.ts.map
|
|
@@ -1 +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,qBAAqB,CAAA;AAG/D,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,
|
|
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,qBAAqB,CAAA;AAG/D,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,sCAA8D,CAAA;AAC3F,eAAO,MAAM,gBAAgB,yDAA2D,CAAA;AACxF,eAAO,MAAM,wBAAwB,+EAAmE,CAAA;AAExG;;GAEG;AACH,eAAO,MAAM,2BAA2B,mDAAyE,CAAA;AACjH,eAAO,MAAM,2BAA2B,sEAAmF,CAAA;AAC3H,eAAO,MAAM,mCAAmC,4FAA2F,CAAA"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { DivinerConfig, ModuleIdentifier } from '@xyo-network/sdk-js';
|
|
1
|
+
import type { DivinerConfig, ModuleIdentifier, XyoAddress } from '@xyo-network/sdk-js';
|
|
3
2
|
export declare const PaymentDiscountDivinerConfigSchema: "network.xyo.diviner.payments.discount.config" & {
|
|
4
3
|
readonly __schema: true;
|
|
5
4
|
};
|
|
@@ -15,7 +14,7 @@ export type PaymentDiscountDivinerConfig = DivinerConfig<{
|
|
|
15
14
|
/**
|
|
16
15
|
* The list of coupon authorities that can be used to get a discount
|
|
17
16
|
*/
|
|
18
|
-
couponAuthorities?:
|
|
17
|
+
couponAuthorities?: XyoAddress[];
|
|
19
18
|
/**
|
|
20
19
|
* The Diviner that can be used to determine the subtotal to apply discounts to
|
|
21
20
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../../src/Discount/Config.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../../src/Discount/Config.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,aAAa,EAAE,gBAAgB,EAAE,UAAU,EAC5C,MAAM,qBAAqB,CAAA;AAG5B,eAAO,MAAM,kCAAkC;;CAAiE,CAAA;AAChH,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,UAAU,EAAE,CAAA;IAOhC;;OAEG;IACH,sBAAsB,CAAC,EAAE,gBAAgB,CAAA;CAC1C,EACD,kCAAkC,CACnC,CAAA"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { AnyConfigSchema, DivinerParams } from '@xyo-network/sdk-js';
|
|
1
|
+
import type { AnyConfigSchema, DivinerParams, XyoAddress } from '@xyo-network/sdk-js';
|
|
3
2
|
import type { PaymentDiscountDivinerConfig } from './Config.ts';
|
|
4
3
|
export interface PaymentDiscountDivinerParams<TConfig extends AnyConfigSchema<PaymentDiscountDivinerConfig> = AnyConfigSchema<PaymentDiscountDivinerConfig>> extends DivinerParams<TConfig> {
|
|
5
4
|
/**
|
|
6
5
|
* The list of coupon authorities that can be used to get a discount
|
|
7
6
|
*/
|
|
8
|
-
couponAuthorities?:
|
|
7
|
+
couponAuthorities?: XyoAddress[];
|
|
9
8
|
}
|
|
10
9
|
//# sourceMappingURL=Params.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../../src/Discount/Params.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../../src/Discount/Params.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EAAE,aAAa,EAAE,UAAU,EAC3C,MAAM,qBAAqB,CAAA;AAE5B,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,aAAa,CAAA;AAE/D,MAAM,WAAW,4BAA4B,CAC3C,OAAO,SAAS,eAAe,CAAC,4BAA4B,CAAC,GAAG,eAAe,CAAC,4BAA4B,CAAC,CAC7G,SAAQ,aAAa,CAAC,OAAO,CAAC;IAC9B;;SAEK;IACL,iBAAiB,CAAC,EAAE,UAAU,EAAE,CAAA;CACjC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { XyoAddress } from '@xyo-network/sdk-js';
|
|
2
2
|
import { SchemaSchema } from '@xyo-network/sdk-js';
|
|
3
3
|
import type { Condition } from '../types/index.ts';
|
|
4
4
|
export type BuyerCondition = Condition & {
|
|
@@ -7,7 +7,7 @@ export type BuyerCondition = Condition & {
|
|
|
7
7
|
properties: {
|
|
8
8
|
buyer: {
|
|
9
9
|
items: {
|
|
10
|
-
const:
|
|
10
|
+
const: XyoAddress;
|
|
11
11
|
type: 'string';
|
|
12
12
|
};
|
|
13
13
|
minItems: 1;
|
|
@@ -30,5 +30,5 @@ export type BuyerCondition = Condition & {
|
|
|
30
30
|
* @param buyer The buyer's address
|
|
31
31
|
* @returns A coupon condition that requires a specific buyer
|
|
32
32
|
*/
|
|
33
|
-
export declare const createConditionForRequiredBuyer: (buyer:
|
|
33
|
+
export declare const createConditionForRequiredBuyer: (buyer: XyoAddress) => BuyerCondition;
|
|
34
34
|
//# sourceMappingURL=BuyerCondition.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BuyerCondition.d.ts","sourceRoot":"","sources":["../../../../../../src/Discount/Payload/Coupon/Conditions/BuyerCondition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"BuyerCondition.d.ts","sourceRoot":"","sources":["../../../../../../src/Discount/Payload/Coupon/Conditions/BuyerCondition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAElD,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,UAAU,CAAA;wBACjB,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,UAAU,KAAG,cAiBnE,CAAA"}
|
|
@@ -14,13 +14,13 @@ export type FixedAmountCoupon = Payload<FixedAmountCouponFields, FixedAmountCoup
|
|
|
14
14
|
/**
|
|
15
15
|
* Identity function for determining if an object is an FixedAmountCoupon
|
|
16
16
|
*/
|
|
17
|
-
export declare const isFixedAmountCoupon: (x?: unknown
|
|
17
|
+
export declare const isFixedAmountCoupon: (x?: unknown) => x is FixedAmountCoupon;
|
|
18
18
|
export declare const asFixedAmountCoupon: import("@xylabs/sdk-js").AsTypeFunction<FixedAmountCoupon>;
|
|
19
19
|
export declare const asOptionalFixedAmountCoupon: (value: import("@xylabs/sdk-js").AnyNonPromise) => FixedAmountCoupon | undefined;
|
|
20
20
|
/**
|
|
21
21
|
* Identity function for determining if an object is an FixedAmountCoupon with sources
|
|
22
22
|
*/
|
|
23
|
-
export declare const isFixedAmountCouponWithSources: (x?: unknown
|
|
23
|
+
export declare const isFixedAmountCouponWithSources: (x?: unknown) => x is WithSources<WithSources<FixedAmountCoupon>>;
|
|
24
24
|
export declare const asFixedAmountCouponWithSources: import("@xylabs/sdk-js").AsTypeFunction<WithSources<FixedAmountCoupon>>;
|
|
25
25
|
export declare const asOptionalFixedAmountCouponWithSources: (value: import("@xylabs/sdk-js").AnyNonPromise) => WithSources<FixedAmountCoupon> | undefined;
|
|
26
26
|
//# sourceMappingURL=FixedAmount.d.ts.map
|
|
@@ -1 +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,qBAAqB,CAAA;AAO/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAE/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAErD,eAAO,MAAM,uBAAuB;;CAAiD,CAAA;AACrF,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,
|
|
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,qBAAqB,CAAA;AAO/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAE/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAErD,eAAO,MAAM,uBAAuB;;CAAiD,CAAA;AACrF,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,yCAAoE,CAAA;AACpG,eAAO,MAAM,mBAAmB,4DAAiE,CAAA;AACjG,eAAO,MAAM,2BAA2B,kFAAyE,CAAA;AAEjH;;EAEE;AACF,eAAO,MAAM,8BAA8B,mEAA4F,CAAA;AACvI,eAAO,MAAM,8BAA8B,yEAAyF,CAAA;AACpI,eAAO,MAAM,sCAAsC,+FAAiG,CAAA"}
|
|
@@ -14,13 +14,13 @@ export type FixedPercentageCoupon = Payload<FixedPercentageCouponFields, FixedPe
|
|
|
14
14
|
/**
|
|
15
15
|
* Identity function for determining if an object is an FixedPercentageCoupon
|
|
16
16
|
*/
|
|
17
|
-
export declare const isFixedPercentageCoupon: (x?: unknown
|
|
17
|
+
export declare const isFixedPercentageCoupon: (x?: unknown) => x is FixedPercentageCoupon;
|
|
18
18
|
export declare const asFixedPercentageCoupon: import("@xylabs/sdk-js").AsTypeFunction<FixedPercentageCoupon>;
|
|
19
19
|
export declare const asOptionalFixedPercentageCoupon: (value: import("@xylabs/sdk-js").AnyNonPromise) => FixedPercentageCoupon | undefined;
|
|
20
20
|
/**
|
|
21
21
|
* Identity function for determining if an object is an FixedPercentageCoupon with sources
|
|
22
22
|
*/
|
|
23
|
-
export declare const isFixedPercentageCouponWithSources: (x?: unknown
|
|
23
|
+
export declare const isFixedPercentageCouponWithSources: (x?: unknown) => x is WithSources<WithSources<FixedPercentageCoupon>>;
|
|
24
24
|
export declare const asFixedPercentageCouponWithSources: import("@xylabs/sdk-js").AsTypeFunction<WithSources<FixedPercentageCoupon>>;
|
|
25
25
|
export declare const asOptionalFixedPercentageCouponWithSources: (value: import("@xylabs/sdk-js").AnyNonPromise) => WithSources<FixedPercentageCoupon> | undefined;
|
|
26
26
|
//# sourceMappingURL=FixedPercentage.d.ts.map
|
|
@@ -1 +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,qBAAqB,CAAA;AAQ/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAErD,eAAO,MAAM,2BAA2B;;CAAqD,CAAA;AAC7F,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,
|
|
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,qBAAqB,CAAA;AAQ/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAErD,eAAO,MAAM,2BAA2B;;CAAqD,CAAA;AAC7F,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,6CAA4E,CAAA;AAChH,eAAO,MAAM,uBAAuB,gEAAyE,CAAA;AAC7G,eAAO,MAAM,+BAA+B,sFAAiF,CAAA;AAE7H;;EAEE;AACF,eAAO,MAAM,kCAAkC,uEAAoG,CAAA;AACnJ,eAAO,MAAM,kCAAkC,6EAAiG,CAAA;AAChJ,eAAO,MAAM,0CAA0C,mGAAyG,CAAA"}
|
|
@@ -14,13 +14,13 @@ export type FixedPriceCoupon = Payload<FixedPriceCouponFields, FixedPriceCouponS
|
|
|
14
14
|
/**
|
|
15
15
|
* Identity function for determining if an object is an FixedPriceCoupon
|
|
16
16
|
*/
|
|
17
|
-
export declare const isFixedPriceCoupon: (x?: unknown
|
|
17
|
+
export declare const isFixedPriceCoupon: (x?: unknown) => x is FixedPriceCoupon;
|
|
18
18
|
export declare const asFixedPriceCoupon: import("@xylabs/sdk-js").AsTypeFunction<FixedPriceCoupon>;
|
|
19
19
|
export declare const asOptionalFixedPriceCoupon: (value: import("@xylabs/sdk-js").AnyNonPromise) => FixedPriceCoupon | undefined;
|
|
20
20
|
/**
|
|
21
21
|
* Identity function for determining if an object is an FixedPriceCoupon with sources
|
|
22
22
|
*/
|
|
23
|
-
export declare const isFixedPriceCouponWithSources: (x?: unknown
|
|
23
|
+
export declare const isFixedPriceCouponWithSources: (x?: unknown) => x is WithSources<WithSources<FixedPriceCoupon>>;
|
|
24
24
|
export declare const asFixedPriceCouponWithSources: import("@xylabs/sdk-js").AsTypeFunction<WithSources<FixedPriceCoupon>>;
|
|
25
25
|
export declare const asOptionalFixedPriceCouponWithSources: (value: import("@xylabs/sdk-js").AnyNonPromise) => WithSources<FixedPriceCoupon> | undefined;
|
|
26
26
|
//# sourceMappingURL=FixedPrice.d.ts.map
|
|
@@ -1 +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,qBAAqB,CAAA;AAO/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAE/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAErD,eAAO,MAAM,sBAAsB;;CAAgD,CAAA;AACnF,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
|
|
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,qBAAqB,CAAA;AAO/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAE/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAErD,eAAO,MAAM,sBAAsB;;CAAgD,CAAA;AACnF,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,wCAAkE,CAAA;AACjG,eAAO,MAAM,kBAAkB,2DAA+D,CAAA;AAC9F,eAAO,MAAM,0BAA0B,iFAAuE,CAAA;AAE9G;;EAEE;AACF,eAAO,MAAM,6BAA6B,kEAA0F,CAAA;AACpI,eAAO,MAAM,6BAA6B,wEAAuF,CAAA;AACjI,eAAO,MAAM,qCAAqC,8FAA+F,CAAA"}
|
|
@@ -11,6 +11,6 @@ export declare const asCoupon: import("@xylabs/sdk-js").AsTypeFunction<FixedAmou
|
|
|
11
11
|
/**
|
|
12
12
|
* Identity function for determining if an object is an Coupon with sources
|
|
13
13
|
*/
|
|
14
|
-
export declare const isCouponWithSources: (x?: unknown) => x is import("@xyo-network/
|
|
15
|
-
export declare const asCouponWithSources: import("@xylabs/sdk-js").AsTypeFunction<import("@xyo-network/
|
|
14
|
+
export declare const isCouponWithSources: (x?: unknown) => x is import("@xyo-network/sdk-protocol-js").WithSources<import("@xyo-network/sdk-protocol-js").WithSources<FixedAmountCoupon>> | import("@xyo-network/sdk-protocol-js").WithSources<import("@xyo-network/sdk-protocol-js").WithSources<FixedPercentageCoupon>> | import("@xyo-network/sdk-protocol-js").WithSources<import("@xyo-network/sdk-protocol-js").WithSources<FixedPriceCoupon>>;
|
|
15
|
+
export declare const asCouponWithSources: import("@xylabs/sdk-js").AsTypeFunction<import("@xyo-network/sdk-protocol-js").WithSources<import("@xyo-network/sdk-protocol-js").WithSources<FixedAmountCoupon>> | import("@xyo-network/sdk-protocol-js").WithSources<import("@xyo-network/sdk-protocol-js").WithSources<FixedPercentageCoupon>> | import("@xyo-network/sdk-protocol-js").WithSources<import("@xyo-network/sdk-protocol-js").WithSources<FixedPriceCoupon>>>;
|
|
16
16
|
//# sourceMappingURL=Payload.d.ts.map
|
|
@@ -1 +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,GACd,iBAAiB,GACf,qBAAqB,GACrB,gBAAgB,CAAA;AAEtB;;GAEG;AACH,eAAO,MAAM,QAAQ,GAAI,IAAI,OAAO,sEAGV,CAAA;AAC1B,eAAO,MAAM,QAAQ,uGAAmC,CAAA;AAExD;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAAI,IAAI,OAAO,
|
|
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,GACd,iBAAiB,GACf,qBAAqB,GACrB,gBAAgB,CAAA;AAEtB;;GAEG;AACH,eAAO,MAAM,QAAQ,GAAI,IAAI,OAAO,sEAGV,CAAA;AAC1B,eAAO,MAAM,QAAQ,uGAAmC,CAAA;AAExD;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAAI,IAAI,OAAO,8XAGV,CAAA;AACrC,eAAO,MAAM,mBAAmB,+ZAA8C,CAAA"}
|
|
@@ -6,11 +6,11 @@ export type Condition = SchemaPayload;
|
|
|
6
6
|
/**
|
|
7
7
|
* Identity function for determining if an object is a Condition payload
|
|
8
8
|
*/
|
|
9
|
-
export declare const isCondition: (x?: unknown
|
|
9
|
+
export declare const isCondition: (x?: unknown) => x is SchemaPayload;
|
|
10
10
|
export declare const asCondition: import("@xylabs/sdk-js").AsTypeFunction<SchemaPayload>;
|
|
11
11
|
/**
|
|
12
12
|
* Identity function for determining if an object is a Condition payload with sources
|
|
13
13
|
*/
|
|
14
|
-
export declare const isConditionWithSources: (x?: unknown
|
|
14
|
+
export declare const isConditionWithSources: (x?: unknown) => x is import("@xyo-network/sdk-js").WithSources<SchemaPayload>;
|
|
15
15
|
export declare const asConditionWithSources: import("@xylabs/sdk-js").AsTypeFunction<import("@xyo-network/sdk-js").WithSources<SchemaPayload>>;
|
|
16
16
|
//# sourceMappingURL=Condition.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Condition.d.ts","sourceRoot":"","sources":["../../../../../../src/Discount/Payload/Coupon/types/Condition.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAKxD;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,aAAa,CAAA;AAErC;;GAEG;AACH,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"Condition.d.ts","sourceRoot":"","sources":["../../../../../../src/Discount/Payload/Coupon/types/Condition.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAKxD;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,aAAa,CAAA;AAErC;;GAEG;AACH,eAAO,MAAM,WAAW,qCAAiD,CAAA;AACzE,eAAO,MAAM,WAAW,wDAAsC,CAAA;AAE9D;;EAEE;AACF,eAAO,MAAM,sBAAsB,gFAA4D,CAAA;AAC/F,eAAO,MAAM,sBAAsB,mGAAiD,CAAA"}
|
|
@@ -13,13 +13,13 @@ export type Discount = Payload<DiscountFields, DiscountSchema>;
|
|
|
13
13
|
/**
|
|
14
14
|
* Identity function for determining if an object is an Discount
|
|
15
15
|
*/
|
|
16
|
-
export declare const isDiscount: (x?: unknown
|
|
16
|
+
export declare const isDiscount: (x?: unknown) => x is Discount;
|
|
17
17
|
export declare const asDiscount: import("@xylabs/sdk-js").AsTypeFunction<Discount>;
|
|
18
18
|
export declare const asOptionalDiscount: (value: import("@xylabs/sdk-js").AnyNonPromise) => Discount | undefined;
|
|
19
19
|
/**
|
|
20
20
|
* Identity function for determining if an object is an Discount with sources
|
|
21
21
|
*/
|
|
22
|
-
export declare const isDiscountWithSources: (x?: unknown
|
|
22
|
+
export declare const isDiscountWithSources: (x?: unknown) => x is WithSources<Discount>;
|
|
23
23
|
export declare const asDiscountWithSources: import("@xylabs/sdk-js").AsTypeFunction<WithSources<Discount>>;
|
|
24
24
|
export declare const asOptionalDiscountWithSources: (value: import("@xylabs/sdk-js").AnyNonPromise) => WithSources<Discount> | undefined;
|
|
25
25
|
//# sourceMappingURL=Discount.d.ts.map
|
|
@@ -1 +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,qBAAqB,CAAA;AAO/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEzD,eAAO,MAAM,cAAc;;CAAkD,CAAA;AAC7E,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,
|
|
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,qBAAqB,CAAA;AAO/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEzD,eAAO,MAAM,cAAc;;CAAkD,CAAA;AAC7E,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,gCAAkD,CAAA;AACzE,eAAO,MAAM,UAAU,mDAA+C,CAAA;AACtE,eAAO,MAAM,kBAAkB,yEAAuD,CAAA;AAEtF;;GAEG;AACH,eAAO,MAAM,qBAAqB,6CAA6D,CAAA;AAC/F,eAAO,MAAM,qBAAqB,gEAAuE,CAAA;AACzG,eAAO,MAAM,6BAA6B,sFAA+E,CAAA"}
|
|
@@ -19,13 +19,13 @@ export type EscrowOutcome = PayloadWithSources<EscrowOutcomeFields, EscrowOutcom
|
|
|
19
19
|
/**
|
|
20
20
|
* Identity function for determining if an object is an EscrowOutcome
|
|
21
21
|
*/
|
|
22
|
-
export declare const isEscrowOutcome: (x?: unknown
|
|
22
|
+
export declare const isEscrowOutcome: (x?: unknown) => x is EscrowOutcome;
|
|
23
23
|
export declare const asEscrowOutcome: import("@xylabs/sdk-js").AsTypeFunction<EscrowOutcome>;
|
|
24
24
|
export declare const asOptionalEscrowOutcome: (value: import("@xylabs/sdk-js").AnyNonPromise) => EscrowOutcome | undefined;
|
|
25
25
|
/**
|
|
26
26
|
* Identity function for determining if an object is an EscrowOutcome with sources
|
|
27
27
|
*/
|
|
28
|
-
export declare const isEscrowOutcomeWithSources: (x?: unknown
|
|
28
|
+
export declare const isEscrowOutcomeWithSources: (x?: unknown) => x is WithSources<EscrowOutcome>;
|
|
29
29
|
export declare const asEscrowOutcomeWithSources: (value: import("@xylabs/sdk-js").AnyNonPromise) => WithSources<EscrowOutcome> | undefined;
|
|
30
30
|
export declare const asOptionalEscrowOutcomeWithSources: (value: import("@xylabs/sdk-js").AnyNonPromise) => WithSources<EscrowOutcome> | undefined;
|
|
31
31
|
//# sourceMappingURL=Outcome.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Outcome.d.ts","sourceRoot":"","sources":["../../../src/Escrow/Outcome.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AAE1C,OAAO,KAAK,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAS1E,eAAO,MAAM,mBAAmB;;CAA4C,CAAA;AAC5E,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,
|
|
1
|
+
{"version":3,"file":"Outcome.d.ts","sourceRoot":"","sources":["../../../src/Escrow/Outcome.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AAE1C,OAAO,KAAK,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAS1E,eAAO,MAAM,mBAAmB;;CAA4C,CAAA;AAC5E,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,qCAA4D,CAAA;AACxF,eAAO,MAAM,eAAe,wDAAyD,CAAA;AACrF,eAAO,MAAM,uBAAuB,8EAAiE,CAAA;AAErG;;GAEG;AACH,eAAO,MAAM,0BAA0B,kDAAuE,CAAA;AAC9G,eAAO,MAAM,0BAA0B,2FAAyF,CAAA;AAChI,eAAO,MAAM,kCAAkC,2FAAyF,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { Payload } from '@xyo-network/sdk-js';
|
|
1
|
+
import type { Hash } from '@xylabs/sdk-js';
|
|
2
|
+
import type { Payload, XyoAddress } from '@xyo-network/sdk-js';
|
|
3
3
|
export declare const EscrowTermsSchema: string & {
|
|
4
4
|
readonly __schema: true;
|
|
5
5
|
};
|
|
@@ -8,7 +8,7 @@ export interface EscrowTermsFields {
|
|
|
8
8
|
/**
|
|
9
9
|
* The trusted estimators for the worth of the things being sold
|
|
10
10
|
*/
|
|
11
|
-
appraisalAuthorities:
|
|
11
|
+
appraisalAuthorities: XyoAddress[];
|
|
12
12
|
/**
|
|
13
13
|
* The estimated worths of the things being sold
|
|
14
14
|
*/
|
|
@@ -20,7 +20,7 @@ export interface EscrowTermsFields {
|
|
|
20
20
|
/**
|
|
21
21
|
* The buyer
|
|
22
22
|
*/
|
|
23
|
-
buyer:
|
|
23
|
+
buyer: XyoAddress[];
|
|
24
24
|
/**
|
|
25
25
|
* The buyer
|
|
26
26
|
*/
|
|
@@ -32,7 +32,7 @@ export interface EscrowTermsFields {
|
|
|
32
32
|
/**
|
|
33
33
|
* The escrow agent responsible for the escrow
|
|
34
34
|
*/
|
|
35
|
-
escrowAgent:
|
|
35
|
+
escrowAgent: XyoAddress;
|
|
36
36
|
/**
|
|
37
37
|
* The time the escrow expires
|
|
38
38
|
*/
|
|
@@ -44,11 +44,11 @@ export interface EscrowTermsFields {
|
|
|
44
44
|
/**
|
|
45
45
|
* The trusted payment authorities
|
|
46
46
|
*/
|
|
47
|
-
paymentAuthorities:
|
|
47
|
+
paymentAuthorities: XyoAddress[];
|
|
48
48
|
/**
|
|
49
49
|
* The seller
|
|
50
50
|
*/
|
|
51
|
-
seller:
|
|
51
|
+
seller: XyoAddress[];
|
|
52
52
|
/**
|
|
53
53
|
* The seller
|
|
54
54
|
*/
|
|
@@ -61,13 +61,13 @@ export type EscrowTerms = Payload<Partial<EscrowTermsFields>, EscrowTermsSchema>
|
|
|
61
61
|
/**
|
|
62
62
|
* Identity function for determining if an object is an EscrowTerms
|
|
63
63
|
*/
|
|
64
|
-
export declare const isEscrowTerms: (x?: unknown
|
|
64
|
+
export declare const isEscrowTerms: (x?: unknown) => x is EscrowTerms;
|
|
65
65
|
export declare const asEscrowTerms: import("@xylabs/sdk-js").AsTypeFunction<EscrowTerms>;
|
|
66
66
|
export declare const asOptionalEscrowTerms: (value: import("@xylabs/sdk-js").AnyNonPromise) => EscrowTerms | undefined;
|
|
67
67
|
/**
|
|
68
68
|
* Identity function for determining if an object is an EscrowTerms with sources
|
|
69
69
|
*/
|
|
70
|
-
export declare const isEscrowTermsWithSources: (x?: unknown
|
|
70
|
+
export declare const isEscrowTermsWithSources: (x?: unknown) => x is import("@xyo-network/sdk-js").WithSources<EscrowTerms>;
|
|
71
71
|
export declare const asEscrowTermsWithSources: import("@xylabs/sdk-js").AsTypeFunction<EscrowTerms>;
|
|
72
72
|
export declare const asOptionalEscrowTermsWithSources: (value: import("@xylabs/sdk-js").AnyNonPromise) => EscrowTerms | undefined;
|
|
73
73
|
//# sourceMappingURL=Terms.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Terms.d.ts","sourceRoot":"","sources":["../../../../src/Escrow/Terms/Terms.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"Terms.d.ts","sourceRoot":"","sources":["../../../../src/Escrow/Terms/Terms.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AAE1C,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAO9D,eAAO,MAAM,iBAAiB;;CAA0C,CAAA;AACxE,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAA;AAGxD,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,oBAAoB,EAAE,UAAU,EAAE,CAAA;IAClC;;OAEG;IACH,UAAU,EAAE,IAAI,EAAE,CAAA;IAClB;;OAEG;IACH,MAAM,EAAE,IAAI,EAAE,CAAA;IACd;;OAEG;IACH,KAAK,EAAE,UAAU,EAAE,CAAA;IACnB;;OAEG;IACH,WAAW,EAAE,IAAI,CAAA;IACjB;;OAEG;IACH,SAAS,EAAE,IAAI,EAAE,CAAA;IACjB;;OAEG;IACH,WAAW,EAAE,UAAU,CAAA;IACvB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAA;IACX;;OAEG;IACH,GAAG,EAAE,MAAM,CAAA;IACX;;OAEG;IACH,kBAAkB,EAAE,UAAU,EAAE,CAAA;IAChC;;OAEG;IACH,MAAM,EAAE,UAAU,EAAE,CAAA;IACpB;;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,mCAAwD,CAAA;AAClF,eAAO,MAAM,aAAa,sDAAqD,CAAA;AAC/E,eAAO,MAAM,qBAAqB,4EAA6D,CAAA;AAE/F;;GAEG;AACH,eAAO,MAAM,wBAAwB,8EAAmE,CAAA;AACxG,eAAO,MAAM,wBAAwB,sDAAgE,CAAA;AACrG,eAAO,MAAM,gCAAgC,4EAAwE,CAAA"}
|
|
@@ -11,11 +11,7 @@ export declare const createEscrowIntentWithSecret: (terms: EscrowTerms, secret:
|
|
|
11
11
|
schema: "network.xyo.boundwitness" & {
|
|
12
12
|
readonly __schema: true;
|
|
13
13
|
};
|
|
14
|
-
addresses: ((Lowercase<string> & {
|
|
15
|
-
readonly __hex: true;
|
|
16
|
-
} & {
|
|
17
|
-
readonly __address: true;
|
|
18
|
-
}) | (Lowercase<string> & {
|
|
14
|
+
addresses: (import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
|
|
19
15
|
readonly __hex: true;
|
|
20
16
|
} & {
|
|
21
17
|
readonly __address: true;
|
|
@@ -24,7 +20,7 @@ export declare const createEscrowIntentWithSecret: (terms: EscrowTerms, secret:
|
|
|
24
20
|
payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
|
|
25
21
|
previous_hashes: (import("@xylabs/sdk-js").BrandedHash | null)[];
|
|
26
22
|
$signatures: (import("@xylabs/sdk-js").BrandedHex | null)[];
|
|
27
|
-
$destination?: (Lowercase<string> & {
|
|
23
|
+
$destination?: import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
|
|
28
24
|
readonly __hex: true;
|
|
29
25
|
} & {
|
|
30
26
|
readonly __address: true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createEscrowIntent.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/util/secret/createEscrowIntent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,EAAE,EAAE,MAAM,qBAAqB,CAAA;AAG9D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAEvD;;;;;;GAMG;AACH,eAAO,MAAM,4BAA4B,GAAU,OAAO,WAAW,EAAE,QAAQ,EAAE,EAAE,SAAS,eAAe
|
|
1
|
+
{"version":3,"file":"createEscrowIntent.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/util/secret/createEscrowIntent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,EAAE,EAAE,MAAM,qBAAqB,CAAA;AAG9D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAEvD;;;;;;GAMG;AACH,eAAO,MAAM,4BAA4B,GAAU,OAAO,WAAW,EAAE,QAAQ,EAAE,EAAE,SAAS,eAAe;;;;;;;;;;;;;;;;;;;0FAG1G,CAAA"}
|
|
@@ -13,11 +13,7 @@ export declare const updateEscrowTermsWithSecret: (terms: EscrowTerms, escrowPar
|
|
|
13
13
|
schema: "network.xyo.boundwitness" & {
|
|
14
14
|
readonly __schema: true;
|
|
15
15
|
};
|
|
16
|
-
addresses: ((Lowercase<string> & {
|
|
17
|
-
readonly __hex: true;
|
|
18
|
-
} & {
|
|
19
|
-
readonly __address: true;
|
|
20
|
-
}) | (Lowercase<string> & {
|
|
16
|
+
addresses: (import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
|
|
21
17
|
readonly __hex: true;
|
|
22
18
|
} & {
|
|
23
19
|
readonly __address: true;
|
|
@@ -26,7 +22,7 @@ export declare const updateEscrowTermsWithSecret: (terms: EscrowTerms, escrowPar
|
|
|
26
22
|
payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
|
|
27
23
|
previous_hashes: (import("@xylabs/sdk-js").BrandedHash | null)[];
|
|
28
24
|
$signatures: (import("@xylabs/sdk-js").BrandedHex | null)[];
|
|
29
|
-
$destination?: (Lowercase<string> & {
|
|
25
|
+
$destination?: import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
|
|
30
26
|
readonly __hex: true;
|
|
31
27
|
} & {
|
|
32
28
|
readonly __address: true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateEscrowTermsWithSecret.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/util/secret/updateEscrowTermsWithSecret.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,EAAE,EAAE,MAAM,qBAAqB,CAAA;AAG9D,OAAO,KAAK,EACV,WAAW,EAAqB,WAAW,EAC5C,MAAM,sBAAsB,CAAA;AAG7B;;;;;;;;GAQG;AACH,eAAO,MAAM,2BAA2B,GACtC,OAAO,WAAW,EAClB,aAAa,WAAW,EACxB,SAAS,eAAe,GAAG,eAAe,EAAE,EAC5C,SAAS,EAAE
|
|
1
|
+
{"version":3,"file":"updateEscrowTermsWithSecret.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/util/secret/updateEscrowTermsWithSecret.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,EAAE,EAAE,MAAM,qBAAqB,CAAA;AAG9D,OAAO,KAAK,EACV,WAAW,EAAqB,WAAW,EAC5C,MAAM,sBAAsB,CAAA;AAG7B;;;;;;;;GAQG;AACH,eAAO,MAAM,2BAA2B,GACtC,OAAO,WAAW,EAClB,aAAa,WAAW,EACxB,SAAS,eAAe,GAAG,eAAe,EAAE,EAC5C,SAAS,EAAE;;;;;;;;;;;;;;;;;;;0FAaZ,CAAA"}
|
|
@@ -32,13 +32,13 @@ export type PaymentCard = Payload<PaymentCardFields, PaymentCardSchema>;
|
|
|
32
32
|
/**
|
|
33
33
|
* Identity function for determine if an object is a PaymentCard
|
|
34
34
|
*/
|
|
35
|
-
export declare const isPaymentCard: (x?: unknown
|
|
35
|
+
export declare const isPaymentCard: (x?: unknown) => x is PaymentCard;
|
|
36
36
|
export declare const asPaymentCard: import("@xylabs/sdk-js").AsTypeFunction<PaymentCard>;
|
|
37
37
|
export declare const asOptionalPaymentCard: (value: import("@xylabs/sdk-js").AnyNonPromise) => PaymentCard | undefined;
|
|
38
38
|
/**
|
|
39
39
|
* Identity function for determine if an object is a PaymentCard with sources
|
|
40
40
|
*/
|
|
41
|
-
export declare const isPaymentCardWithSources: (x?: unknown
|
|
41
|
+
export declare const isPaymentCardWithSources: (x?: unknown) => x is WithSources<PaymentCard>;
|
|
42
42
|
export declare const asPaymentCardWithSources: import("@xylabs/sdk-js").AsTypeFunction<WithSources<PaymentCard>>;
|
|
43
43
|
export declare const asOptionalPaymentCardWithSources: (value: import("@xylabs/sdk-js").AnyNonPromise) => WithSources<PaymentCard> | undefined;
|
|
44
44
|
//# sourceMappingURL=Payload.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../../../../src/Payment/Instrument/Card/Payload.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAG/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA;AAE/C;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAA;IACX;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAChB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAA;CAChB;AAED;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,iBAAiB,EAAE,iBAAiB,CAAC,CAAA;AAEvE;;GAEG;AACH,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../../../../src/Payment/Instrument/Card/Payload.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAG/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA;AAE/C;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAA;IACX;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAChB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAA;CAChB;AAED;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,iBAAiB,EAAE,iBAAiB,CAAC,CAAA;AAEvE;;GAEG;AACH,eAAO,MAAM,aAAa,mCAAwD,CAAA;AAClF,eAAO,MAAM,aAAa,sDAAqD,CAAA;AAC/E,eAAO,MAAM,qBAAqB,4EAA6D,CAAA;AAE/F;;GAEG;AACH,eAAO,MAAM,wBAAwB,gDAAmE,CAAA;AACxG,eAAO,MAAM,wBAAwB,mEAA6E,CAAA;AAClH,eAAO,MAAM,gCAAgC,yFAAqF,CAAA"}
|
|
@@ -18,13 +18,13 @@ export type Payment = PayloadWithSources<PaymentFields, PaymentSchema>;
|
|
|
18
18
|
/**
|
|
19
19
|
* Identity function for determine if an object is a Payment
|
|
20
20
|
*/
|
|
21
|
-
export declare const isPayment: (x?: unknown
|
|
21
|
+
export declare const isPayment: (x?: unknown) => x is Payment;
|
|
22
22
|
export declare const asPayment: import("@xylabs/sdk-js").AsTypeFunction<Payment>;
|
|
23
23
|
export declare const asOptionalPayment: (value: import("@xylabs/sdk-js").AnyNonPromise) => Payment | undefined;
|
|
24
24
|
/**
|
|
25
25
|
* Identity function for determine if an object is a Payment with sources
|
|
26
26
|
*/
|
|
27
|
-
export declare const isPaymentWithSources: (x?: unknown
|
|
27
|
+
export declare const isPaymentWithSources: (x?: unknown) => x is WithSources<Payment>;
|
|
28
28
|
export declare const asPaymentWithSources: import("@xylabs/sdk-js").AsTypeFunction<WithSources<Payment>>;
|
|
29
29
|
export declare const asOptionalPaymentWithSources: (value: import("@xylabs/sdk-js").AnyNonPromise) => WithSources<Payment> | undefined;
|
|
30
30
|
//# sourceMappingURL=Payload.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../../src/Payment/Payload.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAM1E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAE3C,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,QAAQ,EAAE,iBAAiB,CAAA;CAC5B;AAED;;GAEG;AACH,MAAM,MAAM,OAAO,GAAG,kBAAkB,CAAC,aAAa,EAAE,aAAa,CAAC,CAAA;AAEtE;;GAEG;AACH,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../../src/Payment/Payload.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAM1E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAE3C,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,QAAQ,EAAE,iBAAiB,CAAA;CAC5B;AAED;;GAEG;AACH,MAAM,MAAM,OAAO,GAAG,kBAAkB,CAAC,aAAa,EAAE,aAAa,CAAC,CAAA;AAEtE;;GAEG;AACH,eAAO,MAAM,SAAS,+BAAgD,CAAA;AACtE,eAAO,MAAM,SAAS,kDAA6C,CAAA;AACnE,eAAO,MAAM,iBAAiB,wEAAqD,CAAA;AAEnF;;GAEG;AACH,eAAO,MAAM,oBAAoB,4CAA2D,CAAA;AAC5F,eAAO,MAAM,oBAAoB,+DAAqE,CAAA;AACtG,eAAO,MAAM,4BAA4B,qFAA6E,CAAA"}
|
|
@@ -17,13 +17,13 @@ export type PaymentStatus = PayloadWithSources<PaymentStatusFields, PaymentStatu
|
|
|
17
17
|
/**
|
|
18
18
|
* Identity function for determine if an object is a PaymentStatus
|
|
19
19
|
*/
|
|
20
|
-
export declare const isPaymentStatus: (x?: unknown
|
|
20
|
+
export declare const isPaymentStatus: (x?: unknown) => x is PaymentStatus;
|
|
21
21
|
export declare const asPaymentStatus: import("@xylabs/sdk-js").AsTypeFunction<PaymentStatus>;
|
|
22
22
|
export declare const asOptionalPaymentStatus: (value: import("@xylabs/sdk-js").AnyNonPromise) => PaymentStatus | undefined;
|
|
23
23
|
/**
|
|
24
24
|
* Identity function for determine if an object is a PaymentStatus with sources
|
|
25
25
|
*/
|
|
26
|
-
export declare const isPaymentStatusWithSources: (x?: unknown
|
|
26
|
+
export declare const isPaymentStatusWithSources: (x?: unknown) => x is WithSources<PaymentStatus>;
|
|
27
27
|
export declare const asPaymentStatusWithSources: import("@xylabs/sdk-js").AsTypeFunction<WithSources<PaymentStatus>>;
|
|
28
28
|
export declare const asOptionalPaymentStatusWithSources: (value: import("@xylabs/sdk-js").AnyNonPromise) => WithSources<PaymentStatus> | undefined;
|
|
29
29
|
//# sourceMappingURL=Payload.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../../../src/Payment/Status/Payload.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAM1E,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAA;AAEjD,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;OAEG;IACH,MAAM,EAAE,MAAM,CAAA;CACf;AAED;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,kBAAkB,CAAC,mBAAmB,EAAE,mBAAmB,CAAC,CAAA;AAExF;;GAEG;AACH,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../../../src/Payment/Status/Payload.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAM1E,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAA;AAEjD,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;OAEG;IACH,MAAM,EAAE,MAAM,CAAA;CACf;AAED;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,kBAAkB,CAAC,mBAAmB,EAAE,mBAAmB,CAAC,CAAA;AAExF;;GAEG;AACH,eAAO,MAAM,eAAe,qCAA4D,CAAA;AACxF,eAAO,MAAM,eAAe,wDAAyD,CAAA;AACrF,eAAO,MAAM,uBAAuB,8EAAiE,CAAA;AAErG;;GAEG;AACH,eAAO,MAAM,0BAA0B,kDAAuE,CAAA;AAC9G,eAAO,MAAM,0BAA0B,qEAAiF,CAAA;AACxH,eAAO,MAAM,kCAAkC,2FAAyF,CAAA"}
|
|
@@ -19,13 +19,13 @@ export type Purchase = PayloadWithSources<PurchaseFields, PurchaseSchema>;
|
|
|
19
19
|
/**
|
|
20
20
|
* Identity function for determine if an object is a Purchase
|
|
21
21
|
*/
|
|
22
|
-
export declare const isPurchase: (x?: unknown
|
|
22
|
+
export declare const isPurchase: (x?: unknown) => x is Purchase;
|
|
23
23
|
export declare const asPurchase: import("@xylabs/sdk-js").AsTypeFunction<Purchase>;
|
|
24
24
|
export declare const asOptionalPurchase: (value: import("@xylabs/sdk-js").AnyNonPromise) => Purchase | undefined;
|
|
25
25
|
/**
|
|
26
26
|
* Identity function for determine if an object is a Purchase with sources
|
|
27
27
|
*/
|
|
28
|
-
export declare const isPurchaseWithSources: (x?: unknown
|
|
28
|
+
export declare const isPurchaseWithSources: (x?: unknown) => x is WithSources<Purchase>;
|
|
29
29
|
export declare const asPurchaseWithSources: import("@xylabs/sdk-js").AsTypeFunction<WithSources<Purchase>>;
|
|
30
30
|
export declare const asOptionalPurchaseWithSources: (value: import("@xylabs/sdk-js").AnyNonPromise) => WithSources<Purchase> | undefined;
|
|
31
31
|
//# sourceMappingURL=Payload.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../../src/Purchase/Payload.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AAE1C,OAAO,KAAK,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAM1E,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAE5C,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,MAAM,EAAE,IAAI,EAAE,CAAA;IACd;;;OAGG;IACH,QAAQ,EAAE,IAAI,EAAE,CAAA;CACjB;AAED;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,kBAAkB,CAAC,cAAc,EAAE,cAAc,CAAC,CAAA;AAEzE;;GAEG;AACH,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../../src/Purchase/Payload.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AAE1C,OAAO,KAAK,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAM1E,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAE5C,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,MAAM,EAAE,IAAI,EAAE,CAAA;IACd;;;OAGG;IACH,QAAQ,EAAE,IAAI,EAAE,CAAA;CACjB;AAED;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,kBAAkB,CAAC,cAAc,EAAE,cAAc,CAAC,CAAA;AAEzE;;GAEG;AACH,eAAO,MAAM,UAAU,gCAAkD,CAAA;AACzE,eAAO,MAAM,UAAU,mDAA+C,CAAA;AACtE,eAAO,MAAM,kBAAkB,yEAAuD,CAAA;AAEtF;;GAEG;AACH,eAAO,MAAM,qBAAqB,6CAA6D,CAAA;AAC/F,eAAO,MAAM,qBAAqB,gEAAuE,CAAA;AACzG,eAAO,MAAM,6BAA6B,sFAA+E,CAAA"}
|
|
@@ -18,13 +18,13 @@ export type Receipt = PayloadWithSources<ReceiptFields, ReceiptSchema>;
|
|
|
18
18
|
/**
|
|
19
19
|
* Identity function for determine if an object is a Receipt
|
|
20
20
|
*/
|
|
21
|
-
export declare const isReceipt: (x?: unknown
|
|
21
|
+
export declare const isReceipt: (x?: unknown) => x is Receipt;
|
|
22
22
|
export declare const asReceipt: import("@xylabs/sdk-js").AsTypeFunction<Receipt>;
|
|
23
23
|
export declare const asOptionalReceipt: (value: import("@xylabs/sdk-js").AnyNonPromise) => Receipt | undefined;
|
|
24
24
|
/**
|
|
25
25
|
* Identity function for determine if an object is a Receipt with sources
|
|
26
26
|
*/
|
|
27
|
-
export declare const isReceiptWithSources: (x?: unknown
|
|
27
|
+
export declare const isReceiptWithSources: (x?: unknown) => x is WithSources<Receipt>;
|
|
28
28
|
export declare const asReceiptWithSources: import("@xylabs/sdk-js").AsTypeFunction<WithSources<Receipt>>;
|
|
29
29
|
export declare const asOptionalReceiptWithSources: (value: import("@xylabs/sdk-js").AnyNonPromise) => WithSources<Receipt> | undefined;
|
|
30
30
|
//# sourceMappingURL=Payload.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../../src/Receipt/Payload.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAM1E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAE3C,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,QAAQ,EAAE,iBAAiB,CAAA;CAC5B;AAED;;GAEG;AACH,MAAM,MAAM,OAAO,GAAG,kBAAkB,CAAC,aAAa,EAAE,aAAa,CAAC,CAAA;AAEtE;;GAEG;AACH,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../../src/Receipt/Payload.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAM1E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAE3C,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,QAAQ,EAAE,iBAAiB,CAAA;CAC5B;AAED;;GAEG;AACH,MAAM,MAAM,OAAO,GAAG,kBAAkB,CAAC,aAAa,EAAE,aAAa,CAAC,CAAA;AAEtE;;GAEG;AACH,eAAO,MAAM,SAAS,+BAAgD,CAAA;AACtE,eAAO,MAAM,SAAS,kDAA6C,CAAA;AACnE,eAAO,MAAM,iBAAiB,wEAAqD,CAAA;AAEnF;;GAEG;AACH,eAAO,MAAM,oBAAoB,4CAA2D,CAAA;AAC5F,eAAO,MAAM,oBAAoB,+DAAqE,CAAA;AACtG,eAAO,MAAM,4BAA4B,qFAA6E,CAAA"}
|
|
@@ -13,13 +13,13 @@ export type Subtotal = PayloadWithSources<SubtotalFields, SubtotalSchema>;
|
|
|
13
13
|
/**
|
|
14
14
|
* Identity function for determining if an object is an Subtotal
|
|
15
15
|
*/
|
|
16
|
-
export declare const isSubtotal: (x?: unknown
|
|
16
|
+
export declare const isSubtotal: (x?: unknown) => x is Subtotal;
|
|
17
17
|
export declare const asSubtotal: import("@xylabs/sdk-js").AsTypeFunction<Subtotal>;
|
|
18
18
|
export declare const asOptionalSubtotal: (value: import("@xylabs/sdk-js").AnyNonPromise) => Subtotal | undefined;
|
|
19
19
|
/**
|
|
20
20
|
* Identity function for determining if an object is an Subtotal with sources
|
|
21
21
|
*/
|
|
22
|
-
export declare const isSubtotalWithSources: (x?: unknown
|
|
22
|
+
export declare const isSubtotalWithSources: (x?: unknown) => x is WithSources<Subtotal>;
|
|
23
23
|
export declare const asSubtotalWithSources: import("@xylabs/sdk-js").AsTypeFunction<WithSources<Subtotal>>;
|
|
24
24
|
export declare const asOptionalSubtotalWithSources: (value: import("@xylabs/sdk-js").AnyNonPromise) => WithSources<Subtotal> | undefined;
|
|
25
25
|
//# sourceMappingURL=Payload.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../../../src/Subtotal/Diviner/Payload.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAO1E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEzD,eAAO,MAAM,cAAc;;CAAkD,CAAA;AAC7E,MAAM,MAAM,cAAc,GAAG,OAAO,cAAc,CAAA;AAElD,MAAM,WAAW,cAAe,SAAQ,YAAY;CAAG;AAEvD;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,kBAAkB,CAAC,cAAc,EAAE,cAAc,CAAC,CAAA;AAEzE;;GAEG;AACH,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../../../src/Subtotal/Diviner/Payload.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAO1E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEzD,eAAO,MAAM,cAAc;;CAAkD,CAAA;AAC7E,MAAM,MAAM,cAAc,GAAG,OAAO,cAAc,CAAA;AAElD,MAAM,WAAW,cAAe,SAAQ,YAAY;CAAG;AAEvD;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,kBAAkB,CAAC,cAAc,EAAE,cAAc,CAAC,CAAA;AAEzE;;GAEG;AACH,eAAO,MAAM,UAAU,gCAAkD,CAAA;AACzE,eAAO,MAAM,UAAU,mDAA+C,CAAA;AACtE,eAAO,MAAM,kBAAkB,yEAAuD,CAAA;AAEtF;;GAEG;AACH,eAAO,MAAM,qBAAqB,6CAA6D,CAAA;AAC/F,eAAO,MAAM,qBAAqB,gEAAuE,CAAA;AACzG,eAAO,MAAM,6BAA6B,sFAA+E,CAAA"}
|
|
@@ -13,13 +13,13 @@ export type Total = PayloadWithSources<TotalFields, TotalSchema>;
|
|
|
13
13
|
/**
|
|
14
14
|
* Identity function for determining if an object is an Total
|
|
15
15
|
*/
|
|
16
|
-
export declare const isTotal: (x?: unknown
|
|
16
|
+
export declare const isTotal: (x?: unknown) => x is Total;
|
|
17
17
|
export declare const asTotal: import("@xylabs/sdk-js").AsTypeFunction<Total>;
|
|
18
18
|
export declare const asOptionalTotal: (value: import("@xylabs/sdk-js").AnyNonPromise) => Total | undefined;
|
|
19
19
|
/**
|
|
20
20
|
* Identity function for determining if an object is an Total with sources
|
|
21
21
|
*/
|
|
22
|
-
export declare const isTotalWithSources: (x?: unknown
|
|
22
|
+
export declare const isTotalWithSources: (x?: unknown) => x is WithSources<Total>;
|
|
23
23
|
export declare const asTotalWithSources: import("@xylabs/sdk-js").AsTypeFunction<WithSources<Total>>;
|
|
24
24
|
export declare const asOptionalTotalWithSources: (value: import("@xylabs/sdk-js").AnyNonPromise) => WithSources<Total> | undefined;
|
|
25
25
|
//# sourceMappingURL=Payload.d.ts.map
|