@wix/auto_sdk_loyalty_coupons 1.0.9 → 1.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/src/loyalty-v1-coupon-coupons.types.d.ts +9 -17
- package/build/cjs/src/loyalty-v1-coupon-coupons.types.js.map +1 -1
- package/build/cjs/src/loyalty-v1-coupon-coupons.universal.d.ts +17 -33
- package/build/cjs/src/loyalty-v1-coupon-coupons.universal.js.map +1 -1
- package/build/es/src/loyalty-v1-coupon-coupons.types.d.ts +9 -17
- package/build/es/src/loyalty-v1-coupon-coupons.types.js.map +1 -1
- package/build/es/src/loyalty-v1-coupon-coupons.universal.d.ts +17 -33
- package/build/es/src/loyalty-v1-coupon-coupons.universal.js.map +1 -1
- package/build/internal/cjs/src/loyalty-v1-coupon-coupons.types.d.ts +9 -17
- package/build/internal/cjs/src/loyalty-v1-coupon-coupons.types.js.map +1 -1
- package/build/internal/cjs/src/loyalty-v1-coupon-coupons.universal.d.ts +17 -33
- package/build/internal/cjs/src/loyalty-v1-coupon-coupons.universal.js.map +1 -1
- package/build/internal/es/src/loyalty-v1-coupon-coupons.types.d.ts +9 -17
- package/build/internal/es/src/loyalty-v1-coupon-coupons.types.js.map +1 -1
- package/build/internal/es/src/loyalty-v1-coupon-coupons.universal.d.ts +17 -33
- package/build/internal/es/src/loyalty-v1-coupon-coupons.universal.js.map +1 -1
- package/package.json +4 -4
|
@@ -471,25 +471,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
471
471
|
updatedEvent?: EntityUpdatedEvent;
|
|
472
472
|
deletedEvent?: EntityDeletedEvent;
|
|
473
473
|
actionEvent?: ActionEvent;
|
|
474
|
-
/**
|
|
475
|
-
* Unique event ID.
|
|
476
|
-
* Allows clients to ignore duplicate webhooks.
|
|
477
|
-
*/
|
|
474
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
478
475
|
id?: string;
|
|
479
476
|
/**
|
|
480
|
-
*
|
|
481
|
-
*
|
|
477
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
478
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
482
479
|
*/
|
|
483
480
|
entityFqdn?: string;
|
|
484
481
|
/**
|
|
485
|
-
*
|
|
486
|
-
*
|
|
487
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
482
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
483
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
488
484
|
*/
|
|
489
485
|
slug?: string;
|
|
490
486
|
/** ID of the entity associated with the event. */
|
|
491
487
|
entityId?: string;
|
|
492
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
488
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
493
489
|
eventTime?: Date | null;
|
|
494
490
|
/**
|
|
495
491
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -499,12 +495,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
499
495
|
/** If present, indicates the action that triggered the event. */
|
|
500
496
|
originatedFrom?: string | null;
|
|
501
497
|
/**
|
|
502
|
-
* A sequence number
|
|
503
|
-
*
|
|
504
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
505
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
506
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
507
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
498
|
+
* 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.
|
|
499
|
+
* 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.
|
|
508
500
|
*/
|
|
509
501
|
entityEventSequence?: string | null;
|
|
510
502
|
}
|
|
@@ -532,7 +524,7 @@ export interface EntityUpdatedEvent {
|
|
|
532
524
|
currentEntityAsJson?: string;
|
|
533
525
|
}
|
|
534
526
|
export interface EntityDeletedEvent {
|
|
535
|
-
/** Entity that was deleted */
|
|
527
|
+
/** Entity that was deleted. */
|
|
536
528
|
deletedEntityAsJson?: string | null;
|
|
537
529
|
}
|
|
538
530
|
export interface ActionEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loyalty-v1-coupon-coupons.types.js","sourceRoot":"","sources":["../../../src/loyalty-v1-coupon-coupons.types.ts"],"names":[],"mappings":";;;AA4LA,IAAY,IAOX;AAPD,WAAY,IAAI;IACd,2BAAmB,CAAA;IACnB,6CAAqC,CAAA;IACrC,6CAAqC,CAAA;IACrC,uCAA+B,CAAA;IAC/B,iDAAyC,CAAA;IACzC,mCAA2B,CAAA;AAC7B,CAAC,EAPW,IAAI,oBAAJ,IAAI,QAOf;AAsCD,IAAY,MAaX;AAbD,WAAY,MAAM;IAChB,sBAAsB;IACtB,6BAAmB,CAAA;IACnB,0FAA0F;IAC1F,6BAAmB,CAAA;IACnB,oEAAoE;IACpE,2BAAiB,CAAA;IACjB,2EAA2E;IAC3E,6BAAmB,CAAA;IACnB,gHAAgH;IAChH,2BAAiB,CAAA;IACjB,wCAAwC;IACxC,+BAAqB,CAAA;AACvB,CAAC,EAbW,MAAM,sBAAN,MAAM,QAajB;AAqHD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;
|
|
1
|
+
{"version":3,"file":"loyalty-v1-coupon-coupons.types.js","sourceRoot":"","sources":["../../../src/loyalty-v1-coupon-coupons.types.ts"],"names":[],"mappings":";;;AA4LA,IAAY,IAOX;AAPD,WAAY,IAAI;IACd,2BAAmB,CAAA;IACnB,6CAAqC,CAAA;IACrC,6CAAqC,CAAA;IACrC,uCAA+B,CAAA;IAC/B,iDAAyC,CAAA;IACzC,mCAA2B,CAAA;AAC7B,CAAC,EAPW,IAAI,oBAAJ,IAAI,QAOf;AAsCD,IAAY,MAaX;AAbD,WAAY,MAAM;IAChB,sBAAsB;IACtB,6BAAmB,CAAA;IACnB,0FAA0F;IAC1F,6BAAmB,CAAA;IACnB,oEAAoE;IACpE,2BAAiB,CAAA;IACjB,2EAA2E;IAC3E,6BAAmB,CAAA;IACnB,gHAAgH;IAChH,2BAAiB,CAAA;IACjB,wCAAwC;IACxC,+BAAqB,CAAA;AACvB,CAAC,EAbW,MAAM,sBAAN,MAAM,QAajB;AAqHD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAqRD,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"}
|
|
@@ -472,25 +472,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
472
472
|
updatedEvent?: EntityUpdatedEvent;
|
|
473
473
|
deletedEvent?: EntityDeletedEvent;
|
|
474
474
|
actionEvent?: ActionEvent;
|
|
475
|
-
/**
|
|
476
|
-
* Unique event ID.
|
|
477
|
-
* Allows clients to ignore duplicate webhooks.
|
|
478
|
-
*/
|
|
475
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
479
476
|
_id?: string;
|
|
480
477
|
/**
|
|
481
|
-
*
|
|
482
|
-
*
|
|
478
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
479
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
483
480
|
*/
|
|
484
481
|
entityFqdn?: string;
|
|
485
482
|
/**
|
|
486
|
-
*
|
|
487
|
-
*
|
|
488
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
483
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
484
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
489
485
|
*/
|
|
490
486
|
slug?: string;
|
|
491
487
|
/** ID of the entity associated with the event. */
|
|
492
488
|
entityId?: string;
|
|
493
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
489
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
494
490
|
eventTime?: Date | null;
|
|
495
491
|
/**
|
|
496
492
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -500,12 +496,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
500
496
|
/** If present, indicates the action that triggered the event. */
|
|
501
497
|
originatedFrom?: string | null;
|
|
502
498
|
/**
|
|
503
|
-
* A sequence number
|
|
504
|
-
*
|
|
505
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
506
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
507
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
508
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
499
|
+
* 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.
|
|
500
|
+
* 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.
|
|
509
501
|
*/
|
|
510
502
|
entityEventSequence?: string | null;
|
|
511
503
|
}
|
|
@@ -531,7 +523,7 @@ export interface EntityUpdatedEvent {
|
|
|
531
523
|
currentEntity?: string;
|
|
532
524
|
}
|
|
533
525
|
export interface EntityDeletedEvent {
|
|
534
|
-
/** Entity that was deleted */
|
|
526
|
+
/** Entity that was deleted. */
|
|
535
527
|
deletedEntity?: string | null;
|
|
536
528
|
}
|
|
537
529
|
export interface ActionEvent {
|
|
@@ -624,25 +616,21 @@ export interface BaseEventMetadata {
|
|
|
624
616
|
identity?: IdentificationData;
|
|
625
617
|
}
|
|
626
618
|
export interface EventMetadata extends BaseEventMetadata {
|
|
627
|
-
/**
|
|
628
|
-
* Unique event ID.
|
|
629
|
-
* Allows clients to ignore duplicate webhooks.
|
|
630
|
-
*/
|
|
619
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
631
620
|
_id?: string;
|
|
632
621
|
/**
|
|
633
|
-
*
|
|
634
|
-
*
|
|
622
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
623
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
635
624
|
*/
|
|
636
625
|
entityFqdn?: string;
|
|
637
626
|
/**
|
|
638
|
-
*
|
|
639
|
-
*
|
|
640
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
627
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
628
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
641
629
|
*/
|
|
642
630
|
slug?: string;
|
|
643
631
|
/** ID of the entity associated with the event. */
|
|
644
632
|
entityId?: string;
|
|
645
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
633
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
646
634
|
eventTime?: Date | null;
|
|
647
635
|
/**
|
|
648
636
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -652,12 +640,8 @@ export interface EventMetadata extends BaseEventMetadata {
|
|
|
652
640
|
/** If present, indicates the action that triggered the event. */
|
|
653
641
|
originatedFrom?: string | null;
|
|
654
642
|
/**
|
|
655
|
-
* A sequence number
|
|
656
|
-
*
|
|
657
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
658
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
659
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
660
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
643
|
+
* 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.
|
|
644
|
+
* 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.
|
|
661
645
|
*/
|
|
662
646
|
entityEventSequence?: string | null;
|
|
663
647
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loyalty-v1-coupon-coupons.universal.js","sourceRoot":"","sources":["../../../src/loyalty-v1-coupon-coupons.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,kGAAoF;AA+LpF,IAAY,IAOX;AAPD,WAAY,IAAI;IACd,2BAAmB,CAAA;IACnB,6CAAqC,CAAA;IACrC,6CAAqC,CAAA;IACrC,uCAA+B,CAAA;IAC/B,iDAAyC,CAAA;IACzC,mCAA2B,CAAA;AAC7B,CAAC,EAPW,IAAI,oBAAJ,IAAI,QAOf;AAsCD,IAAY,MAaX;AAbD,WAAY,MAAM;IAChB,sBAAsB;IACtB,6BAAmB,CAAA;IACnB,0FAA0F;IAC1F,6BAAmB,CAAA;IACnB,oEAAoE;IACpE,2BAAiB,CAAA;IACjB,2EAA2E;IAC3E,6BAAmB,CAAA;IACnB,gHAAgH;IAChH,2BAAiB,CAAA;IACjB,wCAAwC;IACxC,+BAAqB,CAAA;AACvB,CAAC,EAbW,MAAM,sBAAN,MAAM,QAajB;AAqHD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;
|
|
1
|
+
{"version":3,"file":"loyalty-v1-coupon-coupons.universal.js","sourceRoot":"","sources":["../../../src/loyalty-v1-coupon-coupons.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,kGAAoF;AA+LpF,IAAY,IAOX;AAPD,WAAY,IAAI;IACd,2BAAmB,CAAA;IACnB,6CAAqC,CAAA;IACrC,6CAAqC,CAAA;IACrC,uCAA+B,CAAA;IAC/B,iDAAyC,CAAA;IACzC,mCAA2B,CAAA;AAC7B,CAAC,EAPW,IAAI,oBAAJ,IAAI,QAOf;AAsCD,IAAY,MAaX;AAbD,WAAY,MAAM;IAChB,sBAAsB;IACtB,6BAAmB,CAAA;IACnB,0FAA0F;IAC1F,6BAAmB,CAAA;IACnB,oEAAoE;IACpE,2BAAiB,CAAA;IACjB,2EAA2E;IAC3E,6BAAmB,CAAA;IACnB,gHAAgH;IAChH,2BAAiB,CAAA;IACjB,wCAAwC;IACxC,+BAAqB,CAAA;AACvB,CAAC,EAbW,MAAM,sBAAN,MAAM,QAajB;AAqHD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAmRD,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;AA8GD;;;;;;;;;;;;;;;;;;GAkBG;AACI,KAAK,UAAU,qBAAqB,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AACL,CAAC;AAvDD,kDAuDC;AA2JD;;;;;;;;;;;;;;;;;;GAkBG;AACI,KAAK,UAAU,mBAAmB,CACvC,GAAW,EACX,QAAgB;IAEhB,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC;QACpD,EAAE,EAAE,GAAG;QACP,QAAQ,EAAE,QAAQ;KACnB,CAAC,CAAC;IAEH,MAAM,OAAO,GAAG,4BAA4B,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;IAE1E,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;IACnC,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE;YAC1D,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,KAAK,EAAE,UAAU,CAAC,CACpB,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAnCD,kDAmCC"}
|
|
@@ -471,25 +471,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
471
471
|
updatedEvent?: EntityUpdatedEvent;
|
|
472
472
|
deletedEvent?: EntityDeletedEvent;
|
|
473
473
|
actionEvent?: ActionEvent;
|
|
474
|
-
/**
|
|
475
|
-
* Unique event ID.
|
|
476
|
-
* Allows clients to ignore duplicate webhooks.
|
|
477
|
-
*/
|
|
474
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
478
475
|
id?: string;
|
|
479
476
|
/**
|
|
480
|
-
*
|
|
481
|
-
*
|
|
477
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
478
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
482
479
|
*/
|
|
483
480
|
entityFqdn?: string;
|
|
484
481
|
/**
|
|
485
|
-
*
|
|
486
|
-
*
|
|
487
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
482
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
483
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
488
484
|
*/
|
|
489
485
|
slug?: string;
|
|
490
486
|
/** ID of the entity associated with the event. */
|
|
491
487
|
entityId?: string;
|
|
492
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
488
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
493
489
|
eventTime?: Date | null;
|
|
494
490
|
/**
|
|
495
491
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -499,12 +495,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
499
495
|
/** If present, indicates the action that triggered the event. */
|
|
500
496
|
originatedFrom?: string | null;
|
|
501
497
|
/**
|
|
502
|
-
* A sequence number
|
|
503
|
-
*
|
|
504
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
505
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
506
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
507
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
498
|
+
* 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.
|
|
499
|
+
* 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.
|
|
508
500
|
*/
|
|
509
501
|
entityEventSequence?: string | null;
|
|
510
502
|
}
|
|
@@ -532,7 +524,7 @@ export interface EntityUpdatedEvent {
|
|
|
532
524
|
currentEntityAsJson?: string;
|
|
533
525
|
}
|
|
534
526
|
export interface EntityDeletedEvent {
|
|
535
|
-
/** Entity that was deleted */
|
|
527
|
+
/** Entity that was deleted. */
|
|
536
528
|
deletedEntityAsJson?: string | null;
|
|
537
529
|
}
|
|
538
530
|
export interface ActionEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loyalty-v1-coupon-coupons.types.js","sourceRoot":"","sources":["../../../src/loyalty-v1-coupon-coupons.types.ts"],"names":[],"mappings":"AA4LA,MAAM,CAAN,IAAY,IAOX;AAPD,WAAY,IAAI;IACd,2BAAmB,CAAA;IACnB,6CAAqC,CAAA;IACrC,6CAAqC,CAAA;IACrC,uCAA+B,CAAA;IAC/B,iDAAyC,CAAA;IACzC,mCAA2B,CAAA;AAC7B,CAAC,EAPW,IAAI,KAAJ,IAAI,QAOf;AAsCD,MAAM,CAAN,IAAY,MAaX;AAbD,WAAY,MAAM;IAChB,sBAAsB;IACtB,6BAAmB,CAAA;IACnB,0FAA0F;IAC1F,6BAAmB,CAAA;IACnB,oEAAoE;IACpE,2BAAiB,CAAA;IACjB,2EAA2E;IAC3E,6BAAmB,CAAA;IACnB,gHAAgH;IAChH,2BAAiB,CAAA;IACjB,wCAAwC;IACxC,+BAAqB,CAAA;AACvB,CAAC,EAbW,MAAM,KAAN,MAAM,QAajB;AAqHD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;
|
|
1
|
+
{"version":3,"file":"loyalty-v1-coupon-coupons.types.js","sourceRoot":"","sources":["../../../src/loyalty-v1-coupon-coupons.types.ts"],"names":[],"mappings":"AA4LA,MAAM,CAAN,IAAY,IAOX;AAPD,WAAY,IAAI;IACd,2BAAmB,CAAA;IACnB,6CAAqC,CAAA;IACrC,6CAAqC,CAAA;IACrC,uCAA+B,CAAA;IAC/B,iDAAyC,CAAA;IACzC,mCAA2B,CAAA;AAC7B,CAAC,EAPW,IAAI,KAAJ,IAAI,QAOf;AAsCD,MAAM,CAAN,IAAY,MAaX;AAbD,WAAY,MAAM;IAChB,sBAAsB;IACtB,6BAAmB,CAAA;IACnB,0FAA0F;IAC1F,6BAAmB,CAAA;IACnB,oEAAoE;IACpE,2BAAiB,CAAA;IACjB,2EAA2E;IAC3E,6BAAmB,CAAA;IACnB,gHAAgH;IAChH,2BAAiB,CAAA;IACjB,wCAAwC;IACxC,+BAAqB,CAAA;AACvB,CAAC,EAbW,MAAM,KAAN,MAAM,QAajB;AAqHD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAqRD,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"}
|
|
@@ -472,25 +472,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
472
472
|
updatedEvent?: EntityUpdatedEvent;
|
|
473
473
|
deletedEvent?: EntityDeletedEvent;
|
|
474
474
|
actionEvent?: ActionEvent;
|
|
475
|
-
/**
|
|
476
|
-
* Unique event ID.
|
|
477
|
-
* Allows clients to ignore duplicate webhooks.
|
|
478
|
-
*/
|
|
475
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
479
476
|
_id?: string;
|
|
480
477
|
/**
|
|
481
|
-
*
|
|
482
|
-
*
|
|
478
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
479
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
483
480
|
*/
|
|
484
481
|
entityFqdn?: string;
|
|
485
482
|
/**
|
|
486
|
-
*
|
|
487
|
-
*
|
|
488
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
483
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
484
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
489
485
|
*/
|
|
490
486
|
slug?: string;
|
|
491
487
|
/** ID of the entity associated with the event. */
|
|
492
488
|
entityId?: string;
|
|
493
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
489
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
494
490
|
eventTime?: Date | null;
|
|
495
491
|
/**
|
|
496
492
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -500,12 +496,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
500
496
|
/** If present, indicates the action that triggered the event. */
|
|
501
497
|
originatedFrom?: string | null;
|
|
502
498
|
/**
|
|
503
|
-
* A sequence number
|
|
504
|
-
*
|
|
505
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
506
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
507
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
508
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
499
|
+
* 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.
|
|
500
|
+
* 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.
|
|
509
501
|
*/
|
|
510
502
|
entityEventSequence?: string | null;
|
|
511
503
|
}
|
|
@@ -531,7 +523,7 @@ export interface EntityUpdatedEvent {
|
|
|
531
523
|
currentEntity?: string;
|
|
532
524
|
}
|
|
533
525
|
export interface EntityDeletedEvent {
|
|
534
|
-
/** Entity that was deleted */
|
|
526
|
+
/** Entity that was deleted. */
|
|
535
527
|
deletedEntity?: string | null;
|
|
536
528
|
}
|
|
537
529
|
export interface ActionEvent {
|
|
@@ -624,25 +616,21 @@ export interface BaseEventMetadata {
|
|
|
624
616
|
identity?: IdentificationData;
|
|
625
617
|
}
|
|
626
618
|
export interface EventMetadata extends BaseEventMetadata {
|
|
627
|
-
/**
|
|
628
|
-
* Unique event ID.
|
|
629
|
-
* Allows clients to ignore duplicate webhooks.
|
|
630
|
-
*/
|
|
619
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
631
620
|
_id?: string;
|
|
632
621
|
/**
|
|
633
|
-
*
|
|
634
|
-
*
|
|
622
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
623
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
635
624
|
*/
|
|
636
625
|
entityFqdn?: string;
|
|
637
626
|
/**
|
|
638
|
-
*
|
|
639
|
-
*
|
|
640
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
627
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
628
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
641
629
|
*/
|
|
642
630
|
slug?: string;
|
|
643
631
|
/** ID of the entity associated with the event. */
|
|
644
632
|
entityId?: string;
|
|
645
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
633
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
646
634
|
eventTime?: Date | null;
|
|
647
635
|
/**
|
|
648
636
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -652,12 +640,8 @@ export interface EventMetadata extends BaseEventMetadata {
|
|
|
652
640
|
/** If present, indicates the action that triggered the event. */
|
|
653
641
|
originatedFrom?: string | null;
|
|
654
642
|
/**
|
|
655
|
-
* A sequence number
|
|
656
|
-
*
|
|
657
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
658
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
659
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
660
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
643
|
+
* 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.
|
|
644
|
+
* 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.
|
|
661
645
|
*/
|
|
662
646
|
entityEventSequence?: string | null;
|
|
663
647
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loyalty-v1-coupon-coupons.universal.js","sourceRoot":"","sources":["../../../src/loyalty-v1-coupon-coupons.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,4BAA4B,MAAM,qCAAqC,CAAC;AA+LpF,MAAM,CAAN,IAAY,IAOX;AAPD,WAAY,IAAI;IACd,2BAAmB,CAAA;IACnB,6CAAqC,CAAA;IACrC,6CAAqC,CAAA;IACrC,uCAA+B,CAAA;IAC/B,iDAAyC,CAAA;IACzC,mCAA2B,CAAA;AAC7B,CAAC,EAPW,IAAI,KAAJ,IAAI,QAOf;AAsCD,MAAM,CAAN,IAAY,MAaX;AAbD,WAAY,MAAM;IAChB,sBAAsB;IACtB,6BAAmB,CAAA;IACnB,0FAA0F;IAC1F,6BAAmB,CAAA;IACnB,oEAAoE;IACpE,2BAAiB,CAAA;IACjB,2EAA2E;IAC3E,6BAAmB,CAAA;IACnB,gHAAgH;IAChH,2BAAiB,CAAA;IACjB,wCAAwC;IACxC,+BAAqB,CAAA;AACvB,CAAC,EAbW,MAAM,KAAN,MAAM,QAajB;AAqHD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;
|
|
1
|
+
{"version":3,"file":"loyalty-v1-coupon-coupons.universal.js","sourceRoot":"","sources":["../../../src/loyalty-v1-coupon-coupons.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,4BAA4B,MAAM,qCAAqC,CAAC;AA+LpF,MAAM,CAAN,IAAY,IAOX;AAPD,WAAY,IAAI;IACd,2BAAmB,CAAA;IACnB,6CAAqC,CAAA;IACrC,6CAAqC,CAAA;IACrC,uCAA+B,CAAA;IAC/B,iDAAyC,CAAA;IACzC,mCAA2B,CAAA;AAC7B,CAAC,EAPW,IAAI,KAAJ,IAAI,QAOf;AAsCD,MAAM,CAAN,IAAY,MAaX;AAbD,WAAY,MAAM;IAChB,sBAAsB;IACtB,6BAAmB,CAAA;IACnB,0FAA0F;IAC1F,6BAAmB,CAAA;IACnB,oEAAoE;IACpE,2BAAiB,CAAA;IACjB,2EAA2E;IAC3E,6BAA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AW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
|
|
@@ -471,25 +471,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
471
471
|
updatedEvent?: EntityUpdatedEvent;
|
|
472
472
|
deletedEvent?: EntityDeletedEvent;
|
|
473
473
|
actionEvent?: ActionEvent;
|
|
474
|
-
/**
|
|
475
|
-
* Unique event ID.
|
|
476
|
-
* Allows clients to ignore duplicate webhooks.
|
|
477
|
-
*/
|
|
474
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
478
475
|
id?: string;
|
|
479
476
|
/**
|
|
480
|
-
*
|
|
481
|
-
*
|
|
477
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
478
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
482
479
|
*/
|
|
483
480
|
entityFqdn?: string;
|
|
484
481
|
/**
|
|
485
|
-
*
|
|
486
|
-
*
|
|
487
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
482
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
483
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
488
484
|
*/
|
|
489
485
|
slug?: string;
|
|
490
486
|
/** ID of the entity associated with the event. */
|
|
491
487
|
entityId?: string;
|
|
492
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
488
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
493
489
|
eventTime?: Date | null;
|
|
494
490
|
/**
|
|
495
491
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -499,12 +495,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
499
495
|
/** If present, indicates the action that triggered the event. */
|
|
500
496
|
originatedFrom?: string | null;
|
|
501
497
|
/**
|
|
502
|
-
* A sequence number
|
|
503
|
-
*
|
|
504
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
505
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
506
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
507
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
498
|
+
* 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.
|
|
499
|
+
* 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.
|
|
508
500
|
*/
|
|
509
501
|
entityEventSequence?: string | null;
|
|
510
502
|
}
|
|
@@ -532,7 +524,7 @@ export interface EntityUpdatedEvent {
|
|
|
532
524
|
currentEntityAsJson?: string;
|
|
533
525
|
}
|
|
534
526
|
export interface EntityDeletedEvent {
|
|
535
|
-
/** Entity that was deleted */
|
|
527
|
+
/** Entity that was deleted. */
|
|
536
528
|
deletedEntityAsJson?: string | null;
|
|
537
529
|
}
|
|
538
530
|
export interface ActionEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loyalty-v1-coupon-coupons.types.js","sourceRoot":"","sources":["../../../../src/loyalty-v1-coupon-coupons.types.ts"],"names":[],"mappings":";;;AA4LA,IAAY,IAOX;AAPD,WAAY,IAAI;IACd,2BAAmB,CAAA;IACnB,6CAAqC,CAAA;IACrC,6CAAqC,CAAA;IACrC,uCAA+B,CAAA;IAC/B,iDAAyC,CAAA;IACzC,mCAA2B,CAAA;AAC7B,CAAC,EAPW,IAAI,oBAAJ,IAAI,QAOf;AAsCD,IAAY,MAaX;AAbD,WAAY,MAAM;IAChB,sBAAsB;IACtB,6BAAmB,CAAA;IACnB,0FAA0F;IAC1F,6BAAmB,CAAA;IACnB,oEAAoE;IACpE,2BAAiB,CAAA;IACjB,2EAA2E;IAC3E,6BAAmB,CAAA;IACnB,gHAAgH;IAChH,2BAAiB,CAAA;IACjB,wCAAwC;IACxC,+BAAqB,CAAA;AACvB,CAAC,EAbW,MAAM,sBAAN,MAAM,QAajB;AAqHD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;
|
|
1
|
+
{"version":3,"file":"loyalty-v1-coupon-coupons.types.js","sourceRoot":"","sources":["../../../../src/loyalty-v1-coupon-coupons.types.ts"],"names":[],"mappings":";;;AA4LA,IAAY,IAOX;AAPD,WAAY,IAAI;IACd,2BAAmB,CAAA;IACnB,6CAAqC,CAAA;IACrC,6CAAqC,CAAA;IACrC,uCAA+B,CAAA;IAC/B,iDAAyC,CAAA;IACzC,mCAA2B,CAAA;AAC7B,CAAC,EAPW,IAAI,oBAAJ,IAAI,QAOf;AAsCD,IAAY,MAaX;AAbD,WAAY,MAAM;IAChB,sBAAsB;IACtB,6BAAmB,CAAA;IACnB,0FAA0F;IAC1F,6BAAmB,CAAA;IACnB,oEAAoE;IACpE,2BAAiB,CAAA;IACjB,2EAA2E;IAC3E,6BAAmB,CAAA;IACnB,gHAAgH;IAChH,2BAAiB,CAAA;IACjB,wCAAwC;IACxC,+BAAqB,CAAA;AACvB,CAAC,EAbW,MAAM,sBAAN,MAAM,QAajB;AAqHD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAqRD,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"}
|
|
@@ -472,25 +472,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
472
472
|
updatedEvent?: EntityUpdatedEvent;
|
|
473
473
|
deletedEvent?: EntityDeletedEvent;
|
|
474
474
|
actionEvent?: ActionEvent;
|
|
475
|
-
/**
|
|
476
|
-
* Unique event ID.
|
|
477
|
-
* Allows clients to ignore duplicate webhooks.
|
|
478
|
-
*/
|
|
475
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
479
476
|
_id?: string;
|
|
480
477
|
/**
|
|
481
|
-
*
|
|
482
|
-
*
|
|
478
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
479
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
483
480
|
*/
|
|
484
481
|
entityFqdn?: string;
|
|
485
482
|
/**
|
|
486
|
-
*
|
|
487
|
-
*
|
|
488
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
483
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
484
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
489
485
|
*/
|
|
490
486
|
slug?: string;
|
|
491
487
|
/** ID of the entity associated with the event. */
|
|
492
488
|
entityId?: string;
|
|
493
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
489
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
494
490
|
eventTime?: Date | null;
|
|
495
491
|
/**
|
|
496
492
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -500,12 +496,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
500
496
|
/** If present, indicates the action that triggered the event. */
|
|
501
497
|
originatedFrom?: string | null;
|
|
502
498
|
/**
|
|
503
|
-
* A sequence number
|
|
504
|
-
*
|
|
505
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
506
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
507
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
508
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
499
|
+
* 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.
|
|
500
|
+
* 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.
|
|
509
501
|
*/
|
|
510
502
|
entityEventSequence?: string | null;
|
|
511
503
|
}
|
|
@@ -531,7 +523,7 @@ export interface EntityUpdatedEvent {
|
|
|
531
523
|
currentEntity?: string;
|
|
532
524
|
}
|
|
533
525
|
export interface EntityDeletedEvent {
|
|
534
|
-
/** Entity that was deleted */
|
|
526
|
+
/** Entity that was deleted. */
|
|
535
527
|
deletedEntity?: string | null;
|
|
536
528
|
}
|
|
537
529
|
export interface ActionEvent {
|
|
@@ -624,25 +616,21 @@ export interface BaseEventMetadata {
|
|
|
624
616
|
identity?: IdentificationData;
|
|
625
617
|
}
|
|
626
618
|
export interface EventMetadata extends BaseEventMetadata {
|
|
627
|
-
/**
|
|
628
|
-
* Unique event ID.
|
|
629
|
-
* Allows clients to ignore duplicate webhooks.
|
|
630
|
-
*/
|
|
619
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
631
620
|
_id?: string;
|
|
632
621
|
/**
|
|
633
|
-
*
|
|
634
|
-
*
|
|
622
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
623
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
635
624
|
*/
|
|
636
625
|
entityFqdn?: string;
|
|
637
626
|
/**
|
|
638
|
-
*
|
|
639
|
-
*
|
|
640
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
627
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
628
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
641
629
|
*/
|
|
642
630
|
slug?: string;
|
|
643
631
|
/** ID of the entity associated with the event. */
|
|
644
632
|
entityId?: string;
|
|
645
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
633
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
646
634
|
eventTime?: Date | null;
|
|
647
635
|
/**
|
|
648
636
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -652,12 +640,8 @@ export interface EventMetadata extends BaseEventMetadata {
|
|
|
652
640
|
/** If present, indicates the action that triggered the event. */
|
|
653
641
|
originatedFrom?: string | null;
|
|
654
642
|
/**
|
|
655
|
-
* A sequence number
|
|
656
|
-
*
|
|
657
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
658
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
659
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
660
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
643
|
+
* 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.
|
|
644
|
+
* 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.
|
|
661
645
|
*/
|
|
662
646
|
entityEventSequence?: string | null;
|
|
663
647
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loyalty-v1-coupon-coupons.universal.js","sourceRoot":"","sources":["../../../../src/loyalty-v1-coupon-coupons.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,kGAAoF;AA+LpF,IAAY,IAOX;AAPD,WAAY,IAAI;IACd,2BAAmB,CAAA;IACnB,6CAAqC,CAAA;IACrC,6CAAqC,CAAA;IACrC,uCAA+B,CAAA;IAC/B,iDAAyC,CAAA;IACzC,mCAA2B,CAAA;AAC7B,CAAC,EAPW,IAAI,oBAAJ,IAAI,QAOf;AAsCD,IAAY,MAaX;AAbD,WAAY,MAAM;IAChB,sBAAsB;IACtB,6BAAmB,CAAA;IACnB,0FAA0F;IAC1F,6BAAmB,CAAA;IACnB,oEAAoE;IACpE,2BAAiB,CAAA;IACjB,2EAA2E;IAC3E,6BAAmB,CAAA;IACnB,gHAAgH;IAChH,2BAAiB,CAAA;IACjB,wCAAwC;IACxC,+BAAqB,CAAA;AACvB,CAAC,EAbW,MAAM,sBAAN,MAAM,QAajB;AAqHD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;
|
|
1
|
+
{"version":3,"file":"loyalty-v1-coupon-coupons.universal.js","sourceRoot":"","sources":["../../../../src/loyalty-v1-coupon-coupons.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,kGAAoF;AA+LpF,IAAY,IAOX;AAPD,WAAY,IAAI;IACd,2BAAmB,CAAA;IACnB,6CAAqC,CAAA;IACrC,6CAAqC,CAAA;IACrC,uCAA+B,CAAA;IAC/B,iDAAyC,CAAA;IACzC,mCAA2B,CAAA;AAC7B,CAAC,EAPW,IAAI,oBAAJ,IAAI,QAOf;AAsCD,IAAY,MAaX;AAbD,WAAY,MAAM;IAChB,sBAAsB;IACtB,6BAAmB,CAAA;IACnB,0FAA0F;IAC1F,6BAAmB,CAAA;IACnB,oEAAoE;IACpE,2BAAiB,CAAA;IACjB,2EAA2E;IAC3E,6BAAmB,CAAA;IACnB,gHAAgH;IAChH,2BAAiB,CAAA;IACjB,w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AAE,KAAK;SAC/B,EACD,CAAC,KAAK,EAAE,UAAU,CAAC,CACpB,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAnCD,kDAmCC"}
|
|
@@ -471,25 +471,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
471
471
|
updatedEvent?: EntityUpdatedEvent;
|
|
472
472
|
deletedEvent?: EntityDeletedEvent;
|
|
473
473
|
actionEvent?: ActionEvent;
|
|
474
|
-
/**
|
|
475
|
-
* Unique event ID.
|
|
476
|
-
* Allows clients to ignore duplicate webhooks.
|
|
477
|
-
*/
|
|
474
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
478
475
|
id?: string;
|
|
479
476
|
/**
|
|
480
|
-
*
|
|
481
|
-
*
|
|
477
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
478
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
482
479
|
*/
|
|
483
480
|
entityFqdn?: string;
|
|
484
481
|
/**
|
|
485
|
-
*
|
|
486
|
-
*
|
|
487
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
482
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
483
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
488
484
|
*/
|
|
489
485
|
slug?: string;
|
|
490
486
|
/** ID of the entity associated with the event. */
|
|
491
487
|
entityId?: string;
|
|
492
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
488
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
493
489
|
eventTime?: Date | null;
|
|
494
490
|
/**
|
|
495
491
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -499,12 +495,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
499
495
|
/** If present, indicates the action that triggered the event. */
|
|
500
496
|
originatedFrom?: string | null;
|
|
501
497
|
/**
|
|
502
|
-
* A sequence number
|
|
503
|
-
*
|
|
504
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
505
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
506
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
507
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
498
|
+
* 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.
|
|
499
|
+
* 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.
|
|
508
500
|
*/
|
|
509
501
|
entityEventSequence?: string | null;
|
|
510
502
|
}
|
|
@@ -532,7 +524,7 @@ export interface EntityUpdatedEvent {
|
|
|
532
524
|
currentEntityAsJson?: string;
|
|
533
525
|
}
|
|
534
526
|
export interface EntityDeletedEvent {
|
|
535
|
-
/** Entity that was deleted */
|
|
527
|
+
/** Entity that was deleted. */
|
|
536
528
|
deletedEntityAsJson?: string | null;
|
|
537
529
|
}
|
|
538
530
|
export interface ActionEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loyalty-v1-coupon-coupons.types.js","sourceRoot":"","sources":["../../../../src/loyalty-v1-coupon-coupons.types.ts"],"names":[],"mappings":"AA4LA,MAAM,CAAN,IAAY,IAOX;AAPD,WAAY,IAAI;IACd,2BAAmB,CAAA;IACnB,6CAAqC,CAAA;IACrC,6CAAqC,CAAA;IACrC,uCAA+B,CAAA;IAC/B,iDAAyC,CAAA;IACzC,mCAA2B,CAAA;AAC7B,CAAC,EAPW,IAAI,KAAJ,IAAI,QAOf;AAsCD,MAAM,CAAN,IAAY,MAaX;AAbD,WAAY,MAAM;IAChB,sBAAsB;IACtB,6BAAmB,CAAA;IACnB,0FAA0F;IAC1F,6BAAmB,CAAA;IACnB,oEAAoE;IACpE,2BAAiB,CAAA;IACjB,2EAA2E;IAC3E,6BAAmB,CAAA;IACnB,gHAAgH;IAChH,2BAAiB,CAAA;IACjB,wCAAwC;IACxC,+BAAqB,CAAA;AACvB,CAAC,EAbW,MAAM,KAAN,MAAM,QAajB;AAqHD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;
|
|
1
|
+
{"version":3,"file":"loyalty-v1-coupon-coupons.types.js","sourceRoot":"","sources":["../../../../src/loyalty-v1-coupon-coupons.types.ts"],"names":[],"mappings":"AA4LA,MAAM,CAAN,IAAY,IAOX;AAPD,WAAY,IAAI;IACd,2BAAmB,CAAA;IACnB,6CAAqC,CAAA;IACrC,6CAAqC,CAAA;IACrC,uCAA+B,CAAA;IAC/B,iDAAyC,CAAA;IACzC,mCAA2B,CAAA;AAC7B,CAAC,EAPW,IAAI,KAAJ,IAAI,QAOf;AAsCD,MAAM,CAAN,IAAY,MAaX;AAbD,WAAY,MAAM;IAChB,sBAAsB;IACtB,6BAAmB,CAAA;IACnB,0FAA0F;IAC1F,6BAAmB,CAAA;IACnB,oEAAoE;IACpE,2BAAiB,CAAA;IACjB,2EAA2E;IAC3E,6BAAmB,CAAA;IACnB,gHAAgH;IAChH,2BAAiB,CAAA;IACjB,wCAAwC;IACxC,+BAAqB,CAAA;AACvB,CAAC,EAbW,MAAM,KAAN,MAAM,QAajB;AAqHD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAqRD,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"}
|
|
@@ -472,25 +472,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
472
472
|
updatedEvent?: EntityUpdatedEvent;
|
|
473
473
|
deletedEvent?: EntityDeletedEvent;
|
|
474
474
|
actionEvent?: ActionEvent;
|
|
475
|
-
/**
|
|
476
|
-
* Unique event ID.
|
|
477
|
-
* Allows clients to ignore duplicate webhooks.
|
|
478
|
-
*/
|
|
475
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
479
476
|
_id?: string;
|
|
480
477
|
/**
|
|
481
|
-
*
|
|
482
|
-
*
|
|
478
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
479
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
483
480
|
*/
|
|
484
481
|
entityFqdn?: string;
|
|
485
482
|
/**
|
|
486
|
-
*
|
|
487
|
-
*
|
|
488
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
483
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
484
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
489
485
|
*/
|
|
490
486
|
slug?: string;
|
|
491
487
|
/** ID of the entity associated with the event. */
|
|
492
488
|
entityId?: string;
|
|
493
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
489
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
494
490
|
eventTime?: Date | null;
|
|
495
491
|
/**
|
|
496
492
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -500,12 +496,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
500
496
|
/** If present, indicates the action that triggered the event. */
|
|
501
497
|
originatedFrom?: string | null;
|
|
502
498
|
/**
|
|
503
|
-
* A sequence number
|
|
504
|
-
*
|
|
505
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
506
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
507
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
508
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
499
|
+
* 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.
|
|
500
|
+
* 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.
|
|
509
501
|
*/
|
|
510
502
|
entityEventSequence?: string | null;
|
|
511
503
|
}
|
|
@@ -531,7 +523,7 @@ export interface EntityUpdatedEvent {
|
|
|
531
523
|
currentEntity?: string;
|
|
532
524
|
}
|
|
533
525
|
export interface EntityDeletedEvent {
|
|
534
|
-
/** Entity that was deleted */
|
|
526
|
+
/** Entity that was deleted. */
|
|
535
527
|
deletedEntity?: string | null;
|
|
536
528
|
}
|
|
537
529
|
export interface ActionEvent {
|
|
@@ -624,25 +616,21 @@ export interface BaseEventMetadata {
|
|
|
624
616
|
identity?: IdentificationData;
|
|
625
617
|
}
|
|
626
618
|
export interface EventMetadata extends BaseEventMetadata {
|
|
627
|
-
/**
|
|
628
|
-
* Unique event ID.
|
|
629
|
-
* Allows clients to ignore duplicate webhooks.
|
|
630
|
-
*/
|
|
619
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
631
620
|
_id?: string;
|
|
632
621
|
/**
|
|
633
|
-
*
|
|
634
|
-
*
|
|
622
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
623
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
635
624
|
*/
|
|
636
625
|
entityFqdn?: string;
|
|
637
626
|
/**
|
|
638
|
-
*
|
|
639
|
-
*
|
|
640
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
627
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
628
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
641
629
|
*/
|
|
642
630
|
slug?: string;
|
|
643
631
|
/** ID of the entity associated with the event. */
|
|
644
632
|
entityId?: string;
|
|
645
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
633
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
646
634
|
eventTime?: Date | null;
|
|
647
635
|
/**
|
|
648
636
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -652,12 +640,8 @@ export interface EventMetadata extends BaseEventMetadata {
|
|
|
652
640
|
/** If present, indicates the action that triggered the event. */
|
|
653
641
|
originatedFrom?: string | null;
|
|
654
642
|
/**
|
|
655
|
-
* A sequence number
|
|
656
|
-
*
|
|
657
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
658
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
659
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
660
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
643
|
+
* 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.
|
|
644
|
+
* 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.
|
|
661
645
|
*/
|
|
662
646
|
entityEventSequence?: string | null;
|
|
663
647
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loyalty-v1-coupon-coupons.universal.js","sourceRoot":"","sources":["../../../../src/loyalty-v1-coupon-coupons.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,4BAA4B,MAAM,qCAAqC,CAAC;AA+LpF,MAAM,CAAN,IAAY,IAOX;AAPD,WAAY,IAAI;IACd,2BAAmB,CAAA;IACnB,6CAAqC,CAAA;IACrC,6CAAqC,CAAA;IACrC,uCAA+B,CAAA;IAC/B,iDAAyC,CAAA;IACzC,mCAA2B,CAAA;AAC7B,CAAC,EAPW,IAAI,KAAJ,IAAI,QAOf;AAsCD,MAAM,CAAN,IAAY,MAaX;AAbD,WAAY,MAAM;IAChB,sBAAsB;IACtB,6BAAmB,CAAA;IACnB,0FAA0F;IAC1F,6BAAmB,CAAA;IACnB,oEAAoE;IACpE,2BAAiB,CAAA;IACjB,2EAA2E;IAC3E,6BAAmB,CAAA;IACnB,gHAAgH;IAChH,2BAAiB,CAAA;IACjB,wCAAwC;IACxC,+BAAqB,CAAA;AACvB,CAAC,EAbW,MAAM,KAAN,MAAM,QAajB;AAqHD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;
|
|
1
|
+
{"version":3,"file":"loyalty-v1-coupon-coupons.universal.js","sourceRoot":"","sources":["../../../../src/loyalty-v1-coupon-coupons.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;AAE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,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;IACnC,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE;YAC1D,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,KAAK,EAAE,UAAU,CAAC,CACpB,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_loyalty_coupons",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.11",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"service-plugins"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@wix/sdk-runtime": "^0.3.
|
|
32
|
-
"@wix/sdk-types": "^1.13.
|
|
31
|
+
"@wix/sdk-runtime": "^0.3.49",
|
|
32
|
+
"@wix/sdk-types": "^1.13.23"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"typescript": "^5.3.2"
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"fqdn": "wix.loyalty.v1.coupon"
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
|
-
"falconPackageHash": "
|
|
51
|
+
"falconPackageHash": "7db617071505dafa2b84bfd9c3994e3a31f3190c58e8c870cd827746"
|
|
52
52
|
}
|