@wix/auto_sdk_ecom_order-fulfillments 1.0.14 → 1.0.15
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/ecom-v1-fulfillments-order-fulfillments.types.d.ts +9 -17
- package/build/cjs/src/ecom-v1-fulfillments-order-fulfillments.types.js.map +1 -1
- package/build/cjs/src/ecom-v1-fulfillments-order-fulfillments.universal.d.ts +17 -33
- package/build/cjs/src/ecom-v1-fulfillments-order-fulfillments.universal.js.map +1 -1
- package/build/es/src/ecom-v1-fulfillments-order-fulfillments.types.d.ts +9 -17
- package/build/es/src/ecom-v1-fulfillments-order-fulfillments.types.js.map +1 -1
- package/build/es/src/ecom-v1-fulfillments-order-fulfillments.universal.d.ts +17 -33
- package/build/es/src/ecom-v1-fulfillments-order-fulfillments.universal.js.map +1 -1
- package/build/internal/cjs/src/ecom-v1-fulfillments-order-fulfillments.types.d.ts +9 -17
- package/build/internal/cjs/src/ecom-v1-fulfillments-order-fulfillments.types.js.map +1 -1
- package/build/internal/cjs/src/ecom-v1-fulfillments-order-fulfillments.universal.d.ts +17 -33
- package/build/internal/cjs/src/ecom-v1-fulfillments-order-fulfillments.universal.js.map +1 -1
- package/build/internal/es/src/ecom-v1-fulfillments-order-fulfillments.types.d.ts +9 -17
- package/build/internal/es/src/ecom-v1-fulfillments-order-fulfillments.types.js.map +1 -1
- package/build/internal/es/src/ecom-v1-fulfillments-order-fulfillments.universal.d.ts +17 -33
- package/build/internal/es/src/ecom-v1-fulfillments-order-fulfillments.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -360,25 +360,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
360
360
|
updatedEvent?: EntityUpdatedEvent;
|
|
361
361
|
deletedEvent?: EntityDeletedEvent;
|
|
362
362
|
actionEvent?: ActionEvent;
|
|
363
|
-
/**
|
|
364
|
-
* Unique event ID.
|
|
365
|
-
* Allows clients to ignore duplicate webhooks.
|
|
366
|
-
*/
|
|
363
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
367
364
|
id?: string;
|
|
368
365
|
/**
|
|
369
|
-
*
|
|
370
|
-
*
|
|
366
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
367
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
371
368
|
*/
|
|
372
369
|
entityFqdn?: string;
|
|
373
370
|
/**
|
|
374
|
-
*
|
|
375
|
-
*
|
|
376
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
371
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
372
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
377
373
|
*/
|
|
378
374
|
slug?: string;
|
|
379
375
|
/** ID of the entity associated with the event. */
|
|
380
376
|
entityId?: string;
|
|
381
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
377
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
382
378
|
eventTime?: Date | null;
|
|
383
379
|
/**
|
|
384
380
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -388,12 +384,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
388
384
|
/** If present, indicates the action that triggered the event. */
|
|
389
385
|
originatedFrom?: string | null;
|
|
390
386
|
/**
|
|
391
|
-
* A sequence number
|
|
392
|
-
*
|
|
393
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
394
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
395
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
396
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
387
|
+
* 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.
|
|
388
|
+
* 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.
|
|
397
389
|
*/
|
|
398
390
|
entityEventSequence?: string | null;
|
|
399
391
|
}
|
|
@@ -421,7 +413,7 @@ export interface EntityUpdatedEvent {
|
|
|
421
413
|
currentEntityAsJson?: string;
|
|
422
414
|
}
|
|
423
415
|
export interface EntityDeletedEvent {
|
|
424
|
-
/** Entity that was deleted */
|
|
416
|
+
/** Entity that was deleted. */
|
|
425
417
|
deletedEntityAsJson?: string | null;
|
|
426
418
|
}
|
|
427
419
|
export interface ActionEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-fulfillments-order-fulfillments.types.js","sourceRoot":"","sources":["../../../src/ecom-v1-fulfillments-order-fulfillments.types.ts"],"names":[],"mappings":";;;AA0KA,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,uEAAuD,CAAA;IACvD,kBAAkB;IAClB,iCAAiB,CAAA;IACjB,cAAc;IACd,mCAAmB,CAAA;AACrB,CAAC,EANW,YAAY,4BAAZ,YAAY,QAMvB;AAED,IAAY,iBAYX;AAZD,WAAY,iBAAiB;IAC3B,4CAA4C;IAC5C,oDAA+B,CAAA;IAC/B;;;OAGG;IACH,4CAAuB,CAAA;IACvB,wBAAwB;IACxB,0CAAqB,CAAA;IACrB,yDAAyD;IACzD,gEAA2C,CAAA;AAC7C,CAAC,EAZW,iBAAiB,iCAAjB,iBAAiB,QAY5B;
|
|
1
|
+
{"version":3,"file":"ecom-v1-fulfillments-order-fulfillments.types.js","sourceRoot":"","sources":["../../../src/ecom-v1-fulfillments-order-fulfillments.types.ts"],"names":[],"mappings":";;;AA0KA,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,uEAAuD,CAAA;IACvD,kBAAkB;IAClB,iCAAiB,CAAA;IACjB,cAAc;IACd,mCAAmB,CAAA;AACrB,CAAC,EANW,YAAY,4BAAZ,YAAY,QAMvB;AAED,IAAY,iBAYX;AAZD,WAAY,iBAAiB;IAC3B,4CAA4C;IAC5C,oDAA+B,CAAA;IAC/B;;;OAGG;IACH,4CAAuB,CAAA;IACvB,wBAAwB;IACxB,0CAAqB,CAAA;IACrB,yDAAyD;IACzD,gEAA2C,CAAA;AAC7C,CAAC,EAZW,iBAAiB,iCAAjB,iBAAiB,QAY5B;AA8UD,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"}
|
|
@@ -362,25 +362,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
362
362
|
updatedEvent?: EntityUpdatedEvent;
|
|
363
363
|
deletedEvent?: EntityDeletedEvent;
|
|
364
364
|
actionEvent?: ActionEvent;
|
|
365
|
-
/**
|
|
366
|
-
* Unique event ID.
|
|
367
|
-
* Allows clients to ignore duplicate webhooks.
|
|
368
|
-
*/
|
|
365
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
369
366
|
_id?: string;
|
|
370
367
|
/**
|
|
371
|
-
*
|
|
372
|
-
*
|
|
368
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
369
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
373
370
|
*/
|
|
374
371
|
entityFqdn?: string;
|
|
375
372
|
/**
|
|
376
|
-
*
|
|
377
|
-
*
|
|
378
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
373
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
374
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
379
375
|
*/
|
|
380
376
|
slug?: string;
|
|
381
377
|
/** ID of the entity associated with the event. */
|
|
382
378
|
entityId?: string;
|
|
383
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
379
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
384
380
|
eventTime?: Date | null;
|
|
385
381
|
/**
|
|
386
382
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -390,12 +386,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
390
386
|
/** If present, indicates the action that triggered the event. */
|
|
391
387
|
originatedFrom?: string | null;
|
|
392
388
|
/**
|
|
393
|
-
* A sequence number
|
|
394
|
-
*
|
|
395
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
396
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
397
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
398
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
389
|
+
* 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.
|
|
390
|
+
* 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.
|
|
399
391
|
*/
|
|
400
392
|
entityEventSequence?: string | null;
|
|
401
393
|
}
|
|
@@ -421,7 +413,7 @@ export interface EntityUpdatedEvent {
|
|
|
421
413
|
currentEntity?: string;
|
|
422
414
|
}
|
|
423
415
|
export interface EntityDeletedEvent {
|
|
424
|
-
/** Entity that was deleted */
|
|
416
|
+
/** Entity that was deleted. */
|
|
425
417
|
deletedEntity?: string | null;
|
|
426
418
|
}
|
|
427
419
|
export interface ActionEvent {
|
|
@@ -512,25 +504,21 @@ export interface BaseEventMetadata {
|
|
|
512
504
|
identity?: IdentificationData;
|
|
513
505
|
}
|
|
514
506
|
export interface EventMetadata extends BaseEventMetadata {
|
|
515
|
-
/**
|
|
516
|
-
* Unique event ID.
|
|
517
|
-
* Allows clients to ignore duplicate webhooks.
|
|
518
|
-
*/
|
|
507
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
519
508
|
_id?: string;
|
|
520
509
|
/**
|
|
521
|
-
*
|
|
522
|
-
*
|
|
510
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
511
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
523
512
|
*/
|
|
524
513
|
entityFqdn?: string;
|
|
525
514
|
/**
|
|
526
|
-
*
|
|
527
|
-
*
|
|
528
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
515
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
516
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
529
517
|
*/
|
|
530
518
|
slug?: string;
|
|
531
519
|
/** ID of the entity associated with the event. */
|
|
532
520
|
entityId?: string;
|
|
533
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
521
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
534
522
|
eventTime?: Date | null;
|
|
535
523
|
/**
|
|
536
524
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -540,12 +528,8 @@ export interface EventMetadata extends BaseEventMetadata {
|
|
|
540
528
|
/** If present, indicates the action that triggered the event. */
|
|
541
529
|
originatedFrom?: string | null;
|
|
542
530
|
/**
|
|
543
|
-
* A sequence number
|
|
544
|
-
*
|
|
545
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
546
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
547
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
548
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
531
|
+
* 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.
|
|
532
|
+
* 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.
|
|
549
533
|
*/
|
|
550
534
|
entityEventSequence?: string | null;
|
|
551
535
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-fulfillments-order-fulfillments.universal.js","sourceRoot":"","sources":["../../../src/ecom-v1-fulfillments-order-fulfillments.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,mHAAqG;AA4KrG,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,uEAAuD,CAAA;IACvD,kBAAkB;IAClB,iCAAiB,CAAA;IACjB,cAAc;IACd,mCAAmB,CAAA;AACrB,CAAC,EANW,YAAY,4BAAZ,YAAY,QAMvB;AAED,IAAY,iBAYX;AAZD,WAAY,iBAAiB;IAC3B,4CAA4C;IAC5C,oDAA+B,CAAA;IAC/B;;;OAGG;IACH,4CAAuB,CAAA;IACvB,wBAAwB;IACxB,0CAAqB,CAAA;IACrB,yDAAyD;IACzD,gEAA2C,CAAA;AAC7C,CAAC,EAZW,iBAAiB,iCAAjB,iBAAiB,QAY5B;
|
|
1
|
+
{"version":3,"file":"ecom-v1-fulfillments-order-fulfillments.universal.js","sourceRoot":"","sources":["../../../src/ecom-v1-fulfillments-order-fulfillments.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,mHAAqG;AA4KrG,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,uEAAuD,CAAA;IACvD,kBAAkB;IAClB,iCAAiB,CAAA;IACjB,cAAc;IACd,mCAAmB,CAAA;AACrB,CAAC,EANW,YAAY,4BAAZ,YAAY,QAMvB;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AM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,sBAAsB,EAAE,MAAM,EAAE;YAC5D,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,wBAAwB,CAAC,CAC3B,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAzDD,wDAyDC"}
|
|
@@ -360,25 +360,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
360
360
|
updatedEvent?: EntityUpdatedEvent;
|
|
361
361
|
deletedEvent?: EntityDeletedEvent;
|
|
362
362
|
actionEvent?: ActionEvent;
|
|
363
|
-
/**
|
|
364
|
-
* Unique event ID.
|
|
365
|
-
* Allows clients to ignore duplicate webhooks.
|
|
366
|
-
*/
|
|
363
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
367
364
|
id?: string;
|
|
368
365
|
/**
|
|
369
|
-
*
|
|
370
|
-
*
|
|
366
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
367
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
371
368
|
*/
|
|
372
369
|
entityFqdn?: string;
|
|
373
370
|
/**
|
|
374
|
-
*
|
|
375
|
-
*
|
|
376
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
371
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
372
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
377
373
|
*/
|
|
378
374
|
slug?: string;
|
|
379
375
|
/** ID of the entity associated with the event. */
|
|
380
376
|
entityId?: string;
|
|
381
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
377
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
382
378
|
eventTime?: Date | null;
|
|
383
379
|
/**
|
|
384
380
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -388,12 +384,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
388
384
|
/** If present, indicates the action that triggered the event. */
|
|
389
385
|
originatedFrom?: string | null;
|
|
390
386
|
/**
|
|
391
|
-
* A sequence number
|
|
392
|
-
*
|
|
393
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
394
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
395
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
396
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
387
|
+
* 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.
|
|
388
|
+
* 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.
|
|
397
389
|
*/
|
|
398
390
|
entityEventSequence?: string | null;
|
|
399
391
|
}
|
|
@@ -421,7 +413,7 @@ export interface EntityUpdatedEvent {
|
|
|
421
413
|
currentEntityAsJson?: string;
|
|
422
414
|
}
|
|
423
415
|
export interface EntityDeletedEvent {
|
|
424
|
-
/** Entity that was deleted */
|
|
416
|
+
/** Entity that was deleted. */
|
|
425
417
|
deletedEntityAsJson?: string | null;
|
|
426
418
|
}
|
|
427
419
|
export interface ActionEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-fulfillments-order-fulfillments.types.js","sourceRoot":"","sources":["../../../src/ecom-v1-fulfillments-order-fulfillments.types.ts"],"names":[],"mappings":"AA0KA,MAAM,CAAN,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,uEAAuD,CAAA;IACvD,kBAAkB;IAClB,iCAAiB,CAAA;IACjB,cAAc;IACd,mCAAmB,CAAA;AACrB,CAAC,EANW,YAAY,KAAZ,YAAY,QAMvB;AAED,MAAM,CAAN,IAAY,iBAYX;AAZD,WAAY,iBAAiB;IAC3B,4CAA4C;IAC5C,oDAA+B,CAAA;IAC/B;;;OAGG;IACH,4CAAuB,CAAA;IACvB,wBAAwB;IACxB,0CAAqB,CAAA;IACrB,yDAAyD;IACzD,gEAA2C,CAAA;AAC7C,CAAC,EAZW,iBAAiB,KAAjB,iBAAiB,QAY5B;
|
|
1
|
+
{"version":3,"file":"ecom-v1-fulfillments-order-fulfillments.types.js","sourceRoot":"","sources":["../../../src/ecom-v1-fulfillments-order-fulfillments.types.ts"],"names":[],"mappings":"AA0KA,MAAM,CAAN,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,uEAAuD,CAAA;IACvD,kBAAkB;IAClB,iCAAiB,CAAA;IACjB,cAAc;IACd,mCAAmB,CAAA;AACrB,CAAC,EANW,YAAY,KAAZ,YAAY,QAMvB;AAED,MAAM,CAAN,IAAY,iBAYX;AAZD,WAAY,iBAAiB;IAC3B,4CAA4C;IAC5C,oDAA+B,CAAA;IAC/B;;;OAGG;IACH,4CAAuB,CAAA;IACvB,wBAAwB;IACxB,0CAAqB,CAAA;IACrB,yDAAyD;IACzD,gEAA2C,CAAA;AAC7C,CAAC,EAZW,iBAAiB,KAAjB,iBAAiB,QAY5B;AA8UD,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"}
|
|
@@ -362,25 +362,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
362
362
|
updatedEvent?: EntityUpdatedEvent;
|
|
363
363
|
deletedEvent?: EntityDeletedEvent;
|
|
364
364
|
actionEvent?: ActionEvent;
|
|
365
|
-
/**
|
|
366
|
-
* Unique event ID.
|
|
367
|
-
* Allows clients to ignore duplicate webhooks.
|
|
368
|
-
*/
|
|
365
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
369
366
|
_id?: string;
|
|
370
367
|
/**
|
|
371
|
-
*
|
|
372
|
-
*
|
|
368
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
369
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
373
370
|
*/
|
|
374
371
|
entityFqdn?: string;
|
|
375
372
|
/**
|
|
376
|
-
*
|
|
377
|
-
*
|
|
378
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
373
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
374
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
379
375
|
*/
|
|
380
376
|
slug?: string;
|
|
381
377
|
/** ID of the entity associated with the event. */
|
|
382
378
|
entityId?: string;
|
|
383
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
379
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
384
380
|
eventTime?: Date | null;
|
|
385
381
|
/**
|
|
386
382
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -390,12 +386,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
390
386
|
/** If present, indicates the action that triggered the event. */
|
|
391
387
|
originatedFrom?: string | null;
|
|
392
388
|
/**
|
|
393
|
-
* A sequence number
|
|
394
|
-
*
|
|
395
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
396
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
397
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
398
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
389
|
+
* 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.
|
|
390
|
+
* 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.
|
|
399
391
|
*/
|
|
400
392
|
entityEventSequence?: string | null;
|
|
401
393
|
}
|
|
@@ -421,7 +413,7 @@ export interface EntityUpdatedEvent {
|
|
|
421
413
|
currentEntity?: string;
|
|
422
414
|
}
|
|
423
415
|
export interface EntityDeletedEvent {
|
|
424
|
-
/** Entity that was deleted */
|
|
416
|
+
/** Entity that was deleted. */
|
|
425
417
|
deletedEntity?: string | null;
|
|
426
418
|
}
|
|
427
419
|
export interface ActionEvent {
|
|
@@ -512,25 +504,21 @@ export interface BaseEventMetadata {
|
|
|
512
504
|
identity?: IdentificationData;
|
|
513
505
|
}
|
|
514
506
|
export interface EventMetadata extends BaseEventMetadata {
|
|
515
|
-
/**
|
|
516
|
-
* Unique event ID.
|
|
517
|
-
* Allows clients to ignore duplicate webhooks.
|
|
518
|
-
*/
|
|
507
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
519
508
|
_id?: string;
|
|
520
509
|
/**
|
|
521
|
-
*
|
|
522
|
-
*
|
|
510
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
511
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
523
512
|
*/
|
|
524
513
|
entityFqdn?: string;
|
|
525
514
|
/**
|
|
526
|
-
*
|
|
527
|
-
*
|
|
528
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
515
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
516
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
529
517
|
*/
|
|
530
518
|
slug?: string;
|
|
531
519
|
/** ID of the entity associated with the event. */
|
|
532
520
|
entityId?: string;
|
|
533
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
521
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
534
522
|
eventTime?: Date | null;
|
|
535
523
|
/**
|
|
536
524
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -540,12 +528,8 @@ export interface EventMetadata extends BaseEventMetadata {
|
|
|
540
528
|
/** If present, indicates the action that triggered the event. */
|
|
541
529
|
originatedFrom?: string | null;
|
|
542
530
|
/**
|
|
543
|
-
* A sequence number
|
|
544
|
-
*
|
|
545
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
546
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
547
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
548
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
531
|
+
* 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.
|
|
532
|
+
* 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.
|
|
549
533
|
*/
|
|
550
534
|
entityEventSequence?: string | null;
|
|
551
535
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-fulfillments-order-fulfillments.universal.js","sourceRoot":"","sources":["../../../src/ecom-v1-fulfillments-order-fulfillments.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,+BAA+B,MAAM,mDAAmD,CAAC;AA4KrG,MAAM,CAAN,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,uEAAuD,CAAA;IACvD,kBAAkB;IAClB,iCAAiB,CAAA;IACjB,cAAc;IACd,mCAAmB,CAAA;AACrB,CAAC,EANW,YAAY,KAAZ,YAAY,QAMvB;AAED,MAAM,CAAN,IAAY,iBAYX;AAZD,WAAY,iBAAiB;IAC3B,4CAA4C;IAC5C,oDAA+B,CAAA;IAC/B;;;OAGG;IACH,4CAAuB,CAAA;IACvB,wBAAwB;IACxB,0CAAqB,CAAA;IACrB,yDAAyD;IACzD,gEAA2C,CAAA;AAC7C,CAAC,EAZW,iBAAiB,KAAjB,iBAAiB,QAY5B;
|
|
1
|
+
{"version":3,"file":"ecom-v1-fulfillments-order-fulfillments.universal.js","sourceRoot":"","sources":["../../../src/ecom-v1-fulfillments-order-fulfillments.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,+BAA+B,MAAM,mDAAmD,CAAC;AA4KrG,MAAM,CAAN,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,uEAAuD,CAAA;IACvD,kBAAkB;IAClB,iCAAiB,CAAA;IACjB,cAAc;IACd,mCAAmB,CAAA;AACrB,CAAC,EANW,YAAY,KAAZ,YAAY,QAMvB;AAED,MAAM,CAAN,IAAY,iBAYX;AAZD,WAAY,iBAAiB;IAC3B,4CAA4C;IAC5C,oDAA+B,CAAA;IAC/B;;;OAGG;IACH,4CAAuB,CAAA;IACvB,wBAAwB;IACxB,0CAAqB,CAAA;IACrB,yDAAyD;IACzD,gEAA2C,CAAA;AAC7C,CAAC,EAZW,iBAAiB,KAAjB,iBAAiB,QAY5B;AA6UD,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACr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,CAAC,CAChB,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAgBD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAM,CAAC,KAAK,UAAU,sBAAsB,CAC1C,sBAMG;IAiBH,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,qCAAqC,CAAC;QACpD,sBAAsB,EAAE,sBAAsB;KAC/C,CAAC,CAAC;IAEH,MAAM,OAAO,GACX,+BAA+B,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAC;IAEjE,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;QAEjC,OAAO,uCAAuC,CAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,sBAAsB,EAAE,MAAM,EAAE;YAC5D,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,wBAAwB,CAAC,CAC3B,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
|
|
@@ -360,25 +360,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
360
360
|
updatedEvent?: EntityUpdatedEvent;
|
|
361
361
|
deletedEvent?: EntityDeletedEvent;
|
|
362
362
|
actionEvent?: ActionEvent;
|
|
363
|
-
/**
|
|
364
|
-
* Unique event ID.
|
|
365
|
-
* Allows clients to ignore duplicate webhooks.
|
|
366
|
-
*/
|
|
363
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
367
364
|
id?: string;
|
|
368
365
|
/**
|
|
369
|
-
*
|
|
370
|
-
*
|
|
366
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
367
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
371
368
|
*/
|
|
372
369
|
entityFqdn?: string;
|
|
373
370
|
/**
|
|
374
|
-
*
|
|
375
|
-
*
|
|
376
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
371
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
372
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
377
373
|
*/
|
|
378
374
|
slug?: string;
|
|
379
375
|
/** ID of the entity associated with the event. */
|
|
380
376
|
entityId?: string;
|
|
381
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
377
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
382
378
|
eventTime?: Date | null;
|
|
383
379
|
/**
|
|
384
380
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -388,12 +384,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
388
384
|
/** If present, indicates the action that triggered the event. */
|
|
389
385
|
originatedFrom?: string | null;
|
|
390
386
|
/**
|
|
391
|
-
* A sequence number
|
|
392
|
-
*
|
|
393
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
394
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
395
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
396
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
387
|
+
* 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.
|
|
388
|
+
* 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.
|
|
397
389
|
*/
|
|
398
390
|
entityEventSequence?: string | null;
|
|
399
391
|
}
|
|
@@ -421,7 +413,7 @@ export interface EntityUpdatedEvent {
|
|
|
421
413
|
currentEntityAsJson?: string;
|
|
422
414
|
}
|
|
423
415
|
export interface EntityDeletedEvent {
|
|
424
|
-
/** Entity that was deleted */
|
|
416
|
+
/** Entity that was deleted. */
|
|
425
417
|
deletedEntityAsJson?: string | null;
|
|
426
418
|
}
|
|
427
419
|
export interface ActionEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-fulfillments-order-fulfillments.types.js","sourceRoot":"","sources":["../../../../src/ecom-v1-fulfillments-order-fulfillments.types.ts"],"names":[],"mappings":";;;AA0KA,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,uEAAuD,CAAA;IACvD,kBAAkB;IAClB,iCAAiB,CAAA;IACjB,cAAc;IACd,mCAAmB,CAAA;AACrB,CAAC,EANW,YAAY,4BAAZ,YAAY,QAMvB;AAED,IAAY,iBAYX;AAZD,WAAY,iBAAiB;IAC3B,4CAA4C;IAC5C,oDAA+B,CAAA;IAC/B;;;OAGG;IACH,4CAAuB,CAAA;IACvB,wBAAwB;IACxB,0CAAqB,CAAA;IACrB,yDAAyD;IACzD,gEAA2C,CAAA;AAC7C,CAAC,EAZW,iBAAiB,iCAAjB,iBAAiB,QAY5B;
|
|
1
|
+
{"version":3,"file":"ecom-v1-fulfillments-order-fulfillments.types.js","sourceRoot":"","sources":["../../../../src/ecom-v1-fulfillments-order-fulfillments.types.ts"],"names":[],"mappings":";;;AA0KA,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,uEAAuD,CAAA;IACvD,kBAAkB;IAClB,iCAAiB,CAAA;IACjB,cAAc;IACd,mCAAmB,CAAA;AACrB,CAAC,EANW,YAAY,4BAAZ,YAAY,QAMvB;AAED,IAAY,iBAYX;AAZD,WAAY,iBAAiB;IAC3B,4CAA4C;IAC5C,oDAA+B,CAAA;IAC/B;;;OAGG;IACH,4CAAuB,CAAA;IACvB,wBAAwB;IACxB,0CAAqB,CAAA;IACrB,yDAAyD;IACzD,gEAA2C,CAAA;AAC7C,CAAC,EAZW,iBAAiB,iCAAjB,iBAAiB,QAY5B;AA8UD,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"}
|
|
@@ -362,25 +362,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
362
362
|
updatedEvent?: EntityUpdatedEvent;
|
|
363
363
|
deletedEvent?: EntityDeletedEvent;
|
|
364
364
|
actionEvent?: ActionEvent;
|
|
365
|
-
/**
|
|
366
|
-
* Unique event ID.
|
|
367
|
-
* Allows clients to ignore duplicate webhooks.
|
|
368
|
-
*/
|
|
365
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
369
366
|
_id?: string;
|
|
370
367
|
/**
|
|
371
|
-
*
|
|
372
|
-
*
|
|
368
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
369
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
373
370
|
*/
|
|
374
371
|
entityFqdn?: string;
|
|
375
372
|
/**
|
|
376
|
-
*
|
|
377
|
-
*
|
|
378
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
373
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
374
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
379
375
|
*/
|
|
380
376
|
slug?: string;
|
|
381
377
|
/** ID of the entity associated with the event. */
|
|
382
378
|
entityId?: string;
|
|
383
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
379
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
384
380
|
eventTime?: Date | null;
|
|
385
381
|
/**
|
|
386
382
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -390,12 +386,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
390
386
|
/** If present, indicates the action that triggered the event. */
|
|
391
387
|
originatedFrom?: string | null;
|
|
392
388
|
/**
|
|
393
|
-
* A sequence number
|
|
394
|
-
*
|
|
395
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
396
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
397
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
398
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
389
|
+
* 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.
|
|
390
|
+
* 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.
|
|
399
391
|
*/
|
|
400
392
|
entityEventSequence?: string | null;
|
|
401
393
|
}
|
|
@@ -421,7 +413,7 @@ export interface EntityUpdatedEvent {
|
|
|
421
413
|
currentEntity?: string;
|
|
422
414
|
}
|
|
423
415
|
export interface EntityDeletedEvent {
|
|
424
|
-
/** Entity that was deleted */
|
|
416
|
+
/** Entity that was deleted. */
|
|
425
417
|
deletedEntity?: string | null;
|
|
426
418
|
}
|
|
427
419
|
export interface ActionEvent {
|
|
@@ -512,25 +504,21 @@ export interface BaseEventMetadata {
|
|
|
512
504
|
identity?: IdentificationData;
|
|
513
505
|
}
|
|
514
506
|
export interface EventMetadata extends BaseEventMetadata {
|
|
515
|
-
/**
|
|
516
|
-
* Unique event ID.
|
|
517
|
-
* Allows clients to ignore duplicate webhooks.
|
|
518
|
-
*/
|
|
507
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
519
508
|
_id?: string;
|
|
520
509
|
/**
|
|
521
|
-
*
|
|
522
|
-
*
|
|
510
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
511
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
523
512
|
*/
|
|
524
513
|
entityFqdn?: string;
|
|
525
514
|
/**
|
|
526
|
-
*
|
|
527
|
-
*
|
|
528
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
515
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
516
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
529
517
|
*/
|
|
530
518
|
slug?: string;
|
|
531
519
|
/** ID of the entity associated with the event. */
|
|
532
520
|
entityId?: string;
|
|
533
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
521
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
534
522
|
eventTime?: Date | null;
|
|
535
523
|
/**
|
|
536
524
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -540,12 +528,8 @@ export interface EventMetadata extends BaseEventMetadata {
|
|
|
540
528
|
/** If present, indicates the action that triggered the event. */
|
|
541
529
|
originatedFrom?: string | null;
|
|
542
530
|
/**
|
|
543
|
-
* A sequence number
|
|
544
|
-
*
|
|
545
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
546
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
547
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
548
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
531
|
+
* 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.
|
|
532
|
+
* 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.
|
|
549
533
|
*/
|
|
550
534
|
entityEventSequence?: string | null;
|
|
551
535
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-fulfillments-order-fulfillments.universal.js","sourceRoot":"","sources":["../../../../src/ecom-v1-fulfillments-order-fulfillments.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,mHAAqG;AA4KrG,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,uEAAuD,CAAA;IACvD,kBAAkB;IAClB,iCAAiB,CAAA;IACjB,cAAc;IACd,mCAAmB,CAAA;AACrB,CAAC,EANW,YAAY,4BAAZ,YAAY,QAMvB;AAED,IAAY,iBAYX;AAZD,WAAY,iBAAiB;IAC3B,4CAA4C;IAC5C,oDAA+B,CAAA;IAC/B;;;OAGG;IACH,4CAAuB,CAAA;IACvB,wBAAwB;IACxB,0CAAqB,CAAA;IACrB,yDAAyD;IACzD,gEAA2C,CAAA;AAC7C,CAAC,EAZW,iBAAiB,iCAAjB,iBAAiB,QAY5B;
|
|
1
|
+
{"version":3,"file":"ecom-v1-fulfillments-order-fulfillments.universal.js","sourceRoot":"","sources":["../../../../src/ecom-v1-fulfillments-order-fulfillments.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,mHAAqG;AA4KrG,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,uEAAuD,CAAA;IACvD,kBAAkB;IAClB,iCAAiB,CAAA;I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AC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,sBAAsB,EAAE,MAAM,EAAE;YAC5D,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,wBAAwB,CAAC,CAC3B,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAzDD,wDAyDC"}
|
|
@@ -360,25 +360,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
360
360
|
updatedEvent?: EntityUpdatedEvent;
|
|
361
361
|
deletedEvent?: EntityDeletedEvent;
|
|
362
362
|
actionEvent?: ActionEvent;
|
|
363
|
-
/**
|
|
364
|
-
* Unique event ID.
|
|
365
|
-
* Allows clients to ignore duplicate webhooks.
|
|
366
|
-
*/
|
|
363
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
367
364
|
id?: string;
|
|
368
365
|
/**
|
|
369
|
-
*
|
|
370
|
-
*
|
|
366
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
367
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
371
368
|
*/
|
|
372
369
|
entityFqdn?: string;
|
|
373
370
|
/**
|
|
374
|
-
*
|
|
375
|
-
*
|
|
376
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
371
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
372
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
377
373
|
*/
|
|
378
374
|
slug?: string;
|
|
379
375
|
/** ID of the entity associated with the event. */
|
|
380
376
|
entityId?: string;
|
|
381
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
377
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
382
378
|
eventTime?: Date | null;
|
|
383
379
|
/**
|
|
384
380
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -388,12 +384,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
388
384
|
/** If present, indicates the action that triggered the event. */
|
|
389
385
|
originatedFrom?: string | null;
|
|
390
386
|
/**
|
|
391
|
-
* A sequence number
|
|
392
|
-
*
|
|
393
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
394
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
395
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
396
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
387
|
+
* 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.
|
|
388
|
+
* 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.
|
|
397
389
|
*/
|
|
398
390
|
entityEventSequence?: string | null;
|
|
399
391
|
}
|
|
@@ -421,7 +413,7 @@ export interface EntityUpdatedEvent {
|
|
|
421
413
|
currentEntityAsJson?: string;
|
|
422
414
|
}
|
|
423
415
|
export interface EntityDeletedEvent {
|
|
424
|
-
/** Entity that was deleted */
|
|
416
|
+
/** Entity that was deleted. */
|
|
425
417
|
deletedEntityAsJson?: string | null;
|
|
426
418
|
}
|
|
427
419
|
export interface ActionEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-fulfillments-order-fulfillments.types.js","sourceRoot":"","sources":["../../../../src/ecom-v1-fulfillments-order-fulfillments.types.ts"],"names":[],"mappings":"AA0KA,MAAM,CAAN,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,uEAAuD,CAAA;IACvD,kBAAkB;IAClB,iCAAiB,CAAA;IACjB,cAAc;IACd,mCAAmB,CAAA;AACrB,CAAC,EANW,YAAY,KAAZ,YAAY,QAMvB;AAED,MAAM,CAAN,IAAY,iBAYX;AAZD,WAAY,iBAAiB;IAC3B,4CAA4C;IAC5C,oDAA+B,CAAA;IAC/B;;;OAGG;IACH,4CAAuB,CAAA;IACvB,wBAAwB;IACxB,0CAAqB,CAAA;IACrB,yDAAyD;IACzD,gEAA2C,CAAA;AAC7C,CAAC,EAZW,iBAAiB,KAAjB,iBAAiB,QAY5B;
|
|
1
|
+
{"version":3,"file":"ecom-v1-fulfillments-order-fulfillments.types.js","sourceRoot":"","sources":["../../../../src/ecom-v1-fulfillments-order-fulfillments.types.ts"],"names":[],"mappings":"AA0KA,MAAM,CAAN,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,uEAAuD,CAAA;IACvD,kBAAkB;IAClB,iCAAiB,CAAA;IACjB,cAAc;IACd,mCAAmB,CAAA;AACrB,CAAC,EANW,YAAY,KAAZ,YAAY,QAMvB;AAED,MAAM,CAAN,IAAY,iBAYX;AAZD,WAAY,iBAAiB;IAC3B,4CAA4C;IAC5C,oDAA+B,CAAA;IAC/B;;;OAGG;IACH,4CAAuB,CAAA;IACvB,wBAAwB;IACxB,0CAAqB,CAAA;IACrB,yDAAyD;IACzD,gEAA2C,CAAA;AAC7C,CAAC,EAZW,iBAAiB,KAAjB,iBAAiB,QAY5B;AA8UD,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"}
|
|
@@ -362,25 +362,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
362
362
|
updatedEvent?: EntityUpdatedEvent;
|
|
363
363
|
deletedEvent?: EntityDeletedEvent;
|
|
364
364
|
actionEvent?: ActionEvent;
|
|
365
|
-
/**
|
|
366
|
-
* Unique event ID.
|
|
367
|
-
* Allows clients to ignore duplicate webhooks.
|
|
368
|
-
*/
|
|
365
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
369
366
|
_id?: string;
|
|
370
367
|
/**
|
|
371
|
-
*
|
|
372
|
-
*
|
|
368
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
369
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
373
370
|
*/
|
|
374
371
|
entityFqdn?: string;
|
|
375
372
|
/**
|
|
376
|
-
*
|
|
377
|
-
*
|
|
378
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
373
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
374
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
379
375
|
*/
|
|
380
376
|
slug?: string;
|
|
381
377
|
/** ID of the entity associated with the event. */
|
|
382
378
|
entityId?: string;
|
|
383
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
379
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
384
380
|
eventTime?: Date | null;
|
|
385
381
|
/**
|
|
386
382
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -390,12 +386,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
390
386
|
/** If present, indicates the action that triggered the event. */
|
|
391
387
|
originatedFrom?: string | null;
|
|
392
388
|
/**
|
|
393
|
-
* A sequence number
|
|
394
|
-
*
|
|
395
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
396
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
397
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
398
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
389
|
+
* 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.
|
|
390
|
+
* 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.
|
|
399
391
|
*/
|
|
400
392
|
entityEventSequence?: string | null;
|
|
401
393
|
}
|
|
@@ -421,7 +413,7 @@ export interface EntityUpdatedEvent {
|
|
|
421
413
|
currentEntity?: string;
|
|
422
414
|
}
|
|
423
415
|
export interface EntityDeletedEvent {
|
|
424
|
-
/** Entity that was deleted */
|
|
416
|
+
/** Entity that was deleted. */
|
|
425
417
|
deletedEntity?: string | null;
|
|
426
418
|
}
|
|
427
419
|
export interface ActionEvent {
|
|
@@ -512,25 +504,21 @@ export interface BaseEventMetadata {
|
|
|
512
504
|
identity?: IdentificationData;
|
|
513
505
|
}
|
|
514
506
|
export interface EventMetadata extends BaseEventMetadata {
|
|
515
|
-
/**
|
|
516
|
-
* Unique event ID.
|
|
517
|
-
* Allows clients to ignore duplicate webhooks.
|
|
518
|
-
*/
|
|
507
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
519
508
|
_id?: string;
|
|
520
509
|
/**
|
|
521
|
-
*
|
|
522
|
-
*
|
|
510
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
511
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
523
512
|
*/
|
|
524
513
|
entityFqdn?: string;
|
|
525
514
|
/**
|
|
526
|
-
*
|
|
527
|
-
*
|
|
528
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
515
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
516
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
529
517
|
*/
|
|
530
518
|
slug?: string;
|
|
531
519
|
/** ID of the entity associated with the event. */
|
|
532
520
|
entityId?: string;
|
|
533
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
521
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
534
522
|
eventTime?: Date | null;
|
|
535
523
|
/**
|
|
536
524
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -540,12 +528,8 @@ export interface EventMetadata extends BaseEventMetadata {
|
|
|
540
528
|
/** If present, indicates the action that triggered the event. */
|
|
541
529
|
originatedFrom?: string | null;
|
|
542
530
|
/**
|
|
543
|
-
* A sequence number
|
|
544
|
-
*
|
|
545
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
546
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
547
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
548
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
531
|
+
* 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.
|
|
532
|
+
* 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.
|
|
549
533
|
*/
|
|
550
534
|
entityEventSequence?: string | null;
|
|
551
535
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-fulfillments-order-fulfillments.universal.js","sourceRoot":"","sources":["../../../../src/ecom-v1-fulfillments-order-fulfillments.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,+BAA+B,MAAM,mDAAmD,CAAC;AA4KrG,MAAM,CAAN,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,uEAAuD,CAAA;IACvD,kBAAkB;IAClB,iCAAiB,CAAA;IACjB,cAAc;IACd,mCAAmB,CAAA;AACrB,CAAC,EANW,YAAY,KAAZ,YAAY,QAMvB;AAED,MAAM,CAAN,IAAY,iBAYX;AAZD,WAAY,iBAAiB;IAC3B,4CAA4C;IAC5C,oDAA+B,CAAA;IAC/B;;;OAGG;IACH,4CAAuB,CAAA;IACvB,wBAAwB;IACxB,0CAAqB,CAAA;IACrB,yDAAyD;IACzD,gEAA2C,CAAA;AAC7C,CAAC,EAZW,iBAAiB,KAAjB,iBAAiB,QAY5B;
|
|
1
|
+
{"version":3,"file":"ecom-v1-fulfillments-order-fulfillments.universal.js","sourceRoot":"","sources":["../../../../src/ecom-v1-fulfillments-order-fulfillments.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,+BAA+B,MAAM,mDAAmD,CAAC;AA4KrG,MAAM,CAAN,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,uEAAuD,CAAA;IACvD,kBAAkB;IAClB,iCAAiB,CAAA;IACjB,cAAc;IACd,mCAAmB,CAAA;AACrB,CAAC,EANW,YAAY,KAAZ,YAAY,QAMvB;AAED,MAAM,CAAN,IAAY,iBAYX;AAZD,WAAY,iBAAiB;IAC3B,4CAA4C;IAC5C,oDAA+B,CAAA;IAC/B;;;OAGG;IACH,4CAAuB,CAAA;IACvB,wBAAwB;IACxB,0CAAqB,CAAA;IACrB,yDAAyD;IACzD,gEAA2C,CAAA;AAC7C,CAAC,EAZW,iBAAiB,KAAjB,iBAAiB,QAY5B;AA6UD,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,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ecom_order-fulfillments",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.15",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"fqdn": "wix.ecom.v1.fulfillments"
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
|
-
"falconPackageHash": "
|
|
51
|
+
"falconPackageHash": "d963885e5007ccb7ae22bb85d0f9bb3ba4ff546f506a224ef4c67850"
|
|
52
52
|
}
|