@wix/bookings 1.0.33 → 1.0.34
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/index.d.ts +1 -0
- package/build/cjs/index.js +2 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/src/bookings-services-v2-service.http.d.ts +21 -0
- package/build/cjs/src/bookings-services-v2-service.http.js +175 -0
- package/build/cjs/src/bookings-services-v2-service.http.js.map +1 -0
- package/build/cjs/src/bookings-services-v2-service.public.d.ts +5 -0
- package/build/cjs/src/bookings-services-v2-service.public.js +25 -0
- package/build/cjs/src/bookings-services-v2-service.public.js.map +1 -0
- package/build/cjs/src/bookings-services-v2-service.types.d.ts +958 -0
- package/build/cjs/src/bookings-services-v2-service.types.js +64 -0
- package/build/cjs/src/bookings-services-v2-service.types.js.map +1 -0
- package/build/cjs/src/bookings-services-v2-service.universal.d.ts +1034 -0
- package/build/cjs/src/bookings-services-v2-service.universal.js +272 -0
- package/build/cjs/src/bookings-services-v2-service.universal.js.map +1 -0
- package/build/es/index.d.ts +1 -0
- package/build/es/index.js +1 -0
- package/build/es/index.js.map +1 -1
- package/build/es/src/bookings-services-v2-service.http.d.ts +21 -0
- package/build/es/src/bookings-services-v2-service.http.js +170 -0
- package/build/es/src/bookings-services-v2-service.http.js.map +1 -0
- package/build/es/src/bookings-services-v2-service.public.d.ts +5 -0
- package/build/es/src/bookings-services-v2-service.public.js +13 -0
- package/build/es/src/bookings-services-v2-service.public.js.map +1 -0
- package/build/es/src/bookings-services-v2-service.types.d.ts +958 -0
- package/build/es/src/bookings-services-v2-service.types.js +61 -0
- package/build/es/src/bookings-services-v2-service.types.js.map +1 -0
- package/build/es/src/bookings-services-v2-service.universal.d.ts +1034 -0
- package/build/es/src/bookings-services-v2-service.universal.js +248 -0
- package/build/es/src/bookings-services-v2-service.universal.js.map +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
import { serializer, transformError, resolveQueryFieldsTransformationPaths, } from '@wix/metro-runtime/velo';
|
|
11
|
+
import * as ambassadorWixBookingsServicesV2Service from './bookings-services-v2-service.http';
|
|
12
|
+
// @ts-ignore
|
|
13
|
+
import { wrapWithQueryBuilder } from '@wix/motion-edm-autogen-query-wrapper';
|
|
14
|
+
let __verbose = false;
|
|
15
|
+
function __log(...args) {
|
|
16
|
+
__verbose && console.log(...args);
|
|
17
|
+
}
|
|
18
|
+
function __inspect(obj) {
|
|
19
|
+
return obj;
|
|
20
|
+
}
|
|
21
|
+
export const __debug = {
|
|
22
|
+
verboseLogging: {
|
|
23
|
+
on: () => (__verbose = true),
|
|
24
|
+
off: () => (__verbose = false),
|
|
25
|
+
},
|
|
26
|
+
};
|
|
27
|
+
const _toVeloEntity = '$';
|
|
28
|
+
const _fromVeloEntity = '$';
|
|
29
|
+
export var ServiceType;
|
|
30
|
+
(function (ServiceType) {
|
|
31
|
+
ServiceType["UNKNOWN_SERVICE_TYPE"] = "UNKNOWN_SERVICE_TYPE";
|
|
32
|
+
/** The service is an appointment. */
|
|
33
|
+
ServiceType["APPOINTMENT"] = "APPOINTMENT";
|
|
34
|
+
/** The service is a class. */
|
|
35
|
+
ServiceType["CLASS"] = "CLASS";
|
|
36
|
+
/** The service is a course. */
|
|
37
|
+
ServiceType["COURSE"] = "COURSE";
|
|
38
|
+
})(ServiceType || (ServiceType = {}));
|
|
39
|
+
export var RateType;
|
|
40
|
+
(function (RateType) {
|
|
41
|
+
RateType["UNKNOWN_RATE_TYPE"] = "UNKNOWN_RATE_TYPE";
|
|
42
|
+
/** The service has a fixed price. */
|
|
43
|
+
RateType["FIXED"] = "FIXED";
|
|
44
|
+
/** The service has a custom price, expressed as a price description. */
|
|
45
|
+
RateType["CUSTOM"] = "CUSTOM";
|
|
46
|
+
/** This service is offered with a set of different prices based on different terms. */
|
|
47
|
+
RateType["VARIED"] = "VARIED";
|
|
48
|
+
/** This service is offered free of charge. */
|
|
49
|
+
RateType["NO_FEE"] = "NO_FEE";
|
|
50
|
+
})(RateType || (RateType = {}));
|
|
51
|
+
export var LocationType;
|
|
52
|
+
(function (LocationType) {
|
|
53
|
+
LocationType["UNKNOWN_LOCATION_TYPE"] = "UNKNOWN_LOCATION_TYPE";
|
|
54
|
+
/** The location is unique to this service and isn't defined as one of the business locations. */
|
|
55
|
+
LocationType["CUSTOM"] = "CUSTOM";
|
|
56
|
+
/** The location is one of the business locations available using the Business Info [Locations API](https://dev.wix.com/api/rest/business-info/locations). */
|
|
57
|
+
LocationType["BUSINESS"] = "BUSINESS";
|
|
58
|
+
/** The location can be determined by the customer and is not set up beforehand. This is applicable to services of type `APPOINTMENT` only. */
|
|
59
|
+
LocationType["CUSTOMER"] = "CUSTOMER";
|
|
60
|
+
})(LocationType || (LocationType = {}));
|
|
61
|
+
export var SortOrder;
|
|
62
|
+
(function (SortOrder) {
|
|
63
|
+
SortOrder["ASC"] = "ASC";
|
|
64
|
+
SortOrder["DESC"] = "DESC";
|
|
65
|
+
})(SortOrder || (SortOrder = {}));
|
|
66
|
+
export var Status;
|
|
67
|
+
(function (Status) {
|
|
68
|
+
/** Default status. */
|
|
69
|
+
Status["CREATED"] = "CREATED";
|
|
70
|
+
/** Category is deleted. */
|
|
71
|
+
Status["DELETED"] = "DELETED";
|
|
72
|
+
})(Status || (Status = {}));
|
|
73
|
+
export var Event;
|
|
74
|
+
(function (Event) {
|
|
75
|
+
Event["Updated"] = "Updated";
|
|
76
|
+
Event["Deleted"] = "Deleted";
|
|
77
|
+
Event["Created"] = "Created";
|
|
78
|
+
})(Event || (Event = {}));
|
|
79
|
+
export var InvalidSlugError;
|
|
80
|
+
(function (InvalidSlugError) {
|
|
81
|
+
InvalidSlugError["UNKNOWN_SLUG_ERROR"] = "UNKNOWN_SLUG_ERROR";
|
|
82
|
+
/** The provided slug name exceeds the maximum amount of characters for slug. */
|
|
83
|
+
InvalidSlugError["SLUG_IS_TOO_LONG"] = "SLUG_IS_TOO_LONG";
|
|
84
|
+
/** The provided slug name contains illegal characters. */
|
|
85
|
+
InvalidSlugError["SLUG_CONTAIN_ILLEGAL_CHARACTERS"] = "SLUG_CONTAIN_ILLEGAL_CHARACTERS";
|
|
86
|
+
/** The provided slug name already exists for the same or another service. */
|
|
87
|
+
InvalidSlugError["SLUG_ALREADY_EXISTS"] = "SLUG_ALREADY_EXISTS";
|
|
88
|
+
})(InvalidSlugError || (InvalidSlugError = {}));
|
|
89
|
+
const _businessLocationOptions = { address: 'wix.common.Address' };
|
|
90
|
+
const _customLocationOptions = { address: 'wix.common.Address' };
|
|
91
|
+
const _getServiceRequest = {};
|
|
92
|
+
const _getServiceResponse = { service: '_service' };
|
|
93
|
+
const _location = {
|
|
94
|
+
address: 'wix.common.Address',
|
|
95
|
+
business: '_businessLocationOptions',
|
|
96
|
+
custom: '_customLocationOptions',
|
|
97
|
+
};
|
|
98
|
+
const _media = {
|
|
99
|
+
items: '_mediaItem',
|
|
100
|
+
mainMedia: '_mediaItem',
|
|
101
|
+
coverMedia: '_mediaItem',
|
|
102
|
+
};
|
|
103
|
+
const _mediaItem = { image: 'wix.common.Image' };
|
|
104
|
+
const _queryServicesRequest = {};
|
|
105
|
+
const _queryServicesResponse = { services: '_service' };
|
|
106
|
+
const _service = { media: '_media', locations: '_location', urls: '_uRLs' };
|
|
107
|
+
const _uRLs = {
|
|
108
|
+
servicePage: 'wix.common.PageUrlV2',
|
|
109
|
+
bookingPage: 'wix.common.PageUrlV2',
|
|
110
|
+
calendarPage: 'wix.common.PageUrlV2',
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* Get a Service by id.
|
|
114
|
+
* @param serviceId - Id of the Service to retrieve
|
|
115
|
+
* @public
|
|
116
|
+
* @documentationMaturity preview
|
|
117
|
+
* @requiredField serviceId
|
|
118
|
+
* @returns The retrieved Service
|
|
119
|
+
*/
|
|
120
|
+
export function getService(serviceId) {
|
|
121
|
+
var _a, _b, _c;
|
|
122
|
+
return __awaiter(this, arguments, void 0, function* () {
|
|
123
|
+
const requestTransformation = { serviceId: '$[0]' };
|
|
124
|
+
const responseTransformation = '$.service';
|
|
125
|
+
// @ts-ignore
|
|
126
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
127
|
+
const { toAmbassadorRequest } = serializer({
|
|
128
|
+
rootSchema: _getServiceRequest,
|
|
129
|
+
depSchemas: {},
|
|
130
|
+
fqdnTransformation: {
|
|
131
|
+
paths: [],
|
|
132
|
+
transformation: _fromVeloEntity,
|
|
133
|
+
},
|
|
134
|
+
customTransformation: requestTransformation,
|
|
135
|
+
});
|
|
136
|
+
const { fromJSON } = serializer({
|
|
137
|
+
rootSchema: _getServiceResponse,
|
|
138
|
+
depSchemas: {
|
|
139
|
+
_businessLocationOptions,
|
|
140
|
+
_customLocationOptions,
|
|
141
|
+
_location,
|
|
142
|
+
_media,
|
|
143
|
+
_mediaItem,
|
|
144
|
+
_service,
|
|
145
|
+
_uRLs,
|
|
146
|
+
},
|
|
147
|
+
fqdnTransformation: {
|
|
148
|
+
paths: [...['service']],
|
|
149
|
+
transformation: _toVeloEntity,
|
|
150
|
+
},
|
|
151
|
+
customTransformation: responseTransformation,
|
|
152
|
+
});
|
|
153
|
+
const payload = toAmbassadorRequest([serviceId]);
|
|
154
|
+
const reqOpts = ambassadorWixBookingsServicesV2Service.getService(payload);
|
|
155
|
+
__log(`"GetService" sending request with: ${__inspect(reqOpts)}`);
|
|
156
|
+
(_a = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSiteCall) === null || _a === void 0 ? void 0 : _a.call(sideEffects);
|
|
157
|
+
try {
|
|
158
|
+
const result = yield httpClient.request(reqOpts);
|
|
159
|
+
(_b = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSuccess) === null || _b === void 0 ? void 0 : _b.call(sideEffects, result);
|
|
160
|
+
return fromJSON(result.data);
|
|
161
|
+
}
|
|
162
|
+
catch (err) {
|
|
163
|
+
const transformedError = transformError(err, requestTransformation, [
|
|
164
|
+
'serviceId',
|
|
165
|
+
]);
|
|
166
|
+
(_c = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onError) === null || _c === void 0 ? void 0 : _c.call(sideEffects, err);
|
|
167
|
+
throw transformedError;
|
|
168
|
+
}
|
|
169
|
+
});
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* <!--ONLY:REST-->
|
|
173
|
+
* Query Services using [WQL - Wix Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language) with [Cursor paging](https://dev.wix.com/api/rest/getting-started/api-query-language#getting-started_api-query-language_cursor-paging) only.
|
|
174
|
+
* Retrieves a list of services according to the provided filters and paging.
|
|
175
|
+
*
|
|
176
|
+
* To retrieve all services use an empty query:
|
|
177
|
+
* ```javascript
|
|
178
|
+
* {
|
|
179
|
+
* "query": {}
|
|
180
|
+
* }
|
|
181
|
+
* ```
|
|
182
|
+
* >**Notes:**
|
|
183
|
+
* > + Use UTC when specifying filters with dates.
|
|
184
|
+
* > - Only 1 use at a time of each filter once in the same query is supported. If a filter is defined more than once in a query, only the first occurrence is taken.
|
|
185
|
+
* <!--END:ONLY:REST-->
|
|
186
|
+
* @public
|
|
187
|
+
* @documentationMaturity preview
|
|
188
|
+
*/
|
|
189
|
+
export function queryServices() {
|
|
190
|
+
const requestTransformation = { '*': '$[1]', query: '$[0]' };
|
|
191
|
+
const responseTransformation = {
|
|
192
|
+
items: '$.services',
|
|
193
|
+
pagingMetadata: '$.pagingMetadata',
|
|
194
|
+
};
|
|
195
|
+
// @ts-ignore
|
|
196
|
+
const { httpClient, sideEffects } = arguments[0];
|
|
197
|
+
const { toAmbassadorRequest } = serializer({
|
|
198
|
+
rootSchema: _queryServicesRequest,
|
|
199
|
+
depSchemas: {},
|
|
200
|
+
fqdnTransformation: {
|
|
201
|
+
paths: [],
|
|
202
|
+
transformation: _fromVeloEntity,
|
|
203
|
+
},
|
|
204
|
+
customTransformation: requestTransformation,
|
|
205
|
+
});
|
|
206
|
+
const { fromJSON } = serializer({
|
|
207
|
+
rootSchema: _queryServicesResponse,
|
|
208
|
+
depSchemas: {
|
|
209
|
+
_businessLocationOptions,
|
|
210
|
+
_customLocationOptions,
|
|
211
|
+
_location,
|
|
212
|
+
_media,
|
|
213
|
+
_mediaItem,
|
|
214
|
+
_service,
|
|
215
|
+
_uRLs,
|
|
216
|
+
},
|
|
217
|
+
fqdnTransformation: {
|
|
218
|
+
paths: [...['Array#services']],
|
|
219
|
+
transformation: _toVeloEntity,
|
|
220
|
+
},
|
|
221
|
+
customTransformation: responseTransformation,
|
|
222
|
+
});
|
|
223
|
+
return wrapWithQueryBuilder({
|
|
224
|
+
func: (payload) => __awaiter(this, void 0, void 0, function* () {
|
|
225
|
+
var _a, _b, _c;
|
|
226
|
+
const reqOpts = ambassadorWixBookingsServicesV2Service.queryServices(payload);
|
|
227
|
+
(_a = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSiteCall) === null || _a === void 0 ? void 0 : _a.call(sideEffects);
|
|
228
|
+
try {
|
|
229
|
+
const result = yield httpClient.request(reqOpts);
|
|
230
|
+
(_b = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSuccess) === null || _b === void 0 ? void 0 : _b.call(sideEffects, result);
|
|
231
|
+
return result;
|
|
232
|
+
}
|
|
233
|
+
catch (err) {
|
|
234
|
+
(_c = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onError) === null || _c === void 0 ? void 0 : _c.call(sideEffects, err);
|
|
235
|
+
throw err;
|
|
236
|
+
}
|
|
237
|
+
}),
|
|
238
|
+
requestTransformer: (...args) => toAmbassadorRequest(args),
|
|
239
|
+
responseTransformer: ({ data }) => fromJSON(data),
|
|
240
|
+
errorTransformer: (err) => {
|
|
241
|
+
const transformedError = transformError(err, requestTransformation);
|
|
242
|
+
throw transformedError;
|
|
243
|
+
},
|
|
244
|
+
pagingMethod: 'CURSOR',
|
|
245
|
+
transformationPaths: resolveQueryFieldsTransformationPaths(_toVeloEntity),
|
|
246
|
+
})({ cursorWithEmptyFilterAndSort: true });
|
|
247
|
+
}
|
|
248
|
+
//# sourceMappingURL=bookings-services-v2-service.universal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bookings-services-v2-service.universal.js","sourceRoot":"","sources":["../../../src/bookings-services-v2-service.universal.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,UAAU,EACV,cAAc,EACd,qCAAqC,GACtC,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,sCAAsC,MAAM,qCAAqC,CAAC;AAC9F,aAAa;AACb,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAE7E,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;AACb,CAAC;AAED,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC;KAC/B;CACF,CAAC;AACF,MAAM,aAAa,GA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BAAX,WAAW,CAAE,UAAU,+CAAvB,WAAW,CAAgB,CAAC;YAC5B,IAAI;gBACF,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;gBACjD,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,SAAS,+CAAtB,WAAW,EAAc,MAAM,CAAC,CAAC;gBACjC,OAAO,MAAM,CAAC;aACf;YAAC,OAAO,GAAG,EAAE;gBACZ,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,OAAO,+CAApB,WAAW,EAAY,GAAG,CAAC,CAAC;gBAC5B,MAAM,GAAG,CAAC;aACX;QACH,CAAC,CAAA;QACD,kBAAkB,EAAE,CAAC,GAAG,IAAW,EAAE,EAAE,CAAC,mBAAmB,CAAC,IAAI,CAAC;QACjE,mBAAmB,EAAE,CAAC,EAAE,IAAI,EAAO,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC;QACtD,gBAAgB,EAAE,CAAC,GAAQ,EAAE,EAAE;YAC7B,MAAM,gBAAgB,GAAG,cAAc,CAAC,GAAG,EAAE,qBAAqB,CAAC,CAAC;YAEpE,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,qCAAqC,CAAC,aAAa,CAAC;KAC1E,CAAC,CAAC,EAAE,4BAA4B,EAAE,IAAI,EAAE,CAAC,CAAC;AAC7C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/bookings",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.34",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"groupId": "com.wixpress.public-sdk-autogen"
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
|
-
"falconPackageHash": "
|
|
36
|
+
"falconPackageHash": "beeb15116bc5821521ff2a5f6bfa66bbaa5b804a1cf9a14aeee0bef7"
|
|
37
37
|
}
|