@wix/auto_sdk_bookings_resources 1.0.0

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.
Files changed (111) hide show
  1. package/build/cjs/index.d.ts +1 -0
  2. package/build/cjs/index.js +18 -0
  3. package/build/cjs/index.js.map +1 -0
  4. package/build/cjs/index.typings.d.ts +1 -0
  5. package/build/cjs/index.typings.js +18 -0
  6. package/build/cjs/index.typings.js.map +1 -0
  7. package/build/cjs/meta.d.ts +1 -0
  8. package/build/cjs/meta.js +18 -0
  9. package/build/cjs/meta.js.map +1 -0
  10. package/build/cjs/src/bookings-resources-v2-resource-resources.context.d.ts +33 -0
  11. package/build/cjs/src/bookings-resources-v2-resource-resources.context.js +47 -0
  12. package/build/cjs/src/bookings-resources-v2-resource-resources.context.js.map +1 -0
  13. package/build/cjs/src/bookings-resources-v2-resource-resources.http.d.ts +66 -0
  14. package/build/cjs/src/bookings-resources-v2-resource-resources.http.js +416 -0
  15. package/build/cjs/src/bookings-resources-v2-resource-resources.http.js.map +1 -0
  16. package/build/cjs/src/bookings-resources-v2-resource-resources.meta.d.ts +27 -0
  17. package/build/cjs/src/bookings-resources-v2-resource-resources.meta.js +199 -0
  18. package/build/cjs/src/bookings-resources-v2-resource-resources.meta.js.map +1 -0
  19. package/build/cjs/src/bookings-resources-v2-resource-resources.public.d.ts +119 -0
  20. package/build/cjs/src/bookings-resources-v2-resource-resources.public.js +106 -0
  21. package/build/cjs/src/bookings-resources-v2-resource-resources.public.js.map +1 -0
  22. package/build/cjs/src/bookings-resources-v2-resource-resources.types.d.ts +1011 -0
  23. package/build/cjs/src/bookings-resources-v2-resource-resources.types.js +104 -0
  24. package/build/cjs/src/bookings-resources-v2-resource-resources.types.js.map +1 -0
  25. package/build/cjs/src/bookings-resources-v2-resource-resources.universal.d.ts +1436 -0
  26. package/build/cjs/src/bookings-resources-v2-resource-resources.universal.js +563 -0
  27. package/build/cjs/src/bookings-resources-v2-resource-resources.universal.js.map +1 -0
  28. package/build/es/index.d.ts +1 -0
  29. package/build/es/index.js +2 -0
  30. package/build/es/index.js.map +1 -0
  31. package/build/es/index.typings.d.ts +1 -0
  32. package/build/es/index.typings.js +2 -0
  33. package/build/es/index.typings.js.map +1 -0
  34. package/build/es/meta.d.ts +1 -0
  35. package/build/es/meta.js +2 -0
  36. package/build/es/meta.js.map +1 -0
  37. package/build/es/package.json +3 -0
  38. package/build/es/src/bookings-resources-v2-resource-resources.context.d.ts +33 -0
  39. package/build/es/src/bookings-resources-v2-resource-resources.context.js +33 -0
  40. package/build/es/src/bookings-resources-v2-resource-resources.context.js.map +1 -0
  41. package/build/es/src/bookings-resources-v2-resource-resources.http.d.ts +66 -0
  42. package/build/es/src/bookings-resources-v2-resource-resources.http.js +404 -0
  43. package/build/es/src/bookings-resources-v2-resource-resources.http.js.map +1 -0
  44. package/build/es/src/bookings-resources-v2-resource-resources.meta.d.ts +27 -0
  45. package/build/es/src/bookings-resources-v2-resource-resources.meta.js +164 -0
  46. package/build/es/src/bookings-resources-v2-resource-resources.meta.js.map +1 -0
  47. package/build/es/src/bookings-resources-v2-resource-resources.public.d.ts +119 -0
  48. package/build/es/src/bookings-resources-v2-resource-resources.public.js +83 -0
  49. package/build/es/src/bookings-resources-v2-resource-resources.public.js.map +1 -0
  50. package/build/es/src/bookings-resources-v2-resource-resources.types.d.ts +1011 -0
  51. package/build/es/src/bookings-resources-v2-resource-resources.types.js +101 -0
  52. package/build/es/src/bookings-resources-v2-resource-resources.types.js.map +1 -0
  53. package/build/es/src/bookings-resources-v2-resource-resources.universal.d.ts +1436 -0
  54. package/build/es/src/bookings-resources-v2-resource-resources.universal.js +528 -0
  55. package/build/es/src/bookings-resources-v2-resource-resources.universal.js.map +1 -0
  56. package/build/internal/cjs/index.d.ts +1 -0
  57. package/build/internal/cjs/index.js +18 -0
  58. package/build/internal/cjs/index.js.map +1 -0
  59. package/build/internal/cjs/index.typings.d.ts +1 -0
  60. package/build/internal/cjs/index.typings.js +18 -0
  61. package/build/internal/cjs/index.typings.js.map +1 -0
  62. package/build/internal/cjs/meta.d.ts +1 -0
  63. package/build/internal/cjs/meta.js +18 -0
  64. package/build/internal/cjs/meta.js.map +1 -0
  65. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.context.d.ts +33 -0
  66. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.context.js +47 -0
  67. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.context.js.map +1 -0
  68. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.http.d.ts +66 -0
  69. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.http.js +416 -0
  70. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.http.js.map +1 -0
  71. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.meta.d.ts +27 -0
  72. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.meta.js +199 -0
  73. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.meta.js.map +1 -0
  74. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.public.d.ts +119 -0
  75. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.public.js +106 -0
  76. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.public.js.map +1 -0
  77. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.types.d.ts +1011 -0
  78. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.types.js +104 -0
  79. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.types.js.map +1 -0
  80. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.universal.d.ts +1436 -0
  81. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.universal.js +563 -0
  82. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.universal.js.map +1 -0
  83. package/build/internal/es/index.d.ts +1 -0
  84. package/build/internal/es/index.js +2 -0
  85. package/build/internal/es/index.js.map +1 -0
  86. package/build/internal/es/index.typings.d.ts +1 -0
  87. package/build/internal/es/index.typings.js +2 -0
  88. package/build/internal/es/index.typings.js.map +1 -0
  89. package/build/internal/es/meta.d.ts +1 -0
  90. package/build/internal/es/meta.js +2 -0
  91. package/build/internal/es/meta.js.map +1 -0
  92. package/build/internal/es/src/bookings-resources-v2-resource-resources.context.d.ts +33 -0
  93. package/build/internal/es/src/bookings-resources-v2-resource-resources.context.js +33 -0
  94. package/build/internal/es/src/bookings-resources-v2-resource-resources.context.js.map +1 -0
  95. package/build/internal/es/src/bookings-resources-v2-resource-resources.http.d.ts +66 -0
  96. package/build/internal/es/src/bookings-resources-v2-resource-resources.http.js +404 -0
  97. package/build/internal/es/src/bookings-resources-v2-resource-resources.http.js.map +1 -0
  98. package/build/internal/es/src/bookings-resources-v2-resource-resources.meta.d.ts +27 -0
  99. package/build/internal/es/src/bookings-resources-v2-resource-resources.meta.js +164 -0
  100. package/build/internal/es/src/bookings-resources-v2-resource-resources.meta.js.map +1 -0
  101. package/build/internal/es/src/bookings-resources-v2-resource-resources.public.d.ts +119 -0
  102. package/build/internal/es/src/bookings-resources-v2-resource-resources.public.js +83 -0
  103. package/build/internal/es/src/bookings-resources-v2-resource-resources.public.js.map +1 -0
  104. package/build/internal/es/src/bookings-resources-v2-resource-resources.types.d.ts +1011 -0
  105. package/build/internal/es/src/bookings-resources-v2-resource-resources.types.js +101 -0
  106. package/build/internal/es/src/bookings-resources-v2-resource-resources.types.js.map +1 -0
  107. package/build/internal/es/src/bookings-resources-v2-resource-resources.universal.d.ts +1436 -0
  108. package/build/internal/es/src/bookings-resources-v2-resource-resources.universal.js +528 -0
  109. package/build/internal/es/src/bookings-resources-v2-resource-resources.universal.js.map +1 -0
  110. package/meta/package.json +3 -0
  111. package/package.json +52 -0
@@ -0,0 +1,199 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.countResources = exports.queryResources = exports.searchResources = exports.bulkDeleteResources = exports.deleteResource = exports.updateResource = exports.getResource = exports.bulkCreateResources = exports.createResource = void 0;
27
+ const ambassadorWixBookingsResourcesV2Resource = __importStar(require("./bookings-resources-v2-resource-resources.http.js"));
28
+ function createResource() {
29
+ const payload = {};
30
+ const getRequestOptions = ambassadorWixBookingsResourcesV2Resource.createResource(payload);
31
+ const getUrl = (context) => {
32
+ const { url } = getRequestOptions(context);
33
+ return url;
34
+ };
35
+ return {
36
+ getUrl,
37
+ httpMethod: 'POST',
38
+ path: '/v2/resources',
39
+ pathParams: {},
40
+ __requestType: null,
41
+ __originalRequestType: null,
42
+ __responseType: null,
43
+ __originalResponseType: null,
44
+ };
45
+ }
46
+ exports.createResource = createResource;
47
+ function bulkCreateResources() {
48
+ const payload = {};
49
+ const getRequestOptions = ambassadorWixBookingsResourcesV2Resource.bulkCreateResources(payload);
50
+ const getUrl = (context) => {
51
+ const { url } = getRequestOptions(context);
52
+ return url;
53
+ };
54
+ return {
55
+ getUrl,
56
+ httpMethod: 'POST',
57
+ path: '/v2/bulk/resources/create',
58
+ pathParams: {},
59
+ __requestType: null,
60
+ __originalRequestType: null,
61
+ __responseType: null,
62
+ __originalResponseType: null,
63
+ };
64
+ }
65
+ exports.bulkCreateResources = bulkCreateResources;
66
+ function getResource() {
67
+ const payload = { resourceId: ':resourceId' };
68
+ const getRequestOptions = ambassadorWixBookingsResourcesV2Resource.getResource(payload);
69
+ const getUrl = (context) => {
70
+ const { url } = getRequestOptions(context);
71
+ return url;
72
+ };
73
+ return {
74
+ getUrl,
75
+ httpMethod: 'GET',
76
+ path: '/v2/resources/{resourceId}',
77
+ pathParams: { resourceId: 'resourceId' },
78
+ __requestType: null,
79
+ __originalRequestType: null,
80
+ __responseType: null,
81
+ __originalResponseType: null,
82
+ };
83
+ }
84
+ exports.getResource = getResource;
85
+ function updateResource() {
86
+ const payload = { resource: { id: ':resourceId' } };
87
+ const getRequestOptions = ambassadorWixBookingsResourcesV2Resource.updateResource(payload);
88
+ const getUrl = (context) => {
89
+ const { url } = getRequestOptions(context);
90
+ return url;
91
+ };
92
+ return {
93
+ getUrl,
94
+ httpMethod: 'PATCH',
95
+ path: '/v2/resources/{resource.id}',
96
+ pathParams: { resourceId: 'resourceId' },
97
+ __requestType: null,
98
+ __originalRequestType: null,
99
+ __responseType: null,
100
+ __originalResponseType: null,
101
+ };
102
+ }
103
+ exports.updateResource = updateResource;
104
+ function deleteResource() {
105
+ const payload = { resourceId: ':resourceId' };
106
+ const getRequestOptions = ambassadorWixBookingsResourcesV2Resource.deleteResource(payload);
107
+ const getUrl = (context) => {
108
+ const { url } = getRequestOptions(context);
109
+ return url;
110
+ };
111
+ return {
112
+ getUrl,
113
+ httpMethod: 'DELETE',
114
+ path: '/v2/resources/{resourceId}',
115
+ pathParams: { resourceId: 'resourceId' },
116
+ __requestType: null,
117
+ __originalRequestType: null,
118
+ __responseType: null,
119
+ __originalResponseType: null,
120
+ };
121
+ }
122
+ exports.deleteResource = deleteResource;
123
+ function bulkDeleteResources() {
124
+ const payload = {};
125
+ const getRequestOptions = ambassadorWixBookingsResourcesV2Resource.bulkDeleteResources(payload);
126
+ const getUrl = (context) => {
127
+ const { url } = getRequestOptions(context);
128
+ return url;
129
+ };
130
+ return {
131
+ getUrl,
132
+ httpMethod: 'POST',
133
+ path: '/v2/bulk/resources/delete',
134
+ pathParams: {},
135
+ __requestType: null,
136
+ __originalRequestType: null,
137
+ __responseType: null,
138
+ __originalResponseType: null,
139
+ };
140
+ }
141
+ exports.bulkDeleteResources = bulkDeleteResources;
142
+ function searchResources() {
143
+ const payload = {};
144
+ const getRequestOptions = ambassadorWixBookingsResourcesV2Resource.searchResources(payload);
145
+ const getUrl = (context) => {
146
+ const { url } = getRequestOptions(context);
147
+ return url;
148
+ };
149
+ return {
150
+ getUrl,
151
+ httpMethod: 'POST',
152
+ path: '/v2/resources/search',
153
+ pathParams: {},
154
+ __requestType: null,
155
+ __originalRequestType: null,
156
+ __responseType: null,
157
+ __originalResponseType: null,
158
+ };
159
+ }
160
+ exports.searchResources = searchResources;
161
+ function queryResources() {
162
+ const payload = {};
163
+ const getRequestOptions = ambassadorWixBookingsResourcesV2Resource.queryResources(payload);
164
+ const getUrl = (context) => {
165
+ const { url } = getRequestOptions(context);
166
+ return url;
167
+ };
168
+ return {
169
+ getUrl,
170
+ httpMethod: 'POST',
171
+ path: '/v2/resources/query',
172
+ pathParams: {},
173
+ __requestType: null,
174
+ __originalRequestType: null,
175
+ __responseType: null,
176
+ __originalResponseType: null,
177
+ };
178
+ }
179
+ exports.queryResources = queryResources;
180
+ function countResources() {
181
+ const payload = {};
182
+ const getRequestOptions = ambassadorWixBookingsResourcesV2Resource.countResources(payload);
183
+ const getUrl = (context) => {
184
+ const { url } = getRequestOptions(context);
185
+ return url;
186
+ };
187
+ return {
188
+ getUrl,
189
+ httpMethod: 'POST',
190
+ path: '/v2/resources/count',
191
+ pathParams: {},
192
+ __requestType: null,
193
+ __originalRequestType: null,
194
+ __responseType: null,
195
+ __originalResponseType: null,
196
+ };
197
+ }
198
+ exports.countResources = countResources;
199
+ //# sourceMappingURL=bookings-resources-v2-resource-resources.meta.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bookings-resources-v2-resource-resources.meta.js","sourceRoot":"","sources":["../../../../src/bookings-resources-v2-resource-resources.meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6HAA+G;AAsB/G,SAAgB,cAAc;IAU5B,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,wCAAwC,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;IAEnE,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,MAAM;QAClB,IAAI,EAAE,eAAe;QACrB,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AA9BD,wCA8BC;AAED,SAAgB,mBAAmB;IAUjC,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,wCAAwC,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;IAExE,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,MAAM;QAClB,IAAI,EAAE,2BAA2B;QACjC,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AA9BD,kDA8BC;AA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B,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AA9BD,wCA8BC"}
@@ -0,0 +1,119 @@
1
+ import { EventDefinition, HttpClient } from '@wix/sdk-types';
2
+ import { BulkCreateResourcesOptions, BulkCreateResourcesResponse, BulkCreateResourcesResponseNonNullableFields, BulkDeleteResourcesResponse, BulkDeleteResourcesResponseNonNullableFields, CountResourcesOptions, CountResourcesResponse, CountResourcesResponseNonNullableFields, Resource, ResourceCreatedEnvelope, ResourceDeletedEnvelope, ResourceNonNullableFields, ResourceUpdatedEnvelope, ResourcesQueryBuilder, SearchResourcesOptions, SearchResourcesResponse, SearchResourcesResponseNonNullableFields, UpdateResource } from './bookings-resources-v2-resource-resources.universal.js';
3
+ export declare const __metadata: {
4
+ PACKAGE_NAME: string;
5
+ };
6
+ export declare function createResource(httpClient: HttpClient): CreateResourceSignature;
7
+ interface CreateResourceSignature {
8
+ /**
9
+ * Creates a new resource.
10
+ *
11
+ * A new events schedule is automatically created specific to this resource. This schedule will contain information
12
+ * on when the resource is booked in order to prevent double bookings.
13
+ * See [Schedules API](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object) for more information.
14
+ *
15
+ * - If the request does not include the field `locationOptions`, then the service will create this field and set
16
+ * `availableInAllLocations` in this structure to `true`.
17
+ * - If the request includes one or more business location IDs in the `locationOptions.specificLocationOptions.businessLocations`
18
+ * field, then the field `locationOptions.specificLocationOptions.availableInBusinessLocations` must be set
19
+ * to `true`.
20
+ * @param - Resource to create.
21
+ * @returns The created resource.
22
+ */
23
+ (resource: Resource): Promise<Resource & ResourceNonNullableFields>;
24
+ }
25
+ export declare function bulkCreateResources(httpClient: HttpClient): BulkCreateResourcesSignature;
26
+ interface BulkCreateResourcesSignature {
27
+ /**
28
+ * Creates multiple resources.
29
+ * @param - Resources to create.
30
+ */
31
+ (resources: Resource[], options?: BulkCreateResourcesOptions | undefined): Promise<BulkCreateResourcesResponse & BulkCreateResourcesResponseNonNullableFields>;
32
+ }
33
+ export declare function getResource(httpClient: HttpClient): GetResourceSignature;
34
+ interface GetResourceSignature {
35
+ /**
36
+ * Retrieves a resource by ID.
37
+ * @param - ID of the resource to retrieve.
38
+ * @returns The retrieved resource.
39
+ */
40
+ (resourceId: string): Promise<Resource & ResourceNonNullableFields>;
41
+ }
42
+ export declare function updateResource(httpClient: HttpClient): UpdateResourceSignature;
43
+ interface UpdateResourceSignature {
44
+ /**
45
+ * Updates a resource.
46
+ *
47
+ * Each time the resource is updated, `revision` increments by 1. You must include the current revision of the resource when updating it.
48
+ * This ensures you're working with the latest service information and prevents unintended overwrites.
49
+ * @param - Resource ID.
50
+ * @returns The updated resource.
51
+ */
52
+ (_id: string | null, resource: UpdateResource): Promise<Resource & ResourceNonNullableFields>;
53
+ }
54
+ export declare function deleteResource(httpClient: HttpClient): DeleteResourceSignature;
55
+ interface DeleteResourceSignature {
56
+ /**
57
+ * Deletes a resource.
58
+ *
59
+ * Also cancels the associated events schedule and any working hours schedule that isn’t shared among multiple resources.
60
+ * @param - ID of the resource to delete.
61
+ */
62
+ (resourceId: string): Promise<void>;
63
+ }
64
+ export declare function bulkDeleteResources(httpClient: HttpClient): BulkDeleteResourcesSignature;
65
+ interface BulkDeleteResourcesSignature {
66
+ /**
67
+ * Deletes multiple resources.
68
+ * @param - The IDs of the resources to delete.
69
+ */
70
+ (ids: string[]): Promise<BulkDeleteResourcesResponse & BulkDeleteResourcesResponseNonNullableFields>;
71
+ }
72
+ export declare function searchResources(httpClient: HttpClient): SearchResourcesSignature;
73
+ interface SearchResourcesSignature {
74
+ /**
75
+ * Retrieves a list of resources matching the provided search criteria.
76
+ *
77
+ * The search endpoints allow to perform advanced search including partial text search, exact match, and more.
78
+ * The endpoint also allows to aggregate resources by type, name, app id, management type, management type and location options.
79
+ */
80
+ (options?: SearchResourcesOptions | undefined): Promise<SearchResourcesResponse & SearchResourcesResponseNonNullableFields>;
81
+ }
82
+ export declare function queryResources(httpClient: HttpClient): QueryResourcesSignature;
83
+ interface QueryResourcesSignature {
84
+ /**
85
+ * Creates a query to retrieve a list of resources.
86
+ *
87
+ * The `queryResources()` function builds a query to retrieve a list of resources and returns a `ResourcesQueryBuilder` object.
88
+ *
89
+ * 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/resources/resources-query-builder/find) function.
90
+ *
91
+ * You can refine the query by chaining `ResourcesQueryBuilder` functions onto the query. `ResourcesQueryBuilder` functions enable you to sort, filter, and control the results that `queryResources()` returns.
92
+ *
93
+ * `queryResources()` runs with the following `ResourcesQueryBuilder` default that you can override:
94
+ *
95
+ * + `limit` is `50`.
96
+ * + Sorted by `id` in ascending order.
97
+ *
98
+ * The functions that are chained to `queryResources()` are applied in the order they are called. For example, if you apply `ascending("typeId")` and then `ascending("id")`, the results are sorted first by the `"typeId"`, and then, if there are multiple results with the same `"typeId"`, the items are sorted by `"id"`.
99
+ *
100
+ * The following `ResourcesQueryBuilder` functions are supported for the `queryResources()` function. For a full description of the resource object, see the object returned for the [items](https://dev.wix.com/docs/sdk/backend-modules/bookings/resources/resources-query-result/items) property in `ResourcesQueryResult`.
101
+ */
102
+ (): ResourcesQueryBuilder;
103
+ }
104
+ export declare function countResources(httpClient: HttpClient): CountResourcesSignature;
105
+ interface CountResourcesSignature {
106
+ /**
107
+ * Counts resources according to given criteria.
108
+ *
109
+ * Use [WQL filter](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section) to define the criteria.
110
+ * @param - Filter to base the count on. See
111
+ * [queryResources()](https://dev.wix.com/docs/sdk/backend-modules/bookings/resources/query-resources)
112
+ * for supported filters.
113
+ */
114
+ (options?: CountResourcesOptions | undefined): Promise<CountResourcesResponse & CountResourcesResponseNonNullableFields>;
115
+ }
116
+ export declare const onResourceCreated: EventDefinition<ResourceCreatedEnvelope, "wix.bookings.resources.v2.resource_created">;
117
+ export declare const onResourceDeleted: EventDefinition<ResourceDeletedEnvelope, "wix.bookings.resources.v2.resource_deleted">;
118
+ export declare const onResourceUpdated: EventDefinition<ResourceUpdatedEnvelope, "wix.bookings.resources.v2.resource_updated">;
119
+ export { ActionEvent, Aggregation, AggregationData, AggregationKindOneOf, AggregationResults, AggregationResultsResultOneOf, AggregationResultsScalarResult, AggregationType, ApplicationError, BaseEventMetadata, BulkActionMetadata, BulkCreateResourcesOptions, BulkCreateResourcesRequest, BulkCreateResourcesResponse, BulkCreateResourcesResponseNonNullableFields, BulkDeleteResourcesRequest, BulkDeleteResourcesResponse, BulkDeleteResourcesResponseNonNullableFields, BulkResourceResult, BusinessLocation, CountResourcesOptions, CountResourcesRequest, CountResourcesResponse, CountResourcesResponseNonNullableFields, CreateResourceRequest, CreateResourceResponse, CreateResourceResponseNonNullableFields, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, CursorSearch, CursorSearchPagingMethodOneOf, Cursors, DateHistogramAggregation, DateHistogramResult, DateHistogramResults, DeleteResourceRequest, DeleteResourceResponse, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, EventsSchedule, ExtendedFields, FixResourceSchedulesRequest, FixResourceSchedulesResponse, GetDeletedResourceRequest, GetDeletedResourceResponse, GetResourceRequest, GetResourceResponse, GetResourceResponseNonNullableFields, GroupByAggregation, GroupByAggregationKindOneOf, GroupByValueResults, IdentificationData, IdentificationDataIdOneOf, ImportResourceRequest, ImportResourceResponse, IncludeMissingValuesOptions, Interval, ItemMetadata, ListDeletedResourcesRequest, ListDeletedResourcesResponse, LocationOptions, ManagementType, MessageEnvelope, MissingValues, Mode, NestedAggregation, NestedAggregationItem, NestedAggregationItemKindOneOf, NestedAggregationResults, NestedAggregationResultsResultOneOf, NestedAggregationType, NestedResultValue, NestedResultValueResultOneOf, NestedResults, NestedValueAggregationResult, QueryResourcesRequest, QueryResourcesResponse, QueryResourcesResponseNonNullableFields, RangeAggregation, RangeAggregationResult, RangeBucket, RangeResult, RangeResults, ReindexTenantRequest, ReindexTenantResponse, RemoveResourceFromTrashBinRequest, RemoveResourceFromTrashBinResponse, Resource, ResourceCompositionDetailsOneOf, ResourceCreatedEnvelope, ResourceDeletedEnvelope, ResourceNonNullableFields, ResourceUpdatedEnvelope, ResourcesQueryBuilder, ResourcesQueryResult, RestoreInfo, RestoreResourceFromTrashBinRequest, RestoreResourceFromTrashBinResponse, Results, ScalarAggregation, ScalarResult, ScalarType, Schedule, SearchDetails, SearchResourcesOptions, SearchResourcesRequest, SearchResourcesResponse, SearchResourcesResponseNonNullableFields, SingleResource, SortDirection, SortOrder, SortType, Sorting, SpecificLocation, UpdateResource, UpdateResourceRequest, UpdateResourceResponse, UpdateResourceResponseNonNullableFields, V2WorkingHoursSchedules, ValueAggregation, ValueAggregationOptionsOneOf, ValueAggregationResult, ValueResult, ValueResults, WebhookIdentityType, WorkingHoursSchedule, WorkingHoursSchedules, } from './bookings-resources-v2-resource-resources.universal.js';
@@ -0,0 +1,106 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WebhookIdentityType = exports.SortType = exports.SortOrder = exports.SortDirection = exports.ScalarType = exports.NestedAggregationType = exports.Mode = exports.MissingValues = exports.ManagementType = exports.Interval = exports.AggregationType = exports.onResourceUpdated = exports.onResourceDeleted = exports.onResourceCreated = exports.countResources = exports.queryResources = exports.searchResources = exports.bulkDeleteResources = exports.deleteResource = exports.updateResource = exports.getResource = exports.bulkCreateResources = exports.createResource = exports.__metadata = void 0;
4
+ const rename_all_nested_keys_1 = require("@wix/sdk-runtime/rename-all-nested-keys");
5
+ const timestamp_1 = require("@wix/sdk-runtime/transformations/timestamp");
6
+ const transform_paths_1 = require("@wix/sdk-runtime/transformations/transform-paths");
7
+ const sdk_types_1 = require("@wix/sdk-types");
8
+ const bookings_resources_v2_resource_resources_universal_js_1 = require("./bookings-resources-v2-resource-resources.universal.js");
9
+ exports.__metadata = { PACKAGE_NAME: '@wix/bookings' };
10
+ function createResource(httpClient) {
11
+ return (resource) => (0, bookings_resources_v2_resource_resources_universal_js_1.createResource)(resource,
12
+ // @ts-ignore
13
+ { httpClient });
14
+ }
15
+ exports.createResource = createResource;
16
+ function bulkCreateResources(httpClient) {
17
+ return (resources, options) => (0, bookings_resources_v2_resource_resources_universal_js_1.bulkCreateResources)(resources, options,
18
+ // @ts-ignore
19
+ { httpClient });
20
+ }
21
+ exports.bulkCreateResources = bulkCreateResources;
22
+ function getResource(httpClient) {
23
+ return (resourceId) => (0, bookings_resources_v2_resource_resources_universal_js_1.getResource)(resourceId,
24
+ // @ts-ignore
25
+ { httpClient });
26
+ }
27
+ exports.getResource = getResource;
28
+ function updateResource(httpClient) {
29
+ return (_id, resource) => (0, bookings_resources_v2_resource_resources_universal_js_1.updateResource)(_id, resource,
30
+ // @ts-ignore
31
+ { httpClient });
32
+ }
33
+ exports.updateResource = updateResource;
34
+ function deleteResource(httpClient) {
35
+ return (resourceId) => (0, bookings_resources_v2_resource_resources_universal_js_1.deleteResource)(resourceId,
36
+ // @ts-ignore
37
+ { httpClient });
38
+ }
39
+ exports.deleteResource = deleteResource;
40
+ function bulkDeleteResources(httpClient) {
41
+ return (ids) => (0, bookings_resources_v2_resource_resources_universal_js_1.bulkDeleteResources)(ids,
42
+ // @ts-ignore
43
+ { httpClient });
44
+ }
45
+ exports.bulkDeleteResources = bulkDeleteResources;
46
+ function searchResources(httpClient) {
47
+ return (options) => (0, bookings_resources_v2_resource_resources_universal_js_1.searchResources)(options,
48
+ // @ts-ignore
49
+ { httpClient });
50
+ }
51
+ exports.searchResources = searchResources;
52
+ function queryResources(httpClient) {
53
+ return () => (0, bookings_resources_v2_resource_resources_universal_js_1.queryResources)(
54
+ // @ts-ignore
55
+ { httpClient });
56
+ }
57
+ exports.queryResources = queryResources;
58
+ function countResources(httpClient) {
59
+ return (options) => (0, bookings_resources_v2_resource_resources_universal_js_1.countResources)(options,
60
+ // @ts-ignore
61
+ { httpClient });
62
+ }
63
+ exports.countResources = countResources;
64
+ exports.onResourceCreated = (0, sdk_types_1.EventDefinition)('wix.bookings.resources.v2.resource_created', true, (event) => (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(event, [
65
+ {
66
+ transformFn: timestamp_1.transformRESTTimestampToSDKTimestamp,
67
+ paths: [
68
+ { path: 'entity.createdDate' },
69
+ { path: 'entity.updatedDate' },
70
+ { path: 'metadata.eventTime' },
71
+ ],
72
+ },
73
+ ])))();
74
+ exports.onResourceDeleted = (0, sdk_types_1.EventDefinition)('wix.bookings.resources.v2.resource_deleted', true, (event) => (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(event, [
75
+ {
76
+ transformFn: timestamp_1.transformRESTTimestampToSDKTimestamp,
77
+ paths: [
78
+ { path: 'undefined.createdDate' },
79
+ { path: 'undefined.updatedDate' },
80
+ { path: 'metadata.eventTime' },
81
+ ],
82
+ },
83
+ ])))();
84
+ exports.onResourceUpdated = (0, sdk_types_1.EventDefinition)('wix.bookings.resources.v2.resource_updated', true, (event) => (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(event, [
85
+ {
86
+ transformFn: timestamp_1.transformRESTTimestampToSDKTimestamp,
87
+ paths: [
88
+ { path: 'entity.createdDate' },
89
+ { path: 'entity.updatedDate' },
90
+ { path: 'metadata.eventTime' },
91
+ ],
92
+ },
93
+ ])))();
94
+ var bookings_resources_v2_resource_resources_universal_js_2 = require("./bookings-resources-v2-resource-resources.universal.js");
95
+ Object.defineProperty(exports, "AggregationType", { enumerable: true, get: function () { return bookings_resources_v2_resource_resources_universal_js_2.AggregationType; } });
96
+ Object.defineProperty(exports, "Interval", { enumerable: true, get: function () { return bookings_resources_v2_resource_resources_universal_js_2.Interval; } });
97
+ Object.defineProperty(exports, "ManagementType", { enumerable: true, get: function () { return bookings_resources_v2_resource_resources_universal_js_2.ManagementType; } });
98
+ Object.defineProperty(exports, "MissingValues", { enumerable: true, get: function () { return bookings_resources_v2_resource_resources_universal_js_2.MissingValues; } });
99
+ Object.defineProperty(exports, "Mode", { enumerable: true, get: function () { return bookings_resources_v2_resource_resources_universal_js_2.Mode; } });
100
+ Object.defineProperty(exports, "NestedAggregationType", { enumerable: true, get: function () { return bookings_resources_v2_resource_resources_universal_js_2.NestedAggregationType; } });
101
+ Object.defineProperty(exports, "ScalarType", { enumerable: true, get: function () { return bookings_resources_v2_resource_resources_universal_js_2.ScalarType; } });
102
+ Object.defineProperty(exports, "SortDirection", { enumerable: true, get: function () { return bookings_resources_v2_resource_resources_universal_js_2.SortDirection; } });
103
+ Object.defineProperty(exports, "SortOrder", { enumerable: true, get: function () { return bookings_resources_v2_resource_resources_universal_js_2.SortOrder; } });
104
+ Object.defineProperty(exports, "SortType", { enumerable: true, get: function () { return bookings_resources_v2_resource_resources_universal_js_2.SortType; } });
105
+ Object.defineProperty(exports, "WebhookIdentityType", { enumerable: true, get: function () { return bookings_resources_v2_resource_resources_universal_js_2.WebhookIdentityType; } });
106
+ //# sourceMappingURL=bookings-resources-v2-resource-resources.public.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bookings-resources-v2-resource-resources.public.js","sourceRoot":"","sources":["../../../../src/bookings-resources-v2-resource-resources.public.ts"],"names":[],"mappings":";;;AAAA,oFAAkG;AAClG,0EAAkG;AAClG,sFAAkF;AAClF,8CAA6D;AAC7D,mIA4BiE;AAEpD,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC;AAE5D,SAAgB,cAAc,CAC5B,UAAsB;IAEtB,OAAO,CAAC,QAAkB,EAAE,EAAE,CAC5B,IAAA,sEAAuB,EACrB,QAAQ;IACR,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AATD,wCASC;AAqBD,SA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