@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.
- package/build/cjs/src/devcenter-apps-v1-app-permission-app-permissions.types.d.ts +9 -17
- package/build/cjs/src/devcenter-apps-v1-app-permission-app-permissions.types.js.map +1 -1
- package/build/cjs/src/devcenter-apps-v1-app-permission-app-permissions.universal.d.ts +17 -33
- package/build/cjs/src/devcenter-apps-v1-app-permission-app-permissions.universal.js.map +1 -1
- package/build/es/src/devcenter-apps-v1-app-permission-app-permissions.types.d.ts +9 -17
- package/build/es/src/devcenter-apps-v1-app-permission-app-permissions.types.js.map +1 -1
- package/build/es/src/devcenter-apps-v1-app-permission-app-permissions.universal.d.ts +17 -33
- package/build/es/src/devcenter-apps-v1-app-permission-app-permissions.universal.js.map +1 -1
- package/build/internal/cjs/src/devcenter-apps-v1-app-permission-app-permissions.types.d.ts +9 -17
- package/build/internal/cjs/src/devcenter-apps-v1-app-permission-app-permissions.types.js.map +1 -1
- package/build/internal/cjs/src/devcenter-apps-v1-app-permission-app-permissions.universal.d.ts +17 -33
- package/build/internal/cjs/src/devcenter-apps-v1-app-permission-app-permissions.universal.js.map +1 -1
- package/build/internal/es/src/devcenter-apps-v1-app-permission-app-permissions.types.d.ts +9 -17
- package/build/internal/es/src/devcenter-apps-v1-app-permission-app-permissions.types.js.map +1 -1
- package/build/internal/es/src/devcenter-apps-v1-app-permission-app-permissions.universal.d.ts +17 -33
- package/build/internal/es/src/devcenter-apps-v1-app-permission-app-permissions.universal.js.map +1 -1
- 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
|
-
*
|
|
168
|
-
*
|
|
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
|
-
*
|
|
173
|
-
*
|
|
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
|
|
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
|
|
190
|
-
*
|
|
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;
|
|
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
|
-
*
|
|
169
|
-
*
|
|
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
|
-
*
|
|
174
|
-
*
|
|
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
|
|
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
|
|
191
|
-
*
|
|
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
|
-
*
|
|
335
|
-
*
|
|
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
|
-
*
|
|
340
|
-
*
|
|
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
|
|
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
|
|
357
|
-
*
|
|
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;
|
|
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,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAA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B,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
|
-
*
|
|
168
|
-
*
|
|
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
|
-
*
|
|
173
|
-
*
|
|
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
|
|
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
|
|
190
|
-
*
|
|
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;
|
|
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
|
-
*
|
|
169
|
-
*
|
|
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
|
-
*
|
|
174
|
-
*
|
|
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
|
|
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
|
|
191
|
-
*
|
|
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
|
-
*
|
|
335
|
-
*
|
|
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
|
-
*
|
|
340
|
-
*
|
|
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
|
|
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
|
|
357
|
-
*
|
|
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;
|
|
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,wCA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U,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"}
|
|
@@ -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
|
-
*
|
|
168
|
-
*
|
|
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
|
-
*
|
|
173
|
-
*
|
|
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
|
|
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
|
|
190
|
-
*
|
|
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 {
|
package/build/internal/cjs/src/devcenter-apps-v1-app-permission-app-permissions.types.js.map
CHANGED
|
@@ -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;
|
|
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"}
|
package/build/internal/cjs/src/devcenter-apps-v1-app-permission-app-permissions.universal.d.ts
CHANGED
|
@@ -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
|
-
*
|
|
169
|
-
*
|
|
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
|
-
*
|
|
174
|
-
*
|
|
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
|
|
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
|
|
191
|
-
*
|
|
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
|
-
*
|
|
335
|
-
*
|
|
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
|
-
*
|
|
340
|
-
*
|
|
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
|
|
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
|
|
357
|
-
*
|
|
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
|
}
|
package/build/internal/cjs/src/devcenter-apps-v1-app-permission-app-permissions.universal.js.map
CHANGED
|
@@ -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;
|
|
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":";;;;;;;;;;;;;;;;;;;;;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CAAC;IACzB,CAAC;AACH,CAAC;AAlDD,gDAkDC;AAaD;;;;;;;;;;;;;;;;;;;GAmBG;AACI,KAAK,UAAU,mBAAmB,CACvC,KAAa,EACb,YAAoB;IAEpB,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,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"}
|
|
@@ -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
|
-
*
|
|
168
|
-
*
|
|
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
|
-
*
|
|
173
|
-
*
|
|
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
|
|
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
|
|
190
|
-
*
|
|
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;
|
|
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"}
|
package/build/internal/es/src/devcenter-apps-v1-app-permission-app-permissions.universal.d.ts
CHANGED
|
@@ -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
|
-
*
|
|
169
|
-
*
|
|
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
|
-
*
|
|
174
|
-
*
|
|
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
|
|
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
|
|
191
|
-
*
|
|
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
|
-
*
|
|
335
|
-
*
|
|
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
|
-
*
|
|
340
|
-
*
|
|
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
|
|
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
|
|
357
|
-
*
|
|
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
|
}
|
package/build/internal/es/src/devcenter-apps-v1-app-permission-app-permissions.universal.js.map
CHANGED
|
@@ -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;
|
|
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,C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,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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_app-management_app-permissions",
|
|
3
|
-
"version": "1.0.
|
|
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.
|
|
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": "
|
|
51
|
+
"falconPackageHash": "a759809d9ad13731bdc84aebbf26fd7972e0651340ed62fcd42770ca"
|
|
52
52
|
}
|