@wix/auto_sdk_benefit-programs_transactions 1.0.16 → 1.0.18
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/benefit-programs-v1-transaction-transactions.types.d.ts +9 -17
- package/build/cjs/src/benefit-programs-v1-transaction-transactions.types.js.map +1 -1
- package/build/cjs/src/benefit-programs-v1-transaction-transactions.universal.d.ts +9 -17
- package/build/cjs/src/benefit-programs-v1-transaction-transactions.universal.js.map +1 -1
- package/build/es/src/benefit-programs-v1-transaction-transactions.types.d.ts +9 -17
- package/build/es/src/benefit-programs-v1-transaction-transactions.types.js.map +1 -1
- package/build/es/src/benefit-programs-v1-transaction-transactions.universal.d.ts +9 -17
- package/build/es/src/benefit-programs-v1-transaction-transactions.universal.js.map +1 -1
- package/build/internal/cjs/src/benefit-programs-v1-transaction-transactions.types.d.ts +9 -17
- package/build/internal/cjs/src/benefit-programs-v1-transaction-transactions.types.js.map +1 -1
- package/build/internal/cjs/src/benefit-programs-v1-transaction-transactions.universal.d.ts +9 -17
- package/build/internal/cjs/src/benefit-programs-v1-transaction-transactions.universal.js.map +1 -1
- package/build/internal/es/src/benefit-programs-v1-transaction-transactions.types.d.ts +9 -17
- package/build/internal/es/src/benefit-programs-v1-transaction-transactions.types.js.map +1 -1
- package/build/internal/es/src/benefit-programs-v1-transaction-transactions.universal.d.ts +9 -17
- package/build/internal/es/src/benefit-programs-v1-transaction-transactions.universal.js.map +1 -1
- package/package.json +4 -4
|
@@ -459,25 +459,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
459
459
|
updatedEvent?: EntityUpdatedEvent;
|
|
460
460
|
deletedEvent?: EntityDeletedEvent;
|
|
461
461
|
actionEvent?: ActionEvent;
|
|
462
|
-
/**
|
|
463
|
-
* Unique event ID.
|
|
464
|
-
* Allows clients to ignore duplicate webhooks.
|
|
465
|
-
*/
|
|
462
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
466
463
|
id?: string;
|
|
467
464
|
/**
|
|
468
|
-
*
|
|
469
|
-
*
|
|
465
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
466
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
470
467
|
*/
|
|
471
468
|
entityFqdn?: string;
|
|
472
469
|
/**
|
|
473
|
-
*
|
|
474
|
-
*
|
|
475
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
470
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
471
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
476
472
|
*/
|
|
477
473
|
slug?: string;
|
|
478
474
|
/** ID of the entity associated with the event. */
|
|
479
475
|
entityId?: string;
|
|
480
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
476
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
481
477
|
eventTime?: Date | null;
|
|
482
478
|
/**
|
|
483
479
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -487,12 +483,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
487
483
|
/** If present, indicates the action that triggered the event. */
|
|
488
484
|
originatedFrom?: string | null;
|
|
489
485
|
/**
|
|
490
|
-
* A sequence number
|
|
491
|
-
*
|
|
492
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
493
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
494
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
495
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
486
|
+
* 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.
|
|
487
|
+
* 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.
|
|
496
488
|
*/
|
|
497
489
|
entityEventSequence?: string | null;
|
|
498
490
|
}
|
|
@@ -520,7 +512,7 @@ export interface EntityUpdatedEvent {
|
|
|
520
512
|
currentEntityAsJson?: string;
|
|
521
513
|
}
|
|
522
514
|
export interface EntityDeletedEvent {
|
|
523
|
-
/** Entity that was deleted */
|
|
515
|
+
/** Entity that was deleted. */
|
|
524
516
|
deletedEntityAsJson?: string | null;
|
|
525
517
|
}
|
|
526
518
|
export interface ActionEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"benefit-programs-v1-transaction-transactions.types.js","sourceRoot":"","sources":["../../../src/benefit-programs-v1-transaction-transactions.types.ts"],"names":[],"mappings":";;;AAkHA,IAAY,WAMX;AAND,WAAY,WAAW;IACrB,sCAAuB,CAAA;IACvB,2BAA2B;IAC3B,sCAAuB,CAAA;IACvB,gCAAgC;IAChC,oCAAqB,CAAA;AACvB,CAAC,EANW,WAAW,2BAAX,WAAW,QAMtB;AAwCD,IAAY,YASX;AATD,WAAY,YAAY;IACtB,4CAA4C;IAC5C,mCAAmB,CAAA;IACnB,4CAA4C;IAC5C,uDAAuC,CAAA;IACvC,+BAA+B;IAC/B,iCAAiB,CAAA;IACjB,iEAAiE;IACjE,qCAAqB,CAAA;AACvB,CAAC,EATW,YAAY,4BAAZ,YAAY,QASvB;AAED,IAAY,iBAQX;AARD,WAAY,iBAAiB;IAC3B,4CAAuB,CAAA;IACvB,sEAAsE;IACtE,wCAAmB,CAAA;IACnB,0CAA0C;IAC1C,4CAAuB,CAAA;IACvB,0BAA0B;IAC1B,sCAAiB,CAAA;AACnB,CAAC,EARW,iBAAiB,iCAAjB,iBAAiB,QAQ5B;AAgQD,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,4BAA4B;IAC5B,wBAAW,CAAA;IACX,6BAA6B;IAC7B,0BAAa,CAAA;AACf,CAAC,EALW,SAAS,yBAAT,SAAS,QAKpB;
|
|
1
|
+
{"version":3,"file":"benefit-programs-v1-transaction-transactions.types.js","sourceRoot":"","sources":["../../../src/benefit-programs-v1-transaction-transactions.types.ts"],"names":[],"mappings":";;;AAkHA,IAAY,WAMX;AAND,WAAY,WAAW;IACrB,sCAAuB,CAAA;IACvB,2BAA2B;IAC3B,sCAAuB,CAAA;IACvB,gCAAgC;IAChC,oCAAqB,CAAA;AACvB,CAAC,EANW,WAAW,2BAAX,WAAW,QAMtB;AAwCD,IAAY,YASX;AATD,WAAY,YAAY;IACtB,4CAA4C;IAC5C,mCAAmB,CAAA;IACnB,4CAA4C;IAC5C,uDAAuC,CAAA;IACvC,+BAA+B;IAC/B,iCAAiB,CAAA;IACjB,iEAAiE;IACjE,qCAAqB,CAAA;AACvB,CAAC,EATW,YAAY,4BAAZ,YAAY,QASvB;AAED,IAAY,iBAQX;AARD,WAAY,iBAAiB;IAC3B,4CAAuB,CAAA;IACvB,sEAAsE;IACtE,wCAAmB,CAAA;IACnB,0CAA0C;IAC1C,4CAAuB,CAAA;IACvB,0BAA0B;IAC1B,sCAAiB,CAAA;AACnB,CAAC,EARW,iBAAiB,iCAAjB,iBAAiB,QAQ5B;AAgQD,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,4BAA4B;IAC5B,wBAAW,CAAA;IACX,6BAA6B;IAC7B,0BAAa,CAAA;AACf,CAAC,EALW,SAAS,yBAAT,SAAS,QAKpB;AA6LD,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"}
|
|
@@ -460,25 +460,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
460
460
|
updatedEvent?: EntityUpdatedEvent;
|
|
461
461
|
deletedEvent?: EntityDeletedEvent;
|
|
462
462
|
actionEvent?: ActionEvent;
|
|
463
|
-
/**
|
|
464
|
-
* Unique event ID.
|
|
465
|
-
* Allows clients to ignore duplicate webhooks.
|
|
466
|
-
*/
|
|
463
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
467
464
|
_id?: string;
|
|
468
465
|
/**
|
|
469
|
-
*
|
|
470
|
-
*
|
|
466
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
467
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
471
468
|
*/
|
|
472
469
|
entityFqdn?: string;
|
|
473
470
|
/**
|
|
474
|
-
*
|
|
475
|
-
*
|
|
476
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
471
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
472
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
477
473
|
*/
|
|
478
474
|
slug?: string;
|
|
479
475
|
/** ID of the entity associated with the event. */
|
|
480
476
|
entityId?: string;
|
|
481
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
477
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
482
478
|
eventTime?: Date | null;
|
|
483
479
|
/**
|
|
484
480
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -488,12 +484,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
488
484
|
/** If present, indicates the action that triggered the event. */
|
|
489
485
|
originatedFrom?: string | null;
|
|
490
486
|
/**
|
|
491
|
-
* A sequence number
|
|
492
|
-
*
|
|
493
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
494
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
495
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
496
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
487
|
+
* 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.
|
|
488
|
+
* 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.
|
|
497
489
|
*/
|
|
498
490
|
entityEventSequence?: string | null;
|
|
499
491
|
}
|
|
@@ -519,7 +511,7 @@ export interface EntityUpdatedEvent {
|
|
|
519
511
|
currentEntity?: string;
|
|
520
512
|
}
|
|
521
513
|
export interface EntityDeletedEvent {
|
|
522
|
-
/** Entity that was deleted */
|
|
514
|
+
/** Entity that was deleted. */
|
|
523
515
|
deletedEntity?: string | null;
|
|
524
516
|
}
|
|
525
517
|
export interface ActionEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"benefit-programs-v1-transaction-transactions.universal.js","sourceRoot":"","sources":["../../../src/benefit-programs-v1-transaction-transactions.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,kIAAoH;AAqHpH,IAAY,WAMX;AAND,WAAY,WAAW;IACrB,sCAAuB,CAAA;IACvB,2BAA2B;IAC3B,sCAAuB,CAAA;IACvB,gCAAgC;IAChC,oCAAqB,CAAA;AACvB,CAAC,EANW,WAAW,2BAAX,WAAW,QAMtB;AAwCD,IAAY,YASX;AATD,WAAY,YAAY;IACtB,4CAA4C;IAC5C,mCAAmB,CAAA;IACnB,4CAA4C;IAC5C,uDAAuC,CAAA;IACvC,+BAA+B;IAC/B,iCAAiB,CAAA;IACjB,iEAAiE;IACjE,qCAAqB,CAAA;AACvB,CAAC,EATW,YAAY,4BAAZ,YAAY,QASvB;AAED,IAAY,iBAQX;AARD,WAAY,iBAAiB;IAC3B,4CAAuB,CAAA;IACvB,sEAAsE;IACtE,wCAAmB,CAAA;IACnB,0CAA0C;IAC1C,4CAAuB,CAAA;IACvB,0BAA0B;IAC1B,sCAAiB,CAAA;AACnB,CAAC,EARW,iBAAiB,iCAAjB,iBAAiB,QAQ5B;AAgQD,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,4BAA4B;IAC5B,wBAAW,CAAA;IACX,6BAA6B;IAC7B,0BAAa,CAAA;AACf,CAAC,EALW,SAAS,yBAAT,SAAS,QAKpB;
|
|
1
|
+
{"version":3,"file":"benefit-programs-v1-transaction-transactions.universal.js","sourceRoot":"","sources":["../../../src/benefit-programs-v1-transaction-transactions.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,kIAAoH;AAqHpH,IAAY,WAMX;AAND,WAAY,WAAW;IACrB,sCAAuB,CAAA;IACvB,2BAA2B;IAC3B,sCAAuB,CAAA;IACvB,gCAAgC;IAChC,oCAAqB,CAAA;AACvB,CAAC,EANW,WAAW,2BAAX,WAAW,QAMtB;AAwCD,IAAY,YASX;AATD,WAAY,YAAY;IACtB,4CAA4C;IAC5C,mCAAmB,CAAA;IACnB,4CAA4C;IAC5C,uDAAuC,CAAA;IACvC,+BAA+B;IAC/B,iCAAiB,CAAA;IACjB,iEAAiE;IACjE,qCAAqB,CAAA;AACvB,CAAC,EATW,YAAY,4BAAZ,YAAY,QASvB;AAED,IAAY,iBAQX;AARD,WAAY,iBAAiB;IAC3B,4CAAuB,CAAA;IACvB,sEAAsE;IACtE,wCAAmB,CAAA;IACnB,0CAA0C;IAC1C,4CAAuB,CAAA;IACvB,0BAA0B;IAC1B,sCAAiB,CAAA;AACnB,CAAC,EARW,iBAAiB,iCAAjB,iBAAiB,QAQ5B;AAgQD,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,4BAA4B;IAC5B,wBAAW,CAAA;IACX,6BAA6B;IAC7B,0BAAa,CAAA;AACf,CAAC,EALW,SAAS,yBAAT,SAAS,QAKpB;AA2L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AAE;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;AAxDD,8CAwDC"}
|
|
@@ -459,25 +459,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
459
459
|
updatedEvent?: EntityUpdatedEvent;
|
|
460
460
|
deletedEvent?: EntityDeletedEvent;
|
|
461
461
|
actionEvent?: ActionEvent;
|
|
462
|
-
/**
|
|
463
|
-
* Unique event ID.
|
|
464
|
-
* Allows clients to ignore duplicate webhooks.
|
|
465
|
-
*/
|
|
462
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
466
463
|
id?: string;
|
|
467
464
|
/**
|
|
468
|
-
*
|
|
469
|
-
*
|
|
465
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
466
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
470
467
|
*/
|
|
471
468
|
entityFqdn?: string;
|
|
472
469
|
/**
|
|
473
|
-
*
|
|
474
|
-
*
|
|
475
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
470
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
471
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
476
472
|
*/
|
|
477
473
|
slug?: string;
|
|
478
474
|
/** ID of the entity associated with the event. */
|
|
479
475
|
entityId?: string;
|
|
480
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
476
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
481
477
|
eventTime?: Date | null;
|
|
482
478
|
/**
|
|
483
479
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -487,12 +483,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
487
483
|
/** If present, indicates the action that triggered the event. */
|
|
488
484
|
originatedFrom?: string | null;
|
|
489
485
|
/**
|
|
490
|
-
* A sequence number
|
|
491
|
-
*
|
|
492
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
493
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
494
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
495
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
486
|
+
* 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.
|
|
487
|
+
* 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.
|
|
496
488
|
*/
|
|
497
489
|
entityEventSequence?: string | null;
|
|
498
490
|
}
|
|
@@ -520,7 +512,7 @@ export interface EntityUpdatedEvent {
|
|
|
520
512
|
currentEntityAsJson?: string;
|
|
521
513
|
}
|
|
522
514
|
export interface EntityDeletedEvent {
|
|
523
|
-
/** Entity that was deleted */
|
|
515
|
+
/** Entity that was deleted. */
|
|
524
516
|
deletedEntityAsJson?: string | null;
|
|
525
517
|
}
|
|
526
518
|
export interface ActionEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"benefit-programs-v1-transaction-transactions.types.js","sourceRoot":"","sources":["../../../src/benefit-programs-v1-transaction-transactions.types.ts"],"names":[],"mappings":"AAkHA,MAAM,CAAN,IAAY,WAMX;AAND,WAAY,WAAW;IACrB,sCAAuB,CAAA;IACvB,2BAA2B;IAC3B,sCAAuB,CAAA;IACvB,gCAAgC;IAChC,oCAAqB,CAAA;AACvB,CAAC,EANW,WAAW,KAAX,WAAW,QAMtB;AAwCD,MAAM,CAAN,IAAY,YASX;AATD,WAAY,YAAY;IACtB,4CAA4C;IAC5C,mCAAmB,CAAA;IACnB,4CAA4C;IAC5C,uDAAuC,CAAA;IACvC,+BAA+B;IAC/B,iCAAiB,CAAA;IACjB,iEAAiE;IACjE,qCAAqB,CAAA;AACvB,CAAC,EATW,YAAY,KAAZ,YAAY,QASvB;AAED,MAAM,CAAN,IAAY,iBAQX;AARD,WAAY,iBAAiB;IAC3B,4CAAuB,CAAA;IACvB,sEAAsE;IACtE,wCAAmB,CAAA;IACnB,0CAA0C;IAC1C,4CAAuB,CAAA;IACvB,0BAA0B;IAC1B,sCAAiB,CAAA;AACnB,CAAC,EARW,iBAAiB,KAAjB,iBAAiB,QAQ5B;AAgQD,MAAM,CAAN,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,4BAA4B;IAC5B,wBAAW,CAAA;IACX,6BAA6B;IAC7B,0BAAa,CAAA;AACf,CAAC,EALW,SAAS,KAAT,SAAS,QAKpB;
|
|
1
|
+
{"version":3,"file":"benefit-programs-v1-transaction-transactions.types.js","sourceRoot":"","sources":["../../../src/benefit-programs-v1-transaction-transactions.types.ts"],"names":[],"mappings":"AAkHA,MAAM,CAAN,IAAY,WAMX;AAND,WAAY,WAAW;IACrB,sCAAuB,CAAA;IACvB,2BAA2B;IAC3B,sCAAuB,CAAA;IACvB,gCAAgC;IAChC,oCAAqB,CAAA;AACvB,CAAC,EANW,WAAW,KAAX,WAAW,QAMtB;AAwCD,MAAM,CAAN,IAAY,YASX;AATD,WAAY,YAAY;IACtB,4CAA4C;IAC5C,mCAAmB,CAAA;IACnB,4CAA4C;IAC5C,uDAAuC,CAAA;IACvC,+BAA+B;IAC/B,iCAAiB,CAAA;IACjB,iEAAiE;IACjE,qCAAqB,CAAA;AACvB,CAAC,EATW,YAAY,KAAZ,YAAY,QASvB;AAED,MAAM,CAAN,IAAY,iBAQX;AARD,WAAY,iBAAiB;IAC3B,4CAAuB,CAAA;IACvB,sEAAsE;IACtE,wCAAmB,CAAA;IACnB,0CAA0C;IAC1C,4CAAuB,CAAA;IACvB,0BAA0B;IAC1B,sCAAiB,CAAA;AACnB,CAAC,EARW,iBAAiB,KAAjB,iBAAiB,QAQ5B;AAgQD,MAAM,CAAN,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,4BAA4B;IAC5B,wBAAW,CAAA;IACX,6BAA6B;IAC7B,0BAAa,CAAA;AACf,CAAC,EALW,SAAS,KAAT,SAAS,QAKpB;AA6LD,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"}
|
|
@@ -460,25 +460,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
460
460
|
updatedEvent?: EntityUpdatedEvent;
|
|
461
461
|
deletedEvent?: EntityDeletedEvent;
|
|
462
462
|
actionEvent?: ActionEvent;
|
|
463
|
-
/**
|
|
464
|
-
* Unique event ID.
|
|
465
|
-
* Allows clients to ignore duplicate webhooks.
|
|
466
|
-
*/
|
|
463
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
467
464
|
_id?: string;
|
|
468
465
|
/**
|
|
469
|
-
*
|
|
470
|
-
*
|
|
466
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
467
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
471
468
|
*/
|
|
472
469
|
entityFqdn?: string;
|
|
473
470
|
/**
|
|
474
|
-
*
|
|
475
|
-
*
|
|
476
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
471
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
472
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
477
473
|
*/
|
|
478
474
|
slug?: string;
|
|
479
475
|
/** ID of the entity associated with the event. */
|
|
480
476
|
entityId?: string;
|
|
481
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
477
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
482
478
|
eventTime?: Date | null;
|
|
483
479
|
/**
|
|
484
480
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -488,12 +484,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
488
484
|
/** If present, indicates the action that triggered the event. */
|
|
489
485
|
originatedFrom?: string | null;
|
|
490
486
|
/**
|
|
491
|
-
* A sequence number
|
|
492
|
-
*
|
|
493
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
494
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
495
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
496
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
487
|
+
* 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.
|
|
488
|
+
* 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.
|
|
497
489
|
*/
|
|
498
490
|
entityEventSequence?: string | null;
|
|
499
491
|
}
|
|
@@ -519,7 +511,7 @@ export interface EntityUpdatedEvent {
|
|
|
519
511
|
currentEntity?: string;
|
|
520
512
|
}
|
|
521
513
|
export interface EntityDeletedEvent {
|
|
522
|
-
/** Entity that was deleted */
|
|
514
|
+
/** Entity that was deleted. */
|
|
523
515
|
deletedEntity?: string | null;
|
|
524
516
|
}
|
|
525
517
|
export interface ActionEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"benefit-programs-v1-transaction-transactions.universal.js","sourceRoot":"","sources":["../../../src/benefit-programs-v1-transaction-transactions.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,yCAAyC,MAAM,wDAAwD,CAAC;AAqHpH,MAAM,CAAN,IAAY,WAMX;AAND,WAAY,WAAW;IACrB,sCAAuB,CAAA;IACvB,2BAA2B;IAC3B,sCAAuB,CAAA;IACvB,gCAAgC;IAChC,oCAAqB,CAAA;AACvB,CAAC,EANW,WAAW,KAAX,WAAW,QAMtB;AAwCD,MAAM,CAAN,IAAY,YASX;AATD,WAAY,YAAY;IACtB,4CAA4C;IAC5C,mCAAmB,CAAA;IACnB,4CAA4C;IAC5C,uDAAuC,CAAA;IACvC,+BAA+B;IAC/B,iCAAiB,CAAA;IACjB,iEAAiE;IACjE,qCAAqB,CAAA;AACvB,CAAC,EATW,YAAY,KAAZ,YAAY,QASvB;AAED,MAAM,CAAN,IAAY,iBAQX;AARD,WAAY,iBAAiB;IAC3B,4CAAuB,CAAA;IACvB,sEAAsE;IACtE,wCAAmB,CAAA;IACnB,0CAA0C;IAC1C,4CAAuB,CAAA;IACvB,0BAA0B;IAC1B,sCAAiB,CAAA;AACnB,CAAC,EARW,iBAAiB,KAAjB,iBAAiB,QAQ5B;AAgQD,MAAM,CAAN,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,4BAA4B;IAC5B,wBAAW,CAAA;IACX,6BAA6B;IAC7B,0BAAa,CAAA;AACf,CAAC,EALW,SAAS,KAAT,SAAS,QAKpB;
|
|
1
|
+
{"version":3,"file":"benefit-programs-v1-transaction-transactions.universal.js","sourceRoot":"","sources":["../../../src/benefit-programs-v1-transaction-transactions.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAE,YAAY,EA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C,OAAO,CAAC,OAAO,CAAC,CAAC;gBACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;gBACjC,OAAO,MAAM,CAAC;YAChB,CAAC;YAAC,OAAO,GAAG,EAAE,CAAC;gBACb,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;gBAC5B,MAAM,GAAG,CAAC;YACZ,CAAC;QACH,CAAC;QACD,kBAAkB,EAAE,CAAC,KAAwC,EAAE,EAAE;YAC/D,MAAM,IAAI,GAAG,CAAC,KAAK,EAAE,EAAE,CAA4C,CAAC;YACpE,OAAO,qCAAqC,CAAC;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,GACoC,EAAE,EAAE;YAC5C,MAAM,eAAe,GAAG,uCAAuC,CAAC,IAAI,CAAC,CAAC;YAEtE,OAAO;gBACL,KAAK,EAAE,eAAe,EAAE,YAAY;gBACpC,cAAc,EAAE,eAAe,EAAE,QAAQ;aAC1C,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"}
|
|
@@ -459,25 +459,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
459
459
|
updatedEvent?: EntityUpdatedEvent;
|
|
460
460
|
deletedEvent?: EntityDeletedEvent;
|
|
461
461
|
actionEvent?: ActionEvent;
|
|
462
|
-
/**
|
|
463
|
-
* Unique event ID.
|
|
464
|
-
* Allows clients to ignore duplicate webhooks.
|
|
465
|
-
*/
|
|
462
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
466
463
|
id?: string;
|
|
467
464
|
/**
|
|
468
|
-
*
|
|
469
|
-
*
|
|
465
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
466
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
470
467
|
*/
|
|
471
468
|
entityFqdn?: string;
|
|
472
469
|
/**
|
|
473
|
-
*
|
|
474
|
-
*
|
|
475
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
470
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
471
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
476
472
|
*/
|
|
477
473
|
slug?: string;
|
|
478
474
|
/** ID of the entity associated with the event. */
|
|
479
475
|
entityId?: string;
|
|
480
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
476
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
481
477
|
eventTime?: Date | null;
|
|
482
478
|
/**
|
|
483
479
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -487,12 +483,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
487
483
|
/** If present, indicates the action that triggered the event. */
|
|
488
484
|
originatedFrom?: string | null;
|
|
489
485
|
/**
|
|
490
|
-
* A sequence number
|
|
491
|
-
*
|
|
492
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
493
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
494
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
495
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
486
|
+
* 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.
|
|
487
|
+
* 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.
|
|
496
488
|
*/
|
|
497
489
|
entityEventSequence?: string | null;
|
|
498
490
|
}
|
|
@@ -520,7 +512,7 @@ export interface EntityUpdatedEvent {
|
|
|
520
512
|
currentEntityAsJson?: string;
|
|
521
513
|
}
|
|
522
514
|
export interface EntityDeletedEvent {
|
|
523
|
-
/** Entity that was deleted */
|
|
515
|
+
/** Entity that was deleted. */
|
|
524
516
|
deletedEntityAsJson?: string | null;
|
|
525
517
|
}
|
|
526
518
|
export interface ActionEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"benefit-programs-v1-transaction-transactions.types.js","sourceRoot":"","sources":["../../../../src/benefit-programs-v1-transaction-transactions.types.ts"],"names":[],"mappings":";;;AAkHA,IAAY,WAMX;AAND,WAAY,WAAW;IACrB,sCAAuB,CAAA;IACvB,2BAA2B;IAC3B,sCAAuB,CAAA;IACvB,gCAAgC;IAChC,oCAAqB,CAAA;AACvB,CAAC,EANW,WAAW,2BAAX,WAAW,QAMtB;AAwCD,IAAY,YASX;AATD,WAAY,YAAY;IACtB,4CAA4C;IAC5C,mCAAmB,CAAA;IACnB,4CAA4C;IAC5C,uDAAuC,CAAA;IACvC,+BAA+B;IAC/B,iCAAiB,CAAA;IACjB,iEAAiE;IACjE,qCAAqB,CAAA;AACvB,CAAC,EATW,YAAY,4BAAZ,YAAY,QASvB;AAED,IAAY,iBAQX;AARD,WAAY,iBAAiB;IAC3B,4CAAuB,CAAA;IACvB,sEAAsE;IACtE,wCAAmB,CAAA;IACnB,0CAA0C;IAC1C,4CAAuB,CAAA;IACvB,0BAA0B;IAC1B,sCAAiB,CAAA;AACnB,CAAC,EARW,iBAAiB,iCAAjB,iBAAiB,QAQ5B;AAgQD,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,4BAA4B;IAC5B,wBAAW,CAAA;IACX,6BAA6B;IAC7B,0BAAa,CAAA;AACf,CAAC,EALW,SAAS,yBAAT,SAAS,QAKpB;
|
|
1
|
+
{"version":3,"file":"benefit-programs-v1-transaction-transactions.types.js","sourceRoot":"","sources":["../../../../src/benefit-programs-v1-transaction-transactions.types.ts"],"names":[],"mappings":";;;AAkHA,IAAY,WAMX;AAND,WAAY,WAAW;IACrB,sCAAuB,CAAA;IACvB,2BAA2B;IAC3B,sCAAuB,CAAA;IACvB,gCAAgC;IAChC,oCAAqB,CAAA;AACvB,CAAC,EANW,WAAW,2BAAX,WAAW,QAMtB;AAwCD,IAAY,YASX;AATD,WAAY,YAAY;IACtB,4CAA4C;IAC5C,mCAAmB,CAAA;IACnB,4CAA4C;IAC5C,uDAAuC,CAAA;IACvC,+BAA+B;IAC/B,iCAAiB,CAAA;IACjB,iEAAiE;IACjE,qCAAqB,CAAA;AACvB,CAAC,EATW,YAAY,4BAAZ,YAAY,QASvB;AAED,IAAY,iBAQX;AARD,WAAY,iBAAiB;IAC3B,4CAAuB,CAAA;IACvB,sEAAsE;IACtE,wCAAmB,CAAA;IACnB,0CAA0C;IAC1C,4CAAuB,CAAA;IACvB,0BAA0B;IAC1B,sCAAiB,CAAA;AACnB,CAAC,EARW,iBAAiB,iCAAjB,iBAAiB,QAQ5B;AAgQD,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,4BAA4B;IAC5B,wBAAW,CAAA;IACX,6BAA6B;IAC7B,0BAAa,CAAA;AACf,CAAC,EALW,SAAS,yBAAT,SAAS,QAKpB;AA6LD,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"}
|
|
@@ -460,25 +460,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
460
460
|
updatedEvent?: EntityUpdatedEvent;
|
|
461
461
|
deletedEvent?: EntityDeletedEvent;
|
|
462
462
|
actionEvent?: ActionEvent;
|
|
463
|
-
/**
|
|
464
|
-
* Unique event ID.
|
|
465
|
-
* Allows clients to ignore duplicate webhooks.
|
|
466
|
-
*/
|
|
463
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
467
464
|
_id?: string;
|
|
468
465
|
/**
|
|
469
|
-
*
|
|
470
|
-
*
|
|
466
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
467
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
471
468
|
*/
|
|
472
469
|
entityFqdn?: string;
|
|
473
470
|
/**
|
|
474
|
-
*
|
|
475
|
-
*
|
|
476
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
471
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
472
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
477
473
|
*/
|
|
478
474
|
slug?: string;
|
|
479
475
|
/** ID of the entity associated with the event. */
|
|
480
476
|
entityId?: string;
|
|
481
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
477
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
482
478
|
eventTime?: Date | null;
|
|
483
479
|
/**
|
|
484
480
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -488,12 +484,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
488
484
|
/** If present, indicates the action that triggered the event. */
|
|
489
485
|
originatedFrom?: string | null;
|
|
490
486
|
/**
|
|
491
|
-
* A sequence number
|
|
492
|
-
*
|
|
493
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
494
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
495
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
496
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
487
|
+
* 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.
|
|
488
|
+
* 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.
|
|
497
489
|
*/
|
|
498
490
|
entityEventSequence?: string | null;
|
|
499
491
|
}
|
|
@@ -519,7 +511,7 @@ export interface EntityUpdatedEvent {
|
|
|
519
511
|
currentEntity?: string;
|
|
520
512
|
}
|
|
521
513
|
export interface EntityDeletedEvent {
|
|
522
|
-
/** Entity that was deleted */
|
|
514
|
+
/** Entity that was deleted. */
|
|
523
515
|
deletedEntity?: string | null;
|
|
524
516
|
}
|
|
525
517
|
export interface ActionEvent {
|
package/build/internal/cjs/src/benefit-programs-v1-transaction-transactions.universal.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"benefit-programs-v1-transaction-transactions.universal.js","sourceRoot":"","sources":["../../../../src/benefit-programs-v1-transaction-transactions.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,kIAAoH;AAqHpH,IAAY,WAMX;AAND,WAAY,WAAW;IACrB,sCAAuB,CAAA;IACvB,2BAA2B;IAC3B,sCAAuB,CAAA;IACvB,gCAAgC;IAChC,oCAAqB,CAAA;AACvB,CAAC,EANW,WAAW,2BAAX,WAAW,QAMtB;AAwCD,IAAY,YASX;AATD,WAAY,YAAY;IACtB,4CAA4C;IAC5C,mCAAmB,CAAA;IACnB,4CAA4C;IAC5C,uDAAuC,CAAA;IACvC,+BAA+B;IAC/B,iCAAiB,CAAA;IACjB,iEAAiE;IACjE,qCAAqB,CAAA;AACvB,CAAC,EATW,YAAY,4BAAZ,YAAY,QASvB;AAED,IAAY,iBAQX;AARD,WAAY,iBAAiB;IAC3B,4CAAuB,CAAA;IACvB,sEAAsE;IACtE,wCAAmB,CAAA;IACnB,0CAA0C;IAC1C,4CAAuB,CAAA;IACvB,0BAA0B;IAC1B,sCAAiB,CAAA;AACnB,CAAC,EARW,iBAAiB,iCAAjB,iBAAiB,QAQ5B;AAgQD,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,4BAA4B;IAC5B,wBAAW,CAAA;IACX,6BAA6B;IAC7B,0BAAa,CAAA;AACf,CAAC,EALW,SAAS,yBAAT,SAAS,QAKpB;
|
|
1
|
+
{"version":3,"file":"benefit-programs-v1-transaction-transactions.universal.js","sourceRoot":"","sources":["../../../../src/benefit-programs-v1-transaction-transactions.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,kIAAoH;AAqHpH,IAAY,WAMX;AAND,WAAY,WAAW;IACrB,sCAAuB,CAAA;IACvB,2BAA2B;IAC3B,sCAAuB,CAAA;IACvB,gCAAgC;IAChC,oCAAqB,CAAA;AACvB,CAAC,EANW,WAAW,2BAAX,WAAW,QAMtB;AAwCD,IAAY,YASX;AATD,WAAY,YAAY;IACtB,4CAA4C;IAC5C,mCAAmB,CAAA;IACnB,4CAA4C;IAC5C,uDAAuC,CAAA;IACvC,+BAA+B;IAC/B,iCAAiB,CAAA;IACjB,iEAAiE;IACjE,qCAAqB,CAAA;AACvB,CAAC,EATW,YAAY,4BAAZ,YAAY,QASvB;AAED,IAAY,iBAQX;AARD,WAAY,iBAAiB;IAC3B,4CAAuB,CAAA;IACvB,sEAAsE;IACtE,wCAAmB,CAAA;IACnB,0CAA0C;IAC1C,4CAAuB,CAAA;IACvB,0BAA0B;IAC1B,sCAAiB,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Q;aAC1C,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;AAxDD,8CAwDC"}
|
|
@@ -459,25 +459,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
459
459
|
updatedEvent?: EntityUpdatedEvent;
|
|
460
460
|
deletedEvent?: EntityDeletedEvent;
|
|
461
461
|
actionEvent?: ActionEvent;
|
|
462
|
-
/**
|
|
463
|
-
* Unique event ID.
|
|
464
|
-
* Allows clients to ignore duplicate webhooks.
|
|
465
|
-
*/
|
|
462
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
466
463
|
id?: string;
|
|
467
464
|
/**
|
|
468
|
-
*
|
|
469
|
-
*
|
|
465
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
466
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
470
467
|
*/
|
|
471
468
|
entityFqdn?: string;
|
|
472
469
|
/**
|
|
473
|
-
*
|
|
474
|
-
*
|
|
475
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
470
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
471
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
476
472
|
*/
|
|
477
473
|
slug?: string;
|
|
478
474
|
/** ID of the entity associated with the event. */
|
|
479
475
|
entityId?: string;
|
|
480
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
476
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
481
477
|
eventTime?: Date | null;
|
|
482
478
|
/**
|
|
483
479
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -487,12 +483,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
487
483
|
/** If present, indicates the action that triggered the event. */
|
|
488
484
|
originatedFrom?: string | null;
|
|
489
485
|
/**
|
|
490
|
-
* A sequence number
|
|
491
|
-
*
|
|
492
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
493
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
494
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
495
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
486
|
+
* 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.
|
|
487
|
+
* 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.
|
|
496
488
|
*/
|
|
497
489
|
entityEventSequence?: string | null;
|
|
498
490
|
}
|
|
@@ -520,7 +512,7 @@ export interface EntityUpdatedEvent {
|
|
|
520
512
|
currentEntityAsJson?: string;
|
|
521
513
|
}
|
|
522
514
|
export interface EntityDeletedEvent {
|
|
523
|
-
/** Entity that was deleted */
|
|
515
|
+
/** Entity that was deleted. */
|
|
524
516
|
deletedEntityAsJson?: string | null;
|
|
525
517
|
}
|
|
526
518
|
export interface ActionEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"benefit-programs-v1-transaction-transactions.types.js","sourceRoot":"","sources":["../../../../src/benefit-programs-v1-transaction-transactions.types.ts"],"names":[],"mappings":"AAkHA,MAAM,CAAN,IAAY,WAMX;AAND,WAAY,WAAW;IACrB,sCAAuB,CAAA;IACvB,2BAA2B;IAC3B,sCAAuB,CAAA;IACvB,gCAAgC;IAChC,oCAAqB,CAAA;AACvB,CAAC,EANW,WAAW,KAAX,WAAW,QAMtB;AAwCD,MAAM,CAAN,IAAY,YASX;AATD,WAAY,YAAY;IACtB,4CAA4C;IAC5C,mCAAmB,CAAA;IACnB,4CAA4C;IAC5C,uDAAuC,CAAA;IACvC,+BAA+B;IAC/B,iCAAiB,CAAA;IACjB,iEAAiE;IACjE,qCAAqB,CAAA;AACvB,CAAC,EATW,YAAY,KAAZ,YAAY,QASvB;AAED,MAAM,CAAN,IAAY,iBAQX;AARD,WAAY,iBAAiB;IAC3B,4CAAuB,CAAA;IACvB,sEAAsE;IACtE,wCAAmB,CAAA;IACnB,0CAA0C;IAC1C,4CAAuB,CAAA;IACvB,0BAA0B;IAC1B,sCAAiB,CAAA;AACnB,CAAC,EARW,iBAAiB,KAAjB,iBAAiB,QAQ5B;AAgQD,MAAM,CAAN,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,4BAA4B;IAC5B,wBAAW,CAAA;IACX,6BAA6B;IAC7B,0BAAa,CAAA;AACf,CAAC,EALW,SAAS,KAAT,SAAS,QAKpB;
|
|
1
|
+
{"version":3,"file":"benefit-programs-v1-transaction-transactions.types.js","sourceRoot":"","sources":["../../../../src/benefit-programs-v1-transaction-transactions.types.ts"],"names":[],"mappings":"AAkHA,MAAM,CAAN,IAAY,WAMX;AAND,WAAY,WAAW;IACrB,sCAAuB,CAAA;IACvB,2BAA2B;IAC3B,sCAAuB,CAAA;IACvB,gCAAgC;IAChC,oCAAqB,CAAA;AACvB,CAAC,EANW,WAAW,KAAX,WAAW,QAMtB;AAwCD,MAAM,CAAN,IAAY,YASX;AATD,WAAY,YAAY;IACtB,4CAA4C;IAC5C,mCAAmB,CAAA;IACnB,4CAA4C;IAC5C,uDAAuC,CAAA;IACvC,+BAA+B;IAC/B,iCAAiB,CAAA;IACjB,iEAAiE;IACjE,qCAAqB,CAAA;AACvB,CAAC,EATW,YAAY,KAAZ,YAAY,QASvB;AAED,MAAM,CAAN,IAAY,iBAQX;AARD,WAAY,iBAAiB;IAC3B,4CAAuB,CAAA;IACvB,sEAAsE;IACtE,wCAAmB,CAAA;IACnB,0CAA0C;IAC1C,4CAAuB,CAAA;IACvB,0BAA0B;IAC1B,sCAAiB,CAAA;AACnB,CAAC,EARW,iBAAiB,KAAjB,iBAAiB,QAQ5B;AAgQD,MAAM,CAAN,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,4BAA4B;IAC5B,wBAAW,CAAA;IACX,6BAA6B;IAC7B,0BAAa,CAAA;AACf,CAAC,EALW,SAAS,KAAT,SAAS,QAKpB;AA6LD,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"}
|
|
@@ -460,25 +460,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
460
460
|
updatedEvent?: EntityUpdatedEvent;
|
|
461
461
|
deletedEvent?: EntityDeletedEvent;
|
|
462
462
|
actionEvent?: ActionEvent;
|
|
463
|
-
/**
|
|
464
|
-
* Unique event ID.
|
|
465
|
-
* Allows clients to ignore duplicate webhooks.
|
|
466
|
-
*/
|
|
463
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
467
464
|
_id?: string;
|
|
468
465
|
/**
|
|
469
|
-
*
|
|
470
|
-
*
|
|
466
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
467
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
471
468
|
*/
|
|
472
469
|
entityFqdn?: string;
|
|
473
470
|
/**
|
|
474
|
-
*
|
|
475
|
-
*
|
|
476
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
471
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
472
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
477
473
|
*/
|
|
478
474
|
slug?: string;
|
|
479
475
|
/** ID of the entity associated with the event. */
|
|
480
476
|
entityId?: string;
|
|
481
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
477
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
482
478
|
eventTime?: Date | null;
|
|
483
479
|
/**
|
|
484
480
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -488,12 +484,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
488
484
|
/** If present, indicates the action that triggered the event. */
|
|
489
485
|
originatedFrom?: string | null;
|
|
490
486
|
/**
|
|
491
|
-
* A sequence number
|
|
492
|
-
*
|
|
493
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
494
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
495
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
496
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
487
|
+
* 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.
|
|
488
|
+
* 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.
|
|
497
489
|
*/
|
|
498
490
|
entityEventSequence?: string | null;
|
|
499
491
|
}
|
|
@@ -519,7 +511,7 @@ export interface EntityUpdatedEvent {
|
|
|
519
511
|
currentEntity?: string;
|
|
520
512
|
}
|
|
521
513
|
export interface EntityDeletedEvent {
|
|
522
|
-
/** Entity that was deleted */
|
|
514
|
+
/** Entity that was deleted. */
|
|
523
515
|
deletedEntity?: string | null;
|
|
524
516
|
}
|
|
525
517
|
export interface ActionEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"benefit-programs-v1-transaction-transactions.universal.js","sourceRoot":"","sources":["../../../../src/benefit-programs-v1-transaction-transactions.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,yCAAyC,MAAM,wDAAwD,CAAC;AAqHpH,MAAM,CAAN,IAAY,WAMX;AAND,WAAY,WAAW;IACrB,sCAAuB,CAAA;IACvB,2BAA2B;IAC3B,sCAAuB,CAAA;IACvB,gCAAgC;IAChC,oCAAqB,CAAA;AACvB,CAAC,EANW,WAAW,KAAX,WAAW,QAMtB;AAwCD,MAAM,CAAN,IAAY,YASX;AATD,WAAY,YAAY;IACtB,4CAA4C;IAC5C,mCAAmB,CAAA;IACnB,4CAA4C;IAC5C,uDAAuC,CAAA;IACvC,+BAA+B;IAC/B,iCAAiB,CAAA;IACjB,iEAAiE;IACjE,qCAAqB,CAAA;AACvB,CAAC,EATW,YAAY,KAAZ,YAAY,QASvB;AAED,MAAM,CAAN,IAAY,iBAQX;AARD,WAAY,iBAAiB;IAC3B,4CAAuB,CAAA;IACvB,sEAAsE;IACtE,wCAAmB,CAAA;IACnB,0CAA0C;IAC1C,4CAAuB,CAAA;IACvB,0BAA0B;IAC1B,sCAAiB,CAAA;AACnB,CAAC,EARW,iBAAiB,KAAjB,iBAAiB,QAQ5B;AAgQD,MAAM,CAAN,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,4BAA4B;IAC5B,wBAAW,CAAA;IACX,6BAA6B;IAC7B,0BAAa,CAAA;AACf,CAAC,EALW,SAAS,KAAT,SAAS,QAKpB;
|
|
1
|
+
{"version":3,"file":"benefit-programs-v1-transaction-transactions.universal.js","sourceRoot":"","sources":["../../../../src/benefit-programs-v1-transaction-transactions.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,yCAAyC,MAAM,wDAAwD,CAAC;AAqHpH,MAAM,CAAN,IAAY,WAMX;AAND,WAAY,WAAW;IACrB,sCAAuB,CAAA;IACvB,2BAA2B;IAC3B,sCAAuB,CAAA;IACvB,gCAAgC;IAChC,oCAAqB,CAAA;AACvB,CAAC,EANW,WAAW,KAAX,WAAW,QAMtB;AAwCD,MAAM,CAAN,IAAY,YASX;AATD,WAAY,YAAY;IACtB,4CAA4C;IAC5C,mCAAmB,CAAA;IACnB,4CAA4C;IAC5C,uDAAuC,CAAA;IACvC,+BAA+B;IAC/B,iCAAiB,CAAA;IACjB,iEAAiE;IACjE,qCAAqB,CAAA;AACvB,CAAC,EATW,YAAY,KAAZ,YAAY,QASvB;AAED,MAAM,CAAN,IAAY,iBAQX;AARD,WAAY,iBAAiB;IAC3B,4CAAuB,CAAA;IACvB,sEAAsE;IACtE,wCAAmB,CAAA;IACnB,0CAA0C;IAC1C,4CAAuB,CAAA;IACvB,0BAA0B;IAC1B,sCAAiB,CAAA;AACnB,CAAC,EARW,iBAAiB,KAAjB,iBAAiB,QAQ5B;AAgQD,MAAM,CAAN,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,4BAA4B;IAC5B,wBAAW,CAAA;IACX,6BAA6B;IAC7B,0BAAa,CAAA;AACf,CAAC,EALW,SAAS,KAAT,SAAS,QAKpB;AA2LD,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,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AE,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_benefit-programs_transactions",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.18",
|
|
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.benefit_programs.v1.transaction"
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
|
-
"falconPackageHash": "
|
|
51
|
+
"falconPackageHash": "4c02e57250a0d4d455ac9906778d9523414617a70a30d9afd50de1a7"
|
|
52
52
|
}
|