@wix/auto_sdk_app-management_app-permissions 1.0.14 → 1.0.16
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 +18 -20
- 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 +26 -36
- 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 +18 -20
- 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 +26 -36
- 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 +18 -20
- 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 +26 -36
- 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 +18 -20
- 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 +26 -36
- package/build/internal/es/src/devcenter-apps-v1-app-permission-app-permissions.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -148,35 +148,33 @@ export interface PermissionActionDomainEventEntity {
|
|
|
148
148
|
/** The permission that had an event */
|
|
149
149
|
appPermission?: AppPermission;
|
|
150
150
|
/** The action which happened */
|
|
151
|
-
actionType?:
|
|
151
|
+
actionType?: ActionTypeWithLiterals;
|
|
152
152
|
}
|
|
153
153
|
export declare enum ActionType {
|
|
154
154
|
APP_PERMISSION_DELETED = "APP_PERMISSION_DELETED"
|
|
155
155
|
}
|
|
156
|
+
/** @enumType */
|
|
157
|
+
export type ActionTypeWithLiterals = ActionType | 'APP_PERMISSION_DELETED';
|
|
156
158
|
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
157
159
|
createdEvent?: EntityCreatedEvent;
|
|
158
160
|
updatedEvent?: EntityUpdatedEvent;
|
|
159
161
|
deletedEvent?: EntityDeletedEvent;
|
|
160
162
|
actionEvent?: ActionEvent;
|
|
161
|
-
/**
|
|
162
|
-
* Unique event ID.
|
|
163
|
-
* Allows clients to ignore duplicate webhooks.
|
|
164
|
-
*/
|
|
163
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
165
164
|
id?: string;
|
|
166
165
|
/**
|
|
167
|
-
*
|
|
168
|
-
*
|
|
166
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
167
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
169
168
|
*/
|
|
170
169
|
entityFqdn?: string;
|
|
171
170
|
/**
|
|
172
|
-
*
|
|
173
|
-
*
|
|
174
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
171
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
172
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
175
173
|
*/
|
|
176
174
|
slug?: string;
|
|
177
175
|
/** ID of the entity associated with the event. */
|
|
178
176
|
entityId?: string;
|
|
179
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
177
|
+
/** 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
178
|
eventTime?: Date | null;
|
|
181
179
|
/**
|
|
182
180
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -186,12 +184,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
186
184
|
/** If present, indicates the action that triggered the event. */
|
|
187
185
|
originatedFrom?: string | null;
|
|
188
186
|
/**
|
|
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.
|
|
187
|
+
* 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.
|
|
188
|
+
* 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
189
|
*/
|
|
196
190
|
entityEventSequence?: string | null;
|
|
197
191
|
}
|
|
@@ -219,7 +213,7 @@ export interface EntityUpdatedEvent {
|
|
|
219
213
|
currentEntityAsJson?: string;
|
|
220
214
|
}
|
|
221
215
|
export interface EntityDeletedEvent {
|
|
222
|
-
/** Entity that was deleted */
|
|
216
|
+
/** Entity that was deleted. */
|
|
223
217
|
deletedEntityAsJson?: string | null;
|
|
224
218
|
}
|
|
225
219
|
export interface ActionEvent {
|
|
@@ -231,7 +225,7 @@ export interface OldPermissionChangedEvent {
|
|
|
231
225
|
/** @format GUID */
|
|
232
226
|
appId?: string;
|
|
233
227
|
permission?: Permission;
|
|
234
|
-
action?:
|
|
228
|
+
action?: ActionWithLiterals;
|
|
235
229
|
}
|
|
236
230
|
export interface Permission {
|
|
237
231
|
permissionId?: string;
|
|
@@ -241,6 +235,8 @@ export declare enum Action {
|
|
|
241
235
|
UPDATED = "UPDATED",
|
|
242
236
|
DELETED = "DELETED"
|
|
243
237
|
}
|
|
238
|
+
/** @enumType */
|
|
239
|
+
export type ActionWithLiterals = Action | 'CREATED' | 'UPDATED' | 'DELETED';
|
|
244
240
|
export interface MessageEnvelope {
|
|
245
241
|
/**
|
|
246
242
|
* App instance ID.
|
|
@@ -279,7 +275,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
279
275
|
*/
|
|
280
276
|
appId?: string;
|
|
281
277
|
/** @readonly */
|
|
282
|
-
identityType?:
|
|
278
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
283
279
|
}
|
|
284
280
|
/** @oneof */
|
|
285
281
|
export interface IdentificationDataIdOneOf {
|
|
@@ -311,3 +307,5 @@ export declare enum WebhookIdentityType {
|
|
|
311
307
|
WIX_USER = "WIX_USER",
|
|
312
308
|
APP = "APP"
|
|
313
309
|
}
|
|
310
|
+
/** @enumType */
|
|
311
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
@@ -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;AAyFD,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;AACrB,CAAC,EAJW,MAAM,sBAAN,MAAM,QAIjB;AAuED,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"}
|
|
@@ -149,35 +149,33 @@ export interface PermissionActionDomainEventEntity {
|
|
|
149
149
|
/** The permission that had an event */
|
|
150
150
|
appPermission?: AppPermission;
|
|
151
151
|
/** The action which happened */
|
|
152
|
-
actionType?:
|
|
152
|
+
actionType?: ActionTypeWithLiterals;
|
|
153
153
|
}
|
|
154
154
|
export declare enum ActionType {
|
|
155
155
|
APP_PERMISSION_DELETED = "APP_PERMISSION_DELETED"
|
|
156
156
|
}
|
|
157
|
+
/** @enumType */
|
|
158
|
+
export type ActionTypeWithLiterals = ActionType | 'APP_PERMISSION_DELETED';
|
|
157
159
|
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
158
160
|
createdEvent?: EntityCreatedEvent;
|
|
159
161
|
updatedEvent?: EntityUpdatedEvent;
|
|
160
162
|
deletedEvent?: EntityDeletedEvent;
|
|
161
163
|
actionEvent?: ActionEvent;
|
|
162
|
-
/**
|
|
163
|
-
* Unique event ID.
|
|
164
|
-
* Allows clients to ignore duplicate webhooks.
|
|
165
|
-
*/
|
|
164
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
166
165
|
_id?: string;
|
|
167
166
|
/**
|
|
168
|
-
*
|
|
169
|
-
*
|
|
167
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
168
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
170
169
|
*/
|
|
171
170
|
entityFqdn?: string;
|
|
172
171
|
/**
|
|
173
|
-
*
|
|
174
|
-
*
|
|
175
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
172
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
173
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
176
174
|
*/
|
|
177
175
|
slug?: string;
|
|
178
176
|
/** ID of the entity associated with the event. */
|
|
179
177
|
entityId?: string;
|
|
180
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
178
|
+
/** 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
179
|
eventTime?: Date | null;
|
|
182
180
|
/**
|
|
183
181
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -187,12 +185,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
187
185
|
/** If present, indicates the action that triggered the event. */
|
|
188
186
|
originatedFrom?: string | null;
|
|
189
187
|
/**
|
|
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.
|
|
188
|
+
* 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.
|
|
189
|
+
* 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
190
|
*/
|
|
197
191
|
entityEventSequence?: string | null;
|
|
198
192
|
}
|
|
@@ -218,7 +212,7 @@ export interface EntityUpdatedEvent {
|
|
|
218
212
|
currentEntity?: string;
|
|
219
213
|
}
|
|
220
214
|
export interface EntityDeletedEvent {
|
|
221
|
-
/** Entity that was deleted */
|
|
215
|
+
/** Entity that was deleted. */
|
|
222
216
|
deletedEntity?: string | null;
|
|
223
217
|
}
|
|
224
218
|
export interface ActionEvent {
|
|
@@ -230,7 +224,7 @@ export interface OldPermissionChangedEvent {
|
|
|
230
224
|
/** @format GUID */
|
|
231
225
|
appId?: string;
|
|
232
226
|
permission?: Permission;
|
|
233
|
-
action?:
|
|
227
|
+
action?: ActionWithLiterals;
|
|
234
228
|
}
|
|
235
229
|
export interface Permission {
|
|
236
230
|
permissionId?: string;
|
|
@@ -240,6 +234,8 @@ export declare enum Action {
|
|
|
240
234
|
UPDATED = "UPDATED",
|
|
241
235
|
DELETED = "DELETED"
|
|
242
236
|
}
|
|
237
|
+
/** @enumType */
|
|
238
|
+
export type ActionWithLiterals = Action | 'CREATED' | 'UPDATED' | 'DELETED';
|
|
243
239
|
export interface MessageEnvelope {
|
|
244
240
|
/**
|
|
245
241
|
* App instance ID.
|
|
@@ -278,7 +274,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
278
274
|
*/
|
|
279
275
|
appId?: string;
|
|
280
276
|
/** @readonly */
|
|
281
|
-
identityType?:
|
|
277
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
282
278
|
}
|
|
283
279
|
/** @oneof */
|
|
284
280
|
export interface IdentificationDataIdOneOf {
|
|
@@ -310,6 +306,8 @@ export declare enum WebhookIdentityType {
|
|
|
310
306
|
WIX_USER = "WIX_USER",
|
|
311
307
|
APP = "APP"
|
|
312
308
|
}
|
|
309
|
+
/** @enumType */
|
|
310
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
313
311
|
export interface BaseEventMetadata {
|
|
314
312
|
/**
|
|
315
313
|
* App instance ID.
|
|
@@ -325,25 +323,21 @@ export interface BaseEventMetadata {
|
|
|
325
323
|
identity?: IdentificationData;
|
|
326
324
|
}
|
|
327
325
|
export interface EventMetadata extends BaseEventMetadata {
|
|
328
|
-
/**
|
|
329
|
-
* Unique event ID.
|
|
330
|
-
* Allows clients to ignore duplicate webhooks.
|
|
331
|
-
*/
|
|
326
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
332
327
|
_id?: string;
|
|
333
328
|
/**
|
|
334
|
-
*
|
|
335
|
-
*
|
|
329
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
330
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
336
331
|
*/
|
|
337
332
|
entityFqdn?: string;
|
|
338
333
|
/**
|
|
339
|
-
*
|
|
340
|
-
*
|
|
341
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
334
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
335
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
342
336
|
*/
|
|
343
337
|
slug?: string;
|
|
344
338
|
/** ID of the entity associated with the event. */
|
|
345
339
|
entityId?: string;
|
|
346
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
340
|
+
/** 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
341
|
eventTime?: Date | null;
|
|
348
342
|
/**
|
|
349
343
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -353,12 +347,8 @@ export interface EventMetadata extends BaseEventMetadata {
|
|
|
353
347
|
/** If present, indicates the action that triggered the event. */
|
|
354
348
|
originatedFrom?: string | null;
|
|
355
349
|
/**
|
|
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.
|
|
350
|
+
* 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.
|
|
351
|
+
* 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
352
|
*/
|
|
363
353
|
entityEventSequence?: string | null;
|
|
364
354
|
}
|
|
@@ -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;AAuFD,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;AACrB,CAAC,EAJW,MAAM,sBAAN,MAAM,QAIjB;AAuED,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;AA4FD;;;;;;;;;;;;;;;;;GAiBG;AACI,KAAK,UAAU,mBAAmB,CACvC,aAGC;IAED,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;I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BAAgB,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"}
|
|
@@ -148,35 +148,33 @@ export interface PermissionActionDomainEventEntity {
|
|
|
148
148
|
/** The permission that had an event */
|
|
149
149
|
appPermission?: AppPermission;
|
|
150
150
|
/** The action which happened */
|
|
151
|
-
actionType?:
|
|
151
|
+
actionType?: ActionTypeWithLiterals;
|
|
152
152
|
}
|
|
153
153
|
export declare enum ActionType {
|
|
154
154
|
APP_PERMISSION_DELETED = "APP_PERMISSION_DELETED"
|
|
155
155
|
}
|
|
156
|
+
/** @enumType */
|
|
157
|
+
export type ActionTypeWithLiterals = ActionType | 'APP_PERMISSION_DELETED';
|
|
156
158
|
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
157
159
|
createdEvent?: EntityCreatedEvent;
|
|
158
160
|
updatedEvent?: EntityUpdatedEvent;
|
|
159
161
|
deletedEvent?: EntityDeletedEvent;
|
|
160
162
|
actionEvent?: ActionEvent;
|
|
161
|
-
/**
|
|
162
|
-
* Unique event ID.
|
|
163
|
-
* Allows clients to ignore duplicate webhooks.
|
|
164
|
-
*/
|
|
163
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
165
164
|
id?: string;
|
|
166
165
|
/**
|
|
167
|
-
*
|
|
168
|
-
*
|
|
166
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
167
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
169
168
|
*/
|
|
170
169
|
entityFqdn?: string;
|
|
171
170
|
/**
|
|
172
|
-
*
|
|
173
|
-
*
|
|
174
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
171
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
172
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
175
173
|
*/
|
|
176
174
|
slug?: string;
|
|
177
175
|
/** ID of the entity associated with the event. */
|
|
178
176
|
entityId?: string;
|
|
179
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
177
|
+
/** 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
178
|
eventTime?: Date | null;
|
|
181
179
|
/**
|
|
182
180
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -186,12 +184,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
186
184
|
/** If present, indicates the action that triggered the event. */
|
|
187
185
|
originatedFrom?: string | null;
|
|
188
186
|
/**
|
|
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.
|
|
187
|
+
* 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.
|
|
188
|
+
* 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
189
|
*/
|
|
196
190
|
entityEventSequence?: string | null;
|
|
197
191
|
}
|
|
@@ -219,7 +213,7 @@ export interface EntityUpdatedEvent {
|
|
|
219
213
|
currentEntityAsJson?: string;
|
|
220
214
|
}
|
|
221
215
|
export interface EntityDeletedEvent {
|
|
222
|
-
/** Entity that was deleted */
|
|
216
|
+
/** Entity that was deleted. */
|
|
223
217
|
deletedEntityAsJson?: string | null;
|
|
224
218
|
}
|
|
225
219
|
export interface ActionEvent {
|
|
@@ -231,7 +225,7 @@ export interface OldPermissionChangedEvent {
|
|
|
231
225
|
/** @format GUID */
|
|
232
226
|
appId?: string;
|
|
233
227
|
permission?: Permission;
|
|
234
|
-
action?:
|
|
228
|
+
action?: ActionWithLiterals;
|
|
235
229
|
}
|
|
236
230
|
export interface Permission {
|
|
237
231
|
permissionId?: string;
|
|
@@ -241,6 +235,8 @@ export declare enum Action {
|
|
|
241
235
|
UPDATED = "UPDATED",
|
|
242
236
|
DELETED = "DELETED"
|
|
243
237
|
}
|
|
238
|
+
/** @enumType */
|
|
239
|
+
export type ActionWithLiterals = Action | 'CREATED' | 'UPDATED' | 'DELETED';
|
|
244
240
|
export interface MessageEnvelope {
|
|
245
241
|
/**
|
|
246
242
|
* App instance ID.
|
|
@@ -279,7 +275,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
279
275
|
*/
|
|
280
276
|
appId?: string;
|
|
281
277
|
/** @readonly */
|
|
282
|
-
identityType?:
|
|
278
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
283
279
|
}
|
|
284
280
|
/** @oneof */
|
|
285
281
|
export interface IdentificationDataIdOneOf {
|
|
@@ -311,3 +307,5 @@ export declare enum WebhookIdentityType {
|
|
|
311
307
|
WIX_USER = "WIX_USER",
|
|
312
308
|
APP = "APP"
|
|
313
309
|
}
|
|
310
|
+
/** @enumType */
|
|
311
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
@@ -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;AAyFD,MAAM,CAAN,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;AACrB,CAAC,EAJW,MAAM,KAAN,MAAM,QAIjB;AAuED,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"}
|
|
@@ -149,35 +149,33 @@ export interface PermissionActionDomainEventEntity {
|
|
|
149
149
|
/** The permission that had an event */
|
|
150
150
|
appPermission?: AppPermission;
|
|
151
151
|
/** The action which happened */
|
|
152
|
-
actionType?:
|
|
152
|
+
actionType?: ActionTypeWithLiterals;
|
|
153
153
|
}
|
|
154
154
|
export declare enum ActionType {
|
|
155
155
|
APP_PERMISSION_DELETED = "APP_PERMISSION_DELETED"
|
|
156
156
|
}
|
|
157
|
+
/** @enumType */
|
|
158
|
+
export type ActionTypeWithLiterals = ActionType | 'APP_PERMISSION_DELETED';
|
|
157
159
|
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
158
160
|
createdEvent?: EntityCreatedEvent;
|
|
159
161
|
updatedEvent?: EntityUpdatedEvent;
|
|
160
162
|
deletedEvent?: EntityDeletedEvent;
|
|
161
163
|
actionEvent?: ActionEvent;
|
|
162
|
-
/**
|
|
163
|
-
* Unique event ID.
|
|
164
|
-
* Allows clients to ignore duplicate webhooks.
|
|
165
|
-
*/
|
|
164
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
166
165
|
_id?: string;
|
|
167
166
|
/**
|
|
168
|
-
*
|
|
169
|
-
*
|
|
167
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
168
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
170
169
|
*/
|
|
171
170
|
entityFqdn?: string;
|
|
172
171
|
/**
|
|
173
|
-
*
|
|
174
|
-
*
|
|
175
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
172
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
173
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
176
174
|
*/
|
|
177
175
|
slug?: string;
|
|
178
176
|
/** ID of the entity associated with the event. */
|
|
179
177
|
entityId?: string;
|
|
180
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
178
|
+
/** 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
179
|
eventTime?: Date | null;
|
|
182
180
|
/**
|
|
183
181
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -187,12 +185,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
187
185
|
/** If present, indicates the action that triggered the event. */
|
|
188
186
|
originatedFrom?: string | null;
|
|
189
187
|
/**
|
|
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.
|
|
188
|
+
* 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.
|
|
189
|
+
* 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
190
|
*/
|
|
197
191
|
entityEventSequence?: string | null;
|
|
198
192
|
}
|
|
@@ -218,7 +212,7 @@ export interface EntityUpdatedEvent {
|
|
|
218
212
|
currentEntity?: string;
|
|
219
213
|
}
|
|
220
214
|
export interface EntityDeletedEvent {
|
|
221
|
-
/** Entity that was deleted */
|
|
215
|
+
/** Entity that was deleted. */
|
|
222
216
|
deletedEntity?: string | null;
|
|
223
217
|
}
|
|
224
218
|
export interface ActionEvent {
|
|
@@ -230,7 +224,7 @@ export interface OldPermissionChangedEvent {
|
|
|
230
224
|
/** @format GUID */
|
|
231
225
|
appId?: string;
|
|
232
226
|
permission?: Permission;
|
|
233
|
-
action?:
|
|
227
|
+
action?: ActionWithLiterals;
|
|
234
228
|
}
|
|
235
229
|
export interface Permission {
|
|
236
230
|
permissionId?: string;
|
|
@@ -240,6 +234,8 @@ export declare enum Action {
|
|
|
240
234
|
UPDATED = "UPDATED",
|
|
241
235
|
DELETED = "DELETED"
|
|
242
236
|
}
|
|
237
|
+
/** @enumType */
|
|
238
|
+
export type ActionWithLiterals = Action | 'CREATED' | 'UPDATED' | 'DELETED';
|
|
243
239
|
export interface MessageEnvelope {
|
|
244
240
|
/**
|
|
245
241
|
* App instance ID.
|
|
@@ -278,7 +274,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
278
274
|
*/
|
|
279
275
|
appId?: string;
|
|
280
276
|
/** @readonly */
|
|
281
|
-
identityType?:
|
|
277
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
282
278
|
}
|
|
283
279
|
/** @oneof */
|
|
284
280
|
export interface IdentificationDataIdOneOf {
|
|
@@ -310,6 +306,8 @@ export declare enum WebhookIdentityType {
|
|
|
310
306
|
WIX_USER = "WIX_USER",
|
|
311
307
|
APP = "APP"
|
|
312
308
|
}
|
|
309
|
+
/** @enumType */
|
|
310
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
313
311
|
export interface BaseEventMetadata {
|
|
314
312
|
/**
|
|
315
313
|
* App instance ID.
|
|
@@ -325,25 +323,21 @@ export interface BaseEventMetadata {
|
|
|
325
323
|
identity?: IdentificationData;
|
|
326
324
|
}
|
|
327
325
|
export interface EventMetadata extends BaseEventMetadata {
|
|
328
|
-
/**
|
|
329
|
-
* Unique event ID.
|
|
330
|
-
* Allows clients to ignore duplicate webhooks.
|
|
331
|
-
*/
|
|
326
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
332
327
|
_id?: string;
|
|
333
328
|
/**
|
|
334
|
-
*
|
|
335
|
-
*
|
|
329
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
330
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
336
331
|
*/
|
|
337
332
|
entityFqdn?: string;
|
|
338
333
|
/**
|
|
339
|
-
*
|
|
340
|
-
*
|
|
341
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
334
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
335
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
342
336
|
*/
|
|
343
337
|
slug?: string;
|
|
344
338
|
/** ID of the entity associated with the event. */
|
|
345
339
|
entityId?: string;
|
|
346
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
340
|
+
/** 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
341
|
eventTime?: Date | null;
|
|
348
342
|
/**
|
|
349
343
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -353,12 +347,8 @@ export interface EventMetadata extends BaseEventMetadata {
|
|
|
353
347
|
/** If present, indicates the action that triggered the event. */
|
|
354
348
|
originatedFrom?: string | null;
|
|
355
349
|
/**
|
|
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.
|
|
350
|
+
* 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.
|
|
351
|
+
* 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
352
|
*/
|
|
363
353
|
entityEventSequence?: string | null;
|
|
364
354
|
}
|
|
@@ -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":["../../../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|
appPermission?: AppPermission;
|
|
150
150
|
/** The action which happened */
|
|
151
|
-
actionType?:
|
|
151
|
+
actionType?: ActionTypeWithLiterals;
|
|
152
152
|
}
|
|
153
153
|
export declare enum ActionType {
|
|
154
154
|
APP_PERMISSION_DELETED = "APP_PERMISSION_DELETED"
|
|
155
155
|
}
|
|
156
|
+
/** @enumType */
|
|
157
|
+
export type ActionTypeWithLiterals = ActionType | 'APP_PERMISSION_DELETED';
|
|
156
158
|
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
157
159
|
createdEvent?: EntityCreatedEvent;
|
|
158
160
|
updatedEvent?: EntityUpdatedEvent;
|
|
159
161
|
deletedEvent?: EntityDeletedEvent;
|
|
160
162
|
actionEvent?: ActionEvent;
|
|
161
|
-
/**
|
|
162
|
-
* Unique event ID.
|
|
163
|
-
* Allows clients to ignore duplicate webhooks.
|
|
164
|
-
*/
|
|
163
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
165
164
|
id?: string;
|
|
166
165
|
/**
|
|
167
|
-
*
|
|
168
|
-
*
|
|
166
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
167
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
169
168
|
*/
|
|
170
169
|
entityFqdn?: string;
|
|
171
170
|
/**
|
|
172
|
-
*
|
|
173
|
-
*
|
|
174
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
171
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
172
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
175
173
|
*/
|
|
176
174
|
slug?: string;
|
|
177
175
|
/** ID of the entity associated with the event. */
|
|
178
176
|
entityId?: string;
|
|
179
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
177
|
+
/** 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
178
|
eventTime?: Date | null;
|
|
181
179
|
/**
|
|
182
180
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -186,12 +184,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
186
184
|
/** If present, indicates the action that triggered the event. */
|
|
187
185
|
originatedFrom?: string | null;
|
|
188
186
|
/**
|
|
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.
|
|
187
|
+
* 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.
|
|
188
|
+
* 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
189
|
*/
|
|
196
190
|
entityEventSequence?: string | null;
|
|
197
191
|
}
|
|
@@ -219,7 +213,7 @@ export interface EntityUpdatedEvent {
|
|
|
219
213
|
currentEntityAsJson?: string;
|
|
220
214
|
}
|
|
221
215
|
export interface EntityDeletedEvent {
|
|
222
|
-
/** Entity that was deleted */
|
|
216
|
+
/** Entity that was deleted. */
|
|
223
217
|
deletedEntityAsJson?: string | null;
|
|
224
218
|
}
|
|
225
219
|
export interface ActionEvent {
|
|
@@ -231,7 +225,7 @@ export interface OldPermissionChangedEvent {
|
|
|
231
225
|
/** @format GUID */
|
|
232
226
|
appId?: string;
|
|
233
227
|
permission?: Permission;
|
|
234
|
-
action?:
|
|
228
|
+
action?: ActionWithLiterals;
|
|
235
229
|
}
|
|
236
230
|
export interface Permission {
|
|
237
231
|
permissionId?: string;
|
|
@@ -241,6 +235,8 @@ export declare enum Action {
|
|
|
241
235
|
UPDATED = "UPDATED",
|
|
242
236
|
DELETED = "DELETED"
|
|
243
237
|
}
|
|
238
|
+
/** @enumType */
|
|
239
|
+
export type ActionWithLiterals = Action | 'CREATED' | 'UPDATED' | 'DELETED';
|
|
244
240
|
export interface MessageEnvelope {
|
|
245
241
|
/**
|
|
246
242
|
* App instance ID.
|
|
@@ -279,7 +275,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
279
275
|
*/
|
|
280
276
|
appId?: string;
|
|
281
277
|
/** @readonly */
|
|
282
|
-
identityType?:
|
|
278
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
283
279
|
}
|
|
284
280
|
/** @oneof */
|
|
285
281
|
export interface IdentificationDataIdOneOf {
|
|
@@ -311,3 +307,5 @@ export declare enum WebhookIdentityType {
|
|
|
311
307
|
WIX_USER = "WIX_USER",
|
|
312
308
|
APP = "APP"
|
|
313
309
|
}
|
|
310
|
+
/** @enumType */
|
|
311
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
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;AAyFD,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;AACrB,CAAC,EAJW,MAAM,sBAAN,MAAM,QAIjB;AAuED,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
|
@@ -149,35 +149,33 @@ export interface PermissionActionDomainEventEntity {
|
|
|
149
149
|
/** The permission that had an event */
|
|
150
150
|
appPermission?: AppPermission;
|
|
151
151
|
/** The action which happened */
|
|
152
|
-
actionType?:
|
|
152
|
+
actionType?: ActionTypeWithLiterals;
|
|
153
153
|
}
|
|
154
154
|
export declare enum ActionType {
|
|
155
155
|
APP_PERMISSION_DELETED = "APP_PERMISSION_DELETED"
|
|
156
156
|
}
|
|
157
|
+
/** @enumType */
|
|
158
|
+
export type ActionTypeWithLiterals = ActionType | 'APP_PERMISSION_DELETED';
|
|
157
159
|
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
158
160
|
createdEvent?: EntityCreatedEvent;
|
|
159
161
|
updatedEvent?: EntityUpdatedEvent;
|
|
160
162
|
deletedEvent?: EntityDeletedEvent;
|
|
161
163
|
actionEvent?: ActionEvent;
|
|
162
|
-
/**
|
|
163
|
-
* Unique event ID.
|
|
164
|
-
* Allows clients to ignore duplicate webhooks.
|
|
165
|
-
*/
|
|
164
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
166
165
|
_id?: string;
|
|
167
166
|
/**
|
|
168
|
-
*
|
|
169
|
-
*
|
|
167
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
168
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
170
169
|
*/
|
|
171
170
|
entityFqdn?: string;
|
|
172
171
|
/**
|
|
173
|
-
*
|
|
174
|
-
*
|
|
175
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
172
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
173
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
176
174
|
*/
|
|
177
175
|
slug?: string;
|
|
178
176
|
/** ID of the entity associated with the event. */
|
|
179
177
|
entityId?: string;
|
|
180
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
178
|
+
/** 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
179
|
eventTime?: Date | null;
|
|
182
180
|
/**
|
|
183
181
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -187,12 +185,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
187
185
|
/** If present, indicates the action that triggered the event. */
|
|
188
186
|
originatedFrom?: string | null;
|
|
189
187
|
/**
|
|
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.
|
|
188
|
+
* 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.
|
|
189
|
+
* 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
190
|
*/
|
|
197
191
|
entityEventSequence?: string | null;
|
|
198
192
|
}
|
|
@@ -218,7 +212,7 @@ export interface EntityUpdatedEvent {
|
|
|
218
212
|
currentEntity?: string;
|
|
219
213
|
}
|
|
220
214
|
export interface EntityDeletedEvent {
|
|
221
|
-
/** Entity that was deleted */
|
|
215
|
+
/** Entity that was deleted. */
|
|
222
216
|
deletedEntity?: string | null;
|
|
223
217
|
}
|
|
224
218
|
export interface ActionEvent {
|
|
@@ -230,7 +224,7 @@ export interface OldPermissionChangedEvent {
|
|
|
230
224
|
/** @format GUID */
|
|
231
225
|
appId?: string;
|
|
232
226
|
permission?: Permission;
|
|
233
|
-
action?:
|
|
227
|
+
action?: ActionWithLiterals;
|
|
234
228
|
}
|
|
235
229
|
export interface Permission {
|
|
236
230
|
permissionId?: string;
|
|
@@ -240,6 +234,8 @@ export declare enum Action {
|
|
|
240
234
|
UPDATED = "UPDATED",
|
|
241
235
|
DELETED = "DELETED"
|
|
242
236
|
}
|
|
237
|
+
/** @enumType */
|
|
238
|
+
export type ActionWithLiterals = Action | 'CREATED' | 'UPDATED' | 'DELETED';
|
|
243
239
|
export interface MessageEnvelope {
|
|
244
240
|
/**
|
|
245
241
|
* App instance ID.
|
|
@@ -278,7 +274,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
278
274
|
*/
|
|
279
275
|
appId?: string;
|
|
280
276
|
/** @readonly */
|
|
281
|
-
identityType?:
|
|
277
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
282
278
|
}
|
|
283
279
|
/** @oneof */
|
|
284
280
|
export interface IdentificationDataIdOneOf {
|
|
@@ -310,6 +306,8 @@ export declare enum WebhookIdentityType {
|
|
|
310
306
|
WIX_USER = "WIX_USER",
|
|
311
307
|
APP = "APP"
|
|
312
308
|
}
|
|
309
|
+
/** @enumType */
|
|
310
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
313
311
|
export interface BaseEventMetadata {
|
|
314
312
|
/**
|
|
315
313
|
* App instance ID.
|
|
@@ -325,25 +323,21 @@ export interface BaseEventMetadata {
|
|
|
325
323
|
identity?: IdentificationData;
|
|
326
324
|
}
|
|
327
325
|
export interface EventMetadata extends BaseEventMetadata {
|
|
328
|
-
/**
|
|
329
|
-
* Unique event ID.
|
|
330
|
-
* Allows clients to ignore duplicate webhooks.
|
|
331
|
-
*/
|
|
326
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
332
327
|
_id?: string;
|
|
333
328
|
/**
|
|
334
|
-
*
|
|
335
|
-
*
|
|
329
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
330
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
336
331
|
*/
|
|
337
332
|
entityFqdn?: string;
|
|
338
333
|
/**
|
|
339
|
-
*
|
|
340
|
-
*
|
|
341
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
334
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
335
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
342
336
|
*/
|
|
343
337
|
slug?: string;
|
|
344
338
|
/** ID of the entity associated with the event. */
|
|
345
339
|
entityId?: string;
|
|
346
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
340
|
+
/** 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
341
|
eventTime?: Date | null;
|
|
348
342
|
/**
|
|
349
343
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -353,12 +347,8 @@ export interface EventMetadata extends BaseEventMetadata {
|
|
|
353
347
|
/** If present, indicates the action that triggered the event. */
|
|
354
348
|
originatedFrom?: string | null;
|
|
355
349
|
/**
|
|
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.
|
|
350
|
+
* 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.
|
|
351
|
+
* 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
352
|
*/
|
|
363
353
|
entityEventSequence?: string | null;
|
|
364
354
|
}
|
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":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,sIAAwH;AAuKxH,IAAY,UAEX;AAFD,WAAY,UAAU;IACpB,+DAAiD,CAAA;AACnD,CAAC,EAFW,UAAU,0BAAV,UAAU,QAErB;AAuFD,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;AACrB,CAAC,EAJW,MAAM,sBAAN,MAAM,QAIjB;AAuED,IAAY,mBAMX;AAND,WAAY,mBAAmB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AEH,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"}
|
|
@@ -148,35 +148,33 @@ export interface PermissionActionDomainEventEntity {
|
|
|
148
148
|
/** The permission that had an event */
|
|
149
149
|
appPermission?: AppPermission;
|
|
150
150
|
/** The action which happened */
|
|
151
|
-
actionType?:
|
|
151
|
+
actionType?: ActionTypeWithLiterals;
|
|
152
152
|
}
|
|
153
153
|
export declare enum ActionType {
|
|
154
154
|
APP_PERMISSION_DELETED = "APP_PERMISSION_DELETED"
|
|
155
155
|
}
|
|
156
|
+
/** @enumType */
|
|
157
|
+
export type ActionTypeWithLiterals = ActionType | 'APP_PERMISSION_DELETED';
|
|
156
158
|
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
157
159
|
createdEvent?: EntityCreatedEvent;
|
|
158
160
|
updatedEvent?: EntityUpdatedEvent;
|
|
159
161
|
deletedEvent?: EntityDeletedEvent;
|
|
160
162
|
actionEvent?: ActionEvent;
|
|
161
|
-
/**
|
|
162
|
-
* Unique event ID.
|
|
163
|
-
* Allows clients to ignore duplicate webhooks.
|
|
164
|
-
*/
|
|
163
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
165
164
|
id?: string;
|
|
166
165
|
/**
|
|
167
|
-
*
|
|
168
|
-
*
|
|
166
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
167
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
169
168
|
*/
|
|
170
169
|
entityFqdn?: string;
|
|
171
170
|
/**
|
|
172
|
-
*
|
|
173
|
-
*
|
|
174
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
171
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
172
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
175
173
|
*/
|
|
176
174
|
slug?: string;
|
|
177
175
|
/** ID of the entity associated with the event. */
|
|
178
176
|
entityId?: string;
|
|
179
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
177
|
+
/** 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
178
|
eventTime?: Date | null;
|
|
181
179
|
/**
|
|
182
180
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -186,12 +184,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
186
184
|
/** If present, indicates the action that triggered the event. */
|
|
187
185
|
originatedFrom?: string | null;
|
|
188
186
|
/**
|
|
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.
|
|
187
|
+
* 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.
|
|
188
|
+
* 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
189
|
*/
|
|
196
190
|
entityEventSequence?: string | null;
|
|
197
191
|
}
|
|
@@ -219,7 +213,7 @@ export interface EntityUpdatedEvent {
|
|
|
219
213
|
currentEntityAsJson?: string;
|
|
220
214
|
}
|
|
221
215
|
export interface EntityDeletedEvent {
|
|
222
|
-
/** Entity that was deleted */
|
|
216
|
+
/** Entity that was deleted. */
|
|
223
217
|
deletedEntityAsJson?: string | null;
|
|
224
218
|
}
|
|
225
219
|
export interface ActionEvent {
|
|
@@ -231,7 +225,7 @@ export interface OldPermissionChangedEvent {
|
|
|
231
225
|
/** @format GUID */
|
|
232
226
|
appId?: string;
|
|
233
227
|
permission?: Permission;
|
|
234
|
-
action?:
|
|
228
|
+
action?: ActionWithLiterals;
|
|
235
229
|
}
|
|
236
230
|
export interface Permission {
|
|
237
231
|
permissionId?: string;
|
|
@@ -241,6 +235,8 @@ export declare enum Action {
|
|
|
241
235
|
UPDATED = "UPDATED",
|
|
242
236
|
DELETED = "DELETED"
|
|
243
237
|
}
|
|
238
|
+
/** @enumType */
|
|
239
|
+
export type ActionWithLiterals = Action | 'CREATED' | 'UPDATED' | 'DELETED';
|
|
244
240
|
export interface MessageEnvelope {
|
|
245
241
|
/**
|
|
246
242
|
* App instance ID.
|
|
@@ -279,7 +275,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
279
275
|
*/
|
|
280
276
|
appId?: string;
|
|
281
277
|
/** @readonly */
|
|
282
|
-
identityType?:
|
|
278
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
283
279
|
}
|
|
284
280
|
/** @oneof */
|
|
285
281
|
export interface IdentificationDataIdOneOf {
|
|
@@ -311,3 +307,5 @@ export declare enum WebhookIdentityType {
|
|
|
311
307
|
WIX_USER = "WIX_USER",
|
|
312
308
|
APP = "APP"
|
|
313
309
|
}
|
|
310
|
+
/** @enumType */
|
|
311
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
@@ -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;AAyFD,MAAM,CAAN,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;AACrB,CAAC,EAJW,MAAM,KAAN,MAAM,QAIjB;AAuED,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
|
@@ -149,35 +149,33 @@ export interface PermissionActionDomainEventEntity {
|
|
|
149
149
|
/** The permission that had an event */
|
|
150
150
|
appPermission?: AppPermission;
|
|
151
151
|
/** The action which happened */
|
|
152
|
-
actionType?:
|
|
152
|
+
actionType?: ActionTypeWithLiterals;
|
|
153
153
|
}
|
|
154
154
|
export declare enum ActionType {
|
|
155
155
|
APP_PERMISSION_DELETED = "APP_PERMISSION_DELETED"
|
|
156
156
|
}
|
|
157
|
+
/** @enumType */
|
|
158
|
+
export type ActionTypeWithLiterals = ActionType | 'APP_PERMISSION_DELETED';
|
|
157
159
|
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
158
160
|
createdEvent?: EntityCreatedEvent;
|
|
159
161
|
updatedEvent?: EntityUpdatedEvent;
|
|
160
162
|
deletedEvent?: EntityDeletedEvent;
|
|
161
163
|
actionEvent?: ActionEvent;
|
|
162
|
-
/**
|
|
163
|
-
* Unique event ID.
|
|
164
|
-
* Allows clients to ignore duplicate webhooks.
|
|
165
|
-
*/
|
|
164
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
166
165
|
_id?: string;
|
|
167
166
|
/**
|
|
168
|
-
*
|
|
169
|
-
*
|
|
167
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
168
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
170
169
|
*/
|
|
171
170
|
entityFqdn?: string;
|
|
172
171
|
/**
|
|
173
|
-
*
|
|
174
|
-
*
|
|
175
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
172
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
173
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
176
174
|
*/
|
|
177
175
|
slug?: string;
|
|
178
176
|
/** ID of the entity associated with the event. */
|
|
179
177
|
entityId?: string;
|
|
180
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
178
|
+
/** 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
179
|
eventTime?: Date | null;
|
|
182
180
|
/**
|
|
183
181
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -187,12 +185,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
187
185
|
/** If present, indicates the action that triggered the event. */
|
|
188
186
|
originatedFrom?: string | null;
|
|
189
187
|
/**
|
|
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.
|
|
188
|
+
* 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.
|
|
189
|
+
* 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
190
|
*/
|
|
197
191
|
entityEventSequence?: string | null;
|
|
198
192
|
}
|
|
@@ -218,7 +212,7 @@ export interface EntityUpdatedEvent {
|
|
|
218
212
|
currentEntity?: string;
|
|
219
213
|
}
|
|
220
214
|
export interface EntityDeletedEvent {
|
|
221
|
-
/** Entity that was deleted */
|
|
215
|
+
/** Entity that was deleted. */
|
|
222
216
|
deletedEntity?: string | null;
|
|
223
217
|
}
|
|
224
218
|
export interface ActionEvent {
|
|
@@ -230,7 +224,7 @@ export interface OldPermissionChangedEvent {
|
|
|
230
224
|
/** @format GUID */
|
|
231
225
|
appId?: string;
|
|
232
226
|
permission?: Permission;
|
|
233
|
-
action?:
|
|
227
|
+
action?: ActionWithLiterals;
|
|
234
228
|
}
|
|
235
229
|
export interface Permission {
|
|
236
230
|
permissionId?: string;
|
|
@@ -240,6 +234,8 @@ export declare enum Action {
|
|
|
240
234
|
UPDATED = "UPDATED",
|
|
241
235
|
DELETED = "DELETED"
|
|
242
236
|
}
|
|
237
|
+
/** @enumType */
|
|
238
|
+
export type ActionWithLiterals = Action | 'CREATED' | 'UPDATED' | 'DELETED';
|
|
243
239
|
export interface MessageEnvelope {
|
|
244
240
|
/**
|
|
245
241
|
* App instance ID.
|
|
@@ -278,7 +274,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
278
274
|
*/
|
|
279
275
|
appId?: string;
|
|
280
276
|
/** @readonly */
|
|
281
|
-
identityType?:
|
|
277
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
282
278
|
}
|
|
283
279
|
/** @oneof */
|
|
284
280
|
export interface IdentificationDataIdOneOf {
|
|
@@ -310,6 +306,8 @@ export declare enum WebhookIdentityType {
|
|
|
310
306
|
WIX_USER = "WIX_USER",
|
|
311
307
|
APP = "APP"
|
|
312
308
|
}
|
|
309
|
+
/** @enumType */
|
|
310
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
313
311
|
export interface BaseEventMetadata {
|
|
314
312
|
/**
|
|
315
313
|
* App instance ID.
|
|
@@ -325,25 +323,21 @@ export interface BaseEventMetadata {
|
|
|
325
323
|
identity?: IdentificationData;
|
|
326
324
|
}
|
|
327
325
|
export interface EventMetadata extends BaseEventMetadata {
|
|
328
|
-
/**
|
|
329
|
-
* Unique event ID.
|
|
330
|
-
* Allows clients to ignore duplicate webhooks.
|
|
331
|
-
*/
|
|
326
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
332
327
|
_id?: string;
|
|
333
328
|
/**
|
|
334
|
-
*
|
|
335
|
-
*
|
|
329
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
330
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
336
331
|
*/
|
|
337
332
|
entityFqdn?: string;
|
|
338
333
|
/**
|
|
339
|
-
*
|
|
340
|
-
*
|
|
341
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
334
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
335
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
342
336
|
*/
|
|
343
337
|
slug?: string;
|
|
344
338
|
/** ID of the entity associated with the event. */
|
|
345
339
|
entityId?: string;
|
|
346
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
340
|
+
/** 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
341
|
eventTime?: Date | null;
|
|
348
342
|
/**
|
|
349
343
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -353,12 +347,8 @@ export interface EventMetadata extends BaseEventMetadata {
|
|
|
353
347
|
/** If present, indicates the action that triggered the event. */
|
|
354
348
|
originatedFrom?: string | null;
|
|
355
349
|
/**
|
|
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.
|
|
350
|
+
* 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.
|
|
351
|
+
* 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
352
|
*/
|
|
363
353
|
entityEventSequence?: string | null;
|
|
364
354
|
}
|
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;AAuFD,MAAM,CAAN,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;AACrB,CAAC,EAJW,MAAM,KAAN,MAAM,QAIjB;AAuED,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;AA4FD;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,CAAC,KAAK,UAAU,mBAAmB,CACvC,aAGC;IAED,aAAa;IACb,MAAM,E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AAC;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.16",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"fqdn": "wix.devcenter.apps.v1.app_permission"
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
|
-
"falconPackageHash": "
|
|
51
|
+
"falconPackageHash": "e583433babbb910325cf01bed81df022213d42ab01413f84a19cb87a"
|
|
52
52
|
}
|