@wix/auto_sdk_bookings_categories-v-2 1.0.1 → 1.0.3
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.http.d.ts +9 -15
- package/build/cjs/src/bookings-categories-v2-category-categories-v-2.http.js +9 -15
- package/build/cjs/src/bookings-categories-v2-category-categories-v-2.http.js.map +1 -1
- package/build/cjs/src/bookings-categories-v2-category-categories-v-2.public.d.ts +9 -15
- package/build/cjs/src/bookings-categories-v2-category-categories-v-2.public.js.map +1 -1
- 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 +26 -48
- package/build/cjs/src/bookings-categories-v2-category-categories-v-2.universal.js +9 -15
- 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.http.d.ts +9 -15
- package/build/es/src/bookings-categories-v2-category-categories-v-2.http.js +9 -15
- package/build/es/src/bookings-categories-v2-category-categories-v-2.http.js.map +1 -1
- package/build/es/src/bookings-categories-v2-category-categories-v-2.public.d.ts +9 -15
- package/build/es/src/bookings-categories-v2-category-categories-v-2.public.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 +26 -48
- package/build/es/src/bookings-categories-v2-category-categories-v-2.universal.js +9 -15
- 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.http.d.ts +9 -15
- package/build/internal/cjs/src/bookings-categories-v2-category-categories-v-2.http.js +9 -15
- package/build/internal/cjs/src/bookings-categories-v2-category-categories-v-2.http.js.map +1 -1
- package/build/internal/cjs/src/bookings-categories-v2-category-categories-v-2.public.d.ts +9 -15
- package/build/internal/cjs/src/bookings-categories-v2-category-categories-v-2.public.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 +26 -48
- package/build/internal/cjs/src/bookings-categories-v2-category-categories-v-2.universal.js +9 -15
- 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.http.d.ts +9 -15
- package/build/internal/es/src/bookings-categories-v2-category-categories-v-2.http.js +9 -15
- package/build/internal/es/src/bookings-categories-v2-category-categories-v-2.http.js.map +1 -1
- package/build/internal/es/src/bookings-categories-v2-category-categories-v-2.public.d.ts +9 -15
- package/build/internal/es/src/bookings-categories-v2-category-categories-v-2.public.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 +26 -48
- package/build/internal/es/src/bookings-categories-v2-category-categories-v-2.universal.js +9 -15
- package/build/internal/es/src/bookings-categories-v2-category-categories-v-2.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -24,28 +24,22 @@ export declare function updateCategory(payload: object): RequestOptionsFactory<a
|
|
|
24
24
|
*/
|
|
25
25
|
export declare function deleteCategory(payload: object): RequestOptionsFactory<any>;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* Creates a query to retrieve a list of `category` objects.
|
|
28
28
|
*
|
|
29
|
+
* The `queryCategories()` function builds a query to retrieve a list of `category` objects and returns a `categoriesQueryBuilder` object.
|
|
29
30
|
*
|
|
30
|
-
*
|
|
31
|
+
* The returned object contains the query definition, which is typically used to run the query using the [find()](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-categories/categories-query-builder/find) function.
|
|
31
32
|
*
|
|
32
|
-
*
|
|
33
|
+
* You can refine the query by chaining `CategoriesQueryBuilder` functions onto the query. `CategoriesQueryBuilder` functions enable you to sort, filter, and control the results that `queryCategories()` returns.
|
|
33
34
|
*
|
|
34
|
-
*
|
|
35
|
-
* __Tip__: Always specify a sort order to ensure consistent results.
|
|
36
|
-
* - `cursorPaging.limit` set to `50`.
|
|
35
|
+
* `queryCategories()` runs with the following `CategoriesQueryBuilder` defaults that you can override:
|
|
37
36
|
*
|
|
38
|
-
*
|
|
37
|
+
* + `limit` is `100`.
|
|
38
|
+
* + Sorted by `createdDate` in ascending order.
|
|
39
39
|
*
|
|
40
|
-
*
|
|
40
|
+
* The functions that are chained to `queryCategories()` are applied in the order they are called. For example, if you apply `ascending("name")` and then `ascending("id")`, the results are sorted first by `name`, and then, if there are multiple results with the same `name`, the items are sorted by `id`.
|
|
41
41
|
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
* To learn about working with Query methods in general, see:
|
|
45
|
-
*
|
|
46
|
-
* - API Query Language ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language) | [REST](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language)).
|
|
47
|
-
* - Sorting ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language#the-sort-array) | [REST](https://dev.wix.com/docs/rest/articles/get-started/sorting-and-paging#sort-query-endpoints)).
|
|
48
|
-
* - Paging ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language#the-paging-object) | [REST](https://dev.wix.com/docs/rest/articles/get-started/sorting-and-paging#paging)).
|
|
42
|
+
* The following `CategoriesQueryBuilder` functions are supported for the `queryCategories()` function. For a full description of the `category` object, see the object returned for the [items](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-categories/categories-query-result/items) property in `CategoriesQueryResult`.
|
|
49
43
|
*/
|
|
50
44
|
export declare function queryCategories(payload: object): RequestOptionsFactory<any>;
|
|
51
45
|
/**
|
|
@@ -207,28 +207,22 @@ function deleteCategory(payload) {
|
|
|
207
207
|
}
|
|
208
208
|
exports.deleteCategory = deleteCategory;
|
|
209
209
|
/**
|
|
210
|
-
*
|
|
210
|
+
* Creates a query to retrieve a list of `category` objects.
|
|
211
211
|
*
|
|
212
|
+
* The `queryCategories()` function builds a query to retrieve a list of `category` objects and returns a `categoriesQueryBuilder` object.
|
|
212
213
|
*
|
|
213
|
-
*
|
|
214
|
+
* The returned object contains the query definition, which is typically used to run the query using the [find()](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-categories/categories-query-builder/find) function.
|
|
214
215
|
*
|
|
215
|
-
*
|
|
216
|
+
* You can refine the query by chaining `CategoriesQueryBuilder` functions onto the query. `CategoriesQueryBuilder` functions enable you to sort, filter, and control the results that `queryCategories()` returns.
|
|
216
217
|
*
|
|
217
|
-
*
|
|
218
|
-
* __Tip__: Always specify a sort order to ensure consistent results.
|
|
219
|
-
* - `cursorPaging.limit` set to `50`.
|
|
218
|
+
* `queryCategories()` runs with the following `CategoriesQueryBuilder` defaults that you can override:
|
|
220
219
|
*
|
|
221
|
-
*
|
|
220
|
+
* + `limit` is `100`.
|
|
221
|
+
* + Sorted by `createdDate` in ascending order.
|
|
222
222
|
*
|
|
223
|
-
*
|
|
223
|
+
* The functions that are chained to `queryCategories()` are applied in the order they are called. For example, if you apply `ascending("name")` and then `ascending("id")`, the results are sorted first by `name`, and then, if there are multiple results with the same `name`, the items are sorted by `id`.
|
|
224
224
|
*
|
|
225
|
-
*
|
|
226
|
-
*
|
|
227
|
-
* To learn about working with Query methods in general, see:
|
|
228
|
-
*
|
|
229
|
-
* - API Query Language ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language) | [REST](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language)).
|
|
230
|
-
* - Sorting ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language#the-sort-array) | [REST](https://dev.wix.com/docs/rest/articles/get-started/sorting-and-paging#sort-query-endpoints)).
|
|
231
|
-
* - Paging ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language#the-paging-object) | [REST](https://dev.wix.com/docs/rest/articles/get-started/sorting-and-paging#paging)).
|
|
225
|
+
* The following `CategoriesQueryBuilder` functions are supported for the `queryCategories()` function. For a full description of the `category` object, see the object returned for the [items](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-categories/categories-query-result/items) property in `CategoriesQueryResult`.
|
|
232
226
|
*/
|
|
233
227
|
function queryCategories(payload) {
|
|
234
228
|
function __queryCategories({ host }) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-categories-v2-category-categories-v-2.http.js","sourceRoot":"","sources":["../../../src/bookings-categories-v2-category-categories-v-2.http.ts"],"names":[],"mappings":";;;AAAA,gEAAkE;AAClE,0EAAkG;AAClG,0EAAkG;AAClG,4EAAmG;AACnG,sFAAkF;AAClF,gEAA2D;AAI3D,SAAS,kDAAkD,CACzD,IAA8C;IAE9C,MAAM,gBAAgB,GAAG;QACvB,sBAAsB,EAAE;YACtB;gBACE,OAAO,EAAE,8BAA8B;gBACvC,QAAQ,EAAE,gBAAgB;aAC3B;SACF;QACD,uBAAuB,EAAE;YACvB;gBACE,OAAO,EAAE,aAAa;gBACtB,QAAQ,EAAE,EAAE;aACb;SACF;QACD,iBAAiB,EAAE;YACjB;gBACE,OAAO,EAAE,yBAAyB;gBAClC,QAAQ,EAAE,gBAAgB;aAC3B;SACF;QACD,oBAAoB,EAAE;YACpB;gBACE,OAAO,EAAE,8BAA8B;gBACvC,QAAQ,EAAE,gBAAgB;aAC3B;SACF;QACD,sBAAsB,EAAE;YACtB;gBACE,OAAO,EAAE,8BAA8B;gBACvC,QAAQ,EAAE,gBAAgB;aAC3B;SACF;QACD,sBAAsB,EAAE;YACtB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YACf,UAAU,EAAE,qCAAqC;YACjD,MAAM,EAAE,OAAc;YACtB,SAAS,EAAE,6DAA6D;YACxE,WAAW,EAAE,YAAY;YACzB,GAAG,EAAE,kDAAkD,CAAC;gBACtD,SAAS,EAAE,8BAA8B;gBACzC,IAAI,EAAE,cAAc;gBACpB,IAAI;aACL,CAAC;YACF,IAAI,EAAE,cAAc;YACpB,iBAAiB,EAAE,CAAC,OAAY,EAAE,EAAE,CAClC,IAAA,gCAAc,EAAC,OAAO,EAAE;gBACtB;oBACE,WAAW,EAAE,gDAAoC;oBACjD,KAAK,EAAE;wBACL,EAAE,IAAI,EAAE,sBAAsB,EAAE;wBAChC,EAAE,IAAI,EAAE,sBAAsB,EAAE;qBACjC;iBACF;aACF,CAAC;SACL,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,OAAO,gBAAgB,CAAC;AAC1B,CAAC;AA1CD,wCA0CC;AAED;;;;;;;;GAQG;AACH,SAAgB,cAAc,CAAC,OAAe;IAC5C,SAAS,gBAAgB,CAAC,EAAE,IAAI,EAAO;QACrC,MAAM,QAAQ,GAAG;YACf,UAAU,EAAE,qCAAqC;YACjD,MAAM,EAAE,QAAe;YACvB,SAAS,EAAE,6DAA6D;YACxE,WAAW,EAAE,YAAY;YACzB,GAAG,EAAE,kDAAkD,CAAC;gBACtD,SAAS,EAAE,6BAA6B;gBACxC,IAAI,EAAE,OAAO;gBACb,IAAI;aACL,CAAC;YACF,MAAM,EAAE,IAAA,gCAAiB,EAAC,OAAO,CAAC;SACnC,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,OAAO,gBAAgB,CAAC;AAC1B,CAAC;AAnBD,wCAmBC;AAED
|
|
1
|
+
{"version":3,"file":"bookings-categories-v2-category-categories-v-2.http.js","sourceRoot":"","sources":["../../../src/bookings-categories-v2-category-categories-v-2.http.ts"],"names":[],"mappings":";;;AAAA,gEAAkE;AAClE,0EAAkG;AAClG,0EAAkG;AAClG,4EAAm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{
|
|
|
53
53
|
export declare function queryCategories(httpClient: HttpClient): QueryCategoriesSignature;
|
|
54
54
|
interface QueryCategoriesSignature {
|
|
55
55
|
/**
|
|
56
|
-
*
|
|
56
|
+
* Creates a query to retrieve a list of `category` objects.
|
|
57
57
|
*
|
|
58
|
+
* The `queryCategories()` function builds a query to retrieve a list of `category` objects and returns a `categoriesQueryBuilder` object.
|
|
58
59
|
*
|
|
59
|
-
*
|
|
60
|
+
* The returned object contains the query definition, which is typically used to run the query using the [find()](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-categories/categories-query-builder/find) function.
|
|
60
61
|
*
|
|
61
|
-
*
|
|
62
|
+
* You can refine the query by chaining `CategoriesQueryBuilder` functions onto the query. `CategoriesQueryBuilder` functions enable you to sort, filter, and control the results that `queryCategories()` returns.
|
|
62
63
|
*
|
|
63
|
-
*
|
|
64
|
-
* __Tip__: Always specify a sort order to ensure consistent results.
|
|
65
|
-
* - `cursorPaging.limit` set to `50`.
|
|
64
|
+
* `queryCategories()` runs with the following `CategoriesQueryBuilder` defaults that you can override:
|
|
66
65
|
*
|
|
67
|
-
*
|
|
66
|
+
* + `limit` is `100`.
|
|
67
|
+
* + Sorted by `createdDate` in ascending order.
|
|
68
68
|
*
|
|
69
|
-
*
|
|
69
|
+
* The functions that are chained to `queryCategories()` are applied in the order they are called. For example, if you apply `ascending("name")` and then `ascending("id")`, the results are sorted first by `name`, and then, if there are multiple results with the same `name`, the items are sorted by `id`.
|
|
70
70
|
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
* To learn about working with Query methods in general, see:
|
|
74
|
-
*
|
|
75
|
-
* - API Query Language ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language) | [REST](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language)).
|
|
76
|
-
* - Sorting ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language#the-sort-array) | [REST](https://dev.wix.com/docs/rest/articles/get-started/sorting-and-paging#sort-query-endpoints)).
|
|
77
|
-
* - Paging ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language#the-paging-object) | [REST](https://dev.wix.com/docs/rest/articles/get-started/sorting-and-paging#paging)).
|
|
71
|
+
* The following `CategoriesQueryBuilder` functions are supported for the `queryCategories()` function. For a full description of the `category` object, see the object returned for the [items](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-categories/categories-query-result/items) property in `CategoriesQueryResult`.
|
|
78
72
|
*/
|
|
79
73
|
(): CategoriesQueryBuilder;
|
|
80
74
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-categories-v2-category-categories-v-2.public.js","sourceRoot":"","sources":["../../../src/bookings-categories-v2-category-categories-v-2.public.ts"],"names":[],"mappings":";;;AAAA,oFAAkG;AAClG,0EAAkG;AAClG,sFAAkF;AAClF,8CAA+E;AAC/E,+IAkBuE;AAE1D,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC;AAE5D,SAAgB,cAAc,CAC5B,UAAsB;IAEtB,OAAO,CAAC,QAA4C,EAAE,EAAE,CACtD,IAAA,4EAAuB,EACrB,QAAQ;IACR,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AATD,wCASC;AAWD,SAAgB,WAAW,CAAC,UAAsB;IAChD,OAAO,CAAC,UAAkB,EAAE,EAAE,CAC5B,IAAA,yEAAoB,EAClB,UAAU;IACV,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,kCAOC;AAWD,SAAgB,cAAc,CAC5B,UAAsB;IAEtB,OAAO,CACL,GAAW,EACX,QAAsD,EACtD,EAAE,CACF,IAAA,4EAAuB,EACrB,GAAG,EACH,QAAQ;IACR,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAbD,wCAaC;AAiBD,SAAgB,cAAc,CAC5B,UAAsB;IAEtB,OAAO,CAAC,UAAkB,EAAE,EAAE,CAC5B,IAAA,4EAAuB,EACrB,UAAU;IACV,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AATD,wCASC;AAgBD,SAAgB,eAAe,CAC7B,UAAsB;IAEtB,OAAO,GAAG,EAAE,CACV,IAAA,6EAAwB;IACtB,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,0CAQC;
|
|
1
|
+
{"version":3,"file":"bookings-categories-v2-category-categories-v-2.public.js","sourceRoot":"","sources":["../../../src/bookings-categories-v2-category-categories-v-2.public.ts"],"names":[],"mappings":";;;AAAA,oFAAkG;AAClG,0EAAkG;AAClG,sFAAkF;AAClF,8CAA+E;AAC/E,+IAkBuE;AAE1D,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC;AAE5D,SAAgB,cAAc,CAC5B,UAAsB;IAEtB,OAAO,CAAC,QAA4C,EAAE,EAAE,CACtD,IAAA,4EAAuB,EACrB,QAAQ;IACR,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AATD,wCASC;AAWD,SAAgB,WAAW,CAAC,UAAsB;IAChD,OAAO,CAAC,UAAkB,EAAE,EAAE,CAC5B,IAAA,yEAAoB,EAClB,UAAU;IACV,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,kCAOC;AAWD,SAAgB,cAAc,CAC5B,UAAsB;IAEtB,OAAO,CACL,GAAW,EACX,QAAsD,EACtD,EAAE,CACF,IAAA,4EAAuB,EACrB,GAAG,EACH,QAAQ;IACR,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAbD,wCAaC;AAiBD,SAAgB,cAAc,CAC5B,UAAsB;IAEtB,OAAO,CAAC,UAAkB,EAAE,EAAE,CAC5B,IAAA,4EAAuB,EACrB,UAAU;IACV,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AATD,wCASC;AAgB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H,CACJ,EAA2B,CAAC;AAChB,QAAA,iBAAiB,GAAG,IAAA,2BAAe,EAC9C,6CAA6C,EAC7C,IAAI,EACJ,CAAC,KAA8B,EAAE,EAAE,CACjC,IAAA,gEAAuC,EACrC,IAAA,gCAAc,EAAC,KAAK,EAAE;IACpB;QACE,WAAW,EAAE,gDAAoC;QACjD,KAAK,EAAE;YACL,EAAE,IAAI,EAAE,oBAAoB,EAAE;YAC9B,EAAE,IAAI,EAAE,oBAAoB,EAAE;YAC9B,EAAE,IAAI,EAAE,oBAAoB,EAAE;SAC/B;KACF;CACF,CAAC,CACH,CACJ,EAA2B,CAAC;AAE7B,6IAkDuE;AAZrE,uJAAA,QAAQ,OAAA;AAMR,wJAAA,SAAS,OAAA;AAKT,kKAAA,mBAAmB,OAAA"}
|
|
@@ -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
|
}
|
|
@@ -622,28 +606,22 @@ export interface UpdateCategory {
|
|
|
622
606
|
*/
|
|
623
607
|
export declare function deleteCategory(categoryId: string): Promise<void>;
|
|
624
608
|
/**
|
|
625
|
-
*
|
|
626
|
-
*
|
|
627
|
-
*
|
|
628
|
-
* ## Defaults
|
|
609
|
+
* Creates a query to retrieve a list of `category` objects.
|
|
629
610
|
*
|
|
630
|
-
*
|
|
611
|
+
* The `queryCategories()` function builds a query to retrieve a list of `category` objects and returns a `categoriesQueryBuilder` object.
|
|
631
612
|
*
|
|
632
|
-
*
|
|
633
|
-
* __Tip__: Always specify a sort order to ensure consistent results.
|
|
634
|
-
* - `cursorPaging.limit` set to `50`.
|
|
613
|
+
* The returned object contains the query definition, which is typically used to run the query using the [find()](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-categories/categories-query-builder/find) function.
|
|
635
614
|
*
|
|
636
|
-
*
|
|
615
|
+
* You can refine the query by chaining `CategoriesQueryBuilder` functions onto the query. `CategoriesQueryBuilder` functions enable you to sort, filter, and control the results that `queryCategories()` returns.
|
|
637
616
|
*
|
|
638
|
-
*
|
|
617
|
+
* `queryCategories()` runs with the following `CategoriesQueryBuilder` defaults that you can override:
|
|
639
618
|
*
|
|
640
|
-
*
|
|
619
|
+
* + `limit` is `100`.
|
|
620
|
+
* + Sorted by `createdDate` in ascending order.
|
|
641
621
|
*
|
|
642
|
-
*
|
|
622
|
+
* The functions that are chained to `queryCategories()` are applied in the order they are called. For example, if you apply `ascending("name")` and then `ascending("id")`, the results are sorted first by `name`, and then, if there are multiple results with the same `name`, the items are sorted by `id`.
|
|
643
623
|
*
|
|
644
|
-
*
|
|
645
|
-
* - Sorting ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language#the-sort-array) | [REST](https://dev.wix.com/docs/rest/articles/get-started/sorting-and-paging#sort-query-endpoints)).
|
|
646
|
-
* - Paging ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language#the-paging-object) | [REST](https://dev.wix.com/docs/rest/articles/get-started/sorting-and-paging#paging)).
|
|
624
|
+
* The following `CategoriesQueryBuilder` functions are supported for the `queryCategories()` function. For a full description of the `category` object, see the object returned for the [items](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-categories/categories-query-result/items) property in `CategoriesQueryResult`.
|
|
647
625
|
* @public
|
|
648
626
|
* @permissionScope Read Bookings - Public Data
|
|
649
627
|
* @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
|
|
@@ -224,28 +224,22 @@ async function deleteCategory(categoryId) {
|
|
|
224
224
|
}
|
|
225
225
|
exports.deleteCategory = deleteCategory;
|
|
226
226
|
/**
|
|
227
|
-
*
|
|
227
|
+
* Creates a query to retrieve a list of `category` objects.
|
|
228
228
|
*
|
|
229
|
+
* The `queryCategories()` function builds a query to retrieve a list of `category` objects and returns a `categoriesQueryBuilder` object.
|
|
229
230
|
*
|
|
230
|
-
*
|
|
231
|
+
* The returned object contains the query definition, which is typically used to run the query using the [find()](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-categories/categories-query-builder/find) function.
|
|
231
232
|
*
|
|
232
|
-
*
|
|
233
|
+
* You can refine the query by chaining `CategoriesQueryBuilder` functions onto the query. `CategoriesQueryBuilder` functions enable you to sort, filter, and control the results that `queryCategories()` returns.
|
|
233
234
|
*
|
|
234
|
-
*
|
|
235
|
-
* __Tip__: Always specify a sort order to ensure consistent results.
|
|
236
|
-
* - `cursorPaging.limit` set to `50`.
|
|
235
|
+
* `queryCategories()` runs with the following `CategoriesQueryBuilder` defaults that you can override:
|
|
237
236
|
*
|
|
238
|
-
*
|
|
237
|
+
* + `limit` is `100`.
|
|
238
|
+
* + Sorted by `createdDate` in ascending order.
|
|
239
239
|
*
|
|
240
|
-
*
|
|
240
|
+
* The functions that are chained to `queryCategories()` are applied in the order they are called. For example, if you apply `ascending("name")` and then `ascending("id")`, the results are sorted first by `name`, and then, if there are multiple results with the same `name`, the items are sorted by `id`.
|
|
241
241
|
*
|
|
242
|
-
*
|
|
243
|
-
*
|
|
244
|
-
* To learn about working with Query methods in general, see:
|
|
245
|
-
*
|
|
246
|
-
* - API Query Language ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language) | [REST](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language)).
|
|
247
|
-
* - Sorting ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language#the-sort-array) | [REST](https://dev.wix.com/docs/rest/articles/get-started/sorting-and-paging#sort-query-endpoints)).
|
|
248
|
-
* - Paging ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language#the-paging-object) | [REST](https://dev.wix.com/docs/rest/articles/get-started/sorting-and-paging#paging)).
|
|
242
|
+
* The following `CategoriesQueryBuilder` functions are supported for the `queryCategories()` function. For a full description of the `category` object, see the object returned for the [items](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-categories/categories-query-result/items) property in `CategoriesQueryResult`.
|
|
249
243
|
* @public
|
|
250
244
|
* @permissionScope Read Bookings - Public Data
|
|
251
245
|
* @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
|
|
@@ -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;AAkJtH,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.universal.js","sourceRoot":"","sources":["../../../src/bookings-categories-v2-category-categories-v-2.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,oIAAsH;AAkJtH,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,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E;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"}
|
|
@@ -24,28 +24,22 @@ export declare function updateCategory(payload: object): RequestOptionsFactory<a
|
|
|
24
24
|
*/
|
|
25
25
|
export declare function deleteCategory(payload: object): RequestOptionsFactory<any>;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* Creates a query to retrieve a list of `category` objects.
|
|
28
28
|
*
|
|
29
|
+
* The `queryCategories()` function builds a query to retrieve a list of `category` objects and returns a `categoriesQueryBuilder` object.
|
|
29
30
|
*
|
|
30
|
-
*
|
|
31
|
+
* The returned object contains the query definition, which is typically used to run the query using the [find()](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-categories/categories-query-builder/find) function.
|
|
31
32
|
*
|
|
32
|
-
*
|
|
33
|
+
* You can refine the query by chaining `CategoriesQueryBuilder` functions onto the query. `CategoriesQueryBuilder` functions enable you to sort, filter, and control the results that `queryCategories()` returns.
|
|
33
34
|
*
|
|
34
|
-
*
|
|
35
|
-
* __Tip__: Always specify a sort order to ensure consistent results.
|
|
36
|
-
* - `cursorPaging.limit` set to `50`.
|
|
35
|
+
* `queryCategories()` runs with the following `CategoriesQueryBuilder` defaults that you can override:
|
|
37
36
|
*
|
|
38
|
-
*
|
|
37
|
+
* + `limit` is `100`.
|
|
38
|
+
* + Sorted by `createdDate` in ascending order.
|
|
39
39
|
*
|
|
40
|
-
*
|
|
40
|
+
* The functions that are chained to `queryCategories()` are applied in the order they are called. For example, if you apply `ascending("name")` and then `ascending("id")`, the results are sorted first by `name`, and then, if there are multiple results with the same `name`, the items are sorted by `id`.
|
|
41
41
|
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
* To learn about working with Query methods in general, see:
|
|
45
|
-
*
|
|
46
|
-
* - API Query Language ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language) | [REST](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language)).
|
|
47
|
-
* - Sorting ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language#the-sort-array) | [REST](https://dev.wix.com/docs/rest/articles/get-started/sorting-and-paging#sort-query-endpoints)).
|
|
48
|
-
* - Paging ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language#the-paging-object) | [REST](https://dev.wix.com/docs/rest/articles/get-started/sorting-and-paging#paging)).
|
|
42
|
+
* The following `CategoriesQueryBuilder` functions are supported for the `queryCategories()` function. For a full description of the `category` object, see the object returned for the [items](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-categories/categories-query-result/items) property in `CategoriesQueryResult`.
|
|
49
43
|
*/
|
|
50
44
|
export declare function queryCategories(payload: object): RequestOptionsFactory<any>;
|
|
51
45
|
/**
|
|
@@ -200,28 +200,22 @@ export function deleteCategory(payload) {
|
|
|
200
200
|
return __deleteCategory;
|
|
201
201
|
}
|
|
202
202
|
/**
|
|
203
|
-
*
|
|
203
|
+
* Creates a query to retrieve a list of `category` objects.
|
|
204
204
|
*
|
|
205
|
+
* The `queryCategories()` function builds a query to retrieve a list of `category` objects and returns a `categoriesQueryBuilder` object.
|
|
205
206
|
*
|
|
206
|
-
*
|
|
207
|
+
* The returned object contains the query definition, which is typically used to run the query using the [find()](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-categories/categories-query-builder/find) function.
|
|
207
208
|
*
|
|
208
|
-
*
|
|
209
|
+
* You can refine the query by chaining `CategoriesQueryBuilder` functions onto the query. `CategoriesQueryBuilder` functions enable you to sort, filter, and control the results that `queryCategories()` returns.
|
|
209
210
|
*
|
|
210
|
-
*
|
|
211
|
-
* __Tip__: Always specify a sort order to ensure consistent results.
|
|
212
|
-
* - `cursorPaging.limit` set to `50`.
|
|
211
|
+
* `queryCategories()` runs with the following `CategoriesQueryBuilder` defaults that you can override:
|
|
213
212
|
*
|
|
214
|
-
*
|
|
213
|
+
* + `limit` is `100`.
|
|
214
|
+
* + Sorted by `createdDate` in ascending order.
|
|
215
215
|
*
|
|
216
|
-
*
|
|
216
|
+
* The functions that are chained to `queryCategories()` are applied in the order they are called. For example, if you apply `ascending("name")` and then `ascending("id")`, the results are sorted first by `name`, and then, if there are multiple results with the same `name`, the items are sorted by `id`.
|
|
217
217
|
*
|
|
218
|
-
*
|
|
219
|
-
*
|
|
220
|
-
* To learn about working with Query methods in general, see:
|
|
221
|
-
*
|
|
222
|
-
* - API Query Language ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language) | [REST](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language)).
|
|
223
|
-
* - Sorting ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language#the-sort-array) | [REST](https://dev.wix.com/docs/rest/articles/get-started/sorting-and-paging#sort-query-endpoints)).
|
|
224
|
-
* - Paging ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language#the-paging-object) | [REST](https://dev.wix.com/docs/rest/articles/get-started/sorting-and-paging#paging)).
|
|
218
|
+
* The following `CategoriesQueryBuilder` functions are supported for the `queryCategories()` function. For a full description of the `category` object, see the object returned for the [items](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-categories/categories-query-result/items) property in `CategoriesQueryResult`.
|
|
225
219
|
*/
|
|
226
220
|
export function queryCategories(payload) {
|
|
227
221
|
function __queryCategories({ host }) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-categories-v2-category-categories-v-2.http.js","sourceRoot":"","sources":["../../../src/bookings-categories-v2-category-categories-v-2.http.ts"],"names":[],"mappings":"AAAA,OAAO,EA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F;aACF,CAAC;SACL,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,OAAO,gBAAgB,CAAC;AAC1B,CAAC;AAED;;;;;;;;GAQG;AACH,MAAM,UAAU,cAAc,CAAC,OAAe;IAC5C,SAAS,gBAAgB,CAAC,EAAE,IAAI,EAAO;QACrC,MAAM,QAAQ,GAAG;YACf,UAAU,EAAE,qCAAqC;YACjD,MAAM,EAAE,QAAe;YACvB,SAAS,EAAE,6DAA6D;YACxE,WAAW,EAAE,YAAY;YACzB,GAAG,EAAE,kDAAkD,CAAC;gBACtD,SAAS,EAAE,6BAA6B;gBACxC,IAAI,EAAE,OAAO;gBACb,IAAI;aACL,CAAC;YACF,MAAM,EAAE,iBAAiB,CAAC,OAAO,CAAC;SACnC,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,OAAO,gBAAgB,CAAC;AAC1B,CAAC;AAED
|
|
1
|
+
{"version":3,"file":"bookings-categories-v2-category-categories-v-2.http.js","sourceRoot":"","sources":["../../../src/bookings-categories-v2-category-categories-v-2.http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,oCAAoC,EAAE,MAAM,4CAA4C,CAAC;AAClG,OAAO,EAAE,oCAAoC,EAAE,MAAM,4CAA4C,CAAC;AAClG,OAAO,EAAE,oCAAoC,EAAE,MAAM,6CAA6C,CAAC;AACnG,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAClF,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAI3D,SAAS,kDAAkD,CACzD,IAA8C;IAE9C,MAAM,gBAAgB,GAAG;QACvB,sBAAsB,EAAE;YACtB;gBACE,OAAO,EAAE,8BAA8B;gBACvC,QAAQ,EAAE,gBAAgB;aAC3B;SACF;QACD,uBAAuB,EAAE;YACvB;gBACE,OAAO,EAAE,aAAa;gBACtB,QAAQ,EAAE,EAAE;a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