@xyo-network/payment-payload-plugins 6.0.0 → 6.0.2

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.
Files changed (87) hide show
  1. package/dist/neutral/Amount/Payload.d.ts +3 -3
  2. package/dist/neutral/Amount/Payload.d.ts.map +1 -1
  3. package/dist/neutral/Billing/Address/Address.d.ts +3 -3
  4. package/dist/neutral/Billing/Address/Address.d.ts.map +1 -1
  5. package/dist/neutral/Discount/Config.d.ts +2 -4
  6. package/dist/neutral/Discount/Config.d.ts.map +1 -1
  7. package/dist/neutral/Discount/Params.d.ts +2 -4
  8. package/dist/neutral/Discount/Params.d.ts.map +1 -1
  9. package/dist/neutral/Discount/Payload/Coupon/Conditions/BuyerCondition.d.ts +3 -3
  10. package/dist/neutral/Discount/Payload/Coupon/Conditions/BuyerCondition.d.ts.map +1 -1
  11. package/dist/neutral/Discount/Payload/Coupon/Coupons/FixedAmount.d.ts +3 -3
  12. package/dist/neutral/Discount/Payload/Coupon/Coupons/FixedAmount.d.ts.map +1 -1
  13. package/dist/neutral/Discount/Payload/Coupon/Coupons/FixedPercentage.d.ts +3 -3
  14. package/dist/neutral/Discount/Payload/Coupon/Coupons/FixedPercentage.d.ts.map +1 -1
  15. package/dist/neutral/Discount/Payload/Coupon/Coupons/FixedPrice.d.ts +3 -3
  16. package/dist/neutral/Discount/Payload/Coupon/Coupons/FixedPrice.d.ts.map +1 -1
  17. package/dist/neutral/Discount/Payload/Coupon/Payload.d.ts +3 -3
  18. package/dist/neutral/Discount/Payload/Coupon/Payload.d.ts.map +1 -1
  19. package/dist/neutral/Discount/Payload/Coupon/types/Condition.d.ts +3 -3
  20. package/dist/neutral/Discount/Payload/Coupon/types/Condition.d.ts.map +1 -1
  21. package/dist/neutral/Discount/Payload/Coupon/types/isStackable.d.ts +1 -1
  22. package/dist/neutral/Discount/Payload/Coupon/types/isStackable.d.ts.map +1 -1
  23. package/dist/neutral/Discount/Payload/Discount.d.ts +3 -3
  24. package/dist/neutral/Discount/Payload/Discount.d.ts.map +1 -1
  25. package/dist/neutral/Escrow/Outcome.d.ts +3 -3
  26. package/dist/neutral/Escrow/Outcome.d.ts.map +1 -1
  27. package/dist/neutral/Escrow/Terms/Terms.d.ts +9 -9
  28. package/dist/neutral/Escrow/Terms/Terms.d.ts.map +1 -1
  29. package/dist/neutral/Escrow/util/appraisal/getAppraisalsByAsset.d.ts +1 -1
  30. package/dist/neutral/Escrow/util/appraisal/getAppraisalsByAsset.d.ts.map +1 -1
  31. package/dist/neutral/Escrow/util/appraisal/getSignaturesByAppraisal.d.ts +1 -2
  32. package/dist/neutral/Escrow/util/appraisal/getSignaturesByAppraisal.d.ts.map +1 -1
  33. package/dist/neutral/Escrow/util/secret/createEscrowIntent.d.ts +4 -5
  34. package/dist/neutral/Escrow/util/secret/createEscrowIntent.d.ts.map +1 -1
  35. package/dist/neutral/Escrow/util/secret/findEscrowPartySecretSignatures.d.ts +1 -2
  36. package/dist/neutral/Escrow/util/secret/findEscrowPartySecretSignatures.d.ts.map +1 -1
  37. package/dist/neutral/Escrow/util/secret/updateEscrowTermsWithSecret.d.ts +4 -5
  38. package/dist/neutral/Escrow/util/secret/updateEscrowTermsWithSecret.d.ts.map +1 -1
  39. package/dist/neutral/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.ts +1 -2
  40. package/dist/neutral/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.ts.map +1 -1
  41. package/dist/neutral/Escrow/validators/common/SecretValidators/getPartySecretSignedValidator.d.ts +1 -1
  42. package/dist/neutral/Escrow/validators/common/SecretValidators/getPartySecretSignedValidator.d.ts.map +1 -1
  43. package/dist/neutral/Escrow/validators/escrow/agent.d.ts +1 -2
  44. package/dist/neutral/Escrow/validators/escrow/agent.d.ts.map +1 -1
  45. package/dist/neutral/Escrow/validators/escrow/appraisal.d.ts +1 -1
  46. package/dist/neutral/Escrow/validators/escrow/appraisal.d.ts.map +1 -1
  47. package/dist/neutral/Escrow/validators/escrow/appraisalAuthorities.d.ts +1 -2
  48. package/dist/neutral/Escrow/validators/escrow/appraisalAuthorities.d.ts.map +1 -1
  49. package/dist/neutral/Escrow/validators/escrow/assets.d.ts +1 -1
  50. package/dist/neutral/Escrow/validators/escrow/assets.d.ts.map +1 -1
  51. package/dist/neutral/Escrow/validators/escrow/buyer.d.ts +1 -1
  52. package/dist/neutral/Escrow/validators/escrow/buyer.d.ts.map +1 -1
  53. package/dist/neutral/Escrow/validators/escrow/buyerSecret.d.ts +1 -1
  54. package/dist/neutral/Escrow/validators/escrow/buyerSecret.d.ts.map +1 -1
  55. package/dist/neutral/Escrow/validators/escrow/nbfExp.d.ts +1 -1
  56. package/dist/neutral/Escrow/validators/escrow/nbfExp.d.ts.map +1 -1
  57. package/dist/neutral/Escrow/validators/escrow/paymentAuthorities.d.ts +1 -2
  58. package/dist/neutral/Escrow/validators/escrow/paymentAuthorities.d.ts.map +1 -1
  59. package/dist/neutral/Escrow/validators/escrow/seller.d.ts +1 -1
  60. package/dist/neutral/Escrow/validators/escrow/seller.d.ts.map +1 -1
  61. package/dist/neutral/Escrow/validators/escrow/sellerSecret.d.ts +1 -1
  62. package/dist/neutral/Escrow/validators/escrow/sellerSecret.d.ts.map +1 -1
  63. package/dist/neutral/Payment/Instrument/Card/Payload.d.ts +3 -3
  64. package/dist/neutral/Payment/Instrument/Card/Payload.d.ts.map +1 -1
  65. package/dist/neutral/Payment/Payload.d.ts +3 -3
  66. package/dist/neutral/Payment/Payload.d.ts.map +1 -1
  67. package/dist/neutral/Payment/Status/Payload.d.ts +3 -3
  68. package/dist/neutral/Payment/Status/Payload.d.ts.map +1 -1
  69. package/dist/neutral/Purchase/Payload.d.ts +3 -3
  70. package/dist/neutral/Purchase/Payload.d.ts.map +1 -1
  71. package/dist/neutral/Receipt/Payload.d.ts +3 -3
  72. package/dist/neutral/Receipt/Payload.d.ts.map +1 -1
  73. package/dist/neutral/Subtotal/Diviner/Config.d.ts +1 -1
  74. package/dist/neutral/Subtotal/Diviner/Config.d.ts.map +1 -1
  75. package/dist/neutral/Subtotal/Diviner/Params.d.ts +1 -2
  76. package/dist/neutral/Subtotal/Diviner/Params.d.ts.map +1 -1
  77. package/dist/neutral/Subtotal/Diviner/Payload.d.ts +3 -3
  78. package/dist/neutral/Subtotal/Diviner/Payload.d.ts.map +1 -1
  79. package/dist/neutral/Total/Diviner/Config.d.ts +1 -2
  80. package/dist/neutral/Total/Diviner/Config.d.ts.map +1 -1
  81. package/dist/neutral/Total/Diviner/Params.d.ts +1 -2
  82. package/dist/neutral/Total/Diviner/Params.d.ts.map +1 -1
  83. package/dist/neutral/Total/Diviner/Payload.d.ts +3 -3
  84. package/dist/neutral/Total/Diviner/Payload.d.ts.map +1 -1
  85. package/dist/neutral/index.mjs +42 -40
  86. package/dist/neutral/index.mjs.map +2 -2
  87. package/package.json +18 -66
@@ -1,4 +1,4 @@
1
- import type { PayloadWithSources, WithSources } from '@xyo-network/payload-model';
1
+ import type { PayloadWithSources, WithSources } from '@xyo-network/sdk-js';
2
2
  import type { Iso4217AlphabeticalCode } from './Iso4217Currency.ts';
3
3
  export declare const AmountSchema: "network.xyo.payments.amount" & {
4
4
  readonly __schema: true;
@@ -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 | null) => x is Amount;
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 | null) => x is WithSources<Amount>;
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,4BAA4B,CAAA;AAOjF,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,qCAA8C,CAAA;AACnE,eAAO,MAAM,QAAQ,iDAA2C,CAAA;AAChE,eAAO,MAAM,gBAAgB,uEAAmD,CAAA;AAEhF;;GAEG;AACH,eAAO,MAAM,mBAAmB,kDAAyD,CAAA;AACzF,eAAO,MAAM,mBAAmB,8DAAmE,CAAA;AACnG,eAAO,MAAM,2BAA2B,oFAA2E,CAAA"}
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"}
@@ -1,4 +1,4 @@
1
- import type { Payload, WithSources } from '@xyo-network/payload-model';
1
+ import type { Payload, WithSources } from '@xyo-network/sdk-js';
2
2
  import { BillingAddressSchema } from './Schema.ts';
3
3
  /**
4
4
  * The fields describing a billing address.
@@ -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 | null) => x is BillingAddress;
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 | null) => x is WithSources<BillingAddress>;
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,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,yDAA2D,CAAA;AACxF,eAAO,MAAM,wBAAwB,+EAAmE,CAAA;AAExG;;GAEG;AACH,eAAO,MAAM,2BAA2B,0DAAyE,CAAA;AACjH,eAAO,MAAM,2BAA2B,sEAAmF,CAAA;AAC3H,eAAO,MAAM,mCAAmC,4FAA2F,CAAA"}
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,6 +1,4 @@
1
- import type { Address } from '@xylabs/sdk-js';
2
- import type { DivinerConfig } from '@xyo-network/diviner-model';
3
- import type { ModuleIdentifier } from '@xyo-network/module-model';
1
+ import type { DivinerConfig, ModuleIdentifier, XyoAddress } from '@xyo-network/sdk-js';
4
2
  export declare const PaymentDiscountDivinerConfigSchema: "network.xyo.diviner.payments.discount.config" & {
5
3
  readonly __schema: true;
6
4
  };
@@ -16,7 +14,7 @@ export type PaymentDiscountDivinerConfig = DivinerConfig<{
16
14
  /**
17
15
  * The list of coupon authorities that can be used to get a discount
18
16
  */
19
- couponAuthorities?: Address[];
17
+ couponAuthorities?: XyoAddress[];
20
18
  /**
21
19
  * The Diviner that can be used to determine the subtotal to apply discounts to
22
20
  */
@@ -1 +1 @@
1
- {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../../src/Discount/Config.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC/D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAGjE,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,OAAO,EAAE,CAAA;IAO7B;;OAEG;IACH,sBAAsB,CAAC,EAAE,gBAAgB,CAAA;CAC1C,EACD,kCAAkC,CACnC,CAAA"}
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,11 +1,9 @@
1
- import type { Address } from '@xylabs/sdk-js';
2
- import type { DivinerParams } from '@xyo-network/diviner-model';
3
- import type { AnyConfigSchema } from '@xyo-network/module-model';
1
+ import type { AnyConfigSchema, DivinerParams, XyoAddress } from '@xyo-network/sdk-js';
4
2
  import type { PaymentDiscountDivinerConfig } from './Config.ts';
5
3
  export interface PaymentDiscountDivinerParams<TConfig extends AnyConfigSchema<PaymentDiscountDivinerConfig> = AnyConfigSchema<PaymentDiscountDivinerConfig>> extends DivinerParams<TConfig> {
6
4
  /**
7
5
  * The list of coupon authorities that can be used to get a discount
8
6
  */
9
- couponAuthorities?: Address[];
7
+ couponAuthorities?: XyoAddress[];
10
8
  }
11
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,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAC7C,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,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,OAAO,EAAE,CAAA;CAC9B"}
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 { Address } from '@xylabs/sdk-js';
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: Address;
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: Address) => BuyerCondition;
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,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAC7C,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,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"}
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"}
@@ -1,4 +1,4 @@
1
- import type { Payload, WithSources } from '@xyo-network/payload-model';
1
+ import type { Payload, WithSources } from '@xyo-network/sdk-js';
2
2
  import type { AmountFields } from '../../../../Amount/index.ts';
3
3
  import type { CouponFields } from '../types/index.ts';
4
4
  export declare const FixedAmountCouponSchema: string & {
@@ -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 | null) => x is FixedAmountCoupon;
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 | null) => x is WithSources<WithSources<FixedAmountCoupon>>;
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,4BAA4B,CAAA;AAOtE,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,gDAAoE,CAAA;AACpG,eAAO,MAAM,mBAAmB,4DAAiE,CAAA;AACjG,eAAO,MAAM,2BAA2B,kFAAyE,CAAA;AAEjH;;EAEE;AACF,eAAO,MAAM,8BAA8B,0EAA4F,CAAA;AACvI,eAAO,MAAM,8BAA8B,yEAAyF,CAAA;AACpI,eAAO,MAAM,sCAAsC,+FAAiG,CAAA"}
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"}
@@ -1,4 +1,4 @@
1
- import type { Payload, WithSources } from '@xyo-network/payload-model';
1
+ import type { Payload, WithSources } from '@xyo-network/sdk-js';
2
2
  import type { CouponFields } from '../types/index.ts';
3
3
  export declare const FixedPercentageCouponSchema: string & {
4
4
  readonly __schema: true;
@@ -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 | null) => x is FixedPercentageCoupon;
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 | null) => x is WithSources<WithSources<FixedPercentageCoupon>>;
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,4BAA4B,CAAA;AAQtE,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,oDAA4E,CAAA;AAChH,eAAO,MAAM,uBAAuB,gEAAyE,CAAA;AAC7G,eAAO,MAAM,+BAA+B,sFAAiF,CAAA;AAE7H;;EAEE;AACF,eAAO,MAAM,kCAAkC,8EAAoG,CAAA;AACnJ,eAAO,MAAM,kCAAkC,6EAAiG,CAAA;AAChJ,eAAO,MAAM,0CAA0C,mGAAyG,CAAA"}
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"}
@@ -1,4 +1,4 @@
1
- import type { Payload, WithSources } from '@xyo-network/payload-model';
1
+ import type { Payload, WithSources } from '@xyo-network/sdk-js';
2
2
  import type { AmountFields } from '../../../../Amount/index.ts';
3
3
  import type { CouponFields } from '../types/index.ts';
4
4
  export declare const FixedPriceCouponSchema: string & {
@@ -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 | null) => x is FixedPriceCoupon;
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 | null) => x is WithSources<WithSources<FixedPriceCoupon>>;
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,4BAA4B,CAAA;AAOtE,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,+CAAkE,CAAA;AACjG,eAAO,MAAM,kBAAkB,2DAA+D,CAAA;AAC9F,eAAO,MAAM,0BAA0B,iFAAuE,CAAA;AAE9G;;EAEE;AACF,eAAO,MAAM,6BAA6B,yEAA0F,CAAA;AACpI,eAAO,MAAM,6BAA6B,wEAAuF,CAAA;AACjI,eAAO,MAAM,qCAAqC,8FAA+F,CAAA"}
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"}
@@ -6,11 +6,11 @@ export type Coupon = FixedAmountCoupon | FixedPercentageCoupon | FixedPriceCoupo
6
6
  /**
7
7
  * Identity function for determining if an object is an Coupon
8
8
  */
9
- export declare const isCoupon: (x?: unknown | null) => x is FixedAmountCoupon | FixedPercentageCoupon | FixedPriceCoupon;
9
+ export declare const isCoupon: (x?: unknown) => x is FixedAmountCoupon | FixedPercentageCoupon | FixedPriceCoupon;
10
10
  export declare const asCoupon: import("@xylabs/sdk-js").AsTypeFunction<FixedAmountCoupon | FixedPercentageCoupon | FixedPriceCoupon>;
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 | 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>>;
15
- export declare const asCouponWithSources: import("@xylabs/sdk-js").AsTypeFunction<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>>>;
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,GAAG,IAAI,sEAGjB,CAAA;AAC1B,eAAO,MAAM,QAAQ,uGAAmC,CAAA;AAExD;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAAI,IAAI,OAAO,GAAG,IAAI,kXAGjB,CAAA;AACrC,eAAO,MAAM,mBAAmB,mZAA8C,CAAA"}
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 | null) => x is SchemaPayload;
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 | null) => x is import("@xyo-network/payload-model").WithSources<SchemaPayload>;
15
- export declare const asConditionWithSources: import("@xylabs/sdk-js").AsTypeFunction<import("@xyo-network/payload-model").WithSources<SchemaPayload>>;
14
+ export declare const isConditionWithSources: (x?: unknown) => x is import("@xyo-network/sdk-js").WithSources<SchemaPayload>;
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":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAGxD;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,aAAa,CAAA;AAErC;;GAEG;AACH,eAAO,MAAM,WAAW,4CAAiD,CAAA;AACzE,eAAO,MAAM,WAAW,wDAAsC,CAAA;AAE9D;;EAEE;AACF,eAAO,MAAM,sBAAsB,8FAA4D,CAAA;AAC/F,eAAO,MAAM,sBAAsB,0GAAiD,CAAA"}
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"}
@@ -1,5 +1,5 @@
1
1
  /**
2
2
  * Identity function for determining if coupon is stackable
3
3
  */
4
- export declare const isStackable: (x?: unknown | null) => boolean | undefined;
4
+ export declare const isStackable: (x?: unknown) => boolean | undefined;
5
5
  //# sourceMappingURL=isStackable.d.ts.map
@@ -1 +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"}
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,wBAA2D,CAAA"}
@@ -1,4 +1,4 @@
1
- import type { Payload, WithSources } from '@xyo-network/payload-model';
1
+ import type { Payload, WithSources } from '@xyo-network/sdk-js';
2
2
  import type { AmountFields } from '../../Amount/index.ts';
3
3
  export declare const DiscountSchema: "network.xyo.payments.discount" & {
4
4
  readonly __schema: true;
@@ -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 | null) => x is Discount;
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 | null) => x is WithSources<Discount>;
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,4BAA4B,CAAA;AAOtE,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,uCAAkD,CAAA;AACzE,eAAO,MAAM,UAAU,mDAA+C,CAAA;AACtE,eAAO,MAAM,kBAAkB,yEAAuD,CAAA;AAEtF;;GAEG;AACH,eAAO,MAAM,qBAAqB,oDAA6D,CAAA;AAC/F,eAAO,MAAM,qBAAqB,gEAAuE,CAAA;AACzG,eAAO,MAAM,6BAA6B,sFAA+E,CAAA"}
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"}
@@ -1,5 +1,5 @@
1
1
  import type { Hash } from '@xylabs/sdk-js';
2
- import type { PayloadWithSources, WithSources } from '@xyo-network/payload-model';
2
+ import type { PayloadWithSources, WithSources } from '@xyo-network/sdk-js';
3
3
  export declare const EscrowOutcomeSchema: string & {
4
4
  readonly __schema: true;
5
5
  };
@@ -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 | null) => x is EscrowOutcome;
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 | null) => x is WithSources<EscrowOutcome>;
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,4BAA4B,CAAA;AASjF,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,4CAA4D,CAAA;AACxF,eAAO,MAAM,eAAe,wDAAyD,CAAA;AACrF,eAAO,MAAM,uBAAuB,8EAAiE,CAAA;AAErG;;GAEG;AACH,eAAO,MAAM,0BAA0B,yDAAuE,CAAA;AAC9G,eAAO,MAAM,0BAA0B,2FAAyF,CAAA;AAChI,eAAO,MAAM,kCAAkC,2FAAyF,CAAA"}
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 { Address, Hash } from '@xylabs/sdk-js';
2
- import type { Payload } from '@xyo-network/payload-model';
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: Address[];
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: Address[];
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: Address;
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: Address[];
47
+ paymentAuthorities: XyoAddress[];
48
48
  /**
49
49
  * The seller
50
50
  */
51
- seller: Address[];
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 | null) => x is EscrowTerms;
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 | null) => x is import("@xyo-network/payload-model").WithSources<EscrowTerms>;
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,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AAEnD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAOzD,eAAO,MAAM,iBAAiB;;CAA0C,CAAA;AACxE,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAA;AAGxD,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,oBAAoB,EAAE,OAAO,EAAE,CAAA;IAC/B;;OAEG;IACH,UAAU,EAAE,IAAI,EAAE,CAAA;IAClB;;OAEG;IACH,MAAM,EAAE,IAAI,EAAE,CAAA;IACd;;OAEG;IACH,KAAK,EAAE,OAAO,EAAE,CAAA;IAChB;;OAEG;IACH,WAAW,EAAE,IAAI,CAAA;IACjB;;OAEG;IACH,SAAS,EAAE,IAAI,EAAE,CAAA;IACjB;;OAEG;IACH,WAAW,EAAE,OAAO,CAAA;IACpB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAA;IACX;;OAEG;IACH,GAAG,EAAE,MAAM,CAAA;IACX;;OAEG;IACH,kBAAkB,EAAE,OAAO,EAAE,CAAA;IAC7B;;OAEG;IACH,MAAM,EAAE,OAAO,EAAE,CAAA;IACjB;;OAEG;IACH,YAAY,EAAE,IAAI,CAAA;CACnB;AAED;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,OAAO,CAAC,iBAAiB,CAAC,EAAE,iBAAiB,CAAC,CAAA;AAEhF;;GAEG;AACH,eAAO,MAAM,aAAa,0CAAwD,CAAA;AAClF,eAAO,MAAM,aAAa,sDAAqD,CAAA;AAC/E,eAAO,MAAM,qBAAqB,4EAA6D,CAAA;AAE/F;;GAEG;AACH,eAAO,MAAM,wBAAwB,4FAAmE,CAAA;AACxG,eAAO,MAAM,wBAAwB,sDAAgE,CAAA;AACrG,eAAO,MAAM,gCAAgC,4EAAwE,CAAA"}
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"}
@@ -1,6 +1,6 @@
1
1
  import type { Hash } from '@xylabs/sdk-js';
2
2
  import type { HashLeaseEstimate } from '@xyo-network/diviner-hash-lease';
3
- import type { Payload, WithSources } from '@xyo-network/payload-model';
3
+ import type { Payload, WithSources } from '@xyo-network/sdk-js';
4
4
  import type { EscrowTerms } from '../../Terms/index.ts';
5
5
  /**
6
6
  * Returns a dictionary of asset hashes and their associated appraisals
@@ -1 +1 @@
1
- {"version":3,"file":"getAppraisalsByAsset.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/util/appraisal/getAppraisalsByAsset.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AAC1C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAA;AAExE,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAEtE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAEvD;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,GAAI,OAAO,WAAW,EAAE,YAAY,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,KAAG,MAAM,CAAC,IAAI,EAAE,WAAW,CAAC,iBAAiB,CAAC,EAAE,CAkBzI,CAAA"}
1
+ {"version":3,"file":"getAppraisalsByAsset.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/util/appraisal/getAppraisalsByAsset.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AAC1C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAA;AAExE,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAE/D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAEvD;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,GAAI,OAAO,WAAW,EAAE,YAAY,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,KAAG,MAAM,CAAC,IAAI,EAAE,WAAW,CAAC,iBAAiB,CAAC,EAAE,CAkBzI,CAAA"}
@@ -1,6 +1,5 @@
1
1
  import type { Hash } from '@xylabs/sdk-js';
2
- import type { BoundWitness } from '@xyo-network/boundwitness-model';
3
- import type { Payload } from '@xyo-network/payload-model';
2
+ import type { BoundWitness, Payload } from '@xyo-network/sdk-js';
4
3
  import type { EscrowTerms } from '../../Terms/index.ts';
5
4
  /**
6
5
  * Returns a dictionary of appraisals and their associated bound witnesses which are signed by
@@ -1 +1 @@
1
- {"version":3,"file":"getSignaturesByAppraisal.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/util/appraisal/getSignaturesByAppraisal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AAC1C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAA;AAEnE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAEvD;;;;;;GAMG;AACH,eAAO,MAAM,wBAAwB,GACnC,OAAO,WAAW,EAClB,YAAY,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,KAChC,MAAM,CAAC,IAAI,EAAE,YAAY,EAAE,CAsB7B,CAAA"}
1
+ {"version":3,"file":"getSignaturesByAppraisal.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/util/appraisal/getSignaturesByAppraisal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AAC1C,OAAO,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAGhE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAEvD;;;;;;GAMG;AACH,eAAO,MAAM,wBAAwB,GACnC,OAAO,WAAW,EAClB,YAAY,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,KAChC,MAAM,CAAC,IAAI,EAAE,YAAY,EAAE,CAsB7B,CAAA"}
@@ -1,5 +1,4 @@
1
- import type { AccountInstance } from '@xyo-network/account-model';
2
- import type { Id } from '@xyo-network/sdk-js';
1
+ import type { AccountInstance, Id } from '@xyo-network/sdk-js';
3
2
  import type { EscrowTerms } from '../../Terms/index.ts';
4
3
  /**
5
4
  * Creates an escrow intent (for a buyer or seller) using the supplied secret
@@ -12,16 +11,16 @@ export declare const createEscrowIntentWithSecret: (terms: EscrowTerms, secret:
12
11
  schema: "network.xyo.boundwitness" & {
13
12
  readonly __schema: true;
14
13
  };
15
- addresses: (Lowercase<string> & {
14
+ addresses: (import("@xyo-network/sdk-js").XyoQuant1Address | (Lowercase<string> & {
16
15
  readonly __hex: true;
17
16
  } & {
18
17
  readonly __address: true;
19
- })[];
18
+ }))[];
20
19
  payload_hashes: import("@xylabs/sdk-js").BrandedHash[];
21
20
  payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
22
21
  previous_hashes: (import("@xylabs/sdk-js").BrandedHash | null)[];
23
22
  $signatures: (import("@xylabs/sdk-js").BrandedHex | null)[];
24
- $destination?: (Lowercase<string> & {
23
+ $destination?: import("@xyo-network/sdk-js").XyoQuant1Address | (Lowercase<string> & {
25
24
  readonly __hex: true;
26
25
  } & {
27
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,MAAM,4BAA4B,CAAA;AAEjE,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,qBAAqB,CAAA;AAE7C,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"}
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"}
@@ -1,6 +1,5 @@
1
1
  import type { Hash } from '@xylabs/sdk-js';
2
- import type { BoundWitness } from '@xyo-network/boundwitness-model';
3
- import type { Payload } from '@xyo-network/payload-model';
2
+ import type { BoundWitness, Payload } from '@xyo-network/sdk-js';
4
3
  import type { EscrowParty, EscrowTerms } from '../../Terms/index.ts';
5
4
  /**
6
5
  * Returns an array of BoundWitnesses containing the secret signed by all the parties
@@ -1 +1 @@
1
- {"version":3,"file":"findEscrowPartySecretSignatures.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/util/secret/findEscrowPartySecretSignatures.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AAC1C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAA;AAEnE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEzD,OAAO,KAAK,EACV,WAAW,EAAqB,WAAW,EAC5C,MAAM,sBAAsB,CAAA;AAW7B;;;;;;GAMG;AACH,eAAO,MAAM,+BAA+B,GAAI,OAAO,WAAW,EAAE,YAAY,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,EAAE,OAAO,WAAW,KAAG,YAAY,EAqBvI,CAAA"}
1
+ {"version":3,"file":"findEscrowPartySecretSignatures.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/util/secret/findEscrowPartySecretSignatures.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AAC1C,OAAO,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAGhE,OAAO,KAAK,EACV,WAAW,EAAqB,WAAW,EAC5C,MAAM,sBAAsB,CAAA;AAW7B;;;;;;GAMG;AACH,eAAO,MAAM,+BAA+B,GAAI,OAAO,WAAW,EAAE,YAAY,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,EAAE,OAAO,WAAW,KAAG,YAAY,EAqBvI,CAAA"}
@@ -1,5 +1,4 @@
1
- import type { AccountInstance } from '@xyo-network/account-model';
2
- import type { Id } from '@xyo-network/sdk-js';
1
+ import type { AccountInstance, Id } from '@xyo-network/sdk-js';
3
2
  import type { EscrowParty, EscrowTerms } from '../../Terms/index.ts';
4
3
  /**
5
4
  * Creates an escrow intent (for a buyer or seller) using the supplied secret
@@ -14,16 +13,16 @@ export declare const updateEscrowTermsWithSecret: (terms: EscrowTerms, escrowPar
14
13
  schema: "network.xyo.boundwitness" & {
15
14
  readonly __schema: true;
16
15
  };
17
- addresses: (Lowercase<string> & {
16
+ addresses: (import("@xyo-network/sdk-js").XyoQuant1Address | (Lowercase<string> & {
18
17
  readonly __hex: true;
19
18
  } & {
20
19
  readonly __address: true;
21
- })[];
20
+ }))[];
22
21
  payload_hashes: import("@xylabs/sdk-js").BrandedHash[];
23
22
  payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
24
23
  previous_hashes: (import("@xylabs/sdk-js").BrandedHash | null)[];
25
24
  $signatures: (import("@xylabs/sdk-js").BrandedHex | null)[];
26
- $destination?: (Lowercase<string> & {
25
+ $destination?: import("@xyo-network/sdk-js").XyoQuant1Address | (Lowercase<string> & {
27
26
  readonly __hex: true;
28
27
  } & {
29
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,MAAM,4BAA4B,CAAA;AAEjE,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,qBAAqB,CAAA;AAG7C,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"}
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"}
@@ -1,5 +1,4 @@
1
- import type { ModuleIdentifier } from '@xyo-network/module-model';
2
- import type { PayloadValueExpression } from '@xyo-network/payload-model';
1
+ import type { ModuleIdentifier, PayloadValueExpression } from '@xyo-network/sdk-js';
3
2
  import type { EscrowTerms } from '../../../Terms/index.ts';
4
3
  /**
5
4
  * Checks if property value of the escrow terms contains one of the valid moduleIdentifiers
@@ -1 +1 @@
1
- {"version":3,"file":"moduleInstanceValidators.d.ts","sourceRoot":"","sources":["../../../../../../src/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AACjE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAA;AAExE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAE1D;;;;;;;GAOG;AACH,eAAO,MAAM,8BAA8B,GACzC,aAAa,WAAW,EACxB,oBAAoB,sBAAsB,CAAC,WAAW,EAAE,sBAAsB,GAAG,OAAO,GAAG,aAAa,GAAG,oBAAoB,GAAG,QAAQ,CAAC,EAC3I,mBAAmB,gBAAgB,EAAE,EACrC,kBAAe,YAQhB,CAAA;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,8BAA8B,GACzC,aAAa,WAAW,EACxB,UAAU,sBAAsB,CAAC,WAAW,EAAE,sBAAsB,GAAG,OAAO,GAAG,aAAa,GAAG,oBAAoB,GAAG,QAAQ,CAAC,EACjI,mBAAmB,gBAAgB,EAAE,EACrC,kBAAe,YAQhB,CAAA"}
1
+ {"version":3,"file":"moduleInstanceValidators.d.ts","sourceRoot":"","sources":["../../../../../../src/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAA;AAEnF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAE1D;;;;;;;GAOG;AACH,eAAO,MAAM,8BAA8B,GACzC,aAAa,WAAW,EACxB,oBAAoB,sBAAsB,CAAC,WAAW,EAAE,sBAAsB,GAAG,OAAO,GAAG,aAAa,GAAG,oBAAoB,GAAG,QAAQ,CAAC,EAC3I,mBAAmB,gBAAgB,EAAE,EACrC,kBAAe,YAQhB,CAAA;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,8BAA8B,GACzC,aAAa,WAAW,EACxB,UAAU,sBAAsB,CAAC,WAAW,EAAE,sBAAsB,GAAG,OAAO,GAAG,aAAa,GAAG,oBAAoB,GAAG,QAAQ,CAAC,EACjI,mBAAmB,gBAAgB,EAAE,EACrC,kBAAe,YAQhB,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import type { Hash } from '@xylabs/sdk-js';
2
- import type { AsyncPayloadValidationFunction, Payload } from '@xyo-network/payload-model';
2
+ import type { AsyncPayloadValidationFunction, Payload } from '@xyo-network/sdk-js';
3
3
  import type { EscrowParty, EscrowTerms } from '../../../Terms/index.ts';
4
4
  /**
5
5
  * Returns a function that validates the escrow terms for the existence of the party secret signed by the party
@@ -1 +1 @@
1
- {"version":3,"file":"getPartySecretSignedValidator.d.ts","sourceRoot":"","sources":["../../../../../../src/Escrow/validators/common/SecretValidators/getPartySecretSignedValidator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AAE1C,OAAO,KAAK,EAAE,8BAA8B,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEzF,OAAO,KAAK,EACV,WAAW,EAAqB,WAAW,EAC5C,MAAM,yBAAyB,CAAA;AAahC;;;;GAIG;AACH,eAAO,MAAM,6BAA6B,GAAI,YAAY,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,EAAE,OAAO,WAAW,KAAG,8BAA8B,CAAC,WAAW,CAqB/I,CAAA"}
1
+ {"version":3,"file":"getPartySecretSignedValidator.d.ts","sourceRoot":"","sources":["../../../../../../src/Escrow/validators/common/SecretValidators/getPartySecretSignedValidator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AAC1C,OAAO,KAAK,EAAE,8BAA8B,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAGlF,OAAO,KAAK,EACV,WAAW,EAAqB,WAAW,EAC5C,MAAM,yBAAyB,CAAA;AAahC;;;;GAIG;AACH,eAAO,MAAM,6BAA6B,GAAI,YAAY,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,EAAE,OAAO,WAAW,KAAG,8BAA8B,CAAC,WAAW,CAqB/I,CAAA"}
@@ -1,5 +1,4 @@
1
- import type { ModuleIdentifier } from '@xyo-network/module-model';
2
- import type { SyncPayloadValidationFunction } from '@xyo-network/payload-model';
1
+ import type { ModuleIdentifier, SyncPayloadValidationFunction } from '@xyo-network/sdk-js';
3
2
  import type { EscrowTerms } from '../../Terms/index.ts';
4
3
  export declare const getEscrowAgentAllowedValidator: (allowedEscrowAgent: ModuleIdentifier) => SyncPayloadValidationFunction<EscrowTerms>;
5
4
  //# sourceMappingURL=agent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/agent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AACjE,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,4BAA4B,CAAA;AAE/E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAKvD,eAAO,MAAM,8BAA8B,GAAI,oBAAoB,gBAAgB,KAAG,6BAA6B,CAAC,WAAW,CAQ9H,CAAA"}
1
+ {"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/validators/escrow/agent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,6BAA6B,EAAE,MAAM,qBAAqB,CAAA;AAE1F,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAKvD,eAAO,MAAM,8BAA8B,GAAI,oBAAoB,gBAAgB,KAAG,6BAA6B,CAAC,WAAW,CAQ9H,CAAA"}