@wix/bookings 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/index.d.ts +3 -0
- package/build/cjs/index.js +4 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/src/bookings-availability-v1-slot-availability.http.d.ts +6 -6
- package/build/cjs/src/bookings-availability-v1-slot-availability.http.js +6 -6
- package/build/cjs/src/bookings-availability-v1-slot-availability.universal.d.ts +14 -29
- package/build/cjs/src/bookings-availability-v1-slot-availability.universal.js +7 -6
- package/build/cjs/src/bookings-availability-v1-slot-availability.universal.js.map +1 -1
- package/build/cjs/src/bookings-reader-v2-extended-booking.http.d.ts +38 -0
- package/build/cjs/src/bookings-reader-v2-extended-booking.http.js +117 -0
- package/build/cjs/src/bookings-reader-v2-extended-booking.http.js.map +1 -0
- package/build/cjs/src/bookings-reader-v2-extended-booking.public.d.ts +5 -0
- package/build/cjs/src/bookings-reader-v2-extended-booking.public.js +22 -0
- package/build/cjs/src/bookings-reader-v2-extended-booking.public.js.map +1 -0
- package/build/cjs/src/bookings-reader-v2-extended-booking.types.d.ts +730 -0
- package/build/cjs/src/bookings-reader-v2-extended-booking.types.js +90 -0
- package/build/cjs/src/bookings-reader-v2-extended-booking.types.js.map +1 -0
- package/build/cjs/src/bookings-reader-v2-extended-booking.universal.d.ts +786 -0
- package/build/cjs/src/bookings-reader-v2-extended-booking.universal.js +226 -0
- package/build/cjs/src/bookings-reader-v2-extended-booking.universal.js.map +1 -0
- package/build/cjs/src/bookings-v2-booking.http.d.ts +123 -0
- package/build/cjs/src/bookings-v2-booking.http.js +305 -0
- package/build/cjs/src/bookings-v2-booking.http.js.map +1 -0
- package/build/cjs/src/bookings-v2-booking.public.d.ts +9 -0
- package/build/cjs/src/bookings-v2-booking.public.js +47 -0
- package/build/cjs/src/bookings-v2-booking.public.js.map +1 -0
- package/build/cjs/src/bookings-v2-booking.types.d.ts +1594 -0
- package/build/cjs/src/bookings-v2-booking.types.js +99 -0
- package/build/cjs/src/bookings-v2-booking.types.js.map +1 -0
- package/build/cjs/src/bookings-v2-booking.universal.d.ts +1840 -0
- package/build/cjs/src/bookings-v2-booking.universal.js +561 -0
- package/build/cjs/src/bookings-v2-booking.universal.js.map +1 -0
- package/build/cjs/src/bookings-v2-price-info.http.d.ts +56 -0
- package/build/cjs/src/bookings-v2-price-info.http.js +164 -0
- package/build/cjs/src/bookings-v2-price-info.http.js.map +1 -0
- package/build/cjs/src/bookings-v2-price-info.public.d.ts +6 -0
- package/build/cjs/src/bookings-v2-price-info.public.js +26 -0
- package/build/cjs/src/bookings-v2-price-info.public.js.map +1 -0
- package/build/cjs/src/bookings-v2-price-info.types.d.ts +594 -0
- package/build/cjs/src/bookings-v2-price-info.types.js +79 -0
- package/build/cjs/src/bookings-v2-price-info.types.js.map +1 -0
- package/build/cjs/src/bookings-v2-price-info.universal.d.ts +664 -0
- package/build/cjs/src/bookings-v2-price-info.universal.js +274 -0
- package/build/cjs/src/bookings-v2-price-info.universal.js.map +1 -0
- package/build/es/index.d.ts +3 -0
- package/build/es/index.js +3 -0
- package/build/es/index.js.map +1 -1
- package/build/es/src/bookings-availability-v1-slot-availability.http.d.ts +6 -6
- package/build/es/src/bookings-availability-v1-slot-availability.http.js +6 -6
- package/build/es/src/bookings-availability-v1-slot-availability.universal.d.ts +14 -29
- package/build/es/src/bookings-availability-v1-slot-availability.universal.js +7 -6
- package/build/es/src/bookings-availability-v1-slot-availability.universal.js.map +1 -1
- package/build/es/src/bookings-reader-v2-extended-booking.http.d.ts +38 -0
- package/build/es/src/bookings-reader-v2-extended-booking.http.js +113 -0
- package/build/es/src/bookings-reader-v2-extended-booking.http.js.map +1 -0
- package/build/es/src/bookings-reader-v2-extended-booking.public.d.ts +5 -0
- package/build/es/src/bookings-reader-v2-extended-booking.public.js +8 -0
- package/build/es/src/bookings-reader-v2-extended-booking.public.js.map +1 -0
- package/build/es/src/bookings-reader-v2-extended-booking.types.d.ts +730 -0
- package/build/es/src/bookings-reader-v2-extended-booking.types.js +87 -0
- package/build/es/src/bookings-reader-v2-extended-booking.types.js.map +1 -0
- package/build/es/src/bookings-reader-v2-extended-booking.universal.d.ts +786 -0
- package/build/es/src/bookings-reader-v2-extended-booking.universal.js +203 -0
- package/build/es/src/bookings-reader-v2-extended-booking.universal.js.map +1 -0
- package/build/es/src/bookings-v2-booking.http.d.ts +123 -0
- package/build/es/src/bookings-v2-booking.http.js +297 -0
- package/build/es/src/bookings-v2-booking.http.js.map +1 -0
- package/build/es/src/bookings-v2-booking.public.d.ts +9 -0
- package/build/es/src/bookings-v2-booking.public.js +28 -0
- package/build/es/src/bookings-v2-booking.public.js.map +1 -0
- package/build/es/src/bookings-v2-booking.types.d.ts +1594 -0
- package/build/es/src/bookings-v2-booking.types.js +96 -0
- package/build/es/src/bookings-v2-booking.types.js.map +1 -0
- package/build/es/src/bookings-v2-booking.universal.d.ts +1840 -0
- package/build/es/src/bookings-v2-booking.universal.js +534 -0
- package/build/es/src/bookings-v2-booking.universal.js.map +1 -0
- package/build/es/src/bookings-v2-price-info.http.d.ts +56 -0
- package/build/es/src/bookings-v2-price-info.http.js +159 -0
- package/build/es/src/bookings-v2-price-info.http.js.map +1 -0
- package/build/es/src/bookings-v2-price-info.public.d.ts +6 -0
- package/build/es/src/bookings-v2-price-info.public.js +13 -0
- package/build/es/src/bookings-v2-price-info.public.js.map +1 -0
- package/build/es/src/bookings-v2-price-info.types.d.ts +594 -0
- package/build/es/src/bookings-v2-price-info.types.js +76 -0
- package/build/es/src/bookings-v2-price-info.types.js.map +1 -0
- package/build/es/src/bookings-v2-price-info.universal.d.ts +664 -0
- package/build/es/src/bookings-v2-price-info.universal.js +250 -0
- package/build/es/src/bookings-v2-price-info.universal.js.map +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,250 @@
|
|
|
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 } from '@wix/metro-runtime/velo';
|
|
11
|
+
import * as ambassadorWixBookingsV2PriceInfo from './bookings-v2-price-info.http';
|
|
12
|
+
let __verbose = false;
|
|
13
|
+
function __log(...args) {
|
|
14
|
+
__verbose && console.log(...args);
|
|
15
|
+
}
|
|
16
|
+
function __inspect(obj) {
|
|
17
|
+
return obj;
|
|
18
|
+
}
|
|
19
|
+
export const __debug = {
|
|
20
|
+
verboseLogging: {
|
|
21
|
+
on: () => (__verbose = true),
|
|
22
|
+
off: () => (__verbose = false),
|
|
23
|
+
},
|
|
24
|
+
};
|
|
25
|
+
const _toVeloEntity = '$';
|
|
26
|
+
const _fromVeloEntity = '$';
|
|
27
|
+
export var LocationType;
|
|
28
|
+
(function (LocationType) {
|
|
29
|
+
LocationType["UNDEFINED"] = "UNDEFINED";
|
|
30
|
+
LocationType["OWNER_BUSINESS"] = "OWNER_BUSINESS";
|
|
31
|
+
LocationType["OWNER_CUSTOM"] = "OWNER_CUSTOM";
|
|
32
|
+
LocationType["CUSTOM"] = "CUSTOM";
|
|
33
|
+
})(LocationType || (LocationType = {}));
|
|
34
|
+
export var ValueType;
|
|
35
|
+
(function (ValueType) {
|
|
36
|
+
/** Short text. This is the default value type. */
|
|
37
|
+
ValueType["SHORT_TEXT"] = "SHORT_TEXT";
|
|
38
|
+
/** Long text */
|
|
39
|
+
ValueType["LONG_TEXT"] = "LONG_TEXT";
|
|
40
|
+
/** a text that represent the check box value: if selected the value is "true", otherwise "false". */
|
|
41
|
+
ValueType["CHECK_BOX"] = "CHECK_BOX";
|
|
42
|
+
})(ValueType || (ValueType = {}));
|
|
43
|
+
/** Booking status. */
|
|
44
|
+
export var BookingStatus;
|
|
45
|
+
(function (BookingStatus) {
|
|
46
|
+
BookingStatus["CREATED"] = "CREATED";
|
|
47
|
+
BookingStatus["CONFIRMED"] = "CONFIRMED";
|
|
48
|
+
BookingStatus["CANCELED"] = "CANCELED";
|
|
49
|
+
BookingStatus["PENDING"] = "PENDING";
|
|
50
|
+
BookingStatus["DECLINED"] = "DECLINED";
|
|
51
|
+
BookingStatus["WAITING_LIST"] = "WAITING_LIST";
|
|
52
|
+
})(BookingStatus || (BookingStatus = {}));
|
|
53
|
+
/**
|
|
54
|
+
* Payment status.
|
|
55
|
+
* Automatically updated when using eCom checkout APIs.
|
|
56
|
+
*/
|
|
57
|
+
export var PaymentStatus;
|
|
58
|
+
(function (PaymentStatus) {
|
|
59
|
+
PaymentStatus["UNDEFINED"] = "UNDEFINED";
|
|
60
|
+
PaymentStatus["NOT_PAID"] = "NOT_PAID";
|
|
61
|
+
PaymentStatus["PAID"] = "PAID";
|
|
62
|
+
/** not supported yet. */
|
|
63
|
+
PaymentStatus["PARTIALLY_PAID"] = "PARTIALLY_PAID";
|
|
64
|
+
/** not supported yet */
|
|
65
|
+
PaymentStatus["REFUNDED"] = "REFUNDED";
|
|
66
|
+
})(PaymentStatus || (PaymentStatus = {}));
|
|
67
|
+
/**
|
|
68
|
+
* The selected payment option.
|
|
69
|
+
* One of the payment options offered by the service.
|
|
70
|
+
* This field is be set when the user selects an option during booking.
|
|
71
|
+
* If left undefined, the payment option is resolved by the service configuration on checkout.
|
|
72
|
+
*/
|
|
73
|
+
export var SelectedPaymentOption;
|
|
74
|
+
(function (SelectedPaymentOption) {
|
|
75
|
+
SelectedPaymentOption["UNDEFINED"] = "UNDEFINED";
|
|
76
|
+
SelectedPaymentOption["OFFLINE"] = "OFFLINE";
|
|
77
|
+
SelectedPaymentOption["ONLINE"] = "ONLINE";
|
|
78
|
+
SelectedPaymentOption["MEMBERSHIP"] = "MEMBERSHIP";
|
|
79
|
+
/** Payment can only be done using a membership and must be manually redeemed in the dashboard by the site owner. */
|
|
80
|
+
SelectedPaymentOption["MEMBERSHIP_OFFLINE"] = "MEMBERSHIP_OFFLINE";
|
|
81
|
+
})(SelectedPaymentOption || (SelectedPaymentOption = {}));
|
|
82
|
+
export var Platform;
|
|
83
|
+
(function (Platform) {
|
|
84
|
+
Platform["UNDEFINED_PLATFORM"] = "UNDEFINED_PLATFORM";
|
|
85
|
+
Platform["WEB"] = "WEB";
|
|
86
|
+
Platform["MOBILE_APP"] = "MOBILE_APP";
|
|
87
|
+
})(Platform || (Platform = {}));
|
|
88
|
+
export var Actor;
|
|
89
|
+
(function (Actor) {
|
|
90
|
+
Actor["UNDEFINED_ACTOR"] = "UNDEFINED_ACTOR";
|
|
91
|
+
Actor["BUSINESS"] = "BUSINESS";
|
|
92
|
+
Actor["CUSTOMER"] = "CUSTOMER";
|
|
93
|
+
})(Actor || (Actor = {}));
|
|
94
|
+
export var IdentityType;
|
|
95
|
+
(function (IdentityType) {
|
|
96
|
+
IdentityType["UNKNOWN"] = "UNKNOWN";
|
|
97
|
+
IdentityType["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
98
|
+
IdentityType["MEMBER"] = "MEMBER";
|
|
99
|
+
IdentityType["WIX_USER"] = "WIX_USER";
|
|
100
|
+
IdentityType["APP"] = "APP";
|
|
101
|
+
})(IdentityType || (IdentityType = {}));
|
|
102
|
+
const _calculatePriceRequest = {};
|
|
103
|
+
const _calculatePriceResponse = {};
|
|
104
|
+
const _previewPriceRequest = {};
|
|
105
|
+
const _previewPriceResponse = {};
|
|
106
|
+
/**
|
|
107
|
+
* Previews the base price for a set of line items belonging to the same service,
|
|
108
|
+
* before a booking is actually created.
|
|
109
|
+
*
|
|
110
|
+
* The returned price preview information about each line
|
|
111
|
+
* item's price and sums up each line item's price.
|
|
112
|
+
*
|
|
113
|
+
* The previewed price is not the actual price that will be used to charge the customer.
|
|
114
|
+
* `Preview Price` only estimates the base price by adding up the price
|
|
115
|
+
* of each line item before
|
|
116
|
+
* the booking is actually created.
|
|
117
|
+
*
|
|
118
|
+
* Use [`Calculate Price`](https://example.com) to get the base price
|
|
119
|
+
* after the booking is created.
|
|
120
|
+
*
|
|
121
|
+
* Passing line items that belong to different services results in an error.
|
|
122
|
+
*
|
|
123
|
+
* ## Calculating the previewed price
|
|
124
|
+
*
|
|
125
|
+
* Wix Bookings has its own default pricing logic for previewing the price. You must
|
|
126
|
+
* pass the `serviceId` in the [`slot`](https://example.com/)
|
|
127
|
+
* or [`schedule`](https://example.com/) object to `Preview Price`.
|
|
128
|
+
*
|
|
129
|
+
* You cannot call `Preview Price` if you have customized Bookings pricing logic using the
|
|
130
|
+
* [Bookings Pricing Provider SPI](https://example.com/). Calling `Preview Price` if custom pricing
|
|
131
|
+
* logic has been implemented for the site results in an error.
|
|
132
|
+
* @public
|
|
133
|
+
* @documentationMaturity preview
|
|
134
|
+
*/
|
|
135
|
+
export function previewPrice(options) {
|
|
136
|
+
var _a, _b, _c;
|
|
137
|
+
return __awaiter(this, arguments, void 0, function* () {
|
|
138
|
+
const requestTransformation = { bookingLineItems: '$[0].bookingLineItems' };
|
|
139
|
+
const responseTransformation = '$';
|
|
140
|
+
// @ts-ignore
|
|
141
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
142
|
+
const { toAmbassadorRequest } = serializer({
|
|
143
|
+
rootSchema: _previewPriceRequest,
|
|
144
|
+
depSchemas: {},
|
|
145
|
+
fqdnTransformation: {
|
|
146
|
+
paths: [],
|
|
147
|
+
transformation: _fromVeloEntity,
|
|
148
|
+
},
|
|
149
|
+
customTransformation: requestTransformation,
|
|
150
|
+
});
|
|
151
|
+
const { fromJSON } = serializer({
|
|
152
|
+
rootSchema: _previewPriceResponse,
|
|
153
|
+
depSchemas: {},
|
|
154
|
+
fqdnTransformation: {
|
|
155
|
+
paths: [...['priceInfo']],
|
|
156
|
+
transformation: _toVeloEntity,
|
|
157
|
+
},
|
|
158
|
+
customTransformation: responseTransformation,
|
|
159
|
+
});
|
|
160
|
+
const payload = toAmbassadorRequest([options]);
|
|
161
|
+
const reqOpts = ambassadorWixBookingsV2PriceInfo.previewPrice(payload);
|
|
162
|
+
__log(`"PreviewPrice" sending request with: ${__inspect(reqOpts)}`);
|
|
163
|
+
(_a = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSiteCall) === null || _a === void 0 ? void 0 : _a.call(sideEffects);
|
|
164
|
+
try {
|
|
165
|
+
const result = yield httpClient.request(reqOpts);
|
|
166
|
+
(_b = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSuccess) === null || _b === void 0 ? void 0 : _b.call(sideEffects, result);
|
|
167
|
+
return fromJSON(result.data);
|
|
168
|
+
}
|
|
169
|
+
catch (err) {
|
|
170
|
+
const transformedError = transformError(err, requestTransformation, [
|
|
171
|
+
'options',
|
|
172
|
+
]);
|
|
173
|
+
(_c = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onError) === null || _c === void 0 ? void 0 : _c.call(sideEffects, err);
|
|
174
|
+
throw transformedError;
|
|
175
|
+
}
|
|
176
|
+
});
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* Calculates the base price of a booking.
|
|
180
|
+
*
|
|
181
|
+
*
|
|
182
|
+
* You can call `Calculate Price` after a booking is created. The returned calculated price includes information about each line
|
|
183
|
+
* item's price and the booking's total price.
|
|
184
|
+
*
|
|
185
|
+
* You can use [`Preview Price`](https://example.com) to get the base price
|
|
186
|
+
* before a booking is created.
|
|
187
|
+
*
|
|
188
|
+
* The calculated price is the base price that will be used as a basis for charging the customer.
|
|
189
|
+
* During checkout, additional taxes
|
|
190
|
+
* and fees might be added to this base price.
|
|
191
|
+
*
|
|
192
|
+
* ## Calculating the price
|
|
193
|
+
*
|
|
194
|
+
* Wix Bookings has its own default pricing logic for calculating the price. When
|
|
195
|
+
* using Wix Bookings' default pricing logic, you must pass the `serviceId` in the [`slot`](https://example.com/)
|
|
196
|
+
* or [`schedule`](https://example.com/) object to `Calculate Price`.
|
|
197
|
+
*
|
|
198
|
+
* Alternatively you can customize the pricing logic using the
|
|
199
|
+
* [Bookings Pricing Provider SPI](https://example.com/).
|
|
200
|
+
* If you integrate with a pricing provider, the customized pricing logic becomes
|
|
201
|
+
* the default logic.
|
|
202
|
+
* @param booking - Booking to calculate the price for.
|
|
203
|
+
* @public
|
|
204
|
+
* @documentationMaturity preview
|
|
205
|
+
* @requiredField booking
|
|
206
|
+
*/
|
|
207
|
+
export function calculatePrice(booking) {
|
|
208
|
+
var _a, _b, _c;
|
|
209
|
+
return __awaiter(this, arguments, void 0, function* () {
|
|
210
|
+
const requestTransformation = { booking: '$[0]' };
|
|
211
|
+
const responseTransformation = '$';
|
|
212
|
+
// @ts-ignore
|
|
213
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
214
|
+
const { toAmbassadorRequest } = serializer({
|
|
215
|
+
rootSchema: _calculatePriceRequest,
|
|
216
|
+
depSchemas: {},
|
|
217
|
+
fqdnTransformation: {
|
|
218
|
+
paths: [],
|
|
219
|
+
transformation: _fromVeloEntity,
|
|
220
|
+
},
|
|
221
|
+
customTransformation: requestTransformation,
|
|
222
|
+
});
|
|
223
|
+
const { fromJSON } = serializer({
|
|
224
|
+
rootSchema: _calculatePriceResponse,
|
|
225
|
+
depSchemas: {},
|
|
226
|
+
fqdnTransformation: {
|
|
227
|
+
paths: [...['priceInfo']],
|
|
228
|
+
transformation: _toVeloEntity,
|
|
229
|
+
},
|
|
230
|
+
customTransformation: responseTransformation,
|
|
231
|
+
});
|
|
232
|
+
const payload = toAmbassadorRequest([booking]);
|
|
233
|
+
const reqOpts = ambassadorWixBookingsV2PriceInfo.calculatePrice(payload);
|
|
234
|
+
__log(`"CalculatePrice" sending request with: ${__inspect(reqOpts)}`);
|
|
235
|
+
(_a = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSiteCall) === null || _a === void 0 ? void 0 : _a.call(sideEffects);
|
|
236
|
+
try {
|
|
237
|
+
const result = yield httpClient.request(reqOpts);
|
|
238
|
+
(_b = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSuccess) === null || _b === void 0 ? void 0 : _b.call(sideEffects, result);
|
|
239
|
+
return fromJSON(result.data);
|
|
240
|
+
}
|
|
241
|
+
catch (err) {
|
|
242
|
+
const transformedError = transformError(err, requestTransformation, [
|
|
243
|
+
'booking',
|
|
244
|
+
]);
|
|
245
|
+
(_c = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onError) === null || _c === void 0 ? void 0 : _c.call(sideEffects, err);
|
|
246
|
+
throw transformedError;
|
|
247
|
+
}
|
|
248
|
+
});
|
|
249
|
+
}
|
|
250
|
+
//# sourceMappingURL=bookings-v2-price-info.universal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bookings-v2-price-info.universal.js","sourceRoot":"","sources":["../../../src/bookings-v2-price-info.universal.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAErE,OAAO,KAAK,gCAAgC,MAAM,+BAA+B,CAAC;AAElF,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,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|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/bookings",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
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": "ba1c04e7d543bd144cd747b45082bff9e86a12bd621ac224ccab9479"
|
|
37
37
|
}
|