@wix/auto_sdk_ecom_tax-regions 1.0.8 → 1.0.10

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.
@@ -288,25 +288,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
288
288
  updatedEvent?: EntityUpdatedEvent;
289
289
  deletedEvent?: EntityDeletedEvent;
290
290
  actionEvent?: ActionEvent;
291
- /**
292
- * Unique event ID.
293
- * Allows clients to ignore duplicate webhooks.
294
- */
291
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
295
292
  id?: string;
296
293
  /**
297
- * Assumes actions are also always typed to an entity_type
298
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
294
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
295
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
299
296
  */
300
297
  entityFqdn?: string;
301
298
  /**
302
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
303
- * This is although the created/updated/deleted notion is duplication of the oneof types
304
- * Example: created/updated/deleted/started/completed/email_opened
299
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
300
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
305
301
  */
306
302
  slug?: string;
307
303
  /** ID of the entity associated with the event. */
308
304
  entityId?: string;
309
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
305
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
310
306
  eventTime?: Date | null;
311
307
  /**
312
308
  * Whether the event was triggered as a result of a privacy regulation application
@@ -316,12 +312,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
316
312
  /** If present, indicates the action that triggered the event. */
317
313
  originatedFrom?: string | null;
318
314
  /**
319
- * A sequence number defining the order of updates to the underlying entity.
320
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
321
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
322
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
323
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
324
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
315
+ * 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.
316
+ * 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.
325
317
  */
326
318
  entityEventSequence?: string | null;
327
319
  }
@@ -349,7 +341,7 @@ export interface EntityUpdatedEvent {
349
341
  currentEntityAsJson?: string;
350
342
  }
351
343
  export interface EntityDeletedEvent {
352
- /** Entity that was deleted */
344
+ /** Entity that was deleted. */
353
345
  deletedEntityAsJson?: string | null;
354
346
  }
355
347
  export interface ActionEvent {
@@ -1 +1 @@
1
- {"version":3,"file":"billing-v1-tax-region-tax-regions.types.js","sourceRoot":"","sources":["../../../src/billing-v1-tax-region-tax-regions.types.ts"],"names":[],"mappings":";;;AAyNA,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAgPD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}
1
+ {"version":3,"file":"billing-v1-tax-region-tax-regions.types.js","sourceRoot":"","sources":["../../../src/billing-v1-tax-region-tax-regions.types.ts"],"names":[],"mappings":";;;AAyNA,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAwOD,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"}
@@ -289,25 +289,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
289
289
  updatedEvent?: EntityUpdatedEvent;
290
290
  deletedEvent?: EntityDeletedEvent;
291
291
  actionEvent?: ActionEvent;
292
- /**
293
- * Unique event ID.
294
- * Allows clients to ignore duplicate webhooks.
295
- */
292
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
296
293
  _id?: string;
297
294
  /**
298
- * Assumes actions are also always typed to an entity_type
299
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
295
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
296
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
300
297
  */
301
298
  entityFqdn?: string;
302
299
  /**
303
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
304
- * This is although the created/updated/deleted notion is duplication of the oneof types
305
- * Example: created/updated/deleted/started/completed/email_opened
300
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
301
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
306
302
  */
307
303
  slug?: string;
308
304
  /** ID of the entity associated with the event. */
309
305
  entityId?: string;
310
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
306
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
311
307
  eventTime?: Date | null;
312
308
  /**
313
309
  * Whether the event was triggered as a result of a privacy regulation application
@@ -317,12 +313,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
317
313
  /** If present, indicates the action that triggered the event. */
318
314
  originatedFrom?: string | null;
319
315
  /**
320
- * A sequence number defining the order of updates to the underlying entity.
321
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
322
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
323
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
324
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
325
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
316
+ * 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.
317
+ * 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.
326
318
  */
327
319
  entityEventSequence?: string | null;
328
320
  }
@@ -348,7 +340,7 @@ export interface EntityUpdatedEvent {
348
340
  currentEntity?: string;
349
341
  }
350
342
  export interface EntityDeletedEvent {
351
- /** Entity that was deleted */
343
+ /** Entity that was deleted. */
352
344
  deletedEntity?: string | null;
353
345
  }
354
346
  export interface ActionEvent {
@@ -439,25 +431,21 @@ export interface BaseEventMetadata {
439
431
  identity?: IdentificationData;
440
432
  }
441
433
  export interface EventMetadata extends BaseEventMetadata {
442
- /**
443
- * Unique event ID.
444
- * Allows clients to ignore duplicate webhooks.
445
- */
434
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
446
435
  _id?: string;
447
436
  /**
448
- * Assumes actions are also always typed to an entity_type
449
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
437
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
438
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
450
439
  */
451
440
  entityFqdn?: string;
452
441
  /**
453
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
454
- * This is although the created/updated/deleted notion is duplication of the oneof types
455
- * Example: created/updated/deleted/started/completed/email_opened
442
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
443
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
456
444
  */
457
445
  slug?: string;
458
446
  /** ID of the entity associated with the event. */
459
447
  entityId?: string;
460
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
448
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
461
449
  eventTime?: Date | null;
462
450
  /**
463
451
  * Whether the event was triggered as a result of a privacy regulation application
@@ -467,12 +455,8 @@ export interface EventMetadata extends BaseEventMetadata {
467
455
  /** If present, indicates the action that triggered the event. */
468
456
  originatedFrom?: string | null;
469
457
  /**
470
- * A sequence number defining the order of updates to the underlying entity.
471
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
472
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
473
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
474
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
475
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
458
+ * 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.
459
+ * 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.
476
460
  */
477
461
  entityEventSequence?: string | null;
478
462
  }
@@ -1 +1 @@
1
- {"version":3,"file":"billing-v1-tax-region-tax-regions.universal.js","sourceRoot":"","sources":["../../../src/billing-v1-tax-region-tax-regions.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,6GAA+F;AA4N/F,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AA8OD,IAAY,mBA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AAmB,EAAE,CAAC,EAAE,IAAI,EAAyC,EAAE,EAAE;YACvE,MAAM,eAAe,GAAG,IAAA,gEAAuC,EAAC,IAAI,CAAC,CAAC;YAEtE,OAAO;gBACL,KAAK,EAAE,eAAe,EAAE,UAAU;gBAClC,cAAc,EAAE,eAAe,EAAE,cAAc;aAChD,CAAC;QACJ,CAAC;QACD,gBAAgB,EAAE,CAAC,GAAY,EAAE,EAAE;YACjC,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EAAC,GAAG,EAAE;gBAC9C,sBAAsB,EAAE,EAAE;gBAC1B,wBAAwB,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;gBAC3C,uBAAuB,EAAE,KAAK;aAC/B,CAAC,CAAC;YAEH,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,EAAE;KACxB,CAAC,CAAC;AACL,CAAC;AArDD,0CAqDC"}
1
+ {"version":3,"file":"billing-v1-tax-region-tax-regions.universal.js","sourceRoot":"","sources":["../../../src/billing-v1-tax-region-tax-regions.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,6GAA+F;AA4N/F,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAsOD,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;AAuID;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACI,KAAK,UAAU,eAAe,CACnC,SAGC;IAED,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,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C,GAAG,EAAE;gBAC9C,sBAAsB,EAAE,EAAE;gBAC1B,wBAAwB,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;gBAC3C,uBAAuB,EAAE,KAAK;aAC/B,CAAC,CAAC;YAEH,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,EAAE;KACxB,CAAC,CAAC;AACL,CAAC;AArDD,0CAqDC"}
@@ -288,25 +288,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
288
288
  updatedEvent?: EntityUpdatedEvent;
289
289
  deletedEvent?: EntityDeletedEvent;
290
290
  actionEvent?: ActionEvent;
291
- /**
292
- * Unique event ID.
293
- * Allows clients to ignore duplicate webhooks.
294
- */
291
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
295
292
  id?: string;
296
293
  /**
297
- * Assumes actions are also always typed to an entity_type
298
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
294
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
295
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
299
296
  */
300
297
  entityFqdn?: string;
301
298
  /**
302
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
303
- * This is although the created/updated/deleted notion is duplication of the oneof types
304
- * Example: created/updated/deleted/started/completed/email_opened
299
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
300
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
305
301
  */
306
302
  slug?: string;
307
303
  /** ID of the entity associated with the event. */
308
304
  entityId?: string;
309
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
305
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
310
306
  eventTime?: Date | null;
311
307
  /**
312
308
  * Whether the event was triggered as a result of a privacy regulation application
@@ -316,12 +312,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
316
312
  /** If present, indicates the action that triggered the event. */
317
313
  originatedFrom?: string | null;
318
314
  /**
319
- * A sequence number defining the order of updates to the underlying entity.
320
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
321
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
322
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
323
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
324
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
315
+ * 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.
316
+ * 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.
325
317
  */
326
318
  entityEventSequence?: string | null;
327
319
  }
@@ -349,7 +341,7 @@ export interface EntityUpdatedEvent {
349
341
  currentEntityAsJson?: string;
350
342
  }
351
343
  export interface EntityDeletedEvent {
352
- /** Entity that was deleted */
344
+ /** Entity that was deleted. */
353
345
  deletedEntityAsJson?: string | null;
354
346
  }
355
347
  export interface ActionEvent {
@@ -1 +1 @@
1
- {"version":3,"file":"billing-v1-tax-region-tax-regions.types.js","sourceRoot":"","sources":["../../../src/billing-v1-tax-region-tax-regions.types.ts"],"names":[],"mappings":"AAyNA,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAgPD,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B"}
1
+ {"version":3,"file":"billing-v1-tax-region-tax-regions.types.js","sourceRoot":"","sources":["../../../src/billing-v1-tax-region-tax-regions.types.ts"],"names":[],"mappings":"AAyNA,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAwOD,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"}
@@ -289,25 +289,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
289
289
  updatedEvent?: EntityUpdatedEvent;
290
290
  deletedEvent?: EntityDeletedEvent;
291
291
  actionEvent?: ActionEvent;
292
- /**
293
- * Unique event ID.
294
- * Allows clients to ignore duplicate webhooks.
295
- */
292
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
296
293
  _id?: string;
297
294
  /**
298
- * Assumes actions are also always typed to an entity_type
299
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
295
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
296
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
300
297
  */
301
298
  entityFqdn?: string;
302
299
  /**
303
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
304
- * This is although the created/updated/deleted notion is duplication of the oneof types
305
- * Example: created/updated/deleted/started/completed/email_opened
300
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
301
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
306
302
  */
307
303
  slug?: string;
308
304
  /** ID of the entity associated with the event. */
309
305
  entityId?: string;
310
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
306
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
311
307
  eventTime?: Date | null;
312
308
  /**
313
309
  * Whether the event was triggered as a result of a privacy regulation application
@@ -317,12 +313,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
317
313
  /** If present, indicates the action that triggered the event. */
318
314
  originatedFrom?: string | null;
319
315
  /**
320
- * A sequence number defining the order of updates to the underlying entity.
321
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
322
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
323
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
324
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
325
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
316
+ * 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.
317
+ * 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.
326
318
  */
327
319
  entityEventSequence?: string | null;
328
320
  }
@@ -348,7 +340,7 @@ export interface EntityUpdatedEvent {
348
340
  currentEntity?: string;
349
341
  }
350
342
  export interface EntityDeletedEvent {
351
- /** Entity that was deleted */
343
+ /** Entity that was deleted. */
352
344
  deletedEntity?: string | null;
353
345
  }
354
346
  export interface ActionEvent {
@@ -439,25 +431,21 @@ export interface BaseEventMetadata {
439
431
  identity?: IdentificationData;
440
432
  }
441
433
  export interface EventMetadata extends BaseEventMetadata {
442
- /**
443
- * Unique event ID.
444
- * Allows clients to ignore duplicate webhooks.
445
- */
434
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
446
435
  _id?: string;
447
436
  /**
448
- * Assumes actions are also always typed to an entity_type
449
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
437
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
438
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
450
439
  */
451
440
  entityFqdn?: string;
452
441
  /**
453
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
454
- * This is although the created/updated/deleted notion is duplication of the oneof types
455
- * Example: created/updated/deleted/started/completed/email_opened
442
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
443
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
456
444
  */
457
445
  slug?: string;
458
446
  /** ID of the entity associated with the event. */
459
447
  entityId?: string;
460
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
448
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
461
449
  eventTime?: Date | null;
462
450
  /**
463
451
  * Whether the event was triggered as a result of a privacy regulation application
@@ -467,12 +455,8 @@ export interface EventMetadata extends BaseEventMetadata {
467
455
  /** If present, indicates the action that triggered the event. */
468
456
  originatedFrom?: string | null;
469
457
  /**
470
- * A sequence number defining the order of updates to the underlying entity.
471
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
472
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
473
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
474
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
475
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
458
+ * 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.
459
+ * 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.
476
460
  */
477
461
  entityEventSequence?: string | null;
478
462
  }
@@ -1 +1 @@
1
- {"version":3,"file":"billing-v1-tax-region-tax-regions.universal.js","sourceRoot":"","sources":["../../../src/billing-v1-tax-region-tax-regions.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBA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AC;QACD,kBAAkB,EAAE,CAAC,KAAsC,EAAE,EAAE;YAC7D,MAAM,IAAI,GAAG,CAAC,KAAK,EAAE,EAAE,CAA0C,CAAC;YAClE,OAAO,qCAAqC,CAAC;gBAC3C,GAAG,IAAI,EAAE,CAAC,CAAC,CAAC;gBACZ,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;aACjB,CAAC,CAAC;QACL,CAAC;QACD,mBAAmB,EAAE,CAAC,EAAE,IAAI,EAAyC,EAAE,EAAE;YACvE,MAAM,eAAe,GAAG,uCAAuC,CAAC,IAAI,CAAC,CAAC;YAEtE,OAAO;gBACL,KAAK,EAAE,eAAe,EAAE,UAAU;gBAClC,cAAc,EAAE,eAAe,EAAE,cAAc;aAChD,CAAC;QACJ,CAAC;QACD,gBAAgB,EAAE,CAAC,GAAY,EAAE,EAAE;YACjC,MAAM,gBAAgB,GAAG,iBAAiB,CAAC,GAAG,EAAE;gBAC9C,sBAAsB,EAAE,EAAE;gBAC1B,wBAAwB,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;gBAC3C,uBAAuB,EAAE,KAAK;aAC/B,CAAC,CAAC;YAEH,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,EAAE;KACxB,CAAC,CAAC;AACL,CAAC"}
1
+ {"version":3,"file":"billing-v1-tax-region-tax-regions.universal.js","sourceRoot":"","sources":["../../../src/billing-v1-tax-region-tax-regions.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,+BAA+B,MAAM,6CAA6C,CAAC;AA4N/F,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,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D,mBAAmB,EAAE,CAAC,EAAE,IAAI,EAAyC,EAAE,EAAE;YACvE,MAAM,eAAe,GAAG,uCAAuC,CAAC,IAAI,CAAC,CAAC;YAEtE,OAAO;gBACL,KAAK,EAAE,eAAe,EAAE,UAAU;gBAClC,cAAc,EAAE,eAAe,EAAE,cAAc;aAChD,CAAC;QACJ,CAAC;QACD,gBAAgB,EAAE,CAAC,GAAY,EAAE,EAAE;YACjC,MAAM,gBAAgB,GAAG,iBAAiB,CAAC,GAAG,EAAE;gBAC9C,sBAAsB,EAAE,EAAE;gBAC1B,wBAAwB,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;gBAC3C,uBAAuB,EAAE,KAAK;aAC/B,CAAC,CAAC;YAEH,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,EAAE;KACxB,CAAC,CAAC;AACL,CAAC"}
@@ -288,25 +288,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
288
288
  updatedEvent?: EntityUpdatedEvent;
289
289
  deletedEvent?: EntityDeletedEvent;
290
290
  actionEvent?: ActionEvent;
291
- /**
292
- * Unique event ID.
293
- * Allows clients to ignore duplicate webhooks.
294
- */
291
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
295
292
  id?: string;
296
293
  /**
297
- * Assumes actions are also always typed to an entity_type
298
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
294
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
295
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
299
296
  */
300
297
  entityFqdn?: string;
301
298
  /**
302
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
303
- * This is although the created/updated/deleted notion is duplication of the oneof types
304
- * Example: created/updated/deleted/started/completed/email_opened
299
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
300
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
305
301
  */
306
302
  slug?: string;
307
303
  /** ID of the entity associated with the event. */
308
304
  entityId?: string;
309
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
305
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
310
306
  eventTime?: Date | null;
311
307
  /**
312
308
  * Whether the event was triggered as a result of a privacy regulation application
@@ -316,12 +312,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
316
312
  /** If present, indicates the action that triggered the event. */
317
313
  originatedFrom?: string | null;
318
314
  /**
319
- * A sequence number defining the order of updates to the underlying entity.
320
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
321
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
322
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
323
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
324
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
315
+ * 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.
316
+ * 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.
325
317
  */
326
318
  entityEventSequence?: string | null;
327
319
  }
@@ -349,7 +341,7 @@ export interface EntityUpdatedEvent {
349
341
  currentEntityAsJson?: string;
350
342
  }
351
343
  export interface EntityDeletedEvent {
352
- /** Entity that was deleted */
344
+ /** Entity that was deleted. */
353
345
  deletedEntityAsJson?: string | null;
354
346
  }
355
347
  export interface ActionEvent {
@@ -1 +1 @@
1
- {"version":3,"file":"billing-v1-tax-region-tax-regions.types.js","sourceRoot":"","sources":["../../../../src/billing-v1-tax-region-tax-regions.types.ts"],"names":[],"mappings":";;;AAyNA,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAgPD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}
1
+ {"version":3,"file":"billing-v1-tax-region-tax-regions.types.js","sourceRoot":"","sources":["../../../../src/billing-v1-tax-region-tax-regions.types.ts"],"names":[],"mappings":";;;AAyNA,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAwOD,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"}
@@ -289,25 +289,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
289
289
  updatedEvent?: EntityUpdatedEvent;
290
290
  deletedEvent?: EntityDeletedEvent;
291
291
  actionEvent?: ActionEvent;
292
- /**
293
- * Unique event ID.
294
- * Allows clients to ignore duplicate webhooks.
295
- */
292
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
296
293
  _id?: string;
297
294
  /**
298
- * Assumes actions are also always typed to an entity_type
299
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
295
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
296
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
300
297
  */
301
298
  entityFqdn?: string;
302
299
  /**
303
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
304
- * This is although the created/updated/deleted notion is duplication of the oneof types
305
- * Example: created/updated/deleted/started/completed/email_opened
300
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
301
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
306
302
  */
307
303
  slug?: string;
308
304
  /** ID of the entity associated with the event. */
309
305
  entityId?: string;
310
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
306
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
311
307
  eventTime?: Date | null;
312
308
  /**
313
309
  * Whether the event was triggered as a result of a privacy regulation application
@@ -317,12 +313,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
317
313
  /** If present, indicates the action that triggered the event. */
318
314
  originatedFrom?: string | null;
319
315
  /**
320
- * A sequence number defining the order of updates to the underlying entity.
321
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
322
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
323
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
324
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
325
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
316
+ * 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.
317
+ * 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.
326
318
  */
327
319
  entityEventSequence?: string | null;
328
320
  }
@@ -348,7 +340,7 @@ export interface EntityUpdatedEvent {
348
340
  currentEntity?: string;
349
341
  }
350
342
  export interface EntityDeletedEvent {
351
- /** Entity that was deleted */
343
+ /** Entity that was deleted. */
352
344
  deletedEntity?: string | null;
353
345
  }
354
346
  export interface ActionEvent {
@@ -439,25 +431,21 @@ export interface BaseEventMetadata {
439
431
  identity?: IdentificationData;
440
432
  }
441
433
  export interface EventMetadata extends BaseEventMetadata {
442
- /**
443
- * Unique event ID.
444
- * Allows clients to ignore duplicate webhooks.
445
- */
434
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
446
435
  _id?: string;
447
436
  /**
448
- * Assumes actions are also always typed to an entity_type
449
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
437
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
438
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
450
439
  */
451
440
  entityFqdn?: string;
452
441
  /**
453
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
454
- * This is although the created/updated/deleted notion is duplication of the oneof types
455
- * Example: created/updated/deleted/started/completed/email_opened
442
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
443
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
456
444
  */
457
445
  slug?: string;
458
446
  /** ID of the entity associated with the event. */
459
447
  entityId?: string;
460
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
448
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
461
449
  eventTime?: Date | null;
462
450
  /**
463
451
  * Whether the event was triggered as a result of a privacy regulation application
@@ -467,12 +455,8 @@ export interface EventMetadata extends BaseEventMetadata {
467
455
  /** If present, indicates the action that triggered the event. */
468
456
  originatedFrom?: string | null;
469
457
  /**
470
- * A sequence number defining the order of updates to the underlying entity.
471
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
472
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
473
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
474
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
475
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
458
+ * 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.
459
+ * 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.
476
460
  */
477
461
  entityEventSequence?: string | null;
478
462
  }
@@ -1 +1 @@
1
- {"version":3,"file":"billing-v1-tax-region-tax-regions.universal.js","sourceRoot":"","sources":["../../../../src/billing-v1-tax-region-tax-regions.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,6GAA+F;AA4N/F,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AA8OD,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;AA+ID;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACI,KAAK,UAAU,eAAe,CACnC,SAGC;IAED,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC;QACpD,SAAS,EAAE,SAAS;KACrB,CAAC,CAAC;IAEH,MAAM,OAAO,GAAG,+BAA+B,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;IAEzE,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,IAAA,gEAAuC,EAAC,MAAM,CAAC,IAAI,CAAC,EAAE,SAAU,CAAC;IAC1E,CAAC;IAAC,OAAO,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CAAC;gBACjC,OAAO,MAAM,CAAC;YAChB,CAAC;YAAC,OAAO,GAAG,EAAE,CAAC;gBACb,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;gBAC5B,MAAM,GAAG,CAAC;YACZ,CAAC;QACH,CAAC;QACD,kBAAkB,EAAE,CAAC,KAAsC,EAAE,EAAE;YAC7D,MAAM,IAAI,GAAG,CAAC,KAAK,EAAE,EAAE,CAA0C,CAAC;YAClE,OAAO,IAAA,8DAAqC,EAAC;gBAC3C,GAAG,IAAI,EAAE,CAAC,CAAC,CAAC;gBACZ,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;aACjB,CAAC,CAAC;QACL,CAAC;QACD,mBAAmB,EAAE,CAAC,EAAE,IAAI,EAAyC,EAAE,EAAE;YACvE,MAAM,eAAe,GAAG,IAAA,gEAAuC,EAAC,IAAI,CAAC,CAAC;YAEtE,OAAO;gBACL,KAAK,EAAE,eAAe,EAAE,UAAU;gBAClC,cAAc,EAAE,eAAe,EAAE,cAAc;aAChD,CAAC;QACJ,CAAC;QACD,gBAAgB,EAAE,CAAC,GAAY,EAAE,EAAE;YACjC,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EAAC,GAAG,EAAE;gBAC9C,sBAAsB,EAAE,EAAE;gBAC1B,wBAAwB,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;gBAC3C,uBAAuB,EAAE,KAAK;aAC/B,CAAC,CAAC;YAEH,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,EAAE;KACxB,CAAC,CAAC;AACL,CAAC;AArDD,0CAqDC"}
1
+ {"version":3,"file":"billing-v1-tax-region-tax-regions.universal.js","sourceRoot":"","sources":["../../../../src/billing-v1-tax-region-tax-regions.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,6GAA+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,EAAC;gBAC3C,GAAG,IAAI,EAAE,CAAC,CAAC,CAAC;gBACZ,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;aACjB,CAAC,CAAC;QACL,CAAC;QACD,mBAAmB,EAAE,CAAC,EAAE,IAAI,EAAyC,EAAE,EAAE;YACvE,MAAM,eAAe,GAAG,IAAA,gEAAuC,EAAC,IAAI,CAAC,CAAC;YAEtE,OAAO;gBACL,KAAK,EAAE,eAAe,EAAE,UAAU;gBAClC,cAAc,EAAE,eAAe,EAAE,cAAc;aAChD,CAAC;QACJ,CAAC;QACD,gBAAgB,EAAE,CAAC,GAAY,EAAE,EAAE;YACjC,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EAAC,GAAG,EAAE;gBAC9C,sBAAsB,EAAE,EAAE;gBAC1B,wBAAwB,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;gBAC3C,uBAAuB,EAAE,KAAK;aAC/B,CAAC,CAAC;YAEH,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,EAAE;KACxB,CAAC,CAAC;AACL,CAAC;AArDD,0CAqDC"}
@@ -288,25 +288,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
288
288
  updatedEvent?: EntityUpdatedEvent;
289
289
  deletedEvent?: EntityDeletedEvent;
290
290
  actionEvent?: ActionEvent;
291
- /**
292
- * Unique event ID.
293
- * Allows clients to ignore duplicate webhooks.
294
- */
291
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
295
292
  id?: string;
296
293
  /**
297
- * Assumes actions are also always typed to an entity_type
298
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
294
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
295
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
299
296
  */
300
297
  entityFqdn?: string;
301
298
  /**
302
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
303
- * This is although the created/updated/deleted notion is duplication of the oneof types
304
- * Example: created/updated/deleted/started/completed/email_opened
299
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
300
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
305
301
  */
306
302
  slug?: string;
307
303
  /** ID of the entity associated with the event. */
308
304
  entityId?: string;
309
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
305
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
310
306
  eventTime?: Date | null;
311
307
  /**
312
308
  * Whether the event was triggered as a result of a privacy regulation application
@@ -316,12 +312,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
316
312
  /** If present, indicates the action that triggered the event. */
317
313
  originatedFrom?: string | null;
318
314
  /**
319
- * A sequence number defining the order of updates to the underlying entity.
320
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
321
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
322
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
323
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
324
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
315
+ * 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.
316
+ * 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.
325
317
  */
326
318
  entityEventSequence?: string | null;
327
319
  }
@@ -349,7 +341,7 @@ export interface EntityUpdatedEvent {
349
341
  currentEntityAsJson?: string;
350
342
  }
351
343
  export interface EntityDeletedEvent {
352
- /** Entity that was deleted */
344
+ /** Entity that was deleted. */
353
345
  deletedEntityAsJson?: string | null;
354
346
  }
355
347
  export interface ActionEvent {
@@ -1 +1 @@
1
- {"version":3,"file":"billing-v1-tax-region-tax-regions.types.js","sourceRoot":"","sources":["../../../../src/billing-v1-tax-region-tax-regions.types.ts"],"names":[],"mappings":"AAyNA,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAgPD,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B"}
1
+ {"version":3,"file":"billing-v1-tax-region-tax-regions.types.js","sourceRoot":"","sources":["../../../../src/billing-v1-tax-region-tax-regions.types.ts"],"names":[],"mappings":"AAyNA,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAwOD,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"}
@@ -289,25 +289,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
289
289
  updatedEvent?: EntityUpdatedEvent;
290
290
  deletedEvent?: EntityDeletedEvent;
291
291
  actionEvent?: ActionEvent;
292
- /**
293
- * Unique event ID.
294
- * Allows clients to ignore duplicate webhooks.
295
- */
292
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
296
293
  _id?: string;
297
294
  /**
298
- * Assumes actions are also always typed to an entity_type
299
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
295
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
296
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
300
297
  */
301
298
  entityFqdn?: string;
302
299
  /**
303
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
304
- * This is although the created/updated/deleted notion is duplication of the oneof types
305
- * Example: created/updated/deleted/started/completed/email_opened
300
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
301
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
306
302
  */
307
303
  slug?: string;
308
304
  /** ID of the entity associated with the event. */
309
305
  entityId?: string;
310
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
306
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
311
307
  eventTime?: Date | null;
312
308
  /**
313
309
  * Whether the event was triggered as a result of a privacy regulation application
@@ -317,12 +313,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
317
313
  /** If present, indicates the action that triggered the event. */
318
314
  originatedFrom?: string | null;
319
315
  /**
320
- * A sequence number defining the order of updates to the underlying entity.
321
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
322
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
323
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
324
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
325
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
316
+ * 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.
317
+ * 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.
326
318
  */
327
319
  entityEventSequence?: string | null;
328
320
  }
@@ -348,7 +340,7 @@ export interface EntityUpdatedEvent {
348
340
  currentEntity?: string;
349
341
  }
350
342
  export interface EntityDeletedEvent {
351
- /** Entity that was deleted */
343
+ /** Entity that was deleted. */
352
344
  deletedEntity?: string | null;
353
345
  }
354
346
  export interface ActionEvent {
@@ -439,25 +431,21 @@ export interface BaseEventMetadata {
439
431
  identity?: IdentificationData;
440
432
  }
441
433
  export interface EventMetadata extends BaseEventMetadata {
442
- /**
443
- * Unique event ID.
444
- * Allows clients to ignore duplicate webhooks.
445
- */
434
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
446
435
  _id?: string;
447
436
  /**
448
- * Assumes actions are also always typed to an entity_type
449
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
437
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
438
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
450
439
  */
451
440
  entityFqdn?: string;
452
441
  /**
453
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
454
- * This is although the created/updated/deleted notion is duplication of the oneof types
455
- * Example: created/updated/deleted/started/completed/email_opened
442
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
443
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
456
444
  */
457
445
  slug?: string;
458
446
  /** ID of the entity associated with the event. */
459
447
  entityId?: string;
460
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
448
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
461
449
  eventTime?: Date | null;
462
450
  /**
463
451
  * Whether the event was triggered as a result of a privacy regulation application
@@ -467,12 +455,8 @@ export interface EventMetadata extends BaseEventMetadata {
467
455
  /** If present, indicates the action that triggered the event. */
468
456
  originatedFrom?: string | null;
469
457
  /**
470
- * A sequence number defining the order of updates to the underlying entity.
471
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
472
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
473
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
474
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
475
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
458
+ * 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.
459
+ * 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.
476
460
  */
477
461
  entityEventSequence?: string | null;
478
462
  }
@@ -1 +1 @@
1
- {"version":3,"file":"billing-v1-tax-region-tax-regions.universal.js","sourceRoot":"","sources":["../../../../src/billing-v1-tax-region-tax-regions.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,+BAA+B,MAAM,6CAA6C,CAAC;AA4N/F,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AA8OD,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;AA+ID;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAM,CAAC,KAAK,UAAU,eAAe,CACnC,SAGC;IAED,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,qCAAqC,CAAC;QACpD,SAAS,EAAE,SAAS;KACrB,CAA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AAmB,EAAE,EAAE;KACxB,CAAC,CAAC;AACL,CAAC"}
1
+ {"version":3,"file":"billing-v1-tax-region-tax-regions.universal.js","sourceRoot":"","sources":["../../../../src/billing-v1-tax-region-tax-regions.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,+BAA+B,MAAM,6CAA6C,CAAC;AA4N/F,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAsOD,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;AAuID;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAM,CAAC,KAAK,UAAU,eAAe,CACnC,SAGC;IAED,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,qCAAqC,CAAC;QACpD,SAAS,EAAE,SAAS;KACrB,CAAC,CAAC;IAEH,MAAM,OAAO,GAAG,+BAA+B,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;IAEzE,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,CA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AAC,MAAM,CAAC,CAAC;gBACjC,OAAO,MAAM,CAAC;YAChB,CAAC;YAAC,OAAO,GAAG,EAAE,CAAC;gBACb,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;gBAC5B,MAAM,GAAG,CAAC;YACZ,CAAC;QACH,CAAC;QACD,kBAAkB,EAAE,CAAC,KAAsC,EAAE,EAAE;YAC7D,MAAM,IAAI,GAAG,CAAC,KAAK,EAAE,EAAE,CAA0C,CAAC;YAClE,OAAO,qCAAqC,CAAC;gBAC3C,GAAG,IAAI,EAAE,CAAC,CAAC,CAAC;gBACZ,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;aACjB,CAAC,CAAC;QACL,CAAC;QACD,mBAAmB,EAAE,CAAC,EAAE,IAAI,EAAyC,EAAE,EAAE;YACvE,MAAM,eAAe,GAAG,uCAAuC,CAAC,IAAI,CAAC,CAAC;YAEtE,OAAO;gBACL,KAAK,EAAE,eAAe,EAAE,UAAU;gBAClC,cAAc,EAAE,eAAe,EAAE,cAAc;aAChD,CAAC;QACJ,CAAC;QACD,gBAAgB,EAAE,CAAC,GAAY,EAAE,EAAE;YACjC,MAAM,gBAAgB,GAAG,iBAAiB,CAAC,GAAG,EAAE;gBAC9C,sBAAsB,EAAE,EAAE;gBAC1B,wBAAwB,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;gBAC3C,uBAAuB,EAAE,KAAK;aAC/B,CAAC,CAAC;YAEH,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,EAAE;KACxB,CAAC,CAAC;AACL,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_ecom_tax-regions",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "publishConfig": {
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.21"
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.billing.v1.tax_region"
49
49
  }
50
50
  },
51
- "falconPackageHash": "78d997735f9913b36df9588adc64699f70aff45c01793864c2cfe7f2"
51
+ "falconPackageHash": "0359a81bb13ea74d092d933acfe764fe7ba54d9f19d648aeb4bfb25b"
52
52
  }