@wix/auto_sdk_identity_oauth 1.0.7 → 1.0.8
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/identity-oauth-v1-refresh-token-oauth.types.d.ts +9 -17
- package/build/cjs/src/identity-oauth-v1-refresh-token-oauth.universal.d.ts +9 -17
- package/build/cjs/src/identity-oauth-v1-refresh-token-oauth.universal.js.map +1 -1
- package/build/es/src/identity-oauth-v1-refresh-token-oauth.types.d.ts +9 -17
- package/build/es/src/identity-oauth-v1-refresh-token-oauth.universal.d.ts +9 -17
- package/build/es/src/identity-oauth-v1-refresh-token-oauth.universal.js.map +1 -1
- package/build/internal/cjs/src/identity-oauth-v1-refresh-token-oauth.types.d.ts +9 -17
- package/build/internal/cjs/src/identity-oauth-v1-refresh-token-oauth.universal.d.ts +9 -17
- package/build/internal/cjs/src/identity-oauth-v1-refresh-token-oauth.universal.js.map +1 -1
- package/build/internal/es/src/identity-oauth-v1-refresh-token-oauth.types.d.ts +9 -17
- package/build/internal/es/src/identity-oauth-v1-refresh-token-oauth.universal.d.ts +9 -17
- package/build/internal/es/src/identity-oauth-v1-refresh-token-oauth.universal.js.map +1 -1
- package/package.json +4 -4
|
@@ -188,25 +188,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
188
188
|
updatedEvent?: EntityUpdatedEvent;
|
|
189
189
|
deletedEvent?: EntityDeletedEvent;
|
|
190
190
|
actionEvent?: ActionEvent;
|
|
191
|
-
/**
|
|
192
|
-
* Unique event ID.
|
|
193
|
-
* Allows clients to ignore duplicate webhooks.
|
|
194
|
-
*/
|
|
191
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
195
192
|
id?: string;
|
|
196
193
|
/**
|
|
197
|
-
*
|
|
198
|
-
*
|
|
194
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
195
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
199
196
|
*/
|
|
200
197
|
entityFqdn?: string;
|
|
201
198
|
/**
|
|
202
|
-
*
|
|
203
|
-
*
|
|
204
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
199
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
200
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
205
201
|
*/
|
|
206
202
|
slug?: string;
|
|
207
203
|
/** ID of the entity associated with the event. */
|
|
208
204
|
entityId?: string;
|
|
209
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
205
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
210
206
|
eventTime?: Date | null;
|
|
211
207
|
/**
|
|
212
208
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -216,12 +212,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
216
212
|
/** If present, indicates the action that triggered the event. */
|
|
217
213
|
originatedFrom?: string | null;
|
|
218
214
|
/**
|
|
219
|
-
* A sequence number
|
|
220
|
-
*
|
|
221
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
222
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
223
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
224
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
215
|
+
* 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.
|
|
216
|
+
* 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.
|
|
225
217
|
*/
|
|
226
218
|
entityEventSequence?: string | null;
|
|
227
219
|
}
|
|
@@ -249,7 +241,7 @@ export interface EntityUpdatedEvent {
|
|
|
249
241
|
currentEntityAsJson?: string;
|
|
250
242
|
}
|
|
251
243
|
export interface EntityDeletedEvent {
|
|
252
|
-
/** Entity that was deleted */
|
|
244
|
+
/** Entity that was deleted. */
|
|
253
245
|
deletedEntityAsJson?: string | null;
|
|
254
246
|
}
|
|
255
247
|
export interface ActionEvent {
|
|
@@ -189,25 +189,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
189
189
|
updatedEvent?: EntityUpdatedEvent;
|
|
190
190
|
deletedEvent?: EntityDeletedEvent;
|
|
191
191
|
actionEvent?: ActionEvent;
|
|
192
|
-
/**
|
|
193
|
-
* Unique event ID.
|
|
194
|
-
* Allows clients to ignore duplicate webhooks.
|
|
195
|
-
*/
|
|
192
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
196
193
|
_id?: string;
|
|
197
194
|
/**
|
|
198
|
-
*
|
|
199
|
-
*
|
|
195
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
196
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
200
197
|
*/
|
|
201
198
|
entityFqdn?: string;
|
|
202
199
|
/**
|
|
203
|
-
*
|
|
204
|
-
*
|
|
205
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
200
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
201
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
206
202
|
*/
|
|
207
203
|
slug?: string;
|
|
208
204
|
/** ID of the entity associated with the event. */
|
|
209
205
|
entityId?: string;
|
|
210
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
206
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
211
207
|
eventTime?: Date | null;
|
|
212
208
|
/**
|
|
213
209
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -217,12 +213,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
217
213
|
/** If present, indicates the action that triggered the event. */
|
|
218
214
|
originatedFrom?: string | null;
|
|
219
215
|
/**
|
|
220
|
-
* A sequence number
|
|
221
|
-
*
|
|
222
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
223
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
224
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
225
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
216
|
+
* 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.
|
|
217
|
+
* 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.
|
|
226
218
|
*/
|
|
227
219
|
entityEventSequence?: string | null;
|
|
228
220
|
}
|
|
@@ -248,7 +240,7 @@ export interface EntityUpdatedEvent {
|
|
|
248
240
|
currentEntity?: string;
|
|
249
241
|
}
|
|
250
242
|
export interface EntityDeletedEvent {
|
|
251
|
-
/** Entity that was deleted */
|
|
243
|
+
/** Entity that was deleted. */
|
|
252
244
|
deletedEntity?: string | null;
|
|
253
245
|
}
|
|
254
246
|
export interface ActionEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identity-oauth-v1-refresh-token-oauth.universal.js","sourceRoot":"","sources":["../../../src/identity-oauth-v1-refresh-token-oauth.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,0HAA4G;AA2L5G,IAAY,WAWX;AAXD,WAAY,WAAW;IACrB,2BAA2B;IAC3B,kCAAmB,CAAA;IACnB,wBAAwB;IACxB,4BAAa,CAAA;IACb,2BAA2B;IAC3B,kCAAmB,CAAA;IACnB,0BAA0B;IAC1B,gCAAiB,CAAA;IACjB,uBAAuB;IACvB,0BAAW,CAAA;AACb,CAAC,EAXW,WAAW,2BAAX,WAAW,QAWtB;
|
|
1
|
+
{"version":3,"file":"identity-oauth-v1-refresh-token-oauth.universal.js","sourceRoot":"","sources":["../../../src/identity-oauth-v1-refresh-token-oauth.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,0HAA4G;AA2L5G,IAAY,WAWX;AAXD,WAAY,WAAW;IACrB,2BAA2B;IAC3B,kCAAmB,CAAA;IACnB,wBAAwB;IACxB,4BAAa,CAAA;IACb,2BAA2B;IAC3B,kCAAmB,CAAA;IACnB,0BAA0B;IAC1B,gCAAiB,CAAA;IACjB,uBAAuB;IACvB,0BAAW,CAAA;AACb,CAAC,EAXW,WAAW,2BAAX,WAAW,QAWtB;AAyED;;;;;;;;;;;;;;;;;;GAkBG;AACI,KAAK,UAAU,KAAK,CACzB,OAAsB;IAOtB,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC;QACpD,IAAI,EAAE,OAAO,EAAE,IAAI;QACnB,UAAU,EAAE,OAAO,EAAE,UAAU;QAC/B,WAAW,EAAE,OAAO,EAAE,WAAW;QACjC,OAAO,EAAE,OAAO,EAAE,OAAO;QACzB,MAAM,EAAE,OAAO,EAAE,MAAM;QACvB,OAAO,EAAE,OAAO,EAAE,OAAO;QACzB,QAAQ,EAAE,OAAO,EAAE,QAAQ;KAC5B,CAAC,CAAC;IAEH,MAAM,OAAO,GAAG,wCAAwC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IAExE,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,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H,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,IAAA,gEAAuC,EAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE;gBACxB,IAAI,EAAE,WAAW;gBACjB,UAAU,EAAE,iBAAiB;gBAC7B,WAAW,EAAE,kBAAkB;gBAC/B,OAAO,EAAE,cAAc;gBACvB,MAAM,EAAE,aAAa;gBACrB,OAAO,EAAE,cAAc;gBACvB,QAAQ,EAAE,eAAe;aAC1B;YACD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,SAAS,CAAC,CACZ,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAtDD,8BAsDC"}
|
|
@@ -188,25 +188,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
188
188
|
updatedEvent?: EntityUpdatedEvent;
|
|
189
189
|
deletedEvent?: EntityDeletedEvent;
|
|
190
190
|
actionEvent?: ActionEvent;
|
|
191
|
-
/**
|
|
192
|
-
* Unique event ID.
|
|
193
|
-
* Allows clients to ignore duplicate webhooks.
|
|
194
|
-
*/
|
|
191
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
195
192
|
id?: string;
|
|
196
193
|
/**
|
|
197
|
-
*
|
|
198
|
-
*
|
|
194
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
195
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
199
196
|
*/
|
|
200
197
|
entityFqdn?: string;
|
|
201
198
|
/**
|
|
202
|
-
*
|
|
203
|
-
*
|
|
204
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
199
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
200
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
205
201
|
*/
|
|
206
202
|
slug?: string;
|
|
207
203
|
/** ID of the entity associated with the event. */
|
|
208
204
|
entityId?: string;
|
|
209
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
205
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
210
206
|
eventTime?: Date | null;
|
|
211
207
|
/**
|
|
212
208
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -216,12 +212,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
216
212
|
/** If present, indicates the action that triggered the event. */
|
|
217
213
|
originatedFrom?: string | null;
|
|
218
214
|
/**
|
|
219
|
-
* A sequence number
|
|
220
|
-
*
|
|
221
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
222
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
223
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
224
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
215
|
+
* 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.
|
|
216
|
+
* 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.
|
|
225
217
|
*/
|
|
226
218
|
entityEventSequence?: string | null;
|
|
227
219
|
}
|
|
@@ -249,7 +241,7 @@ export interface EntityUpdatedEvent {
|
|
|
249
241
|
currentEntityAsJson?: string;
|
|
250
242
|
}
|
|
251
243
|
export interface EntityDeletedEvent {
|
|
252
|
-
/** Entity that was deleted */
|
|
244
|
+
/** Entity that was deleted. */
|
|
253
245
|
deletedEntityAsJson?: string | null;
|
|
254
246
|
}
|
|
255
247
|
export interface ActionEvent {
|
|
@@ -189,25 +189,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
189
189
|
updatedEvent?: EntityUpdatedEvent;
|
|
190
190
|
deletedEvent?: EntityDeletedEvent;
|
|
191
191
|
actionEvent?: ActionEvent;
|
|
192
|
-
/**
|
|
193
|
-
* Unique event ID.
|
|
194
|
-
* Allows clients to ignore duplicate webhooks.
|
|
195
|
-
*/
|
|
192
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
196
193
|
_id?: string;
|
|
197
194
|
/**
|
|
198
|
-
*
|
|
199
|
-
*
|
|
195
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
196
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
200
197
|
*/
|
|
201
198
|
entityFqdn?: string;
|
|
202
199
|
/**
|
|
203
|
-
*
|
|
204
|
-
*
|
|
205
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
200
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
201
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
206
202
|
*/
|
|
207
203
|
slug?: string;
|
|
208
204
|
/** ID of the entity associated with the event. */
|
|
209
205
|
entityId?: string;
|
|
210
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
206
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
211
207
|
eventTime?: Date | null;
|
|
212
208
|
/**
|
|
213
209
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -217,12 +213,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
217
213
|
/** If present, indicates the action that triggered the event. */
|
|
218
214
|
originatedFrom?: string | null;
|
|
219
215
|
/**
|
|
220
|
-
* A sequence number
|
|
221
|
-
*
|
|
222
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
223
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
224
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
225
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
216
|
+
* 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.
|
|
217
|
+
* 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.
|
|
226
218
|
*/
|
|
227
219
|
entityEventSequence?: string | null;
|
|
228
220
|
}
|
|
@@ -248,7 +240,7 @@ export interface EntityUpdatedEvent {
|
|
|
248
240
|
currentEntity?: string;
|
|
249
241
|
}
|
|
250
242
|
export interface EntityDeletedEvent {
|
|
251
|
-
/** Entity that was deleted */
|
|
243
|
+
/** Entity that was deleted. */
|
|
252
244
|
deletedEntity?: string | null;
|
|
253
245
|
}
|
|
254
246
|
export interface ActionEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identity-oauth-v1-refresh-token-oauth.universal.js","sourceRoot":"","sources":["../../../src/identity-oauth-v1-refresh-token-oauth.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,wCAAwC,MAAM,iDAAiD,CAAC;AA2L5G,MAAM,CAAN,IAAY,WAWX;AAXD,WAAY,WAAW;IACrB,2BAA2B;IAC3B,kCAAmB,CAAA;IACnB,wBAAwB;IACxB,4BAAa,CAAA;IACb,2BAA2B;IAC3B,kCAAmB,CAAA;IACnB,0BAA0B;IAC1B,gCAAiB,CAAA;IACjB,uBAAuB;IACvB,0BAAW,CAAA;AACb,CAAC,EAXW,WAAW,KAAX,WAAW,QAWtB;
|
|
1
|
+
{"version":3,"file":"identity-oauth-v1-refresh-token-oauth.universal.js","sourceRoot":"","sources":["../../../src/identity-oauth-v1-refresh-token-oauth.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,wCAAwC,MAAM,iDAAiD,CAAC;AA2L5G,MAAM,CAAN,IAAY,WAWX;AAXD,WAAY,WAAW;IACrB,2BAA2B;IAC3B,kCAAmB,CAAA;IACnB,wBAAwB;IACxB,4BAAa,CAAA;IACb,2BAA2B;IAC3B,kCAAmB,CAAA;IACnB,0BAA0B;IAC1B,gCAAiB,CAAA;IACjB,uBAAuB;IACvB,0BAAW,CAAA;AACb,CAAC,EAXW,WAAW,KAAX,WAAW,QAWtB;AAyED;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,CAAC,KAAK,UAAU,KAAK,CACzB,OAAsB;IAOtB,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,qCAAqC,CAAC;QACpD,IAAI,EAAE,OAAO,EAAE,IAAI;QACnB,UAAU,EAAE,OAAO,EAAE,UAAU;QAC/B,WAAW,EAAE,OAAO,EAAE,WAAW;QACjC,OAAO,EAAE,OAAO,EAAE,OAAO;QACzB,MAAM,EAAE,OAAO,EAAE,MAAM;QACvB,OAAO,EAAE,OAAO,EAAE,OAAO;QACzB,QAAQ,EAAE,OAAO,EAAE,QAAQ;KAC5B,CAAC,CAAC;IAEH,MAAM,OAAO,GAAG,w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EAAE,QAAQ;KAC5B,CAAC,CAAC;IAEH,MAAM,OAAO,GAAG,wCAAwC,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;IAE5E,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,uCAAuC,CAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE;gBACxB,IAAI,EAAE,WAAW;gBACjB,UAAU,EAAE,iBAAiB;gBAC7B,WAAW,EAAE,kBAAkB;gBAC/B,OAAO,EAAE,cAAc;gBACvB,MAAM,EAAE,aAAa;gBACrB,OAAO,EAAE,cAAc;gBACvB,QAAQ,EAAE,eAAe;aAC1B;YACD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,SAAS,CAAC,CACZ,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
|
|
@@ -188,25 +188,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
188
188
|
updatedEvent?: EntityUpdatedEvent;
|
|
189
189
|
deletedEvent?: EntityDeletedEvent;
|
|
190
190
|
actionEvent?: ActionEvent;
|
|
191
|
-
/**
|
|
192
|
-
* Unique event ID.
|
|
193
|
-
* Allows clients to ignore duplicate webhooks.
|
|
194
|
-
*/
|
|
191
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
195
192
|
id?: string;
|
|
196
193
|
/**
|
|
197
|
-
*
|
|
198
|
-
*
|
|
194
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
195
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
199
196
|
*/
|
|
200
197
|
entityFqdn?: string;
|
|
201
198
|
/**
|
|
202
|
-
*
|
|
203
|
-
*
|
|
204
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
199
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
200
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
205
201
|
*/
|
|
206
202
|
slug?: string;
|
|
207
203
|
/** ID of the entity associated with the event. */
|
|
208
204
|
entityId?: string;
|
|
209
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
205
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
210
206
|
eventTime?: Date | null;
|
|
211
207
|
/**
|
|
212
208
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -216,12 +212,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
216
212
|
/** If present, indicates the action that triggered the event. */
|
|
217
213
|
originatedFrom?: string | null;
|
|
218
214
|
/**
|
|
219
|
-
* A sequence number
|
|
220
|
-
*
|
|
221
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
222
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
223
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
224
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
215
|
+
* 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.
|
|
216
|
+
* 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.
|
|
225
217
|
*/
|
|
226
218
|
entityEventSequence?: string | null;
|
|
227
219
|
}
|
|
@@ -249,7 +241,7 @@ export interface EntityUpdatedEvent {
|
|
|
249
241
|
currentEntityAsJson?: string;
|
|
250
242
|
}
|
|
251
243
|
export interface EntityDeletedEvent {
|
|
252
|
-
/** Entity that was deleted */
|
|
244
|
+
/** Entity that was deleted. */
|
|
253
245
|
deletedEntityAsJson?: string | null;
|
|
254
246
|
}
|
|
255
247
|
export interface ActionEvent {
|
|
@@ -189,25 +189,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
189
189
|
updatedEvent?: EntityUpdatedEvent;
|
|
190
190
|
deletedEvent?: EntityDeletedEvent;
|
|
191
191
|
actionEvent?: ActionEvent;
|
|
192
|
-
/**
|
|
193
|
-
* Unique event ID.
|
|
194
|
-
* Allows clients to ignore duplicate webhooks.
|
|
195
|
-
*/
|
|
192
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
196
193
|
_id?: string;
|
|
197
194
|
/**
|
|
198
|
-
*
|
|
199
|
-
*
|
|
195
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
196
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
200
197
|
*/
|
|
201
198
|
entityFqdn?: string;
|
|
202
199
|
/**
|
|
203
|
-
*
|
|
204
|
-
*
|
|
205
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
200
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
201
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
206
202
|
*/
|
|
207
203
|
slug?: string;
|
|
208
204
|
/** ID of the entity associated with the event. */
|
|
209
205
|
entityId?: string;
|
|
210
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
206
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
211
207
|
eventTime?: Date | null;
|
|
212
208
|
/**
|
|
213
209
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -217,12 +213,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
217
213
|
/** If present, indicates the action that triggered the event. */
|
|
218
214
|
originatedFrom?: string | null;
|
|
219
215
|
/**
|
|
220
|
-
* A sequence number
|
|
221
|
-
*
|
|
222
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
223
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
224
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
225
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
216
|
+
* 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.
|
|
217
|
+
* 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.
|
|
226
218
|
*/
|
|
227
219
|
entityEventSequence?: string | null;
|
|
228
220
|
}
|
|
@@ -248,7 +240,7 @@ export interface EntityUpdatedEvent {
|
|
|
248
240
|
currentEntity?: string;
|
|
249
241
|
}
|
|
250
242
|
export interface EntityDeletedEvent {
|
|
251
|
-
/** Entity that was deleted */
|
|
243
|
+
/** Entity that was deleted. */
|
|
252
244
|
deletedEntity?: string | null;
|
|
253
245
|
}
|
|
254
246
|
export interface ActionEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identity-oauth-v1-refresh-token-oauth.universal.js","sourceRoot":"","sources":["../../../../src/identity-oauth-v1-refresh-token-oauth.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,0HAA4G;AA2L5G,IAAY,WAWX;AAXD,WAAY,WAAW;IACrB,2BAA2B;IAC3B,kCAAmB,CAAA;IACnB,wBAAwB;IACxB,4BAAa,CAAA;IACb,2BAA2B;IAC3B,kCAAmB,CAAA;IACnB,0BAA0B;IAC1B,gCAAiB,CAAA;IACjB,uBAAuB;IACvB,0BAAW,CAAA;AACb,CAAC,EAXW,WAAW,2BAAX,WAAW,QAWtB;
|
|
1
|
+
{"version":3,"file":"identity-oauth-v1-refresh-token-oauth.universal.js","sourceRoot":"","sources":["../../../../src/identity-oauth-v1-refresh-token-oauth.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,0HAA4G;AA2L5G,IAAY,WAWX;AAXD,WAAY,WAAW;IACrB,2BAA2B;IAC3B,kCAAmB,CAAA;IACnB,wBAAwB;IACxB,4BAAa,CAAA;IACb,2BAA2B;IAC3B,kCAAmB,CAAA;IACnB,0BAA0B;IAC1B,gCAAiB,CAAA;IACjB,uBAAuB;IACvB,0BAAW,CAAA;AACb,CAAC,EAXW,WAAW,2BAAX,WAAW,QAWtB;AAyED;;;;;;;;;;;;;;;;;;GAkBG;AACI,KAAK,UAAU,KAAK,CACzB,OAAsB;IAOtB,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC;QACpD,IAAI,EAAE,OAAO,EAAE,IAAI;QACnB,UAAU,EAAE,OAAO,EAAE,UAAU;QAC/B,WAAW,EAAE,OAAO,EAAE,WAAW;QACjC,OAAO,EAAE,OAAO,EAAE,OAAO;QACzB,MAAM,EAAE,OAAO,EAAE,MAAM;QACvB,OAAO,EAAE,OAAO,EAAE,OAAO;QACzB,QAAQ,EAAE,OAAO,EAAE,QAAQ;KAC5B,CAAC,CAAC;IAEH,MAAM,OAAO,GAAG,wCAAwC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IAExE,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAA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S,CAAC,OAAO,CAAC,CAAC;IAE5E,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,IAAA,gEAAuC,EAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE;gBACxB,IAAI,EAAE,WAAW;gBACjB,UAAU,EAAE,iBAAiB;gBAC7B,WAAW,EAAE,kBAAkB;gBAC/B,OAAO,EAAE,cAAc;gBACvB,MAAM,EAAE,aAAa;gBACrB,OAAO,EAAE,cAAc;gBACvB,QAAQ,EAAE,eAAe;aAC1B;YACD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,SAAS,CAAC,CACZ,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAtDD,8BAsDC"}
|
|
@@ -188,25 +188,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
188
188
|
updatedEvent?: EntityUpdatedEvent;
|
|
189
189
|
deletedEvent?: EntityDeletedEvent;
|
|
190
190
|
actionEvent?: ActionEvent;
|
|
191
|
-
/**
|
|
192
|
-
* Unique event ID.
|
|
193
|
-
* Allows clients to ignore duplicate webhooks.
|
|
194
|
-
*/
|
|
191
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
195
192
|
id?: string;
|
|
196
193
|
/**
|
|
197
|
-
*
|
|
198
|
-
*
|
|
194
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
195
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
199
196
|
*/
|
|
200
197
|
entityFqdn?: string;
|
|
201
198
|
/**
|
|
202
|
-
*
|
|
203
|
-
*
|
|
204
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
199
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
200
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
205
201
|
*/
|
|
206
202
|
slug?: string;
|
|
207
203
|
/** ID of the entity associated with the event. */
|
|
208
204
|
entityId?: string;
|
|
209
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
205
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
210
206
|
eventTime?: Date | null;
|
|
211
207
|
/**
|
|
212
208
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -216,12 +212,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
216
212
|
/** If present, indicates the action that triggered the event. */
|
|
217
213
|
originatedFrom?: string | null;
|
|
218
214
|
/**
|
|
219
|
-
* A sequence number
|
|
220
|
-
*
|
|
221
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
222
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
223
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
224
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
215
|
+
* 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.
|
|
216
|
+
* 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.
|
|
225
217
|
*/
|
|
226
218
|
entityEventSequence?: string | null;
|
|
227
219
|
}
|
|
@@ -249,7 +241,7 @@ export interface EntityUpdatedEvent {
|
|
|
249
241
|
currentEntityAsJson?: string;
|
|
250
242
|
}
|
|
251
243
|
export interface EntityDeletedEvent {
|
|
252
|
-
/** Entity that was deleted */
|
|
244
|
+
/** Entity that was deleted. */
|
|
253
245
|
deletedEntityAsJson?: string | null;
|
|
254
246
|
}
|
|
255
247
|
export interface ActionEvent {
|
|
@@ -189,25 +189,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
189
189
|
updatedEvent?: EntityUpdatedEvent;
|
|
190
190
|
deletedEvent?: EntityDeletedEvent;
|
|
191
191
|
actionEvent?: ActionEvent;
|
|
192
|
-
/**
|
|
193
|
-
* Unique event ID.
|
|
194
|
-
* Allows clients to ignore duplicate webhooks.
|
|
195
|
-
*/
|
|
192
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
196
193
|
_id?: string;
|
|
197
194
|
/**
|
|
198
|
-
*
|
|
199
|
-
*
|
|
195
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
196
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
200
197
|
*/
|
|
201
198
|
entityFqdn?: string;
|
|
202
199
|
/**
|
|
203
|
-
*
|
|
204
|
-
*
|
|
205
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
200
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
201
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
206
202
|
*/
|
|
207
203
|
slug?: string;
|
|
208
204
|
/** ID of the entity associated with the event. */
|
|
209
205
|
entityId?: string;
|
|
210
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
206
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
211
207
|
eventTime?: Date | null;
|
|
212
208
|
/**
|
|
213
209
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -217,12 +213,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
217
213
|
/** If present, indicates the action that triggered the event. */
|
|
218
214
|
originatedFrom?: string | null;
|
|
219
215
|
/**
|
|
220
|
-
* A sequence number
|
|
221
|
-
*
|
|
222
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
223
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
224
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
225
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
216
|
+
* 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.
|
|
217
|
+
* 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.
|
|
226
218
|
*/
|
|
227
219
|
entityEventSequence?: string | null;
|
|
228
220
|
}
|
|
@@ -248,7 +240,7 @@ export interface EntityUpdatedEvent {
|
|
|
248
240
|
currentEntity?: string;
|
|
249
241
|
}
|
|
250
242
|
export interface EntityDeletedEvent {
|
|
251
|
-
/** Entity that was deleted */
|
|
243
|
+
/** Entity that was deleted. */
|
|
252
244
|
deletedEntity?: string | null;
|
|
253
245
|
}
|
|
254
246
|
export interface ActionEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identity-oauth-v1-refresh-token-oauth.universal.js","sourceRoot":"","sources":["../../../../src/identity-oauth-v1-refresh-token-oauth.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,wCAAwC,MAAM,iDAAiD,CAAC;AA2L5G,MAAM,CAAN,IAAY,WAWX;AAXD,WAAY,WAAW;IACrB,2BAA2B;IAC3B,kCAAmB,CAAA;IACnB,wBAAwB;IACxB,4BAAa,CAAA;IACb,2BAA2B;IAC3B,kCAAmB,CAAA;IACnB,0BAA0B;IAC1B,gCAAiB,CAAA;IACjB,uBAAuB;IACvB,0BAAW,CAAA;AACb,CAAC,EAXW,WAAW,KAAX,WAAW,QAWtB;
|
|
1
|
+
{"version":3,"file":"identity-oauth-v1-refresh-token-oauth.universal.js","sourceRoot":"","sources":["../../../../src/identity-oauth-v1-refresh-token-oauth.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,wCAAwC,MAAM,iDAAiD,CAAC;AA2L5G,MAAM,CAAN,IAAY,WAWX;AAXD,WAAY,WAAW;IACrB,2BAA2B;IAC3B,kCAAmB,CAAA;IACnB,wBAAwB;IACxB,4BAAa,CAAA;IACb,2BAA2B;IAC3B,kCAAmB,CAAA;IACnB,0BAA0B;IAC1B,gCAAiB,CAAA;IACjB,uBAAuB;IACvB,0BAAW,CAAA;AACb,CAAC,EAXW,WAAW,KAAX,WAAW,QAWtB;AAyED;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,CAAC,KAAK,UAAU,KAAK,CACzB,OAAsB;IAOtB,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,qCAAqC,CAAC;QACpD,IAAI,EAAE,OAAO,EAAE,IAAI;QACnB,UAAU,EAAE,OAAO,EAAE,UAAU;QAC/B,WAAW,EAAE,OAAO,EAAE,WAAW;QACjC,OAAO,EAAE,OAAO,EAAE,OAAO;QACzB,MAAM,EAAE,OAAO,EAAE,MAAM;QACvB,OAAO,EAAE,OAAO,E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B,MAAM,EAAE,OAAO,EAAE,MAAM;QACvB,OAAO,EAAE,OAAO,EAAE,OAAO;QACzB,QAAQ,EAAE,OAAO,EAAE,QAAQ;KAC5B,CAAC,CAAC;IAEH,MAAM,OAAO,GAAG,wCAAwC,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;IAE5E,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,uCAAuC,CAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE;gBACxB,IAAI,EAAE,WAAW;gBACjB,UAAU,EAAE,iBAAiB;gBAC7B,WAAW,EAAE,kBAAkB;gBAC/B,OAAO,EAAE,cAAc;gBACvB,MAAM,EAAE,aAAa;gBACrB,OAAO,EAAE,cAAc;gBACvB,QAAQ,EAAE,eAAe;aAC1B;YACD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,SAAS,CAAC,CACZ,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_identity_oauth",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"service-plugins"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@wix/sdk-runtime": "^0.3.
|
|
32
|
-
"@wix/sdk-types": "^1.13.
|
|
31
|
+
"@wix/sdk-runtime": "^0.3.49",
|
|
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.identity.oauth.v1.refresh_token"
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
|
-
"falconPackageHash": "
|
|
51
|
+
"falconPackageHash": "b7923c981e98e7e12d672f7566ae34b044113150446fa9348328c9e6"
|
|
52
52
|
}
|