@wix/auto_sdk_ecom_subscription-contracts 1.0.28 → 1.0.30

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 (17) hide show
  1. package/build/cjs/src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.types.d.ts +13 -19
  2. package/build/cjs/src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.types.js.map +1 -1
  3. package/build/cjs/src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.universal.d.ts +21 -35
  4. package/build/cjs/src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.universal.js.map +1 -1
  5. package/build/es/src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.types.d.ts +13 -19
  6. package/build/es/src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.types.js.map +1 -1
  7. package/build/es/src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.universal.d.ts +21 -35
  8. package/build/es/src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.universal.js.map +1 -1
  9. package/build/internal/cjs/src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.types.d.ts +13 -19
  10. package/build/internal/cjs/src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.types.js.map +1 -1
  11. package/build/internal/cjs/src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.universal.d.ts +21 -35
  12. package/build/internal/cjs/src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.universal.js.map +1 -1
  13. package/build/internal/es/src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.types.d.ts +13 -19
  14. package/build/internal/es/src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.types.js.map +1 -1
  15. package/build/internal/es/src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.universal.d.ts +21 -35
  16. package/build/internal/es/src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.universal.js.map +1 -1
  17. package/package.json +2 -2
@@ -889,14 +889,16 @@ export declare enum WeightUnit {
889
889
  }
890
890
  export interface CurrencyConversionDetails {
891
891
  /**
892
- * Original currency used to calculate the pricing before conversion to payment currency set on the order [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes) format.
892
+ * Currency used for the pricing of this order, in [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes) format.
893
+ *
894
+ * This currency is used to calculate the pricing before conversion to the buyer's payment currency.
893
895
  * @readonly
894
896
  * @immutable
895
897
  * @format CURRENCY
896
898
  */
897
899
  originalCurrency?: string | null;
898
900
  /**
899
- * The rate used when converting from the original currency to the payment currency.
901
+ * The rate used for converting the original currency to the currency used for payment.
900
902
  * @readonly
901
903
  * @immutable
902
904
  * @decimalValue options { gt:0, lte:1000000000000000 }
@@ -1597,25 +1599,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
1597
1599
  updatedEvent?: EntityUpdatedEvent;
1598
1600
  deletedEvent?: EntityDeletedEvent;
1599
1601
  actionEvent?: ActionEvent;
1600
- /**
1601
- * Unique event ID.
1602
- * Allows clients to ignore duplicate webhooks.
1603
- */
1602
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
1604
1603
  id?: string;
1605
1604
  /**
1606
- * Assumes actions are also always typed to an entity_type
1607
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
1605
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
1606
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
1608
1607
  */
1609
1608
  entityFqdn?: string;
1610
1609
  /**
1611
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
1612
- * This is although the created/updated/deleted notion is duplication of the oneof types
1613
- * Example: created/updated/deleted/started/completed/email_opened
1610
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
1611
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
1614
1612
  */
1615
1613
  slug?: string;
1616
1614
  /** ID of the entity associated with the event. */
1617
1615
  entityId?: string;
1618
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
1616
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
1619
1617
  eventTime?: Date | null;
1620
1618
  /**
1621
1619
  * Whether the event was triggered as a result of a privacy regulation application
@@ -1625,12 +1623,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
1625
1623
  /** If present, indicates the action that triggered the event. */
1626
1624
  originatedFrom?: string | null;
1627
1625
  /**
1628
- * A sequence number defining the order of updates to the underlying entity.
1629
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
1630
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
1631
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
1632
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
1633
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
1626
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
1627
+ * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
1634
1628
  */
1635
1629
  entityEventSequence?: string | null;
1636
1630
  }
@@ -1658,7 +1652,7 @@ export interface EntityUpdatedEvent {
1658
1652
  currentEntityAsJson?: string;
1659
1653
  }
1660
1654
  export interface EntityDeletedEvent {
1661
- /** Entity that was deleted */
1655
+ /** Entity that was deleted. */
1662
1656
  deletedEntityAsJson?: string | null;
1663
1657
  }
1664
1658
  export interface ActionEvent {
@@ -1 +1 @@
1
- {"version":3,"file":"ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.types.js","sourceRoot":"","sources":["../../../src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.types.ts"],"names":[],"mappings":";;;AA0JA,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IAC9D,0CAA2B,CAAA;IAC3B,oBAAoB;IACpB,0BAAW,CAAA;IACX,oFAAoF;IACpF,0BAAW,CAAA;IACX,yGAAyG;IACzG,4BAAa,CAAA;IACb,6GAA6G;IAC7G,gCAAiB,CAAA;IACjB,4BAA4B;IAC5B,gDAAiC,CAAA;IACjC,kFAAkF;IAClF,8CAA+B,CAAA;IAC/B,mRAAmR;IACnR,4CAA6B,CAAA;IAC7B,+BAA+B;IAC/B,0DAA2C,CAAA;IAC3C,0BAA0B;IAC1B,4BAAa,CAAA;IACb,oIAAoI;IACpI,wCAAyB,CAAA;IACzB,8BAA8B;IAC9B,oCAAqB,CAAA;IACrB,gGAAgG;IAChG,oCAAqB,CAAA;IACrB,kHAAkH;IAClH,4BAAa,CAAA;IACb,sHAAsH;IACtH,gCAAiB,CAAA;IACjB,6IAA6I;IAC7I,sCAAuB,CAAA;AACzB,CAAC,EAjCW,WAAW,2BAAX,WAAW,QAiCtB;AAwKD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAuMD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}
1
+ {"version":3,"file":"ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.types.js","sourceRoot":"","sources":["../../../src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.types.ts"],"names":[],"mappings":";;;AA0JA,IAAY,qBAMX;AAND,WAAY,qBAAqB;IAC/B,gDAAuB,CAAA;IACvB,oCAAW,CAAA;IACX,sCAAa,CAAA;IACb,wCAAe,CAAA;IACf,sCAAa,CAAA;AACf,CAAC,EANW,qBAAqB,qCAArB,qBAAqB,QAMhC;AAyQD,IA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C,CAAA;IACjC,kFAAkF;IAClF,8CAA+B,CAAA;IAC/B,mRAAmR;IACnR,4CAA6B,CAAA;IAC7B,+BAA+B;IAC/B,0DAA2C,CAAA;IAC3C,0BAA0B;IAC1B,4BAAa,CAAA;IACb,oIAAoI;IACpI,wCAAyB,CAAA;IACzB,8BAA8B;IAC9B,oCAAqB,CAAA;IACrB,gGAAgG;IAChG,oCAAqB,CAAA;IACrB,kHAAkH;IAClH,4BAAa,CAAA;IACb,sHAAsH;IACtH,gCAAiB,CAAA;IACjB,6IAA6I;IAC7I,sCAAuB,CAAA;AACzB,CAAC,EAjCW,WAAW,2BAAX,WAAW,QAiCtB;AAwKD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AA+LD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}
@@ -867,14 +867,16 @@ export declare enum WeightUnit {
867
867
  }
868
868
  export interface CurrencyConversionDetails {
869
869
  /**
870
- * Original currency used to calculate the pricing before conversion to payment currency set on the order [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes) format.
870
+ * Currency used for the pricing of this order, in [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes) format.
871
+ *
872
+ * This currency is used to calculate the pricing before conversion to the buyer's payment currency.
871
873
  * @readonly
872
874
  * @immutable
873
875
  * @format CURRENCY
874
876
  */
875
877
  originalCurrency?: string | null;
876
878
  /**
877
- * The rate used when converting from the original currency to the payment currency.
879
+ * The rate used for converting the original currency to the currency used for payment.
878
880
  * @readonly
879
881
  * @immutable
880
882
  * @decimalValue options { gt:0, lte:1000000000000000 }
@@ -1575,25 +1577,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
1575
1577
  updatedEvent?: EntityUpdatedEvent;
1576
1578
  deletedEvent?: EntityDeletedEvent;
1577
1579
  actionEvent?: ActionEvent;
1578
- /**
1579
- * Unique event ID.
1580
- * Allows clients to ignore duplicate webhooks.
1581
- */
1580
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
1582
1581
  _id?: string;
1583
1582
  /**
1584
- * Assumes actions are also always typed to an entity_type
1585
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
1583
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
1584
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
1586
1585
  */
1587
1586
  entityFqdn?: string;
1588
1587
  /**
1589
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
1590
- * This is although the created/updated/deleted notion is duplication of the oneof types
1591
- * Example: created/updated/deleted/started/completed/email_opened
1588
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
1589
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
1592
1590
  */
1593
1591
  slug?: string;
1594
1592
  /** ID of the entity associated with the event. */
1595
1593
  entityId?: string;
1596
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
1594
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
1597
1595
  eventTime?: Date | null;
1598
1596
  /**
1599
1597
  * Whether the event was triggered as a result of a privacy regulation application
@@ -1603,12 +1601,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
1603
1601
  /** If present, indicates the action that triggered the event. */
1604
1602
  originatedFrom?: string | null;
1605
1603
  /**
1606
- * A sequence number defining the order of updates to the underlying entity.
1607
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
1608
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
1609
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
1610
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
1611
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
1604
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
1605
+ * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
1612
1606
  */
1613
1607
  entityEventSequence?: string | null;
1614
1608
  }
@@ -1634,7 +1628,7 @@ export interface EntityUpdatedEvent {
1634
1628
  currentEntity?: string;
1635
1629
  }
1636
1630
  export interface EntityDeletedEvent {
1637
- /** Entity that was deleted */
1631
+ /** Entity that was deleted. */
1638
1632
  deletedEntity?: string | null;
1639
1633
  }
1640
1634
  export interface ActionEvent {
@@ -1727,25 +1721,21 @@ export interface BaseEventMetadata {
1727
1721
  identity?: IdentificationData;
1728
1722
  }
1729
1723
  export interface EventMetadata extends BaseEventMetadata {
1730
- /**
1731
- * Unique event ID.
1732
- * Allows clients to ignore duplicate webhooks.
1733
- */
1724
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
1734
1725
  _id?: string;
1735
1726
  /**
1736
- * Assumes actions are also always typed to an entity_type
1737
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
1727
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
1728
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
1738
1729
  */
1739
1730
  entityFqdn?: string;
1740
1731
  /**
1741
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
1742
- * This is although the created/updated/deleted notion is duplication of the oneof types
1743
- * Example: created/updated/deleted/started/completed/email_opened
1732
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
1733
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
1744
1734
  */
1745
1735
  slug?: string;
1746
1736
  /** ID of the entity associated with the event. */
1747
1737
  entityId?: string;
1748
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
1738
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
1749
1739
  eventTime?: Date | null;
1750
1740
  /**
1751
1741
  * Whether the event was triggered as a result of a privacy regulation application
@@ -1755,12 +1745,8 @@ export interface EventMetadata extends BaseEventMetadata {
1755
1745
  /** If present, indicates the action that triggered the event. */
1756
1746
  originatedFrom?: string | null;
1757
1747
  /**
1758
- * A sequence number defining the order of updates to the underlying entity.
1759
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
1760
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
1761
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
1762
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
1763
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
1748
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
1749
+ * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
1764
1750
  */
1765
1751
  entityEventSequence?: string | null;
1766
1752
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.universal.js","sourceRoot":"","sources":["../../../src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,oLAAsK;AACtK,aAAa;AACb,sEAA4F;AAC5F,kEAAsF;AACtF,sFAAkF;AA2KlF,IAAY,qBAMX;AAND,WAAY,qBAAqB;IAC/B,gDAAuB,CAA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C;QACD,gBAAgB,EAAE,CAAC,GAAY,EAAE,EAAE;YACjC,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EAAC,GAAG,EAAE;gBAC9C,sBAAsB,EAAE,EAAE;gBAC1B,wBAAwB,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;gBAC3C,uBAAuB,EAAE,KAAK;aAC/B,CAAC,CAAC;YAEH,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,EAAE;KACxB,CAAC,CAAC;AACL,CAAC;AAjFD,gEAiFC"}
1
+ {"version":3,"file":"ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.universal.js","sourceRoot":"","sources":["../../../src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,oLAAsK;AACtK,aAAa;AACb,sEAA4F;AAC5F,kEAAsF;AACtF,sFAAkF;AA2KlF,IAAY,qBAMX;AAND,WAAY,qBAAqB;IAC/B,gDAAuB,CAAA;IACvB,oCAAW,CAAA;IACX,sCAAa,CAAA;IACb,wCAAe,CAAA;IACf,sCAAa,CAAA;AACf,CAAC,EANW,qBAAqB,qCAArB,qBAAqB,QAMhC;AAsRD,IAAY,mBAOX;AAPD,WAAY,mBAAmB;IAC7B,yBAAyB;IACzB,oDAA6B,CAAA;IAC7B,uBAAuB;IACvB,gDAAyB,CAAA;IACzB,kBAAkB;IAClB,sCAAe,CAAA;AACjB,CAAC,EAPW,mBAAmB,mCAAnB,mBAAmB,QAO9B;AAwCD,IAAY,gBAMX;AAND,WAAY,gBAAgB;IAC1B,iDAA6B,CAAA;IAC7B,yCAAqB,CAAA;IACrB,uCAAmB,CAAA;IACnB,2CAAuB,CAAA;IACvB,uCAAmB,CAAA;AACrB,CAAC,EANW,gBAAgB,gCAAhB,gBAAgB,QAM3B;AAED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3C,GAAG,IAAI,EAAE,CAAC,CAAC,CAAC;gBACZ,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;aACjB,CAAC,CAAC;QACL,CAAC;QACD,mBAAmB,EAAE,CAAC,EACpB,IAAI,GAC6C,EAAE,EAAE;YACrD,MAAM,eAAe,GAAG,IAAA,gEAAuC,EAC7D,IAAA,gCAAc,EAAC,IAAI,EAAE;gBACnB;oBACE,WAAW,EAAE,oCAA4B;oBACzC,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,uCAAuC,EAAE,CAAC;iBAC3D;gBACD;oBACE,WAAW,EAAE,0CAAgC;oBAC7C,KAAK,EAAE;wBACL,EAAE,IAAI,EAAE,2CAA2C,EAAE;wBACrD;4BACE,IAAI,EAAE,0EAA0E;yBACjF;wBACD;4BACE,IAAI,EAAE,oEAAoE;yBAC3E;wBACD,EAAE,IAAI,EAAE,6CAA6C,EAAE;qBACxD;iBACF;aACF,CAAC,CACH,CAAC;YAEF,OAAO;gBACL,KAAK,EAAE,eAAe,EAAE,qBAAqB;gBAC7C,cAAc,EAAE,eAAe,EAAE,cAAc;aAChD,CAAC;QACJ,CAAC;QACD,gBAAgB,EAAE,CAAC,GAAY,EAAE,EAAE;YACjC,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EAAC,GAAG,EAAE;gBAC9C,sBAAsB,EAAE,EAAE;gBAC1B,wBAAwB,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;gBAC3C,uBAAuB,EAAE,KAAK;aAC/B,CAAC,CAAC;YAEH,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,EAAE;KACxB,CAAC,CAAC;AACL,CAAC;AAjFD,gEAiFC"}
@@ -889,14 +889,16 @@ export declare enum WeightUnit {
889
889
  }
890
890
  export interface CurrencyConversionDetails {
891
891
  /**
892
- * Original currency used to calculate the pricing before conversion to payment currency set on the order [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes) format.
892
+ * Currency used for the pricing of this order, in [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes) format.
893
+ *
894
+ * This currency is used to calculate the pricing before conversion to the buyer's payment currency.
893
895
  * @readonly
894
896
  * @immutable
895
897
  * @format CURRENCY
896
898
  */
897
899
  originalCurrency?: string | null;
898
900
  /**
899
- * The rate used when converting from the original currency to the payment currency.
901
+ * The rate used for converting the original currency to the currency used for payment.
900
902
  * @readonly
901
903
  * @immutable
902
904
  * @decimalValue options { gt:0, lte:1000000000000000 }
@@ -1597,25 +1599,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
1597
1599
  updatedEvent?: EntityUpdatedEvent;
1598
1600
  deletedEvent?: EntityDeletedEvent;
1599
1601
  actionEvent?: ActionEvent;
1600
- /**
1601
- * Unique event ID.
1602
- * Allows clients to ignore duplicate webhooks.
1603
- */
1602
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
1604
1603
  id?: string;
1605
1604
  /**
1606
- * Assumes actions are also always typed to an entity_type
1607
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
1605
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
1606
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
1608
1607
  */
1609
1608
  entityFqdn?: string;
1610
1609
  /**
1611
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
1612
- * This is although the created/updated/deleted notion is duplication of the oneof types
1613
- * Example: created/updated/deleted/started/completed/email_opened
1610
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
1611
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
1614
1612
  */
1615
1613
  slug?: string;
1616
1614
  /** ID of the entity associated with the event. */
1617
1615
  entityId?: string;
1618
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
1616
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
1619
1617
  eventTime?: Date | null;
1620
1618
  /**
1621
1619
  * Whether the event was triggered as a result of a privacy regulation application
@@ -1625,12 +1623,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
1625
1623
  /** If present, indicates the action that triggered the event. */
1626
1624
  originatedFrom?: string | null;
1627
1625
  /**
1628
- * A sequence number defining the order of updates to the underlying entity.
1629
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
1630
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
1631
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
1632
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
1633
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
1626
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
1627
+ * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
1634
1628
  */
1635
1629
  entityEventSequence?: string | null;
1636
1630
  }
@@ -1658,7 +1652,7 @@ export interface EntityUpdatedEvent {
1658
1652
  currentEntityAsJson?: string;
1659
1653
  }
1660
1654
  export interface EntityDeletedEvent {
1661
- /** Entity that was deleted */
1655
+ /** Entity that was deleted. */
1662
1656
  deletedEntityAsJson?: string | null;
1663
1657
  }
1664
1658
  export interface ActionEvent {
@@ -1 +1 @@
1
- {"version":3,"file":"ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.types.js","sourceRoot":"","sources":["../../../src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.types.ts"],"names":[],"mappings":"AA0JA,MAAM,CAAN,IAAY,qBAMX;AAND,WAAY,qBAAqB;IAC/B,gDAAuB,CAAA;IACvB,oCAAW,CAAA;IACX,sCAAa,CAAA;IACb,wCAAe,CAAA;IACf,sCAAa,CAAA;AACf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,8DAA8D;IAC9D,0CAA2B,CAAA;IAC3B,oBAAoB;IACpB,0BAAW,CAAA;IACX,oFAAoF;IACpF,0BAAW,CAAA;IACX,yGAAyG;IACzG,4BAAa,CAAA;IACb,6GAA6G;IAC7G,gCAAiB,CAAA;IACjB,4BAA4B;IAC5B,gDAAiC,CAAA;IACjC,kFAAkF;IAClF,8CAA+B,CAAA;IAC/B,mRAAmR;IACnR,4CAA6B,CAAA;IAC7B,+BAA+B;IAC/B,0DAA2C,CAAA;IAC3C,0BAA0B;IAC1B,4BAAa,CAAA;IACb,oIAAoI;IACpI,wCAAyB,CAAA;IACzB,8BAA8B;IAC9B,oCAAqB,CAAA;IACrB,gGAAgG;IAChG,oCAAqB,CAAA;IACrB,kHAAkH;IAClH,4BAAa,CAAA;IACb,sHAAsH;IACtH,gCAAiB,CAAA;IACjB,6IAA6I;IAC7I,sCAAuB,CAAA;AACzB,CAAC,EAjCW,WAAW,KAAX,WAAW,QAiCtB;AAwKD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAuMD,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B"}
1
+ {"version":3,"file":"ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.types.js","sourceRoot":"","sources":["../../../src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.types.ts"],"names":[],"mappings":"AA0JA,MAAM,CAAN,IAAY,qBAMX;AAND,WAAY,qBAAqB;IAC/B,gDAAuB,CAAA;IACvB,oCAAW,CAAA;IACX,sCAAa,CAAA;IACb,wCAAe,CAAA;IACf,sCAAa,CAAA;AACf,CAAC,EANW,q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9D,0CAA2B,CAAA;IAC3B,oBAAoB;IACpB,0BAAW,CAAA;IACX,oFAAoF;IACpF,0BAAW,CAAA;IACX,yGAAyG;IACzG,4BAAa,CAAA;IACb,6GAA6G;IAC7G,gCAAiB,CAAA;IACjB,4BAA4B;IAC5B,gDAAiC,CAAA;IACjC,kFAAkF;IAClF,8CAA+B,CAAA;IAC/B,mRAAmR;IACnR,4CAA6B,CAAA;IAC7B,+BAA+B;IAC/B,0DAA2C,CAAA;IAC3C,0BAA0B;IAC1B,4BAAa,CAAA;IACb,oIAAoI;IACpI,wCAAyB,CAAA;IACzB,8BAA8B;IAC9B,oCAAqB,CAAA;IACrB,gGAAgG;IAChG,oCAAqB,CAAA;IACrB,kHAAkH;IAClH,4BAAa,CAAA;IACb,sHAAsH;IACtH,gCAAiB,CAAA;IACjB,6IAA6I;IAC7I,sCAAuB,CAAA;AACzB,CAAC,EAjCW,WAAW,KAAX,WAAW,QAiCtB;AAwKD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AA+LD,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B"}
@@ -867,14 +867,16 @@ export declare enum WeightUnit {
867
867
  }
868
868
  export interface CurrencyConversionDetails {
869
869
  /**
870
- * Original currency used to calculate the pricing before conversion to payment currency set on the order [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes) format.
870
+ * Currency used for the pricing of this order, in [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes) format.
871
+ *
872
+ * This currency is used to calculate the pricing before conversion to the buyer's payment currency.
871
873
  * @readonly
872
874
  * @immutable
873
875
  * @format CURRENCY
874
876
  */
875
877
  originalCurrency?: string | null;
876
878
  /**
877
- * The rate used when converting from the original currency to the payment currency.
879
+ * The rate used for converting the original currency to the currency used for payment.
878
880
  * @readonly
879
881
  * @immutable
880
882
  * @decimalValue options { gt:0, lte:1000000000000000 }
@@ -1575,25 +1577,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
1575
1577
  updatedEvent?: EntityUpdatedEvent;
1576
1578
  deletedEvent?: EntityDeletedEvent;
1577
1579
  actionEvent?: ActionEvent;
1578
- /**
1579
- * Unique event ID.
1580
- * Allows clients to ignore duplicate webhooks.
1581
- */
1580
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
1582
1581
  _id?: string;
1583
1582
  /**
1584
- * Assumes actions are also always typed to an entity_type
1585
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
1583
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
1584
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
1586
1585
  */
1587
1586
  entityFqdn?: string;
1588
1587
  /**
1589
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
1590
- * This is although the created/updated/deleted notion is duplication of the oneof types
1591
- * Example: created/updated/deleted/started/completed/email_opened
1588
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
1589
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
1592
1590
  */
1593
1591
  slug?: string;
1594
1592
  /** ID of the entity associated with the event. */
1595
1593
  entityId?: string;
1596
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
1594
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
1597
1595
  eventTime?: Date | null;
1598
1596
  /**
1599
1597
  * Whether the event was triggered as a result of a privacy regulation application
@@ -1603,12 +1601,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
1603
1601
  /** If present, indicates the action that triggered the event. */
1604
1602
  originatedFrom?: string | null;
1605
1603
  /**
1606
- * A sequence number defining the order of updates to the underlying entity.
1607
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
1608
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
1609
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
1610
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
1611
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
1604
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
1605
+ * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
1612
1606
  */
1613
1607
  entityEventSequence?: string | null;
1614
1608
  }
@@ -1634,7 +1628,7 @@ export interface EntityUpdatedEvent {
1634
1628
  currentEntity?: string;
1635
1629
  }
1636
1630
  export interface EntityDeletedEvent {
1637
- /** Entity that was deleted */
1631
+ /** Entity that was deleted. */
1638
1632
  deletedEntity?: string | null;
1639
1633
  }
1640
1634
  export interface ActionEvent {
@@ -1727,25 +1721,21 @@ export interface BaseEventMetadata {
1727
1721
  identity?: IdentificationData;
1728
1722
  }
1729
1723
  export interface EventMetadata extends BaseEventMetadata {
1730
- /**
1731
- * Unique event ID.
1732
- * Allows clients to ignore duplicate webhooks.
1733
- */
1724
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
1734
1725
  _id?: string;
1735
1726
  /**
1736
- * Assumes actions are also always typed to an entity_type
1737
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
1727
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
1728
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
1738
1729
  */
1739
1730
  entityFqdn?: string;
1740
1731
  /**
1741
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
1742
- * This is although the created/updated/deleted notion is duplication of the oneof types
1743
- * Example: created/updated/deleted/started/completed/email_opened
1732
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
1733
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
1744
1734
  */
1745
1735
  slug?: string;
1746
1736
  /** ID of the entity associated with the event. */
1747
1737
  entityId?: string;
1748
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
1738
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
1749
1739
  eventTime?: Date | null;
1750
1740
  /**
1751
1741
  * Whether the event was triggered as a result of a privacy regulation application
@@ -1755,12 +1745,8 @@ export interface EventMetadata extends BaseEventMetadata {
1755
1745
  /** If present, indicates the action that triggered the event. */
1756
1746
  originatedFrom?: string | null;
1757
1747
  /**
1758
- * A sequence number defining the order of updates to the underlying entity.
1759
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
1760
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
1761
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
1762
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
1763
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
1748
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
1749
+ * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
1764
1750
  */
1765
1751
  entityEventSequence?: string | null;
1766
1752
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.universal.js","sourceRoot":"","sources":["../../../src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.universal.ts"],"names":[],"mappings":"AAAA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BAAmB,EAAE,CAAC,EACpB,IAAI,GAC6C,EAAE,EAAE;YACrD,MAAM,eAAe,GAAG,uCAAuC,CAC7D,cAAc,CAAC,IAAI,EAAE;gBACnB;oBACE,WAAW,EAAE,4BAA4B;oBACzC,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,uCAAuC,EAAE,CAAC;iBAC3D;gBACD;oBACE,WAAW,EAAE,gCAAgC;oBAC7C,KAAK,EAAE;wBACL,EAAE,IAAI,EAAE,2CAA2C,EAAE;wBACrD;4BACE,IAAI,EAAE,0EAA0E;yBACjF;wBACD;4BACE,IAAI,EAAE,oEAAoE;yBAC3E;wBACD,EAAE,IAAI,EAAE,6CAA6C,EAAE;qBACxD;iBACF;aACF,CAAC,CACH,CAAC;YAEF,OAAO;gBACL,KAAK,EAAE,eAAe,EAAE,qBAAqB;gBAC7C,cAAc,EAAE,eAAe,EAAE,cAAc;aAChD,CAAC;QACJ,CAAC;QACD,gBAAgB,EAAE,CAAC,GAAY,EAAE,EAAE;YACjC,MAAM,gBAAgB,GAAG,iBAAiB,CAAC,GAAG,EAAE;gBAC9C,sBAAsB,EAAE,EAAE;gBAC1B,wBAAwB,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;gBAC3C,uBAAuB,EAAE,KAAK;aAC/B,CAAC,CAAC;YAEH,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,EAAE;KACxB,CAAC,CAAC;AACL,CAAC"}
1
+ {"version":3,"file":"ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.universal.js","sourceRoot":"","sources":["../../../src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM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AAE,CAAC,EAAE,IAAI,EAAE,uCAAuC,EAAE,CAAC;iBAC3D;gBACD;oBACE,WAAW,EAAE,gCAAgC;oBAC7C,KAAK,EAAE;wBACL,EAAE,IAAI,EAAE,2CAA2C,EAAE;wBACrD;4BACE,IAAI,EAAE,0EAA0E;yBACjF;wBACD;4BACE,IAAI,EAAE,oEAAoE;yBAC3E;wBACD,EAAE,IAAI,EAAE,6CAA6C,EAAE;qBACxD;iBACF;aACF,CAAC,CACH,CAAC;YAEF,OAAO;gBACL,KAAK,EAAE,eAAe,EAAE,qBAAqB;gBAC7C,cAAc,EAAE,eAAe,EAAE,cAAc;aAChD,CAAC;QACJ,CAAC;QACD,gBAAgB,EAAE,CAAC,GAAY,EAAE,EAAE;YACjC,MAAM,gBAAgB,GAAG,iBAAiB,CAAC,GAAG,EAAE;gBAC9C,sBAAsB,EAAE,EAAE;gBAC1B,wBAAwB,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;gBAC3C,uBAAuB,EAAE,KAAK;aAC/B,CAAC,CAAC;YAEH,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,EAAE;KACxB,CAAC,CAAC;AACL,CAAC"}
@@ -889,14 +889,16 @@ export declare enum WeightUnit {
889
889
  }
890
890
  export interface CurrencyConversionDetails {
891
891
  /**
892
- * Original currency used to calculate the pricing before conversion to payment currency set on the order [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes) format.
892
+ * Currency used for the pricing of this order, in [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes) format.
893
+ *
894
+ * This currency is used to calculate the pricing before conversion to the buyer's payment currency.
893
895
  * @readonly
894
896
  * @immutable
895
897
  * @format CURRENCY
896
898
  */
897
899
  originalCurrency?: string | null;
898
900
  /**
899
- * The rate used when converting from the original currency to the payment currency.
901
+ * The rate used for converting the original currency to the currency used for payment.
900
902
  * @readonly
901
903
  * @immutable
902
904
  * @decimalValue options { gt:0, lte:1000000000000000 }
@@ -1597,25 +1599,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
1597
1599
  updatedEvent?: EntityUpdatedEvent;
1598
1600
  deletedEvent?: EntityDeletedEvent;
1599
1601
  actionEvent?: ActionEvent;
1600
- /**
1601
- * Unique event ID.
1602
- * Allows clients to ignore duplicate webhooks.
1603
- */
1602
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
1604
1603
  id?: string;
1605
1604
  /**
1606
- * Assumes actions are also always typed to an entity_type
1607
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
1605
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
1606
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
1608
1607
  */
1609
1608
  entityFqdn?: string;
1610
1609
  /**
1611
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
1612
- * This is although the created/updated/deleted notion is duplication of the oneof types
1613
- * Example: created/updated/deleted/started/completed/email_opened
1610
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
1611
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
1614
1612
  */
1615
1613
  slug?: string;
1616
1614
  /** ID of the entity associated with the event. */
1617
1615
  entityId?: string;
1618
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
1616
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
1619
1617
  eventTime?: Date | null;
1620
1618
  /**
1621
1619
  * Whether the event was triggered as a result of a privacy regulation application
@@ -1625,12 +1623,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
1625
1623
  /** If present, indicates the action that triggered the event. */
1626
1624
  originatedFrom?: string | null;
1627
1625
  /**
1628
- * A sequence number defining the order of updates to the underlying entity.
1629
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
1630
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
1631
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
1632
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
1633
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
1626
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
1627
+ * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
1634
1628
  */
1635
1629
  entityEventSequence?: string | null;
1636
1630
  }
@@ -1658,7 +1652,7 @@ export interface EntityUpdatedEvent {
1658
1652
  currentEntityAsJson?: string;
1659
1653
  }
1660
1654
  export interface EntityDeletedEvent {
1661
- /** Entity that was deleted */
1655
+ /** Entity that was deleted. */
1662
1656
  deletedEntityAsJson?: string | null;
1663
1657
  }
1664
1658
  export interface ActionEvent {
@@ -1 +1 @@
1
- {"version":3,"file":"ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.types.js","sourceRoot":"","sources":["../../../../src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.types.ts"],"names":[],"mappings":";;;AA0JA,IAAY,qBAMX;AAND,WAAY,qBAAqB;IAC/B,gDAAuB,CAAA;IACvB,oCAAW,CAAA;IACX,sCAAa,CAAA;IACb,wCAAe,CAAA;IACf,sCAAa,CAAA;AACf,CAAC,EANW,qBAAqB,qCAArB,qBAAqB,QAMhC;AAyQD,IAAY,mBAOX;AAPD,WAAY,mBAAmB;IAC7B,yBAAyB;IACzB,oDAA6B,CAAA;IAC7B,uBAAuB;IACvB,gDAAyB,CAAA;IACzB,kBAAkB;IAClB,sCAAe,CAAA;AACjB,CAAC,EAPW,mBAAmB,mCAAnB,mBAAmB,QAO9B;AAgED,IAAY,gBAMX;AAND,WAAY,gBAAgB;IAC1B,iDAA6B,CAAA;IAC7B,yCAAqB,CAAA;IACrB,u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,4BAAa,CAAA;IACb,sHAAsH;IACtH,gCAAiB,CAAA;IACjB,6IAA6I;IAC7I,sCAAuB,CAAA;AACzB,CAAC,EAjCW,WAAW,2BAAX,WAAW,QAiCtB;AAwKD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAuMD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}
1
+ {"version":3,"file":"ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.types.js","sourceRoot":"","sources":["../../../../src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.types.ts"],"names":[],"mappings":";;;AA0JA,IAAY,qBAMX;AAND,WAAY,qBAAqB;IAC/B,gDAAuB,CAAA;IACvB,oCAAW,CAAA;IACX,sCAAa,CAAA;IACb,wCAAe,CAAA;IACf,sCAAa,CAAA;AACf,CAAC,EANW,qBAAqB,qCAArB,qBAAqB,QAMhC;AAyQD,IAAY,mBAOX;AAPD,WAAY,mBAAmB;IAC7B,yBAAyB;IACzB,oDAA6B,CAAA;IAC7B,uBAAuB;IACvB,gDAAyB,CAAA;IACzB,kBAAkB;IAClB,sCAAe,CAAA;AACjB,CAAC,EAPW,mBAAmB,mCAAnB,mBAAmB,QAO9B;AAgED,IAAY,gBAMX;AAND,WAAY,gBAAgB;IAC1B,iDAA6B,CAAA;IAC7B,yCAAqB,CAAA;IACrB,uCAAmB,CAAA;IACnB,2CAAuB,CAAA;IACvB,uCAAmB,CAAA;AACrB,CAAC,EANW,gBAAgB,gCAAhB,gBAAgB,QAM3B;AAED,uDAAuD;AACvD,IAAY,iBAWX;AAXD,WAAY,iBAAiB;IAC3B,wEAAwE;IACxE,gEAA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AAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AA+LD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}
@@ -915,14 +915,16 @@ export declare enum WeightUnit {
915
915
  }
916
916
  export interface CurrencyConversionDetails {
917
917
  /**
918
- * Original currency used to calculate the pricing before conversion to payment currency set on the order [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes) format.
918
+ * Currency used for the pricing of this order, in [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes) format.
919
+ *
920
+ * This currency is used to calculate the pricing before conversion to the buyer's payment currency.
919
921
  * @readonly
920
922
  * @immutable
921
923
  * @format CURRENCY
922
924
  */
923
925
  originalCurrency?: string | null;
924
926
  /**
925
- * The rate used when converting from the original currency to the payment currency.
927
+ * The rate used for converting the original currency to the currency used for payment.
926
928
  * @readonly
927
929
  * @immutable
928
930
  * @decimalValue options { gt:0, lte:1000000000000000 }
@@ -1646,25 +1648,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
1646
1648
  updatedEvent?: EntityUpdatedEvent;
1647
1649
  deletedEvent?: EntityDeletedEvent;
1648
1650
  actionEvent?: ActionEvent;
1649
- /**
1650
- * Unique event ID.
1651
- * Allows clients to ignore duplicate webhooks.
1652
- */
1651
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
1653
1652
  _id?: string;
1654
1653
  /**
1655
- * Assumes actions are also always typed to an entity_type
1656
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
1654
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
1655
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
1657
1656
  */
1658
1657
  entityFqdn?: string;
1659
1658
  /**
1660
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
1661
- * This is although the created/updated/deleted notion is duplication of the oneof types
1662
- * Example: created/updated/deleted/started/completed/email_opened
1659
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
1660
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
1663
1661
  */
1664
1662
  slug?: string;
1665
1663
  /** ID of the entity associated with the event. */
1666
1664
  entityId?: string;
1667
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
1665
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
1668
1666
  eventTime?: Date | null;
1669
1667
  /**
1670
1668
  * Whether the event was triggered as a result of a privacy regulation application
@@ -1674,12 +1672,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
1674
1672
  /** If present, indicates the action that triggered the event. */
1675
1673
  originatedFrom?: string | null;
1676
1674
  /**
1677
- * A sequence number defining the order of updates to the underlying entity.
1678
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
1679
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
1680
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
1681
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
1682
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
1675
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
1676
+ * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
1683
1677
  */
1684
1678
  entityEventSequence?: string | null;
1685
1679
  }
@@ -1705,7 +1699,7 @@ export interface EntityUpdatedEvent {
1705
1699
  currentEntity?: string;
1706
1700
  }
1707
1701
  export interface EntityDeletedEvent {
1708
- /** Entity that was deleted */
1702
+ /** Entity that was deleted. */
1709
1703
  deletedEntity?: string | null;
1710
1704
  }
1711
1705
  export interface ActionEvent {
@@ -1798,25 +1792,21 @@ export interface BaseEventMetadata {
1798
1792
  identity?: IdentificationData;
1799
1793
  }
1800
1794
  export interface EventMetadata extends BaseEventMetadata {
1801
- /**
1802
- * Unique event ID.
1803
- * Allows clients to ignore duplicate webhooks.
1804
- */
1795
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
1805
1796
  _id?: string;
1806
1797
  /**
1807
- * Assumes actions are also always typed to an entity_type
1808
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
1798
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
1799
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
1809
1800
  */
1810
1801
  entityFqdn?: string;
1811
1802
  /**
1812
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
1813
- * This is although the created/updated/deleted notion is duplication of the oneof types
1814
- * Example: created/updated/deleted/started/completed/email_opened
1803
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
1804
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
1815
1805
  */
1816
1806
  slug?: string;
1817
1807
  /** ID of the entity associated with the event. */
1818
1808
  entityId?: string;
1819
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
1809
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
1820
1810
  eventTime?: Date | null;
1821
1811
  /**
1822
1812
  * Whether the event was triggered as a result of a privacy regulation application
@@ -1826,12 +1816,8 @@ export interface EventMetadata extends BaseEventMetadata {
1826
1816
  /** If present, indicates the action that triggered the event. */
1827
1817
  originatedFrom?: string | null;
1828
1818
  /**
1829
- * A sequence number defining the order of updates to the underlying entity.
1830
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
1831
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
1832
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
1833
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
1834
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
1819
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
1820
+ * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
1835
1821
  */
1836
1822
  entityEventSequence?: string | null;
1837
1823
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.universal.js","sourceRoot":"","sources":["../../../../src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,oLAAsK;AACtK,aAAa;AACb,sEAA4F;AAC5F,kEAAsF;AACtF,sFAAkF;AA2KlF,IAAY,qBAMX;AAND,WAAY,qBAAqB;IAC/B,gDAAuB,CAAA;IACvB,oCAAW,CAAA;IACX,sCAAa,CAAA;IACb,wCAAe,CAAA;IACf,sCAAa,CAAA;AACf,CAAC,EANW,qBAAqB,qCAArB,qBAAqB,QAMhC;AAsRD,IAAY,mBAOX;AAPD,WAAY,mBAAmB;IAC7B,yBAAyB;IACzB,oDAA6B,CAAA;IAC7B,uBAAuB;IACvB,gDAAyB,CAAA;IACzB,kBAAkB;IAClB,sCAAe,CAAA;AACjB,CAAC,EAPW,mBAAmB,mCAAnB,mBAAmB,QAO9B;AAwCD,IAAY,gBAMX;AAND,WAAY,gBAAgB;IAC1B,iDAA6B,CAAA;IAC7B,yCAAqB,CAAA;IACrB,uCAAmB,CAAA;IACnB,2CAAuB,CAAA;IACvB,uCAAmB,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AE,EAAE,CAGtB,CAAC;YACF,OAAO,IAAA,8DAAqC,EAAC;gBAC3C,GAAG,IAAI,EAAE,CAAC,CAAC,CAAC;gBACZ,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;aACjB,CAAC,CAAC;QACL,CAAC;QACD,mBAAmB,EAAE,CAAC,EACpB,IAAI,GAC6C,EAAE,EAAE;YACrD,MAAM,eAAe,GAAG,IAAA,gEAAuC,EAC7D,IAAA,gCAAc,EAAC,IAAI,EAAE;gBACnB;oBACE,WAAW,EAAE,oCAA4B;oBACzC,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,uCAAuC,EAAE,CAAC;iBAC3D;gBACD;oBACE,WAAW,EAAE,0CAAgC;oBAC7C,KAAK,EAAE;wBACL,EAAE,IAAI,EAAE,2CAA2C,EAAE;wBACrD;4BACE,IAAI,EAAE,0EAA0E;yBACjF;wBACD;4BACE,IAAI,EAAE,oEAAoE;yBAC3E;wBACD,EAAE,IAAI,EAAE,6CAA6C,EAAE;qBACxD;iBACF;aACF,CAAC,CACH,CAAC;YAEF,OAAO;gBACL,KAAK,EAAE,eAAe,EAAE,qBAAqB;gBAC7C,cAAc,EAAE,eAAe,EAAE,cAAc;aAChD,CAAC;QACJ,CAAC;QACD,gBAAgB,EAAE,CAAC,GAAY,EAAE,EAAE;YACjC,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EAAC,GAAG,EAAE;gBAC9C,sBAAsB,EAAE,EAAE;gBAC1B,wBAAwB,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;gBAC3C,uBAAuB,EAAE,KAAK;aAC/B,CAAC,CAAC;YAEH,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,EAAE;KACxB,CAAC,CAAC;AACL,CAAC;AAjFD,gEAiFC"}
1
+ {"version":3,"file":"ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.universal.js","sourceRoot":"","sources":["../../../../src/ecom-sub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BACE,IAAI,EAAE,0EAA0E;yBACjF;wBACD;4BACE,IAAI,EAAE,oEAAoE;yBAC3E;wBACD,EAAE,IAAI,EAAE,6CAA6C,EAAE;qBACxD;iBACF;aACF,CAAC,CACH,CAAC;YAEF,OAAO;gBACL,KAAK,EAAE,eAAe,EAAE,qBAAqB;gBAC7C,cAAc,EAAE,eAAe,EAAE,cAAc;aAChD,CAAC;QACJ,CAAC;QACD,gBAAgB,EAAE,CAAC,GAAY,EAAE,EAAE;YACjC,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EAAC,GAAG,EAAE;gBAC9C,sBAAsB,EAAE,EAAE;gBAC1B,wBAAwB,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;gBAC3C,uBAAuB,EAAE,KAAK;aAC/B,CAAC,CAAC;YAEH,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,EAAE;KACxB,CAAC,CAAC;AACL,CAAC;AAjFD,gEAiFC"}
@@ -889,14 +889,16 @@ export declare enum WeightUnit {
889
889
  }
890
890
  export interface CurrencyConversionDetails {
891
891
  /**
892
- * Original currency used to calculate the pricing before conversion to payment currency set on the order [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes) format.
892
+ * Currency used for the pricing of this order, in [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes) format.
893
+ *
894
+ * This currency is used to calculate the pricing before conversion to the buyer's payment currency.
893
895
  * @readonly
894
896
  * @immutable
895
897
  * @format CURRENCY
896
898
  */
897
899
  originalCurrency?: string | null;
898
900
  /**
899
- * The rate used when converting from the original currency to the payment currency.
901
+ * The rate used for converting the original currency to the currency used for payment.
900
902
  * @readonly
901
903
  * @immutable
902
904
  * @decimalValue options { gt:0, lte:1000000000000000 }
@@ -1597,25 +1599,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
1597
1599
  updatedEvent?: EntityUpdatedEvent;
1598
1600
  deletedEvent?: EntityDeletedEvent;
1599
1601
  actionEvent?: ActionEvent;
1600
- /**
1601
- * Unique event ID.
1602
- * Allows clients to ignore duplicate webhooks.
1603
- */
1602
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
1604
1603
  id?: string;
1605
1604
  /**
1606
- * Assumes actions are also always typed to an entity_type
1607
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
1605
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
1606
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
1608
1607
  */
1609
1608
  entityFqdn?: string;
1610
1609
  /**
1611
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
1612
- * This is although the created/updated/deleted notion is duplication of the oneof types
1613
- * Example: created/updated/deleted/started/completed/email_opened
1610
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
1611
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
1614
1612
  */
1615
1613
  slug?: string;
1616
1614
  /** ID of the entity associated with the event. */
1617
1615
  entityId?: string;
1618
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
1616
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
1619
1617
  eventTime?: Date | null;
1620
1618
  /**
1621
1619
  * Whether the event was triggered as a result of a privacy regulation application
@@ -1625,12 +1623,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
1625
1623
  /** If present, indicates the action that triggered the event. */
1626
1624
  originatedFrom?: string | null;
1627
1625
  /**
1628
- * A sequence number defining the order of updates to the underlying entity.
1629
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
1630
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
1631
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
1632
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
1633
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
1626
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
1627
+ * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
1634
1628
  */
1635
1629
  entityEventSequence?: string | null;
1636
1630
  }
@@ -1658,7 +1652,7 @@ export interface EntityUpdatedEvent {
1658
1652
  currentEntityAsJson?: string;
1659
1653
  }
1660
1654
  export interface EntityDeletedEvent {
1661
- /** Entity that was deleted */
1655
+ /** Entity that was deleted. */
1662
1656
  deletedEntityAsJson?: string | null;
1663
1657
  }
1664
1658
  export interface ActionEvent {
@@ -1 +1 @@
1
- {"version":3,"file":"ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.types.js","sourceRoot":"","sources":["../../../../src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.types.ts"],"names":[],"mappings":"AA0JA,MAAM,CAAN,IAAY,qBAMX;AAND,WAAY,qBAAqB;IAC/B,gDAAuB,CAAA;IACvB,oCAAW,CAAA;IACX,sCAAa,CAAA;IACb,wCAAe,CAAA;IACf,sCAAa,CAAA;AACf,CAAC,EANW,qBAAqB,KAArB,qBAAqB,QAMhC;AAyQD,MAAM,CAAN,IAAY,mBAOX;AAPD,WAAY,mBAAmB;IAC7B,yBAAyB;IACzB,oDAA6B,CAAA;IAC7B,uBAAuB;IACvB,gDAAyB,CAAA;IACzB,kBAAkB;IAClB,sCAAe,CAAA;AACjB,CAAC,EAPW,mBAAmB,KAAnB,mBAAmB,QAO9B;AAgED,MAAM,CAAN,IAAY,gBAMX;AAND,WAAY,gBAAgB;IAC1B,iDAA6B,CAAA;IAC7B,yCAAqB,CAAA;IACrB,uCAAmB,CAAA;IACnB,2CAAuB,CAAA;IACvB,uCAAmB,CAAA;AACrB,CAAC,EANW,gBAAgB,KAAhB,gBAAgB,QAM3B;AA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,kHAAkH;IAClH,4BAAa,CAAA;IACb,sHAAsH;IACtH,gCAAiB,CAAA;IACjB,6IAA6I;IAC7I,sCAAuB,CAAA;AACzB,CAAC,EAjCW,WAAW,KAAX,WAAW,QAiCtB;AAwKD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAuMD,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B"}
1
+ {"version":3,"file":"ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.types.js","sourceRoot":"","sources":["../../../../src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.types.ts"],"names":[],"mappings":"AA0JA,MAAM,CAAN,IAAY,qBAMX;AAND,WAAY,qBAAqB;IAC/B,gDAAuB,CAAA;IACvB,oCAAW,CAAA;IACX,sCAAa,CAAA;IACb,wCAAe,CAAA;IACf,sCAAa,CAAA;AACf,CAAC,EANW,qBAAqB,KAArB,qBAAqB,QAMhC;AAyQD,MAAM,CAAN,IAAY,mBAOX;AAPD,WAAY,mBAAmB;IAC7B,yBAAyB;IACzB,oDAA6B,CAAA;IAC7B,uBAAuB;IACvB,gDAAyB,CAAA;IACzB,kBAAkB;IAClB,sCAAe,CAAA;AACjB,CAAC,EAPW,mBAAmB,KAAnB,mBAAmB,QAO9B;AAgED,MAAM,CAAN,IAAY,gBAMX;AAND,WAAY,gBAAgB;IAC1B,iDAA6B,CAAA;IAC7B,yCAAqB,CAAA;IACrB,uCAAmB,CAAA;IACnB,2CAAuB,CAAA;IACvB,uCAAmB,CAAA;AACrB,CAAC,EANW,gBAAgB,KAAhB,gBAAgB,QAM3B;AAED,uDAAuD;A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ClH,4BAAa,CAAA;IACb,sHAAsH;IACtH,gCAAiB,CAAA;IACjB,6IAA6I;IAC7I,sCAAuB,CAAA;AACzB,CAAC,EAjCW,WAAW,KAAX,WAAW,QAiCtB;AAwKD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AA+LD,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B"}
@@ -915,14 +915,16 @@ export declare enum WeightUnit {
915
915
  }
916
916
  export interface CurrencyConversionDetails {
917
917
  /**
918
- * Original currency used to calculate the pricing before conversion to payment currency set on the order [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes) format.
918
+ * Currency used for the pricing of this order, in [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes) format.
919
+ *
920
+ * This currency is used to calculate the pricing before conversion to the buyer's payment currency.
919
921
  * @readonly
920
922
  * @immutable
921
923
  * @format CURRENCY
922
924
  */
923
925
  originalCurrency?: string | null;
924
926
  /**
925
- * The rate used when converting from the original currency to the payment currency.
927
+ * The rate used for converting the original currency to the currency used for payment.
926
928
  * @readonly
927
929
  * @immutable
928
930
  * @decimalValue options { gt:0, lte:1000000000000000 }
@@ -1646,25 +1648,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
1646
1648
  updatedEvent?: EntityUpdatedEvent;
1647
1649
  deletedEvent?: EntityDeletedEvent;
1648
1650
  actionEvent?: ActionEvent;
1649
- /**
1650
- * Unique event ID.
1651
- * Allows clients to ignore duplicate webhooks.
1652
- */
1651
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
1653
1652
  _id?: string;
1654
1653
  /**
1655
- * Assumes actions are also always typed to an entity_type
1656
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
1654
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
1655
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
1657
1656
  */
1658
1657
  entityFqdn?: string;
1659
1658
  /**
1660
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
1661
- * This is although the created/updated/deleted notion is duplication of the oneof types
1662
- * Example: created/updated/deleted/started/completed/email_opened
1659
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
1660
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
1663
1661
  */
1664
1662
  slug?: string;
1665
1663
  /** ID of the entity associated with the event. */
1666
1664
  entityId?: string;
1667
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
1665
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
1668
1666
  eventTime?: Date | null;
1669
1667
  /**
1670
1668
  * Whether the event was triggered as a result of a privacy regulation application
@@ -1674,12 +1672,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
1674
1672
  /** If present, indicates the action that triggered the event. */
1675
1673
  originatedFrom?: string | null;
1676
1674
  /**
1677
- * A sequence number defining the order of updates to the underlying entity.
1678
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
1679
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
1680
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
1681
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
1682
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
1675
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
1676
+ * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
1683
1677
  */
1684
1678
  entityEventSequence?: string | null;
1685
1679
  }
@@ -1705,7 +1699,7 @@ export interface EntityUpdatedEvent {
1705
1699
  currentEntity?: string;
1706
1700
  }
1707
1701
  export interface EntityDeletedEvent {
1708
- /** Entity that was deleted */
1702
+ /** Entity that was deleted. */
1709
1703
  deletedEntity?: string | null;
1710
1704
  }
1711
1705
  export interface ActionEvent {
@@ -1798,25 +1792,21 @@ export interface BaseEventMetadata {
1798
1792
  identity?: IdentificationData;
1799
1793
  }
1800
1794
  export interface EventMetadata extends BaseEventMetadata {
1801
- /**
1802
- * Unique event ID.
1803
- * Allows clients to ignore duplicate webhooks.
1804
- */
1795
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
1805
1796
  _id?: string;
1806
1797
  /**
1807
- * Assumes actions are also always typed to an entity_type
1808
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
1798
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
1799
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
1809
1800
  */
1810
1801
  entityFqdn?: string;
1811
1802
  /**
1812
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
1813
- * This is although the created/updated/deleted notion is duplication of the oneof types
1814
- * Example: created/updated/deleted/started/completed/email_opened
1803
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
1804
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
1815
1805
  */
1816
1806
  slug?: string;
1817
1807
  /** ID of the entity associated with the event. */
1818
1808
  entityId?: string;
1819
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
1809
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
1820
1810
  eventTime?: Date | null;
1821
1811
  /**
1822
1812
  * Whether the event was triggered as a result of a privacy regulation application
@@ -1826,12 +1816,8 @@ export interface EventMetadata extends BaseEventMetadata {
1826
1816
  /** If present, indicates the action that triggered the event. */
1827
1817
  originatedFrom?: string | null;
1828
1818
  /**
1829
- * A sequence number defining the order of updates to the underlying entity.
1830
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
1831
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
1832
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
1833
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
1834
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
1819
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
1820
+ * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
1835
1821
  */
1836
1822
  entityEventSequence?: string | null;
1837
1823
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.universal.js","sourceRoot":"","sources":["../../../../src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,4DAA4D,MAAM,uFAAuF,CAAC;AACtK,aAAa;AACb,OAAO,EAAE,gCAAgC,EAAE,MAAM,0CAA0C,CAAC;AAC5F,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AA2KlF,MAAM,CAAN,IAAY,qBAMX;AAND,WAAY,qBAAqB;IAC/B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C,CACH,CAAC;YAEF,OAAO;gBACL,KAAK,EAAE,eAAe,EAAE,qBAAqB;gBAC7C,cAAc,EAAE,eAAe,EAAE,cAAc;aAChD,CAAC;QACJ,CAAC;QACD,gBAAgB,EAAE,CAAC,GAAY,EAAE,EAAE;YACjC,MAAM,gBAAgB,GAAG,iBAAiB,CAAC,GAAG,EAAE;gBAC9C,sBAAsB,EAAE,EAAE;gBAC1B,wBAAwB,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;gBAC3C,uBAAuB,EAAE,KAAK;aAC/B,CAAC,CAAC;YAEH,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,EAAE;KACxB,CAAC,CAAC;AACL,CAAC"}
1
+ {"version":3,"file":"ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.universal.js","sourceRoot":"","sources":["../../../../src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,4DAA4D,MAAM,uFAAuF,CAAC;AACtK,aAAa;AACb,OAAO,EAAE,gCAAgC,EAAE,MAAM,0CAA0C,CAAC;AAC5F,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AA2KlF,MAAM,CAAN,IAAY,qBAMX;AAND,WAAY,qBAAqB;IAC/B,gDAAuB,CAAA;IACvB,oCAAW,CAAA;IACX,sCAAa,CAAA;IACb,wCAAe,CAAA;IACf,sCAAa,CAAA;AACf,CAAC,EANW,qBAAqB,KAArB,qBAAqB,QAMhC;AAsRD,MAAM,CAAN,IAAY,m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E,EAAE;YACjC,MAAM,gBAAgB,GAAG,iBAAiB,CAAC,GAAG,EAAE;gBAC9C,sBAAsB,EAAE,EAAE;gBAC1B,wBAAwB,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;gBAC3C,uBAAuB,EAAE,KAAK;aAC/B,CAAC,CAAC;YAEH,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,EAAE;KACxB,CAAC,CAAC;AACL,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_ecom_subscription-contracts",
3
- "version": "1.0.28",
3
+ "version": "1.0.30",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -48,5 +48,5 @@
48
48
  "fqdn": "wix.ecom.subscription_contracts.v1.subscription_contract"
49
49
  }
50
50
  },
51
- "falconPackageHash": "587396731e27e8b95c9203ea2251904bda034761958d7e0dbff22bdc"
51
+ "falconPackageHash": "f9a77af92e8bb1ace30300941452c724bdee554f28f896a19cc6756a"
52
52
  }