@wix/auto_sdk_app-management_app-permissions 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.
Files changed (17) hide show
  1. package/build/cjs/src/devcenter-apps-v1-app-permission-app-permissions.types.d.ts +9 -17
  2. package/build/cjs/src/devcenter-apps-v1-app-permission-app-permissions.types.js.map +1 -1
  3. package/build/cjs/src/devcenter-apps-v1-app-permission-app-permissions.universal.d.ts +17 -33
  4. package/build/cjs/src/devcenter-apps-v1-app-permission-app-permissions.universal.js.map +1 -1
  5. package/build/es/src/devcenter-apps-v1-app-permission-app-permissions.types.d.ts +9 -17
  6. package/build/es/src/devcenter-apps-v1-app-permission-app-permissions.types.js.map +1 -1
  7. package/build/es/src/devcenter-apps-v1-app-permission-app-permissions.universal.d.ts +17 -33
  8. package/build/es/src/devcenter-apps-v1-app-permission-app-permissions.universal.js.map +1 -1
  9. package/build/internal/cjs/src/devcenter-apps-v1-app-permission-app-permissions.types.d.ts +9 -17
  10. package/build/internal/cjs/src/devcenter-apps-v1-app-permission-app-permissions.types.js.map +1 -1
  11. package/build/internal/cjs/src/devcenter-apps-v1-app-permission-app-permissions.universal.d.ts +17 -33
  12. package/build/internal/cjs/src/devcenter-apps-v1-app-permission-app-permissions.universal.js.map +1 -1
  13. package/build/internal/es/src/devcenter-apps-v1-app-permission-app-permissions.types.d.ts +9 -17
  14. package/build/internal/es/src/devcenter-apps-v1-app-permission-app-permissions.types.js.map +1 -1
  15. package/build/internal/es/src/devcenter-apps-v1-app-permission-app-permissions.universal.d.ts +17 -33
  16. package/build/internal/es/src/devcenter-apps-v1-app-permission-app-permissions.universal.js.map +1 -1
  17. package/package.json +3 -3
@@ -158,25 +158,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
158
158
  updatedEvent?: EntityUpdatedEvent;
159
159
  deletedEvent?: EntityDeletedEvent;
160
160
  actionEvent?: ActionEvent;
161
- /**
162
- * Unique event ID.
163
- * Allows clients to ignore duplicate webhooks.
164
- */
161
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
165
162
  id?: string;
166
163
  /**
167
- * Assumes actions are also always typed to an entity_type
168
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
164
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
165
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
169
166
  */
170
167
  entityFqdn?: string;
171
168
  /**
172
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
173
- * This is although the created/updated/deleted notion is duplication of the oneof types
174
- * Example: created/updated/deleted/started/completed/email_opened
169
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
170
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
175
171
  */
176
172
  slug?: string;
177
173
  /** ID of the entity associated with the event. */
178
174
  entityId?: string;
179
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
175
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
180
176
  eventTime?: Date | null;
181
177
  /**
182
178
  * Whether the event was triggered as a result of a privacy regulation application
@@ -186,12 +182,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
186
182
  /** If present, indicates the action that triggered the event. */
187
183
  originatedFrom?: string | null;
188
184
  /**
189
- * A sequence number defining the order of updates to the underlying entity.
190
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
191
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
192
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
193
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
194
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
185
+ * 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.
186
+ * 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.
195
187
  */
196
188
  entityEventSequence?: string | null;
197
189
  }
@@ -219,7 +211,7 @@ export interface EntityUpdatedEvent {
219
211
  currentEntityAsJson?: string;
220
212
  }
221
213
  export interface EntityDeletedEvent {
222
- /** Entity that was deleted */
214
+ /** Entity that was deleted. */
223
215
  deletedEntityAsJson?: string | null;
224
216
  }
225
217
  export interface ActionEvent {
@@ -1 +1 @@
1
- {"version":3,"file":"devcenter-apps-v1-app-permission-app-permissions.types.js","sourceRoot":"","sources":["../../../src/devcenter-apps-v1-app-permission-app-permissions.types.ts"],"names":[],"mappings":";;;AAqKA,IAAY,UAEX;AAFD,WAAY,UAAU;IACpB,+DAAiD,CAAA;AACnD,CAAC,EAFW,UAAU,0BAAV,UAAU,QAErB;AA8FD,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;AACrB,CAAC,EAJW,MAAM,sBAAN,MAAM,QAIjB;AAoED,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":"devcenter-apps-v1-app-permission-app-permissions.types.js","sourceRoot":"","sources":["../../../src/devcenter-apps-v1-app-permission-app-permissions.types.ts"],"names":[],"mappings":";;;AAqKA,IAAY,UAEX;AAFD,WAAY,UAAU;IACpB,+DAAiD,CAAA;AACnD,CAAC,EAFW,UAAU,0BAAV,UAAU,QAErB;AAsFD,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;AACrB,CAAC,EAJW,MAAM,sBAAN,MAAM,QAIjB;AAoED,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"}
@@ -159,25 +159,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
159
159
  updatedEvent?: EntityUpdatedEvent;
160
160
  deletedEvent?: EntityDeletedEvent;
161
161
  actionEvent?: ActionEvent;
162
- /**
163
- * Unique event ID.
164
- * Allows clients to ignore duplicate webhooks.
165
- */
162
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
166
163
  _id?: string;
167
164
  /**
168
- * Assumes actions are also always typed to an entity_type
169
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
165
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
166
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
170
167
  */
171
168
  entityFqdn?: string;
172
169
  /**
173
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
174
- * This is although the created/updated/deleted notion is duplication of the oneof types
175
- * Example: created/updated/deleted/started/completed/email_opened
170
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
171
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
176
172
  */
177
173
  slug?: string;
178
174
  /** ID of the entity associated with the event. */
179
175
  entityId?: string;
180
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
176
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
181
177
  eventTime?: Date | null;
182
178
  /**
183
179
  * Whether the event was triggered as a result of a privacy regulation application
@@ -187,12 +183,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
187
183
  /** If present, indicates the action that triggered the event. */
188
184
  originatedFrom?: string | null;
189
185
  /**
190
- * A sequence number defining the order of updates to the underlying entity.
191
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
192
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
193
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
194
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
195
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
186
+ * 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.
187
+ * 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.
196
188
  */
197
189
  entityEventSequence?: string | null;
198
190
  }
@@ -218,7 +210,7 @@ export interface EntityUpdatedEvent {
218
210
  currentEntity?: string;
219
211
  }
220
212
  export interface EntityDeletedEvent {
221
- /** Entity that was deleted */
213
+ /** Entity that was deleted. */
222
214
  deletedEntity?: string | null;
223
215
  }
224
216
  export interface ActionEvent {
@@ -325,25 +317,21 @@ export interface BaseEventMetadata {
325
317
  identity?: IdentificationData;
326
318
  }
327
319
  export interface EventMetadata extends BaseEventMetadata {
328
- /**
329
- * Unique event ID.
330
- * Allows clients to ignore duplicate webhooks.
331
- */
320
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
332
321
  _id?: string;
333
322
  /**
334
- * Assumes actions are also always typed to an entity_type
335
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
323
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
324
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
336
325
  */
337
326
  entityFqdn?: string;
338
327
  /**
339
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
340
- * This is although the created/updated/deleted notion is duplication of the oneof types
341
- * Example: created/updated/deleted/started/completed/email_opened
328
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
329
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
342
330
  */
343
331
  slug?: string;
344
332
  /** ID of the entity associated with the event. */
345
333
  entityId?: string;
346
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
334
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
347
335
  eventTime?: Date | null;
348
336
  /**
349
337
  * Whether the event was triggered as a result of a privacy regulation application
@@ -353,12 +341,8 @@ export interface EventMetadata extends BaseEventMetadata {
353
341
  /** If present, indicates the action that triggered the event. */
354
342
  originatedFrom?: string | null;
355
343
  /**
356
- * A sequence number defining the order of updates to the underlying entity.
357
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
358
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
359
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
360
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
361
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
344
+ * 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.
345
+ * 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.
362
346
  */
363
347
  entityEventSequence?: string | null;
364
348
  }
@@ -1 +1 @@
1
- {"version":3,"file":"devcenter-apps-v1-app-permission-app-permissions.universal.js","sourceRoot":"","sources":["../../../src/devcenter-apps-v1-app-permission-app-permissions.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,sIAAwH;AAuKxH,IAAY,UAEX;AAFD,WAAY,UAAU;IACpB,+DAAiD,CAAA;AACnD,CAAC,EAFW,UAAU,0BAAV,UAAU,QAErB;AA4FD,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,6BAAmB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AC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC;QACpD,KAAK,EAAE,KAAK;QACZ,YAAY,EAAE,YAAY;KAC3B,CAAC,CAAC;IAEH,MAAM,OAAO,GACX,yCAAyC,CAAC,mBAAmB,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;IACnC,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE;YACjE,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,OAAO,EAAE,cAAc,CAAC,CAC1B,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AApCD,kDAoCC"}
1
+ {"version":3,"file":"devcenter-apps-v1-app-permission-app-permissions.universal.js","sourceRoot":"","sources":["../../../src/devcenter-apps-v1-app-permission-app-permissions.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,sIAAwH;AAuKxH,IAAY,UAEX;AAFD,WAAY,UAAU;IACpB,+DAAiD,CAAA;AACnD,CAAC,EAFW,UAAU,0BAAV,UAAU,QAErB;AAoFD,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;AACrB,CAAC,EAJW,MAAM,sBAAN,MAAM,QAIjB;AA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Y,EAAE,YAAY;KAC3B,CAAC,CAAC;IAEH,MAAM,OAAO,GACX,yCAAyC,CAAC,mBAAmB,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;IACnC,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE;YACjE,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,OAAO,EAAE,cAAc,CAAC,CAC1B,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AApCD,kDAoCC"}
@@ -158,25 +158,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
158
158
  updatedEvent?: EntityUpdatedEvent;
159
159
  deletedEvent?: EntityDeletedEvent;
160
160
  actionEvent?: ActionEvent;
161
- /**
162
- * Unique event ID.
163
- * Allows clients to ignore duplicate webhooks.
164
- */
161
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
165
162
  id?: string;
166
163
  /**
167
- * Assumes actions are also always typed to an entity_type
168
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
164
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
165
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
169
166
  */
170
167
  entityFqdn?: string;
171
168
  /**
172
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
173
- * This is although the created/updated/deleted notion is duplication of the oneof types
174
- * Example: created/updated/deleted/started/completed/email_opened
169
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
170
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
175
171
  */
176
172
  slug?: string;
177
173
  /** ID of the entity associated with the event. */
178
174
  entityId?: string;
179
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
175
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
180
176
  eventTime?: Date | null;
181
177
  /**
182
178
  * Whether the event was triggered as a result of a privacy regulation application
@@ -186,12 +182,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
186
182
  /** If present, indicates the action that triggered the event. */
187
183
  originatedFrom?: string | null;
188
184
  /**
189
- * A sequence number defining the order of updates to the underlying entity.
190
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
191
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
192
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
193
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
194
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
185
+ * 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.
186
+ * 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.
195
187
  */
196
188
  entityEventSequence?: string | null;
197
189
  }
@@ -219,7 +211,7 @@ export interface EntityUpdatedEvent {
219
211
  currentEntityAsJson?: string;
220
212
  }
221
213
  export interface EntityDeletedEvent {
222
- /** Entity that was deleted */
214
+ /** Entity that was deleted. */
223
215
  deletedEntityAsJson?: string | null;
224
216
  }
225
217
  export interface ActionEvent {
@@ -1 +1 @@
1
- {"version":3,"file":"devcenter-apps-v1-app-permission-app-permissions.types.js","sourceRoot":"","sources":["../../../src/devcenter-apps-v1-app-permission-app-permissions.types.ts"],"names":[],"mappings":"AAqKA,MAAM,CAAN,IAAY,UAEX;AAFD,WAAY,UAAU;IACpB,+DAAiD,CAAA;AACnD,CAAC,EAFW,UAAU,KAAV,UAAU,QAErB;AA8FD,MAAM,CAAN,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;AACrB,CAAC,EAJW,MAAM,KAAN,MAAM,QAIjB;AAoED,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":"devcenter-apps-v1-app-permission-app-permissions.types.js","sourceRoot":"","sources":["../../../src/devcenter-apps-v1-app-permission-app-permissions.types.ts"],"names":[],"mappings":"AAqKA,MAAM,CAAN,IAAY,UAEX;AAFD,WAAY,UAAU;IACpB,+DAAiD,CAAA;AACnD,CAAC,EAFW,UAAU,KAAV,UAAU,QAErB;AAsFD,MAAM,CAAN,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;AACrB,CAAC,EAJW,MAAM,KAAN,MAAM,QAIjB;AAoED,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"}
@@ -159,25 +159,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
159
159
  updatedEvent?: EntityUpdatedEvent;
160
160
  deletedEvent?: EntityDeletedEvent;
161
161
  actionEvent?: ActionEvent;
162
- /**
163
- * Unique event ID.
164
- * Allows clients to ignore duplicate webhooks.
165
- */
162
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
166
163
  _id?: string;
167
164
  /**
168
- * Assumes actions are also always typed to an entity_type
169
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
165
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
166
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
170
167
  */
171
168
  entityFqdn?: string;
172
169
  /**
173
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
174
- * This is although the created/updated/deleted notion is duplication of the oneof types
175
- * Example: created/updated/deleted/started/completed/email_opened
170
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
171
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
176
172
  */
177
173
  slug?: string;
178
174
  /** ID of the entity associated with the event. */
179
175
  entityId?: string;
180
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
176
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
181
177
  eventTime?: Date | null;
182
178
  /**
183
179
  * Whether the event was triggered as a result of a privacy regulation application
@@ -187,12 +183,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
187
183
  /** If present, indicates the action that triggered the event. */
188
184
  originatedFrom?: string | null;
189
185
  /**
190
- * A sequence number defining the order of updates to the underlying entity.
191
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
192
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
193
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
194
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
195
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
186
+ * 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.
187
+ * 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.
196
188
  */
197
189
  entityEventSequence?: string | null;
198
190
  }
@@ -218,7 +210,7 @@ export interface EntityUpdatedEvent {
218
210
  currentEntity?: string;
219
211
  }
220
212
  export interface EntityDeletedEvent {
221
- /** Entity that was deleted */
213
+ /** Entity that was deleted. */
222
214
  deletedEntity?: string | null;
223
215
  }
224
216
  export interface ActionEvent {
@@ -325,25 +317,21 @@ export interface BaseEventMetadata {
325
317
  identity?: IdentificationData;
326
318
  }
327
319
  export interface EventMetadata extends BaseEventMetadata {
328
- /**
329
- * Unique event ID.
330
- * Allows clients to ignore duplicate webhooks.
331
- */
320
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
332
321
  _id?: string;
333
322
  /**
334
- * Assumes actions are also always typed to an entity_type
335
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
323
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
324
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
336
325
  */
337
326
  entityFqdn?: string;
338
327
  /**
339
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
340
- * This is although the created/updated/deleted notion is duplication of the oneof types
341
- * Example: created/updated/deleted/started/completed/email_opened
328
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
329
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
342
330
  */
343
331
  slug?: string;
344
332
  /** ID of the entity associated with the event. */
345
333
  entityId?: string;
346
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
334
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
347
335
  eventTime?: Date | null;
348
336
  /**
349
337
  * Whether the event was triggered as a result of a privacy regulation application
@@ -353,12 +341,8 @@ export interface EventMetadata extends BaseEventMetadata {
353
341
  /** If present, indicates the action that triggered the event. */
354
342
  originatedFrom?: string | null;
355
343
  /**
356
- * A sequence number defining the order of updates to the underlying entity.
357
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
358
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
359
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
360
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
361
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
344
+ * 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.
345
+ * 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.
362
346
  */
363
347
  entityEventSequence?: string | null;
364
348
  }
@@ -1 +1 @@
1
- {"version":3,"file":"devcenter-apps-v1-app-permission-app-permissions.universal.js","sourceRoot":"","sources":["../../../src/devcenter-apps-v1-app-permission-app-permissions.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,yCAAyC,MAAM,4DAA4D,CAAC;AAuKxH,MAAM,CAAN,IAAY,UAEX;AAFD,WAAY,UAAU;IACpB,+DAAiD,CAAA;AACnD,CAAC,EAFW,UAAU,KAAV,UAAU,QAErB;AA4FD,MAAM,CAAN,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;AACrB,CAAC,EAJW,MAAM,KAAN,MAAM,QAIjB;AAoED,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IAC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AE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;IACnC,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE;YACjE,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,OAAO,EAAE,cAAc,CAAC,CAC1B,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"devcenter-apps-v1-app-permission-app-permissions.universal.js","sourceRoot":"","sources":["../../../src/devcenter-apps-v1-app-permission-app-permissions.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,yCAAyC,MAAM,4DAA4D,CAAC;AAuKxH,MAAM,CAAN,IAAY,UAEX;AAFD,WAAY,UAAU;IACpB,+DAAiD,CAAA;AACnD,CAAC,EAFW,UAAU,KAAV,UAAU,QAErB;AAoFD,MAAM,CAAN,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;AACrB,CAAC,EAJW,MAAM,KAAN,MAAM,QAIjB;AAoED,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAA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EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;IACnC,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE;YACjE,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,OAAO,EAAE,cAAc,CAAC,CAC1B,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
@@ -158,25 +158,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
158
158
  updatedEvent?: EntityUpdatedEvent;
159
159
  deletedEvent?: EntityDeletedEvent;
160
160
  actionEvent?: ActionEvent;
161
- /**
162
- * Unique event ID.
163
- * Allows clients to ignore duplicate webhooks.
164
- */
161
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
165
162
  id?: string;
166
163
  /**
167
- * Assumes actions are also always typed to an entity_type
168
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
164
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
165
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
169
166
  */
170
167
  entityFqdn?: string;
171
168
  /**
172
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
173
- * This is although the created/updated/deleted notion is duplication of the oneof types
174
- * Example: created/updated/deleted/started/completed/email_opened
169
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
170
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
175
171
  */
176
172
  slug?: string;
177
173
  /** ID of the entity associated with the event. */
178
174
  entityId?: string;
179
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
175
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
180
176
  eventTime?: Date | null;
181
177
  /**
182
178
  * Whether the event was triggered as a result of a privacy regulation application
@@ -186,12 +182,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
186
182
  /** If present, indicates the action that triggered the event. */
187
183
  originatedFrom?: string | null;
188
184
  /**
189
- * A sequence number defining the order of updates to the underlying entity.
190
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
191
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
192
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
193
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
194
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
185
+ * 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.
186
+ * 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.
195
187
  */
196
188
  entityEventSequence?: string | null;
197
189
  }
@@ -219,7 +211,7 @@ export interface EntityUpdatedEvent {
219
211
  currentEntityAsJson?: string;
220
212
  }
221
213
  export interface EntityDeletedEvent {
222
- /** Entity that was deleted */
214
+ /** Entity that was deleted. */
223
215
  deletedEntityAsJson?: string | null;
224
216
  }
225
217
  export interface ActionEvent {
@@ -1 +1 @@
1
- {"version":3,"file":"devcenter-apps-v1-app-permission-app-permissions.types.js","sourceRoot":"","sources":["../../../../src/devcenter-apps-v1-app-permission-app-permissions.types.ts"],"names":[],"mappings":";;;AAqKA,IAAY,UAEX;AAFD,WAAY,UAAU;IACpB,+DAAiD,CAAA;AACnD,CAAC,EAFW,UAAU,0BAAV,UAAU,QAErB;AA8FD,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;AACrB,CAAC,EAJW,MAAM,sBAAN,MAAM,QAIjB;AAoED,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":"devcenter-apps-v1-app-permission-app-permissions.types.js","sourceRoot":"","sources":["../../../../src/devcenter-apps-v1-app-permission-app-permissions.types.ts"],"names":[],"mappings":";;;AAqKA,IAAY,UAEX;AAFD,WAAY,UAAU;IACpB,+DAAiD,CAAA;AACnD,CAAC,EAFW,UAAU,0BAAV,UAAU,QAErB;AAsFD,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;AACrB,CAAC,EAJW,MAAM,sBAAN,MAAM,QAIjB;AAoED,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"}
@@ -159,25 +159,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
159
159
  updatedEvent?: EntityUpdatedEvent;
160
160
  deletedEvent?: EntityDeletedEvent;
161
161
  actionEvent?: ActionEvent;
162
- /**
163
- * Unique event ID.
164
- * Allows clients to ignore duplicate webhooks.
165
- */
162
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
166
163
  _id?: string;
167
164
  /**
168
- * Assumes actions are also always typed to an entity_type
169
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
165
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
166
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
170
167
  */
171
168
  entityFqdn?: string;
172
169
  /**
173
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
174
- * This is although the created/updated/deleted notion is duplication of the oneof types
175
- * Example: created/updated/deleted/started/completed/email_opened
170
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
171
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
176
172
  */
177
173
  slug?: string;
178
174
  /** ID of the entity associated with the event. */
179
175
  entityId?: string;
180
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
176
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
181
177
  eventTime?: Date | null;
182
178
  /**
183
179
  * Whether the event was triggered as a result of a privacy regulation application
@@ -187,12 +183,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
187
183
  /** If present, indicates the action that triggered the event. */
188
184
  originatedFrom?: string | null;
189
185
  /**
190
- * A sequence number defining the order of updates to the underlying entity.
191
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
192
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
193
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
194
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
195
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
186
+ * 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.
187
+ * 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.
196
188
  */
197
189
  entityEventSequence?: string | null;
198
190
  }
@@ -218,7 +210,7 @@ export interface EntityUpdatedEvent {
218
210
  currentEntity?: string;
219
211
  }
220
212
  export interface EntityDeletedEvent {
221
- /** Entity that was deleted */
213
+ /** Entity that was deleted. */
222
214
  deletedEntity?: string | null;
223
215
  }
224
216
  export interface ActionEvent {
@@ -325,25 +317,21 @@ export interface BaseEventMetadata {
325
317
  identity?: IdentificationData;
326
318
  }
327
319
  export interface EventMetadata extends BaseEventMetadata {
328
- /**
329
- * Unique event ID.
330
- * Allows clients to ignore duplicate webhooks.
331
- */
320
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
332
321
  _id?: string;
333
322
  /**
334
- * Assumes actions are also always typed to an entity_type
335
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
323
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
324
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
336
325
  */
337
326
  entityFqdn?: string;
338
327
  /**
339
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
340
- * This is although the created/updated/deleted notion is duplication of the oneof types
341
- * Example: created/updated/deleted/started/completed/email_opened
328
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
329
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
342
330
  */
343
331
  slug?: string;
344
332
  /** ID of the entity associated with the event. */
345
333
  entityId?: string;
346
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
334
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
347
335
  eventTime?: Date | null;
348
336
  /**
349
337
  * Whether the event was triggered as a result of a privacy regulation application
@@ -353,12 +341,8 @@ export interface EventMetadata extends BaseEventMetadata {
353
341
  /** If present, indicates the action that triggered the event. */
354
342
  originatedFrom?: string | null;
355
343
  /**
356
- * A sequence number defining the order of updates to the underlying entity.
357
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
358
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
359
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
360
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
361
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
344
+ * 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.
345
+ * 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.
362
346
  */
363
347
  entityEventSequence?: string | null;
364
348
  }
@@ -1 +1 @@
1
- {"version":3,"file":"devcenter-apps-v1-app-permission-app-permissions.universal.js","sourceRoot":"","sources":["../../../../src/devcenter-apps-v1-app-permission-app-permissions.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,sIAAwH;AAuKxH,IAAY,UAEX;AAFD,WAAY,UAAU;IACpB,+DAAiD,CAAA;AACnD,CAAC,EAFW,UAAU,0BAAV,UAAU,QAErB;AA4FD,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;AACrB,CAAC,EAJW,MAAM,sBAAN,MAAM,QAIjB;AAoED,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;AA2FD;;;;;;;;;;;;;;;;;GAiBG;AACI,KAAK,UAAU,mBAAmB,CACvC,aAGC;IAED,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC;QACpD,aAAa,EAAE,aAAa;KAC7B,CAAC,CA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B,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE;YACjE,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,OAAO,EAAE,cAAc,CAAC,CAC1B,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AApCD,kDAoCC"}
1
+ {"version":3,"file":"devcenter-apps-v1-app-permission-app-permissions.universal.js","sourceRoot":"","sources":["../../../../src/devcenter-apps-v1-app-permission-app-permissions.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,sIAAwH;AAuKxH,IAAY,UAEX;AAFD,WAAY,UAAU;IACpB,+DAAiD,CAAA;AACnD,CAAC,EAFW,UAAU,0BAAV,UAAU,QAErB;AAoFD,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;AACrB,CAAC,EAJW,MAAM,sBAAN,MAAM,QAIjB;AAoED,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;AAmFD;;;;;;;;;;;;;;;;;GAiBG;AACI,KAAK,UAAU,mBAAmB,CACvC,aAGC;IAED,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC;QACpD,aAAa,EAAE,aAAa;KAC7B,CAAC,CAAC;IAEH,MAAM,OAAO,GACX,yCAAyC,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;IAEzE,WAAW,EAAE,U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B,EACD,CAAC,OAAO,EAAE,cAAc,CAAC,CAC1B,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AApCD,kDAoCC"}
@@ -158,25 +158,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
158
158
  updatedEvent?: EntityUpdatedEvent;
159
159
  deletedEvent?: EntityDeletedEvent;
160
160
  actionEvent?: ActionEvent;
161
- /**
162
- * Unique event ID.
163
- * Allows clients to ignore duplicate webhooks.
164
- */
161
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
165
162
  id?: string;
166
163
  /**
167
- * Assumes actions are also always typed to an entity_type
168
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
164
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
165
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
169
166
  */
170
167
  entityFqdn?: string;
171
168
  /**
172
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
173
- * This is although the created/updated/deleted notion is duplication of the oneof types
174
- * Example: created/updated/deleted/started/completed/email_opened
169
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
170
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
175
171
  */
176
172
  slug?: string;
177
173
  /** ID of the entity associated with the event. */
178
174
  entityId?: string;
179
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
175
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
180
176
  eventTime?: Date | null;
181
177
  /**
182
178
  * Whether the event was triggered as a result of a privacy regulation application
@@ -186,12 +182,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
186
182
  /** If present, indicates the action that triggered the event. */
187
183
  originatedFrom?: string | null;
188
184
  /**
189
- * A sequence number defining the order of updates to the underlying entity.
190
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
191
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
192
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
193
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
194
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
185
+ * 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.
186
+ * 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.
195
187
  */
196
188
  entityEventSequence?: string | null;
197
189
  }
@@ -219,7 +211,7 @@ export interface EntityUpdatedEvent {
219
211
  currentEntityAsJson?: string;
220
212
  }
221
213
  export interface EntityDeletedEvent {
222
- /** Entity that was deleted */
214
+ /** Entity that was deleted. */
223
215
  deletedEntityAsJson?: string | null;
224
216
  }
225
217
  export interface ActionEvent {
@@ -1 +1 @@
1
- {"version":3,"file":"devcenter-apps-v1-app-permission-app-permissions.types.js","sourceRoot":"","sources":["../../../../src/devcenter-apps-v1-app-permission-app-permissions.types.ts"],"names":[],"mappings":"AAqKA,MAAM,CAAN,IAAY,UAEX;AAFD,WAAY,UAAU;IACpB,+DAAiD,CAAA;AACnD,CAAC,EAFW,UAAU,KAAV,UAAU,QAErB;AA8FD,MAAM,CAAN,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;AACrB,CAAC,EAJW,MAAM,KAAN,MAAM,QAIjB;AAoED,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":"devcenter-apps-v1-app-permission-app-permissions.types.js","sourceRoot":"","sources":["../../../../src/devcenter-apps-v1-app-permission-app-permissions.types.ts"],"names":[],"mappings":"AAqKA,MAAM,CAAN,IAAY,UAEX;AAFD,WAAY,UAAU;IACpB,+DAAiD,CAAA;AACnD,CAAC,EAFW,UAAU,KAAV,UAAU,QAErB;AAsFD,MAAM,CAAN,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;AACrB,CAAC,EAJW,MAAM,KAAN,MAAM,QAIjB;AAoED,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"}
@@ -159,25 +159,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
159
159
  updatedEvent?: EntityUpdatedEvent;
160
160
  deletedEvent?: EntityDeletedEvent;
161
161
  actionEvent?: ActionEvent;
162
- /**
163
- * Unique event ID.
164
- * Allows clients to ignore duplicate webhooks.
165
- */
162
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
166
163
  _id?: string;
167
164
  /**
168
- * Assumes actions are also always typed to an entity_type
169
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
165
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
166
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
170
167
  */
171
168
  entityFqdn?: string;
172
169
  /**
173
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
174
- * This is although the created/updated/deleted notion is duplication of the oneof types
175
- * Example: created/updated/deleted/started/completed/email_opened
170
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
171
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
176
172
  */
177
173
  slug?: string;
178
174
  /** ID of the entity associated with the event. */
179
175
  entityId?: string;
180
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
176
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
181
177
  eventTime?: Date | null;
182
178
  /**
183
179
  * Whether the event was triggered as a result of a privacy regulation application
@@ -187,12 +183,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
187
183
  /** If present, indicates the action that triggered the event. */
188
184
  originatedFrom?: string | null;
189
185
  /**
190
- * A sequence number defining the order of updates to the underlying entity.
191
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
192
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
193
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
194
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
195
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
186
+ * 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.
187
+ * 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.
196
188
  */
197
189
  entityEventSequence?: string | null;
198
190
  }
@@ -218,7 +210,7 @@ export interface EntityUpdatedEvent {
218
210
  currentEntity?: string;
219
211
  }
220
212
  export interface EntityDeletedEvent {
221
- /** Entity that was deleted */
213
+ /** Entity that was deleted. */
222
214
  deletedEntity?: string | null;
223
215
  }
224
216
  export interface ActionEvent {
@@ -325,25 +317,21 @@ export interface BaseEventMetadata {
325
317
  identity?: IdentificationData;
326
318
  }
327
319
  export interface EventMetadata extends BaseEventMetadata {
328
- /**
329
- * Unique event ID.
330
- * Allows clients to ignore duplicate webhooks.
331
- */
320
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
332
321
  _id?: string;
333
322
  /**
334
- * Assumes actions are also always typed to an entity_type
335
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
323
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
324
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
336
325
  */
337
326
  entityFqdn?: string;
338
327
  /**
339
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
340
- * This is although the created/updated/deleted notion is duplication of the oneof types
341
- * Example: created/updated/deleted/started/completed/email_opened
328
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
329
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
342
330
  */
343
331
  slug?: string;
344
332
  /** ID of the entity associated with the event. */
345
333
  entityId?: string;
346
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
334
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
347
335
  eventTime?: Date | null;
348
336
  /**
349
337
  * Whether the event was triggered as a result of a privacy regulation application
@@ -353,12 +341,8 @@ export interface EventMetadata extends BaseEventMetadata {
353
341
  /** If present, indicates the action that triggered the event. */
354
342
  originatedFrom?: string | null;
355
343
  /**
356
- * A sequence number defining the order of updates to the underlying entity.
357
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
358
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
359
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
360
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
361
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
344
+ * 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.
345
+ * 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.
362
346
  */
363
347
  entityEventSequence?: string | null;
364
348
  }
@@ -1 +1 @@
1
- {"version":3,"file":"devcenter-apps-v1-app-permission-app-permissions.universal.js","sourceRoot":"","sources":["../../../../src/devcenter-apps-v1-app-permission-app-permissions.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,yCAAyC,MAAM,4DAA4D,CAAC;AAuKxH,MAAM,CAAN,IAAY,UAEX;AAFD,WAAY,UAAU;IACpB,+DAAiD,CAAA;AACnD,CAAC,EAFW,UAAU,KAAV,UAAU,QAErB;AA4FD,MAAM,CAAN,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;AACrB,CAAC,EAJW,MAAM,KAAN,MAAM,QAIjB;AAoED,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;AA2FD;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,CAAC,KAAK,UAAU,mBAAmB,CACvC,aAGC;IAED,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,qCAAqC,CAAC;QACpD,aAAa,EAAE,aAAa;KAC7B,CAAC,CAAC;IAEH,MAAM,OAAO,GACX,yCAAyC,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;IAEzE,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,U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gB,CAAC;IACzB,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"devcenter-apps-v1-app-permission-app-permissions.universal.js","sourceRoot":"","sources":["../../../../src/devcenter-apps-v1-app-permission-app-permissions.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,yCAAyC,MAAM,4DAA4D,CAAC;AAuKxH,MAAM,CAAN,IAAY,UAEX;AAFD,WAAY,UAAU;IACpB,+DAAiD,CAAA;AACnD,CAAC,EAFW,UAAU,KAAV,UAAU,QAErB;AAoFD,MAAM,CAAN,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;AACrB,CAAC,EAJW,MAAM,KAAN,MAAM,QAIjB;AAoED,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;AAmFD;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,CAAC,KAAK,UAAU,mBAAmB,CACvC,aAGC;IAED,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,qCAAqC,CAAC;QACpD,aAAa,EAAE,aAAa;KAC7B,CAAC,CAAC;IAEH,MAAM,OAAO,GACX,yCAAyC,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;IAEzE,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAA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,CAAC;AACH,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_app-management_app-permissions",
3
- "version": "1.0.13",
3
+ "version": "1.0.15",
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.devcenter.apps.v1.app_permission"
49
49
  }
50
50
  },
51
- "falconPackageHash": "b33af623c5b4f0d401f0c07a3ef2363dfebf9313c11ce5a6affb9cb6"
51
+ "falconPackageHash": "a759809d9ad13731bdc84aebbf26fd7972e0651340ed62fcd42770ca"
52
52
  }