@wix/auto_sdk_bookings_attendance 1.0.10 → 1.0.12
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/bookings-v2-attendance-attendance.types.d.ts +9 -17
- package/build/cjs/src/bookings-v2-attendance-attendance.types.js.map +1 -1
- package/build/cjs/src/bookings-v2-attendance-attendance.universal.d.ts +9 -17
- package/build/cjs/src/bookings-v2-attendance-attendance.universal.js.map +1 -1
- package/build/es/src/bookings-v2-attendance-attendance.types.d.ts +9 -17
- package/build/es/src/bookings-v2-attendance-attendance.types.js.map +1 -1
- package/build/es/src/bookings-v2-attendance-attendance.universal.d.ts +9 -17
- package/build/es/src/bookings-v2-attendance-attendance.universal.js.map +1 -1
- package/build/internal/cjs/src/bookings-v2-attendance-attendance.types.d.ts +9 -17
- package/build/internal/cjs/src/bookings-v2-attendance-attendance.types.js.map +1 -1
- package/build/internal/cjs/src/bookings-v2-attendance-attendance.universal.d.ts +9 -17
- package/build/internal/cjs/src/bookings-v2-attendance-attendance.universal.js.map +1 -1
- package/build/internal/es/src/bookings-v2-attendance-attendance.types.d.ts +9 -17
- package/build/internal/es/src/bookings-v2-attendance-attendance.types.js.map +1 -1
- package/build/internal/es/src/bookings-v2-attendance-attendance.universal.d.ts +9 -17
- package/build/internal/es/src/bookings-v2-attendance-attendance.universal.js.map +1 -1
- package/package.json +3 -3
|
@@ -249,25 +249,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
249
249
|
updatedEvent?: EntityUpdatedEvent;
|
|
250
250
|
deletedEvent?: EntityDeletedEvent;
|
|
251
251
|
actionEvent?: ActionEvent;
|
|
252
|
-
/**
|
|
253
|
-
* Unique event ID.
|
|
254
|
-
* Allows clients to ignore duplicate webhooks.
|
|
255
|
-
*/
|
|
252
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
256
253
|
id?: string;
|
|
257
254
|
/**
|
|
258
|
-
*
|
|
259
|
-
*
|
|
255
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
256
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
260
257
|
*/
|
|
261
258
|
entityFqdn?: string;
|
|
262
259
|
/**
|
|
263
|
-
*
|
|
264
|
-
*
|
|
265
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
260
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
261
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
266
262
|
*/
|
|
267
263
|
slug?: string;
|
|
268
264
|
/** ID of the entity associated with the event. */
|
|
269
265
|
entityId?: string;
|
|
270
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
266
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
271
267
|
eventTime?: Date | null;
|
|
272
268
|
/**
|
|
273
269
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -277,12 +273,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
277
273
|
/** If present, indicates the action that triggered the event. */
|
|
278
274
|
originatedFrom?: string | null;
|
|
279
275
|
/**
|
|
280
|
-
* A sequence number
|
|
281
|
-
*
|
|
282
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
283
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
284
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
285
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
276
|
+
* 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.
|
|
277
|
+
* 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.
|
|
286
278
|
*/
|
|
287
279
|
entityEventSequence?: string | null;
|
|
288
280
|
}
|
|
@@ -310,7 +302,7 @@ export interface EntityUpdatedEvent {
|
|
|
310
302
|
currentEntityAsJson?: string;
|
|
311
303
|
}
|
|
312
304
|
export interface EntityDeletedEvent {
|
|
313
|
-
/** Entity that was deleted */
|
|
305
|
+
/** Entity that was deleted. */
|
|
314
306
|
deletedEntityAsJson?: string | null;
|
|
315
307
|
}
|
|
316
308
|
export interface ActionEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-v2-attendance-attendance.types.js","sourceRoot":"","sources":["../../../src/bookings-v2-attendance-attendance.types.ts"],"names":[],"mappings":";;;AAwCA,IAAY,gBAOX;AAPD,WAAY,gBAAgB;IAC1B,oDAAoD;IACpD,uCAAmB,CAAA;IACnB,0DAA0D;IAC1D,yCAAqB,CAAA;IACrB,4CAA4C;IAC5C,iDAA6B,CAAA;AAC/B,CAAC,EAPW,gBAAgB,gCAAhB,gBAAgB,QAO3B;AAgKD;;;;GAIG;AACH,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;
|
|
1
|
+
{"version":3,"file":"bookings-v2-attendance-attendance.types.js","sourceRoot":"","sources":["../../../src/bookings-v2-attendance-attendance.types.ts"],"names":[],"mappings":";;;AAwCA,IAAY,gBAOX;AAPD,WAAY,gBAAgB;IAC1B,oDAAoD;IACpD,uCAAmB,CAAA;IACnB,0DAA0D;IAC1D,yCAAqB,CAAA;IACrB,4CAA4C;IAC5C,iDAA6B,CAAA;AAC/B,CAAC,EAPW,gBAAgB,gCAAhB,gBAAgB,QAO3B;AAgKD;;;;GAIG;AACH,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAiMD,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"}
|
|
@@ -250,25 +250,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
250
250
|
updatedEvent?: EntityUpdatedEvent;
|
|
251
251
|
deletedEvent?: EntityDeletedEvent;
|
|
252
252
|
actionEvent?: ActionEvent;
|
|
253
|
-
/**
|
|
254
|
-
* Unique event ID.
|
|
255
|
-
* Allows clients to ignore duplicate webhooks.
|
|
256
|
-
*/
|
|
253
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
257
254
|
_id?: string;
|
|
258
255
|
/**
|
|
259
|
-
*
|
|
260
|
-
*
|
|
256
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
257
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
261
258
|
*/
|
|
262
259
|
entityFqdn?: string;
|
|
263
260
|
/**
|
|
264
|
-
*
|
|
265
|
-
*
|
|
266
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
261
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
262
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
267
263
|
*/
|
|
268
264
|
slug?: string;
|
|
269
265
|
/** ID of the entity associated with the event. */
|
|
270
266
|
entityId?: string;
|
|
271
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
267
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
272
268
|
eventTime?: Date | null;
|
|
273
269
|
/**
|
|
274
270
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -278,12 +274,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
278
274
|
/** If present, indicates the action that triggered the event. */
|
|
279
275
|
originatedFrom?: string | null;
|
|
280
276
|
/**
|
|
281
|
-
* A sequence number
|
|
282
|
-
*
|
|
283
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
284
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
285
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
286
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
277
|
+
* 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.
|
|
278
|
+
* 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.
|
|
287
279
|
*/
|
|
288
280
|
entityEventSequence?: string | null;
|
|
289
281
|
}
|
|
@@ -309,7 +301,7 @@ export interface EntityUpdatedEvent {
|
|
|
309
301
|
currentEntity?: string;
|
|
310
302
|
}
|
|
311
303
|
export interface EntityDeletedEvent {
|
|
312
|
-
/** Entity that was deleted */
|
|
304
|
+
/** Entity that was deleted. */
|
|
313
305
|
deletedEntity?: string | null;
|
|
314
306
|
}
|
|
315
307
|
export interface ActionEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-v2-attendance-attendance.universal.js","sourceRoot":"","sources":["../../../src/bookings-v2-attendance-attendance.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,+GAAiG;AA2CjG,IAAY,gBAOX;AAPD,WAAY,gBAAgB;IAC1B,oDAAoD;IACpD,uCAAmB,CAAA;IACnB,0DAA0D;IAC1D,yCAAqB,CAAA;IACrB,4CAA4C;IAC5C,iDAA6B,CAAA;AAC/B,CAAC,EAPW,gBAAgB,gCAAhB,gBAAgB,QAO3B;AAgKD;;;;GAIG;AACH,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;
|
|
1
|
+
{"version":3,"file":"bookings-v2-attendance-attendance.universal.js","sourceRoot":"","sources":["../../../src/bookings-v2-attendance-attendance.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,+GAAiG;AA2CjG,IAAY,gBAOX;AAPD,WAAY,gBAAgB;IAC1B,oDAAoD;IACpD,uCAAmB,CAAA;IACnB,0DAA0D;IAC1D,yCAAqB,CAAA;IACrB,4CAA4C;IAC5C,iDAA6B,CAAA;AAC/B,CAAC,EAPW,gBAAgB,gCAAhB,gBAAgB,QAO3B;AAgKD;;;;GAIG;AACH,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AA+LD,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;AAID;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACI,KAAK,UAAU,aAAa,CACjC,YAAoB;IAEpB,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC;QACpD,YAAY,EAAE,YAAY;KAC3B,CAAC,CAAC;IAEH,MAAM,OAAO,GAAG,iCAAiC,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IAEzE,WAAW,EAAE,UAAU,EAAE,EAAE,CA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AAG,IAAA,gEAAuC,EAAC,IAAI,CAAC,CAAC;YAEtE,OAAO;gBACL,KAAK,EAAE,eAAe,EAAE,WAAW;gBACnC,cAAc,EAAE,eAAe,EAAE,cAAc;aAChD,CAAC;QACJ,CAAC;QACD,gBAAgB,EAAE,CAAC,GAAY,EAAE,EAAE;YACjC,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EAAC,GAAG,EAAE;gBAC9C,sBAAsB,EAAE,EAAE;gBAC1B,wBAAwB,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;gBAC3C,uBAAuB,EAAE,KAAK;aAC/B,CAAC,CAAC;YAEH,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,EAAE;KACxB,CAAC,CAAC;AACL,CAAC;AAtDD,0CAsDC"}
|
|
@@ -249,25 +249,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
249
249
|
updatedEvent?: EntityUpdatedEvent;
|
|
250
250
|
deletedEvent?: EntityDeletedEvent;
|
|
251
251
|
actionEvent?: ActionEvent;
|
|
252
|
-
/**
|
|
253
|
-
* Unique event ID.
|
|
254
|
-
* Allows clients to ignore duplicate webhooks.
|
|
255
|
-
*/
|
|
252
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
256
253
|
id?: string;
|
|
257
254
|
/**
|
|
258
|
-
*
|
|
259
|
-
*
|
|
255
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
256
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
260
257
|
*/
|
|
261
258
|
entityFqdn?: string;
|
|
262
259
|
/**
|
|
263
|
-
*
|
|
264
|
-
*
|
|
265
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
260
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
261
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
266
262
|
*/
|
|
267
263
|
slug?: string;
|
|
268
264
|
/** ID of the entity associated with the event. */
|
|
269
265
|
entityId?: string;
|
|
270
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
266
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
271
267
|
eventTime?: Date | null;
|
|
272
268
|
/**
|
|
273
269
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -277,12 +273,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
277
273
|
/** If present, indicates the action that triggered the event. */
|
|
278
274
|
originatedFrom?: string | null;
|
|
279
275
|
/**
|
|
280
|
-
* A sequence number
|
|
281
|
-
*
|
|
282
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
283
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
284
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
285
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
276
|
+
* 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.
|
|
277
|
+
* 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.
|
|
286
278
|
*/
|
|
287
279
|
entityEventSequence?: string | null;
|
|
288
280
|
}
|
|
@@ -310,7 +302,7 @@ export interface EntityUpdatedEvent {
|
|
|
310
302
|
currentEntityAsJson?: string;
|
|
311
303
|
}
|
|
312
304
|
export interface EntityDeletedEvent {
|
|
313
|
-
/** Entity that was deleted */
|
|
305
|
+
/** Entity that was deleted. */
|
|
314
306
|
deletedEntityAsJson?: string | null;
|
|
315
307
|
}
|
|
316
308
|
export interface ActionEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-v2-attendance-attendance.types.js","sourceRoot":"","sources":["../../../src/bookings-v2-attendance-attendance.types.ts"],"names":[],"mappings":"AAwCA,MAAM,CAAN,IAAY,gBAOX;AAPD,WAAY,gBAAgB;IAC1B,oDAAoD;IACpD,uCAAmB,CAAA;IACnB,0DAA0D;IAC1D,yCAAqB,CAAA;IACrB,4CAA4C;IAC5C,iDAA6B,CAAA;AAC/B,CAAC,EAPW,gBAAgB,KAAhB,gBAAgB,QAO3B;AAgKD;;;;GAIG;AACH,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;
|
|
1
|
+
{"version":3,"file":"bookings-v2-attendance-attendance.types.js","sourceRoot":"","sources":["../../../src/bookings-v2-attendance-attendance.types.ts"],"names":[],"mappings":"AAwCA,MAAM,CAAN,IAAY,gBAOX;AAPD,WAAY,gBAAgB;IAC1B,oDAAoD;IACpD,uCAAmB,CAAA;IACnB,0DAA0D;IAC1D,yCAAqB,CAAA;IACrB,4CAA4C;IAC5C,iDAA6B,CAAA;AAC/B,CAAC,EAPW,gBAAgB,KAAhB,gBAAgB,QAO3B;AAgKD;;;;GAIG;AACH,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAiMD,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"}
|
|
@@ -250,25 +250,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
250
250
|
updatedEvent?: EntityUpdatedEvent;
|
|
251
251
|
deletedEvent?: EntityDeletedEvent;
|
|
252
252
|
actionEvent?: ActionEvent;
|
|
253
|
-
/**
|
|
254
|
-
* Unique event ID.
|
|
255
|
-
* Allows clients to ignore duplicate webhooks.
|
|
256
|
-
*/
|
|
253
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
257
254
|
_id?: string;
|
|
258
255
|
/**
|
|
259
|
-
*
|
|
260
|
-
*
|
|
256
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
257
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
261
258
|
*/
|
|
262
259
|
entityFqdn?: string;
|
|
263
260
|
/**
|
|
264
|
-
*
|
|
265
|
-
*
|
|
266
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
261
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
262
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
267
263
|
*/
|
|
268
264
|
slug?: string;
|
|
269
265
|
/** ID of the entity associated with the event. */
|
|
270
266
|
entityId?: string;
|
|
271
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
267
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
272
268
|
eventTime?: Date | null;
|
|
273
269
|
/**
|
|
274
270
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -278,12 +274,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
278
274
|
/** If present, indicates the action that triggered the event. */
|
|
279
275
|
originatedFrom?: string | null;
|
|
280
276
|
/**
|
|
281
|
-
* A sequence number
|
|
282
|
-
*
|
|
283
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
284
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
285
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
286
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
277
|
+
* 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.
|
|
278
|
+
* 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.
|
|
287
279
|
*/
|
|
288
280
|
entityEventSequence?: string | null;
|
|
289
281
|
}
|
|
@@ -309,7 +301,7 @@ export interface EntityUpdatedEvent {
|
|
|
309
301
|
currentEntity?: string;
|
|
310
302
|
}
|
|
311
303
|
export interface EntityDeletedEvent {
|
|
312
|
-
/** Entity that was deleted */
|
|
304
|
+
/** Entity that was deleted. */
|
|
313
305
|
deletedEntity?: string | null;
|
|
314
306
|
}
|
|
315
307
|
export interface ActionEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-v2-attendance-attendance.universal.js","sourceRoot":"","sources":["../../../src/bookings-v2-attendance-attendance.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,iCAAiC,MAAM,6CAA6C,CAAC;AA2CjG,MAAM,CAAN,IAAY,gBAOX;AAPD,WAAY,gBAAgB;IAC1B,oDAAoD;IACpD,uCAAmB,CAAA;IACnB,0DAA0D;IAC1D,yCAAqB,CAAA;IACrB,4CAA4C;IAC5C,iDAA6B,CAAA;AAC/B,CAAC,EAPW,gBAAgB,KAAhB,gBAAgB,QAO3B;AAgKD;;;;GAIG;AACH,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;
|
|
1
|
+
{"version":3,"file":"bookings-v2-attendance-attendance.universal.js","sourceRoot":"","sources":["../../../src/bookings-v2-attendance-attendance.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,iCAAiC,MAAM,6CAA6C,CAAC;AA2CjG,MAAM,CAAN,IAAY,gBAOX;AAPD,WAAY,gBAAgB;IAC1B,oDAAoD;IACpD,uCAAmB,CAAA;IACnB,0DAA0D;IAC1D,yCAAqB,CAAA;IACrB,4CAA4C;IAC5C,iDAA6B,CAAA;AAC/B,CAAC,EAPW,gBAAgB,KAAhB,gBAAgB,QAO3B;AAgKD;;;;GAIG;AACH,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AA+LD,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;AAID;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,CAAC,KAAK,UAAU,aAAa,CACjC,YAAoB;IAEpB,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,qCAAqC,CAAC;QACpD,YAAY,EAAE,YAAY;KAC3B,CAAC,CAAC;IAEH,MAAM,OAAO,GAAG,iCAAiC,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IA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E,OAAO;gBACL,KAAK,EAAE,eAAe,EAAE,WAAW;gBACnC,cAAc,EAAE,eAAe,EAAE,cAAc;aAChD,CAAC;QACJ,CAAC;QACD,gBAAgB,EAAE,CAAC,GAAY,EAAE,EAAE;YACjC,MAAM,gBAAgB,GAAG,iBAAiB,CAAC,GAAG,EAAE;gBAC9C,sBAAsB,EAAE,EAAE;gBAC1B,wBAAwB,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;gBAC3C,uBAAuB,EAAE,KAAK;aAC/B,CAAC,CAAC;YAEH,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,EAAE;KACxB,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -249,25 +249,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
249
249
|
updatedEvent?: EntityUpdatedEvent;
|
|
250
250
|
deletedEvent?: EntityDeletedEvent;
|
|
251
251
|
actionEvent?: ActionEvent;
|
|
252
|
-
/**
|
|
253
|
-
* Unique event ID.
|
|
254
|
-
* Allows clients to ignore duplicate webhooks.
|
|
255
|
-
*/
|
|
252
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
256
253
|
id?: string;
|
|
257
254
|
/**
|
|
258
|
-
*
|
|
259
|
-
*
|
|
255
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
256
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
260
257
|
*/
|
|
261
258
|
entityFqdn?: string;
|
|
262
259
|
/**
|
|
263
|
-
*
|
|
264
|
-
*
|
|
265
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
260
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
261
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
266
262
|
*/
|
|
267
263
|
slug?: string;
|
|
268
264
|
/** ID of the entity associated with the event. */
|
|
269
265
|
entityId?: string;
|
|
270
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
266
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
271
267
|
eventTime?: Date | null;
|
|
272
268
|
/**
|
|
273
269
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -277,12 +273,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
277
273
|
/** If present, indicates the action that triggered the event. */
|
|
278
274
|
originatedFrom?: string | null;
|
|
279
275
|
/**
|
|
280
|
-
* A sequence number
|
|
281
|
-
*
|
|
282
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
283
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
284
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
285
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
276
|
+
* 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.
|
|
277
|
+
* 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.
|
|
286
278
|
*/
|
|
287
279
|
entityEventSequence?: string | null;
|
|
288
280
|
}
|
|
@@ -310,7 +302,7 @@ export interface EntityUpdatedEvent {
|
|
|
310
302
|
currentEntityAsJson?: string;
|
|
311
303
|
}
|
|
312
304
|
export interface EntityDeletedEvent {
|
|
313
|
-
/** Entity that was deleted */
|
|
305
|
+
/** Entity that was deleted. */
|
|
314
306
|
deletedEntityAsJson?: string | null;
|
|
315
307
|
}
|
|
316
308
|
export interface ActionEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-v2-attendance-attendance.types.js","sourceRoot":"","sources":["../../../../src/bookings-v2-attendance-attendance.types.ts"],"names":[],"mappings":";;;AAwCA,IAAY,gBAOX;AAPD,WAAY,gBAAgB;IAC1B,oDAAoD;IACpD,uCAAmB,CAAA;IACnB,0DAA0D;IAC1D,yCAAqB,CAAA;IACrB,4CAA4C;IAC5C,iDAA6B,CAAA;AAC/B,CAAC,EAPW,gBAAgB,gCAAhB,gBAAgB,QAO3B;AAgKD;;;;GAIG;AACH,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;
|
|
1
|
+
{"version":3,"file":"bookings-v2-attendance-attendance.types.js","sourceRoot":"","sources":["../../../../src/bookings-v2-attendance-attendance.types.ts"],"names":[],"mappings":";;;AAwCA,IAAY,gBAOX;AAPD,WAAY,gBAAgB;IAC1B,oDAAoD;IACpD,uCAAmB,CAAA;IACnB,0DAA0D;IAC1D,yCAAqB,CAAA;IACrB,4CAA4C;IAC5C,iDAA6B,CAAA;AAC/B,CAAC,EAPW,gBAAgB,gCAAhB,gBAAgB,QAO3B;AAgKD;;;;GAIG;AACH,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAiMD,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"}
|
|
@@ -250,25 +250,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
250
250
|
updatedEvent?: EntityUpdatedEvent;
|
|
251
251
|
deletedEvent?: EntityDeletedEvent;
|
|
252
252
|
actionEvent?: ActionEvent;
|
|
253
|
-
/**
|
|
254
|
-
* Unique event ID.
|
|
255
|
-
* Allows clients to ignore duplicate webhooks.
|
|
256
|
-
*/
|
|
253
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
257
254
|
_id?: string;
|
|
258
255
|
/**
|
|
259
|
-
*
|
|
260
|
-
*
|
|
256
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
257
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
261
258
|
*/
|
|
262
259
|
entityFqdn?: string;
|
|
263
260
|
/**
|
|
264
|
-
*
|
|
265
|
-
*
|
|
266
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
261
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
262
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
267
263
|
*/
|
|
268
264
|
slug?: string;
|
|
269
265
|
/** ID of the entity associated with the event. */
|
|
270
266
|
entityId?: string;
|
|
271
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
267
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
272
268
|
eventTime?: Date | null;
|
|
273
269
|
/**
|
|
274
270
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -278,12 +274,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
278
274
|
/** If present, indicates the action that triggered the event. */
|
|
279
275
|
originatedFrom?: string | null;
|
|
280
276
|
/**
|
|
281
|
-
* A sequence number
|
|
282
|
-
*
|
|
283
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
284
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
285
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
286
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
277
|
+
* 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.
|
|
278
|
+
* 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.
|
|
287
279
|
*/
|
|
288
280
|
entityEventSequence?: string | null;
|
|
289
281
|
}
|
|
@@ -309,7 +301,7 @@ export interface EntityUpdatedEvent {
|
|
|
309
301
|
currentEntity?: string;
|
|
310
302
|
}
|
|
311
303
|
export interface EntityDeletedEvent {
|
|
312
|
-
/** Entity that was deleted */
|
|
304
|
+
/** Entity that was deleted. */
|
|
313
305
|
deletedEntity?: string | null;
|
|
314
306
|
}
|
|
315
307
|
export interface ActionEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-v2-attendance-attendance.universal.js","sourceRoot":"","sources":["../../../../src/bookings-v2-attendance-attendance.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,+GAAiG;AA2CjG,IAAY,gBAOX;AAPD,WAAY,gBAAgB;IAC1B,oDAAoD;IACpD,uCAAmB,CAAA;IACnB,0DAA0D;IAC1D,yCAAqB,CAAA;IACrB,4CAA4C;IAC5C,iDAA6B,CAAA;AAC/B,CAAC,EAPW,gBAAgB,gCAAhB,gBAAgB,QAO3B;AAgKD;;;;GAIG;AACH,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;
|
|
1
|
+
{"version":3,"file":"bookings-v2-attendance-attendance.universal.js","sourceRoot":"","sources":["../../../../src/bookings-v2-attendance-attendance.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,+GAAiG;AA2CjG,IAAY,gBAOX;AAPD,WAAY,gBAAgB;IAC1B,oDAAoD;IACpD,uCAAmB,C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CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,EAAE;KACxB,CAAC,CAAC;AACL,CAAC;AAtDD,0CAsDC"}
|
|
@@ -249,25 +249,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
249
249
|
updatedEvent?: EntityUpdatedEvent;
|
|
250
250
|
deletedEvent?: EntityDeletedEvent;
|
|
251
251
|
actionEvent?: ActionEvent;
|
|
252
|
-
/**
|
|
253
|
-
* Unique event ID.
|
|
254
|
-
* Allows clients to ignore duplicate webhooks.
|
|
255
|
-
*/
|
|
252
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
256
253
|
id?: string;
|
|
257
254
|
/**
|
|
258
|
-
*
|
|
259
|
-
*
|
|
255
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
256
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
260
257
|
*/
|
|
261
258
|
entityFqdn?: string;
|
|
262
259
|
/**
|
|
263
|
-
*
|
|
264
|
-
*
|
|
265
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
260
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
261
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
266
262
|
*/
|
|
267
263
|
slug?: string;
|
|
268
264
|
/** ID of the entity associated with the event. */
|
|
269
265
|
entityId?: string;
|
|
270
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
266
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
271
267
|
eventTime?: Date | null;
|
|
272
268
|
/**
|
|
273
269
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -277,12 +273,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
277
273
|
/** If present, indicates the action that triggered the event. */
|
|
278
274
|
originatedFrom?: string | null;
|
|
279
275
|
/**
|
|
280
|
-
* A sequence number
|
|
281
|
-
*
|
|
282
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
283
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
284
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
285
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
276
|
+
* 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.
|
|
277
|
+
* 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.
|
|
286
278
|
*/
|
|
287
279
|
entityEventSequence?: string | null;
|
|
288
280
|
}
|
|
@@ -310,7 +302,7 @@ export interface EntityUpdatedEvent {
|
|
|
310
302
|
currentEntityAsJson?: string;
|
|
311
303
|
}
|
|
312
304
|
export interface EntityDeletedEvent {
|
|
313
|
-
/** Entity that was deleted */
|
|
305
|
+
/** Entity that was deleted. */
|
|
314
306
|
deletedEntityAsJson?: string | null;
|
|
315
307
|
}
|
|
316
308
|
export interface ActionEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-v2-attendance-attendance.types.js","sourceRoot":"","sources":["../../../../src/bookings-v2-attendance-attendance.types.ts"],"names":[],"mappings":"AAwCA,MAAM,CAAN,IAAY,gBAOX;AAPD,WAAY,gBAAgB;IAC1B,oDAAoD;IACpD,uCAAmB,CAAA;IACnB,0DAA0D;IAC1D,yCAAqB,CAAA;IACrB,4CAA4C;IAC5C,iDAA6B,CAAA;AAC/B,CAAC,EAPW,gBAAgB,KAAhB,gBAAgB,QAO3B;AAgKD;;;;GAIG;AACH,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;
|
|
1
|
+
{"version":3,"file":"bookings-v2-attendance-attendance.types.js","sourceRoot":"","sources":["../../../../src/bookings-v2-attendance-attendance.types.ts"],"names":[],"mappings":"AAwCA,MAAM,CAAN,IAAY,gBAOX;AAPD,WAAY,gBAAgB;IAC1B,oDAAoD;IACpD,uCAAmB,CAAA;IACnB,0DAA0D;IAC1D,yCAAqB,CAAA;IACrB,4CAA4C;IAC5C,iDAA6B,CAAA;AAC/B,CAAC,EAPW,gBAAgB,KAAhB,gBAAgB,QAO3B;AAgKD;;;;GAIG;AACH,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAiMD,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"}
|
|
@@ -250,25 +250,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
250
250
|
updatedEvent?: EntityUpdatedEvent;
|
|
251
251
|
deletedEvent?: EntityDeletedEvent;
|
|
252
252
|
actionEvent?: ActionEvent;
|
|
253
|
-
/**
|
|
254
|
-
* Unique event ID.
|
|
255
|
-
* Allows clients to ignore duplicate webhooks.
|
|
256
|
-
*/
|
|
253
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
257
254
|
_id?: string;
|
|
258
255
|
/**
|
|
259
|
-
*
|
|
260
|
-
*
|
|
256
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
257
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
261
258
|
*/
|
|
262
259
|
entityFqdn?: string;
|
|
263
260
|
/**
|
|
264
|
-
*
|
|
265
|
-
*
|
|
266
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
261
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
262
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
267
263
|
*/
|
|
268
264
|
slug?: string;
|
|
269
265
|
/** ID of the entity associated with the event. */
|
|
270
266
|
entityId?: string;
|
|
271
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
267
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
272
268
|
eventTime?: Date | null;
|
|
273
269
|
/**
|
|
274
270
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -278,12 +274,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
278
274
|
/** If present, indicates the action that triggered the event. */
|
|
279
275
|
originatedFrom?: string | null;
|
|
280
276
|
/**
|
|
281
|
-
* A sequence number
|
|
282
|
-
*
|
|
283
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
284
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
285
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
286
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
277
|
+
* 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.
|
|
278
|
+
* 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.
|
|
287
279
|
*/
|
|
288
280
|
entityEventSequence?: string | null;
|
|
289
281
|
}
|
|
@@ -309,7 +301,7 @@ export interface EntityUpdatedEvent {
|
|
|
309
301
|
currentEntity?: string;
|
|
310
302
|
}
|
|
311
303
|
export interface EntityDeletedEvent {
|
|
312
|
-
/** Entity that was deleted */
|
|
304
|
+
/** Entity that was deleted. */
|
|
313
305
|
deletedEntity?: string | null;
|
|
314
306
|
}
|
|
315
307
|
export interface ActionEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-v2-attendance-attendance.universal.js","sourceRoot":"","sources":["../../../../src/bookings-v2-attendance-attendance.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,iCAAiC,MAAM,6CAA6C,CAAC;AA2CjG,MAAM,CAAN,IAAY,gBAOX;AAPD,WAAY,gBAAgB;IAC1B,oDAAoD;IACpD,uCAAmB,CAAA;IACnB,0DAA0D;IAC1D,yCAAqB,CAAA;IACrB,4CAA4C;IAC5C,iDAA6B,CAAA;AAC/B,CAAC,EAPW,gBAAgB,KAAhB,gBAAgB,QAO3B;AAgKD;;;;GAIG;AACH,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;
|
|
1
|
+
{"version":3,"file":"bookings-v2-attendance-attendance.universal.js","sourceRoot":"","sources":["../../../../src/bookings-v2-attendance-attendance.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,iCAAiC,MAAM,6CAA6C,CAAC;AA2CjG,MAAM,CAAN,IAAY,gBAOX;AAPD,WAAY,gBAAgB;IAC1B,oDAAoD;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,EAAE;KACxB,CAAC,CAAC;AACL,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_bookings_attendance",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.12",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@wix/sdk-runtime": "^0.3.49",
|
|
32
|
-
"@wix/sdk-types": "^1.13.
|
|
32
|
+
"@wix/sdk-types": "^1.13.23"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"typescript": "^5.3.2"
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"fqdn": "wix.bookings.v2.attendance"
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
|
-
"falconPackageHash": "
|
|
51
|
+
"falconPackageHash": "e4a87f08d9f9eb75e866afea066a375c0490196407c9d5e287551cd6"
|
|
52
52
|
}
|