@wix/auto_sdk_bookings_categories-v-2 1.0.2 → 1.0.4
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-categories-v2-category-categories-v-2.types.d.ts +9 -17
- package/build/cjs/src/bookings-categories-v2-category-categories-v-2.types.js.map +1 -1
- package/build/cjs/src/bookings-categories-v2-category-categories-v-2.universal.d.ts +17 -33
- package/build/cjs/src/bookings-categories-v2-category-categories-v-2.universal.js +3 -1
- package/build/cjs/src/bookings-categories-v2-category-categories-v-2.universal.js.map +1 -1
- package/build/es/src/bookings-categories-v2-category-categories-v-2.types.d.ts +9 -17
- package/build/es/src/bookings-categories-v2-category-categories-v-2.types.js.map +1 -1
- package/build/es/src/bookings-categories-v2-category-categories-v-2.universal.d.ts +17 -33
- package/build/es/src/bookings-categories-v2-category-categories-v-2.universal.js +3 -1
- package/build/es/src/bookings-categories-v2-category-categories-v-2.universal.js.map +1 -1
- package/build/internal/cjs/src/bookings-categories-v2-category-categories-v-2.types.d.ts +9 -17
- package/build/internal/cjs/src/bookings-categories-v2-category-categories-v-2.types.js.map +1 -1
- package/build/internal/cjs/src/bookings-categories-v2-category-categories-v-2.universal.d.ts +17 -33
- package/build/internal/cjs/src/bookings-categories-v2-category-categories-v-2.universal.js +3 -1
- package/build/internal/cjs/src/bookings-categories-v2-category-categories-v-2.universal.js.map +1 -1
- package/build/internal/es/src/bookings-categories-v2-category-categories-v-2.types.d.ts +9 -17
- package/build/internal/es/src/bookings-categories-v2-category-categories-v-2.types.js.map +1 -1
- package/build/internal/es/src/bookings-categories-v2-category-categories-v-2.universal.d.ts +17 -33
- package/build/internal/es/src/bookings-categories-v2-category-categories-v-2.universal.js +3 -1
- package/build/internal/es/src/bookings-categories-v2-category-categories-v-2.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -233,25 +233,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
233
233
|
updatedEvent?: EntityUpdatedEvent;
|
|
234
234
|
deletedEvent?: EntityDeletedEvent;
|
|
235
235
|
actionEvent?: ActionEvent;
|
|
236
|
-
/**
|
|
237
|
-
* Unique event ID.
|
|
238
|
-
* Allows clients to ignore duplicate webhooks.
|
|
239
|
-
*/
|
|
236
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
240
237
|
id?: string;
|
|
241
238
|
/**
|
|
242
|
-
*
|
|
243
|
-
*
|
|
239
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
240
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
244
241
|
*/
|
|
245
242
|
entityFqdn?: string;
|
|
246
243
|
/**
|
|
247
|
-
*
|
|
248
|
-
*
|
|
249
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
244
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
245
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
250
246
|
*/
|
|
251
247
|
slug?: string;
|
|
252
248
|
/** ID of the entity associated with the event. */
|
|
253
249
|
entityId?: string;
|
|
254
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
250
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
255
251
|
eventTime?: Date | null;
|
|
256
252
|
/**
|
|
257
253
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -261,12 +257,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
261
257
|
/** If present, indicates the action that triggered the event. */
|
|
262
258
|
originatedFrom?: string | null;
|
|
263
259
|
/**
|
|
264
|
-
* A sequence number
|
|
265
|
-
*
|
|
266
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
267
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
268
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
269
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
260
|
+
* 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.
|
|
261
|
+
* 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.
|
|
270
262
|
*/
|
|
271
263
|
entityEventSequence?: string | null;
|
|
272
264
|
}
|
|
@@ -294,7 +286,7 @@ export interface EntityUpdatedEvent {
|
|
|
294
286
|
currentEntityAsJson?: string;
|
|
295
287
|
}
|
|
296
288
|
export interface EntityDeletedEvent {
|
|
297
|
-
/** Entity that was deleted */
|
|
289
|
+
/** Entity that was deleted. */
|
|
298
290
|
deletedEntityAsJson?: string | null;
|
|
299
291
|
}
|
|
300
292
|
export interface ActionEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-categories-v2-category-categories-v-2.types.js","sourceRoot":"","sources":["../../../src/bookings-categories-v2-category-categories-v-2.types.ts"],"names":[],"mappings":";;;AA+IA,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AA8ED,IAAY,QAQX;AARD,WAAY,QAAQ;IAClB,iDAAqC,CAAA;IACrC,iDAAiD;IACjD,yBAAa,CAAA;IACb,uDAAuD;IACvD,2BAAe,CAAA;IACf,gEAAgE;IAChE,6CAAiC,CAAA;AACnC,CAAC,EARW,QAAQ,wBAAR,QAAQ,QAQnB;
|
|
1
|
+
{"version":3,"file":"bookings-categories-v2-category-categories-v-2.types.js","sourceRoot":"","sources":["../../../src/bookings-categories-v2-category-categories-v-2.types.ts"],"names":[],"mappings":";;;AA+IA,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AA8ED,IAAY,QAQX;AARD,WAAY,QAAQ;IAClB,iDAAqC,CAAA;IACrC,iDAAiD;IACjD,yBAAa,CAAA;IACb,uDAAuD;IACvD,2BAAe,CAAA;IACf,gEAAgE;IAChE,6CAAiC,CAAA;AACnC,CAAC,EARW,QAAQ,wBAAR,QAAQ,QAQnB;AA+JD,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"}
|
|
@@ -234,25 +234,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
234
234
|
updatedEvent?: EntityUpdatedEvent;
|
|
235
235
|
deletedEvent?: EntityDeletedEvent;
|
|
236
236
|
actionEvent?: ActionEvent;
|
|
237
|
-
/**
|
|
238
|
-
* Unique event ID.
|
|
239
|
-
* Allows clients to ignore duplicate webhooks.
|
|
240
|
-
*/
|
|
237
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
241
238
|
_id?: string;
|
|
242
239
|
/**
|
|
243
|
-
*
|
|
244
|
-
*
|
|
240
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
241
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
245
242
|
*/
|
|
246
243
|
entityFqdn?: string;
|
|
247
244
|
/**
|
|
248
|
-
*
|
|
249
|
-
*
|
|
250
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
245
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
246
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
251
247
|
*/
|
|
252
248
|
slug?: string;
|
|
253
249
|
/** ID of the entity associated with the event. */
|
|
254
250
|
entityId?: string;
|
|
255
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
251
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
256
252
|
eventTime?: Date | null;
|
|
257
253
|
/**
|
|
258
254
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -262,12 +258,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
262
258
|
/** If present, indicates the action that triggered the event. */
|
|
263
259
|
originatedFrom?: string | null;
|
|
264
260
|
/**
|
|
265
|
-
* A sequence number
|
|
266
|
-
*
|
|
267
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
268
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
269
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
270
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
261
|
+
* 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.
|
|
262
|
+
* 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.
|
|
271
263
|
*/
|
|
272
264
|
entityEventSequence?: string | null;
|
|
273
265
|
}
|
|
@@ -293,7 +285,7 @@ export interface EntityUpdatedEvent {
|
|
|
293
285
|
currentEntity?: string;
|
|
294
286
|
}
|
|
295
287
|
export interface EntityDeletedEvent {
|
|
296
|
-
/** Entity that was deleted */
|
|
288
|
+
/** Entity that was deleted. */
|
|
297
289
|
deletedEntity?: string | null;
|
|
298
290
|
}
|
|
299
291
|
export interface ActionEvent {
|
|
@@ -384,25 +376,21 @@ export interface BaseEventMetadata {
|
|
|
384
376
|
identity?: IdentificationData;
|
|
385
377
|
}
|
|
386
378
|
export interface EventMetadata extends BaseEventMetadata {
|
|
387
|
-
/**
|
|
388
|
-
* Unique event ID.
|
|
389
|
-
* Allows clients to ignore duplicate webhooks.
|
|
390
|
-
*/
|
|
379
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
391
380
|
_id?: string;
|
|
392
381
|
/**
|
|
393
|
-
*
|
|
394
|
-
*
|
|
382
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
383
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
395
384
|
*/
|
|
396
385
|
entityFqdn?: string;
|
|
397
386
|
/**
|
|
398
|
-
*
|
|
399
|
-
*
|
|
400
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
387
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
388
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
401
389
|
*/
|
|
402
390
|
slug?: string;
|
|
403
391
|
/** ID of the entity associated with the event. */
|
|
404
392
|
entityId?: string;
|
|
405
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
393
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
406
394
|
eventTime?: Date | null;
|
|
407
395
|
/**
|
|
408
396
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -412,12 +400,8 @@ export interface EventMetadata extends BaseEventMetadata {
|
|
|
412
400
|
/** If present, indicates the action that triggered the event. */
|
|
413
401
|
originatedFrom?: string | null;
|
|
414
402
|
/**
|
|
415
|
-
* A sequence number
|
|
416
|
-
*
|
|
417
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
418
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
419
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
420
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
403
|
+
* 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.
|
|
404
|
+
* 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.
|
|
421
405
|
*/
|
|
422
406
|
entityEventSequence?: string | null;
|
|
423
407
|
}
|
|
@@ -28,6 +28,8 @@ const transform_error_1 = require("@wix/sdk-runtime/transform-error");
|
|
|
28
28
|
const query_builder_1 = require("@wix/sdk-runtime/query-builder");
|
|
29
29
|
const rename_all_nested_keys_1 = require("@wix/sdk-runtime/rename-all-nested-keys");
|
|
30
30
|
const ambassadorWixBookingsCategoriesV2Category = __importStar(require("./bookings-categories-v2-category-categories-v-2.http.js"));
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
const transform_paths_1 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
31
33
|
var SortOrder;
|
|
32
34
|
(function (SortOrder) {
|
|
33
35
|
SortOrder["ASC"] = "ASC";
|
|
@@ -283,7 +285,7 @@ function queryCategories() {
|
|
|
283
285
|
});
|
|
284
286
|
},
|
|
285
287
|
responseTransformer: ({ data }) => {
|
|
286
|
-
const transformedData = (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(data);
|
|
288
|
+
const transformedData = (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(data, []));
|
|
287
289
|
return {
|
|
288
290
|
items: transformedData?.categories,
|
|
289
291
|
pagingMetadata: transformedData?.pagingMetadata,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-categories-v2-category-categories-v-2.universal.js","sourceRoot":"","sources":["../../../src/bookings-categories-v2-category-categories-v-2.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,oIAAsH;
|
|
1
|
+
{"version":3,"file":"bookings-categories-v2-category-categories-v-2.universal.js","sourceRoot":"","sources":["../../../src/bookings-categories-v2-category-categories-v-2.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,oIAAsH;AACtH,aAAa;AACb,sFAAkF;AAiJlF,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AA8ED,IAAY,QAQX;AARD,WAAY,QAAQ;IAClB,iDAAqC,CAAA;IACrC,iDAAiD;IACjD,yBAAa,CAAA;IACb,uDAAuD;IACvD,2BAAe,CAAA;IACf,gEAAgE;IAChE,6CAAiC,CAAA;AACnC,CAAC,EARW,QAAQ,wBAAR,QAAQ,QAQnB;AA6JD,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;AAoID;;;;;;;;;;;;;;GAcG;AACI,KAAK,UAAU,cAAc,CAClC,QAA4C;IAE5C,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC,CAAC;IAE9E,MAAM,OAAO,GACX,yCAAyC,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;IAEpE,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,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yCAAyC,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;IAElE,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,UAAU,EAAE,MAAM;gBAClB,QAAQ,EAAE,eAAe;gBACzB,eAAe,EAAE,sBAAsB;aACxC;YACD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,YAAY,EAAE,SAAS,CAAC,CAC1B,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AA3CD,oCA2CC"}
|
|
@@ -233,25 +233,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
233
233
|
updatedEvent?: EntityUpdatedEvent;
|
|
234
234
|
deletedEvent?: EntityDeletedEvent;
|
|
235
235
|
actionEvent?: ActionEvent;
|
|
236
|
-
/**
|
|
237
|
-
* Unique event ID.
|
|
238
|
-
* Allows clients to ignore duplicate webhooks.
|
|
239
|
-
*/
|
|
236
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
240
237
|
id?: string;
|
|
241
238
|
/**
|
|
242
|
-
*
|
|
243
|
-
*
|
|
239
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
240
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
244
241
|
*/
|
|
245
242
|
entityFqdn?: string;
|
|
246
243
|
/**
|
|
247
|
-
*
|
|
248
|
-
*
|
|
249
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
244
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
245
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
250
246
|
*/
|
|
251
247
|
slug?: string;
|
|
252
248
|
/** ID of the entity associated with the event. */
|
|
253
249
|
entityId?: string;
|
|
254
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
250
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
255
251
|
eventTime?: Date | null;
|
|
256
252
|
/**
|
|
257
253
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -261,12 +257,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
261
257
|
/** If present, indicates the action that triggered the event. */
|
|
262
258
|
originatedFrom?: string | null;
|
|
263
259
|
/**
|
|
264
|
-
* A sequence number
|
|
265
|
-
*
|
|
266
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
267
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
268
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
269
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
260
|
+
* 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.
|
|
261
|
+
* 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.
|
|
270
262
|
*/
|
|
271
263
|
entityEventSequence?: string | null;
|
|
272
264
|
}
|
|
@@ -294,7 +286,7 @@ export interface EntityUpdatedEvent {
|
|
|
294
286
|
currentEntityAsJson?: string;
|
|
295
287
|
}
|
|
296
288
|
export interface EntityDeletedEvent {
|
|
297
|
-
/** Entity that was deleted */
|
|
289
|
+
/** Entity that was deleted. */
|
|
298
290
|
deletedEntityAsJson?: string | null;
|
|
299
291
|
}
|
|
300
292
|
export interface ActionEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-categories-v2-category-categories-v-2.types.js","sourceRoot":"","sources":["../../../src/bookings-categories-v2-category-categories-v-2.types.ts"],"names":[],"mappings":"AA+IA,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AA8ED,MAAM,CAAN,IAAY,QAQX;AARD,WAAY,QAAQ;IAClB,iDAAqC,CAAA;IACrC,iDAAiD;IACjD,yBAAa,CAAA;IACb,uDAAuD;IACvD,2BAAe,CAAA;IACf,gEAAgE;IAChE,6CAAiC,CAAA;AACnC,CAAC,EARW,QAAQ,KAAR,QAAQ,QAQnB;
|
|
1
|
+
{"version":3,"file":"bookings-categories-v2-category-categories-v-2.types.js","sourceRoot":"","sources":["../../../src/bookings-categories-v2-category-categories-v-2.types.ts"],"names":[],"mappings":"AA+IA,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AA8ED,MAAM,CAAN,IAAY,QAQX;AARD,WAAY,QAAQ;IAClB,iDAAqC,CAAA;IACrC,iDAAiD;IACjD,yBAAa,CAAA;IACb,uDAAuD;IACvD,2BAAe,CAAA;IACf,gEAAgE;IAChE,6CAAiC,CAAA;AACnC,CAAC,EARW,QAAQ,KAAR,QAAQ,QAQnB;AA+JD,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"}
|
|
@@ -234,25 +234,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
234
234
|
updatedEvent?: EntityUpdatedEvent;
|
|
235
235
|
deletedEvent?: EntityDeletedEvent;
|
|
236
236
|
actionEvent?: ActionEvent;
|
|
237
|
-
/**
|
|
238
|
-
* Unique event ID.
|
|
239
|
-
* Allows clients to ignore duplicate webhooks.
|
|
240
|
-
*/
|
|
237
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
241
238
|
_id?: string;
|
|
242
239
|
/**
|
|
243
|
-
*
|
|
244
|
-
*
|
|
240
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
241
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
245
242
|
*/
|
|
246
243
|
entityFqdn?: string;
|
|
247
244
|
/**
|
|
248
|
-
*
|
|
249
|
-
*
|
|
250
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
245
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
246
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
251
247
|
*/
|
|
252
248
|
slug?: string;
|
|
253
249
|
/** ID of the entity associated with the event. */
|
|
254
250
|
entityId?: string;
|
|
255
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
251
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
256
252
|
eventTime?: Date | null;
|
|
257
253
|
/**
|
|
258
254
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -262,12 +258,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
262
258
|
/** If present, indicates the action that triggered the event. */
|
|
263
259
|
originatedFrom?: string | null;
|
|
264
260
|
/**
|
|
265
|
-
* A sequence number
|
|
266
|
-
*
|
|
267
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
268
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
269
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
270
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
261
|
+
* 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.
|
|
262
|
+
* 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.
|
|
271
263
|
*/
|
|
272
264
|
entityEventSequence?: string | null;
|
|
273
265
|
}
|
|
@@ -293,7 +285,7 @@ export interface EntityUpdatedEvent {
|
|
|
293
285
|
currentEntity?: string;
|
|
294
286
|
}
|
|
295
287
|
export interface EntityDeletedEvent {
|
|
296
|
-
/** Entity that was deleted */
|
|
288
|
+
/** Entity that was deleted. */
|
|
297
289
|
deletedEntity?: string | null;
|
|
298
290
|
}
|
|
299
291
|
export interface ActionEvent {
|
|
@@ -384,25 +376,21 @@ export interface BaseEventMetadata {
|
|
|
384
376
|
identity?: IdentificationData;
|
|
385
377
|
}
|
|
386
378
|
export interface EventMetadata extends BaseEventMetadata {
|
|
387
|
-
/**
|
|
388
|
-
* Unique event ID.
|
|
389
|
-
* Allows clients to ignore duplicate webhooks.
|
|
390
|
-
*/
|
|
379
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
391
380
|
_id?: string;
|
|
392
381
|
/**
|
|
393
|
-
*
|
|
394
|
-
*
|
|
382
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
383
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
395
384
|
*/
|
|
396
385
|
entityFqdn?: string;
|
|
397
386
|
/**
|
|
398
|
-
*
|
|
399
|
-
*
|
|
400
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
387
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
388
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
401
389
|
*/
|
|
402
390
|
slug?: string;
|
|
403
391
|
/** ID of the entity associated with the event. */
|
|
404
392
|
entityId?: string;
|
|
405
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
393
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
406
394
|
eventTime?: Date | null;
|
|
407
395
|
/**
|
|
408
396
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -412,12 +400,8 @@ export interface EventMetadata extends BaseEventMetadata {
|
|
|
412
400
|
/** If present, indicates the action that triggered the event. */
|
|
413
401
|
originatedFrom?: string | null;
|
|
414
402
|
/**
|
|
415
|
-
* A sequence number
|
|
416
|
-
*
|
|
417
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
418
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
419
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
420
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
403
|
+
* 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.
|
|
404
|
+
* 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.
|
|
421
405
|
*/
|
|
422
406
|
entityEventSequence?: string | null;
|
|
423
407
|
}
|
|
@@ -2,6 +2,8 @@ import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-
|
|
|
2
2
|
import { queryBuilder } from '@wix/sdk-runtime/query-builder';
|
|
3
3
|
import { renameKeysFromSDKRequestToRESTRequest, renameKeysFromRESTResponseToSDKResponse, } from '@wix/sdk-runtime/rename-all-nested-keys';
|
|
4
4
|
import * as ambassadorWixBookingsCategoriesV2Category from './bookings-categories-v2-category-categories-v-2.http.js';
|
|
5
|
+
// @ts-ignore
|
|
6
|
+
import { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';
|
|
5
7
|
export var SortOrder;
|
|
6
8
|
(function (SortOrder) {
|
|
7
9
|
SortOrder["ASC"] = "ASC";
|
|
@@ -253,7 +255,7 @@ export function queryCategories() {
|
|
|
253
255
|
});
|
|
254
256
|
},
|
|
255
257
|
responseTransformer: ({ data }) => {
|
|
256
|
-
const transformedData = renameKeysFromRESTResponseToSDKResponse(data);
|
|
258
|
+
const transformedData = renameKeysFromRESTResponseToSDKResponse(transformPaths(data, []));
|
|
257
259
|
return {
|
|
258
260
|
items: transformedData?.categories,
|
|
259
261
|
pagingMetadata: transformedData?.pagingMetadata,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-categories-v2-category-categories-v-2.universal.js","sourceRoot":"","sources":["../../../src/bookings-categories-v2-category-categories-v-2.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,yCAAyC,MAAM,0DAA0D,CAAC;
|
|
1
|
+
{"version":3,"file":"bookings-categories-v2-category-categories-v-2.universal.js","sourceRoot":"","sources":["../../../src/bookings-categories-v2-category-categories-v-2.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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jD,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,UAAU,EAAE,MAAM;gBAClB,QAAQ,EAAE,eAAe;gBACzB,eAAe,EAAE,sBAAsB;aACxC;YACD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,YAAY,EAAE,SAAS,CAAC,CAC1B,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
|
|
@@ -233,25 +233,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
233
233
|
updatedEvent?: EntityUpdatedEvent;
|
|
234
234
|
deletedEvent?: EntityDeletedEvent;
|
|
235
235
|
actionEvent?: ActionEvent;
|
|
236
|
-
/**
|
|
237
|
-
* Unique event ID.
|
|
238
|
-
* Allows clients to ignore duplicate webhooks.
|
|
239
|
-
*/
|
|
236
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
240
237
|
id?: string;
|
|
241
238
|
/**
|
|
242
|
-
*
|
|
243
|
-
*
|
|
239
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
240
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
244
241
|
*/
|
|
245
242
|
entityFqdn?: string;
|
|
246
243
|
/**
|
|
247
|
-
*
|
|
248
|
-
*
|
|
249
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
244
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
245
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
250
246
|
*/
|
|
251
247
|
slug?: string;
|
|
252
248
|
/** ID of the entity associated with the event. */
|
|
253
249
|
entityId?: string;
|
|
254
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
250
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
255
251
|
eventTime?: Date | null;
|
|
256
252
|
/**
|
|
257
253
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -261,12 +257,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
261
257
|
/** If present, indicates the action that triggered the event. */
|
|
262
258
|
originatedFrom?: string | null;
|
|
263
259
|
/**
|
|
264
|
-
* A sequence number
|
|
265
|
-
*
|
|
266
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
267
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
268
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
269
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
260
|
+
* 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.
|
|
261
|
+
* 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.
|
|
270
262
|
*/
|
|
271
263
|
entityEventSequence?: string | null;
|
|
272
264
|
}
|
|
@@ -294,7 +286,7 @@ export interface EntityUpdatedEvent {
|
|
|
294
286
|
currentEntityAsJson?: string;
|
|
295
287
|
}
|
|
296
288
|
export interface EntityDeletedEvent {
|
|
297
|
-
/** Entity that was deleted */
|
|
289
|
+
/** Entity that was deleted. */
|
|
298
290
|
deletedEntityAsJson?: string | null;
|
|
299
291
|
}
|
|
300
292
|
export interface ActionEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-categories-v2-category-categories-v-2.types.js","sourceRoot":"","sources":["../../../../src/bookings-categories-v2-category-categories-v-2.types.ts"],"names":[],"mappings":";;;AA+IA,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AA8ED,IAAY,QAQX;AARD,WAAY,QAAQ;IAClB,iDAAqC,CAAA;IACrC,iDAAiD;IACjD,yBAAa,CAAA;IACb,uDAAuD;IACvD,2BAAe,CAAA;IACf,gEAAgE;IAChE,6CAAiC,CAAA;AACnC,CAAC,EARW,QAAQ,wBAAR,QAAQ,QAQnB;
|
|
1
|
+
{"version":3,"file":"bookings-categories-v2-category-categories-v-2.types.js","sourceRoot":"","sources":["../../../../src/bookings-categories-v2-category-categories-v-2.types.ts"],"names":[],"mappings":";;;AA+IA,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AA8ED,IAAY,QAQX;AARD,WAAY,QAAQ;IAClB,iDAAqC,CAAA;IACrC,iDAAiD;IACjD,yBAAa,CAAA;IACb,uDAAuD;IACvD,2BAAe,CAAA;IACf,gEAAgE;IAChE,6CAAiC,CAAA;AACnC,CAAC,EARW,QAAQ,wBAAR,QAAQ,QAQnB;AA+JD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}
|
package/build/internal/cjs/src/bookings-categories-v2-category-categories-v-2.universal.d.ts
CHANGED
|
@@ -234,25 +234,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
234
234
|
updatedEvent?: EntityUpdatedEvent;
|
|
235
235
|
deletedEvent?: EntityDeletedEvent;
|
|
236
236
|
actionEvent?: ActionEvent;
|
|
237
|
-
/**
|
|
238
|
-
* Unique event ID.
|
|
239
|
-
* Allows clients to ignore duplicate webhooks.
|
|
240
|
-
*/
|
|
237
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
241
238
|
_id?: string;
|
|
242
239
|
/**
|
|
243
|
-
*
|
|
244
|
-
*
|
|
240
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
241
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
245
242
|
*/
|
|
246
243
|
entityFqdn?: string;
|
|
247
244
|
/**
|
|
248
|
-
*
|
|
249
|
-
*
|
|
250
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
245
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
246
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
251
247
|
*/
|
|
252
248
|
slug?: string;
|
|
253
249
|
/** ID of the entity associated with the event. */
|
|
254
250
|
entityId?: string;
|
|
255
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
251
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
256
252
|
eventTime?: Date | null;
|
|
257
253
|
/**
|
|
258
254
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -262,12 +258,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
262
258
|
/** If present, indicates the action that triggered the event. */
|
|
263
259
|
originatedFrom?: string | null;
|
|
264
260
|
/**
|
|
265
|
-
* A sequence number
|
|
266
|
-
*
|
|
267
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
268
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
269
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
270
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
261
|
+
* 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.
|
|
262
|
+
* 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.
|
|
271
263
|
*/
|
|
272
264
|
entityEventSequence?: string | null;
|
|
273
265
|
}
|
|
@@ -293,7 +285,7 @@ export interface EntityUpdatedEvent {
|
|
|
293
285
|
currentEntity?: string;
|
|
294
286
|
}
|
|
295
287
|
export interface EntityDeletedEvent {
|
|
296
|
-
/** Entity that was deleted */
|
|
288
|
+
/** Entity that was deleted. */
|
|
297
289
|
deletedEntity?: string | null;
|
|
298
290
|
}
|
|
299
291
|
export interface ActionEvent {
|
|
@@ -384,25 +376,21 @@ export interface BaseEventMetadata {
|
|
|
384
376
|
identity?: IdentificationData;
|
|
385
377
|
}
|
|
386
378
|
export interface EventMetadata extends BaseEventMetadata {
|
|
387
|
-
/**
|
|
388
|
-
* Unique event ID.
|
|
389
|
-
* Allows clients to ignore duplicate webhooks.
|
|
390
|
-
*/
|
|
379
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
391
380
|
_id?: string;
|
|
392
381
|
/**
|
|
393
|
-
*
|
|
394
|
-
*
|
|
382
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
383
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
395
384
|
*/
|
|
396
385
|
entityFqdn?: string;
|
|
397
386
|
/**
|
|
398
|
-
*
|
|
399
|
-
*
|
|
400
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
387
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
388
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
401
389
|
*/
|
|
402
390
|
slug?: string;
|
|
403
391
|
/** ID of the entity associated with the event. */
|
|
404
392
|
entityId?: string;
|
|
405
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
393
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
406
394
|
eventTime?: Date | null;
|
|
407
395
|
/**
|
|
408
396
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -412,12 +400,8 @@ export interface EventMetadata extends BaseEventMetadata {
|
|
|
412
400
|
/** If present, indicates the action that triggered the event. */
|
|
413
401
|
originatedFrom?: string | null;
|
|
414
402
|
/**
|
|
415
|
-
* A sequence number
|
|
416
|
-
*
|
|
417
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
418
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
419
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
420
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
403
|
+
* 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.
|
|
404
|
+
* 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.
|
|
421
405
|
*/
|
|
422
406
|
entityEventSequence?: string | null;
|
|
423
407
|
}
|
|
@@ -28,6 +28,8 @@ const transform_error_1 = require("@wix/sdk-runtime/transform-error");
|
|
|
28
28
|
const query_builder_1 = require("@wix/sdk-runtime/query-builder");
|
|
29
29
|
const rename_all_nested_keys_1 = require("@wix/sdk-runtime/rename-all-nested-keys");
|
|
30
30
|
const ambassadorWixBookingsCategoriesV2Category = __importStar(require("./bookings-categories-v2-category-categories-v-2.http.js"));
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
const transform_paths_1 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
31
33
|
var SortOrder;
|
|
32
34
|
(function (SortOrder) {
|
|
33
35
|
SortOrder["ASC"] = "ASC";
|
|
@@ -283,7 +285,7 @@ function queryCategories() {
|
|
|
283
285
|
});
|
|
284
286
|
},
|
|
285
287
|
responseTransformer: ({ data }) => {
|
|
286
|
-
const transformedData = (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(data);
|
|
288
|
+
const transformedData = (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(data, []));
|
|
287
289
|
return {
|
|
288
290
|
items: transformedData?.categories,
|
|
289
291
|
pagingMetadata: transformedData?.pagingMetadata,
|
package/build/internal/cjs/src/bookings-categories-v2-category-categories-v-2.universal.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-categories-v2-category-categories-v-2.universal.js","sourceRoot":"","sources":["../../../../src/bookings-categories-v2-category-categories-v-2.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,oIAAsH;
|
|
1
|
+
{"version":3,"file":"bookings-categories-v2-category-categories-v-2.universal.js","sourceRoot":"","sources":["../../../../src/bookings-categories-v2-category-categories-v-2.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,oIAAsH;AACtH,aAAa;AACb,sFAAkF;AAiJlF,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AA8ED,IAAY,QAQX;AARD,WAAY,QAAQ;IAClB,iDAAqC,CAAA;IACrC,iDAAiD;IACjD,yBAAa,CAAA;IACb,uDAAuD;IACvD,2BAAe,CAAA;IACf,gEAAgE;IAChE,6CAAiC,CAAA;AACnC,CAAC,EARW,QAAQ,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E,sBAAsB;aACxC;YACD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,YAAY,EAAE,SAAS,CAAC,CAC1B,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AA3CD,oCA2CC"}
|
|
@@ -233,25 +233,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
233
233
|
updatedEvent?: EntityUpdatedEvent;
|
|
234
234
|
deletedEvent?: EntityDeletedEvent;
|
|
235
235
|
actionEvent?: ActionEvent;
|
|
236
|
-
/**
|
|
237
|
-
* Unique event ID.
|
|
238
|
-
* Allows clients to ignore duplicate webhooks.
|
|
239
|
-
*/
|
|
236
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
240
237
|
id?: string;
|
|
241
238
|
/**
|
|
242
|
-
*
|
|
243
|
-
*
|
|
239
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
240
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
244
241
|
*/
|
|
245
242
|
entityFqdn?: string;
|
|
246
243
|
/**
|
|
247
|
-
*
|
|
248
|
-
*
|
|
249
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
244
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
245
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
250
246
|
*/
|
|
251
247
|
slug?: string;
|
|
252
248
|
/** ID of the entity associated with the event. */
|
|
253
249
|
entityId?: string;
|
|
254
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
250
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
255
251
|
eventTime?: Date | null;
|
|
256
252
|
/**
|
|
257
253
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -261,12 +257,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
261
257
|
/** If present, indicates the action that triggered the event. */
|
|
262
258
|
originatedFrom?: string | null;
|
|
263
259
|
/**
|
|
264
|
-
* A sequence number
|
|
265
|
-
*
|
|
266
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
267
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
268
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
269
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
260
|
+
* 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.
|
|
261
|
+
* 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.
|
|
270
262
|
*/
|
|
271
263
|
entityEventSequence?: string | null;
|
|
272
264
|
}
|
|
@@ -294,7 +286,7 @@ export interface EntityUpdatedEvent {
|
|
|
294
286
|
currentEntityAsJson?: string;
|
|
295
287
|
}
|
|
296
288
|
export interface EntityDeletedEvent {
|
|
297
|
-
/** Entity that was deleted */
|
|
289
|
+
/** Entity that was deleted. */
|
|
298
290
|
deletedEntityAsJson?: string | null;
|
|
299
291
|
}
|
|
300
292
|
export interface ActionEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-categories-v2-category-categories-v-2.types.js","sourceRoot":"","sources":["../../../../src/bookings-categories-v2-category-categories-v-2.types.ts"],"names":[],"mappings":"AA+IA,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AA8ED,MAAM,CAAN,IAAY,QAQX;AARD,WAAY,QAAQ;IAClB,iDAAqC,CAAA;IACrC,iDAAiD;IACjD,yBAAa,CAAA;IACb,uDAAuD;IACvD,2BAAe,CAAA;IACf,gEAAgE;IAChE,6CAAiC,CAAA;AACnC,CAAC,EARW,QAAQ,KAAR,QAAQ,QAQnB;
|
|
1
|
+
{"version":3,"file":"bookings-categories-v2-category-categories-v-2.types.js","sourceRoot":"","sources":["../../../../src/bookings-categories-v2-category-categories-v-2.types.ts"],"names":[],"mappings":"AA+IA,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AA8ED,MAAM,CAAN,IAAY,QAQX;AARD,WAAY,QAAQ;IAClB,iDAAqC,CAAA;IACrC,iDAAiD;IACjD,yBAAa,CAAA;IACb,uDAAuD;IACvD,2BAAe,CAAA;IACf,gEAAgE;IAChE,6CAAiC,CAAA;AACnC,CAAC,EARW,QAAQ,KAAR,QAAQ,QAQnB;AA+JD,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"}
|
|
@@ -234,25 +234,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
234
234
|
updatedEvent?: EntityUpdatedEvent;
|
|
235
235
|
deletedEvent?: EntityDeletedEvent;
|
|
236
236
|
actionEvent?: ActionEvent;
|
|
237
|
-
/**
|
|
238
|
-
* Unique event ID.
|
|
239
|
-
* Allows clients to ignore duplicate webhooks.
|
|
240
|
-
*/
|
|
237
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
241
238
|
_id?: string;
|
|
242
239
|
/**
|
|
243
|
-
*
|
|
244
|
-
*
|
|
240
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
241
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
245
242
|
*/
|
|
246
243
|
entityFqdn?: string;
|
|
247
244
|
/**
|
|
248
|
-
*
|
|
249
|
-
*
|
|
250
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
245
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
246
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
251
247
|
*/
|
|
252
248
|
slug?: string;
|
|
253
249
|
/** ID of the entity associated with the event. */
|
|
254
250
|
entityId?: string;
|
|
255
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
251
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
256
252
|
eventTime?: Date | null;
|
|
257
253
|
/**
|
|
258
254
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -262,12 +258,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
262
258
|
/** If present, indicates the action that triggered the event. */
|
|
263
259
|
originatedFrom?: string | null;
|
|
264
260
|
/**
|
|
265
|
-
* A sequence number
|
|
266
|
-
*
|
|
267
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
268
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
269
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
270
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
261
|
+
* 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.
|
|
262
|
+
* 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.
|
|
271
263
|
*/
|
|
272
264
|
entityEventSequence?: string | null;
|
|
273
265
|
}
|
|
@@ -293,7 +285,7 @@ export interface EntityUpdatedEvent {
|
|
|
293
285
|
currentEntity?: string;
|
|
294
286
|
}
|
|
295
287
|
export interface EntityDeletedEvent {
|
|
296
|
-
/** Entity that was deleted */
|
|
288
|
+
/** Entity that was deleted. */
|
|
297
289
|
deletedEntity?: string | null;
|
|
298
290
|
}
|
|
299
291
|
export interface ActionEvent {
|
|
@@ -384,25 +376,21 @@ export interface BaseEventMetadata {
|
|
|
384
376
|
identity?: IdentificationData;
|
|
385
377
|
}
|
|
386
378
|
export interface EventMetadata extends BaseEventMetadata {
|
|
387
|
-
/**
|
|
388
|
-
* Unique event ID.
|
|
389
|
-
* Allows clients to ignore duplicate webhooks.
|
|
390
|
-
*/
|
|
379
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
391
380
|
_id?: string;
|
|
392
381
|
/**
|
|
393
|
-
*
|
|
394
|
-
*
|
|
382
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
383
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
395
384
|
*/
|
|
396
385
|
entityFqdn?: string;
|
|
397
386
|
/**
|
|
398
|
-
*
|
|
399
|
-
*
|
|
400
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
387
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
388
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
401
389
|
*/
|
|
402
390
|
slug?: string;
|
|
403
391
|
/** ID of the entity associated with the event. */
|
|
404
392
|
entityId?: string;
|
|
405
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
393
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
406
394
|
eventTime?: Date | null;
|
|
407
395
|
/**
|
|
408
396
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -412,12 +400,8 @@ export interface EventMetadata extends BaseEventMetadata {
|
|
|
412
400
|
/** If present, indicates the action that triggered the event. */
|
|
413
401
|
originatedFrom?: string | null;
|
|
414
402
|
/**
|
|
415
|
-
* A sequence number
|
|
416
|
-
*
|
|
417
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
418
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
419
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
420
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
403
|
+
* 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.
|
|
404
|
+
* 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.
|
|
421
405
|
*/
|
|
422
406
|
entityEventSequence?: string | null;
|
|
423
407
|
}
|
|
@@ -2,6 +2,8 @@ import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-
|
|
|
2
2
|
import { queryBuilder } from '@wix/sdk-runtime/query-builder';
|
|
3
3
|
import { renameKeysFromSDKRequestToRESTRequest, renameKeysFromRESTResponseToSDKResponse, } from '@wix/sdk-runtime/rename-all-nested-keys';
|
|
4
4
|
import * as ambassadorWixBookingsCategoriesV2Category from './bookings-categories-v2-category-categories-v-2.http.js';
|
|
5
|
+
// @ts-ignore
|
|
6
|
+
import { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';
|
|
5
7
|
export var SortOrder;
|
|
6
8
|
(function (SortOrder) {
|
|
7
9
|
SortOrder["ASC"] = "ASC";
|
|
@@ -253,7 +255,7 @@ export function queryCategories() {
|
|
|
253
255
|
});
|
|
254
256
|
},
|
|
255
257
|
responseTransformer: ({ data }) => {
|
|
256
|
-
const transformedData = renameKeysFromRESTResponseToSDKResponse(data);
|
|
258
|
+
const transformedData = renameKeysFromRESTResponseToSDKResponse(transformPaths(data, []));
|
|
257
259
|
return {
|
|
258
260
|
items: transformedData?.categories,
|
|
259
261
|
pagingMetadata: transformedData?.pagingMetadata,
|
package/build/internal/es/src/bookings-categories-v2-category-categories-v-2.universal.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-categories-v2-category-categories-v-2.universal.js","sourceRoot":"","sources":["../../../../src/bookings-categories-v2-category-categories-v-2.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,yCAAyC,MAAM,0DAA0D,CAAC;
|
|
1
|
+
{"version":3,"file":"bookings-categories-v2-category-categories-v-2.universal.js","sourceRoot":"","sources":["../../../../src/bookings-categories-v2-category-categories-v-2.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,yCAAyC,MAAM,0DAA0D,CAAC;AACtH,aAAa;AACb,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAiJlF,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AA8ED,MAAM,CAAN,IAAY,QAQX;AARD,WAAY,QAAQ;IAClB,iDAAqC,CAAA;IACrC,iDAAiD;IACjD,yBAAa,CAAA;IACb,uDAAuD;IACvD,2BAAe,CAAA;IACf,gEAAgE;IAChE,6CAAiC,CAAA;AACnC,CAAC,EARW,QA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AG,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_bookings_categories-v-2",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"fqdn": "wix.bookings.categories.v2.category"
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
|
-
"falconPackageHash": "
|
|
51
|
+
"falconPackageHash": "b4335766edef46b6621115f04fa9e054abbc3cca09e4b62c0c170acb"
|
|
52
52
|
}
|