@wix/auto_sdk_identity_oauth 1.0.7 → 1.0.9

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.
@@ -148,7 +148,7 @@ export interface RevokeRefreshTokenResponse {
148
148
  export interface TokenInfoResponse {
149
149
  active?: boolean;
150
150
  /** subject type. */
151
- subjectType?: SubjectType;
151
+ subjectType?: SubjectTypeWithLiterals;
152
152
  /** subject id */
153
153
  subjectId?: string;
154
154
  /** Expiration time of the token */
@@ -181,6 +181,8 @@ export declare enum SubjectType {
181
181
  /** app subject type */
182
182
  APP = "APP"
183
183
  }
184
+ /** @enumType */
185
+ export type SubjectTypeWithLiterals = SubjectType | 'UNKNOWN' | 'USER' | 'VISITOR' | 'MEMBER' | 'APP';
184
186
  export interface Empty {
185
187
  }
186
188
  export interface DomainEvent extends DomainEventBodyOneOf {
@@ -188,25 +190,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
188
190
  updatedEvent?: EntityUpdatedEvent;
189
191
  deletedEvent?: EntityDeletedEvent;
190
192
  actionEvent?: ActionEvent;
191
- /**
192
- * Unique event ID.
193
- * Allows clients to ignore duplicate webhooks.
194
- */
193
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
195
194
  id?: string;
196
195
  /**
197
- * Assumes actions are also always typed to an entity_type
198
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
196
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
197
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
199
198
  */
200
199
  entityFqdn?: string;
201
200
  /**
202
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
203
- * This is although the created/updated/deleted notion is duplication of the oneof types
204
- * Example: created/updated/deleted/started/completed/email_opened
201
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
202
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
205
203
  */
206
204
  slug?: string;
207
205
  /** ID of the entity associated with the event. */
208
206
  entityId?: string;
209
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
207
+ /** 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
208
  eventTime?: Date | null;
211
209
  /**
212
210
  * Whether the event was triggered as a result of a privacy regulation application
@@ -216,12 +214,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
216
214
  /** If present, indicates the action that triggered the event. */
217
215
  originatedFrom?: string | null;
218
216
  /**
219
- * A sequence number defining the order of updates to the underlying entity.
220
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
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.
217
+ * 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.
218
+ * 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
219
  */
226
220
  entityEventSequence?: string | null;
227
221
  }
@@ -249,7 +243,7 @@ export interface EntityUpdatedEvent {
249
243
  currentEntityAsJson?: string;
250
244
  }
251
245
  export interface EntityDeletedEvent {
252
- /** Entity that was deleted */
246
+ /** Entity that was deleted. */
253
247
  deletedEntityAsJson?: string | null;
254
248
  }
255
249
  export interface ActionEvent {
@@ -149,7 +149,7 @@ export interface RevokeRefreshTokenResponse {
149
149
  export interface TokenInfoResponse {
150
150
  active?: boolean;
151
151
  /** subject type. */
152
- subjectType?: SubjectType;
152
+ subjectType?: SubjectTypeWithLiterals;
153
153
  /** subject id */
154
154
  subjectId?: string;
155
155
  /** Expiration time of the token */
@@ -182,6 +182,8 @@ export declare enum SubjectType {
182
182
  /** app subject type */
183
183
  APP = "APP"
184
184
  }
185
+ /** @enumType */
186
+ export type SubjectTypeWithLiterals = SubjectType | 'UNKNOWN' | 'USER' | 'VISITOR' | 'MEMBER' | 'APP';
185
187
  export interface Empty {
186
188
  }
187
189
  export interface DomainEvent extends DomainEventBodyOneOf {
@@ -189,25 +191,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
189
191
  updatedEvent?: EntityUpdatedEvent;
190
192
  deletedEvent?: EntityDeletedEvent;
191
193
  actionEvent?: ActionEvent;
192
- /**
193
- * Unique event ID.
194
- * Allows clients to ignore duplicate webhooks.
195
- */
194
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
196
195
  _id?: string;
197
196
  /**
198
- * Assumes actions are also always typed to an entity_type
199
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
197
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
198
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
200
199
  */
201
200
  entityFqdn?: string;
202
201
  /**
203
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
204
- * This is although the created/updated/deleted notion is duplication of the oneof types
205
- * Example: created/updated/deleted/started/completed/email_opened
202
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
203
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
206
204
  */
207
205
  slug?: string;
208
206
  /** ID of the entity associated with the event. */
209
207
  entityId?: string;
210
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
208
+ /** 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
209
  eventTime?: Date | null;
212
210
  /**
213
211
  * Whether the event was triggered as a result of a privacy regulation application
@@ -217,12 +215,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
217
215
  /** If present, indicates the action that triggered the event. */
218
216
  originatedFrom?: string | null;
219
217
  /**
220
- * A sequence number defining the order of updates to the underlying entity.
221
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
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.
218
+ * 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.
219
+ * 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
220
  */
227
221
  entityEventSequence?: string | null;
228
222
  }
@@ -248,7 +242,7 @@ export interface EntityUpdatedEvent {
248
242
  currentEntity?: string;
249
243
  }
250
244
  export interface EntityDeletedEvent {
251
- /** Entity that was deleted */
245
+ /** Entity that was deleted. */
252
246
  deletedEntity?: string | null;
253
247
  }
254
248
  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;AAiFD;;;;;;;;;;;;;;;;;;GAkBG;AACI,KAAK,UAAU,KAAK,CACzB,OAAsB;IAOtB,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EA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AM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAtDD,8BAsDC"}
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;AAkFD;;;;;;;;;;;;;;;;;;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,EAAE,SAAS,EAAE,CAAC,MAAM,CA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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"}
@@ -148,7 +148,7 @@ export interface RevokeRefreshTokenResponse {
148
148
  export interface TokenInfoResponse {
149
149
  active?: boolean;
150
150
  /** subject type. */
151
- subjectType?: SubjectType;
151
+ subjectType?: SubjectTypeWithLiterals;
152
152
  /** subject id */
153
153
  subjectId?: string;
154
154
  /** Expiration time of the token */
@@ -181,6 +181,8 @@ export declare enum SubjectType {
181
181
  /** app subject type */
182
182
  APP = "APP"
183
183
  }
184
+ /** @enumType */
185
+ export type SubjectTypeWithLiterals = SubjectType | 'UNKNOWN' | 'USER' | 'VISITOR' | 'MEMBER' | 'APP';
184
186
  export interface Empty {
185
187
  }
186
188
  export interface DomainEvent extends DomainEventBodyOneOf {
@@ -188,25 +190,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
188
190
  updatedEvent?: EntityUpdatedEvent;
189
191
  deletedEvent?: EntityDeletedEvent;
190
192
  actionEvent?: ActionEvent;
191
- /**
192
- * Unique event ID.
193
- * Allows clients to ignore duplicate webhooks.
194
- */
193
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
195
194
  id?: string;
196
195
  /**
197
- * Assumes actions are also always typed to an entity_type
198
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
196
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
197
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
199
198
  */
200
199
  entityFqdn?: string;
201
200
  /**
202
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
203
- * This is although the created/updated/deleted notion is duplication of the oneof types
204
- * Example: created/updated/deleted/started/completed/email_opened
201
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
202
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
205
203
  */
206
204
  slug?: string;
207
205
  /** ID of the entity associated with the event. */
208
206
  entityId?: string;
209
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
207
+ /** 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
208
  eventTime?: Date | null;
211
209
  /**
212
210
  * Whether the event was triggered as a result of a privacy regulation application
@@ -216,12 +214,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
216
214
  /** If present, indicates the action that triggered the event. */
217
215
  originatedFrom?: string | null;
218
216
  /**
219
- * A sequence number defining the order of updates to the underlying entity.
220
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
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.
217
+ * 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.
218
+ * 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
219
  */
226
220
  entityEventSequence?: string | null;
227
221
  }
@@ -249,7 +243,7 @@ export interface EntityUpdatedEvent {
249
243
  currentEntityAsJson?: string;
250
244
  }
251
245
  export interface EntityDeletedEvent {
252
- /** Entity that was deleted */
246
+ /** Entity that was deleted. */
253
247
  deletedEntityAsJson?: string | null;
254
248
  }
255
249
  export interface ActionEvent {
@@ -149,7 +149,7 @@ export interface RevokeRefreshTokenResponse {
149
149
  export interface TokenInfoResponse {
150
150
  active?: boolean;
151
151
  /** subject type. */
152
- subjectType?: SubjectType;
152
+ subjectType?: SubjectTypeWithLiterals;
153
153
  /** subject id */
154
154
  subjectId?: string;
155
155
  /** Expiration time of the token */
@@ -182,6 +182,8 @@ export declare enum SubjectType {
182
182
  /** app subject type */
183
183
  APP = "APP"
184
184
  }
185
+ /** @enumType */
186
+ export type SubjectTypeWithLiterals = SubjectType | 'UNKNOWN' | 'USER' | 'VISITOR' | 'MEMBER' | 'APP';
185
187
  export interface Empty {
186
188
  }
187
189
  export interface DomainEvent extends DomainEventBodyOneOf {
@@ -189,25 +191,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
189
191
  updatedEvent?: EntityUpdatedEvent;
190
192
  deletedEvent?: EntityDeletedEvent;
191
193
  actionEvent?: ActionEvent;
192
- /**
193
- * Unique event ID.
194
- * Allows clients to ignore duplicate webhooks.
195
- */
194
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
196
195
  _id?: string;
197
196
  /**
198
- * Assumes actions are also always typed to an entity_type
199
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
197
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
198
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
200
199
  */
201
200
  entityFqdn?: string;
202
201
  /**
203
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
204
- * This is although the created/updated/deleted notion is duplication of the oneof types
205
- * Example: created/updated/deleted/started/completed/email_opened
202
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
203
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
206
204
  */
207
205
  slug?: string;
208
206
  /** ID of the entity associated with the event. */
209
207
  entityId?: string;
210
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
208
+ /** 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
209
  eventTime?: Date | null;
212
210
  /**
213
211
  * Whether the event was triggered as a result of a privacy regulation application
@@ -217,12 +215,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
217
215
  /** If present, indicates the action that triggered the event. */
218
216
  originatedFrom?: string | null;
219
217
  /**
220
- * A sequence number defining the order of updates to the underlying entity.
221
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
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.
218
+ * 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.
219
+ * 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
220
  */
227
221
  entityEventSequence?: string | null;
228
222
  }
@@ -248,7 +242,7 @@ export interface EntityUpdatedEvent {
248
242
  currentEntity?: string;
249
243
  }
250
244
  export interface EntityDeletedEvent {
251
- /** Entity that was deleted */
245
+ /** Entity that was deleted. */
252
246
  deletedEntity?: string | null;
253
247
  }
254
248
  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;AAiFD;;;;;;;;;;;;;;;;;;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,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,OAA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C;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"}
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,WA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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"}
@@ -148,7 +148,7 @@ export interface RevokeRefreshTokenResponse {
148
148
  export interface TokenInfoResponse {
149
149
  active?: boolean;
150
150
  /** subject type. */
151
- subjectType?: SubjectType;
151
+ subjectType?: SubjectTypeWithLiterals;
152
152
  /** subject id */
153
153
  subjectId?: string;
154
154
  /** Expiration time of the token */
@@ -181,6 +181,8 @@ export declare enum SubjectType {
181
181
  /** app subject type */
182
182
  APP = "APP"
183
183
  }
184
+ /** @enumType */
185
+ export type SubjectTypeWithLiterals = SubjectType | 'UNKNOWN' | 'USER' | 'VISITOR' | 'MEMBER' | 'APP';
184
186
  export interface Empty {
185
187
  }
186
188
  export interface DomainEvent extends DomainEventBodyOneOf {
@@ -188,25 +190,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
188
190
  updatedEvent?: EntityUpdatedEvent;
189
191
  deletedEvent?: EntityDeletedEvent;
190
192
  actionEvent?: ActionEvent;
191
- /**
192
- * Unique event ID.
193
- * Allows clients to ignore duplicate webhooks.
194
- */
193
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
195
194
  id?: string;
196
195
  /**
197
- * Assumes actions are also always typed to an entity_type
198
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
196
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
197
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
199
198
  */
200
199
  entityFqdn?: string;
201
200
  /**
202
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
203
- * This is although the created/updated/deleted notion is duplication of the oneof types
204
- * Example: created/updated/deleted/started/completed/email_opened
201
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
202
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
205
203
  */
206
204
  slug?: string;
207
205
  /** ID of the entity associated with the event. */
208
206
  entityId?: string;
209
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
207
+ /** 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
208
  eventTime?: Date | null;
211
209
  /**
212
210
  * Whether the event was triggered as a result of a privacy regulation application
@@ -216,12 +214,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
216
214
  /** If present, indicates the action that triggered the event. */
217
215
  originatedFrom?: string | null;
218
216
  /**
219
- * A sequence number defining the order of updates to the underlying entity.
220
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
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.
217
+ * 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.
218
+ * 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
219
  */
226
220
  entityEventSequence?: string | null;
227
221
  }
@@ -249,7 +243,7 @@ export interface EntityUpdatedEvent {
249
243
  currentEntityAsJson?: string;
250
244
  }
251
245
  export interface EntityDeletedEvent {
252
- /** Entity that was deleted */
246
+ /** Entity that was deleted. */
253
247
  deletedEntityAsJson?: string | null;
254
248
  }
255
249
  export interface ActionEvent {
@@ -149,7 +149,7 @@ export interface RevokeRefreshTokenResponse {
149
149
  export interface TokenInfoResponse {
150
150
  active?: boolean;
151
151
  /** subject type. */
152
- subjectType?: SubjectType;
152
+ subjectType?: SubjectTypeWithLiterals;
153
153
  /** subject id */
154
154
  subjectId?: string;
155
155
  /** Expiration time of the token */
@@ -182,6 +182,8 @@ export declare enum SubjectType {
182
182
  /** app subject type */
183
183
  APP = "APP"
184
184
  }
185
+ /** @enumType */
186
+ export type SubjectTypeWithLiterals = SubjectType | 'UNKNOWN' | 'USER' | 'VISITOR' | 'MEMBER' | 'APP';
185
187
  export interface Empty {
186
188
  }
187
189
  export interface DomainEvent extends DomainEventBodyOneOf {
@@ -189,25 +191,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
189
191
  updatedEvent?: EntityUpdatedEvent;
190
192
  deletedEvent?: EntityDeletedEvent;
191
193
  actionEvent?: ActionEvent;
192
- /**
193
- * Unique event ID.
194
- * Allows clients to ignore duplicate webhooks.
195
- */
194
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
196
195
  _id?: string;
197
196
  /**
198
- * Assumes actions are also always typed to an entity_type
199
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
197
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
198
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
200
199
  */
201
200
  entityFqdn?: string;
202
201
  /**
203
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
204
- * This is although the created/updated/deleted notion is duplication of the oneof types
205
- * Example: created/updated/deleted/started/completed/email_opened
202
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
203
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
206
204
  */
207
205
  slug?: string;
208
206
  /** ID of the entity associated with the event. */
209
207
  entityId?: string;
210
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
208
+ /** 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
209
  eventTime?: Date | null;
212
210
  /**
213
211
  * Whether the event was triggered as a result of a privacy regulation application
@@ -217,12 +215,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
217
215
  /** If present, indicates the action that triggered the event. */
218
216
  originatedFrom?: string | null;
219
217
  /**
220
- * A sequence number defining the order of updates to the underlying entity.
221
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
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.
218
+ * 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.
219
+ * 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
220
  */
227
221
  entityEventSequence?: string | null;
228
222
  }
@@ -248,7 +242,7 @@ export interface EntityUpdatedEvent {
248
242
  currentEntity?: string;
249
243
  }
250
244
  export interface EntityDeletedEvent {
251
- /** Entity that was deleted */
245
+ /** Entity that was deleted. */
252
246
  deletedEntity?: string | null;
253
247
  }
254
248
  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;AAiFD;;;;;;;;;;;;;;;;;;GAkBG;AACI,KAAK,UAAU,KAAK,CACzB,OAAsB;IAOtB,aAA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EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAtDD,8BAsDC"}
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;AAkFD;;;;;;;;;;;;;;;;;;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;QACj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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"}
@@ -148,7 +148,7 @@ export interface RevokeRefreshTokenResponse {
148
148
  export interface TokenInfoResponse {
149
149
  active?: boolean;
150
150
  /** subject type. */
151
- subjectType?: SubjectType;
151
+ subjectType?: SubjectTypeWithLiterals;
152
152
  /** subject id */
153
153
  subjectId?: string;
154
154
  /** Expiration time of the token */
@@ -181,6 +181,8 @@ export declare enum SubjectType {
181
181
  /** app subject type */
182
182
  APP = "APP"
183
183
  }
184
+ /** @enumType */
185
+ export type SubjectTypeWithLiterals = SubjectType | 'UNKNOWN' | 'USER' | 'VISITOR' | 'MEMBER' | 'APP';
184
186
  export interface Empty {
185
187
  }
186
188
  export interface DomainEvent extends DomainEventBodyOneOf {
@@ -188,25 +190,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
188
190
  updatedEvent?: EntityUpdatedEvent;
189
191
  deletedEvent?: EntityDeletedEvent;
190
192
  actionEvent?: ActionEvent;
191
- /**
192
- * Unique event ID.
193
- * Allows clients to ignore duplicate webhooks.
194
- */
193
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
195
194
  id?: string;
196
195
  /**
197
- * Assumes actions are also always typed to an entity_type
198
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
196
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
197
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
199
198
  */
200
199
  entityFqdn?: string;
201
200
  /**
202
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
203
- * This is although the created/updated/deleted notion is duplication of the oneof types
204
- * Example: created/updated/deleted/started/completed/email_opened
201
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
202
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
205
203
  */
206
204
  slug?: string;
207
205
  /** ID of the entity associated with the event. */
208
206
  entityId?: string;
209
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
207
+ /** 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
208
  eventTime?: Date | null;
211
209
  /**
212
210
  * Whether the event was triggered as a result of a privacy regulation application
@@ -216,12 +214,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
216
214
  /** If present, indicates the action that triggered the event. */
217
215
  originatedFrom?: string | null;
218
216
  /**
219
- * A sequence number defining the order of updates to the underlying entity.
220
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
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.
217
+ * 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.
218
+ * 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
219
  */
226
220
  entityEventSequence?: string | null;
227
221
  }
@@ -249,7 +243,7 @@ export interface EntityUpdatedEvent {
249
243
  currentEntityAsJson?: string;
250
244
  }
251
245
  export interface EntityDeletedEvent {
252
- /** Entity that was deleted */
246
+ /** Entity that was deleted. */
253
247
  deletedEntityAsJson?: string | null;
254
248
  }
255
249
  export interface ActionEvent {
@@ -149,7 +149,7 @@ export interface RevokeRefreshTokenResponse {
149
149
  export interface TokenInfoResponse {
150
150
  active?: boolean;
151
151
  /** subject type. */
152
- subjectType?: SubjectType;
152
+ subjectType?: SubjectTypeWithLiterals;
153
153
  /** subject id */
154
154
  subjectId?: string;
155
155
  /** Expiration time of the token */
@@ -182,6 +182,8 @@ export declare enum SubjectType {
182
182
  /** app subject type */
183
183
  APP = "APP"
184
184
  }
185
+ /** @enumType */
186
+ export type SubjectTypeWithLiterals = SubjectType | 'UNKNOWN' | 'USER' | 'VISITOR' | 'MEMBER' | 'APP';
185
187
  export interface Empty {
186
188
  }
187
189
  export interface DomainEvent extends DomainEventBodyOneOf {
@@ -189,25 +191,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
189
191
  updatedEvent?: EntityUpdatedEvent;
190
192
  deletedEvent?: EntityDeletedEvent;
191
193
  actionEvent?: ActionEvent;
192
- /**
193
- * Unique event ID.
194
- * Allows clients to ignore duplicate webhooks.
195
- */
194
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
196
195
  _id?: string;
197
196
  /**
198
- * Assumes actions are also always typed to an entity_type
199
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
197
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
198
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
200
199
  */
201
200
  entityFqdn?: string;
202
201
  /**
203
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
204
- * This is although the created/updated/deleted notion is duplication of the oneof types
205
- * Example: created/updated/deleted/started/completed/email_opened
202
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
203
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
206
204
  */
207
205
  slug?: string;
208
206
  /** ID of the entity associated with the event. */
209
207
  entityId?: string;
210
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
208
+ /** 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
209
  eventTime?: Date | null;
212
210
  /**
213
211
  * Whether the event was triggered as a result of a privacy regulation application
@@ -217,12 +215,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
217
215
  /** If present, indicates the action that triggered the event. */
218
216
  originatedFrom?: string | null;
219
217
  /**
220
- * A sequence number defining the order of updates to the underlying entity.
221
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
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.
218
+ * 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.
219
+ * 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
220
  */
227
221
  entityEventSequence?: string | null;
228
222
  }
@@ -248,7 +242,7 @@ export interface EntityUpdatedEvent {
248
242
  currentEntity?: string;
249
243
  }
250
244
  export interface EntityDeletedEvent {
251
- /** Entity that was deleted */
245
+ /** Entity that was deleted. */
252
246
  deletedEntity?: string | null;
253
247
  }
254
248
  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;AAiFD;;;;;;;;;;;;;;;;;;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,wCAAwC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IAExE,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAA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,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"}
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,uBA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vB,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.7",
3
+ "version": "1.0.9",
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.42",
32
- "@wix/sdk-types": "^1.13.16"
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": "4e38c5f755760d5e138d87e695910e8fc1a0eb18f08ee0efd119440b"
51
+ "falconPackageHash": "696e77b890fe8a999ded1a95ac782b3a1613388bcf9fd61ceb53bdb8"
52
52
  }