@wix/auto_sdk_ecom_shippo-configurations 1.0.13 → 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-shippo-configuration-shippo-configurations.types.d.ts +9 -17
- package/build/cjs/src/ecom-v1-shippo-configuration-shippo-configurations.types.js.map +1 -1
- package/build/cjs/src/ecom-v1-shippo-configuration-shippo-configurations.universal.d.ts +17 -33
- package/build/cjs/src/ecom-v1-shippo-configuration-shippo-configurations.universal.js.map +1 -1
- package/build/es/src/ecom-v1-shippo-configuration-shippo-configurations.types.d.ts +9 -17
- package/build/es/src/ecom-v1-shippo-configuration-shippo-configurations.types.js.map +1 -1
- package/build/es/src/ecom-v1-shippo-configuration-shippo-configurations.universal.d.ts +17 -33
- package/build/es/src/ecom-v1-shippo-configuration-shippo-configurations.universal.js.map +1 -1
- package/build/internal/cjs/src/ecom-v1-shippo-configuration-shippo-configurations.types.d.ts +9 -17
- package/build/internal/cjs/src/ecom-v1-shippo-configuration-shippo-configurations.types.js.map +1 -1
- package/build/internal/cjs/src/ecom-v1-shippo-configuration-shippo-configurations.universal.d.ts +17 -33
- package/build/internal/cjs/src/ecom-v1-shippo-configuration-shippo-configurations.universal.js.map +1 -1
- package/build/internal/es/src/ecom-v1-shippo-configuration-shippo-configurations.types.d.ts +9 -17
- package/build/internal/es/src/ecom-v1-shippo-configuration-shippo-configurations.types.js.map +1 -1
- package/build/internal/es/src/ecom-v1-shippo-configuration-shippo-configurations.universal.d.ts +17 -33
- package/build/internal/es/src/ecom-v1-shippo-configuration-shippo-configurations.universal.js.map +1 -1
- package/package.json +3 -3
|
@@ -387,25 +387,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
387
387
|
updatedEvent?: EntityUpdatedEvent;
|
|
388
388
|
deletedEvent?: EntityDeletedEvent;
|
|
389
389
|
actionEvent?: ActionEvent;
|
|
390
|
-
/**
|
|
391
|
-
* Unique event ID.
|
|
392
|
-
* Allows clients to ignore duplicate webhooks.
|
|
393
|
-
*/
|
|
390
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
394
391
|
id?: string;
|
|
395
392
|
/**
|
|
396
|
-
*
|
|
397
|
-
*
|
|
393
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
394
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
398
395
|
*/
|
|
399
396
|
entityFqdn?: string;
|
|
400
397
|
/**
|
|
401
|
-
*
|
|
402
|
-
*
|
|
403
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
398
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
399
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
404
400
|
*/
|
|
405
401
|
slug?: string;
|
|
406
402
|
/** ID of the entity associated with the event. */
|
|
407
403
|
entityId?: string;
|
|
408
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
404
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
409
405
|
eventTime?: Date | null;
|
|
410
406
|
/**
|
|
411
407
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -415,12 +411,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
415
411
|
/** If present, indicates the action that triggered the event. */
|
|
416
412
|
originatedFrom?: string | null;
|
|
417
413
|
/**
|
|
418
|
-
* A sequence number
|
|
419
|
-
*
|
|
420
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
421
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
422
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
423
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
414
|
+
* 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.
|
|
415
|
+
* 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.
|
|
424
416
|
*/
|
|
425
417
|
entityEventSequence?: string | null;
|
|
426
418
|
}
|
|
@@ -448,7 +440,7 @@ export interface EntityUpdatedEvent {
|
|
|
448
440
|
currentEntityAsJson?: string;
|
|
449
441
|
}
|
|
450
442
|
export interface EntityDeletedEvent {
|
|
451
|
-
/** Entity that was deleted */
|
|
443
|
+
/** Entity that was deleted. */
|
|
452
444
|
deletedEntityAsJson?: string | null;
|
|
453
445
|
}
|
|
454
446
|
export interface ActionEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-shippo-configuration-shippo-configurations.types.js","sourceRoot":"","sources":["../../../src/ecom-v1-shippo-configuration-shippo-configurations.types.ts"],"names":[],"mappings":";;;AAiFA,IAAY,eAKX;AALD,WAAY,eAAe;IACzB,wEAAqD,CAAA;IACrD,wDAAqC,CAAA;IACrC,kDAA+B,CAAA;IAC/B,kEAA+C,CAAA;AACjD,CAAC,EALW,eAAe,+BAAf,eAAe,QAK1B;AA2BD,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,gDAA6B,CAAA;IAC7B,kCAAe,CAAA;IACf,4CAAyB,CAAA;AAC3B,CAAC,EAJW,eAAe,+BAAf,eAAe,QAI1B;AAeD,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC9B,uFAA+D,CAAA;IAC/D,+FAAuE,CAAA;IACvE,mFAA2D,CAAA;IAC3D,mGAA2E,CAAA;AAC7E,CAAC,EALW,oBAAoB,oCAApB,oBAAoB,QAK/B;AAED,IAAY,WASX;AATD,WAAY,WAAW;IACrB,4DAA6C,CAAA;IAC7C,gCAAiB,CAAA;IACjB,wDAAyC,CAAA;IACzC,sEAAuD,CAAA;IACvD,0DAA2C,CAAA;IAC3C,gEAAiD,CAAA;IACjD,gEAAiD,CAAA;IACjD,0DAA2C,CAAA;AAC7C,CAAC,EATW,WAAW,2BAAX,WAAW,QAStB;AAwMD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;
|
|
1
|
+
{"version":3,"file":"ecom-v1-shippo-configuration-shippo-configurations.types.js","sourceRoot":"","sources":["../../../src/ecom-v1-shippo-configuration-shippo-configurations.types.ts"],"names":[],"mappings":";;;AAiFA,IAAY,eAKX;AALD,WAAY,eAAe;IACzB,wEAAqD,CAAA;IACrD,wDAAqC,CAAA;IACrC,kDAA+B,CAAA;IAC/B,kEAA+C,CAAA;AACjD,CAAC,EALW,eAAe,+BAAf,eAAe,QAK1B;AA2BD,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,gDAA6B,CAAA;IAC7B,kCAAe,CAAA;IACf,4CAAyB,CAAA;AAC3B,CAAC,EAJW,eAAe,+BAAf,eAAe,QAI1B;AAeD,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC9B,uFAA+D,CAAA;IAC/D,+FAAuE,CAAA;IACvE,mFAA2D,CAAA;IAC3D,mGAA2E,CAAA;AAC7E,CAAC,EALW,oBAAoB,oCAApB,oBAAoB,QAK/B;AAED,IAAY,WASX;AATD,WAAY,WAAW;IACrB,4DAA6C,CAAA;IAC7C,gCAAiB,CAAA;IACjB,wDAAyC,CAAA;IACzC,sEAAuD,CAAA;IACvD,0DAA2C,CAAA;IAC3C,gEAAiD,CAAA;IACjD,gEAAiD,CAAA;IACjD,0DAA2C,CAAA;AAC7C,CAAC,EATW,WAAW,2BAAX,WAAW,QAStB;AAwMD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AA6MD,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"}
|
|
@@ -388,25 +388,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
388
388
|
updatedEvent?: EntityUpdatedEvent;
|
|
389
389
|
deletedEvent?: EntityDeletedEvent;
|
|
390
390
|
actionEvent?: ActionEvent;
|
|
391
|
-
/**
|
|
392
|
-
* Unique event ID.
|
|
393
|
-
* Allows clients to ignore duplicate webhooks.
|
|
394
|
-
*/
|
|
391
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
395
392
|
_id?: string;
|
|
396
393
|
/**
|
|
397
|
-
*
|
|
398
|
-
*
|
|
394
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
395
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
399
396
|
*/
|
|
400
397
|
entityFqdn?: string;
|
|
401
398
|
/**
|
|
402
|
-
*
|
|
403
|
-
*
|
|
404
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
399
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
400
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
405
401
|
*/
|
|
406
402
|
slug?: string;
|
|
407
403
|
/** ID of the entity associated with the event. */
|
|
408
404
|
entityId?: string;
|
|
409
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
405
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
410
406
|
eventTime?: Date | null;
|
|
411
407
|
/**
|
|
412
408
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -416,12 +412,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
416
412
|
/** If present, indicates the action that triggered the event. */
|
|
417
413
|
originatedFrom?: string | null;
|
|
418
414
|
/**
|
|
419
|
-
* A sequence number
|
|
420
|
-
*
|
|
421
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
422
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
423
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
424
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
415
|
+
* 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.
|
|
416
|
+
* 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.
|
|
425
417
|
*/
|
|
426
418
|
entityEventSequence?: string | null;
|
|
427
419
|
}
|
|
@@ -447,7 +439,7 @@ export interface EntityUpdatedEvent {
|
|
|
447
439
|
currentEntity?: string;
|
|
448
440
|
}
|
|
449
441
|
export interface EntityDeletedEvent {
|
|
450
|
-
/** Entity that was deleted */
|
|
442
|
+
/** Entity that was deleted. */
|
|
451
443
|
deletedEntity?: string | null;
|
|
452
444
|
}
|
|
453
445
|
export interface ActionEvent {
|
|
@@ -540,25 +532,21 @@ export interface BaseEventMetadata {
|
|
|
540
532
|
identity?: IdentificationData;
|
|
541
533
|
}
|
|
542
534
|
export interface EventMetadata extends BaseEventMetadata {
|
|
543
|
-
/**
|
|
544
|
-
* Unique event ID.
|
|
545
|
-
* Allows clients to ignore duplicate webhooks.
|
|
546
|
-
*/
|
|
535
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
547
536
|
_id?: string;
|
|
548
537
|
/**
|
|
549
|
-
*
|
|
550
|
-
*
|
|
538
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
539
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
551
540
|
*/
|
|
552
541
|
entityFqdn?: string;
|
|
553
542
|
/**
|
|
554
|
-
*
|
|
555
|
-
*
|
|
556
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
543
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
544
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
557
545
|
*/
|
|
558
546
|
slug?: string;
|
|
559
547
|
/** ID of the entity associated with the event. */
|
|
560
548
|
entityId?: string;
|
|
561
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
549
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
562
550
|
eventTime?: Date | null;
|
|
563
551
|
/**
|
|
564
552
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -568,12 +556,8 @@ export interface EventMetadata extends BaseEventMetadata {
|
|
|
568
556
|
/** If present, indicates the action that triggered the event. */
|
|
569
557
|
originatedFrom?: string | null;
|
|
570
558
|
/**
|
|
571
|
-
* A sequence number
|
|
572
|
-
*
|
|
573
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
574
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
575
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
576
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
559
|
+
* 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.
|
|
560
|
+
* 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.
|
|
577
561
|
*/
|
|
578
562
|
entityEventSequence?: string | null;
|
|
579
563
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-shippo-configuration-shippo-configurations.universal.js","sourceRoot":"","sources":["../../../src/ecom-v1-shippo-configuration-shippo-configurations.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,qIAAuH;AACvH,aAAa;AACb,sEAA4F;AAC5F,sEAA4F;AAC5F,sFAAkF;AAmFlF,IAAY,eAKX;AALD,WAAY,eAAe;IACzB,wEAAqD,CAAA;IACrD,wDAAqC,CAAA;IACrC,kDAA+B,CAAA;IAC/B,kEAA+C,CAAA;AACjD,CAAC,EALW,eAAe,+BAAf,eAAe,QAK1B;AA2BD,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,gDAA6B,CAAA;IAC7B,kCAAe,CAAA;IACf,4CAAyB,CAAA;AAC3B,CAAC,EAJW,eAAe,+BAAf,eAAe,QAI1B;AAeD,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC9B,uFAA+D,CAAA;IAC/D,+FAAuE,CAAA;IACvE,mFAA2D,CAAA;IAC3D,mGAA2E,CAAA;AAC7E,CAAC,EALW,oBAAoB,oCAApB,oBAAoB,QAK/B;AAED,IAAY,WASX;AATD,WAAY,WAAW;IACrB,4DAA6C,CAAA;IAC7C,gCAAiB,CAAA;IACjB,wDAAyC,CAAA;IACzC,sEAAuD,CAAA;IACvD,0DAA2C,CAAA;IAC3C,gEAAiD,CAAA;IACjD,gEAAiD,CAAA;IACjD,0DAA2C,CAAA;AAC7C,CAAC,EATW,WAAW,2BAAX,WAAW,QAStB;AAwMD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;
|
|
1
|
+
{"version":3,"file":"ecom-v1-shippo-configuration-shippo-configurations.universal.js","sourceRoot":"","sources":["../../../src/ecom-v1-shippo-configuration-shippo-configurations.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;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AC;IACzB,CAAC;AACH,CAAC;AA1DD,oDA0DC"}
|
|
@@ -387,25 +387,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
387
387
|
updatedEvent?: EntityUpdatedEvent;
|
|
388
388
|
deletedEvent?: EntityDeletedEvent;
|
|
389
389
|
actionEvent?: ActionEvent;
|
|
390
|
-
/**
|
|
391
|
-
* Unique event ID.
|
|
392
|
-
* Allows clients to ignore duplicate webhooks.
|
|
393
|
-
*/
|
|
390
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
394
391
|
id?: string;
|
|
395
392
|
/**
|
|
396
|
-
*
|
|
397
|
-
*
|
|
393
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
394
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
398
395
|
*/
|
|
399
396
|
entityFqdn?: string;
|
|
400
397
|
/**
|
|
401
|
-
*
|
|
402
|
-
*
|
|
403
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
398
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
399
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
404
400
|
*/
|
|
405
401
|
slug?: string;
|
|
406
402
|
/** ID of the entity associated with the event. */
|
|
407
403
|
entityId?: string;
|
|
408
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
404
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
409
405
|
eventTime?: Date | null;
|
|
410
406
|
/**
|
|
411
407
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -415,12 +411,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
415
411
|
/** If present, indicates the action that triggered the event. */
|
|
416
412
|
originatedFrom?: string | null;
|
|
417
413
|
/**
|
|
418
|
-
* A sequence number
|
|
419
|
-
*
|
|
420
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
421
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
422
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
423
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
414
|
+
* 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.
|
|
415
|
+
* 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.
|
|
424
416
|
*/
|
|
425
417
|
entityEventSequence?: string | null;
|
|
426
418
|
}
|
|
@@ -448,7 +440,7 @@ export interface EntityUpdatedEvent {
|
|
|
448
440
|
currentEntityAsJson?: string;
|
|
449
441
|
}
|
|
450
442
|
export interface EntityDeletedEvent {
|
|
451
|
-
/** Entity that was deleted */
|
|
443
|
+
/** Entity that was deleted. */
|
|
452
444
|
deletedEntityAsJson?: string | null;
|
|
453
445
|
}
|
|
454
446
|
export interface ActionEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-shippo-configuration-shippo-configurations.types.js","sourceRoot":"","sources":["../../../src/ecom-v1-shippo-configuration-shippo-configurations.types.ts"],"names":[],"mappings":"AAiFA,MAAM,CAAN,IAAY,eAKX;AALD,WAAY,eAAe;IACzB,wEAAqD,CAAA;IACrD,wDAAqC,CAAA;IACrC,kDAA+B,CAAA;IAC/B,kEAA+C,CAAA;AACjD,CAAC,EALW,eAAe,KAAf,eAAe,QAK1B;AA2BD,MAAM,CAAN,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,gDAA6B,CAAA;IAC7B,kCAAe,CAAA;IACf,4CAAyB,CAAA;AAC3B,CAAC,EAJW,eAAe,KAAf,eAAe,QAI1B;AAeD,MAAM,CAAN,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC9B,uFAA+D,CAAA;IAC/D,+FAAuE,CAAA;IACvE,mFAA2D,CAAA;IAC3D,mGAA2E,CAAA;AAC7E,CAAC,EALW,oBAAoB,KAApB,oBAAoB,QAK/B;AAED,MAAM,CAAN,IAAY,WASX;AATD,WAAY,WAAW;IACrB,4DAA6C,CAAA;IAC7C,gCAAiB,CAAA;IACjB,wDAAyC,CAAA;IACzC,sEAAuD,CAAA;IACvD,0DAA2C,CAAA;IAC3C,gEAAiD,CAAA;IACjD,gEAAiD,CAAA;IACjD,0DAA2C,CAAA;AAC7C,CAAC,EATW,WAAW,KAAX,WAAW,QAStB;AAwMD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;
|
|
1
|
+
{"version":3,"file":"ecom-v1-shippo-configuration-shippo-configurations.types.js","sourceRoot":"","sources":["../../../src/ecom-v1-shippo-configuration-shippo-configurations.types.ts"],"names":[],"mappings":"AAiFA,MAAM,CAAN,IAAY,eAKX;AALD,WAAY,eAAe;IACzB,wEAAqD,CAAA;IACrD,wDAAqC,CAAA;IACrC,kDAA+B,CAAA;IAC/B,kEAA+C,CAAA;AACjD,CAAC,EALW,eAAe,KAAf,eAAe,QAK1B;AA2BD,MAAM,CAAN,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,gDAA6B,CAAA;IAC7B,kCAAe,CAAA;IACf,4CAAyB,CAAA;AAC3B,CAAC,EAJW,eAAe,KAAf,eAAe,QAI1B;AAeD,MAAM,CAAN,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC9B,uFAA+D,CAAA;IAC/D,+FAAuE,CAAA;IACvE,mFAA2D,CAAA;IAC3D,mGAA2E,CAAA;AAC7E,CAAC,EALW,oBAAoB,KAApB,oBAAoB,QAK/B;AAED,MAAM,CAAN,IAAY,WASX;AATD,WAAY,WAAW;IACrB,4DAA6C,CAAA;IAC7C,gCAAiB,CAAA;IACjB,wDAAyC,CAAA;IACzC,sEAAuD,CAAA;IACvD,0DAA2C,CAAA;IAC3C,gEAAiD,CAAA;IACjD,gEAAiD,CAAA;IACjD,0DAA2C,CAAA;AAC7C,CAAC,EATW,WAAW,KAAX,WAAW,QAStB;AAwMD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AA6MD,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"}
|
|
@@ -388,25 +388,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
388
388
|
updatedEvent?: EntityUpdatedEvent;
|
|
389
389
|
deletedEvent?: EntityDeletedEvent;
|
|
390
390
|
actionEvent?: ActionEvent;
|
|
391
|
-
/**
|
|
392
|
-
* Unique event ID.
|
|
393
|
-
* Allows clients to ignore duplicate webhooks.
|
|
394
|
-
*/
|
|
391
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
395
392
|
_id?: string;
|
|
396
393
|
/**
|
|
397
|
-
*
|
|
398
|
-
*
|
|
394
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
395
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
399
396
|
*/
|
|
400
397
|
entityFqdn?: string;
|
|
401
398
|
/**
|
|
402
|
-
*
|
|
403
|
-
*
|
|
404
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
399
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
400
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
405
401
|
*/
|
|
406
402
|
slug?: string;
|
|
407
403
|
/** ID of the entity associated with the event. */
|
|
408
404
|
entityId?: string;
|
|
409
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
405
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
410
406
|
eventTime?: Date | null;
|
|
411
407
|
/**
|
|
412
408
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -416,12 +412,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
416
412
|
/** If present, indicates the action that triggered the event. */
|
|
417
413
|
originatedFrom?: string | null;
|
|
418
414
|
/**
|
|
419
|
-
* A sequence number
|
|
420
|
-
*
|
|
421
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
422
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
423
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
424
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
415
|
+
* 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.
|
|
416
|
+
* 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.
|
|
425
417
|
*/
|
|
426
418
|
entityEventSequence?: string | null;
|
|
427
419
|
}
|
|
@@ -447,7 +439,7 @@ export interface EntityUpdatedEvent {
|
|
|
447
439
|
currentEntity?: string;
|
|
448
440
|
}
|
|
449
441
|
export interface EntityDeletedEvent {
|
|
450
|
-
/** Entity that was deleted */
|
|
442
|
+
/** Entity that was deleted. */
|
|
451
443
|
deletedEntity?: string | null;
|
|
452
444
|
}
|
|
453
445
|
export interface ActionEvent {
|
|
@@ -540,25 +532,21 @@ export interface BaseEventMetadata {
|
|
|
540
532
|
identity?: IdentificationData;
|
|
541
533
|
}
|
|
542
534
|
export interface EventMetadata extends BaseEventMetadata {
|
|
543
|
-
/**
|
|
544
|
-
* Unique event ID.
|
|
545
|
-
* Allows clients to ignore duplicate webhooks.
|
|
546
|
-
*/
|
|
535
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
547
536
|
_id?: string;
|
|
548
537
|
/**
|
|
549
|
-
*
|
|
550
|
-
*
|
|
538
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
539
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
551
540
|
*/
|
|
552
541
|
entityFqdn?: string;
|
|
553
542
|
/**
|
|
554
|
-
*
|
|
555
|
-
*
|
|
556
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
543
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
544
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
557
545
|
*/
|
|
558
546
|
slug?: string;
|
|
559
547
|
/** ID of the entity associated with the event. */
|
|
560
548
|
entityId?: string;
|
|
561
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
549
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
562
550
|
eventTime?: Date | null;
|
|
563
551
|
/**
|
|
564
552
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -568,12 +556,8 @@ export interface EventMetadata extends BaseEventMetadata {
|
|
|
568
556
|
/** If present, indicates the action that triggered the event. */
|
|
569
557
|
originatedFrom?: string | null;
|
|
570
558
|
/**
|
|
571
|
-
* A sequence number
|
|
572
|
-
*
|
|
573
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
574
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
575
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
576
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
559
|
+
* 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.
|
|
560
|
+
* 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.
|
|
577
561
|
*/
|
|
578
562
|
entityEventSequence?: string | null;
|
|
579
563
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-shippo-configuration-shippo-configurations.universal.js","sourceRoot":"","sources":["../../../src/ecom-v1-shippo-configuration-shippo-configurations.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,sCAAsC,MAAM,8DAA8D,CAAC;AACvH,aAAa;AACb,OAAO,EAAE,gCAAgC,EAAE,MAAM,0CAA0C,CAAC;AAC5F,OAAO,EAAE,gCAAgC,EAAE,MAAM,0CAA0C,CAAC;AAC5F,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAmFlF,MAAM,CAAN,IAAY,eAKX;AALD,WAAY,eAAe;IACzB,wEAAqD,CAAA;IACrD,wDAAqC,CAAA;IACrC,kDAA+B,CAAA;IAC/B,kEAA+C,CAAA;AACjD,CAAC,EALW,eAAe,KAAf,eAAe,QAK1B;AA2BD,MAAM,CAAN,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,gDAA6B,CAAA;IAC7B,kCAAe,CAAA;IACf,4CAAyB,CAAA;AAC3B,CAAC,EAJW,eAAe,KAAf,eAAe,QAI1B;AAeD,MAAM,CAAN,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC9B,uFAA+D,CAAA;IAC/D,+FAAuE,CAAA;IACvE,mFAA2D,CAAA;IAC3D,mGAA2E,CAAA;AAC7E,CAAC,EALW,oBAAoB,KAApB,oBAAoB,QAK/B;AAED,MAAM,CAAN,IAAY,WASX;AATD,WAAY,WAAW;IACrB,4DAA6C,CAAA;IAC7C,gCAAiB,CAAA;IACjB,wDAAyC,CAAA;IACzC,sEAAuD,CAAA;IACvD,0DAA2C,CAAA;IAC3C,gEAAiD,CAAA;IACjD,gEAAiD,CAAA;IACjD,0DAA2C,CAAA;AAC7C,CAAC,EATW,WAAW,KAAX,WAAW,QAStB;AAwMD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;
|
|
1
|
+
{"version":3,"file":"ecom-v1-shippo-configuration-shippo-configurations.universal.js","sourceRoot":"","sources":["../../../src/ecom-v1-shippo-configuration-shippo-configurations.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,sCAAsC,MAAM,8DAA8D,CAAC;AACvH,aAAa;AACb,OAAO,EAAE,gCAAgC,EAAE,MAAM,0CAA0C,CAAC;AAC5F,OAAO,EAAE,gCAAgC,EAAE,MAAM,0CAA0C,CAAC;AAC5F,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAmFlF,MAAM,CAAN,IAAY,eAKX;AALD,WAAY,eAAe;IACzB,wEAAqD,CAAA;IACrD,wDAAqC,CAAA;IACrC,kDAA+B,CAAA;IAC/B,kEAA+C,CAAA;AACjD,CAAC,EALW,eAAe,KAAf,eAAe,QAK1B;AA2BD,MAAM,CAAN,I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sC,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC;IAEvE,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,CAC5C,cAAc,CAAC,MAAM,CAAC,IAAI,EAAE;YAC1B;gBACE,WAAW,EAAE,gCAAgC;gBAC7C,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,qCAAqC,EAAE,CAAC;aACzD;SACF,CAAC,CACF,CAAC;IACL,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE;gBACxB,EAAE,EAAE,MAAM;gBACV,SAAS,EAAE,MAAM;gBACjB,aAAa,EAAE,oBAAoB;aACpC;YACD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,KAAK,EAAE,WAAW,EAAE,SAAS,CAAC,CAChC,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
|
package/build/internal/cjs/src/ecom-v1-shippo-configuration-shippo-configurations.types.d.ts
CHANGED
|
@@ -387,25 +387,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
387
387
|
updatedEvent?: EntityUpdatedEvent;
|
|
388
388
|
deletedEvent?: EntityDeletedEvent;
|
|
389
389
|
actionEvent?: ActionEvent;
|
|
390
|
-
/**
|
|
391
|
-
* Unique event ID.
|
|
392
|
-
* Allows clients to ignore duplicate webhooks.
|
|
393
|
-
*/
|
|
390
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
394
391
|
id?: string;
|
|
395
392
|
/**
|
|
396
|
-
*
|
|
397
|
-
*
|
|
393
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
394
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
398
395
|
*/
|
|
399
396
|
entityFqdn?: string;
|
|
400
397
|
/**
|
|
401
|
-
*
|
|
402
|
-
*
|
|
403
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
398
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
399
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
404
400
|
*/
|
|
405
401
|
slug?: string;
|
|
406
402
|
/** ID of the entity associated with the event. */
|
|
407
403
|
entityId?: string;
|
|
408
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
404
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
409
405
|
eventTime?: Date | null;
|
|
410
406
|
/**
|
|
411
407
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -415,12 +411,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
415
411
|
/** If present, indicates the action that triggered the event. */
|
|
416
412
|
originatedFrom?: string | null;
|
|
417
413
|
/**
|
|
418
|
-
* A sequence number
|
|
419
|
-
*
|
|
420
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
421
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
422
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
423
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
414
|
+
* 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.
|
|
415
|
+
* 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.
|
|
424
416
|
*/
|
|
425
417
|
entityEventSequence?: string | null;
|
|
426
418
|
}
|
|
@@ -448,7 +440,7 @@ export interface EntityUpdatedEvent {
|
|
|
448
440
|
currentEntityAsJson?: string;
|
|
449
441
|
}
|
|
450
442
|
export interface EntityDeletedEvent {
|
|
451
|
-
/** Entity that was deleted */
|
|
443
|
+
/** Entity that was deleted. */
|
|
452
444
|
deletedEntityAsJson?: string | null;
|
|
453
445
|
}
|
|
454
446
|
export interface ActionEvent {
|
package/build/internal/cjs/src/ecom-v1-shippo-configuration-shippo-configurations.types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-shippo-configuration-shippo-configurations.types.js","sourceRoot":"","sources":["../../../../src/ecom-v1-shippo-configuration-shippo-configurations.types.ts"],"names":[],"mappings":";;;AAiFA,IAAY,eAKX;AALD,WAAY,eAAe;IACzB,wEAAqD,CAAA;IACrD,wDAAqC,CAAA;IACrC,kDAA+B,CAAA;IAC/B,kEAA+C,CAAA;AACjD,CAAC,EALW,eAAe,+BAAf,eAAe,QAK1B;AA2BD,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,gDAA6B,CAAA;IAC7B,kCAAe,CAAA;IACf,4CAAyB,CAAA;AAC3B,CAAC,EAJW,eAAe,+BAAf,eAAe,QAI1B;AAeD,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC9B,uFAA+D,CAAA;IAC/D,+FAAuE,CAAA;IACvE,mFAA2D,CAAA;IAC3D,mGAA2E,CAAA;AAC7E,CAAC,EALW,oBAAoB,oCAApB,oBAAoB,QAK/B;AAED,IAAY,WASX;AATD,WAAY,WAAW;IACrB,4DAA6C,CAAA;IAC7C,gCAAiB,CAAA;IACjB,wDAAyC,CAAA;IACzC,sEAAuD,CAAA;IACvD,0DAA2C,CAAA;IAC3C,gEAAiD,CAAA;IACjD,gEAAiD,CAAA;IACjD,0DAA2C,CAAA;AAC7C,CAAC,EATW,WAAW,2BAAX,WAAW,QAStB;AAwMD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;
|
|
1
|
+
{"version":3,"file":"ecom-v1-shippo-configuration-shippo-configurations.types.js","sourceRoot":"","sources":["../../../../src/ecom-v1-shippo-configuration-shippo-configurations.types.ts"],"names":[],"mappings":";;;AAiFA,IAAY,eAKX;AALD,WAAY,eAAe;IACzB,wEAAqD,CAAA;IACrD,wDAAqC,CAAA;IACrC,kDAA+B,CAAA;IAC/B,kEAA+C,CAAA;AACjD,CAAC,EALW,eAAe,+BAAf,eAAe,QAK1B;AA2BD,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,gDAA6B,CAAA;IAC7B,kCAAe,CAAA;IACf,4CAAyB,CAAA;AAC3B,CAAC,EAJW,eAAe,+BAAf,eAAe,QAI1B;AAeD,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC9B,uFAA+D,CAAA;IAC/D,+FAAuE,CAAA;IACvE,mFAA2D,CAAA;IAC3D,mGAA2E,CAAA;AAC7E,CAAC,EALW,oBAAoB,oCAApB,oBAAoB,QAK/B;AAED,IAAY,WASX;AATD,WAAY,WAAW;IACrB,4DAA6C,CAAA;IAC7C,gCAAiB,CAAA;IACjB,wDAAyC,CAAA;IACzC,sEAAuD,CAAA;IACvD,0DAA2C,CAAA;IAC3C,gEAAiD,CAAA;IACjD,gEAAiD,CAAA;IACjD,0DAA2C,CAAA;AAC7C,CAAC,EATW,WAAW,2BAAX,WAAW,QAStB;AAwMD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AA6MD,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"}
|
package/build/internal/cjs/src/ecom-v1-shippo-configuration-shippo-configurations.universal.d.ts
CHANGED
|
@@ -388,25 +388,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
388
388
|
updatedEvent?: EntityUpdatedEvent;
|
|
389
389
|
deletedEvent?: EntityDeletedEvent;
|
|
390
390
|
actionEvent?: ActionEvent;
|
|
391
|
-
/**
|
|
392
|
-
* Unique event ID.
|
|
393
|
-
* Allows clients to ignore duplicate webhooks.
|
|
394
|
-
*/
|
|
391
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
395
392
|
_id?: string;
|
|
396
393
|
/**
|
|
397
|
-
*
|
|
398
|
-
*
|
|
394
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
395
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
399
396
|
*/
|
|
400
397
|
entityFqdn?: string;
|
|
401
398
|
/**
|
|
402
|
-
*
|
|
403
|
-
*
|
|
404
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
399
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
400
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
405
401
|
*/
|
|
406
402
|
slug?: string;
|
|
407
403
|
/** ID of the entity associated with the event. */
|
|
408
404
|
entityId?: string;
|
|
409
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
405
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
410
406
|
eventTime?: Date | null;
|
|
411
407
|
/**
|
|
412
408
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -416,12 +412,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
416
412
|
/** If present, indicates the action that triggered the event. */
|
|
417
413
|
originatedFrom?: string | null;
|
|
418
414
|
/**
|
|
419
|
-
* A sequence number
|
|
420
|
-
*
|
|
421
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
422
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
423
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
424
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
415
|
+
* 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.
|
|
416
|
+
* 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.
|
|
425
417
|
*/
|
|
426
418
|
entityEventSequence?: string | null;
|
|
427
419
|
}
|
|
@@ -447,7 +439,7 @@ export interface EntityUpdatedEvent {
|
|
|
447
439
|
currentEntity?: string;
|
|
448
440
|
}
|
|
449
441
|
export interface EntityDeletedEvent {
|
|
450
|
-
/** Entity that was deleted */
|
|
442
|
+
/** Entity that was deleted. */
|
|
451
443
|
deletedEntity?: string | null;
|
|
452
444
|
}
|
|
453
445
|
export interface ActionEvent {
|
|
@@ -540,25 +532,21 @@ export interface BaseEventMetadata {
|
|
|
540
532
|
identity?: IdentificationData;
|
|
541
533
|
}
|
|
542
534
|
export interface EventMetadata extends BaseEventMetadata {
|
|
543
|
-
/**
|
|
544
|
-
* Unique event ID.
|
|
545
|
-
* Allows clients to ignore duplicate webhooks.
|
|
546
|
-
*/
|
|
535
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
547
536
|
_id?: string;
|
|
548
537
|
/**
|
|
549
|
-
*
|
|
550
|
-
*
|
|
538
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
539
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
551
540
|
*/
|
|
552
541
|
entityFqdn?: string;
|
|
553
542
|
/**
|
|
554
|
-
*
|
|
555
|
-
*
|
|
556
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
543
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
544
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
557
545
|
*/
|
|
558
546
|
slug?: string;
|
|
559
547
|
/** ID of the entity associated with the event. */
|
|
560
548
|
entityId?: string;
|
|
561
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
549
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
562
550
|
eventTime?: Date | null;
|
|
563
551
|
/**
|
|
564
552
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -568,12 +556,8 @@ export interface EventMetadata extends BaseEventMetadata {
|
|
|
568
556
|
/** If present, indicates the action that triggered the event. */
|
|
569
557
|
originatedFrom?: string | null;
|
|
570
558
|
/**
|
|
571
|
-
* A sequence number
|
|
572
|
-
*
|
|
573
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
574
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
575
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
576
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
559
|
+
* 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.
|
|
560
|
+
* 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.
|
|
577
561
|
*/
|
|
578
562
|
entityEventSequence?: string | null;
|
|
579
563
|
}
|
package/build/internal/cjs/src/ecom-v1-shippo-configuration-shippo-configurations.universal.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-shippo-configuration-shippo-configurations.universal.js","sourceRoot":"","sources":["../../../../src/ecom-v1-shippo-configuration-shippo-configurations.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,qIAAuH;AACvH,aAAa;AACb,sEAA4F;AAC5F,sEAA4F;AAC5F,sFAAkF;AAmFlF,IAAY,eAKX;AALD,WAAY,eAAe;IACzB,wEAAqD,CAAA;IACrD,wDAAqC,CAAA;IACrC,kDAA+B,CAAA;IAC/B,kEAA+C,CAAA;AACjD,CAAC,EALW,eAAe,+BAAf,eAAe,QAK1B;AA2BD,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,gDAA6B,CAAA;IAC7B,kCAAe,CAAA;IACf,4CAAyB,CAAA;AAC3B,CAAC,EAJW,eAAe,+BAAf,eAAe,QAI1B;AAeD,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC9B,uFAA+D,CAAA;IAC/D,+FAAuE,CAAA;IACvE,mFAA2D,CAAA;IAC3D,mGAA2E,CAAA;AAC7E,CAAC,EALW,oBAAoB,oCAApB,oBAAoB,QAK/B;AAED,IAAY,WASX;AATD,WAAY,WAAW;IACrB,4DAA6C,CAAA;IAC7C,gCAAiB,CAAA;IACjB,wDAAyC,CAAA;IACzC,sEAAuD,CAAA;IACvD,0DAA2C,CAAA;IAC3C,gEAAiD,CAAA;IACjD,gEAAiD,CAAA;IACjD,0DAA2C,CAAA;AAC7C,CAAC,EATW,WAAW,2BAAX,WAAW,QAStB;AAwMD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;
|
|
1
|
+
{"version":3,"file":"ecom-v1-shippo-configuration-shippo-configurations.universal.js","sourceRoot":"","sources":["../../../../src/ecom-v1-shippo-configuration-shippo-configurations.univers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CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AA1DD,oDA0DC"}
|
|
@@ -387,25 +387,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
387
387
|
updatedEvent?: EntityUpdatedEvent;
|
|
388
388
|
deletedEvent?: EntityDeletedEvent;
|
|
389
389
|
actionEvent?: ActionEvent;
|
|
390
|
-
/**
|
|
391
|
-
* Unique event ID.
|
|
392
|
-
* Allows clients to ignore duplicate webhooks.
|
|
393
|
-
*/
|
|
390
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
394
391
|
id?: string;
|
|
395
392
|
/**
|
|
396
|
-
*
|
|
397
|
-
*
|
|
393
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
394
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
398
395
|
*/
|
|
399
396
|
entityFqdn?: string;
|
|
400
397
|
/**
|
|
401
|
-
*
|
|
402
|
-
*
|
|
403
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
398
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
399
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
404
400
|
*/
|
|
405
401
|
slug?: string;
|
|
406
402
|
/** ID of the entity associated with the event. */
|
|
407
403
|
entityId?: string;
|
|
408
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
404
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
409
405
|
eventTime?: Date | null;
|
|
410
406
|
/**
|
|
411
407
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -415,12 +411,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
415
411
|
/** If present, indicates the action that triggered the event. */
|
|
416
412
|
originatedFrom?: string | null;
|
|
417
413
|
/**
|
|
418
|
-
* A sequence number
|
|
419
|
-
*
|
|
420
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
421
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
422
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
423
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
414
|
+
* 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.
|
|
415
|
+
* 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.
|
|
424
416
|
*/
|
|
425
417
|
entityEventSequence?: string | null;
|
|
426
418
|
}
|
|
@@ -448,7 +440,7 @@ export interface EntityUpdatedEvent {
|
|
|
448
440
|
currentEntityAsJson?: string;
|
|
449
441
|
}
|
|
450
442
|
export interface EntityDeletedEvent {
|
|
451
|
-
/** Entity that was deleted */
|
|
443
|
+
/** Entity that was deleted. */
|
|
452
444
|
deletedEntityAsJson?: string | null;
|
|
453
445
|
}
|
|
454
446
|
export interface ActionEvent {
|
package/build/internal/es/src/ecom-v1-shippo-configuration-shippo-configurations.types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-shippo-configuration-shippo-configurations.types.js","sourceRoot":"","sources":["../../../../src/ecom-v1-shippo-configuration-shippo-configurations.types.ts"],"names":[],"mappings":"AAiFA,MAAM,CAAN,IAAY,eAKX;AALD,WAAY,eAAe;IACzB,wEAAqD,CAAA;IACrD,wDAAqC,CAAA;IACrC,kDAA+B,CAAA;IAC/B,kEAA+C,CAAA;AACjD,CAAC,EALW,eAAe,KAAf,eAAe,QAK1B;AA2BD,MAAM,CAAN,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,gDAA6B,CAAA;IAC7B,kCAAe,CAAA;IACf,4CAAyB,CAAA;AAC3B,CAAC,EAJW,eAAe,KAAf,eAAe,QAI1B;AAeD,MAAM,CAAN,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC9B,uFAA+D,CAAA;IAC/D,+FAAuE,CAAA;IACvE,mFAA2D,CAAA;IAC3D,mGAA2E,CAAA;AAC7E,CAAC,EALW,oBAAoB,KAApB,oBAAoB,QAK/B;AAED,MAAM,CAAN,IAAY,WASX;AATD,WAAY,WAAW;IACrB,4DAA6C,CAAA;IAC7C,gCAAiB,CAAA;IACjB,wDAAyC,CAAA;IACzC,sEAAuD,CAAA;IACvD,0DAA2C,CAAA;IAC3C,gEAAiD,CAAA;IACjD,gEAAiD,CAAA;IACjD,0DAA2C,CAAA;AAC7C,CAAC,EATW,WAAW,KAAX,WAAW,QAStB;AAwMD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;
|
|
1
|
+
{"version":3,"file":"ecom-v1-shippo-configuration-shippo-configurations.types.js","sourceRoot":"","sources":["../../../../src/ecom-v1-shippo-configuration-shippo-configurations.types.ts"],"names":[],"mappings":"AAiFA,MAAM,CAAN,IAAY,eAKX;AALD,WAAY,eAAe;IACzB,wEAAqD,CAAA;IACrD,wDAAqC,CAAA;IACrC,kDAA+B,CAAA;IAC/B,kEAA+C,CAAA;AACjD,CAAC,EALW,eAAe,KAAf,eAAe,QAK1B;AA2BD,MAAM,CAAN,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,gDAA6B,CAAA;IAC7B,kCAAe,CAAA;IACf,4CAAyB,CAAA;AAC3B,CAAC,EAJW,eAAe,KAAf,eAAe,QAI1B;AAeD,MAAM,CAAN,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC9B,uFAA+D,CAAA;IAC/D,+FAAuE,CAAA;IACvE,mFAA2D,CAAA;IAC3D,mGAA2E,CAAA;AAC7E,CAAC,EALW,oBAAoB,KAApB,oBAAoB,QAK/B;AAED,MAAM,CAAN,IAAY,WASX;AATD,WAAY,WAAW;IACrB,4DAA6C,CAAA;IAC7C,gCAAiB,CAAA;IACjB,wDAAyC,CAAA;IACzC,sEAAuD,CAAA;IACvD,0DAA2C,CAAA;IAC3C,gEAAiD,CAAA;IACjD,gEAAiD,CAAA;IACjD,0DAA2C,CAAA;AAC7C,CAAC,EATW,WAAW,KAAX,WAAW,QAStB;AAwMD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AA6MD,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"}
|
package/build/internal/es/src/ecom-v1-shippo-configuration-shippo-configurations.universal.d.ts
CHANGED
|
@@ -388,25 +388,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
388
388
|
updatedEvent?: EntityUpdatedEvent;
|
|
389
389
|
deletedEvent?: EntityDeletedEvent;
|
|
390
390
|
actionEvent?: ActionEvent;
|
|
391
|
-
/**
|
|
392
|
-
* Unique event ID.
|
|
393
|
-
* Allows clients to ignore duplicate webhooks.
|
|
394
|
-
*/
|
|
391
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
395
392
|
_id?: string;
|
|
396
393
|
/**
|
|
397
|
-
*
|
|
398
|
-
*
|
|
394
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
395
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
399
396
|
*/
|
|
400
397
|
entityFqdn?: string;
|
|
401
398
|
/**
|
|
402
|
-
*
|
|
403
|
-
*
|
|
404
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
399
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
400
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
405
401
|
*/
|
|
406
402
|
slug?: string;
|
|
407
403
|
/** ID of the entity associated with the event. */
|
|
408
404
|
entityId?: string;
|
|
409
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
405
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
410
406
|
eventTime?: Date | null;
|
|
411
407
|
/**
|
|
412
408
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -416,12 +412,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
416
412
|
/** If present, indicates the action that triggered the event. */
|
|
417
413
|
originatedFrom?: string | null;
|
|
418
414
|
/**
|
|
419
|
-
* A sequence number
|
|
420
|
-
*
|
|
421
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
422
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
423
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
424
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
415
|
+
* 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.
|
|
416
|
+
* 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.
|
|
425
417
|
*/
|
|
426
418
|
entityEventSequence?: string | null;
|
|
427
419
|
}
|
|
@@ -447,7 +439,7 @@ export interface EntityUpdatedEvent {
|
|
|
447
439
|
currentEntity?: string;
|
|
448
440
|
}
|
|
449
441
|
export interface EntityDeletedEvent {
|
|
450
|
-
/** Entity that was deleted */
|
|
442
|
+
/** Entity that was deleted. */
|
|
451
443
|
deletedEntity?: string | null;
|
|
452
444
|
}
|
|
453
445
|
export interface ActionEvent {
|
|
@@ -540,25 +532,21 @@ export interface BaseEventMetadata {
|
|
|
540
532
|
identity?: IdentificationData;
|
|
541
533
|
}
|
|
542
534
|
export interface EventMetadata extends BaseEventMetadata {
|
|
543
|
-
/**
|
|
544
|
-
* Unique event ID.
|
|
545
|
-
* Allows clients to ignore duplicate webhooks.
|
|
546
|
-
*/
|
|
535
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
547
536
|
_id?: string;
|
|
548
537
|
/**
|
|
549
|
-
*
|
|
550
|
-
*
|
|
538
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
539
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
551
540
|
*/
|
|
552
541
|
entityFqdn?: string;
|
|
553
542
|
/**
|
|
554
|
-
*
|
|
555
|
-
*
|
|
556
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
543
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
544
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
557
545
|
*/
|
|
558
546
|
slug?: string;
|
|
559
547
|
/** ID of the entity associated with the event. */
|
|
560
548
|
entityId?: string;
|
|
561
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
549
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
562
550
|
eventTime?: Date | null;
|
|
563
551
|
/**
|
|
564
552
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -568,12 +556,8 @@ export interface EventMetadata extends BaseEventMetadata {
|
|
|
568
556
|
/** If present, indicates the action that triggered the event. */
|
|
569
557
|
originatedFrom?: string | null;
|
|
570
558
|
/**
|
|
571
|
-
* A sequence number
|
|
572
|
-
*
|
|
573
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
574
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
575
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
576
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
559
|
+
* 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.
|
|
560
|
+
* 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.
|
|
577
561
|
*/
|
|
578
562
|
entityEventSequence?: string | null;
|
|
579
563
|
}
|
package/build/internal/es/src/ecom-v1-shippo-configuration-shippo-configurations.universal.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-shippo-configuration-shippo-configurations.universal.js","sourceRoot":"","sources":["../../../../src/ecom-v1-shippo-configuration-shippo-configurations.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,sCAAsC,MAAM,8DAA8D,CAAC;AACvH,aAAa;AACb,OAAO,EAAE,gCAAgC,EAAE,MAAM,0CAA0C,CAAC;AAC5F,OAAO,EAAE,gCAAgC,EAAE,MAAM,0CAA0C,CAAC;AAC5F,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAmFlF,MAAM,CAAN,IAAY,eAKX;AALD,WAAY,eAAe;IACzB,wEAAqD,CAAA;IACrD,wDAAqC,CAAA;IACrC,kDAA+B,CAAA;IAC/B,kEAA+C,CAAA;AACjD,CAAC,EALW,eAAe,KAAf,eAAe,QAK1B;AA2BD,MAAM,CAAN,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,gDAA6B,CAAA;IAC7B,kCAAe,CAAA;IACf,4CAAyB,CAAA;AAC3B,CAAC,EAJW,eAAe,KAAf,eAAe,QAI1B;AAeD,MAAM,CAAN,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC9B,uFAA+D,CAAA;IAC/D,+FAAuE,CAAA;IACvE,mFAA2D,CAAA;IAC3D,mGAA2E,CAAA;AAC7E,CAAC,EALW,oBAAoB,KAApB,oBAAoB,QAK/B;AAED,MAAM,CAAN,IAAY,WASX;AATD,WAAY,WAAW;IACrB,4DAA6C,CAAA;IAC7C,gCAAiB,CAAA;IACjB,wDAAyC,CAAA;IACzC,sEAAuD,CAAA;IACvD,0DAA2C,CAAA;IAC3C,gEAAiD,CAAA;IACjD,gEAAiD,CAAA;IACjD,0DAA2C,CAAA;AAC7C,CAAC,EATW,WAAW,KAAX,WAAW,QAStB;AAwMD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;
|
|
1
|
+
{"version":3,"file":"ecom-v1-shippo-configuration-shippo-configurations.universal.js","sourceRoot":"","sources":["../../../../src/ecom-v1-shippo-configuration-shippo-configurations.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,sCAAsC,MAAM,8DAA8D,CAAC;AACvH,aAAa;AACb,OAAO,EAAE,gCAAgC,EAAE,MAAM,0CAA0C,CAAC;AAC5F,OAAO,EAAE,gCAAgC,EAAE,MAAM,0CAA0C,CAAC;AAC5F,OAAO,EAAE,cAAc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ig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@wix/sdk-runtime": "^0.3.49",
|
|
32
|
-
"@wix/sdk-types": "^1.13.
|
|
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.ecom.v1.shippo_configuration"
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
|
-
"falconPackageHash": "
|
|
51
|
+
"falconPackageHash": "ada29108fb628987a5bd4068032ba5cf027dd3fceb4e0f3c8bc900d6"
|
|
52
52
|
}
|